Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kag0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
kag0
6y ago
Given the trick they use to prevent you from using the browser back button, I was expecting it to comment "subject is trying to escape!"
62.
▲
by
kag0
6y ago
It's a compiler level thing, not runtime. ie. Scala has tail call optimization but Java doesn't, but they both run on the same JVM.
63.
▲
by
kag0
6y ago
Your credit card runs Java, that's a fun one
64.
▲
by
kag0
6y ago
I don't have experience with managing large amounts of data with actors. But I can say from the actor experience I do have that you can't think about it in the mindset of "how can I replace my relational database with actors&
65.
▲
by
kag0
6y ago
Kotlin is like Scala (more ergonomic and with immutable collections in the standard library), but without implicits and with Java's weaker type system. It also has more compilation targets than Java (js, llvm, jvm). Java is already tak
66.
▲
by
kag0
6y ago
Author here, I've been working on updating documentation for my open source libraries to use embedded snippets from tests. That way I know that the documentation is up to date if tests pass. I made this to improve on an existing servic
67.
▲
by
kag0
6y ago
Maybe. But a more clever approach might be to limit the size of the HSTS cache per second-level-domin per orign. Or to randomly respect the cache. Or to simply make every request to both the TLS and non-TLS port but do so in parallel and di
68.
▲
by
kag0
6y ago
This is related to my main question about this. What if browsers just... don't implement this? What makes Google think that Apple or Mozilla are going to add this to their browsers?
69.
▲
by
kag0
6y ago
As a backend engineer who has worked on frontend recently, yes, that's how they do things. There is some hope though, recent standards like web components and ES imports help a bit.
70.
▲
by
kag0
6y ago
You could. That's how something like CHAP works. You'd actually end up hashing it twice. Once using the salt to go from plaintext to what the sever has stored and then again using the challenge. It has problems though. The strengt
71.
▲
by
kag0
6y ago
I thought the same. After how consistent Scala's syntax is, it's hard to adjust to what Rust has done here. In Scala val hello : String = "hello" // eagerly evaluated once def hello : String = "hello
72.
▲
by
kag0
6y ago
counterpoint: you can implement RPC using queues. queues are just one more tool in the toolbox. it's not the screwdriver's fault if it's used to hammer nails.
73.
▲
by
kag0
6y ago
> Basically you've probably just created another database I think that's a fair assessment of persistent queues, using "database" in the most general sense. > Worse, that database may be different to your other dat
74.
▲
by
kag0
6y ago
For example, in a near-real-time application it may be better to fail than to have overly delayed message delivery. If a queue becomes too large then we get the idea that messages are not being consumed fast enough (in near-real-time). In t
75.
▲
by
kag0
6y ago
I agree in general, but is this really true? > the legacy chip makers have a business model that doesn't work It seems like this implicitly assumes that everyone switching to Apple silicon is a possibility. But it doesn't seem
76.
▲
by
kag0
6y ago
What does everyone think about programming fonts with script italics (dank and victor mono)? I've come to like them when italics are restricted to keywords. I've found that it makes it much faster to recognize the structure of the
77.
▲
by
kag0
6y ago
Interestingly, the scala language previously supported either => or ⇒ and deprecated the Unicode character in favor of instructing developers to use ligatures for that aesthetic effect. Pre-deprecation, there were formatters which would
78.
▲
by
kag0
6y ago
Oddly this site doesn't show the italic variants of fonts, unlike https://www.programmingfonts.org which was on the front page some time ago iirc.
79.
▲
by
kag0
6y ago
The assertion is that compilation might be faster since there are fewer optimizations, and therefore runtime would be slower.
80.
▲
by
kag0
6y ago
> how much business efficiency could be gained by taking advantage of the fact that we all know the products our businesses are buying are oversold? Not much tbh. Our only other option is to not buy, and build in-house instead. Sometimes
81.
▲
by
kag0
6y ago
I think you're missing half of the point. It's a _review_ site for durable products. Presumably the reviews will tell you if it is good.
82.
▲
by
kag0
6y ago
I'm happy about it. For me, one shortcoming of gitter is that it has always been tertiary in my pool of chat services. The more tertiary services are accessible through matrix the better, that way I'm less likely to miss notificat
83.
▲
by
kag0
6y ago
The very visible branding is because a) they work very closely with the products that get to use goretex, and they guarantee those products. So if I buy a Marmot rain jacket with goretex and I have a problem with it, I can go to goretex and
84.
▲
by
kag0
6y ago
The car was speeding before it hit the woman, and the driver was most probably watching TV before/as it happened. I can see how this would be bad press for self-driving cars, but this really seems like the error is on the driver. Maybe
85.
▲
by
kag0
6y ago
I meant the thinking that tries to minimize cost and aims for "how much they have to pay you before you decide to quit".
86.
▲
by
kag0
6y ago
> going to really suck for the people who have gotten used to earning $200K entry level in San Francisco at first, yes, but wouldn't CoL eventually come down if everyone were earning a nationally based income?
87.
▲
by
kag0
6y ago
There's a name for that kind of thinking, but I can't recall what it is. Essentially you're minimizing cost by paying the lowest possible local rate, but isn't it just as valid for someone else to maximize quality by pay
88.
▲
by
kag0
6y ago
Can someone explain the rationale behind geographically based pay in remote-first companies? I don't necessarily disagree with it, but I don't know what aspects of the issue companies are actually looking at to decide that geo-bas
89.
▲
by
kag0
6y ago
the problem with that (and security through obscurity in general) is that if your opponent attacks at random, they still have a chance of getting you. having lived in a bad neighborhood I can tell you that you don't have to flash money
90.
▲
by
kag0
6y ago
> there is no such thing as truly random number generation on contemporary computers well that's just not true. there's no shortage of noise we can sample to get true random numbers. we just often stretch the random numbers for
More ›