HNHacker News
TopNewBestAskShowJobs

zerd

586 karma · joined January 22, 2011

submissionscomments
zerd··on Netflix stops charging customers who never watch
Imagine if gyms did this with memberships. They'd lose a fortune.
zerd··on What Is Nix?
Oh, that sounds like it could solve my issue. E.g. I compiled my program against my glibc which is 2.24, but target was running 2.23. I didn't even use any "new" 2.24 features, but it was missing a symbol, so it wouldn't run. But then to compile against 2.23 locally, I had to get an older version of GCC (not sure why, but), and everything needed to build the older GCC, and so on. But then I got some old versions of libraries on my system, so I had to delete them. I ended up compiling it all inside a docker container because I didn't want to pollute my env with older versions.
zerd··on Conventional Comments
It's very easy to seem rude in text comments, even if it was not meant that way at all.

"Change 'this' to 'that'" is much harsher than "Could you change 'this' to 'that'?"

It's a small change in wording, but it changes the interpretation from "This is wrong, do this instead, I know better than you" to "I think this is a better way to do it".

zerd··on HSE: Heterogeneous-memory storage engine designed for SSDs
Woah, just realizing that 10.39M 4k IOPS is 42GB/s. Doing 40GB/s of sequential IO was difficult not that many years ago, let alone random IO. That's faster than my memory bandwidth. https://www.microway.com/knowledge-center-articles/performan...
zerd··on How to avoid Amazon: guide to online shopping
I feel like there's a lack of good price comparison websites in US and Canada. I'm used to e.g. PriceSpy which compares thousands of stores. Just as an example showing 42 different stores selling this particular SSD https://pricespy.co.uk/computers-accessories/storage-media/h...

Whenever I search for something like that for US/Canada I end up on a site that indexes Amazon/ebay with affiliate links.

zerd··on Things I wished more developers knew about databases
I've heard about some database drivers/middleware being smart and optimizing/caching queries like "SELECT 1" to save the round trip, so now I do something like "SELECT now()" or similar to do health checks.
zerd··on Shirt Without Stripes
The general problem is much harder than that. You need to understand double negatives, when do they invert the meaning and when do they underline it? "Ain't nobody got time for that" can be interpreted in different ways. And then you need to understand sarcasm. Then a later sentence can invert the meaning of an earlier one. E.g. "This is the best movie ever. Said no one". Using word-pairs as features is easy, but there are just so many exceptions and ambiguity it's a very difficult problem to solve well.
zerd··on Ask HN: Programs that saved you 100 hours?
I use zsh and found https://github.com/zsh-users/zsh-autosuggestions to be very comparable with fish autocomplete, while keeping zsh niceties.
zerd··on ICQ New
You could also invite anyone to a group chat, forcing them to join, and then you could nudge all of them at the same time. Best feature ever.
zerd··on Deploys at Slack
We do it similarly except we push an image to a docker registry (backed by multi-region S3), then you can use e.g. ansible to pull it to 5, 10, 25, 100% of your machines. It "feels" like push though, except that you're staging the artifact somewhere. But when booting a new host it'll fetch it from the same place.
zerd··on Amazon Isn’t the Only Shop Online
And I got a used managed switch from Amazon. It was neatly packaged, but no plastic, strips etc, and the IP was different, and default user/pass didn't work. Factory reset worked though, so I didn't want to send it back and wait for another one as I needed it now.
zerd··on Google Open Source Code Search
I misread an thought it said Google Open Sources Code Search, hoping they open sourced https://en.wikipedia.org/wiki/Google_Code_Search
zerd··on Revolut raises $500M at a $5.5B valuation
Most European banks add 2% for currency conversion (in addition to non-market rates). Most Canadian banks add 2.5%. https://www.greedyrates.ca/blog/best-foreign-currency-exchan...
zerd··on BlurHash: Algorithm to generate compact representation of an image placeholder
I noticed that it only inlines the base64 for the first pictures/"above the fold", and then loads the rest async. Clever.
zerd··on ADS-B Exchange – Co-op of unfiltered flight data
I wonder if any of the security threats brought up in https://www.youtube.com/watch?v=CXv1j3GbgLk has been addressed. (Fun demo at 42:00)
zerd··on Monoliths Are the Future
I've worked on a service like this. 800k lines of PL/SQL and Java stored procesures (running inside the database, so you could call Java from PL/SQL and vice versa), powered by triggers.

* Testing is god-awful. To test a simple thing you had to know how the whole application worked, because there's validation in triggers, which triggers other triggers, which require things to be in a certain state. This made refactoring really hard/risky so it rarely got done.

