Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yashap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
481.
▲
by
yashap
6y ago
Pretty curious to know what the false negative rate is. With the most popular current test (nasopharyngeal RT-PCR), the false negative rate is very roughly 30%, which is already pretty awful. And if you get tested significantly before or af
482.
▲
by
yashap
6y ago
Now confirmed: https://www.google.com/amp/s/www.forbes.com/sites/barrycolli...
483.
▲
by
yashap
6y ago
Totally. If the hot pages of your indexes and hot pages of your records mostly fit in memory, DBs mostly read from memory anyways. If they don’t mostly fit in memory, things can slow down a bit, but you’re likely better off vertically scali
484.
▲
by
yashap
6y ago
It’s insane how often people stick Memchaced/Redis in front of MySQL/Postgres, completely unnecessarily. So many otherwise decent developers assume that MySQL/Postgres is too slow/doesn’t scale, without even trying. Or s
485.
▲
by
yashap
6y ago
I’m such a huge fan of DDD. IMO, if you only ever read one book on Software Architecture, that’s the one to pick. A key point, though, is that you learn the right domain models/abstractions over time. Refactoring is critical as you gai
486.
▲
by
yashap
6y ago
I think, in most cases, if you have n items in memory, and you want to find m of them by id, or some such thing, your default should be to represent the n items as a hashmap, not a list, and look them up from the hashmap. There will be case
487.
▲
by
yashap
6y ago
It’s insane to me that we don’t just make masks 100% mandatory when you’re outside your own home. We don’t have exact numbers on how effective masks are, but when everyone is wearing them, evidence suggests “very effective.” Anecdotal examp
488.
▲
by
yashap
6y ago
I’m not saying it’s LIKELY, or at all feasible in the short term. Just that, for those HKers who do want independence, they’re probably not envisioning gaining independence through military conflict, but more by shifting public opinion and
489.
▲
by
yashap
6y ago
There are plenty of HKers who want independence, though from polls I’ve seen it does seem to be a minority, more like 20% of HKers than 50%. Higher among protestors I’m sure. One of the core demands of the protestors is sort-of “independenc
490.
▲
by
yashap
6y ago
Yeah, HK independence is certainly not something that would happen SOON. But for decades, nobody thought the British Empire would give up India. After decades of protest and resistance, and shifting political landscapes, they finally did. H
491.
▲
by
yashap
6y ago
There have been plenty of successful, peaceful-ish secessions in history. Off the top of my head, the British Empire mostly dissolved semi-peacefully, which was basically a tonne of secessions. Norway essentially seceded from Sweden. Russia
492.
▲
by
yashap
6y ago
Yup, Blender are based in Amsterdam.
493.
▲
by
yashap
6y ago
Yeah, Blender make it super clear in the link you provided ( https://fund.blender.org/corporate-memberships/ ). Pay 30K euros per year, and a Blender dev will work on the features you want for 6 months per year. This
494.
▲
by
yashap
6y ago
You can look up economic studies on the marginal utility (satisfaction/benefit) of wealth for an individual, and it’s absolutely the consensus that it declines rapidly the more you have. Take $100,000 from a middle class person, and yo
495.
▲
by
yashap
6y ago
The US and Ireland are both at fault here, both caving to the largest of mega-corps, giving them massive tax advantages, while placing all tax burdens on individuals and corporations that aren't so insanely wealthy.
496.
▲
by
yashap
6y ago
My view is: - It makes sense for governments to provide healthcare, education, police, the military, welfare for the elderly/poor/disabled, basic infrastructure like electricity, water, etc. These things don't tend to work we
497.
▲
by
yashap
6y ago
Indeed. My understanding is that the deal is basically Ireland saying “hey Apple, employ Irish people in Irish Apple offices, and we’ll pass whatever laws you want to allow you to pay zero corporate tax in Europe, despite massive real (pre-
498.
▲
by
yashap
6y ago
Standard Ireland stuff. They want to bring jobs to Ireland, so they create international corporate tax loopholes. My understanding is these loopholes mostly allow US tech companies to make large real profits in Europe, have them attribute t
499.
▲
by
yashap
6y ago
In unit tests, I like to only test a single method in isolation, with all of it’s dependencies mocked. So in a domain layer method, that depends on some infrastructure layer code that itself does the DB access, I mock the DB access layer. A
500.
▲
by
yashap
6y ago
When I think of an application, I think of something used reasonably directly by an end-user. From the linked article, things like IntelliJ IDEA, the Maestro Mars Rover controller, Minecraft, Hadoop, etc. Admittedly, this is just my persona
501.
▲
by
yashap
6y ago
Not really “apps”, but Java features prominently in the backends of many major tech companies. Off the top of my head, I believe it’s the main server-side language at Amazon, and one of many prominent server-side languages at Google, Netfli
502.
▲
by
yashap
6y ago
Wow, that is absolutely insane.
503.
▲
by
yashap
6y ago
Non-competes should be completely killed. Disclosing confidential trade secrets should be a legal issue, but getting a new job with a competitor shouldn’t be, as long as you don’t share confidential info with them. If you build up a tonne o
504.
▲
by
yashap
6y ago
This makes me generally curious about Deno’s architecture/design. Anyone known much about it? Would love to learn more! I know the JS engine is V8 (C++), and the rest is Rust and TypeScript, but which parts are Rust, which parts TypeSc
505.
▲
by
yashap
6y ago
When I’m throwing together a quick script, or maybe some minor piece of automation, Python is my go-to language. For any decently large project, though, I prefer static typing.
506.
▲
by
yashap
6y ago
You’re already making the right decision. I think introducing new tech is fine as long as it solves a new problem for your business. If you haven’t yet used a cache, but have a need for one, introducing Redis or Memcached makes sense. If yo
507.
▲
by
yashap
6y ago
Semantic HTML is a pretty important part of making your site accessible. Screen readers have likely consumed that HTML plenty of times.
508.
▲
by
yashap
6y ago
What are the last Scala/sbt versions you’ve used? Scala compilation times (and sbt startup times) have improved dramatically over time, it’s reasonably fast now. In the past 3 years, the Scala compiler has gotten literally twice as fas
509.
▲
by
yashap
6y ago
Every hate speech law I’ve seen has a reasonably rigorous definition of what qualifies, including what kind of groups are protected. I’ve never seen a hate speech law that protects criticism of political parties, if you have please link to
510.
▲
by
yashap
6y ago
I’m not a Google employee, but really all companies of large enough size care only about the bottom line. Large companies don’t have morals, they just try to make money at all costs, full stop. Google is a bit more hypocritical in that they
More ›