Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gjulianm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
gjulianm
4y ago
> In the real world, there is more than one sandwich seller and they compete with each other. When was the last time you non-consensually bought a sandwich? But that competition isn't perfect. Right now, for example, there are very
182.
▲
by
gjulianm
4y ago
Some counterpoint thoughts: > - consensual trades are win win (you want a sandwich, I want $5 let’s trade! And we both win) Not all trades are exactly "consensual". The sandwich seller can probably live without selling a sandwi
183.
▲
by
gjulianm
4y ago
No, but it's a decent approximation. Even in the case of "creating wealth", the person with more money usually gets a bigger share of the money simply because they had more money. This being Hacker News, I think we all are to
184.
▲
by
gjulianm
4y ago
I assume that easier installation, reduced attack surface, possibly more lightweight (regarding server load).
185.
▲
by
gjulianm
4y ago
Apart from isort not knowing how to deal with tabs, and changing the defaults "spaces" to "tabs" in the tools (along with line length too, because for some reason the 80 character limit is set in stone even though it
186.
▲
by
gjulianm
4y ago
Yes. The code started as being indented by tabs, so changing it now is a mess. Also, not to start a flamewar, but I've always preferred tabs to spaces in any language, I find them more reliable, easier to use...
187.
▲
by
gjulianm
4y ago
Thanks! The configuration options don't matter too much, I was really unhappy with the options isort gives.
188.
▲
by
gjulianm
4y ago
I use pip-tools to build a requirements.txt file from a requirements.in file. It does basically the same as poetry, but more manually. For me that's good because one of the application has a lot of requirements, and it needs to be depl
189.
▲
by
gjulianm
4y ago
Does ruff replace isort? Because I'm really unhappy with it, it doesn't work with tabs and conflicts with yapf all the time.
190.
▲
by
gjulianm
4y ago
The VSCode neovim plugin is really good because under the hood it's just using neovim to manage the buffer, so everything that works on Neovim works on VSCode. It's true that some plugins are suboptimal but the VSCode one (and the
191.
▲
by
gjulianm
4y ago
> There are plugins that, so far as I know, can do a lot of what an IDE can do I want to add that the converse is true too: there are a lot of plugins (for IDEs) that do a lot of what Vim can do. I personally use the neovim integration f
192.
▲
by
gjulianm
4y ago
Not really. Heavier and lightweight usually refer to the amount of features and requirements of a piece of software. In that regard, it's easier to see which of PostgreSQL and SQLite is lighter. PostgreSQL requires a separate process r
193.
▲
by
gjulianm
4y ago
PromQL is barely a language. For availability, the query would be as simple as the series name and it would return everything. Also, there's an adapter so that Prometheus writes to PostgreSQL. However, Prometheus is not a tool that spe
194.
▲
by
gjulianm
4y ago
What tools do they use? It's not hard to build a dashboard in Grafana and show them there the metrics they want, in an easily-digestible format.
195.
▲
by
gjulianm
4y ago
> At some point, you will hit a rock that nobody you know, even really smart people who have done this their whole lives, can jiggle. What do you do? Keep working. Or leave it, come back after some time (hours, days, weeks, months... eve
196.
▲
by
gjulianm
4y ago
I always recommend the book "Love and Math", by Edward Frenkel. The book is fairly approachable I think, and it mixes his own biography with examples of interesting math concepts and connections. Funnily enough, Frenkel works in t
197.
▲
by
gjulianm
4y ago
Well, I don't know what kind of 8 year olds you know but it definitely works better than any 8 year old I know at programming. In any way, I still think it's fairly impressive compared to what existed before.
198.
▲
by
gjulianm
4y ago
I'm not claiming "general human intelligence". Just that to me it's impressive that it's able to generate code for a niche library (not too many code samples out there for DPDK), correct it according to instructions
199.
▲
by
gjulianm
4y ago
I have been a little bit skeptic of exaggerated claims about AI, but I tried ChatGPT and I've been amazed. My trial was not searching for anything. I tried asking the AI to code an traffic capture program with DPDK. Funnily enough, it
200.
▲
by
gjulianm
4y ago
Censorship is a cheap and bad solution to a problem that a lot of people feel very real. We have a real issue of regular people and malicious actors using the unprecedented reach of social networks to spread falsehoods, conspiracy theories,
201.
▲
by
gjulianm
4y ago
> Authoritarians thrive on censorship and secrecy. And authoritarians also thrive on chaos and propaganda. The recent rise in authoritarianism hasn't been related to censorship and secrecy as much as chaos, misdirection, conspiracy
202.
▲
by
gjulianm
4y ago
Do smart contracts resolve that problem? I don’t think they do completely. Most people won’t have the knowledge or the time to verify the contracts. They will trust your word that they can’t be used to scam them. Smart contracts can still h
203.
▲
by
gjulianm
4y ago
The problem with that is working with the notes later. My method of learning included reorganizing, rewriting, extending notes because it’s very rare that you’re able to write things down properly on the go and fill in the gaps. That’s very
204.
▲
by
gjulianm
4y ago
The problem with this view is that it only looks at "writing" when processing information. What about search, classification, reorganization, sharing? I have a OneNote notebook with some notes for important meetings: I don't
205.
▲
by
gjulianm
4y ago
As someone who's taken notes with my laptop for my bachelor and master degree, these studies seem to miss a lot of the learning process. For starters, it's not just "take notes" and leave it at that. Those notes are revi
206.
▲
by
gjulianm
4y ago
I think the framing of your argument is a little bit misguided. Looking at history and possibilities doesn't really get you anywhere. Sometimes people get a tech massively wrong, sometimes they don't. In order to have an actually
207.
▲
by
gjulianm
4y ago
Compare how many companies can reliably launch rockets vs how many can reliably create social networks that aren’t dead in a year. I think it’s clear what’s more difficult
208.
▲
by
gjulianm
4y ago
> Fixing the community starts with rolling back all the things that clearly did not work. And which ones are those? Knowing what did and did not work is an actual challenge by itself. > You need a cache, you can get one from any numbe
209.
▲
by
gjulianm
4y ago
> If anything, he repeatedly succeeded in building world class software and hardware teams for Tesla, SpaceX, and a few other companies The point is that Twitter doesn't really needed someone to build a world class software and hard
210.
▲
by
gjulianm
4y ago
I don't think Twitter is automatically doomed, but I think there are more things to consider than just Musk's "track record of successes". And one of the important things is that he doesn't look like he actually und
More ›