Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spoiler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
781.
▲
by
spoiler
5y ago
How is it implemented in Java or C# if not via runtime reflection? I've always assumed that's the way its done...
782.
▲
by
spoiler
5y ago
Ah, I stand corrected then. I've worked with the Microsoft tech stack very very little, so I've never bothered to learn C#. I've completely forgot about Java; I haven't used it in ages. Now that you mentioned Java, I rea
783.
▲
by
spoiler
5y ago
Ah, I don't use Apple devices, so I've never been able to play with Swift(1). So I didn't know Swift had it too; thank you for pointing it out! (1): which is a shame, I remember when it came out that it seemed like a nice lan
784.
▲
by
spoiler
5y ago
Ah, I've heard about aeson, but not used it. Thanks for pointing it out!
785.
▲
by
spoiler
5y ago
I don't think that's true. Or at least we have different ideas about what's being discussed... Let's take JSON or YAML for example: Rust's closest siblings C and C++ are typed, and you get a pretty much untyped mess
786.
▲
by
spoiler
5y ago
For me personally, I found that they help reduce the noise in the code. I also noticed that it makes it a bit easier to "read" the code (not just visually, but "semantically" if that makes sense). As in, I think I have t
787.
▲
by
spoiler
5y ago
Your original question of "does typescript get better?" can be rephrased as "does any tool become easier to wield with greater/better understanding?" and the answer is "yes". Without a [concrete] example o
788.
▲
by
spoiler
5y ago
While this is probably alright for some data, I'd definitely recommend using something like a Map instead (especially if the object mutates) for things you have control over (ie it's not describing an endpoint or something similar
789.
▲
by
spoiler
5y ago
I wanna tell a story that happened a few years ago (edit: turned out to be loosely related stories as I remembered them)... Suddenly #ruby had a new rule: the word "guys" was banned to refer to people. Why? Because it's sudde
790.
▲
by
spoiler
5y ago
There are native solutions in browsers. I think they mean that they'd have to use their own custom "rust to dom" ones, if they didn't like the native browser ones (they do have some limitations around styling and formatt
791.
▲
by
spoiler
5y ago
Hello! Thank you for pointing that out! I was a bit silly and somehow came to the (wrong) conclusion that "Lucas" (the first commenter) was the name of the author... I don't even know what to say lol. I just went a bit derp
792.
▲
by
spoiler
5y ago
Hi! Thank you so much for pointing out it's not a man! I thought it was "Lucas", because of the comment . I've updated my comment to reflect that. I also completely agree that it's a much bigger picture and that li
793.
▲
by
spoiler
5y ago
Ah, thank you for pointing it out. I had a brain fart. I edited and explained in the comment.
794.
▲
by
spoiler
5y ago
I love her attitude, and I think mine's similar. Main difference being that I usually enjoy the learning experience; don't find it frustrating. I kinda love that beginner feeling and knowing there's lots to explore. Even if I
795.
▲
by
spoiler
5y ago
I think people are harsher over the intent more than the the hashing algorithm being used (it does exacerbate the problem, though)?
796.
▲
by
spoiler
5y ago
Isn't this (at least in part) addressed by NLLs[1], or am I misunderstanding? [1]: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll....
797.
▲
by
spoiler
5y ago
I saw a lot of people talking about programer/developer vs computer scientists. I just wanted to add to that that CS/maths doesn't make you a good engineer either. Some of the smartest computer scientists I know are just horr
798.
▲
by
spoiler
5y ago
Is there a version without the paywall pop-up? :(
799.
▲
by
spoiler
5y ago
I used to read dystopian cyberpunk and think "lol that's stupid, no way will it get that far" and it's increasingly more often that I see stuff from dystipian fiction creep it's way into our lives lol
800.
▲
by
spoiler
5y ago
Sorry, I should've clarified that I meant specifically meant in recent versions of Rust. I wasn't speaking in the general sense. I've experienced slow compilation times in C++ projects, although not of the same magnitude you
801.
▲
by
spoiler
5y ago
In my experience (C++ dev at work) C++ generally feels slower than Rust. Edit: I quickly realised, this might only because of Rust's—in my opinion—superior type system and tooling, so maybe it just requires less waiting for compilati
802.
▲
by
spoiler
5y ago
While I agree that the compile times are bizarre, I don't think we can jump to conclusions such as "such astronomical compile times are rather a result of terrible code quality" without knowing more about what's being co
803.
▲
by
spoiler
5y ago
I'm really curious what you were compiling, and if you remember the machine specs (and was the machine under other load at the time). Two hours seems beyond ridiculous. Also, I'm assuming it was a full (as opposed to an incremen
804.
▲
by
spoiler
5y ago
I don't understand why this comment was flagged and so heavily downvoted (edit: vouch seems to unflag it). Can someone explain? The advice seems reasonable to me.
805.
▲
by
spoiler
5y ago
Out of curiosity, what did you parse? Since in I imagine copying things is quite useful sometimes when generating an AST. On top of that, I think sometimes you can't avoiding copying (imagine a string with special backslash sequences l
806.
▲
by
spoiler
5y ago
Dungeon Alchemist seems really cool (I'm a backer), but I'm not entirely sure that it is related. DA is basically procedurally generated furnishing (with a few params), but it doesn't create 3D models from what I understand,
807.
▲
by
spoiler
5y ago
Personally, I feel like I've become a bit "manic" about it. I'm "idle working" (ie sitting and not working, but also not enjoying myself either), and then I feel guilty about it and tend to work longer hours. I
808.
▲
by
spoiler
5y ago
On one hand I do like the idea that it's a shell since it means in it's nicely integrated with itself (can't think of a better phrase), but on the other hand it's also what's making me a bit reluctant to seriously c
809.
▲
by
spoiler
5y ago
In that case it makes more sense. It's still kinda confusing on its own, though. Maybe link to the presentation slides directly, or better yet—upload a video of yourself doing the presentation!
810.
▲
by
spoiler
5y ago
I appreciate the sentiment for this, but I personally find the art and composition off-putting. The writing is a bit confusing. What's with the file transfer jargon? Was this part of a bigger presentation or blog post maybe?
More ›