Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
truncate
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
truncate
6y ago
Seems like native JSON parsing should help with LSP performance!
182.
▲
by
truncate
6y ago
My primary development environment is Emacs for around 7-8 years now I think (used to be pretty proficient Vim user before). I mainly program in C++ and Python, but often hack on Java, Go, Rust and Haskell. I have heavily configured my Emac
183.
▲
by
truncate
6y ago
I agree with wanting an stable OS and FreeBSD definitely is, and having read some Linux and FreeBSD code few years ago, FreeBSD was lot cleaner. Having said that, we use OS to run things. I feel FreeBSD is lacking there, and despite being i
184.
▲
by
truncate
6y ago
Speaking of practical, I really like GMail interface. Their system of tagging over folder really work well for me (I think there are CLI alternatives to do so). But more recently, I'm pretty addicted to using the AI suggestions that GM
185.
▲
by
truncate
6y ago
Looking at examples, they also seem to have 2 space indents. Google C++ Style Guide also uses 2 space indents. I've never measured it, and my observation is very likely biased (as I've mostly worked with C++), but I've found
186.
▲
by
truncate
6y ago
I recently got started by following couple videos on YouTube which are not hard to find. I've just followed very basic lessons, mainly to get familiar with non-programming aspects (scripting part is very easy if you already know prog
187.
▲
by
truncate
6y ago
Yes. I'm definitely a tinkerer, and have spent hours configuring my Emacs just the way I want. However, its super addicting and often you'll find yourself doing things with little ROI. A 20 yo me, would have definitely hacked till
188.
▲
by
truncate
6y ago
Hah, as much as I wanted org-mode to work for me, I realized I'm spending more time on building a framework for organizing my time than probably actually organizing my time. And it's never over. Sync all my calendars, OS notificat
189.
▲
by
truncate
7y ago
I agree with your statement. 7-8 years or so ago, right before first Modi election, I visited a friend. He is from very affluent, very well educated, in high bureaucratic positions IAS, IPS services. His mother was talking to me and asked w
190.
▲
by
truncate
7y ago
How is use of VPN is enforced? Looking at credit card transactions? Use-cases like these makes cryptocurrency so much appealing. Where I can potentially spend my money like normal physical cash.
191.
▲
by
truncate
7y ago
What's worse it is somewhat synonymous to being secular, anti-hindu, or just debating whatever government does. All different things.
192.
▲
by
truncate
7y ago
i3 ruined my life. It's an absolute delight to use, particularly when programming. However, its hard to get Linux laptops at work (Mac or Windows), and I constantly miss i3. Also, among all tiling window managers, I think its config is
193.
▲
by
truncate
7y ago
I do believe autopilot has the potential to be safer than driving manually. But I'm not sure what to take out of that safety report. (1) Comparison against all other cars in US (and across all states) just introduces lots of sampling b
194.
▲
by
truncate
7y ago
On similar topic, back in school we followed "Modern Compiler Implementation using ML" by Andrew Appel. Pretty good book, which teaches good amount of theory, but also has a project where you implement pieces of compiler as you pr
195.
▲
by
truncate
7y ago
Never had any weird looks from people (other than CA, I've used it in NV, AZ, MA, OR, WA). Almost every-time, it makes me quicker than everyone else, so not sure why would people make a comment. Also, if I don't see any NFC paymen
196.
▲
by
truncate
7y ago
As a power-user, I wonder if there is any reason to not do DIY PC building (for personal use) over buying from System76. It's not hard to figure out a good configuration online (or even just whatever System76 uses in their desktops?).
197.
▲
by
truncate
7y ago
I somewhat agree. Facebook may not appeal much to people interested in let say space exploration or self-driving cars, but amount of engineering lessons learned by deploying a software at that scale is still invaluable. We are so much bette
198.
▲
by
truncate
7y ago
Wow, I'm an Indian, and I didn't know that. But yeah, I still dunno what can be potential use of that information in a resume. Sometimes, I think it's just because of old traditions where people introduce someone as "X s
199.
▲
by
truncate
7y ago
I don't see how. Last name is same usually for both father/son, and you can't figure anything out from first name. It's almost useless information I think, except maybe differentiate between two people with same name, wh
200.
▲
by
truncate
7y ago
I think open peer-review system would be great. It would also keep reviewers much more careful and accountable for their work. It is a bit different than design docs/code review in the sense that, there are N different authors competin
201.
▲
by
truncate
7y ago
Start with understanding "Consensus problem". Paxos is one of the famous solution. There is blog called "The Paper Trail" which has lots of articles on this topic[1]. You should start with the oldest post IMO (from Three
202.
▲
by
truncate
7y ago
Yep, the original Paxos paper wasn't easy to understand, and he says so in his follow up paper "Paxos made simple"[1] whose name justifies its existence as well. [1] https://lamport.azurewebsites.net/pubs/
203.
▲
by
truncate
7y ago
I can think of two reasons: 1. The code can be tightly tied to their internal systems and infra. It may just be more expensive to separate it out, not to mention engineers at Google are smart enough to avoid such projects (I mean, separate
204.
▲
by
truncate
7y ago
I got started in 2007 when I was in high school, as I was stuck using Windows XP on my Pentium 3 computer. I stumbled on Ubuntu, and they would send you CDs for free. Installation was probably easier than Windows, and I think the hardest pa
205.
▲
by
truncate
7y ago
I never actually used any of these, but have stumbled upon some tools which create/apply diffs on ASTs of your source rather than lines[1]. I think the keywords to search is "semantic diff/patch/merge", "AST di
206.
▲
by
truncate
7y ago
This remind of the best material in my opinion to understand the Y combinator, "(Y Y) Works! by Matthias Felleisen and Dan Friedman"[1]. Its very light read IMO, and highly recommended. [1] https://xivilization.net/
207.
▲
by
truncate
7y ago
I don't think that's obscure at all. That's standard lexical scoping. Do it all the time in functional languages.
208.
▲
by
truncate
7y ago
Umm, I've never worked in a startup, but if I do, a huge motivation would be make money. Risk is startup failing, not it getting acquired for good money. In the end, if all I'm getting is standard RSUs and salary bump, I might as
209.
▲
by
truncate
7y ago
Oh I think I misundetstood you (or you me), and I didn't really articulate my question well. I'm well aware of how stackless coroutines are implemented. My main concern was whenever you do that, you lose the ability to look at bac
210.
▲
by
truncate
7y ago
>> dynamic stack allocation of coroutines, which can probably be optimized away anyway This seems interesting. Do you have any pointers to places/papers I can look more into this? I'm also curious, since the stacks have to b
More ›