Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcdavis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
jcdavis
10y ago
While not wrong, you are looking at them in a vacuum, which isn't really appropriate for much of this crowd. If you have a 401k at work, contributions for IRAs start phasing out at lower income than Roth IRAs (In fact Roth IRAs have no
122.
▲
How the JVM compares strings on x86
(jcdav.is)
142 points
by
jcdavis
10y ago
|
60 comments
123.
▲
by
jcdavis
10y ago
As always, the US is a little behind the times on this too - most credit cards here don't have contactless yet. (I have one that does but its a rarity)
124.
▲
by
jcdavis
10y ago
Reinvesting it all.
125.
▲
by
jcdavis
10y ago
Standard trolling-but-not-entirely answer, I'll probably get $8-10k worth of dividends this year from investing and holding in a bunch of low-cost index funds.
126.
▲
by
jcdavis
10y ago
The header is only 12 bytes with compressedOops (which most people use), but the long is aligned on an 8 byte boundary so the advantage is wasted here.
127.
▲
Allocation on the JVM: Down the rabbit hole
(jcdav.is)
93 points
by
jcdavis
10y ago
|
6 comments
128.
▲
Monitoring and Tuning the Linux Networking Stack: Receiving Data
(blog.packagecloud.io)
14 points
by
jcdavis
10y ago
|
0 comments
129.
▲
Close Encounters of the Java Memory Model Kind
(shipilev.net)
2 points
by
jcdavis
10y ago
|
0 comments
130.
▲
by
jcdavis
10y ago
-XX:+OptimizeStringConcat is enabled by default everywhere I can remember, AFAIK
131.
▲
by
jcdavis
10y ago
Huge, like several times faster (3x when I benchmarked IIRC). I'm a little surprised the author didn't mention it anywhere - it might account for some of the differences he saw. However with a normal JVM the only way to know if it
132.
▲
by
jcdavis
10y ago
I know someone (US citizen) who did this exact thing for a work trip to Vancouver and was denied because he got himself into a trap trying to explain what he would be doing. Honesty might get you in trouble, but thats still probably a bette
133.
▲
by
jcdavis
10y ago
String is one that has changed pretty significantly - count and offset have been removed, only fields are hash and value now. This means String.substring is no longer an O(1) method, but it saves 8 bytes per string which is huge, and also a
134.
▲
by
jcdavis
10y ago
Only on 32 bit IIRC, headers are 12 byte on 64 bit with CompressedOops (the default for heaps <32gb) and 16 bytes without. The bit layout of the markoop is here: http://hg.openjdk.java.net/jdk8/jdk8/hotspot/
135.
▲
by
jcdavis
10y ago
A lot of big tech companies also use Yahoo chat. Salesforce did as late as 2012 when I left, with 1k+ people in the eng org. (No idea if they still do). Seemed crazy at the same, still does now too
136.
▲
by
jcdavis
10y ago
What is the room for appeals here? This is a massive ruling, heres to hoping it stands
137.
▲
by
jcdavis
10y ago
Ditto. The cartoony feel doesn't really fit what I would expect from a CIV title, hopefully that will change. The gameplay changes themselves seem very promising, though
138.
▲
by
jcdavis
10y ago
> Isn't there a danger that if not enough people actively manage their money, the market won't 'correctly' set prices? If this stuff interests you, I recommend reading the previous post ( http://www.philosop
139.
▲
by
jcdavis
10y ago
But they don't "give it" to Wall Street, people actually pay for it, which is the big difference. All the use of the non-GAAP numbers is an attempt to skirt around this fact
140.
▲
by
jcdavis
11y ago
The 500e is pretty cheap in California due to federal and state income tax credits and the oddities of the CARB emission credit systems. Their website lists the starting price in CA accounting for all the incentives as ~$18k, and there have
141.
▲
by
jcdavis
11y ago
That was Elon's estimate - they haven't released any details on what any of the options/configurations will look like, just the base price of $35k.
142.
▲
by
jcdavis
11y ago
I feel bad for saying this so soon after her death, but from what I've heard she was a pretty heavy smoker. Watch your health, folks
143.
▲
by
jcdavis
11y ago
> It's sad to see companies that are providing real, important products getting hammered for not meeting potentially impossible expectations They signed on to those expectations when they took those sky high valuation investments. T
144.
▲
by
jcdavis
11y ago
Almost all Java dev is done via full-featured IDEs which support advanced searching/finding, so simple file stucture isn't really considered a big priority. Additionally, here they seem to have structured thing as a bunch of small
145.
▲
by
jcdavis
11y ago
I believe it was Freakonomics had a section that covered this - When real estate agents themselves sell their own houses, they stay on the market longer than average.
146.
▲
by
jcdavis
11y ago
I think the bigger concern (as far as employees are concerned) in this particular case is that the board turned down multiple more lucrative acquisition offers. In addition to all the other issues mentioned here, the preferred/common s
147.
▲
by
jcdavis
11y ago
The "underclass" likely already don't gain any benefits because they almost certainly take the standard deduction instead of itemizing.
148.
▲
Virtually free – JVM callsite optimization by example
(jcdav.is)
4 points
by
jcdavis
11y ago
|
0 comments
149.
▲
by
jcdavis
11y ago
Minimum is only at the front of the entire structure, not each heap. Thats because the first element is a heap of size 1. From what I understand, the correct layout would be something like 0 4 2 3 1 Max heap of size 1 containing the
150.
▲
by
jcdavis
11y ago
> It's a disservice to them, the rest of the students, and the university's reputation. Not that I necessarily disagree with you but for lots of big public schools the reality is that reputation of football/basketball team
More ›