Slashdot: News for Nerds


Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!



New Mayhem Malware Targets Linux and UNIX-Like Servers

stderr_dk Re:Too many colors in syntax highlighting (167 comments)

I don't do PHP, but wouldn't $n = unpack("C*", fread($f, 8)); make $n an array of size 8, from $n[0] to $n[7]?

If so, isn't there a bug in the next line, $so[7] = sprintf("%c", $n[8]);?

about a week ago

Source Code Leaked For Tinba Banking Trojan

stderr_dk Re:Windows DLL injection attack vector. (75 comments)

Why did Betamax, the superior video cassette tape format, lose to beta?

Uh! I know this one! Because "Fuck Beta"?

about two weeks ago

Previously Unknown Warhol Works Recovered From '80s Amiga Disks

stderr_dk Re:my image is floppy (171 comments)

images woulda been bitmap and not vector so wouldn't exactly move up to png

Why not?

The images would most likely be in IFF ILBM format. ilbmtoppm can convert those without any problems.

If you want a png, just add a little pnmtopng and you're done.

about 3 months ago

ARIN Is Down To the Last /8 of IPv4 Addresses

stderr_dk Re:About time! (306 comments)

Without looking, what is your static IPv6 address? ;)


about 3 months ago

Code Quality: Open Source vs. Proprietary

stderr_dk Re:What's up with Dice Developers (139 comments)

its all ready is open sourced and that is what the soylent news guys did but the community didn't fallow.

Yes, SlashCode is open source, but the latest public release is 5 years old and not at all what's running on slashdot now.

It would be very nice, if Dice would release a newer version of the code, not only for SoylentNews, but also for the Japanese and the Spanish, both of them are still using the old version.

about 3 months ago

44% of Twitter Users Have Never Tweeted

stderr_dk Re:Probably typical (121 comments)

If a name is a "real name", pay a one time charge by credit/debit card with the same name on it. This would put a green verified box next to the user name. The blue box will continue to be used for identities that twitter staff have verified on their own.

How much longer do you think the twitter staff is going to verify accounts on their own, if they can get people to pay instead?

If your answer to that question is longer than the time it took you to read the question, you're kidding yourself.

If a name is a nickname, pesudo-name, or a business/brand, then the user must mail a business card showing both the brand, twitter handle and name used.This would put a different color icon (maybe violet) that signifies that this has been professionally identified, and clicking on it should show the business card.

All that the latter does is verify that the twitter account is associated with the brand and not the reverse of the user verifying their name.

No. All it does is verify that the user had enough money to get one business card printed and mailed to Twitter.

about 3 months ago

Australia and NSA Gain Comprehensive Access To Indonesian Phone System

stderr_dk Re:It just did! (133 comments)

A trig question to get an account? Why, that's not elitist and off-putting at all.

The question I got was VERY easy. Any decent spambot would have been able to answer it...

about 5 months ago

Australia and NSA Gain Comprehensive Access To Indonesian Phone System

stderr_dk Re:It just did! (133 comments)

Don't forget pipedot.

about 5 months ago

OpenBSD Moving Towards Signed Packages — Based On D. J. Bernstein Crypto

stderr_dk Re:You're wrong. (232 comments)

Also important is: which version are you looking at? The 1.4 series (still updated) is intended for smaller/embedded installs, while the 2.x series is intended for mainstream (especially desktop) usage

It's also important to ask why they are even looking at the main gpg executable and not gpgv?

gpgv is a stripped-down version of gnupg which is only able to check signatures. It is smaller than the full-blown gnupg and uses a different (and simpler) way to check that the public keys used to make the signature are trustworthy.

about 6 months ago

OpenBSD Moving Towards Signed Packages — Based On D. J. Bernstein Crypto

stderr_dk Re:Very surprised that it took this long (232 comments)

I fail to see why a BIOS would use the kernel of a general-purpose operating system.

Nevertheless that is what coreboot does. It used to be known as LinuxBIOS.

about 6 months ago

Ask Slashdot: What To Do With Misdirected Email?

stderr_dk Re:Shitcan it (388 comments)

sudo mod parent up

Anonymous Coward is not in the sudoers file. This incident will be reported.

about 6 months ago

Source Code For 22nd IOCCC Winners Has Been Released

stderr_dk Re:Ray tracer + web server + image encoder + clock (47 comments)

Does the program include its own PNG format algorithms, or am I missing something?

The PNGs generated by the program are simple enough to be constructed more or less one byte at a time.

Same goes for the web server: did he really write his own web server in mills.c?

No, not really. At least not a fully functional one. His "webserver" simply waits for connections, read characters one at a time until it gets an empty line (the end of the HTTP requests), sends the "200 OK" and "Refresh: 1" headers, writes the PNG data directly to the socket and closes the connection. The "webserver" doesn't care what resources you request or if you use "GET", "HEAD", "POST" or something else.

about 7 months ago

