HNHacker News
TopNewBestAskShowJobs

nieve

1,134 karma · joined August 22, 2011

submissionscomments
nieve··on MDBM – High-speed database
It doesn't mean he's wrong, but hyc_symas is the CTO of Symas who produce the Lightning memory-mapped database, so part of his business is in direct competition. He does dance around this a bit below, but I think how aggressively he's trashing MDBM with broad & unsupported statements in this thread doesn't really speak well of his company or his personaly integrity. You can have a technical disagreement without looking like you're spreading FUD in place of valid technical arguments. This isn't how you do that.
nieve··on Nasty Lockup Issue Still Being Investigated for Linux 3.18
You're not just living in a dream world, you're using the phrase to excuse a snide strawman. The Linux kernel is 12-20 million lines of code depending on how you count it (and how far up the top end has gone recently). It is not possible for humans to know and comprehend the entire codebase, much less avoid all lockup bugs by reasoning about the code. In fact I'm pretty sure all extant methods of creating a correctness proof fail at that scale (even if you can ignore drivers). Much of the kernel requires specialized skills and experience the majority of kernel developers don't have.

Beyond that the kernel developers value both correctness and performance. Most of these bugs involve multiprocessing and a huge amount of effort has gone into getting rid of them global locks, but even they aren't easy to reason about at that scale - I think you're missing the common thread in "deadlock" and "Global Interpreter Lock". Pretending that a world could exist where we can simply reason about something like the Linux kernel and then using it to state that devs can simplify or improve the logic is taking a completely unsupported cheap shot and the disclaimer about the real world doesn't change that. I'm not even sure what your motivation for the equivalent of "if you pretend that friction & drag don't exist it's really easy to figure out aerodynamics, so plane designers need to do better" (hint, it's not) is, but it certainly isn't to inform, contribute, or facilitate the debate.

nieve··on Don't panic and keep forking Debian
I was one of those burned by Pulseaudio and the way Lenart basically dumped the project as soon as it got enough traction and before it was stable or truly functional. The design was, as you point out, very reminiscent of systemd - one giant, poorly documented and not very well tested audio system was supposed to replace all other parts of the Linux audio stack (above the kernel drivers) and give us near-realtime performance and a lot of fancy device management and dynamic control. Short form: it didn't until he had already moved on.

He still trots that disaster out as proof of his fitness to lead, so it's hard for me to trust that systemd is both well-designed and likely to not be abandoned by him for his next shiny pursuit of Windows. The involvement of other devs helps, but not enough to convince me systemd is worth getting near. Two years of audio fail made a good object lesson for me about Lenart's professionalism and dedication.

nieve··on Ask HN: Can we talk about FreeBSD vs. Linux?
openSUSE uses btrfs's copy-on-write behavior to allow rollbacks. Any time you use the package management system to change system state on a machine using btrfs the package manager actually snapshots the filesystem before (and I believe after) the install or remove. Due to COW this effectively only wastes the space for new versions of old files and snapshots can be cleared at will. It's a little weird to get used to, but it's actually a far more powerful "Oh Shit" button than package level rollback - a bad post-install script in a package that trashes /usr can usually be recovered easily if you read the docs and still have snapper (or can get a copy of it). Unfortunately RDBMSes don't usually play nice with copy on write filesystems, so it's much harder to do rollback there.
nieve··on Ask HN: Can we talk about FreeBSD vs. Linux?
Thanks, I appreciate the clarification from you and vertex-four. I was indeed missing the ports part of what you were saying. I'm relatively comfortable with that since I'm not going to be using FreeBSD for any large-scale deployments and the software I care about tends to be reasonably good at backwards compatibility. In the case of PostgreSQL I'd test, but in an emergency I feel like I could do a live upgrade without too much stress. I'll have to keep an eye on Nginx and Sphinx, though.
nieve··on Ask HN: Can we talk about FreeBSD vs. Linux?
I may be confused since I'm only now moving some servers to FreeBSD, but it sounds like you're suggesting freebsd-update brings in bleeding age, incompatible version if you want to get security fixes. Is that actually the case? I've got zero interest in running it as a desktop so I'm guessing that'll hit me less, but it's worrisome to hear.

As a side note, I'd love to have something like "freebsd-update rollback" for most Linux distros. I've seen attempts at it, but the only one that worked well for me was openSUSE integration of btrfs snapshots and the package manager. That's kind of swatting a fly with the complete works of Knuth, but it did the job.

http://www.freebsd.org/doc/handbook/updating-upgrading-freeb...

nieve··on Ask HN: Can we talk about FreeBSD vs. Linux?
That's an incredible book if you want to understand the core of the various BSD kernels (obviously it's best for FreeBSD). It's the latest descendant of "The Design and Implementation of the 4.3BSD UNIX Operating System" which he wrote in 1989, a series of books that are justly famous. McKusick has been involved with the BSDs since he was Bill Joy's officemate and I'm pretty sure wrote the first fsck and most of the first usable filesystem for BSD. The filesystems section of the 4.4BSD version of the book was a fascinating read. He's also the guy responsible for the little red BSD daemon.

