Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
denormalfloat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
denormalfloat
7y ago
It's more surprising because javac is itself written in Java. It's definitely up to the task (even if it's targeting x86 instead).
32.
▲
by
denormalfloat
7y ago
There is a reason mocking is not supported: It's incredibly error prone. The previous version of gRPC (Stubby) did actually support mocking of the stub/service interfaces. The issue is that people mock out responses that don&#x
33.
▲
by
denormalfloat
7y ago
Is the JSON parser implemented natively, or in JS? It may not be apples-to-apples.
34.
▲
by
denormalfloat
7y ago
Have you looked at gRPC-Web?
35.
▲
by
denormalfloat
7y ago
> There are no generated language interfaces, so you cannot mock the methods. For Java that isn't true. Java ships with a lightweight InProcess server to stub out the responses to your client. > Load balancing is done by maintai
36.
▲
by
denormalfloat
7y ago
Whole program optimization is good if your inputs never change, and you have a infrastructure to benchmark your build and recompile with profiling on each release. JITs do this automatically. A team at work had this release process. 1. C
37.
▲
by
denormalfloat
8y ago
Invest in an S&P 500 ETF. This is probably the lowest effort side project you can have which still makes money. Also, if you learn about the stock market, it makes you more confident in how your savings looks, how your retirement will
38.
▲
by
denormalfloat
8y ago
How could that be inhumane? The worker and the payer agree ahead of time how much is to be paid and what goods and services are delivered. Both parties have to agree, or else one will walk away. You say it's inhumane because one par
39.
▲
by
denormalfloat
8y ago
Calling drivers morons is not helpful. Realistically, there is no way for me to make money between now and the 2 hours before bedtime. Lyft (and Uber) provide a way for me to work that extra few hours if I want to, which I previously cou
40.
▲
by
denormalfloat
8y ago
There's a non-trivial chance there will only be two jobs: employee and robot. Waymo and Uber are definitely betting on this model.
41.
▲
by
denormalfloat
8y ago
As a rider, I am going to pick the cheapest ride. If Lyft pays their drivers less, it's because I pay Lyft less. If society as a whole picks Lyft, then it's society as a whole paying Lyft drivers less. I view Lyft more as a mar
42.
▲
by
denormalfloat
8y ago
How much help did he earn? How much does he deserve? The money a driver gets paid is the help. There is a market for non-fulltime jobs that would not exist at all if it was forced to be full time. Forcing Lyft to hire employees instea
43.
▲
by
denormalfloat
8y ago
> Data layout optimizations are a really neglected part of compiler engineering. From what I understand this is mostly impossible in other popular languages because the compiler just puts fields of your structs in the order you wrote it
44.
▲
by
denormalfloat
8y ago
Glad to see syscall/js is still seeing updates. This seems like a excellent chance to share server and client code by being able to cross compile to wasm. Go team: please reduce the binary size of wasm files!
45.
▲
by
denormalfloat
8y ago
I am a middle aged dev, and I expect to become you. I expect that my skills will become less valuable over time, and that my age will limit my possibilities. To me, this isn't such a bad thing; it's something to prepare for. (
46.
▲
by
denormalfloat
8y ago
Ok, what do you want to replace it with? You can't complain about the existing system without offering an alternative. Saying the existing system sucks doesn't help move the Internet towards something better.
47.
▲
by
denormalfloat
8y ago
Websockets (the protocol) are mostly defunct in comparison to HTTP/2 and QUIC. Porting websocket based code should mean converting it to HTTP{2,3}. The main reason that's not possible today is due to large existing library suppo
48.
▲
by
denormalfloat
8y ago
..Or they could have interests more aligned. I would like to see more companies pay in stock rather than cash. That would mean sharing in company profits, and having a vote in company policies. If companies didn't pay dividends or
49.
▲
by
denormalfloat
8y ago
There is a semi-consensus that Proto3 was created to be compatible as Go basic types. Making Go types from Protos, or Proto types from Go is what is being entertained as modern.
50.
▲
by
denormalfloat
8y ago
One other minor perk of working fewer hours is lower taxes. The first hour you work in a week is taxed much lower than the last hour you work. (In countries with progressive tax systems.)
51.
▲
by
denormalfloat
8y ago
Please also fix the back button on the PDF reader built into Chrome; pressing the back button on my mouse seems to go nowhere.
52.
▲
by
denormalfloat
8y ago
Small piece of history: I used to work on Analytics and they would give out swag. One piece was a T-shirt with the entire tracking snippet on it. It was a great conversation starter. Sad to see that Tag Manager and the currently tracking
53.
▲
by
denormalfloat
8y ago
Matchers may not know what needs their help the most. If you were a wealthy person and wanted to donate, but weren't sure what a good cause was, you could match what other people donate. Person A and B could come to you, and ask you
54.
▲
by
denormalfloat
8y ago
The paradox is resolved if you consider yourself an advertiser. When you pay for "ad free", it's equivalent to bidding on yourself and then showing yourself nothing. A serious bidder could bid higher than you on your own s
55.
▲
by
denormalfloat
8y ago
While this is true, a lot of software is not prepared to have connections change IP address. Lot's of networking software works on the idea of a loop which assigns each connection (5-tuple) to a thread. If QUIC were to be more widely
56.
▲
by
denormalfloat
8y ago
Yes, I implemented a karma system on my website, where users could give karma from one person to another. It involved a bunch of things, like creating notifications, persisting the transaction to a table, etc. Doing it with REST involves
57.
▲
by
denormalfloat
8y ago
> But HTTP is so... widely used, while RPC frameworks are a) a dime a dozen, b) none so widely used that you can find reverse proxies for them. The beauty of gRPC is that it is HTTP. All proxies that support HTTP/2 implicitly supp
58.
▲
by
denormalfloat
8y ago
> Imagine an HTTP/1.1 verb named TRANSACT Why not just use RPC at that point? If one of the concatenated messages has a failure, REST can only report back an error code for one of them. Also, the client can't really stop send
59.
▲
by
denormalfloat
8y ago
Isn't competition good for consumers though? Eventually, one of these network architectures will become more popular and we don't have to try them all out personally ourselves. I benefit greatly from people in the 90s testing o
60.
▲
by
denormalfloat
8y ago
REST is a good fit if the operations you want to do are CRUD, or if the data model you have is hierarchical. This is for most people, but it breaks down when there involve multiple steps. A bank transaction is a good example, because it
More ›