Google Maps, Lasers Reveal Vatican Catacombs

stderr_dk Re:So, will it be a new map for CoD or BF4? (84 comments)

You are in a narrow passageway. To the North is a narrow passageway, to the East is a large hall. There are Tourists here.

- Hit Tourist with brochure

You've been eaten by a grue.


about 8 months ago

A Plan To Fix Daylight Savings Time By Creating Two National Time Zones

stderr_dk Re:How about GMT? (545 comments)

The UK isn't on Zulu time - they have daylight savings time (don't know about Portugal and W. Africa).

DST in the EU starts on the last Sunday of March and ends on the last Sunday of October, so for Portugal it's:

$ TZ=Europe/Lisbon date -d "Oct 27 00:59:59 UTC 2013"
Sun Oct 27 01:59:59 WEST 2013
$ TZ=Europe/Lisbon date -d "Oct 27 01:00:00 UTC 2013"
Sun Oct 27 01:00:00 WET 2013

I don't know the DST rules for the various countries in West Africa, but (shameless plug) has a demo where you can compare the time in two different timezones.

about 9 months ago

Top US Lobbyist Wants Broadband Data Caps

stderr_dk Re:Artificial Scarcity of Freedom. (568 comments)

To me "Internet" means "freedom of information"

To me "The Internet" is a series of tubes... Or a dump truck.

about 9 months ago

Researchers Release Tool That Can Scan the Entire Internet In Under an Hour

stderr_dk Re:Really? Why not just query the NSA directly? (97 comments)

Why would you limit yourself to ssh, when there's so many useful unpatched exploits for so many other server applications? Among other things, you're missing out on all the easily exploitable Windows ME boxen out there.

ssh defaults to port 22. Port 23 is usually telnet.

about a year ago

"451" Error Will Tell Users When Governments Are Blocking Websites

stderr_dk Re:Reference to... (255 comments)

For those who missed the reference and didn't click the links, this is a reference to Fahrenheit 451.

Anyone who didn't get the references need to: Go back to highschool chemistry, and read more books.

We can't!

about a year ago

BBC Clock Inaccurate - 100 Days To Fix?

stderr_dk Re:User's time, not BBC time (487 comments)

1) Clock drift in excess of a minute per day is not unheard-of.

I don't think I have ever seen numbers that high myself, but if needed, the time_diff could be recalculated more often. If the page notice a large clock drift between two calculations of the diff, it could schedule the next recalculation to occur sooner.

2) If the AJAX request fails, what do you do?

For the first calculation of the diff, you don't really need to use AJAX since the page already includes the server time in the "clock"-element. If a later AJAX-request fails, you could simply reuse the old diff and schedule a new calculation at a much sooner time that otherwise.

3) If the AJAX request hits a high asymmetric delay (not unheard-of), you'll be off by a good fraction of a minute.

You're right, I don't have a good solution for that problem. Maybe take a look at how NTP deals with it.

4) If the user can't set their computer's clock, what makes you think they can set the computer's timezone?

I don't think I said anything about the user setting the timezone anywhere, so I fail to see your point.

I did mention the "Europe/London"-timezone, but that timezone would be set by the BBC site, not the user.

5) Related to 4, what happens during a daylight savings time shift? You can't count on the local clock changing by an hour, but you also can't count on it *not* changing.

What daylight savings time? There's a reason why I'm using milliseconds since Epoch.

If you know the time in milliseconds since Epoch and you know when the transition between standard time and daylight savings occur (or any other change of offset from UTC), you can calculate the local time. You can find the transition times and offsets in the tzdatabase and do the calculation yourself or you can use the tzdata-javascript library I mentioned.

about a year ago

BBC Clock Inaccurate - 100 Days To Fix?

stderr_dk Re:Not-so-accurate source (487 comments)

You can use local time as an estimate of the time zone, since time zones are only in 30 minute or an hour increments.

Or 15 minutes...

$ date -u ; TZ=Pacific/Chatham date
Thu Jun 6 22:54:10 UTC 2013
Fri Jun 7 11:39:10 CHAST 2013

about a year ago



What "news for nerds" sites should I use?

stderr_dk stderr_dk writes  |  about 5 months ago

stderr_dk (902007) writes "I used to visit Slashdot quite often, but if Dice Holdings decide to switch the interface to what is currently known as "Beta", I'll have to find another site for my "stuff that matters"-fix.

So, Slashdot, what sites can you recommend for a "maybe-ex" /. user?"



Danger, Will Robinson! Scary stories within...

stderr_dk stderr_dk writes  |  about 5 months ago

The following submissions are apparently so scary that they can't be posted on Slashdot even though they get a good rating in the firehose.

It seems that /. do have "editors" after all, but their job ain't to edit the summaries like we thought editors were supposed to do. No, their real job is to hide all the scary stories from the /. crowd, who can't handle such things...

But now I have to ask you, dear reader, do you have what it takes to read these story?

Scary stuff, eh?

Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account