Currently I subscribe to a few WebCal links that a sports league I play in provides, so if my games get rescheduled, my calendar will always be up to date.

I would like to receive notifications for these events in Google Now, though. My research shows that Google Now only reads from the "My Calendars" section in Google Calendar, and any WebCal link you subscribe to will show up in the "Other Calendars" section.

Is there a way to have a WebCal show up in the "My Calendars" section? If not, is there a utility that can possibly sync the individual events from a WebCal into my own calendar so that Google Now can read them?

Make a fake loader just like this :

Parameters :

  • Display loading (space) one of these cyclically-\|/ (space) (percentage counter from 0-100) then a %.
  • The percentage counter is supposed to increment by 1 every time the display changes.
  • The time taken by counter to jump to next iteration is random. Any kind of random will do as long as the function/method is capable of generating all random integers having probability > 0 in range 1<= ms <=750 here ms being time in milliseconds.
  • Start at loading - 0 %.
  • End at loading - 100 %.
  • NO INPUT is required.
  • submit a full program or function or whatever similar.

The code that I used :

C++

#include<stdio.h>
#include<time.h>
#include<windows.h>

int main()
{
    srand(time(NULL));
    char a[15],b[]="-\\|/";
    int i=0,j=0,ms;
    while(j<101)
    {
        (i<3)?i++:i=0;
        wsprintf(a,"loading %c %d ",b[i],j++);
        printf(a);puts("%");
            //This part is to make the output look cool
        switch(rand()%9)
        {
            case 0:ms=1;break;
            case 1:ms=2;break;
            case 2:ms=5;break;
            case 3:ms=10;break;
            case 4:ms=15;break;
            case 5:ms=20;break;
            case 6:ms=25;break;
            case 7:ms=50;break;
            case 8:ms=500;
        }
        Sleep(ms);  //Otherwise this is supposed to be random
        if(j<101)   //like this Sleep(rand()%750+1);
        system("cls");
    }
}

Winner

  • the code with least bytes wins.

Consider the action of $\mathbb{Z}/p^\times$ the units of $\mathbb{Z}/p$ on the classifying space $B\mathbb{Z}/p$ by left multiplication on the $n$-simplices $$ \alpha\cdot (g_1,...,g_n)=(\alpha g_1,...,\alpha g_n). $$ Here $B\mathbb{Z}/p$ denotes the usual model as the realization of the simplicial set whose $n$-simplices are $(\mathbb{Z}/p)^n$. Note that the action is free on the $n$-tuples that are different than the one consisting of only zeros.

Then what can be said about the quotient space $(B\mathbb{Z}/p)/\mathbb{Z}/p^\times$? Such as its homotopy type, homology groups...

While evaluating a short term RRSP loan like this one, the numbers seem good on paper. But:

If I need to save $1,000 in tax deductions, I need to put the entire borrowed money into the RRSP before I start making any loan payments. But the loan payments begin as soon as I take the loan – so basically each monthly payment for $220.00 comes from my savings.

I gather that the savings shown at the end is to be taken with a grain of salt. If I just took those payments for $220, saved it over a year and put it in the RRSP, then the savings would be 40% of $2,640 = $1,056, which is much greater than $860. So it seems to me that this kind of loan is never a good idea?

Am I missing something? Maybe if the interest on the loan were tax deductible, then it might make sense, but I don't think that is the case here.

Our current SQL Server Machine (which is about 6 years old):

Box: Dell 2900
CPU: Xeon 5160 Dual Core
RAM: 4GB
HDD: 6x 15k RPM SAS drives in raid 10

Since it's 6 years old, the drives have been spinning for 6 years straight which is making my employer nervous about the life of the drives. We are considering buying, or upgrading our current server. Does my employer have a rational fear, or should the drives last another few years? (they aren't really easy to find anymore, but we do have a hot spare drive inside the computer on standby, and a hot spare server with the same drives in it)

The idea is to either get another 6 SAS drives to run in RAID 10 or to consider getting two SSD (SLC) drives in raid 1. Aside from cost, is there any reason to opt one way or another?

Is it worth upgrading the server in order to get a new CPU and RAM? Our SQL server's CPU generally doesn't peak over 10%. It runs a medium traffic website and internal business apps, but nothing crazy in terms of usage.

If I share a Google Photos album, other people who view it see a Download All button at the top of the page, as shown in the screenshot below. You should be able to see it yourself if you visit this album.

