Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:That reserves memory, it doesn't add bounds che (Score 1) 208

Umm, no. *(ptr + 20) is different from those above. That would translate to *(char**) (((void*) ptr) + sizeof(char*) * 20). Whilst ptr[0][20] and (*ptr)[20] translate to *(char*) (((void*) (*ptr)) + sizeof(char) * 20).
And (ptr + 20) is even worse since it's completely missing dereferences.

Your printf example is correct though, but not relevant to the current case.

Comment Re:Toxicity? (Score 2) 155

Interestingly this last link refers to CO2's 'low toxicity'.

Well, CO2 isn't really that toxic. You'll die if you breath in pure CO2 anyway though. But that's because you'll suffocate since it is heavier than air and therefore remain in your lungs and prevents any new oxygen-rich air from entering.

It will also fill up closed spaces like basements and you'll basically drown in it.

Comment Re:told us... (Score 3, Informative) 70

Yes, actually. At least here in Sweden. At the end of the year your employer, your bank etc report your total income for the year, and some other things that affect tax (like loan interest expenses, savings interest income. Also if you have used some tax deductible services (i.e. home renovation) those companies have to report that as well. Then sometime during spring the tax department sends out a preprinted form to you. If everything is correct you can just sign it and send it back. Otherwise you fill in the changes, sign it and send it back. Or, if you don't feel like beeing a luddite you can use the online service to see and sign the form even before it arrives in the mail.
Then you have until august (I think) to pay your taxes. Except your employer already deducted a standard amount of taxes on your salary and payed it for you, so most likely you will get a tax return instead. Which is payed to you in august as well, except if you used the online service. In that case you receive it in june.

So to sum the process up:
1) Log in to online service during spring.
2) Sign prefilled online form.
3) (No step three)
4) PROFIT (aka tax return around midsummer)

Comment Re:Tiresome (Score 1) 55

If Google, Microsoft etc choose to do business in the EU they'll have to follow the laws there. As you say, they can pull out. But as long as they choose to stay they'll have to live with the laws there or face penalties if they break them. It applies equally to all companies doing business there, domestic and foreign. The list of European companies brought up on anti-competiive charges is quite long, it just doesn't get quite as much international attention.

Submission + - EU parliament supports suspending US data sharing

egladil writes: As seen previously here on slashdot the European Parliament was to vote on 'whether existing data sharing agreements between the two continents should be suspended, following allegations that U.S. intelligence spied on EU citizens.' With the votes now having been cast, the result is 483 in favor of the resolution and 98 against, while 65 abstained.
The resolution in question in part called for the USA 'to suspend and review any laws and surveillance programs that "violate the fundamental right of EU citizens to privacy and data protection," as well as Europe's "sovereignty and jurisdiction."', in part decided that the EU should investigate the surveillance of EU citizens, and finally gave backing to the European Commision in case they should decide to suspend the data sharing deals currently in place with the USA, such as the Passenger Name Record (PNR) and Terrorist Finance Tracking Program (TFTP) agreements.
The question now is whether the EU commision will go through with suspending these deals or not.

Submission + - Ed Snowden leaves Hong Kong for Moscow 3

hazeii writes: Ed Snowden, the US whistleblower responsible for exposing the degree to which the US watches its own citizens (as well as the rest of the world) is reported as having left Hong Kong for Moscow. According to the South China Morning Post, he is on a commercial flight to Russia but intriguingly it seems this is not his final destination. It's not clear whether this move is in response to the US request to extradite him.

Submission + - US Hacked Chinese University Network 1

An anonymous reader writes: Hong Kong's South China Morning Post reports that Tsinghua University, widely regarded as the mainland’s top education and research institute, was the target of extensive hacking by US spies this year, according to information leaked by Edward Snowden. The information also showed that the attacks on Tsinghua University were intensive and concerted efforts. In one single day of January, at least 63 computers and servers in Tsinghua University have been hacked by the NSA. The university is home to one of the mainland’s six major backbone networks, the China Education and Research Network (CERNET) from where internet data from millions of Chinese citizens could be mined. Universities in Hong Kong and the mainland were revealed as targets of NSA’s cyber-snooping activities last week when Snowden claimed the Chinese University of Hong Kong had been hacked.

Slashdot Top Deals

HELP!!!! I'm being held prisoner in /usr/games/lib!

Working...