McKusick and his partner Eric Allman (sendmail & syslog) are the kind of older open source developers who're famous to Unix people and more Unix-inclined Linux people, but aren't as well known now as Stallman or de Raadt, say. Even now there's a high chance than any human being using the net has had their email, IM, or web traffic pass through software written by either of them.

nieve··on “2015 will be the year that Perl 6 officially launches for production use”
The older webOS devices are incredibly hackable on the software end compared to any other consumer electronics devices I've dealt with. Far more open than Android, much closer to an old-school Linux distro even then some desktop distros, easy dev unlocking (and good tools!), and Palm/HP even used .ipk as their package format. I loved my old Palm Pre and HP Touchpad until they both eventually died violent deaths (technically one still runs after a 5-story fall onto marble, but it's not happy). The homebrew community rather quickly got an X server working complete with a couple of common desktop environments. Or rather I should say X servers plural, you could launch more than one and flick between them like any native app.

With a bluetooth keyboard and mouse I could work much more comfortably than with the exact same hardware running Cyanogenmod. Being able to do Perl/Ruby development and run a real RDBMS is possible on Android, but it's not natural. When webOS came out GUI was also more pleasant than Android or iOS for a lot of things and definitely better at multitasking, but they couldn't compete in the market. Luckily some of the webOS UI folks ended up at Google and Apple (and some had come from there), so things like the Android notification system benefited.

nieve··on PostgreSQL is more popular than MySQL
http://lucumr.pocoo.org/2014/2/16/a-case-for-upserts/ "There is an obvious question what happens if there are two unique constraints on a table, and the answer is quite simply that it breaks down in that case. If there are two uniques MySQL will not give an error but just execute the operation as if it was happening on the first row that matches. Essentially the where is extended to be be an or for any of the unique constraints compared to the values from the insert statement. This is obviously dangerous and definitely not optional."
nieve··on PostgreSQL is more popular than MySQL
I've used PostgreSQL for 15 years and missed upsert/MERGE for all of them, but my understanding from previous research is that MySQL's is actually unreliable in the sense that it can violate ACID in some circumstances. This is believable to me, MySQL's performance lead on whole table count(*) is because it doesn't actually count the currently visible rows for large tables. Complete violation of sql's count semantics, but most people don't know or care.

I'm digging up some references now.

nieve··on The Liar's Tell: Is Paul Ekman Stretching the Truth?
I'ts been said before, but there's a major issue with any program that depends on TSA officers' perception of people as liars or truthful: true positives are going to be swamped by officer bias. In lower-stakes situations study after study shows police officers presuming non-white people to be more likely to be criminals without regard for local statistics. A terrorist group probably has a higher chance of slipping a member by who is or can pass for non-Arab under this setup. I doubt most domestic terrorists (almost universally white) are going to get the same scrutiny no matter how nervous as a frustrated Arab-American woman from Des Moines will. At best they might get checked in case they were smuggling.

The model here relies on teaching officers to select people based on whether they think they're lying, it's a perfect situation for prejudice to distract from actual threats. Bruce Schneier and others have pointed how this wastes resources and increases the attack surface for terrorists, but the TSA has been highly resistant to feedback & criticism. It's the equivalent of having the physical security guys for a building do sweeps at night to look for post-its with passwords. That's not the computer security threat and it's not the breaking & entering one, so why do you have them wandering around in the dark?

nieve··on Introducing GIFV
I agree completely, though I'd add that it's also unpleasant. There's a reason some browser and browser extensions try to help track down which tabs are producing audio.

Perhaps GIFV or equivalent should be defined as either requiring the browser not to play audio or as making audio optional, but required to default to off at start of play. The latter would require a minimal transport control, but I could live with a transparent mouseover-only volume button. There's no technical reason that a GIF successor must include or play audio. For that matter it would make a greasemonkey script or perhaps extension that forced sound off for regular mp4 much easier to write in this case.

nieve··on Reddit CEO Calls Out Former Reddit Employee on Reddit
You're positing competence and or ethics when neither can be presumed. I can only wish they were safe assumptions. In fact in every layoff I've participated in (on either side) a reason for the layoff has been offered.

In one case where I and others were laid off we were told it was a layoff, our severance paperwork said it was a layoff, and the government was informed (for each of us individually) that it was for cause. The motivation was to get around the legal restrictions for layoffs and avoid an increase in their unemployment insurance contribution. In another case I was the only person laid off (from a small team), it was explicitly a layoff & my severance was paid out, and I later found out that it was part of a deliberate attempt to spread fear, uncertainty, and doubt in the dev team. The company officer in question was later abruptly terminated and may have faced criminal charges.

