Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marcianx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
marcianx
3y ago
He might have meant that there were lower-hanging fruits with which he could have written his theses much earlier and he got distracted by a more complex challenge.
32.
▲
by
marcianx
3y ago
Alternatively, leave the FFs and increase the other channels to 80 and above to desaturate for a nice pastel look.
33.
▲
by
marcianx
3y ago
I'm pretty sure it's not undefined behavior in rust in release mode if it does overflow. It's fully specified behavior, I believe.
34.
▲
by
marcianx
3y ago
I don't take it that way, and I'm deeply fortunate to be living the life suggested by GP. If I get to do what I'm passionate about even if it includes the closely-related grungy part to make it successful (not an altogether d
35.
▲
by
marcianx
3y ago
Actually, no species of bats lay eggs - they are mammals, and not the egg-laying kind (platypus or echidna).
36.
▲
by
marcianx
4y ago
Haha, yes! I'm a software engineer and it took me a decade of smartphone usage before I realized that long-pressing various keys (e.g. vowels, symbols) shows a pop-up allowing you to enter related characters (e.g. á, æ, ¡, ₹, ±, ·, ½,
37.
▲
by
marcianx
4y ago
0th derivative = position 1st derivative = velocity 2nd derivative = acceleration 3rd derivative = jerk 4th derivative = snap 5th derivative = crackle 6th derivative = pop I just learned the last 3 due to this discussion and Wikipedia[1][2]
38.
▲
by
marcianx
4y ago
Is that last point not obviated by not building AIs that "suffer"? Shouldn't that be the responsibility of its creator to not create "suffering", whatever that is?
39.
▲
by
marcianx
4y ago
I wonder whether he was demonstrating this: https://youtu.be/w0sz5WbS5AM?t=1168
40.
▲
by
marcianx
5y ago
You don't need another license. You just need to either (1) not require a CLA, or (2) if you do, write the CLA so that it prevents you from doing that with others' contributions.
41.
▲
by
marcianx
5y ago
Indeed, that's exactly why there's no uninteresting number! https://en.wikipedia.org/wiki/Interesting_number_paradox
42.
▲
by
marcianx
5y ago
I've seen a bunch in NYC, especially in older apartment studios.
43.
▲
by
marcianx
5y ago
Transforming a linear matrix equation to Reduced Row Echelon Form (rref) [1] allows solving it very easily or writing a minimal set of variables in terms of others if you don't have enough independent equations or discovering that the
44.
▲
by
marcianx
5y ago
Linux desktop already came for me personally a long while back. I've been single-booting Linux and gaming for an incredibly long time. CodeWeavers[1] has done amazingly for the Linux gaming scene via - Steam's Proton (Steam pays C
45.
▲
by
marcianx
5y ago
Thanks for linking. Per the Wikipedia article, the drug was also to blame due to it suppressing her ability to urinate. It also quotes: "If Leah had taken the drug alone, she might well have survived. If she had drunk the amount of wat
46.
▲
by
marcianx
5y ago
NYC to Montreal (~370mi) takes ~8 hours by bus and 11 hours by train, though granted, times at Customs is more variable for the bus than for the train. I'm often surprised at how much the train shakes side to side on the occasions it&#
47.
▲
by
marcianx
6y ago
Oh, in that case, I have an even shorter "program": Hello world Run it with `cat`. ;)
48.
▲
by
marcianx
6y ago
The article touches on this with: > k = x³ + y³ + z³ is what number theorists call a Diophantine equation — a kind of algebraic structure whose properties have fascinated mathematicians for millennia. “They’re rich enough to encode [othe
49.
▲
by
marcianx
6y ago
If you can't do the curriculum standard, how will you build the non-standard? CS is very much an on-the-shoulder-of-giants field.
50.
▲
by
marcianx
6y ago
Some (hopefully) constructive feedback based on my experience on this site: - At first, the site looked like a slideshow with prominent prev/next at the top and a title content that takes the entirely of my desktop monitor. So, natural
51.
▲
by
marcianx
6y ago
Employees can revoke access for any of their keys/dongles once they realize they are missing. The company can also send an automated warning and auto-expire a key that's not been used for a while.
52.
▲
by
marcianx
6y ago
How can you? One is taking about 80% of the work and the other is talking about half the work. You would need a distribution of the work impact across the employee population first.
53.
▲
by
marcianx
6y ago
> first, modern CPUs have invested a lot of silicon into branch prediction, so if a function pointer has been called recently it will likely be predicted correctly the next time and called quickly Huh, TIL. Branch prediction is normally
54.
▲
by
marcianx
7y ago
FWIW, I have given major conference talks years back on my linux laptop with PowerPoint running via Crossover Office (wine), mostly due to my advisor's insistence on using PowerPoint. So that has already been a thing for a long while.
55.
▲
by
marcianx
7y ago
Yes, it's completely safe and its rust equivalent is let x = vec![1, 2, 3]; process(std::mem::replace(&mut x, Vec::new())); x.push(4); https://doc.rust-lang.org/std/mem/fn.replace.html
56.
▲
by
marcianx
7y ago
Yes, a borrowed string slice `&str`, whose lifetime is tracked precisely by the compiler to avoid use-after-free errors. https://doc.rust-lang.org/book/ch04-03-slices.html#string-sl...
57.
▲
by
marcianx
7y ago
I don't think mutability is a concern if your goal is to get a bidi map between strings and (mutable) _instances_; i.e. if you just want to use the reference to the dict itself as the hash rather than the contents of the dict itself.
58.
▲
by
marcianx
8y ago
I'm far more inclined toward img.assign(w*h, color); myself.
59.
▲
by
marcianx
8y ago
Rust does have these abstractions. The corresponding rust traits are `IntoIterator<Item=T>` and `Iterator<Item=T>`. For example: - Vec<T> implements IntoIterator<Item=T> - &Vec<T> implements IntoItera