Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
691.
▲
by
weberc2
7y ago
This experience is commonplace in Python. Can’t speak so much for other languages.
692.
▲
by
weberc2
7y ago
This tends to be more important in dynamic languages where "the outputs" are often hilariously far from what is reasonable to expect. At least that's where I find I use a REPL in Python--load in some poorly-documented 3rd par
693.
▲
by
weberc2
7y ago
Yeah, like I said, it works at a standard terminal, not in the VS Code integrated terminal.
694.
▲
by
weberc2
7y ago
I'm using a Mac.
695.
▲
by
weberc2
7y ago
Yeah, I'm not sure why, but this happens in VS Code's integrated terminal, which also has other readline-related issues (alt+backspace deletes to the previous space instead of deleting the previous word, for example). In any case,
696.
▲
by
weberc2
7y ago
Generally the Go runtime (garbage collector, scheduler, allocator, etc) alone is 2-5MB, for additional context.
697.
▲
by
weberc2
7y ago
I think this is a matter of personal preference. At work my primary language is Python and I rarely use the REPL, and when I do, it's a regrettable experience--can't use up arrow to get previous command, can't use arrow keys
698.
▲
by
weberc2
7y ago
I took care not to say that you were anti-unikernel; I was articulating the anti-unikernel position. I'm not sure what you actually meant, so I'll take you at your word that you weren't moving goal posts--in whatever case, th
699.
▲
by
weberc2
7y ago
You're moving the goal posts and invoking a straw man. No one is advocating for "pretending", and the anti-unikernel argument is that the inherent cost of unikernels in general is the loss of kernel debugging tools; not simpl
700.
▲
by
weberc2
7y ago
Is this meant to be a rebuttal? It's entirely compatible with the parent comment...
701.
▲
by
weberc2
7y ago
I guess I was giving the benefit of the doubt, since that's such an irrelevant nit to pick...
702.
▲
by
weberc2
7y ago
The Nix expression language has branches and functions (including recursive functions). It is Turing complete, and it probably is necessary for its charter.
703.
▲
by
weberc2
7y ago
The complicated bits are the import notations (what do the different variations mean and when to use them?), the recursive declarations (and knowing when to use them). Also, since expressions are often functions and the nixpkgs people don’t
704.
▲
by
weberc2
7y ago
Those things do translate into some complexity in some real world code bases, but other features save much more complexity. On balance, Go comes out ahead IMO.
705.
▲
by
weberc2
7y ago
You largely missed the point of my post. I was showing that Go values simplicity and consistency. The examples I used to illustrate that were exactly that: examples. They were not a list of features that were novel to Go, as you seem to hav
706.
▲
by
weberc2
7y ago
I like your points about diagnostics. I definitely feel this—it seems like one of Go’s weakest points. That said, Go is still one of the best tools available for building software today.
707.
▲
by
weberc2
7y ago
I understand what you mean by “bad ergonomics”, but I think of those things as “ergonomics in the small”. You end up writing for loops and error checks. It’s verbose but not complex, and it’s all very localized. Further, people get really h
708.
▲
by
weberc2
7y ago
Can we change the link URL to use HTTPS?
709.
▲
by
weberc2
7y ago
DDL?
710.
▲
by
weberc2
7y ago
Our webpack builds are really slow and we can’t seem to figure out how to profile it.
711.
▲
by
weberc2
7y ago
I think the communication problem here is that you’re arguing against the notion that FP is a silver bullet, but no one here has made that argument, so it sounds like you’re arguing that OOP is superior. I buck pretty hard at this because e
712.
▲
by
weberc2
7y ago
The bit I fight with the most is how to package it all up for distribution. I'm not a frontend dev, and I vaguely understand that the answer is "webpack" but it's not clear to me what the happy path is for configuring th
713.
▲
by
weberc2
7y ago
> That's the whole problem I'm talking about. Like I said, it forces you to reduce all these interfaces to lowest common denominator. I don’t know what you mean by “lowest common denominator” or how “being forced to write good
714.
▲
by
weberc2
7y ago
Why should serialization and deserialization be “effort”? Your data objects shouldn’t be more complex than is trivially represented with JSON or else you have a different problem. Besides, while I’m not a microservices enthusiast, isolation
715.
▲
by
weberc2
7y ago
He’s trolling. He’s lumping in FP with bad programming practices like not writing tests or docs because he allegedly gets paid to “clean up code”.
716.
▲
by
weberc2
7y ago
> Yup. And tests and documentation are just overhead. Why post here at all if you’re just here to troll and start flame wars?
717.
▲
by
weberc2
7y ago
Right. I’m not an FP advocate by any means, but the worst tangled messes always involve inheritance and hanging methods arbitrarily off of data classes. Yes, you can write clean OOP code, but you end up avoiding everything that is character
718.
▲
by
weberc2
7y ago
I recall hearing that it's tube steel. The previous iterations used solid steel (maybe cast iron?) and were super heavy.
719.
▲
by
weberc2
7y ago
It's implied by the context of the thread. The subject is "ignorant reactionaries". No one has challenged that characterization, so we're left assuming that the commenter is arguing that "ignorant reactionaries"
720.
▲
by
weberc2
7y ago
As far as I can tell, you’re including suicides and attempted suicides, and you’re assuming that gun violence is evenly distributed across the population. If you live in rural America, you probably don’t know anyone who has been the victim
More ›