In both of those cases you could argue by the standard you're using that I was fired instead, but I've got the legal documentation and if needed the witnesses to prove otherwise.

nieve··on Novena Update
Field replacement for oscilloscopes & some logic analyzer uses. Software Defined Radio host (the expansion card is in development). Hardware reverse engineering including bus-sniffing something while it's running. Feeding signals into stopped or running hardware to plant new firmware in it. Sniffing crypto keys from running hardware - Bunnie Huang is one of the core Novena people and he was the one who used an FPGA to sniff the Xbox crypto keys to allow Xbox Linux to boot. Keyboard & LCD can be switched at will by a user. The FPGA can be programmed to do many things faster than a general-purpose CPU and can do fast/wide data capture a CPU simply can't keep up with. The expansion slots have room and interface capability that can support a lot of potential new hardware including home-built modules. The list goes on from there, but my fingers are going on from there.

The CPU & graphics are almost more of a programmer convenience than a fundamental selling point. You've got to have them, but they're there to control other things and do some basic number crunching.

nieve··on TXR: A Programming Language for Convenient Data Munging
TXR looks rather like the CRM114 language that's been used to implement some rather amazingly accurate text classifiers (some better than most people on their own mail), though a bit less bizarre and I think more accessible: http://crm114.sourceforge.net/docs/INTRO.txt CRM114 too treats pattern matching as the fundamental construct and has blazing performance for it and certain kinds of number crunching (it has to), but I don't think it's nearly as useful for the average hacker trying to munge a couple of text files. Still, worth a look both to users and possibly to language implementors. I'm definit
nieve··on Novena Update
It's got a mass of relatively expensive hardware components that have (almost( never been included in a laptop form factor and certainly not together. Novena can replace quite a few expensive discrete tools and do it in something that can be comfortable carried around and modded. What you're asking is basically why a full shop with a CNC mill installed in a large truck is so much more expensive than a nice pickup when the latter can go much faster and is a lot more comfortable. They share a category and vaguely similar basic shapes, but they're not really the same thing and you don't use them as if they are. Is that a helpful analogy?
nieve··on Hacker's Guide to Setting Up Your Mac
I love Witch, but after upgrading to Mavericks I found that it was weirdly sluggish and tended to overshoot what I was aiming at. It also doesn't function with a lot of fullscreen apps (primarily games) and iBooks does ridiculous stuff with its windows that no app switcher seems to know how to work around. All that said, I'm still glad I bought it and I end up switching back and forth to the default app switcher because it's so much better in every way but those bugs. I'm sure the iBooks thing will get resolved and I think the sluggishness thing is eventually going to get cleared up in patch.
nieve··on Keeping your stuff safe, simply
You can have copyrighted files uploaded, I believe you can even share them with another account. What you can't do is get a public download link for a copyrighted file. I guess the latter cuts some of the motivation, but plenty of people are still going to be putting those files into the dropboxes.
nieve··on OPM – Open PostgreSQL Monitoring
/snark I've certainly had PostgreSQL crash and all it took was someone in a Verizon datacenter accidentally yanking out the cables connecting the server to its RAID arrays. It even crashed a second time when someone "tripped over a cable" and took out the arrays again and a third time when the redundant power supplies turned out not to be...

OTOH complete loss of storage resulted in sub-second data loss with autorecovery the first two times using a five year old Pg installation and minimal issues the third time. The master server had a three year uptime on the main server process when it went down. Overall I'm pretty comfortable with that track record.

nieve··on Why Aren't Women Advancing at Work? Ask a Transgender Person
I can vouch for the effect and it's far less subtle than I would have guessed. I expected transphobia plus sexism in the office, I got less of the former and far more blatant examples of the latter. I transitioned in the same job, reporting to the same people and supervising the same people and my treatment changed hugely:

• Guys I'd taught to use network tools months earlier (ngrep, paratrace, etc.) were eager to teach me to use the same tools and suddenly started giving me less credence.

• People in meetings (especially men) presumed I was from marketing or sales even when I was introduced as tech lead.

• When members of another group needed access to code I'd written my boss pointed them at me and told them I'd written it - so they came to ask me who knew the code and could explain it. I spent north of 10 min trying to get through to some very sincere, confused devs that no, there wasn't a "guy who wrote the code" that I was hiding from them and I was the only person who could help them.

• In meetings a male dev who reported to me started getting all the questions and was expected to sign off on things. When I made the final call on something people would ask him his decision.

• I lost two to three feet of personal space in elevators, break room conversations, and hallway discussions with management types and got talked over much more.

