Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danielparks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
danielparks
7y ago
Has anybody seen an introduction to regexes that starts with finite automata? I was introduced to them that way and it seemed very intuitive to me. I’m not sure if I just have a head for regular expressions, or if the way they were presente
32.
▲
by
danielparks
7y ago
> Tooling/Perf/etc is not needed when running (do you really want to debug in production) but tooling can be used in the process of development. I don’t follow. Are you saying that development should build normal user space bin
33.
▲
by
danielparks
7y ago
https://go.googlesource.com/gollvm/
34.
▲
by
danielparks
7y ago
Definitely true. Mostly I just avoid using defer with Close, but I sometimes end up writing terrible stuff like: defer func() { err2 := f.Close() if err == nil { err = err2 } }() Not perfect,
35.
▲
by
danielparks
7y ago
> Go doesn't even really force you to check your errors, it just makes it harder to accidentally not check them. Quite the opposite. You have to explicitly ignore exceptions, whereas it’s easy to accidentally miss an error in Go. Fo
36.
▲
by
danielparks
7y ago
> Literally the first non-trivial code I wrote in go… I knew exactly where and how things could fail and where things were failing just by looking at the code. Could you give an example? I think you’re talking about something different t
37.
▲
by
danielparks
7y ago
Context. It is normal to post an anecdote related to the link. It is weird to post a message like this to a public mailing list out of nowhere, i.e. without related context. (I have not actually checked if the message was out of the blue.)
38.
▲
by
danielparks
7y ago
The number one reason is that BBEdit’s search and replace is better. I can select text, make it the search pattern, then modify the text and make it the replace pattern. Then I can do a full or partial search and replace without ever openin
39.
▲
by
danielparks
7y ago
A few of us are still bitter about Word 6 being a port, unlike 5.1. https://winworldpc.com/product/microsoft-word/5x-mac I should probably give that up. It was almost 30 years ago.
40.
▲
by
danielparks
7y ago
Exactly. I tried it for a few weeks and couldn’t stand it. There’s just too much non-Mac UI for a tool that honestly isn’t that powerful. For example, the search and replace is truly awful. I use BBEdit because it’s both consistent and powe
41.
▲
by
danielparks
7y ago
This issue is that we can draw a causal line back to a single event, e.g. the hack. Their definition (presumably the original definition) of the butterfly effect requires that it be untraceable. If you make a tiny change to initial conditio
42.
▲
by
danielparks
7y ago
Hmm… servers on localhost could be required to have CORS headers. That also makes it much harder to extract interesting information from non-HTTP servers running on localhost.
43.
▲
by
danielparks
7y ago
Ah, gotcha.
44.
▲
by
danielparks
7y ago
Simply disallowing access to private network space is a non-starter, since it’s used so frequently. For example, a typical use case is that an office has a private IP space, e.g. 10.0.0.0/8, and various external services will link into
45.
▲
by
danielparks
7y ago
What do you mean about the “zoom case?” Zoom did control the localhost server, and setting a CORS header would have helped mitigate the attack.
46.
▲
by
danielparks
7y ago
I find this hard to believe. Netflix is going to avoid certain titles because they aren’t going to look perfect?
47.
▲
by
danielparks
7y ago
He’s joking.
48.
▲
by
danielparks
7y ago
The convention is that capital T is tablespoons and lowercase t is teaspoons.
49.
▲
by
danielparks
7y ago
Ah, thanks. That makes sense.
50.
▲
by
danielparks
7y ago
Can you point us to some documentation? I’m having trouble seeing how this would work absent a huge vulnerability in TLS.
51.
▲
by
danielparks
7y ago
I’m having trouble finding good examples of confetti or fireworks on Netflix. I’ve noticed fewer problems as time goes on, but anecdata and all that. Different encoders and standards will have different problematic scenarios. It seems like
52.
▲
by
danielparks
7y ago
How you encode something goes beyond the standard. You can encode the same source at the same bitrate and with the same standard in different ways. For example, there were noticeable quality differences between MP3 coders.
53.
▲
by
danielparks
7y ago
I see. That seems to be mostly solved with high speed links and better encoding technology.
54.
▲
by
danielparks
7y ago
How does that work?
55.
▲
by
danielparks
7y ago
I missed something. What do you mean?
56.
▲
by
danielparks
7y ago
Perl supports this. Optionally, on a per-file basis. Because it’s Perl. https://perldoc.perl.org/perlvar.html#%24%5b
57.
▲
by
danielparks
7y ago
That’s true, but I don’t think we're anywhere near there yet. Especially when it comes to the mainstream — most people outside of tech don’t have any idea this is a problem. (FWIW, I don’t seem to have this problem in a significant way
58.
▲
by
danielparks
7y ago
So it’s a pain to back up large databases. …
59.
▲
by
danielparks
8y ago
I suspect the boot camp thing is signaling. We don't quite know what to expect from boot camps yet. I'm a high school drop out with no diploma. It's never come up during any hiring process in the 17 years I've been doing
60.
▲
by
danielparks
8y ago
> Hmm, maybe this is part of the benefit of the whole micro-service trend? I think micro-services can actually make this worse. The issue is that the early coders write macros and other tooling that makes it harder for future coders to u
More ›