Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crabbone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
361.
▲
by
crabbone
2y ago
Like in all such discussions: the problem isn't with what you write, but with what you read. There are tons of Ada code that's already written like that. So, future changes to the style guide aren't going to do much. Also,
362.
▲
by
crabbone
2y ago
I like Ada, but I tend to agree. "End Something_Somethig_Something" is really a mouthful (compared to "}"). And programmers are superficial like that. Ada wouldn't be the first decent language being dismissed for
363.
▲
by
crabbone
2y ago
(For the background, my major, the first time I went to college was in book illustration, and the second time around it was graphic design renamed "visual communication".) There's really no mystery here... and children have v
364.
▲
by
crabbone
2y ago
Well, I'm not there yet :) My knowledge of both languages is quite superficial. And, unfortunately, it tends to stay that way, unless I work on a commercial project in a particular language. I sort of worked on a Rust project, but I
365.
▲
by
crabbone
2y ago
For years now Emacs had integration with LSP. The experience isn't quite the same as VSCode (I think, there are some proprietary extensions to LSP protocol, or some such, but don't quote me on this). But it's good enough to
366.
▲
by
crabbone
2y ago
Due to how my job is defined, autocompletion (the kind that comes with LSP) is usually not an option at all. In the context of my job, the largest part of my effort goes towards RCA (figuring why something doesn't work) in a system mo
367.
▲
by
crabbone
2y ago
> if the code/project has no users or active developers for 3 years, at what point does it just become cruft? At the time the hardware cannot possibly support it. So, we are talking about something like 50 years. For more high-lev
368.
▲
by
crabbone
2y ago
Not really... What I see in practice is that Python's shortfalls are being covered by throwing more hardware at it. (Beside of the more efficient, but also more complex: rewriting in C). There are all kinds of micro-optimizations, as
369.
▲
by
crabbone
2y ago
Here's my controversial idea on one of the aspects mentioned in OP. Here's my approach to dealing with dependencies in Python: * When setting up the project, in the initial stage, install dependencies with pip or conda, whichever
370.
▲
by
crabbone
2y ago
You chose the field with one of the worst rates of churn and brokeness of third-party libraries, and by some kind of magic managed to avoid it? You should be buying lottery tickets by a truckload! All the projects you listed (Pandas, PyTor
371.
▲
by
crabbone
2y ago
Nope. If a program is meant to run on the entire CPU, and if it's meant to use all the memory, then that's how it will run. This isn't a question of modernity or availability of tools or programmers' salary. Or, to put
372.
▲
by
crabbone
2y ago
I don't agree with any of this. First of all, this results in unintelligible errors. Linux is famous for abysmal error reporting, where no matter what the problem really is, you get something like ENOENT, no context, no explanation. E
373.
▲
by
crabbone
2y ago
Idk. Nobody ever invited me and I don't know anyone closely enough for even knowing if anyone in their family died. I'll be fifty soon, and, I have an impression that the only funeral I'll ever attend will be my own, if ther
374.
▲
by
crabbone
2y ago
That's taken out of context. The article says that in order to become good at programming students will need to learn multiple languages, including those popular in the industry. But, since students are going to learn multiple languag
375.
▲
by
crabbone
2y ago
This isn't what the article says... The articles says roughly that "while we know what to strive for, we are falling short of achieving our goals." It doesn't make the claim that we know how to teach programming. Now, u
376.
▲
by
crabbone
2y ago
Long ago I wanted to re-implement at least part of kubectl in Python. After all, Kubernetes has documented API... what I quickly discovered was that kubectl commands don't map to Kubernetes API. Almost at all. A lot of these command
377.
▲
by
crabbone
2y ago
> There are more operating systems written in C++ Those are all gimmicks. They aren't really worth considering if talking about system programming. Again, if you want to be a system programmer, and you want to know what languages
378.
▲
by
crabbone
2y ago
Torch is as far removed from system programming as humanly possible... CUDA is a library for application development, not for system programming. The whole OS was written in many languages. It's hard to think about a mainstream languag
379.
▲
by
crabbone
2y ago
Nah. C++ is still pretty much hated in that field. It's the reason Go or Rust exist, not a complement. C++ has very little (basically nothing) to do with what Python or Shell call. When I mention these languages in the context of syste
380.
▲
by
crabbone
2y ago
One of the problems I'm usually facing with this is the need to call library functions from C++ code. Especially TLS-related stuff. It doesn't matter what primitives C++ has to offer, as long as you are using library code things w
381.
▲
by
crabbone
2y ago
C++ is a very rare guest in that world. Not really worth mentioning. You could probably find more Python in that world than C++. Certainly more Shell than C++. You could absolutely get a job as a system programmer not knowing and never tou
382.
▲
by
crabbone
2y ago
For the purpose of job interviews (and not necessarily any kind of sound definition), this means that the position you are looking at will have you dealing with software that implements some operating system services. To give you some examp
383.
▲
by
crabbone
2y ago
Rust lifetimes is a mechanism to manage memory.
384.
▲
by
crabbone
2y ago
Not when you need your own allocator. Anything that tries to manage memory w/o you knowing about it will be working against you.
385.
▲
by
crabbone
2y ago
I don't know... I basically already answered your question: C++ has way too many things to remove. People working on projects like QEMU don't want exceptions, smart pointers, classes, virtual methods, templates, lambas etc. So,
386.
▲
by
crabbone
2y ago
I wouldn't be so quick to put "easy" and "C++" in the same sentence... Also, C and C++ language tools suck, when it comes to making a language compared to anything in Lisp family, for example, or any language that h
387.
▲
by
crabbone
2y ago
Maybe, but I wouldn't hold my breath. It's more about how much data needs to be fetched and how many calls have to be made to fetch it. With Maigt, it sometimes feel like a select-in-loop anti-pattern. I.e. Git only exposes inf
388.
▲
by
crabbone
2y ago
I cannot speak to nice graphics (I don't want a different way to represent directory trees or git branches, I'm happy with how it's done today), but on the count of Magit's speed... it's not really the problem of th
389.
▲
by
crabbone
2y ago
I doubt these are even sent if there's actual traffic going through the network. I mean, why do you need to ping nodes, if they are already talking to you?
390.
▲
by
crabbone
2y ago
I worked for a large infra project that was mostly written in C with the kind of trickery that is being here ascribed to QEMU code (I trust the parent, but I haven't seen the code myself). It's a common thing to do in projects lik
More ›