Is there any way to prevent that button from being shown? I've looked in my Google+ settings under Photos and Videos, and the option Allow viewers to download my photos and video is already unchecked.

enter image description here

I have a Galaxy SIII and 32GB memory card. I want format the memory card with NTFS just to get rid of 4GB size per file restriction. How can I format the card with NTFS and even if I format it with NTFS will I be able to use it with Galaxy SIII?

This question is related.

A charitable organisation wishes to employ a collector on commission.

Does the organisation have a duty to inform potential donors that (a) the collector is on commission and (b) the percentage involved?

Do we say that not informing the potential donor constitutes geneivas daas or do we assume that donors are aware of the principle of commission and factor that in when making their donation.

Does the size of the commission make a difference?

I have a few questions about starting chives (Allium schoenoprasum) and keeping them happy. I understand chives can survive and grow in many conditions, but what are the best conditions? A few points I would love answered:

  • What are ideal conditions for germination?
  • Should seeds be clumped together or individually spaced out?
  • What is the optimal soil pH/temperature?
  • Full sun, partial sun, shade (optimally)?
  • How aggressive should stalks be harvested?
  • Do they spread asexually (spores, clippings) or by seed only?
  • Should they be replanted every year or do they overwinter well?
  • What nutrient are they heavily dependent on (if any in particular)?

Please feel free to bring up any other aspects that may be pertinent!

I am using a Dell Studio 1737 laptop. I have been running Linux and have ran Windows recently for a very long time. I upgraded to the 10.10 distribution and since that distro, it seems that for some reason all Linuxes want to push my laptop to extremes. I have recently upgraded to Ubuntu 12.04 since I heart that it contains kernel fixes for overheating issues. 12.04 will actually eventually cool the system, but that is after the fans run to the point it sounds like a jet aircraft taking off and the laptop makes my hands sweat.

In trying to combat the heat problems I have done the following: I installed the propriatery driver for my ATI Mobility HD 3600. I have tried both the one in the Additional Drivers and also tried ATI's latest greatest version. If I don't install this my laptop will overheat and shut off in minutes. Both seem to perform similarly, but the heat problem remains.

I have tried limiting the CPU by installing the CPUFreq Indicator. This does help keep the machine from shutting off, but the heat is still uncomfortable to be around the machine. I usually run in power saver mode or run the cpu at 1.6 GHZ just to error on safety.

I ran sensors-detect and here are the results:

[email protected]:~$ sudo sensors-detect # sensors-detect revision 5984 (2011-07-10 21:22:53 +0200) # System: Dell Inc. Studio 1737 (laptop) # Board: Dell Inc. 0F237N

This program will help you determine which kernel modules you need to load to use lm_sensors most effectively. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
Intel digital thermal sensor...                             Success!
     (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               Yes
Found `ITE IT8512E/F/G Super IO'
     (but not activated)

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware monitoring devices. This is the most risky part, and while it works reasonably well on most systems, it has been reported to cause trouble on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y Using driver `i2c-i801' for device 0000:00:1f.3: Intel ICH9 Module i2c-i801 loaded successfully.
Module i2c-dev loaded successfully.

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `coretemp':
   * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
#----cut here----
If you have some drivers built into your kernel, the list above will contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)y Successful!

Monitoring programs won't work until the needed modules are loaded. You may want to run 'service module-init-tools start'
to load them.

Unloading i2c-dev... OK
Unloading i2c-i801... OK
Unloading cpuid... OK

[email protected]:~$ sudo service module-init-tools start module-init-tools stop/waiting

I also tried installing i8k but that didn't work since it didn't seem to be able to communicate with the hardware (probably for different kind of device).

Also I ran acpi -V and here are the results:

Battery 0: Full, 100%
Battery 0: design capacity 613 mAh, last full capacity 260 mAh = 42% Adapter 0: on-line Thermal 0: ok, 49.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 100.0 degrees C Thermal 1: ok, 48.0 degrees C Thermal 1: trip point 0 switches to mode critical at temperature 100.0 degrees C Thermal 2: ok, 51.0 degrees C Thermal 2: trip point 0 switches to mode critical at temperature 100.0 degrees C Cooling 0: LCD 0 of 15 Cooling 1: Processor 0 of 10 Cooling 2: Processor 0 of 10

I have hit a wall and don't know what to do now. Any advice is appreciated.