Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmmv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
jmmv
1y ago
In the article, yes. Look at the other comment threads in this discussion though: they touch upon many other languages.
62.
▲
by
jmmv
1y ago
No. The very first complaint is that if you don't know what is being used or not, you cannot tell whether a new "import" will add _another_ cross-module dependency that did not yet exist. As I already mentioned in another com
63.
▲
by
jmmv
1y ago
> One of the worst things a developer accustomed to Bazel (and its relatives) can do with a modern language (say Go or Rust) is to model code and organize it through the Bazel concept of a build target ( https://bazel.build
64.
▲
by
jmmv
1y ago
I don't think the article talks about unused dependencies anywhere, does it?
65.
▲
by
jmmv
1y ago
> This is not true for Go, for example. Import statements absolutely do solve this problem in Go. I rarely need to ever look at module files which are in some ways a byproduct of the import statements. Go imports still work at the Go pac
66.
▲
by
jmmv
1y ago
I have worked with ProjectReference before. How is it different from expressing a cross-module dependency in a Bazel BUILD file? But as I already said in two other comments in this discussion, ProjectReference would be equivalent to what I&
67.
▲
by
jmmv
1y ago
Please elaborate on what those "some stock standard static analysis tools" are.
68.
▲
by
jmmv
1y ago
If you work on a well-modularized codebase, with small and individual Go modules, or Rust crates or NPM packages or whatever you call them... you do not live in an alternate reality. You are doing essentially the same as I was describing be
69.
▲
by
jmmv
1y ago
The problem is that anything that's _apparent_ and not _enforced_ will be messed up over time. Maybe not in a project with few people where everyone is an expert on how "things are supposed to be", but it will inevitably happ
70.
▲
by
jmmv
1y ago
You can configure branch protections in GitHub to rebase during PR merges and enforce a linear history.
71.
▲
by
jmmv
1y ago
I recently got an Apple Watch for my kids and… OMG the setup process was painful. So. Many. Questions. I couldn’t believe it and I could tell when the whole ordeal was going to end.
72.
▲
by
jmmv
1y ago
Same here. I removed Disqus a while back due to how obnoxious it became. Then, I built my own commenting platform and, while it was a fun thing to do... I think it's worthless. People don't comment on blogs anymore, and when they
73.
▲
by
jmmv
1y ago
Missed chance to do something like: class User: def calculateCoworkers() = { this.coworkers.clear() for { d <- this.departments } this.coworkers ++ d.employees } and then, somewhere else... user.cal
74.
▲
by
jmmv
1y ago
Right, so you need to end up creating a container to package the glibc with the binary. Which is not very different from having sysroots. But what about any tools compiled from source and used during the build? Those can also suffer from th
75.
▲
by
jmmv
1y ago
You need that glibc on the target system, and glibc doesn’t like static linking. How do you ship the built binary?
76.
▲
by
jmmv
1y ago
Because those Bazel toolchains don’t come with a glibc? How could they?
77.
▲
by
jmmv
1y ago
Bazel is complex, yes, and in my opinion not suitable for small, one language projects. But I’ve seen many builds, outside of FAANG, that are too slow and that also break frequently after a simple “git pull”. Which other systems promise t
78.
▲
by
jmmv
1y ago
The article goes through an unbelievably amount of fluff to just say that. Thanks for confirming my own read.
79.
▲
by
jmmv
1y ago
Hey, thanks for sharing! I’ll add that the project page is at https://www.endbasic.dev/endbox.html and that the disk images are now available for download. Have fun!
80.
▲
by
jmmv
1y ago
The content in the article is good and important. That said, I don’t find it “practical” enough so… I’ll link to my own tips on preparing and giving presentations ;-) https://jmmv.dev/2020/07/presentation-tips.html
81.
▲
by
jmmv
1y ago
> Grab a fucking profiler, it is more important than your Big O This is exactly why I wrote https://jmmv.dev/2023/09/performance-is-not-big-o.html a few years back. The focus on Big O during interviews is, I th
82.
▲
by
jmmv
1y ago
Hah, same. I recently started getting many more back to back meetings than usual and, by lunchtime, I had a headache most days. It took me a while to realize that, while I’m at my desk, I keep drinking from the huge water bottle that I keep
83.
▲
by
jmmv
1y ago
Discussed at length back in 2021: https://news.ycombinator.com/item?id=27456222
84.
▲
by
jmmv
1y ago
This was originally a Twitter thread where emojis are customary. But you don’t have to read it.
85.
▲
Show HN: EndBOX DIY Kit – A Basic Microcomputer
(endbasic.dev)
2 points
by
jmmv
1y ago
|
0 comments
86.
▲
A CLI text editor? In my Windows? (2023)
(blogsystem5.substack.com)
3 points
by
jmmv
1y ago
|
0 comments
87.
▲
by
jmmv
1y ago
About a year ago, I wrote https://open.substack.com/pub/blogsystem5/p/a-cli-text-edito... , which covered the history of editors in DOS and Windows. The article was sparked precisely by the GitHub issue in wh
88.
▲
by
jmmv
1y ago
I’ve seen a ton of this “#define private public” in a previous team that was forced to write unit tests in a rush due to the whims of leadership. It hurt to see, and the resulting white box tests were useless.
89.
▲
by
jmmv
1y ago
Ah yes, the first version does indeed sound DOS-like. The second one diverges quite a bit though. Fun project indeed.
90.
▲
by
jmmv
1y ago
I don’t understand: what makes this “DOS-like”? Not even the command names match DOS, except for dir and cls, and the architecture and feature set are completely different.
More ›