Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spoiler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
721.
▲
by
spoiler
5y ago
I won't go into super much detail, but think of generics as functions over types that generate new types based on type inputs (gross oversimplification). Comparable to functions that take value and return values, also it happens before
722.
▲
by
spoiler
5y ago
That's interesting! I never heard of caffeine withdrawal before, but it makes sense when I think about it. I know a lot of people who say they that can't function with caffeine. I'm not a big coffee drinker (and usually mix i
723.
▲
by
spoiler
5y ago
In me, it's partially a coping mechanisms, and a method to to silence the brain demons. It's interesting that you brought up food, because I'm an emotional eater too. I've had them under control for a while now, but the
724.
▲
by
spoiler
5y ago
Why do you find them self documenting? Usually it's just enum Method { Get = "GET" // ... } I usually always put doc comments on enums and their variants. Regarding why numeric ones are (onl
725.
▲
by
spoiler
5y ago
I wasn't aware of this. I guess that's a special way way of appreciating art (assuming the art isn't somehow volatile in "normal" conditions), if it's done out of legitimate interests (i.e. not money launderin
726.
▲
by
spoiler
5y ago
> I mean known in the crypto community. Surely a random person in the street has never heard of most crypto celebrities, but that wasn't my point. It might be due to my misconceptions about the crypto space then, but I always assume
727.
▲
by
spoiler
5y ago
> Because it would pop out of nowhere and nobody has ever heard of you. Isn't that everything in the crypto space right now? > So just like in the traditional art world, you need to be visible and networked. People who spend hund
728.
▲
by
spoiler
5y ago
You can't buy and sell the same item to yourself at an auction multiple times... Or am I missing the point you're trying to make? Also, the value is in the art, not the receipt. With NFT, that's not the case... Unless it'
729.
▲
by
spoiler
5y ago
Yes, good point. It's probably wise to stick around for at least a year or two in a company (subject to situation and your judgment, of course).
730.
▲
by
spoiler
5y ago
If you find yourself in a job where the engineering culture doesn't suit you, immediately start looking for a new job. You don't have to rush into the next job, be as picky as you need to be, but don't continue doing stuff th
731.
▲
by
spoiler
5y ago
This looks a lot more responsive/snappier than Clion. I sometimes have to wait half a minute for syntax highlighting to "catch up" (not always, so I don't understand what ails it), or for it to pick a new method/cla
732.
▲
by
spoiler
5y ago
Really amazing summary! I wasn't aware of some of these specifiers. I was alway a pretty basic fmt user due to my ignorance. I should go revisit some manual formatting code. :)
733.
▲
by
spoiler
5y ago
There also the problem of fact retention. I really doubt children will remember the name of the substance accurately, and then they suddenly drink hydrochloric acid, which to most people sounds "close enough," and that's just
734.
▲
by
spoiler
5y ago
The best thing that I found that works is Clion. Everything else in the ecosystem lacked polish, or ergonomic, or consistency. And Clion is lacking in these too, just not as much. Maybe I'm setting the bar too high for an old technolog
735.
▲
by
spoiler
5y ago
Rust incremental (and debug) compilation times aren't that bad, though. It almost feels like a mindlessly perpetuated rumor at this point. Sure, it's kinda slow when compared to something like Go, but the amount of extra work ru
736.
▲
by
spoiler
5y ago
Aah, your right that things have gotten better. Luckily I only had to deal with more "modern" DNS setups. Although, now that I think of it, you do need to be mindful even today. You could stills misconfigure them, but it's un
737.
▲
by
spoiler
5y ago
There's nothing wrong with glue records. If you want to "selfhost" them, you will needs to set that up. Most registrars will require you to explicitly specify the addresses of the name servers when you try to self host the NS
738.
▲
by
spoiler
5y ago
I write C++ (for better or worse), and I know Boost is an algamation of libraries and many hard working maintainers. I didn't mean to imply anything bad about boost. I think you misunderstood me because I gave a poor example. I'm
739.
▲
by
spoiler
5y ago
I do agree that it's relatively new, but not _that_ new. I feel like it's been around for at least a couple of years (but my sense of time since the COVID pandemic started has been unreliable). FWIW: Yarn has had lock files for a
740.
▲
by
spoiler
5y ago
Npm is the biggest and most active developer ecosystem out there. Statistically, mistakes/issues are going to happen. Given its popularity, it's easy to talk shit about npm, but rarely do people say anything actionable. C++/b
741.
▲
by
spoiler
5y ago
Npm has lock files, and the documentation tells you why they exist and when to use them (eg `npm ci` being the shortest/easiest way to avoid this incident).
742.
▲
by
spoiler
5y ago
Can you describe why this workflow is difficult? I'm probably missing or misunderstanding something, as we literally use this workflow at work, and we never had dependency issues with our npm projects... Edit: npm has lock files and a
743.
▲
by
spoiler
5y ago
Hi! I'm curious what options did you tweak? Also, what prompted/motivated it?
744.
▲
by
spoiler
5y ago
> Contrast to Chrome first developers who often get caught by cross browsers incompatibilities just like they did back in the days when they were IE first developers : ) I'm not entirely sure how I feel about this statement (and com
745.
▲
by
spoiler
5y ago
I can't fathom why anyone would downvote this comment. This could be a sign of self-esteem issues (or other stuff; I'm not qualified enough to speculate) that will or already does diminish their quality of life and happiness. And
746.
▲
by
spoiler
5y ago
Right, I see. I guess I understand where you're coming from (basically your expectations are shaped by other languages). That's fair enough, and I've had some of my expectations broken fore the same reasons in Rust, and it w
747.
▲
by
spoiler
5y ago
I think it doesn't ask for length because it would increase the chance of mistakes happening. You don't really need to pass the length "manually" because its encoded in the value already. Not sure what you mean by offset
748.
▲
by
spoiler
5y ago
And so the plot thickens...
749.
▲
by
spoiler
5y ago
I think you and the previous poster are talking about the same thing. I think they are pointing out that there's no way to express (I guess there is via macros, but it's a workaround) this, whereas it's innate to Cargo and Ru
750.
▲
by
spoiler
5y ago
They're not encouraged to use unbuffered io. The documentation for FS and IO both point you in the direction of BufRead and explain why you might want it (in the intro section of each).
More ›