Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SCdF
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
391.
▲
by
SCdF
9y ago
impl Material for Lambertain { ... fn box_clone(&self) -> Box<Material> { Box::new(Lambertian { ..self }) } } Holllllly shit I think that works. Why am I allowed to
392.
▲
by
SCdF
9y ago
Yeah. So I'm following a ray tracing book that uses C++ as example code, and am using Traits as a form of interface: there is a trait of Material that has a function on it, and then there are different "implementations" of Ma
393.
▲
by
SCdF
9y ago
I didn't really want to get into the nitty gritty because it detracts from the point (I considered not having the rant paragraph at all for fear that it would just be deconstructed and the exact examples becoming the focus of what I sa
394.
▲
by
SCdF
9y ago
> lifetime system logical on its own terms but very, very unnatural to learn That is a succinct explanation of it, yes! Like I can read the documentation and nod along, and the rules seem simple. Actually then remapping your brain and ho
395.
▲
by
SCdF
9y ago
You're absolutely right. What I really meant was that you can't have Vec<T> where T is a trait without also wrapping that in a box, which for me in turn doesn't work for a bunch of other reasons. In any case, my point r
396.
▲
by
SCdF
9y ago
I am currently learning Rust and I feel this intensely[1]. I really want to like Rust, but I feel like the way they cope with no GC (lifetimes, borrowing) fights me at every turn, and really simple situations in other languages[2] become th
397.
▲
by
SCdF
9y ago
I only took 5 months off, so it doesn't look as "bad" as yours, but I found spinning it as self-learning worked as a positive for me. So in the interview (I only did one…) I talked about how I wanted to take a break to try ne
398.
▲
by
SCdF
9y ago
I'm so confused, I didn't even know JDK9 was out yet! Reading elsewhere they are apparently moving to a 6 month release cycle. For people using Java in businessey environments, I'd love to hear your thoughts on this. Do you t
399.
▲
by
SCdF
9y ago
> Poor analogy. Most people with Windows computers can’t simply switch to Linux and expect their lives to be the same - they have file formats and IT department setups to maintain - while most people could quit Facebook and see no signif
400.
▲
by
SCdF
9y ago
I'll give you that last one, definitely.
401.
▲
by
SCdF
9y ago
To be clear, Rust is easily 10x better than JS in that regard, it was just an obvious example for me to use where <1.0 code is now weird and wrong :-) I have nearly given up looking for JS answers in SO because they are such garbage thes
402.
▲
by
SCdF
9y ago
> my feeling is that you're talking about questions that do seem clear to you and I'm talking about questions that don't seem clear to me. Totally. > Are you really talking about spelling nitpicks? Sometimes. I'm t
403.
▲
by
SCdF
9y ago
You misunderstood me, my points there are different. In SO, re-askings are not allowed, but as the question becomes less and less similar at some point it will be allowed. The problem is that "canonical" question for that problem
404.
▲
by
SCdF
9y ago
> Because it really sucks to spend half an hour on an answer and then op goes "actually I'm doing this" and the spec shifts completely rendering your effort wasted. This is exactly how I feel about asking a question! Excep
405.
▲
by
SCdF
9y ago
I definitely see that side of those, though I think they both have pros and cons. Especially in the JS space[1], there are lots of historic answers upvoted on SO that are now wrong and you have to scroll around (or find a slightly rephrasin
406.
▲
by
SCdF
9y ago
I was in the beta of SO. I almost never interact with it anymore. Asking a question on SO is a last resort to me, and I get a horrid sinking feeling in my gut when I feel forced to do so. The people[1] who are still active on it seem to be
407.
▲
by
SCdF
9y ago
They literally started with "Am I missing something"
408.
▲
by
SCdF
9y ago
I am coming around to the idea that this particular grievance-- at least the camera and microphone bit-- is the "terrorists" of privacy. That is to say: it's an absolute bad thing and is a concern. But because it's so ea
409.
▲
by
SCdF
9y ago
Does anyone know of an iOS client that supports Argon2? The amazing Keepass2Android already supports it, but I can't move to it until there is also an iOS solution…
410.
▲
by
SCdF
9y ago
Which London though? There are a lot of different boroughs, and the way their house prices move seem to be somewhat independent of each other. The bottom falling out of Kensington because there is no oil money seems like a vastly different
411.
▲
by
SCdF
9y ago
> but classic common sense Common sense is kind of a myth though right? You have no clue what is and isn't good for you: that's the point of people demonizing fat one minute and sugar the next, because you can't just do th
412.
▲
by
SCdF
9y ago
> If you're in the US or Europe, you don't have access to fresh coconuts. What does fresh mean in this context? I can buy them whole from the supermarket…
413.
▲
by
SCdF
9y ago
I am ignorant as to how that could matter? It's managed writes to a hard disk. How could the brand of hard disk, or the mobo, or whatever, matter in this situation?
414.
▲
by
SCdF
9y ago
Out of interest, what stack are you using to achieve offline first? Where I work[1] we are currently using CouchDB + PouchDB, with our app being a SPA webapp wrapped in an android wrapper[2]. I'm interested what your approach is and ho
415.
▲
by
SCdF
9y ago
> MongoDB has successfully played the 'hype first, features later' strategy. Now it is well on the way to being a decent swiss-army-knife database. I have no idea how capable MongoDB is these days, as I haven't used Mongo
416.
▲
by
SCdF
9y ago
Out of interest, what are the other options (specifically in my case, for MacOS). For me, VLC has been the most stable and least wonky option for years now, but I'm not sure I'm aware of everything that is out there.
417.
▲
by
SCdF
9y ago
This is not my experience with Apple. I had to fight incredibly hard for them to fix something that was under warrantee because I bought it online in HK and then wanted it fixed in the UK. It was one of the most painful support experience
418.
▲
by
SCdF
9y ago
Is that argument really relevant? Aren't they human beings who don't chose to be transgender? So, their existence is their right. It's not a political position, or a favourite flavour of icecream, it's a human state of b
419.
▲
by
SCdF
9y ago
No, everywhere. Or at least, also in NZ and the UK and a bunch of countries around Europe.
420.
▲
by
SCdF
9y ago
I use both. Sometimes it's more convenient to use command line, and sometimes (especially with more complicated queries that you want to modify and fiddle with a lot) a GUI is more convenient.
More ›