HNHacker News
TopNewBestAskShowJobs

jrabone

1,103 karma · joined October 27, 2011

submissionscomments
jrabone··on Ketamine 'exciting' depression therapy
You mean, apart from the bit at the end which says:

  The Home Office is reclassifying ketamine in the UK to be a class B drug, although it is already used in medicine for the treatment of back pain and as an anaesthetic.
jrabone··on Introducing Ring -3 Rootkits: BIOS rootkit targeting vPro chipsets (2009) [pdf]
And yet the Intel product pages say

"Prevent attacks below the operating system

Intel vPro technology protects against difficult-to-detect, penetrating rootkits and malware that threaten users working in cloud or virtual environments. It combines several hardware-based features, including Intel® Trusted Execution Technology (Intel® TXT)3 and Intel® Virtualization Technology (Intel® VT)4 for centralized image management and administration, secure network storage, and out-of-band protection—all beyond the firewall."

Irony? Or hopefully the current version of vPro as built-in to some Xeon processors is a bit more hardened...

jrabone··on ATM operators eye Linux as alternative to Windows XP
XP Embedded != XP Retail
jrabone··on ATM operators eye Linux as alternative to Windows XP
Assuming the developers had half a clue, they don't. They run Windows XP Embedded which can be stripped back to just the kernel and a serial terminal if necessary. It's not like they take a retail XP CDROM and installed it (of course, in the absence of clue this works too...)
jrabone··on JDK 8 Release Notes
Hmm. I've used that feature about once in 20 years of coding professionally.

My production systems don't generally log; they're busy serving (I once worked on a hard real-time embedded air traffic control system where production logging was literally a single bit of information - a logic level that went high when the processor was busy, and low on idle - so we could measure our timing safety margin with an oscilloscope)

Test systems log at debug except for low level packages that insist on ridiculous logging (Hibernate, http client - and both of those have ANOTHER level of hacks to do wire-level logging in addition to the standard stuff).

Logging is just so painful, and not just in Java. Debian switched to rsyslog some time ago and I am still seeing no benefit at all, yet have to learn yet another half-arsed buggy scripting language to achieve simple things like, oh, not having my DHCPD logs showing up in three different files. FFS people.

jrabone··on JDK 8 Release Notes
Because God knows, Java needs another logging framework. Seriously does ANYONE get any additional value out of the morass of crappy logging systems out there over and above System.out.println? Log4J is PARTICULARLY brain-damaged, with its refrain of "ooh, someone put a log4j.xml in their JAR (one of hundreds), that beats your log4j.properties.". Or SL4Js amazing performance of "1.6 doesn't work with Scala because of ambiguous varargs". Or who can forget the incredible log4j logfile appender with the global lock around the file I/O? Not to mention the interactions between SLF4J and org.whatever-it-is-this-week.Jetty's built-in crappy logging facade.

Really, NEVER has so much effort been spent for SO LITTLE REWARD.

jrabone··on Raspberry Pi gets its own sound card
I was talking about a specific hardware player, but in general any additional signal processing has the potential to add artefacts.

