Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crabbone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
751.
▲
by
crabbone
3y ago
If I may hazard a guess (I don't know why the original code used it), Python dictionaries are also ordered (and there's no option in Python's library to have them not ordered). Maybe they wanted to match Python's behavi
752.
▲
by
crabbone
3y ago
> interpreted language There is no such thing as interpreted language. A language implementation can be called an interpreter to emphasize the reliance on rich existing library, but there's no real line here that can divide languag
753.
▲
by
crabbone
3y ago
You are very confused between how something works right now and how it can work in principle. In this you very much resemble CPython developers: they never attempt optimizations that go beyond what Python C API can offer. This is very lim
754.
▲
by
crabbone
3y ago
> Have you ever attempted to write a scripting language that performs better? No, because "scripting language" is not a thing. But, if we are talking about implementing languages, then I worked with many language implementation
755.
▲
by
crabbone
3y ago
> individually, highly optimised. Now why would you expect that ? What happened to OP is a pure chance. CPython's C code doesn't even care about const-consistency. It's flush with dynamic memory allocations, bunch of he
756.
▲
by
crabbone
3y ago
> real filesystem APIs have never been tried How would you approach following problems by representing data as filesystem? * Represent an array with a million elements. * Represent data-structures s.a. stack, queue, list, various balance
757.
▲
by
crabbone
3y ago
Thanks for the link. Some bits are nice, like, for instance, exposing editor's internal state as a filesystem to make it easy to automate by external tools. Unfortunately, like with the similar ideas (i.e. sysfs, procfs), time showed
758.
▲
by
crabbone
3y ago
Also: > When working on something that involves Emacs and one of these mouse driven applications, having to move over to the keyboard for the Emacs bit is exactly the friction we’d like to avoid. This is some cooked-up case. No. This i
759.
▲
by
crabbone
3y ago
> Window selection is a natural extension of basic mouse usage. Resizing windows is a snap. I don't think I can remember the last time I needed to resize a window in Emacs. I think. Also selecting window with a mouse simply would
760.
▲
by
crabbone
3y ago
Sort of. Yes and no. There has to be a metric to assess researcher's performance. Otherwise we won't know what research is worthwhile. When the rules of the game are known, players will find their way to cheat, or at least ben
761.
▲
by
crabbone
3y ago
No, not really. It is perfectly possible to write unintentionally valid code, which would be caught by linter due to the author not following some convention. Trivial and popular example of such code is assignment instead of comparison in
762.
▲
by
crabbone
3y ago
Your mistake is going from quantitative claims to categorical without evaluating the quantitative part first. You say "everything is a band aid to some degree", and from that you conclude that "everything is equally bad or go
763.
▲
by
crabbone
3y ago
Your claim is covered by this part of the post you replied to: > nor is it best for combinations of things. In other words, you are wrong. No, Python isn't second best, nor is it anywhere in the top-ten. It's worthless as a l
764.
▲
by
crabbone
3y ago
> most file name encodings You just repeated what I said. Just read it again. You already know the answer, you just need to understand it. > Completely disagree. And make no worthwhile argument. > You can simply declare and accep
765.
▲
by
crabbone
3y ago
> Surely dynamic typing is a language feature? Languages are defined by their grammar. (or you can think about few other ways to define a language, s.a. a set of strings of some shape etc.) There's nothing static or dynamic about
766.
▲
by
crabbone
3y ago
How much experience do you need and what kind? I don't have articles published in IEEE journals, but don't think you can get there in few months. But I can write simple proofs in eg. Coq or TLA+, so, I probably know a thing or t
767.
▲
by
crabbone
3y ago
It's broken just as os.path is. Python doesn't work well with file names in principle: it wants everything to be Unicode. That works for many, but if you want reliable code... you just have to throw all of that away. Also, in ca
768.
▲
by
crabbone
3y ago
Oh, absolutely. Service brings convenience to the backoffice and money! Libraries suck to support and hard to sell. Of course users want libraries but vendors want services. There are plenty of examples where something could've been
769.
▲
by
crabbone
3y ago
Nah. It's not that. We lack a concept that can organize storage. Let me illustrate this. So, until some years ago there was complete nonsense and anarchy in Linux networking management. That is until we got the "ip" progr
770.
▲
by
crabbone
3y ago
The title of the article literally says "where possible". You found a case when it's not possible, and decided to argue against that... No, not all services come connected with a database. Alternatively, often times a datab
771.
▲
by
crabbone
3y ago
This is a completely broken model. You are wrong by pushing your changes on "slow to update" customers. Customers know when to update much better than you do. If you are trying to update before they want to, you are doing them a
772.
▲
by
crabbone
3y ago
Surprise: all languages have types. Superior to TypeScript is neither a high bar, nor is this any kind of objective metric. I don't know why sum types are a blessing, also I don't know why pattern matching makes anything better.
773.
▲
by
crabbone
3y ago
> dynamic scripting languages. Why keep repeating this nonsense? "Dynamic" or "scripting" aren't features of languages. When anyone says something like this, it's like talking about square chicken... (i.e.
774.
▲
by
crabbone
3y ago
I've been writing in Python for over ten years, in different roles, for wildly different projects (research, infra, Web, testing, education). I'm yet to find anything Python was good for. On engineering merits alone Python isn&#x
775.
▲
by
crabbone
3y ago
> increases productivity to not have to double check each and every instance of violating a lint error, At what cosmic speed should you be pumping out code for this to be a concern? Also, in C#/.NET, where programmers predominantly
776.
▲
by
crabbone
3y ago
> Why not just say "pip install idp-engine"...? (I have nothing to do with IDP-Z3) This is the general pattern: * If you are a developer: get sources and work on sources, because, probably, you want to add to them or modify the
777.
▲
by
crabbone
3y ago
This is a bizarre take... Programmers have to deal with a lot of badly written programs all of the time. You'd need this functionality to either debug a program that responds differently to different values of environment variables, or
778.
▲
by
crabbone
3y ago
My guess would be that nobody seriously considers Windows servers for enterprise storage. I've worked for several storage companies and Windows support in that world is something that people usually want to overlook, or to provide a b
779.
▲
by
crabbone
3y ago
I just discovered that before I had uBlock Origin, I, apparently, was adding ad website domains to my /etc/hosts by hand :D (And forgot about it, just remembered that I copied my old disk to the one I have now in my laptop, but f
780.
▲
by
crabbone
3y ago
I don't agree with the author on how financial compensation should be structured or where does it have to come from. My idea about what's currently in open-source domain is that it can be split into two categories: infrastructure
More ›