Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rayhem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
Rayhem
3y ago
I'm no fan of inheritance either, but I'm not sure it's that cut-and-dry. As a rust example, it's not uncommon to see struct Horse {...} enum Quadruped { Horse(Horse), ... }; possibly al
32.
▲
by
Rayhem
3y ago
I wish English[1] had a word to describe the enjoyment felt from using a well-designed tool like this. "Ergonomic" comes close, but I think it's a little too utilitarian - it doesn't quite capture the "this is nice&
33.
▲
by
Rayhem
3y ago
It's by no means rigorous, but the gist of it is that 1. You're integrating the polynomial that best approximates the function over the interval. This is why quadrature is exact for polynomials up to some order: the best approxi
34.
▲
by
Rayhem
3y ago
Polynomials, sampling theory, signal processing, Fourier series, etc. are all so closely related that learning even a little bit of one of these things opens up such a wealth of other things to think about and explore. Splines like this bas
35.
▲
by
Rayhem
3y ago
I realize the rust evangelism strike force is a thing, but I can't help but think 5 | let scores = inputs().iter().map(|(a, b)| { | ^^^^^^^^ creates a temporary which is freed while still in use is e
36.
▲
by
Rayhem
3y ago
Do the physicist thing and just define all your constants to be one. "How long is a day? 1 day." "I slept for .37 days." This nicely unifies things with the tao manifesto[1] people since 1 day = 1 turn = 1 tau = 2 * pi r
37.
▲
by
Rayhem
3y ago
The #1 important thing I've found for collaborative online gaming (and collaborative online work in general) is *have a good mic*. Having three people in a room around one mic doing the THIS SPEAKER IS SMALL SO YOU SOUND FAR AWAY AND I
38.
▲
by
Rayhem
3y ago
> You can organize things in a way that they support these requirements or you can just let them figure out how to adapt their needs around some existing hierarchy. Now which one do you think is more efficient? I think this is a pretty g
39.
▲
by
Rayhem
3y ago
Yeah, I had a similar head-tilt at leading with "How are you doing on a personal level?" I'm not outright opposed to the question -- managers are human (gasp) and it is true that we tend to work better with humans when we c
40.
▲
by
Rayhem
3y ago
Similar story - a PI had written some code to from (row, column) indices of the upper triangle of a matrix (made somewhat tricky by excluding the main diagonal) to a linear index. He used a for loop to start from the beginning and count up
41.
▲
by
Rayhem
3y ago
> This gets to the why perfectly. Respectfully disagree. A matrix has basically nothing to do with "living on the surface of a cuboid". It's like saying FOIL is the "why" of binomial multiplication -- the "w
42.
▲
by
Rayhem
3y ago
I agree, and I think this reeks of the Monad Burrito Tutorial Fallacy[1]. Once you know what the manipulations are you can start to visualize doing them in these weird 3d ways, but the understanding came through the struggle to make a c
43.
▲
by
Rayhem
3y ago
Every apartment I've ever rented has had a barebones, one-temperature, set it and forget it thermostat. I would fully support legislation requiring a minimally-programmable thermostat in rental housing.
44.
▲
by
Rayhem
3y ago
> You don't hate jira, you hate that it's a mirror Is this just a restatement of Conway's Law[1]? [1]: https://en.wikipedia.org/wiki/Conway%27s_law
45.
▲
by
Rayhem
3y ago
I had a lot of fun working with the maintainers of this utility to better support Gaussian units[1]. This is usually done (incorrectly) by multiplying, say, some number of SI coulombs by a dimensionless constant (actually 2_997_924_580) to
46.
▲
by
Rayhem
3y ago
Interesting philosophical question: is awesomeness intrinsic or extrinsic (a matter of perception)? Can anything be intrinsic? If it's intrinsic, then yes, the probability that it is awesome should not be zero if you've never he
47.
▲
by
Rayhem
3y ago
> You’re welcome to fork it and try to sell it if you think that’s such a great idea. Emphasis mine. Are you implying the OP shouldn't raise these ideas? Have you ever had a complaint about a user interface in your car? You are, a
48.
▲
by
Rayhem
3y ago
I think this is just another manifestation of the "office hours phenomenon": 1. You don't understand a concept 2. You go to your professor's office hours with a question and ask them to explain. 3. They draw some squiggl
49.
▲
by
Rayhem
4y ago
> but there were definitely times when I distracted myself from proofs that wouldn’t work by learning how to make beautiful diagrams in latex + tikz. I have never, ever, regretted coming to the table with eye candy like this. Were some o
50.
▲
by
Rayhem
4y ago
> instead focus on how easy it would be to change the behaviour of existing code. This has been my principal design consideration for a while now. Not "the code should be short!" or "the code should be elegant!" but &
51.
▲
by
Rayhem
4y ago
I think this analysis is great and I like it a lot, but it's not quite what I was going for. Here, the size of a cell works against an independent measurement of length like "one meter". But, at a much more fundamental level,
52.
▲
by
Rayhem
4y ago
I've done a lot of philosophizing on the nature of units and there's a bit of an interesting wriggle there. Most people think "length" and "time" are different things, such that 1m + 1s = garbage. Mathy physi
53.
▲
by
Rayhem
4y ago
I did not make the original claim, that more rules stifles progress. Please show me the experiments done to demonstrate this or the logic used in deducing it and I will attempt to devise a counterexample.
54.
▲
by
Rayhem
4y ago
> By definition this ... stifles progress. This conclusion does not at all follow from the premise. The myth that more competition means you get a better result absolutely does not hold and needs to die. There's a fundamental equili
55.
▲
by
Rayhem
4y ago
> Curved monitors (reduces constant eye re-focusing on large monitors). Isn't this a bad thing? I've been lead to believe one of the most useful techniques to alleviate eye-strain is frequent re-focusing at a variety of distan
56.
▲
by
Rayhem
4y ago
> I don't really have many friends. For someone to be my "friend" they'd have to be a person I'd spend time with when I'm bored, and who I could reasonably count on to have my back when I need it. A friend
57.
▲
by
Rayhem
4y ago
This is very much called out in the Monad Burrito Tutorial Fallacy[1]. [1]: https://byorgey.wordpress.com/2009/01/12/abstraction-intuiti...
58.
▲
by
Rayhem
4y ago
It's something of a clearly ridiculous example and I'm sure a lot of people (myself included) would prefer using more modern solutions 99% of the time. However, I suspect that when you tell most people that also means their 91
59.
▲
by
Rayhem
4y ago
This basically happened to me when a friend was scheduling group videogames for the week. "If X and Y had Prime then they could order a switch and have it in time for Friday with free shipping!"* Gosh, if only there were some sort
60.
▲
by
Rayhem
4y ago
Yeah, this feels a lot like saying "My god, people, stop using telephones! Facetime has video! And the bitrate ! It's a million times higher! It's 2023, why would anyone use a POTS call?!" Sure, nicer technical specs ar
More ›