To hear these sorts of things, listen for reverb tails on drum hits, high frequency percussion like cymbals, high-hats, solo human voice (we're quite good at hearing unnatural artefacts in voices) - that sort of thing. Beware it has to be good quality source material to start with though!

jrabone··on Raspberry Pi gets its own sound card
That should be pretty easy to demonstrate by feeding the output back into a decent 16-bit soundcard - the noise floor should reveal any dithering going on (and if there's no dithering it will be painfully obvious that there's only 2048 discrete output values...)

I might have a go tonight.

jrabone··on Raspberry Pi gets its own sound card
I find quality in-ear headphones extremely revealing of poor quality output. Shure e5c, to pick an older set that I own, are especially unforgiving of noisy output stages and cross-coupled interference. The additional acoustic isolation really helps your brain focus on the audio by cutting out the masking effects of environmental noise. This isn't always a good thing.

For example, the Cowon S9 audio player was supposedly designed for high output quality, with a pile of DSP presets for EQ etc. With the e5c's you can really hear the poor quality processing of the EQ, especially on reverb tails. Have to turn the EQ off completely to eliminate them.

jrabone··on Raspberry Pi gets its own sound card
usually when people do [1] or something like that it's to a link

Offtopic, but footnotes predate the web by quite some time. If only we had a easy way of formatting super/subscript...

jrabone··on Downloading Software Safely Is Nearly Impossible
Well, in my case knowing that I went to college with Simon, Richard et al, and could most likely arrange a face to face meeting / key exchange at the next Debian barbecue (hi Steve!) ... Of course, there are still plenty of things to be paranoid about (if I were the faceless security agency I know whose parties I'd have been going to 20 years ago)
jrabone··on People in your organization that grow legacy code

  String[] names = { "UNUSED", "Monday", "Tuesday", ... }
  try { 
    return names[i];
  } catch(ArrayIndexOutOfBoundsException uhoh) {
    return "???";
  }
It's so easy...

Look, at least it's not a pile of @Inject DayOfWeekLookupAdapter dayOfWeekLookupAdapter with attendant 100kB Spring XML config, of which the unit tests will have their very own special cut and pasted copy. No, I'm not bitter at all.

jrabone··on Kit Kat Conspiracy (2002)
Yes. It's hard to convince Americans just how absolutely revolting Hershey's is to the European palate.
jrabone··on KeePass: OpenSource Password Manager
Really want to start using KeePass on Android with an NFC token, but it looks like the YubiKey Neo might get a new version soon to support U2F. Anyone know if the U2F thing is worth waiting for? Don't want to spend $50 (probably £50) to find it's obsolete next week.
jrabone··on Introducing Paper
Then there's something wrong with either Firefox or your drivers; latest Chrome on a 4 year old machine (Windows 7 x64, Core i7, 12GB RAM) with a newer graphics card (GTX670) needs barely 10% CPU on a single core.
jrabone··on South Korea's online trend: Paying to watch a pretty girl eat
Rule 34; given enough Internet, "Paying to watch a pretty girl <verb>" is guaranteed to be a thing...
jrabone··on Ask HN: What's the worst you've ever screwed up at work?
I'm sure zfs on Linux has a random sleep built in just to increase my anxiety levels...
jrabone··on Ad blockers: A solution or a problem?
Ads on desktop browsers are no longer the problem - between ABP and Ghostery one need never see another ad. The mobile device is the new battleground, but the prevalence of "dual-funded" apps (free, ad-supported and pay-for, ad-free) gives me some hope that a sane business model will emerge.

Meanwhile I reconfigured bind on my LAN to DNS-spoof roughly 3500 ad-serving domains and redirect them to a logging but otherwise content-free HTTP server (hey, it's OK when my ISP or my government do it to ME, right?). Very interesting just how bad the problem is. I recommend you try it to get a real feel for just how much crap the average page requests behind your back.

jrabone··on Windows 3.1 written in JS/HTML
Thanks to VMWare and some DOS network card drivers for the emulated hardware, I do! (only for curiosity's sake - I have virtual machines of every OS I owned.)
jrabone··on Building an open source Nest
Worked well for me on same hardware / software - suggest your video drivers aren't, er, driving...
jrabone··on Ford Exec: 'We Know Everyone Who Breaks the Law' Thanks To Our GPS In Your Car
I'm sure TomTom would be happy to sell it to you - see http://www.tomtom.com/en_gb/licensing/products/traffic/real-...
jrabone··on Dell Wasn't Joking About That 28-Inch Sub-$1000 4K Monitor; It's Only $699
Despite being told for fucking YEARS to use dialog-box scale units (twips) instead of hard-coding things, pretty much everyone on Windows took the "pragmatic" approach. Can't blame Microsoft for not trying, but they gave up around VB.Net.
jrabone··on Dell Wasn't Joking About That 28-Inch Sub-$1000 4K Monitor; It's Only $699
Wait, what? Windows has got full custom DPI control and has had for years. Under Windows 7 there's a dialog box to set it under the Appearance & Personalisation / Display control panel. You can toggle XP scale mode for compatibility with older apps.

Seems rather more flexible than pixel-doubling - I thought that went out with underpowered games consoles, but apparently not.

Where there is an issue is with icon scaling - since these are just multi-resolution bitmaps, if the person who made them didn't include the larger sizes you're going to have an ugly time at non-standard DPI settings.

jrabone··on Architectures that will inspire your programming
Where does JPA fit into Clean Architecture? Seems like annotation-based persistence straddles several boundaries, or else you code your entities multiple times as both "real" entities and DTOs.
jrabone··on Common Regular Expressions Made Simple
Haha that's excellent. Reminds me of a normalisation rule I wrote as part of a larger system to convert "Joe Bloggs Md." into "Dr. Joe Blogs MD" (where MD is Medical Doctor). TIL that "Md." is a common abbreviation for "Mohammed" in large parts of the world...
jrabone··on Common Regular Expressions Made Simple
Previous discussion & article about why you just shouldn't bother with email regexes at https://news.ycombinator.com/item?id=5763327
jrabone··on A Great Old-Timey Game-Programming Hack
The Acorn System computers are rack mounted computers that pre-date the Acorn Atom - http://fjkraan.home.xs4all.nl/comp/atom/history/index.html
jrabone··on IBM Research produces staph-killing polymers that leave healthy cells alone
No, apart from the inherent bleaching properties of sodium hypochlorite, the pH of bleach is extremely high - even extremeophiles can't tolerate pH 13-14. Unfortunately neither can human skin, and diluting bleach is a trade off between effectiveness and safety.
jrabone··on IBM Research produces staph-killing polymers that leave healthy cells alone
This sounds like an excellent material to make central lines out of, given the current rates (~5%) of infection by antibiotic resistant S. Aureus and friends.
jrabone··on You’re infected—if you want to see your data again, pay us $300 in Bitcoins
And that's just as good an idea as executable data segments in a binary format (ie. not a very good idea). It's taken MS literally YEARS to get to half-decent default filesystem permissions in Windows 7 and this kind of thing just undermines it totally.
← PreviousPage 2 of 15Next →