* There's a performance ceiling, and when you hit that, you're done. We did hit a ceiling, did months of performance tuning, then upgraded to the biggest available box at the time, 96 cores, 2TB ram, which helped, but next time the upgrade won't be big enough. You're limited in what one box can do (and due to stored procedures being tied to the transaction there's limits to what you can do concurrently as well)

zerd··on Monoliths Are the Future
Also one of the service teams might need to change their schema, which the reporting team needs to adjust their process to handle that. That's fine, but they need to know that in advance, and then they might have a backlog of other things that they need to do, and then some other teams schema changed without notice, so now they always have to play catch-up.
zerd··on Does Your Domain Have a Registry Lock?
Same thing happened to the high profile domain Sex.com by sending a fax. It was almost impossible to get back, and the criminal made millions in the meantime.

https://en.m.wikipedia.org/wiki/Sex.com

zerd··on Piku: Heroku-like deployment on your server
> The tiniest PaaS you've ever seen

Is it smaller than dokku? ~250 lines of bash. Their slogan is quite similar - The smallest PaaS implementation you've ever seen.

https://github.com/dokku/dokku

zerd··on FreeNAS
I added `zpool scrub tank` to cron once a week.
zerd··on Refinery: SQL Migration Toolkit for Rust
I disagree. If you have test environments only tracking "current" and "desired" doesn't hold up, then you would need different diffs for each environment. Making sure they all apply the same migrations in the same order is important to avoid drift and ensuring consistency. Also an issue if you have multiple production databases, e.g. sharding. When you have lots of migrations and you're sure all environments are up to date to a certain point you can "squash" the initial ones to make it apply faster.
zerd··on Fight back against Google AMP (2018)
I tried to find the real URL behind an AMP page to bookmark, but couldn't find it. I think they've added a tiny (i) since then, but they're really trying to hide it.
zerd··on CEO compensation has grown 940% since 1978
NPR Planet Money has a good episode on this: https://www.npr.org/sections/money/2018/06/22/622646316/epis...
zerd··on Users hate change
With subscription based software you effectively are paying them for bugfixes. They just also (potentially) give you new features to justify it.
zerd··on TurboTax to charge more lower-income customers
Intuit/TurboTax would love it if filing was so hard it's practically impossible, without the use of TurboTax.

* In 2007, Intuit lobbied to make sure taxpayers cannot electronically file their tax returns directly to the IRS by negotiating a deal preventing the IRS from setting up its own web portal for e-filing.

* In 2009, Intuit spent nearly $2 million in political contributions to eliminate free online state tax filing for low income residents in California.

* Between 2001 and 2010, Intuit Inc., maker of the tax-preparation software TurboTax, spent more than $1.7 million on lobbying in an attempt to kill ReadyReturn. Proposed statewide rollout of the ReadyReturn program was defeated in the California legislature in 2006. The FTB revived it on their own for the 2007 tax year, expanding it to cover one million Californians

* From 2009-2014, Intuit spent nearly $13 million lobbying. Intuit spent $1 million on opposing ReadyReturn, against John Chang, a Democrat who supported ReadyRun. Joseph Bankman, professor of tax law, Stanford Law School, and advocate of simplified filing, believes that the campaign warned politicians that if they supported free filing, Intuit would help their opponents.

* On March 26, 2013, ProPublica reported that the company lobbied against return-free filing as recently as 2011. One year later, ProPublica reported that the company appeared to be linked to a number of op-eds and letters to Congress in a campaign advocating against direct tax filing backed by the Computer & Communications Industry Association, an advocacy organization of which Intuit is a member.

https://en.wikipedia.org/wiki/Intuit https://en.wikipedia.org/wiki/ReadyReturn

zerd··on Mazda is purging touchscreens from its vehicles
Same reason I hate the MacBook TouchBar. It distracts, requires looking at it, does not give good feedback and is context dependent (buttons move around).
zerd··on How Fast can A Single Instance of Redis be?
I wonder how the performance compares with pedis [1], which is based on Seastar/ScyllaDB.

https://github.com/fastio/pedis

zerd··on The new Dropbox
The also mention it here https://news.ycombinator.com/item?id=14926851

strings /Applications/Dropbox.app/Contents/Frameworks/libdropbox_watchdog.dylib | grep -i rust shows some hits:

  __ZN14rustc_demangle8demangle17h2ad719809986c0fcE
  _rust_begin_unwind
  /Users/vagrant/client-dropbox-python/dropbox-virtual-env-3985da1e510f-mac-x86_64-10.14/rust/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-f10e664516557f83.rlib(compiler_builtins-f10e664516557f83.compiler_builtins.7wkmozn8-cgu.0.rcgu.o)
  ___rust_probestack
  /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.5/src/probestack.rs
  ___rust_alloc
  ___rust_dealloc
  ___rust_realloc
  ___rust_alloc_zeroed
  /Users/vagrant/src/client/rust_vendor/hyper-0.10.13/src/buffer.rs
  /Users/vagrant/src/client/rust_vendor/serde_json-1.0.33/src/read.rs
  ...
Looks like they use it fairly lightly though.
zerd··on Intel Announces 8 Core I9-9900KS: Every Core at 5Ghz, All the Time
That's mentioned in the article: "The new Core i9-9900KS uses the same silicon currently in the i9-9900K, but selectively binned in order to achieve 5.0 GHz on every core, all of the time."
zerd··on TurboTax and H&R Block Saw Free Tax Filing as a Threat
Most people won't type in https://www.irs.gov/ directly, they will start with a search. Here's what might happen: https://www.propublica.org/article/turbotax-just-tricked-you...
← PreviousPage 7 of 10Next →