Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eggsnbacon1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
eggsnbacon1
6y ago
I didn't think about this!! That could a big performance hit to pay for nice API's. I think inlining might save us here? I'm not sure what the metrics are around inlining lambdas... Does it look at the size of the code wrappi
92.
▲
by
eggsnbacon1
6y ago
their "store" failed because nobody wanted to go through all their BS. Now they're making it so anyone with a keyboard can add to their package manager. Probably with the end goal of a walled garden ala Android and Apple. The
93.
▲
by
eggsnbacon1
6y ago
The pessimist in me says its because too many users are blocking trackers. Going first party means their tracking is unblockable
94.
▲
by
eggsnbacon1
6y ago
My Java timing is very close to Rust. I have a feeling PyPy is eliminating the string conversion as dead code. When I alter my Java toy code to not prevent elimination of the toString() call it runs close to speed of PyPy.
95.
▲
by
eggsnbacon1
6y ago
I have a feeling PyPy isn't running the string conversion at all. My Java version didn't without using a trick to prevent dead code eliminaton
96.
▲
by
eggsnbacon1
6y ago
The Clang result is suspiciously fast. Way faster than GCC and my Java attempt. Maybe its dead code pruning the string conversion? Java was about the same as Julia for this, on my machine
97.
▲
by
eggsnbacon1
6y ago
> like the threaded approach you're using. thanks :) Eclipse Collections can also do batched loops which might speed this up. Telling Java how many threads you want will probably help as well Interestingly, I tried plain old for(i
98.
▲
by
eggsnbacon1
6y ago
HN community is quite self selected. The average engineer I've met chose their career for the money and isn't interested in much that's not right in front of them
99.
▲
by
eggsnbacon1
6y ago
the outer loop runs 20 times as well
100.
▲
by
eggsnbacon1
6y ago
for reference, a pure java version through JMH that takes 0.38 seconds on my machine. This uses parallel stream so its multithreaded. Single threaded it takes 0.71 seconds. Removing the blackhole to allow dead code elimination takes single
101.
▲
by
eggsnbacon1
6y ago
I interview a decent number. At least in my area, college grads have leveled off. There's still a ton of them, maybe 5% growth a year and a lot more applying for first jobs. But its a steady percentage. There's been a huge jump in
102.
▲
by
eggsnbacon1
6y ago
Texas is probably the best place to build trucks for PR value. "Texas edition" is something they even put on trucks made in Mexico. Texas is seen as strong and independent, values respected by much of the customer base. To be less
103.
▲
by
eggsnbacon1
6y ago
you are right, the testing page shows half the positive rate and far higher testing. I was wrong here, its likely that AZ cases are dropping
104.
▲
by
eggsnbacon1
6y ago
You can look at the EU average, which is close to US population and still makes the US look bad. Test positive rates can tell you how roughly how much a country is undercounting. If US has twice the test positive rate as another, they'
105.
▲
by
eggsnbacon1
6y ago
dude, click on "Confirmed COVID-19 Cases by Day". If you ignore the drop every weekend and greyed bar from last few days (incomplete data) its increased every single week. Number of new cases per day is steadily increasing every w
106.
▲
by
eggsnbacon1
6y ago
They should have followed Tesla and started with different manufacturer's chassis. The Tesla Roadster was just a Lotus Elise with electric drivetrain and stylistic changes to some panels. Once they had the drivetrain down and some sale
107.
▲
by
eggsnbacon1
6y ago
China and India are larger. China suppressed the virus, India is doing worse than the US. Comparing to those countries doesn't make much sense either because US is much wealthier. We should be doing far better than both, and we're
108.
▲
by
eggsnbacon1
6y ago
NC is hot and humid compared to the west coast maybe, but the average temp of hottest month is only a few degrees more than Chicago. In contrast the average temp of the coldest month is about 20 degrees warmer. Proximity to mountains and oc
109.
▲
by
eggsnbacon1
6y ago
This can be disproven by looking at daily death rates. Many states are also peaking in daily deaths vs average. There's undoubtedly more testing, but its not the main contributor to the lack of suppression
110.
▲
by
eggsnbacon1
6y ago
well said, this is exactly what I believe as well.
111.
▲
by
eggsnbacon1
6y ago
maybe in the US, but lockdowns in many other countries have suppressed virus transmission completely. Why would our goal be different? Because we can't achieve that?
112.
▲
by
eggsnbacon1
6y ago
its not just political. The rich and powerful have too much influence. Countries with high income equality are the ones with successful lockdowns. When your president is one of the richest men in the world its hard to convince leadership to
113.
▲
by
eggsnbacon1
6y ago
Our lockdowns were so badly done they didn't even decrease the daily case count. In Korea and many other places, they ended lockdowns after a few months because cases dropped orders of magnitude. In the US, we're "opening bac
114.
▲
by
eggsnbacon1
6y ago
It's definitely not swampy, its quite dry. I looked up rainfall levels and its also not an arid climate like I thought. Much of the rainfall is concentrated in large storms, it doesn't rain very often. Much of the local vegetation
115.
▲
by
eggsnbacon1
6y ago
Python is the language of choice for schooling these days. As Java once was. One could argue that Python is much better suited for it. This may mean that low level language skills become rare though. Besides memory management, Java is kindr
116.
▲
by
eggsnbacon1
6y ago
Might be true, but building a multibillion dollar investment strategy that falls apart during a market downturn is a very financial crisisy thing to do. Its easy to make money during a bull market, just toss money into an index fund. Uber a
117.
▲
by
eggsnbacon1
6y ago
>I don't get it. This just looks like async/await (submit/get) with extra steps. Why not just write because altering the underlying thread pool can convert all existing code to fibers without syntax changes. This is the cr
118.
▲
by
eggsnbacon1
6y ago
I worked on a project that used CQRS and Event Sourcing years ago. It was an unmitigated disaster, never made it out of prototype phase. By using Kafka (or anything else) as a "commit log" you've just resigned yourself to bui
119.
▲
by
eggsnbacon1
6y ago
In both of those cities the colleges have become feeder schools to the tech industry. And they're both desirable places to live on their own. Austin is gorgeous. Semi-arid but the big river gorge running through it means downtown is lu
120.
▲
by
eggsnbacon1
6y ago
I have had IntelliJ open with multiple million+ line projects with thousands of source files and it hovers around 3GB. Its gotta be his settings. Java will use as much ram as you tell it to, it uses the extra ram to collect garbage less oft
More ›