Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
afc
2y ago
I absolutely intend to expand the scope to include other designs. I happen to be knitting a double-knitting blanket right now, my first double-knitted project, haha. I was actually thinking yesterday that it would be super neat if we could
62.
▲
by
afc
2y ago
Would love to hear if it works for her, or if she has any feedback.
63.
▲
Show HN: Browser-based knitting (pattern) software
(github.com)
135 points
by
afc
2y ago
|
29 comments
64.
▲
by
afc
2y ago
Not very surprising. He had already been arrested, back in 2002, for selling illegal stuff on eBay. He was somewhat of an attacker of Bitcoin, promoting his "bcash" fork.
65.
▲
by
afc
2y ago
This comment reminded me of famous quote: "When someone says "I want a programming language in which I need only say what I wish done," give him a lollipop."
66.
▲
by
afc
2y ago
I though this was the case, but Googlers will receive Dividend Equivalent Units on unvested GSUs on each dividend payment date.
67.
▲
by
afc
3y ago
Not McLaren, but here's an example of a car manufacturer synthetically aging their new cars: https://www.roadandtrack.com/new-cars/a29838406/2021-ford-mu... "Oops, the modern engines aren't as loud,
68.
▲
by
afc
3y ago
But why would the entire behind this submit all their attacks through the same single identity? Removing all this code could just be removing 1% of their harmful code. How do you deal with the rest? How do you discover the other identities?
69.
▲
by
afc
3y ago
> The bitcoin price has crashed by over 10% since this time last week Uh, yeah, back to the price of ~2 weeks ago, or just up 23% in the last month... https://youtu.be/XbZ8zDpX2Mg?si=gSs3vJnYUNrcQVr6
70.
▲
by
afc
3y ago
Because the point is to have a Si unit of event rate (becquerel), not of time. Otherwise, if micro-fortnight (about a second), why not ... second?
71.
▲
by
afc
3y ago
Yeah, good point. You want to at the very least be able to show the user on which line his cursor is, and that already requires reading all the contents from the start up to the cursor. You might as well read the entire file and also show
72.
▲
by
afc
3y ago
I'm not the person you directly replied to, but I've worked on my text editor since 2014 and used it exclusively since ~2015. It's been a lot of fun!
73.
▲
by
afc
3y ago
Thank you for your response. You ask a good question. I expect very long lines should work just fine, but I'll give it a try when I have a chance. I represent lines using a virtual class that has a few implementations. IIRC, the line w
74.
▲
by
afc
3y ago
In my text editor ( https://github.com/alefore/edge ) I use a balanced binary tree containing small chunks (std::vector) of contiguous lines. That works well enough for me: https://asciinema.org/a/31
75.
▲
by
afc
3y ago
This resonates strongly with me. I've been working on my side project (which afaik I'm the only user of ... a text editor implemented in 65.2k C++ lines) for 9 years and ... yeah, it feels like I'm playing a game. Maybe it&#x
76.
▲
by
afc
3y ago
> Something I have wanted to create for a long time (definitely more than 5 years) is a new modal editor. I don't want yet another vi clone: I want something that is defined from the ground up by user configuration. This is more or
77.
▲
by
afc
3y ago
This resonates with me. I use undo/redo up to a point, but eventually I just reload the file (which I'm saving frequently) or just check it out (from git, mercurial) again.
78.
▲
by
afc
3y ago
In my text editor ( https://github.com/alefore/edge ) I keep the undo/redo history always linear, which I find works pretty well. So suppose the user does the following operations: • Insert "Hello" • Inser
79.
▲
by
afc
3y ago
And when he manages to show that smart pointers can be misused and lead to obscure crashes, what's his solution? Just use raw pointers. Those can't be misused ... right?
80.
▲
by
afc
3y ago
Do you know of any Linux terminal (eg. xterm, gnome-terminal, etc.) that would support multiple fonts? I'm intrigued, shouldn't be very hard to add support to command-line programs (once terminals supported it).
81.
▲
by
afc
3y ago
How about many readers and zero writers? :) For my text editor, I went with an immutable balanced tree. I was surprised by how easily I was about to implement all operations I needed with reasonable runtime complexity (log N mostly, opera
82.
▲
by
afc
3y ago
> If you are ever looking for someone to aspire to as a software engineer, you should aspire to be like Luiz. This a million times. I only interacted with Luiz a few times. They were eye-opening. He was so bright and, at the same time, s
83.
▲
by
afc
3y ago
Reminded me of a short and simple story I wrote long ago: http://alejo-stories.blogspot.com/2015/12/two-apes-and-one-a... I hope this little bit of self-promotion is okay, the story certainly seems fairly relevant
84.
▲
by
afc
3y ago
Why disqualify languages (like Python) simply because they execute type checks dynamically? You could as well try to find programs in these languages that crash (without containing any issues that the language's dynamic type system det
85.
▲
by
afc
4y ago
I also use this pattern: https://github.com/alefore/edge/blob/master/src/concurrent/p... I added an optional template Validator parameter that can be used to double-check invariants on the prot
86.
▲
by
afc
4y ago
Ahhh, yes, you have your preference, so you support regulations limiting the freedom of those like me who have a different one, rather than allowing the market to serve both segments.
87.
▲
by
afc
4y ago
Citation needed? My team generally avoids auto and tends to spell out the types most of the time, which we find makes everything more readable. Code is written once but read many times...
88.
▲
by
afc
4y ago
> A null pointer legitimately and usefully points to a zero-sized object. I agree with many points from the article but strongly disagree with this one. It makes much more sense to treat a null pointer as an invalid, not present, object.
89.
▲
Leadership at Google
(github.com)
2 points
by
afc
4y ago
|
0 comments
90.
▲
by
afc
4y ago
Seems fairly accurate in this case. You can also read about it in Wikipedia anyway: https://en.wikipedia.org/wiki/Tom%C3%A1s_de_Torquemada You can see all the references in the article (including but not limited to Bri
More ›