Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jupp0r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
jupp0r
3y ago
Geothermal heating too.
272.
▲
by
jupp0r
3y ago
It doesn't have to be electric, thermal is fine too where appropriate.
273.
▲
by
jupp0r
3y ago
I recommend ublock Origin.
274.
▲
by
jupp0r
3y ago
I have never had that problem and have probably returned ~100 items over the years. YMMV I guess.
275.
▲
by
jupp0r
3y ago
Sure, there are plenty. Nobody is buying them.
276.
▲
by
jupp0r
3y ago
There's much more to this than you cite. There's Betriebsrat and Sozialplan etc. I'm not at all saying any of this is bad, but it does play an important role when companies make decisions about where to put their engineering
277.
▲
by
jupp0r
3y ago
The customer service is pretty amazing compared to most other stores, at least in my opinion. Returns are easy and free, and you get a replacement shipped right away but have weeks to return the item.
278.
▲
by
jupp0r
3y ago
Having worked in the EU and the US, here are some differences that I think are relevant for global employers: - The hiring pool is much smaller than in the US, one reason is probably demographics and lack of skilled immigration. This makes
279.
▲
by
jupp0r
3y ago
And yet there is very little tech immigration into Europe, comparatively. Must be the low salaries.
280.
▲
by
jupp0r
3y ago
Most H1-B visas don't go to engineering roles. Expanding those quotas wouldn't affect engineering salaries, but probably IT support roles, etc.
281.
▲
by
jupp0r
3y ago
Only if you believe you live in a zero sum world, which every serious study will show you don't.
282.
▲
by
jupp0r
3y ago
7 of the 10 most popular websites https://en.m.wikipedia.org/wiki/Programming_languages_used_i...
283.
▲
by
jupp0r
3y ago
Shrug, you have no idea what you are talking about [1]. Also nginx and passenger are webservers and claiming they are not part of your web app is a pretty wild claim when they literally send http responses to browsers (unlike memcached). [1
284.
▲
by
jupp0r
3y ago
Your assumption that humans consume this data is wrong. It's actually machines that need it.
285.
▲
by
jupp0r
3y ago
Because people know Ruby well, including use cases that it's not a good fit for. We use Go in other places, too.
286.
▲
by
jupp0r
3y ago
First implementation was in Rails because the company is a Rails shop and the monolith was the easiest place to get something that works. If you rewrite it anyway, might as well use something else than ruby. The db (mysql) is not the proble
287.
▲
by
jupp0r
3y ago
Sorry I was oversimplifying. Most of the data for the response comes from the db with some API calls for authorization and some auxiliary data. Benchmark was actually hitting the DB. Quite a bit of the 1mb response size is redundant (json-a
288.
▲
by
jupp0r
3y ago
It's a backend use case.
289.
▲
by
jupp0r
3y ago
1MB is "absurdly large"? This is not the Todo app industry sorry. This is paginated (page size of 1000) and the caller chooses only the attribute they need already, thanks. Even successful companies care whether they need to run 1
290.
▲
by
jupp0r
3y ago
The test was local, ie using the loopback interface on a large server.
291.
▲
by
jupp0r
3y ago
It's a paginated list of 1000 objects of 1kb size each. Any nontrivial API will have responses like that. My entire point was that Rails is not designed for this.
292.
▲
by
jupp0r
3y ago
Ruby the language may be fast but the whole ecosystem is painfully slow. Try writing a server that serves 1mb of json per request out of some db query and some calls to other services. I get 100 requests per second in Rails. Same service r
293.
▲
by
jupp0r
3y ago
Google, Facebook, Amazon and Twitter beg to differ (not completely C++, but for services where it makes sense). Also nginx, passenger and other parts of your Ruby app.
294.
▲
by
jupp0r
3y ago
I found it to be a generally useful rule to never "ORDER BY created" but instead "ORDER BY created,id" instead to achieve stable sorting. I recently added some indices to a few tables to speed up a complicated query with
295.
▲
by
jupp0r
3y ago
You should visit Norway sometime.
296.
▲
by
jupp0r
3y ago
You have to find a way to get to that particular statement in the code though. That can be super hard in itself.
297.
▲
by
jupp0r
3y ago
Or profile guided optimization.
298.
▲
by
jupp0r
3y ago
Let's do the math. I'm leaving out capital costs for Diablo Canyon because I'm guessing it's paid off at this point. Diablo Canyon is producing 2 GW. $6B / (5 years * 2 GW) is approximately $0.069/kWh. That so
299.
▲
by
jupp0r
3y ago
From my understanding in this implementation there is some amount of knowledge about the model itself needed to determine what parts to place in system memory vs what parts to place in GPU memory. Can this ideally be computed automatically
300.
▲
by
jupp0r
3y ago
I see your point. The question is what happened between 1995 and 2009 that lead to different choices in language design? Java?
More ›