Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zababa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
211.
▲
by
Zababa
3y ago
Is it worth it to learn Elixir (including Phoenix, and I would guess some Postgres) to be able to rapidly build websites? My day job is mostly Go microservices, making anything this way takes a lot of time and doesn't really feel worth
212.
▲
by
Zababa
3y ago
> Over-engineering is an attempt to predict the future, while quality-engineering is maximizing extensibility. The article is written as if extensibility is switching databases, but I've also encountered cases where extensibility is
213.
▲
by
Zababa
3y ago
> With programming languages, as long as you have a computer, there is no reason to learn it without actually using it. Spaced repetition isn't about learning, it's about remembering. From the article: > Flash cards are for
214.
▲
by
Zababa
3y ago
I love the bookmarklet from water.css, it allows you to turn lots of websites into something more readable.
215.
▲
by
Zababa
3y ago
Especially since Go has a culture of backwards compatibility and the API doesn't change if you move files around on a package.
216.
▲
by
Zababa
3y ago
What about all the good things Facebook has done for us? Why don't we ever see articles about that?
217.
▲
by
Zababa
3y ago
There are utilities for property-based testing in the standard library https://pkg.go.dev/testing/quick@go1.21.6 . There's also fuzzing since Go 1.18 https://go.dev/doc/security/fuzz/
218.
▲
by
Zababa
3y ago
People have different ways of expressing passion. I like Go a lot, but most of the time I'll say that it "just works" or "gets out of the way". But I have a real passion for the way Go was made for software engineer
219.
▲
by
Zababa
3y ago
"X in Rust" to me mean that I won't have to fiddle with it when installing it and it'll work out of the box. This isn't unique to Rust, Go does this very well too. It'll also be reasonably fast, not just becaus
220.
▲
by
Zababa
3y ago
> Are you saying it doesn’t get out of date? i.e. you never change the state of the repository outside of your terminal session? I don’t think that’s reflective of how most people work. That's what I do, I use git directly for trivi
221.
▲
by
Zababa
3y ago
Are there alternatives that make it easier to think about all the edge cases?
222.
▲
by
Zababa
3y ago
> if you can't manage your own memory, you should be using a language implementation with automatic memory management. I agree, and would expand the idea to all kinds of resources (files for example). Sadly not many languages have &
223.
▲
by
Zababa
3y ago
A few things that can help with memory: - spaced repetition for stuff that you use sporadically. I use Anki, it's great. For how to use it, this article is great: https://borretti.me/article/effective-spaced-repeti
224.
▲
by
Zababa
3y ago
I agree with your point of "sped up life". Some written content has a main point and exists to transmit you that main point. In those case speeding up that is a good thing. On the other hand, some written content is a journey, and
225.
▲
by
Zababa
3y ago
Follow up question: How much effort, money and skill would the project of creating a video like this take if you allow yourself the use of AI*, vs if you forbid it. It's hard to define precisely what "use of AI" is. Generatin
226.
▲
by
Zababa
3y ago
Between your comment and the one you replied to, I'm starting to think this is a good exercise. It shows how modern language can be used outside of its usual context, i.e. spoken by modern speakers. As a slightly older person than them
227.
▲
by
Zababa
3y ago
I think a difference here is that for lots of people they can through the stack of things they use and find C. This is less the case for Fortran.
228.
▲
by
Zababa
3y ago
Any libraries that you would recommend? I always see a few libraries for any particular problem but it's hard to know the tradeoffs.
229.
▲
by
Zababa
3y ago
> Giving the LLM a bit better tools, like a version of "cat" that prefixes the lines with numbers, and a "swap" command that can do "swap 179 250 ..." to swap out the lines 179 to 250 with "..." wo
230.
▲
by
Zababa
3y ago
There's a nice solar system animation here: https://drafts.csswg.org/css-egg-1/#astro-units
231.
▲
by
Zababa
3y ago
To anyone for which learning lots of names of things that you use semi-frequently is a bottleneck: you can use spaced repetition ( https://en.wikipedia.org/wiki/Spaced_repetition ) to remember them way more easily. I use
232.
▲
by
Zababa
3y ago
Assuming there is a comment just above the one-liner saying "find all directories named 'bar', find all files named '*.foo' in those directories, search those files for 'baz'", this code is perfectly
233.
▲
by
Zababa
3y ago
> It used to be only that way, for everybody, and that's what's been lost. The masses are mindlessly consuming content of exactly zero value on what they believe is a computer ("My smartphone is a more powerful computer th
234.
▲
by
Zababa
3y ago
That is my experience as well. Another case where the "clumsy proxy" issue happens is when I help a frontend dev debug something with the backend, especially online. Do collaborative IDEs exist? How usable are they? A collaborativ
235.
▲
by
Zababa
3y ago
> Another way to frame it is "code review is not the right place to validate design decisions". That's a good way to put it. I wonder if draft PRs/MRs could be used for that? Make a draft PR/MR with the design, d
236.
▲
by
Zababa
3y ago
Here's what I got, pasting your prompt in DALL-E 3: - https://ibb.co/k0NCWG7 - https://ibb.co/Vm3GZcR - https://ibb.co/bvSC4w3 - https://ibb.co/VqSdYbZ I'm surpri
237.
▲
by
Zababa
3y ago
Maybe it would be possible to make the archive in "stages"? Like the first stage is readable without any equipment and describes how to make equipment to read the next stage. Repeat until you have a high-precision microscrope and
238.
▲
by
Zababa
3y ago
> Also, GitHub is not something to emulate, it is the lowest common denominator of repo hosting. What do you mean by this? Having mostly used git and github, I don't really know what I'm missing.
239.
▲
by
Zababa
3y ago
I knew it reminded me of something! Eli Bendersky's post https://eli.thegreenplace.net/2019/simple-go-project-layout-... now starts with "Update (2023-09-19): We've now published similar guidelines as pa
240.
▲
by
Zababa
3y ago
I think .map() as a for...of replacement makes sense for simple cases. newArray = oldArray.map(el => aFunction(el)) is short, sweet and clean.
More ›