HNHacker News
TopNewBestAskShowJobs

deafbybeheading

83 karma · joined February 7, 2012

submissionscomments
deafbybeheading··on Proving false in Coq using an implementation bug
Only if you interrupt the actual `rm`, no? If you interrupt the main command, you won't get a 0 exit code so the `||` branch still executes.

Your mechanism is clearly safer, but the user is required to clean up `foo.tmp` themselves in case of failure, so it's not really comparable.

deafbybeheading··on Proving false in Coq using an implementation bug
Thanks, I know `||` in general--I meant I hadn't seen the specific construction GP had used. The error handling to delete the output file in case the command failed is really elegant.
deafbybeheading··on Proving false in Coq using an implementation bug
Can you explain what the program itself is doing to do that? That is, can you explain the Coq program itself (and how it triggers the bug)?
deafbybeheading··on Proving false in Coq using an implementation bug
Oh my! That `||` is gorgeous. I hadn't seen that before.
deafbybeheading··on XSV – A fast CSV toolkit in Rust
>Fun fact: ASCII actually reserved control characters for this stuff. 1F is the "unit separator" and 1E is the "record separator". There is even a "group separator" (1D) and a "file separator" (1C).

Which means you can't safely use it for arbitrary data (since your records themselves could contain these separators). Most of the time that doesn't matter; sometimes it does.

deafbybeheading··on Lenovo Caught Installing Adware on New Computers
A colleague uses the Dell XPS 13 and it's pretty good; I'm eyeing that for my next machine.
deafbybeheading··on Moved ~/.local/share/steam. Ran steam. It deleted everything owned by user
Why not have Apple require apps to run usefully with just basic permissions? Anything beyond access to own files is optional. This could certainly be gamed, but scrupulous app authors could gain a ton of trust from playing ball.
deafbybeheading··on Stop Changing UIs for No Good Reason
Some valid points, but GitHub's UI evolution has been phenomenal over the last two years.
deafbybeheading··on Subtly Bad Things Linux May Be Doing To PostgreSQL
Stupid (and somewhat tangential) question: how do bypass kernels work with virtualization, if at all?
deafbybeheading··on KeePass: OpenSource Password Manager
...and a mechanism provided by the party you are attempting to secure passwords from. I use LastPass, but just sayin'.
deafbybeheading··on 37signals Job Board is closing down
In about a year of using Campfire, I never saw a single bug fix or new feature. We've since moved to HipChat, and while it's not perfect, it's so refreshing to pay for a service that gets regular updates (not to mention has decent mobile clients).
deafbybeheading··on Heroku Postgres 2.0
Rollback is essentially like a fork to the past. It creates a new database, but only replays transactions up to a specific instant. It's based on the Postgres Point-in-Time Recovery feature: http://www.postgresql.org/docs/current/static/continuous-arc...
deafbybeheading··on Yahoo Acquires Bread, Will Shut Down The URL Shortener That Earned You Money
Oof, you're right--sorry about that. The addons page [1] has the right pricing, but our own pricing page is incorrect. I'll make sure we get this updated. Thanks for pointing it out!

[1]: https://addons.heroku.com/heroku-postgresql

deafbybeheading··on Yahoo Acquires Bread, Will Shut Down The URL Shortener That Earned You Money
While I agree this is not a huge engineering endeavor and Yahoo could do the Internet a solid by making this work, our free dev databases are limited to 10k rows (and, as the name suggests, intended for development). Please don't put a billion in them.
deafbybeheading··on Launched my iOS game as Open Source
Microsoft sometimes licenses things like this and it's commonly referred to as "shared source."
deafbybeheading··on Big buttons are great, but they'd better make sense
General usability is important in pretty much all interfaces, but discoverability isn't. There's a big difference between designing an interface a user will be instantly familiar with, and one that's optimally suited to the task at hand.
deafbybeheading··on Golang Automatic Reloads
Not to mention the program sigkills itself before it attempts to `exit 0`...
deafbybeheading··on Less is exponentially more (2012)
That's absurd. The law of diminishing returns comes into play, and for most cases, assembly is just not worth it (whereas C or C++ is). Rust seems like another interesting take at that sweet spot, but it seems like in Go this was an afterthought (though to be fair, the performance benefits of C / C++ are often cargo-culted even when that kind of performance is completely irrelevant, so Pike still has some valid points).
deafbybeheading··on Postgresql 9.3 Released
The default is determined by initdb, but was capped at 32MB due to the above issue. With this change, the cap's been bumped to 128MB.
deafbybeheading··on 115, the Newest Element on the Periodic Table
reference: http://www.ufopaedia.org/index.php?title=Elerium-115
deafbybeheading··on Steam-powered Blender
As a big fan of the GPL, ...I'm skeptical. I don't think Valve would benefit from keeping any potential modifications (or even plugins) secret, given that these would be far removed from its bread-and-butter.

A friend once suggested that outside of licensing pressure, maintainership is a huge driving force behind open-source contributions: you find something that does almost what you need, then you make the changes you require, and if you get these accepted upstream, they're maintained for you for free, pretty much forever. In many situations, that's far more important than any IP you're trying to conceal.

deafbybeheading··on Ubuntu 13.04: Getting Excited About Ubuntu Again
I'll take talking to my phone as a first step. Getting simple file transfers to my SIII has been a pain, not to mention anything more sophisticated...
deafbybeheading··on Schrödinger's 😻 and outside-the-box naming
Don't forget --no-preserve-root
deafbybeheading··on Unix tricks
Why not rsync?
deafbybeheading··on Why Discourse uses Ember.js
Indeed. A few years ago, I worked in an Adobe Flex on a reporting front-end that had significant client-side complexity and required us to support relatively old browsers. We re-evaluated competing JavaScript solutions periodically, but we never found anything that was worth the gamble of moving off that platform (even though rumors of its death seemed less and less exaggerated every day). These days, I'd move to Ember or Angular in a heartbeat.
deafbybeheading··on The Bicycle Barometer
Sure, I was being facetious. Even with actions that are simple to execute, I'm somewhat skeptical that a black box with a single recommendation is the best answer. I think that presenting the analysis as "do this, and here is why" would be a nice alternative for more complex systems--frequently dashboards and such throw data at you and completely punt on helping you interpret it.
deafbybeheading··on The Bicycle Barometer
Then you can skip the middleman and just automate the taking-action part.
deafbybeheading··on Dependency injection is not a virtue
The thing is, unit tests are another "use case" for a given piece of code. Many people here are saying, "I wouldn't do monkey patching in production, but it's not really a problem for stubbing in test code." And what happens when you want to make different use of that code in production? Sure, "YAGNI, rewrite as necessary" and so on, but ruthlessly applying YAGNI leads to code so inflexible that you need to rewrite a whole component to make a change in one class (or start playing with monkey patching in production code, but I have not seen anyone advocate doing that liberally).
deafbybeheading··on Over a month later and Comcast still doesn't know how to SSL
>I know the warnings are in place for a reason, but why don't the affected people just bypass the warning.

Not caring about certificate expiration may be a sign of not caring about other, more serious, security issues.

deafbybeheading··on Redis in my Postgres
> Today was my first real usage of PostGres

Then let us welcome you with some pedantry! Postgres or PostgreSQL, but never PostGres or--FSM forbid--PostGreSQL.

More seriously,

> fdw looks easy to start, but probably hard to master it.

Yep, like a number of Postgres features, such as user-defined types and user-defined aggregates. It's a great system, and not nearly as stuffy or hard to use as you may have heard.

Page 1 of 2Next →