Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teeray
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
511.
▲
by
teeray
2y ago
This is what AGI probably would be. It could help you, or it could be as arbitrary and capricious as a teenager. It could lie to you, or tell you to go fly a kite. Companies don’t really want true AGI, they want a docile corporate drone tha
512.
▲
by
teeray
2y ago
Simply wrap with what you were trying to do when the error occurred (and only that, no speculating what the error could be or indicate). If you do this down the call stack, you end up with a progressive chain of detail with strings you can
513.
▲
by
teeray
2y ago
> You are never forced to check errors… There are linters that do, and I am of the opinion they should be added to `go vet`. > Knowing the operation can be faulty somehow is a good way of putting it, because in most cases it's di
514.
▲
by
teeray
2y ago
I feel like error handling in Go is divided between people who have been using the language for a long time, and those who are new to it. If you're used to exceptions, and languages with some kind of '?' operator, typing `if
515.
▲
by
teeray
2y ago
> if you recall it came with a lot of "We have no idea why you need this" from Pike and friends The blog post and design document both authored by Rob Pike at the time[0] contains none of that sentiment. The closest approach co
516.
▲
by
teeray
2y ago
Given Go’s approach to “metaprogramming” has long relied on tools written in Go, this does seem like a feature gap that needed closing. Even the introduction of `go generate` long ago formalized this approach, but still left installing the
517.
▲
by
teeray
2y ago
Just wait until Premium has “a very brief ad”
518.
▲
by
teeray
2y ago
We need some kind of fail2ban for AI scrapers. Fingerprint them, then share the fingerprint databases via torrent or something.
519.
▲
by
teeray
2y ago
> 1) It’s now possible to run a wide range of tests on an application very quickly through its public interface, enabling a broader scope of testing without excessive time or resource constraints. > 2) Improved test frameworks have br
520.
▲
by
teeray
2y ago
Came here to suggest groups.io as a mailing list. I use it for my HOA--we need timely notifications (trash pickup delays, parking bans, etc.) and a lot of folks don't have (or want) Facebook. It has solid moderation tools, apps if you
521.
▲
by
teeray
2y ago
The queen bee is a formidable final boss with a bad-ass origin story.
522.
▲
by
teeray
2y ago
Can we please CRISPR ticks out of existence?
523.
▲
by
teeray
2y ago
> Would you want to hold collateral that has a high risk of becoming worthless? Of course not, the problem is that all parties were a-okay with the purchase in the first place, and the banks are trying to change the terms when they reali
524.
▲
by
teeray
2y ago
The problem is that in American home-buying, insurance is often compulsory for a purchase with a mortgage. This makes sense from the bank's perspective--they want to insure their collateral. However, the system doesn't really have
525.
▲
by
teeray
2y ago
> Education? You probably mean repeating exercises in rote? You likely mean memorisation? That’s not education. There’s so many classes that I want a refund on my wasted childhood time. Reading the “classics” in English, studying foreign
526.
▲
by
teeray
2y ago
>FB Marketplace is definitely the best way to buy and sell anything locally I really wish they had some kind of auction component to deal with multiple interested parties / reduce flakers, but I imagine eBay has some crappy software
527.
▲
by
teeray
2y ago
It is not “by that logic,” since the comment specifically referenced “this data”, meaning inertial and positional telemetry collected by insurers from apps like Gas Buddy, as the article references. Introducing external speed cameras is a s
528.
▲
by
teeray
2y ago
We all do. However, the false premise here is that this data is able to reliably classify drivers into "safe" and "unsafe". If you brake hard, you might save a pedestrian's life. If you don't brake at all, you
529.
▲
by
teeray
2y ago
Is this the same basic idea as those 20 Questions toys? Except, I imagine, that they pre-train the “model” and load it with the 2^20 leaf nodes?
530.
▲
by
teeray
2y ago
If it’s intended to be private, you can always encrypt, then torrent. You can probably be more tight-fisted about who gets to decrypt.
531.
▲
by
teeray
2y ago
I see this often on our codebase. It was mostly written by ex-C# developers who were new to writing Go, and there’s many ham-handed C#-isms in there. At some point, someone took a guess at how something should be, then subsequent changes we
532.
▲
by
teeray
2y ago
Every time this comes up, someone comes in telling us how adaptive headlights will save the day now that they’re finally approved. Here’s the issue: this problem exists today, and stuffing ever more computers in newer cars is not going to f
533.
▲
by
teeray
2y ago
> the company has NO ONE's interests at heart Except for shareholder value
534.
▲
by
teeray
2y ago
I’ve always treated my first days on any job as “my job is to make the (inevitably outdated) onboarding docs as good as possible.” That way you can contribute from day one, and you hopefully lower the rope ladder some for the next new hire.
535.
▲
by
teeray
2y ago
> have been de facto expelled at the end of this quarter. Unless, that is, I agree to work on a comparable solution for the university Not a lawyer, but this is outrageous and feels like a breach of the university-student contract. Point
536.
▲
by
teeray
2y ago
For stuff like this, the best thing is to have a style guide. If you disagree with something in the style guide (tabs/spaces, casing, etc.), you make a PR to the style guide and hash it out there. Also, those PRs need updates everywher
537.
▲
by
teeray
2y ago
You can tell them to write their password on a piece of paper in their drawer. Seriously. Many home users are pretty good about protecting important scraps of paper. The government gives us plenty to hold onto. Even if they’re a grandma tha
538.
▲
by
teeray
2y ago
> Just look at for example Elon Musk and imagine if there were no need for physical pregnancy which i think is the major limiting factor here. Time could be the great equalizer here. Spending time with your children is pretty universally
539.
▲
by
teeray
2y ago
> What happens to the inevitable baby who's parent's die before they can be decanted? This is already a problem for children of single mothers who die during childbirth. I’m not saying we have a solution to that problem (we are
540.
▲
by
teeray
2y ago
It blows my mind to think we can finally run Flash on iOS—all it took was the complete destruction of Flash.
More ›