HNHacker News
TopNewBestAskShowJobs

brokenparser

3,510 karma · joined August 4, 2012

submissionscomments
brokenparser··on Why we should give free money to everyone
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.

brokenparser··on Why we should give free money to everyone
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".
brokenparser··on Why we should give free money to everyone

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

                            -- Margaret Thatcher
brokenparser··on How misaligning data can increase performance 12x by reducing cache misses
Can someone explain those charts?
brokenparser··on Ask HN: What is the best drone for hackers?
The DIY.

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

brokenparser··on 8BitBoy – A Flash-based Amiga Modplayer
don't forget Kohina: http://kohina.net/
brokenparser··on 8BitBoy – A Flash-based Amiga Modplayer
Can we have a web without Flash (or any other proprietary plugin)?
brokenparser··on 8BitBoy – A Flash-based Amiga Modplayer
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.
brokenparser··on 8BitBoy – A Flash-based Amiga Modplayer
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.)

brokenparser··on Netflix uses FreeBSD 9.0
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.
brokenparser··on How to control what is copy-pasted to and from the clipboard in the browser
Good thing X11 skips the copy step, just select it and middle(/wheel) click to paste:

  Try right-clicking here to see this working
brokenparser··on On the matter of strlcpy/strlcat acceptance by industry
> [...] 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.

brokenparser··on On the matter of strlcpy/strlcat acceptance by industry
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.

brokenparser··on How Ad Retargeting Ruined Christmas
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).

brokenparser··on Fedora 20 released
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
brokenparser··on Bing is blank?
https://duckduckgo.com/

Problem solved.

brokenparser··on Fedora 20 released
Use nsd and/or unbound, they're more robust and faster than bind.
brokenparser··on Google Zeitgeist 2013
That should've been 13.10, too late to edit :(
brokenparser··on Google Zeitgeist 2013
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/ ).
brokenparser··on Fedora 20 released
I just got off on a tangent and ranted away. Coreutils is a package, you're comparing apples and oranges. Fedora works as a baus now and it's very usable out of the box, it even packs the latest version of Eclipse! Except for a few forbidden items, it's pretty much a laid back (feet on desk, cigar locked in fingers) operating system (to use that is, the devs are probably working tediously).
brokenparser··on Fedora 20 released
System V init could restart a service, that's how you got to log in after logging out. Even so, you actually need init to restart your important service process that should never die in the first place? Now that's just sloppy ;)
brokenparser··on Fedora 20 released
What else would you wish for? A registry that can get randomly corrupted, complete with nonsensical keys?

That makes no sense. We had a perfectly working init called System V init. That's an alternative here, you may be looking at the wrong operating system.

A lot of the complexity comes from how flexible it is.

I think the complexity comes from trying to do too much at once. It's an init, but also cron. It's still an init, but also inetd. But it is still init, yet also acpid. Although it is in fact, still init, it's also atd.

And all of its functionality is available as a DBUS API. The only users are developers writing programs, not anyone banging their keyboards at the commandline prompt. That flies into the face of everything that made GNU/Linux great. Dbus is the death of GNU as we know it. The *sh oneliner that uses pipes and plain works is much better than the far more efficient C (or programming language du jour) program, even if it's only 10 lines of code.

brokenparser··on Google Zeitgeist 2013
Can't help you with Windows, but I'm interested to see what happens under Ubuntu. It's on my todo list for tomorrow (by date, not by priority).
brokenparser··on Fedora 20 released
Not really, I just prefer the Unix philosophy of doing one thing and doing it well. I hated upstart when it was introduced too, it broke stuff so I had to replace it with the unsupported (but fully functional) sysvinit every time. I still don't like the fact that it obsoleted /etc/inittab and that it has both old fashioned /etc/init.d and a /etc/init, because I have to look in 2 places to find a config or script. But it does give me a getty on whatever I set as console on the kernel commandline and it's definitely not broken out of the box any more, so I'm game.

You might think of a tiling window manager as being the greatest invention since sliced bread, but having to configure it in Haskell FFS (I'm looking at you, xmonad) just doesn't jive with me. Nor does any other tiling window manager except WindowMaker (oh, pardon me, that's a tiled window manager). KDE is just as bad because it has too many bells and whistles, it doesn't follow KISS principles. Is that a straw man to you?

Gnome managed to create a nice iteration of gnome-shell with 3.6, but it was riddled with bugs (it still is, albeit to a lesser extent). Then they had to ruin it in 3.8. Categories are for losers, right? Let's remove that. And no one ever needs accessibility, right? Let's git rid of that, too. And what's with all these keyboard layout options? Can't have that, way too useful! Yeah we put some of them back in gnome-tweak-tool but not all because obviously no one ever used them for anything. The final straw for Gnome (for me) was when shell extensions that were never meant to appear in the lock screen, did in fact, appear in the lock screen. The gnome-screensaver they got rid of did one thing really well, but they couldn't find a way to let it display notifications so they axed it.

I'll do my best to make Fedora 20 work because it offers the option of installing MATE, which is Gnome 2.x based. So it packages all of the latest gizmo's (for better or worse) and presents it with a friendly face without an identity crisis (it knows it's a PC, not a tablet). Though I'm on my 3rd install now, at some point the installer stops working resulting in a blinking cursor when I turn it off and on. It works perfectly in a VM, but I want the real deal. (It did pass verification.)

brokenparser··on Fedora 20 released
As a user, I can't tell what service is started when by which config file and where it should go. multi-user.target.wants? default.target.wants? Why are there windows-style .ini files and why are they all symlinks to /usr? Is it forbidden to make changes now? Really, RedHat?

It just baffles me whenever I look at it.

brokenparser··on Google Zeitgeist 2013
The video appears to be an mp4 (the network monitor says so) and it should work fine (it does here). Please ensure you have the latest FF version, available from https://www.mozilla.org/en-US/firefox/all/ (in case the update fails).
brokenparser··on Google Zeitgeist 2013
You're saying it's a 0 or a 1?
brokenparser··on Fedora 20 released
Because upstart is easy and systemd is difficult.
brokenparser··on Fedora 20 released
Or Scientific Linux.
brokenparser··on Fedora 20 released
That's nice, but can you "yum install upstart"?
← PreviousPage 6 of 18Next →