Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CHY872
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
CHY872
4y ago
Not quite - GP cites the spectre of Tesla nearly going bust to imply that Musk helped achieve the opposite (extremely healthy company) via dubious, ideally criminal means. It's not entirely based on that, but the implication is there.
92.
▲
SIMD accelerated sorting in Java – how it works and why it was 3x faster
(jbaker.io)
154 points
by
CHY872
4y ago
|
52 comments
93.
▲
Vectorized sorting in Java – down a rabbit hole to a modified JVM
(jbaker.io)
5 points
by
CHY872
4y ago
|
0 comments
94.
▲
by
CHY872
4y ago
Increasingly databases can get do-overs on bad plans. A micro-level example might be dataflow splitting particularly expensive tasks so as to better parallelize them: https://cloud.google.com/blog/products/gcp/
95.
▲
by
CHY872
4y ago
GP qualifies this as a price of _new_ cars. In the US, ~1/4 of car sales every year are new cars. New cars are primarily bought by comparatively wealthier people or fleet sales. Less well off people might occasionally buy newer cars, b
96.
▲
by
CHY872
4y ago
For any future readers, I think this is the bug: https://bugs.openjdk.java.net/browse/JDK-8281642
97.
▲
by
CHY872
4y ago
What’s the missing piece?
98.
▲
by
CHY872
4y ago
The JVM is a master of gradually closing the gap. Over the last decade: - Garbage collectors have required far less tuning; with G1, Shenandoah, ZGC it's likely that your application will need little tuning on normal sized heaps. - mod
99.
▲
by
CHY872
4y ago
Agreed. And the pluggable scheduling is still a key part of it, just doesn’t need to be a thing to get right out of the gate. I’m honestly mega excited that Loom is even a real thing that exists and that you can use.
100.
▲
by
CHY872
4y ago
This blogpost does rely on plugging in an executor. While the API was removed, it’s one private variable away (documented in footnote). As you say, it seems like it’s an ‘on the way, but later’ thing - the last Loom preview I used (a while
101.
▲
by
CHY872
4y ago
What sort of performance characteristics does Cassandra see from its implementation? I was fairly impressed with the 2.5M context switches per second (a fairly random unit, I know) I saw from virtual threads. Have you found that the approac
102.
▲
Using Java's Project Loom to build more reliable distributed systems
(jbaker.io)
205 points
by
CHY872
4y ago
|
91 comments
103.
▲
by
CHY872
5y ago
How would the bonds be paid for if not for taxes? (Genuine question. Printing money?)
104.
▲
by
CHY872
5y ago
The financing can be complex, but broadly there are a few things that enable modern American orchestras to survive. 1. Benefactors who give money to the orchestra, rent boxes, etc. 2. Popular (non classical) concerts which have a possibly l
105.
▲
by
CHY872
5y ago
There are some differences that each of the vendors adds in or removed. For example… Oracle Java does not include Shenandoah GC but all of the other distributions do. Azul Zulu Java 8 backported Java 11’s JFR while Oracle that code is behin
106.
▲
by
CHY872
5y ago
Is this the same degree of testing you apply each time you upgrade you JDK?
107.
▲
by
CHY872
6y ago
Because someone convinced them to lease or buy on finance a brand new Prius and they need to make payments? That’s where I suspect the exploitation comes in - not the actual Uber usage, but the financial decisions required to get started (e
108.
▲
by
CHY872
6y ago
It’s traditional at least with web browsers to not send the fragment to the server. Query param would work, but implies your routes don’t change much between major versions.
109.
▲
by
CHY872
6y ago
ASM is far lower level than ByteBuddy. To write some ASM code you probably want to have some proficiency with the bytecode format itself (e.g. you're typically outputting individual JVM bytecode instructions ;(invokespecial,athrow,etc)
110.
▲
by
CHY872
6y ago
It's generally possible to rewrite loaded classes. Some changes are possible (e.g. replacing a method's body), others are not (adding new methods). The state of the art library for doing this at the application layer is ByteBuddy
111.
▲
by
CHY872
7y ago
Bullet trains are sadly not maglev. They actually don't go _that_ fast (180-200MPH-ish is common), but look incredibly sleek compared to European high speed trains due to the aerodynamics of dealing with the large number of tunnels tha
112.
▲
by
CHY872
8y ago
Thanks! Yeah figured I'd be wrong somewhere in there!
113.
▲
by
CHY872
8y ago
Your processor has a certain number of execution units which can actually execute individual instructions, maybe like 4 floating point units, maybe 8 arithmetic ones, and maybe 1 that can do vector processing (these numbers are not real, bu
114.
▲
by
CHY872
9y ago
I have! We had a log shipping daemon that wasn't always releasing its file handles properly and kept taking out applications due to out of spacing the box. That said, I drastically prefer the Unix behaviour.
115.
▲
by
CHY872
10y ago
basis of your residence
116.
▲
by
CHY872
10y ago
I can see that. We found that if we added the Spotify Docker Client to our test classpath we couldn't run the application from Eclipse anymore because our Jackson object mapper had the wrong Jersey modules. This was because that packag
117.
▲
by
CHY872
10y ago
(opinion: i've spent a year writing Dropwizard based apps, but only two evenings writing Spark based apps). I think that Spark comes at the cost of customisability - 2-way SSL is a chore, you have to parse your own message bodies, you
118.
▲
by
CHY872
10y ago
Generally you would log with placeholders, like logger.debug("My logger message has placeholders {}, {}, {}", some, objects, toLog); which avoids the issue.
119.
▲
by
CHY872
10y ago
Fyi, intended usage with most Java loggers is to just call logger.debug("..."); and ignore the conditional. If `!logger.isDebugEnabled` then the logger will ignore the message, so it avoids boilerplate.
120.
▲
by
CHY872
11y ago
So, I haven't used Mongo, but here's a list of things I found to be bad about jsonb (use case was a project where we need to be able to quickly aggregate over large numbers of items with small-cardinality metadata): 1. Can't
More ›