Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wybiral
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
wybiral
7y ago
The nice thing about a statically typed language having standard golint and gofmt is that code is generally self documenting. So I wouldn't ever type that function call without seeing the function definition (in my editor or wherever e
62.
▲
by
wybiral
7y ago
On the opposite end of the spectrum, yes, as they pointed out you can just return all of the err's up the stack. I wasn't saying that Go's approach solves this, just that it's not a problem unique to Go. And in the case
63.
▲
by
wybiral
7y ago
The fact that it allows for more nesting on a single line is a bug, not a feature, IMO.
64.
▲
by
wybiral
7y ago
Language choices like lacking generics make the over-reliance on dependencies less.
65.
▲
by
wybiral
7y ago
> any code search reveals that "if err != nil { return err }" is everywhere Code searches in languages with exceptions tend to wrap the tryblocks around massive portions of code instead of the individual function calls to the p
66.
▲
by
wybiral
7y ago
That's not what I said, they were two times that the community fractured. There is fracturing with asyncio. Look at popular libraries. The "requests" library comes to mind, but there are others. It's hard to use differen
67.
▲
by
wybiral
7y ago
There were multiple reasons based on my experience. New people were still using 2.7 tutorials because there was way more information out there than for 3. And package managers in Linux systems took a long time to change. But the asyncio exa
68.
▲
by
wybiral
7y ago
> I think the Golang community is going to find itself growing more slowly as folks increasingly realize other options offer similar benefits without the bad ergonomics. Personally I enjoy writing Go code similar to the way that I enjoy
69.
▲
by
wybiral
7y ago
This hits at something fundamental about Go, which is what I like the most about it... It's a language intended to have few primitives with an emphasis on code being transparent and errors being values, requiring you to think about wha
70.
▲
by
wybiral
7y ago
It takes some getting used to, but once you do it's pretty easy to use. I have a project file I use as a template with the top right panel set as Video Sequence Editor "Image Preview", the top left for Graph Editor (for trans
71.
▲
by
wybiral
7y ago
GitHub has an interesting entry in theirs [0]. The only user that's in the Disallow section is "/ekansa". He explained it a bit on a Twitter thread [1] where I brought it up a while back and it sounds like they didn'
72.
▲
by
wybiral
7y ago
As someone who uses Linux, I've found Blender + ffmpeg to be a powerful combo. Almost all of the videos on my channel use those two. The video sequence editor in Blender is awesome for arranging tracks, audio, transitions, overlays, te
73.
▲
by
wybiral
7y ago
That argument has been made about video games long before the modern gaming industry. People were freaking out about young people playing too much pong, space invaders, tetris. Then the whole console generation... And before that the same a
74.
▲
by
wybiral
7y ago
You can apply this logic to all kinds of things though. Why waste time learning chess when you can join the military? Why type into a box on Hacker News when you can have conversations with people face-to-face? Why waste time watching any m
75.
▲
by
wybiral
7y ago
Ah, yes, the captcha arms race. I've encountered bots that can solve simple text captchas (especially bots routed through Tor) and as ML gets cheaper and more accurate I do wonder what the end result will be...
76.
▲
by
wybiral
7y ago
The recent update on the report seems to point to an Italian facility that relates to timing though: > Guenter Hein, Professor Emeritus of Excellence at the University FAF Munich told us, “As far as I know, it is a problem of the PTF [Pr
77.
▲
by
wybiral
7y ago
> Apparently, they used to have failures with the clocks That would explain if a few of them were weird, but the report said "SATELLITE AFFECTED: ALL" which would be quite a coincidence if each clock on each satellite failed at
78.
▲
by
wybiral
7y ago
There was a recent study [1] looking into the economic impact of GPS in the US which "estimate that the loss of GPS service would have a $1 billion per-day impact". Not sure how that translates to Galileo GNSS. [1] https:/&#
79.
▲
by
wybiral
7y ago
Yeah, bad regex.
80.
▲
by
wybiral
7y ago
* slides on tin foil helmet * Well, yeah, they've been trying to distract people away from the whole Area 51 thing.
81.
▲
by
wybiral
7y ago
The link seems under heavy stress right now but here's an archive of it: https://web.archive.org/web/20190713001332/https://insidegns...
82.
▲
by
wybiral
7y ago
If I ever saw a project where someone wrote a fake wrapper around an insecure function that gave the illusion that it had proper checks in place (which is what's being described here) instead of using the actual function I would be con
83.
▲
by
wybiral
7y ago
Real fun times is the fact that -on Linux machines- something like this will cause Steam to freeze and even crash certain games just by visiting the page: https://wybiral.github.io/steam-block/ Doesn't seem to aff
84.
▲
by
wybiral
7y ago
The image requests only work because of mixed-content where browsers allow a TLS page to include non-TLS assets. Those are ones outside of localhost. For localhost-only you don't get those warnings because browsers treat localhost as T
85.
▲
by
wybiral
7y ago
On what browser? Works fine with Chrome and Firefox for me. It also works in Brave Browser even when in "Tor mode" (which seems very wrong).
86.
▲
by
wybiral
7y ago
Pretty much all modern browsers allow access to localhost, even from TLS pages. They treat localhost as though it were TLS so it's not even demoted to "mixed content". And beyond that they also allow mixed content for asset r
87.
▲
by
wybiral
7y ago
It doesn't say that those particular uses are dangerous. But it says that their overall standards don't prohibit the use of potentially dangerous methods. In a non-critical application that kind of stuff is usually fine. But for c
88.
▲
by
wybiral
7y ago
It's waiting for a request to serve content over a network. Sounds like a server, just using a different network configuration than you're used to, namely WebSocket listening in a browser's JS environment instead of raw TCP l
89.
▲
by
wybiral
7y ago
I've still never seen this much downtime on these systems so it's weird to happen all at once. It's possible that they're related without requiring any conspiracy theories or anything. Maybe these companies are just gett
90.
▲
by
wybiral
7y ago
Yeah, the entire argument was "there might be some bias from the scientific approach so we should just avoid it entirely" which itself is a biased approach in the opposite direction.
More ›