• I was happy that the invitations (I refused once I knew what I was in for) to beer runs/golf/bars with scantily clad servers stopped, but so did the "male execs go out in cliques" lunches. There's a lot of social currency, inside information, politics and gossip when guys go out like that and poof, your access is gone (or you never had it if you're a cis woman).

• Upper management stopped defaulting to believing me about deadlines, security issues, redundancy, etc. My concerns were far more likely to be considered overrated.

Every single one of these things I noticed _and_ had others mention to me. Imagine the combined effect of 10 years of that on someone's career and you'll understand why so few women have made it up the ranks in tech companies..

nieve··on Fdupes: A tool to de-duplicate files
It's worked on every linux/unix variant I've tried it on (including OS X where it's in homebrew), but I can't swear to anything non-*nix.
nieve··on Mosh: A replacement for SSH
My biggest complaint about Mosh is that how it handles the login sequence breaks common .bashrc/.bash_profile idioms like

test -z "$BASHPROFILEREAD" || return

(to avoid double-sourcing) and there's no good way to fix them. I haven't tested ksh93/zsh yet, but I suspect similar issues. I suspect the developers do little more with their shell initialization than set a few aliases and variables so it's not an issue for them, but fixing it for myself is far more work than worth it. It's too bad, everything else works well for me with mosh.

nieve··on Network Instability in NYC2 on July 29, 2014
I only keep three machines with them, but two are in NYC2. For the July 24th outage they issued a combined 4¢ SLA credit for claimed two hours downtime. For this much worse problem? Nada. I suspect that DO is prioritizing refunds for more lucrative customers and if you're not spending enough you're not going to get anything. I may need to look into moving some stuff over to Ramnode if they've got a NYC location now (Wall Street clients).
nieve··on You Say Blue, I Say Cerulean
I'm amused that the author chose a centuries old color name that's been in relatively frequent written use all that time for the title. The article centers on the history behind huge catalogs number of obscure color names, but he chose one that's not at all obscure. OTOH it's kind of a win because cerulean isn't the generic "blue" most people would think of, so it nicely illustrates the use of distinguishing color names.
nieve··on Anonymity vs. Real Identity
Unfortunately an even larger subset of the population doesn't need anonymity to act nasty to others, while their victims often need it to prevent it escalating. Google's attempts to force real names on Youtube comments to reduce spam and bad behavior have been... less than impressive in effect. In a lot of discussions if you force real names you ensure that those with the most to lose (and often the most at stake) are also the most vulnerable.

Even presuming that counter to actual experience the generic trolls are deterred by a real names policy, there are others who become a much bigger problem when they've got access to real identities. Why do you think doxing is considered such a big thing? SWATing, offline stalking, physical assault, etc. are all risks as soon as a harasser has your info. Even worse when you're talking about something like domestic violence support groups there's a very real danger of the abuser escalating if they discover the victim has been talking to other people. That's 2.1 million people in the US alone who report physical assault by a partner in a single year who could really use access to resources without revealing themselves.

nieve··on Native scrolling and iTerm2
This is for applications that put the terminal into a specific mode (or modes) that don't work. The example given in the patch linked to is man, but really it seems to be an issue with most pagers. What the patch does is hook into that mode being set and start translating mouse scroll events to arrow key events. The easiest way to see the problem is to run "man man" and try to scroll up, then scroll down. Up looks like it works because iTerm is saving that output, but scrolling down doesn't. If you do something like "less +200 rfc1918.txt" to start in the middle of the file you'll find that you can't scroll up either.
nieve··on EncFS Security Audit
Is the current, non-EncFS compatible version open source for the crypto components or audited by anyone reputable? If not we don't necessarily have any reason to believe it's safer.
nieve··on How times have changed for PostgreSQL
As someone who's used PostgreSQL for 15 years and had to evangelize it almost everywhere I've gone that's a bit surreal to hear. Good, very good, but a little surreal. I've found that if you've got Ruby & Perl skills and you've worked on large-ish systems you'll get pigeon-holed as a non-database dev and it's hard to escape that without seriously warping your resume.
nieve··on How times have changed for PostgreSQL
For any reasonable RDBMS deployment resources PostgreSQL has been faster than MySQL for me. Write-heavy loads are a huge win for it, but even on large reads (formerly its weakness) PostgreSQL has the advantage unless you've got no writes at all on the table. I guess if you've got completely static data MVCC isn't a win, but at that point I'm not sure you need to be using an RDBMS in the first place...
nieve··on A method to use Google for DDoS. Bug or Not?
DDOS as a Service has been around for years, the difference is that Google is trying to muscle in and undercut the competition with a free service. Unlike the extant players their customer service is nonexistent, so I'm sure the big DaaS companies won't lose too much business...
← PreviousPage 13 of 16Next →