Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eweise
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
301.
▲
by
eweise
4y ago
You're asking a lot if you think consumers should know what the effect of buying almonds has on the water supply. Simply charge the almond farmers more for their water, almond prices go up, consumers buy less of them.
302.
▲
by
eweise
4y ago
Yes 130 is old.
303.
▲
by
eweise
4y ago
Java deploys as a single file so would be the same as a Go binary. Container just needs the JVM included, which is trivial.
304.
▲
by
eweise
4y ago
"I fail to see how this information about "most places you work for" is relevant." I can spell it out. Where is I work is a web based business and those businesses are typically using hosted environments. Go binaries are
305.
▲
by
eweise
4y ago
I'm surprised. Latest JVM versions are tuned really well out of the box. Tuning is a good thing by the way. Its the reason Java can handle areas that Go can't.
306.
▲
by
eweise
4y ago
Maybe you are building a standalone utility in Go that can be downloaded as a single binary. Great. Most places I work at, deploy to Kubernetes as docker containers
307.
▲
by
eweise
4y ago
"No one in their right mind would ever say "well Docker/Kubernetes were developed in Go, thus that means it's a good idea to develop a totally unrelated application that bares no resemblance or shares any use case in Go
308.
▲
by
eweise
4y ago
"1) compiles to a single executable that's easy to deploy. This is a compelling advantage over Java,C#,Python,Ruby that require runtimes or complicated virtual environments." Docker makes deploying Java about the same as Go
309.
▲
by
eweise
4y ago
What's wrong with opening the door to user-defined generics?
310.
▲
by
eweise
4y ago
My only experience with gradual typing is in Dart and I was surprised that I got runtime errors around types that should have been correct. I don't follow Typescript but guessing its a wild success because it checks your types and grad
311.
▲
by
eweise
4y ago
Gradual typing sounds like the worst of all worlds. You end up having to type things so you lose the supposed implementation speed of dynamic typing. But then you also can't rely on all the types being checked.
312.
▲
by
eweise
4y ago
I'm not familiar with New York City but is Queens part of suburbia? Also, I live in suburbia and its nothing like what you are describing.
313.
▲
by
eweise
4y ago
Is this an Australia thing? I live in the US and regularly took our toddlers to the park since I was working from home. Never had a single experience like what you describe. I actually became part of the social circle at the park even thoug
314.
▲
by
eweise
4y ago
Weird. I live in California and kids including my own, roam all around the neighborhood at that age. Never heard of the police being called.
315.
▲
by
eweise
4y ago
I don't know the history, but wouldn't Kotlin be a saner approach? Better language and at least native to android.
316.
▲
by
eweise
4y ago
"people try to use 'free speech' as cover to rally for causes that marginalize, harass, and ultimately remove rights from others" Isn't that the point of the article? The ACLU used to promote free speech for Nazis.
317.
▲
by
eweise
4y ago
"Micro" is a very unfortunate part of the name.
318.
▲
by
eweise
4y ago
My point is I don't think it would be a valid contract but I think you could have inferred that.
319.
▲
by
eweise
4y ago
Still not definitely an offer since its not clear whether "no way, its $50K" is a committed offer, plus the terms should be more definite.
320.
▲
by
eweise
4y ago
Even in your scenario over email you agreed to sell to the dealer for $30K, I still don't think it would be a binding contract.
321.
▲
by
eweise
4y ago
So if I go to a car dealership and ask how much a car is, and the dealer says $30K. I say I would pay $28K. The dealer says "sure! sold!". By this logic I would be required to buy the car.
322.
▲
by
eweise
4y ago
Modern java is still pretty poor. I don't like coding in Go but it is better than Java. Peer into the abyss https://docs.oracle.com/en/java/javase/17/docs/api/java.base...
323.
▲
by
eweise
4y ago
"wo decades ago, Silicon Valley startups popularized the idea of open floor plans and on-site perks, which were soon adopted by companies all around the world. Similarly, today’s startups have embraced remote work and flexibility"
324.
▲
by
eweise
4y ago
I'll take checked exceptions over Go's multiple return values error convention any day.
325.
▲
by
eweise
4y ago
I don't think not handling errors after every single method call, makes the code dense. Its just way easier to read. 99% of the time you're just going to wrap the error in your own error and return so why not just have a single pl
326.
▲
by
eweise
4y ago
There's nothing stopping you from building bad abstractions in Go, and I find it pretty common. Here's an example: Debug(msg string, keyvals ...interface{}) The keyvals interface assumes you are passing in both a key and a value b
327.
▲
by
eweise
4y ago
Same. I use Go for work because that's what the company uses, but I can't imagine coding in it for "fun". Elm + Scala feel much better to me.
328.
▲
by
eweise
4y ago
you can do it that way but you can't add the map method to a struct like persons.map() which would allow you to chain methods. But I guess with the multiple return value convention, you can't chain anyway very nicely.
329.
▲
by
eweise
4y ago
its worse. You can't do basic things like make a map method.
330.
▲
by
eweise
4y ago
All the Java project I've been on, the convention is to always instanciate containers.
More ›