Better HN
topnewbestaskshowjobs
Log inSign up

brokenparser

3,510 karma · joined Aug 4, 2012 (14y ago) · 569 submissions

Submissions

comment 12y ago · link · parent

Grunt only takes 10 minutes to set up (5 minutes to add it to package.json and copy a working gruntfile, another 5 to realise grunt-cli should also be in the list of dev dependencies).

comment 12y ago · link · parent

XULRunner is almost 8 years old now, it was invented for the same purpose TFA uses Chromium but it's actually documented:

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XU...

comment 12y ago · link · parent

Not only that, but why with that many servers pages (playlist top, artist/album details, etc) are often very slow to load.

comment 12y ago · link · parent

They're waiting for you Gordon, in the spam folderrrr.

comment 12y ago · link · parent

I don't usually jump to conclusions that quickly, it rather kept reminding me of the devolved people on the Axiom as depicted in Wall-E.

See https://youtu.be/_xToQ4cIHkk if you haven't seen it.

comment 12y ago · link · parent

very hate, little understand, when love?

comment 12y ago · link · parent

such ignorant, so confuse, nice doge

wow

comment 12y ago · link · parent

You don't need those virtual machines if you use pbuilder. All builds will run under the same kernel but if it's affected by that you're doing weird things. Also, your package shouldn't depend on any meta package as it's bad style (what if that package drops a dependency you relied on?). A good package lists only the bare minimum dependencies needed to get it to work (but under Debian may recommend and suggest other packages to go along with it).

comment 12y ago · link · parent

Yes, but you're talking about TV's where it's fine if it has a 16:9 aspect because all of the content is in 16:9. If I buy a monitor, I want it to have a proper 16:10 aspect because it matches the ratio of the W*XGA displays it would replace/complement. More specifically, I don't want to be left out of those extra lines and would feel cheated by Dell in this regard if I either bought it or had to use one due to a budget stricken IT department. A TV is a TV and a monitor is a monitor. The thing they're selling is a TV without a tuner and remote control, marketed as a monitor.

comment 12y ago · link · parent

