Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eweise
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
eweise
2y ago
Looks good. Wish it was a website though.
122.
▲
by
eweise
2y ago
My personal observation is that listening is different today than it used to be. I grew up in the 70s and 80s when bands focused on making an album that you sit a listen to. Today, kids listen to songs, not albums so to me, the artists aren
123.
▲
by
eweise
3y ago
I remember it was a challenge to get the machines to accept your dollar bills.
124.
▲
by
eweise
3y ago
Reading this I didn't think I'd feel so nostalgic for those cars but the track was at the end of my street where I grew up, so I saw and heard them all the time. My parents commuted to the city on Bart and for a few years after co
125.
▲
by
eweise
3y ago
you want to at the end of the centipede?
126.
▲
by
eweise
3y ago
"your application should not be so hard to reason about that you need a stack trace to know where in the deep recesses of your code something went wrong." Curious how Go is better than other languages in this regard.
127.
▲
by
eweise
3y ago
If the plane can be taken out of the sky by a stray balloon, its a shit plane. The segment was about quality issues with Boeing. Similar to BMW. Yeah great engineering but crappy quality so IMO they are shit cars.
128.
▲
by
eweise
3y ago
John Oliver has a great segment on why Boeing planes are crap https://www.youtube.com/watch?v=Q8oCilY4szc
129.
▲
by
eweise
3y ago
You might not have to worry about that. I'm seeing people being called back into the office at least part of the time.
130.
▲
by
eweise
3y ago
yeah I get it. you're talking common sense but I'm coding in Go.
131.
▲
by
eweise
3y ago
That's not what my team of gofers decided. Apparently zero is better than nil. I know how to write code but Go is its own thing. I mean the idea of returning multiple values is totally goofy in itself.
132.
▲
by
eweise
3y ago
I also need to forward it to nonroutines because there is a logger in the context and almost every function wants to use the logger. So essentially, we have to almost alway pass context as the first argument to any function unless its some
133.
▲
by
eweise
3y ago
if I need to return some person,error how do I return junk for the person? I just return person{}, error. I guess I could fill person out with a bunch of silly values but why would I do that work? If there was some easier way to make a pers
134.
▲
by
eweise
3y ago
I usually return zero values just because its easy, not because its useful. I don't expect the caller to use the return value if err !=nil and haven't heard anything to the contrary on my team. If Go were a more powerful language,
135.
▲
by
eweise
3y ago
Believe me I've tried to write Go code that doesn't follow the Go conventions and can't get my PRs approved even with tiny differences. So the idea that I could separate these two concerns might be a good one, but in practice
136.
▲
by
eweise
3y ago
The context is just a big bag of stuff. you don't know what's really in it. Ends up almost any method that needs something from the big bag ends up having a context parameter, but you don't know why that method needs it.
137.
▲
by
eweise
3y ago
Not familiar with its deployment strategy. I assumed it could built into a binary but maybe not.
138.
▲
by
eweise
3y ago
The language is free to use.
139.
▲
by
eweise
3y ago
Thanks. That makes sense. I don't have that pattern in my code but I can see that some might.
140.
▲
by
eweise
3y ago
I have two cars, an outback and a golf. Yes we do have two teenage drivers which of course is expensive, but they've had no accidents or tickets. We drive maybe 20K miles per year all together.
141.
▲
by
eweise
3y ago
Curious when you need to know when null is intentional or not. There's no corresponding type like that in the db.
142.
▲
by
eweise
3y ago
I live in California and my latest insurance quote was $7k for the year for a family of four, with no accidents or tickets. If this is cheap I'd hate to know what expensive is.
143.
▲
by
eweise
3y ago
No need to get defensive about Java. I developed with it for over 20 years. But personally, I left it because I find it too painful to code in. Every once in a while I try the latest version and it continues to disappoint, records are a goo
144.
▲
by
eweise
3y ago
Oh yes, 18 years. Guess that's not enough time. And yes, Scala's relevance is waining but not sure what that has to do with this topic. Kotlin also has a copy method if you need an example of a language doing well.
145.
▲
by
eweise
3y ago
Why wasn't this included in the initial records implementation? I tried records and quickly gave up after realizing there was no copy method. There's plenty of prior art. Scala has had this for twenty years. Java needs to stop shi
146.
▲
by
eweise
3y ago
From what I've seen in my time in Italy, Italians pour water in, add pre ground beans and heat on the stove. Never seen them worry about the details.
147.
▲
by
eweise
3y ago
After going through a bunch of toasters, I bought a Dualit and so far it been holding up. Hated to pay so much for a toaster though.
148.
▲
by
eweise
3y ago
Don't get me started on toasters.
149.
▲
by
eweise
3y ago
Cloudflare is off my list of potential employers.
150.
▲
by
eweise
3y ago
Bought it with work money but would be unhappy spending $38 of my own since its pretty short and a lot is common sense. Some good nuggets of info in there though.
More ›