Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kod
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
kod
9y ago
More than likely they store references to images in kafka, with the actual image bytes being in a different store.
182.
▲
by
kod
9y ago
Kafka doesn't have a schema per message, messages are just bytes that you can serialize / deserialize however you want to. The article refers to using protobuf for messages, which does support adding fields. If you're equati
183.
▲
by
kod
9y ago
What wikipedia page did you look at? This has plenty of practicality https://en.m.wikipedia.org/wiki/Sum_type
184.
▲
by
kod
9y ago
The first edition is one of the few books that actually teaches how to solve problems well using programming. Absolutely worth it.
185.
▲
by
kod
9y ago
The point is with lisp you can automatically and unambiguously parse and format code regardless of whitespace. Giving that up in favor of whitespace sensitive languages has real world drawbacks, no matter how many "no true python prog
186.
▲
by
kod
9y ago
It is less likely to cause problems, because a removed curly brace won't parse correctly, and won't be hidden when someone excludes whitesoace from a diff.
187.
▲
by
kod
9y ago
Unless your language is somehow changing the behavior of existing tools like diff -w or github ?w=1, you're just making semantic distinctions.
188.
▲
by
kod
9y ago
Yeah, whitespace sensitive languages are a great idea... Until you permanently lose user data because of a pull request that contained whitespace changes. Yes, I've seen this happen in production, yes it could have been prevented in ot
189.
▲
by
kod
9y ago
Plain old java servlets are the #1 result on the json benchmark, at over half a million requests per second. The implementation is less than 40 lines, most of which is imports / comments / curly braces. I have no idea what point
190.
▲
by
kod
9y ago
The java apache commons example uses methods named escapeHtml and unescapeHtml Seems pretty sensible. How is that not support for the claim that php's method naming sucks by comparison?
191.
▲
by
kod
9y ago
Yeah but then you'd be living in Dallas instead of Austin...
192.
▲
by
kod
9y ago
> I'm sure that pure speed is not Spring best virtue, and it's not Java's either Go look at those benchmarks again. Over half of the top 10 are JVM servers.
193.
▲
by
kod
9y ago
What I wouldn't give for 5 more books of equal quality to PAIP...
194.
▲
by
kod
9y ago
What are you unhappy with in Thrift?
195.
▲
by
kod
9y ago
Tokio depends on mio.
196.
▲
by
kod
9y ago
And Jira still can't handle email in a sane fashion... I wouldn't look to Atlassian for anything regarding engineering practices.
197.
▲
by
kod
9y ago
I think you misunderestimate the spam cannon that is Packt Publishing. They'll publish pretty much anything, and seek out authors that don't necessarily know anything about the topic. They've currently got enough titles to
198.
▲
by
kod
9y ago
I have both. It's worth mentioning that, unlike a lot of technical ebooks from other publishers, the No Starch ePub version seems to be well-formatted and totally usable on a e-ink reading device (Kobo Aura One in my case).
199.
▲
by
kod
9y ago
The Linux Programming Interface by Kerrisk is probably the best book of its kind. Even better than Stevens' Advanced Programming in the Unix Environment, although obviously linux specific. https://www.nostarch.com/tlpi
200.
▲
by
kod
9y ago
No, we understand that use case. It's just usually indicative of code that can only be understood by running it. Good statically typed code can be understood by reading it.
201.
▲
by
kod
9y ago
Those numbers are accurate for the U.S. Possibly even a little low for the Facebook / Netflix / etc tier.
202.
▲
by
kod
9y ago
Probably not, at least until people stop conflating "has first class functions" with "avoids or tracks mutation".
203.
▲
by
kod
9y ago
Telling someone they lead a sheltered life isn't the same as actually answering the question. What actual systems have you worked on that were connected to a database, but couldn't send UDP?
204.
▲
by
kod
9y ago
Serious question - what platforms are you working on that you can't send a udp packet that looks like "somecounter:1|c"
205.
▲
by
kod
9y ago
That's not really accurate either. val foo: Object will always return the same reference, but the state of the referenced object may have been mutated, which isn't what I'd expect when you say "always immutable, really&q
206.
▲
by
kod
9y ago
The kafka client api moved to java because of fewer dependencies to distribute. The brokers are still a scala project.
207.
▲
by
kod
9y ago
And when you need good support for multicore, you use...?
208.
▲
by
kod
9y ago
How long can it take to learn how to make a list of things for a computer to do? Couple of days?
209.
▲
by
kod
9y ago
Downloading roms from pirate bay is not legal, regardless of whether you have the NES cart sitting in storage.
210.
▲
by
kod
9y ago
The No Starch book is just a print version of https://rust-lang.github.io/book/
More ›