It appears the link has changed (used to be http://www.centos.org/about/governance/ ), so all is well but I wonder how.

comment 12y ago · link · parent

Thanks, but it's completely US-centric and doesn't address the problem that such a system would drive down wages to a bare minimum.

comment 12y ago · link · parent

I'm glad she's dead

Hate on a dead person, for real? You must be great fun at parties. I wish the dead would be remembered for the good they brought, but almost a year later she's still much misunderstood.

comment 12y ago · link · parent

The problem with left wingers is that they assume money can be printed at will without realising inflation will turn their wealth into dust before you can say "poverty".

comment 12y ago · link · parent

  "The problem with socialism is that eventually
   you run out of other people's money"

                            -- Margaret Thatcher

comment 12y ago · link · parent

Can someone explain those charts?

comment 12y ago · link · parent

The DIY.

Or build an AeroQuad: http://aeroquad.com/content.php?s=9af9c997f8aed9a3ad958e32bf...

comment 12y ago · link · parent

don't forget Kohina: http://kohina.net/

comment 12y ago · link · parent

Can we have a web without Flash (or any other proprietary plugin)?

comment 12y ago · link · parent

No idea what music is exactly on the site but I, for one, love 8bit music and would like to take this opportunity to spam some links to various related websites in case TFA is relevant to your interests.

  CDs:
  https://itunes.apple.com/us/album/absolute-amiga-compilation/id436035771
  http://dataairlines.bandcamp.com/
  Actual mod, it, s3m etc. files:
  http://modarchive.org/
  http://www.keygenmusic.net/
  Demos:
  http://www.pouet.net/
  Artists:
  http://www.8bitweapon.com/
  http://kubbi.bandcamp.com/
  https://soundcloud.com/goto80
  http://gwem.bandcamp.com/
  https://soundcloud.com/sabrepulse
  http://047.se/
  Commodore64 music:
  http://www.hvsc.c64.org/
  https://play.google.com/store/apps/details?id=net.bitheap.sidplayer
There's also plenty of material on Spotify and Grooveshark. If you need a player, Audacious / Banshee / Foobar2k / ModPlug Player / mpd / VLC / Winamp / XimpleMOD... Many players will work, try your existing player if you're not using one of the aforementioned players.

comment 12y ago · link · parent

man, flash is instapwn OS.

(I wouldn't be surprised anymore if the NSA has a backdoor in it, in addition to the continuously growing list of known security vulnerabilities.)

comment 12y ago · link · parent

I read it as "Freeflix uses NetBSD 9.0" (and wondered how they got at 9.0 so quickly) but that's probably just me.

comment 12y ago · link · parent

Good thing X11 skips the copy step, just select it and middle(/wheel) click to paste:

  Try right-clicking here to see this working

comment 12y ago · link · parent

> [...] We lose all information when the program crashes [...]

Ah, what you wrote earlier makes sense in light of this :)

> In C, you sacrifice safety (undefined behaviour etc.) for speed.[...]

You can write slow code in any language, a program isn't necessarily fast because it's been written in C. It's fast because it's been written with runtime efficiency in mind. Undefined behaviour comes from not making unnecessary assumptions on the underlying platform, which aids portability.

> But has a minimum of three times the memory overhead.[...]C sacrifices safety for speed and memory efficiency

Memory efficiency, yes. I, for one, prefer not to rely on a garbage collector and verify correctness with valgrind. You do have to diligently manage memory, or any language that assumes GC may win in the long run. Speed, however, was never a goal of C. You could argue the same thing with assembly, if you do all of the hard work yourself the result can be faster and more efficient than the same application in C. Neither was meant to be fast or efficient on its own, but may be considered as such when compared to higher level languages.

> There is a JVM for mips isn't there?

It exists, but it's proprietary.

> Or don't you have enough memory?

Not by a long shot, usually.

> JVM languages uses alot more memory than a native program, that doesn't necessarily make JVM-based languages any less portable.

Not on principle, but in practise it does.

> The same .jar file can be executed on Windows, Linux, Mac and more operating systems without a recompile. [...] I'd argue that they are more portable than C.

You simply moved the problem from the program itself to the underlying platform. By that logic, I can prove a PPC binary is portable by running it in qemu on x86. As long as there's a PPC or Java bytecode implementation, the hypothetical programs will work. Fact remains that given Java or C source code, the C code will end up being more portable.

> Last but not least, it's important to use the right tool for the right job. I would never write a VM in a JVM-based language [...] never write a GUI application in C.

I absolutely agree with using the right tool for the job, so never say never. Both examples can be perfectly reasonable ways to get a certain job done, we just don't see them very often.

comment 12y ago · link · parent

strlcpy is better because strncpy doesn't indicate an error (and strcpy, well, we know what that does), not because it prevents a crash. I'd rather debug a crash because in that case, I get a nice stack trace and core dump to gaze at.

Also, I disagree C is a tradeoff for speed an efficiency. Runtime speed and efficiency? Development time perhaps? I can easily write parallel code in scala that defeats idiomatic C on both. I use C when I want something portable. I can't use the scala code on a tiny mips device, but I can port the C code if it's reasonably well written. Same goes for any other target, there's nothing so pervasive as C.

comment 12y ago · link · parent

You can do the same thing with Firefox if you pass the -ProfileManager argument. This functionality goes back all the way to Netscape: http://www.netfaqs.com/macintosh/mail/Classic/Netscape/4/pro...

It's just been hidden (and there's no need to set up email).

comment 12y ago · link · parent

Before systemd, Nagios was employed to do that and alert you when it happens. It's still a good idea to have proper monitoring set up, be it Nagios/Icinga, Zabbix or something you know will fit the bill. In good fashion of Unix philosophy, a combination of components works really well. This repository has most of them: https://github.com/monitoringsucks/tool-repos

comment 12y ago · link · parent

https://duckduckgo.com/

Problem solved.

comment 12y ago · link · parent

Use nsd and/or unbound, they're more robust and faster than bind.

comment 12y ago · link · parent

That should've been 13.10, too late to edit :(

comment 12y ago · link · parent

It appears to work just fine in FF26 under Ubuntu 3.10 without anything extra installed. Have you tried turning it off and on? Try a new profile (firefox -profileManager) or Restart with Add-ons Disabled (help menu), or perhaps it was just a fluke. Could not reproduce (relevant XKCD: http://xkcd.com/583/ ).
1
567
19