Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crabbone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
571.
▲
by
crabbone
2y ago
Into management? :) There is no career path for programmers. Once you are a programmer, that's the end of your career. You climb the ladder by starting to manage people. But you don't become a super-programmer.
572.
▲
by
crabbone
2y ago
Marshaling is an issue as well as concurrency. Simply copying a chunk of data between two libraries through Python is already painful. There are so-called "buffer API" in Python, but it's very rare that Python users can actu
573.
▲
by
crabbone
2y ago
> /tmp/ is the ram-backed version for small files Small you say? The block size in that device is the size of the memory page: 4K by default. That's 8 times the very typical 512b for persistent storage. I've been bitt
574.
▲
by
crabbone
2y ago
One thing these systems often overlook is that in the physical world symbols don't necessarily come aligned to invisible horizontal lines. For various reasons users may need to write vertically, along a curve, in a cross-word fashion.
575.
▲
by
crabbone
2y ago
Oh but there are some hilarious and obvious problems with Protobuf that are a sure tell of the author being a first-timer. For example, messages inside messages and messages in other "packages" can, accidentally be named the same,
576.
▲
by
crabbone
2y ago
And? Are you sure you understand the comment you are replying to? Your replies makes less and less sense. They just look like an attempt to pick a stupid fight. If this needs repeating: I didn't deny that the project has a JIT compi
577.
▲
by
crabbone
2y ago
You may want to read this: https://www.pypy.org/posts/2018/09/the-first-15-years-of-pyp... and further down. You'll see that JIT wasn't always a core part of the project. You just for some reason d
578.
▲
by
crabbone
2y ago
Just use SQL? A much better language with saner semantics overall. My first and last impression from GraphQL were that whoever wrote it hadn't had a chance to work with other query languages. A lot of the problems OP mentioned were qu
579.
▲
by
crabbone
2y ago
The fact that PyPy has a JIT is kind of a side-effect. PyPy's goal is not to make a JIT compiler for Python. To be honest, the goals are broad and ambiguous, but it's something along the lines of "refining the core Python la
580.
▲
by
crabbone
2y ago
I don't see any reason for Python to want to have JIT. There are already languages that are more suited for that kind of model, that have a long history of incremental improvement of JIT compiler design and implementation. Why is Pyth
581.
▲
by
crabbone
2y ago
In systems that deal with money, money-related data is virtually never deleted. The reason is the fear that deletion can be exploited somehow in the future, rather than the old data being actionable. For example, if a customer registers wi
582.
▲
by
crabbone
2y ago
I worked for a company which used Redis at the prototyping phase, but then wrote own database to improve performance and resilience. The company wasn't selling an end-user facing product, the product was a distributed filesystem. My ta
583.
▲
by
crabbone
2y ago
JavaScript is also not complicated. It's just poorly designed when it comes to matching programmer's intuition. With this out of the way: Dockerfile as a concept, i.e. a minimalist (in simple cases) way to declaratively configure
584.
▲
by
crabbone
2y ago
There are NVidia's Kata containers: https://docs.nvidia.com/datacenter/cloud-native/gpu-operator... . I'm not sure you need the physical GPUs to run them though. Most likely not. I'm wondering thou
585.
▲
by
crabbone
2y ago
I believe that author is just pessimistic. There are plenty of examples where alternative implementation won. Sometimes to the point that the original isn't even remembered anymore. It's hard to be so much better that old users
586.
▲
by
crabbone
2y ago
> New versions of CPython come out regularly, always adding many new features, and PyPy struggles to keep up, is always several Python versions behind. If you want you Python software to be PyPy-compatible, you’re much more limited in te
587.
▲
by
crabbone
2y ago
Nope it isn't. There are so many things that aren't expressible in TOML that any anywhat complex system will want... it's not even a contender. So, one problem a lot of configurations are trying to solve: modularity. I.e. ho
588.
▲
by
crabbone
2y ago
Just another one for collection: conda. Especially the parts about conda-build, meta.yaml etc. There are only examples w/o any way to tell what's available. And the source code is frustratingly twisted, undocumented and all ove
589.
▲
by
crabbone
2y ago
It was a while ago, and I haven't used Gitlab in a few years. Maybe they've added TAR as an option since, but Zip was the only option at that time.
590.
▲
by
crabbone
2y ago
> but what’s a scenario that you run a SUID/GUID binary from a network or a container? A lot of publicly available container images require elevated permissions to simply function, not for anything extraordinary. So, the user in co
591.
▲
by
crabbone
2y ago
We used this in Gitlab CI. Unfortunately, the only way they deal with artifacts is by putting them in Zip files. Cache between builds would thus be stored as a Zip file. However, fully extracting it before each build would sometimes take
592.
▲
by
crabbone
2y ago
I thought archivemount already did that. Am I missing something? Anyway, even if that's not what you are looking for, FUSE is a more general mechanism that will allow you to do what you want (well, it seems like, at least) and much mor
593.
▲
by
crabbone
2y ago
> Virtually all users of sudo are using it on their own computer Nope. If I had to guess, it's in containers, like Docker. And those run in lots of places, and often in places with easy access to company's cloud account, cred
594.
▲
by
crabbone
2y ago
Even without the flag, sudo preserves a bunch of stuff. And it's not even consistent. Some implementations preserve locale setting, while others don't for example.
595.
▲
by
crabbone
2y ago
All these ideas that tie permissions to a file completely fail when files need to be accessed either over network, or inside a container. I can see how the original authors didn't consider these cases, because they simply weren't
596.
▲
by
crabbone
2y ago
As someone who had to write infrastructure in Python, every time from scratch, for large projects: pyinfra isn't it (and neither is Ansible, if you care about that). It will probably work for some simple and common cases, but they bare
597.
▲
by
crabbone
2y ago
I want to comment on comparing things that seem similar, but aren't. In particular, OP wants readers to believe that taking drugs developed by "big pharma" is the same, or is morally equivalent to hosting one's project o
598.
▲
by
crabbone
2y ago
> It's git. Not really... Github offers bug-tracker and CI as well as "pages", user management, various automation APIs, Web access, of course... Also, integrations! Want to publish your documentation to readthedocs dot
599.
▲
by
crabbone
2y ago
Well, if it's an Indian startup targeting an international market: it's an international company in the making. While you can name half a dozen of them, there are thousands that are nothing like that.
600.
▲
by
crabbone
2y ago
There are many layers to "being familiar with anglo culture"... being able to understand technical documentation to a degree won't cut it in many cases. I went through several stages of learning retroactively (i.e. not approp
More ›