Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crabbone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
541.
▲
by
crabbone
2y ago
This looks like a huge overkill to solve the problem that's while real, isn't really so difficult to solve with existing tools... Kind of reminds me of Jucero. Also, any solution of this kind will inevitably introduce a number of
542.
▲
by
crabbone
2y ago
The way different Pythons from PyPI don't work can be, for example that various optional modules are (not) included. For example, for my own Python installs, I build without tkinter. I have no use for this module, and it's alway
543.
▲
by
crabbone
2y ago
I like how you ignore the "best practices" for packaging created by PyPA (i.e project.toml and friends) and just do requirements.txt cowboy stuff. Don't get me wrong, both are hilariously bad, but I like to see more chaos in
544.
▲
by
crabbone
2y ago
Yeah :) It's actually netctl. I haven't used it for so long, I forgot what it's called.
545.
▲
by
crabbone
2y ago
I believe, this was an idea in ALGOL, not sure which iteration. I think, the reason it was never implemented was that more translation = more complicated debugging. It also means that programmers have a more distorted and incomplete model
546.
▲
by
crabbone
2y ago
> wifi disconnects This is more likely to be a driver issue than management issue. I think, this was posted to HN before, but I cannot find the article right now, but the gist of it is: both WiFi h/w vendors and Linux driver authors
547.
▲
by
crabbone
2y ago
I had a similar experience back when I switched to Arch. For some reason, the default at the time for network configuration was netctl. Coming from a world where default = old, true and tried, I assumed that newtorkctl is going to be just
548.
▲
by
crabbone
2y ago
Papers get published because authors want to increase their "importance index", which is in very direct correlation with how much they will get paid and whether they'll be making a career in academia. Having more requirements
549.
▲
by
crabbone
2y ago
> up-to-date Debian OP has a perverse sense of humor :) ---- But, not to waste space on this mindless joke, here's my (or, more precisely, my wife's) success story. So, I've had it with a laptop and built myself a PC. Mon
550.
▲
by
crabbone
2y ago
I worked in two commercial bakeries: Angel and Berman in Jerusalem. The first mostly makes sandwich bread, the other one mostly makes pastry. This will be probably relevant to answering your question: if you want to realistically prevent c
551.
▲
by
crabbone
2y ago
Real world in this contexts contrasts the world of programs that nobody needs or uses. Programs that are written for amusement or with no stringent requirements.
552.
▲
by
crabbone
2y ago
I worked for a company that had a product with several million lines of C, couple hundreds of lines of Java, same for Go, Ruby and Python. And it worked great! And you know why? -- The programmers were skilled at what they were doing. The
553.
▲
by
crabbone
2y ago
This is not really what maintainability means to me. To me, it just means you have a good memory. To be able to maintain something you need to be able to transfer the ownership of the piece of code to someone else. You need to be able to
554.
▲
by
crabbone
2y ago
* Significant white space, and the rules around whitespace are very convoluted. * There's no pattern or regularity to how infix / prefix / suffix operators are used which makes splitting program text into self-contained sub-p
555.
▲
by
crabbone
2y ago
I have a misfortune to know personally some of the mid-to-high level execs from MS. What I write is based on the experience of working with these people. And I don't even know what Z3, Lean or F* are, so, pardon my ignorance, but I c
556.
▲
by
crabbone
2y ago
You don't need to know the author personally to appreciate the result of their work... > Gosh, what am I doing with my life? I would ask the same question, but unironically. No, you didn't make up those programs of course. I
557.
▲
by
crabbone
2y ago
Every language is both statically and dynamically typed. But the more correct way of saying this is "dynamically or statically checked". Types don't appear or disappear when a program runs. The difference is in what can be
558.
▲
by
crabbone
2y ago
Well, one thing to keep in mind is what can be practically regulated and bring the desired results. Here are some examples: firearms don't kill people on their own, but we regulate their production as well as distribution and use (anal
559.
▲
by
crabbone
2y ago
Well, MS didn't have to do anything. It's enough that they have (or had) the opportunity to do something. There isn't an Overmind in MS that in a creepy voice tells you to spawn more overlords. Less than that, there doesn&#
560.
▲
by
crabbone
2y ago
> The answer is simple. f strings are evaluated at run time. You didn't understand the question. Everything in Python is evaluated at runtime. Bytecode is just a form of caching. > The behaviour is correct. Python doesn't
561.
▲
by
crabbone
2y ago
Unfortunately, writing isn't even half the battle. Before you start writing, you need to read a lot. And Haskell code is, in general, atrocious. It always feels like there was a normal way to do something, but the author decided t
562.
▲
by
crabbone
2y ago
Where are you getting your info from? Typical OCaml programs, when compared to similar C++ would be slower but use less memory. F# and Scala are both OCaml in disuse. I don't know what you mean by "reasonable"... but, if the
563.
▲
by
crabbone
2y ago
> I still don't understand Haskell It's not you. Haskell has very bad syntax. It's not hard to understand it, it you rewrite the same things in something saner. Haskell was developed by people who enjoy one-liners and d
564.
▲
by
crabbone
2y ago
I would recommend neither of those. Haskell has very bad syntax (with extensive backing from Microsoft, iirc the guy who writes the compiler is a Microsoft's Research employee). F# is a straight-up Microsoft's language. It doesn&#
565.
▲
by
crabbone
2y ago
I'll give you one better: >>> strings = tuple((lambda: f'{i}') for i in range(10)) >>> strings[1]() '9' The f-strings are supposed to be evaluated at... what time exactly? And some
566.
▲
by
crabbone
2y ago
I work in a company that has principals and fellows. Here's what you are missing: * Overwhelming majority of programming companies don't have anything like that. * Overwhelming majority of programmers, even if they work in a comp
567.
▲
by
crabbone
2y ago
Python was never a good language. It was always a joke. But jokes have a short shelf life. The reason to use it was to be in the opposition to the pompous way of how the mainstream was trying to do things. It's like with academic dr
568.
▲
by
crabbone
2y ago
Oh, thanks. I see now.
569.
▲
by
crabbone
2y ago
Haha, good one. Well, I'm not saying there's no difference between programmers in terms of how well they can do their job. All I'm saying is the difference isn't reflected in the paycheck. If you are a good programmer
570.
▲
by
crabbone
2y ago
Well, then, I guess, I should've prefaced what I wrote with "ideally". Of course, there are circumstances we, the flesh-and-blood people cannot change, and if Python is all there is, no matter how good or bad it is, then it&#
More ›