Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
topaz0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
541.
▲
by
topaz0
4y ago
We're putting unit squares into larger squares, without letting them overlap. Say you want to put 5 unit squares in a bigger square. You could put them into a square of side length 12, or 100, or 3, with various arrangements. This page
542.
▲
by
topaz0
4y ago
> 50 being octal for 64 Looks like 40 to me... 64 would be 100.
543.
▲
by
topaz0
4y ago
> So apparently these functions intend to consume x. I guess in that case I don't really get the complaint. If there's a good reason for f or g to consume x, I would think I would always want the copy to be explicit. But I co
544.
▲
by
topaz0
4y ago
It all makes sense, sure. It's not that I don't understand why rust would distinguish these things. The question is really, do people writing rust code not mostly default to passing the immutable reference when that's an opti
545.
▲
by
topaz0
4y ago
I see. Is it not common practice for functions to expect references when they can (i.e. when they don't need to modify the argument)?
546.
▲
by
topaz0
4y ago
I have mainly read about rust, not worked with it, but the section about: let x = compute_x(); f(x.clone()); g(x); was confusing/surprising to me. Isn't the whole point of default-immutable that you can use x with
547.
▲
by
topaz0
4y ago
> a small proportion of uses might result in a disproportionate amount of bugs. This is what concerns me. Sure, using decimal floating point solves 0.1 + 0.2 = 0.3 (which I can't imagine ever writing in real code). But if you get us
548.
▲
by
topaz0
4y ago
You're mistaken. In fact 0.3 is closer to the next-smaller float than it is to the next-larger one which results. But the result of float(0.1) + float(0.2) is not any of those things, but rather halfway between the previous and next fl
549.
▲
by
topaz0
4y ago
> it's just better This assertion does not withstand scrutiny. You may like being able to get True as the result of 0.1 + 0.2 == 0.3, but the landscape will still be littered with rounding errors as soon as you try to do anything no
550.
▲
by
topaz0
4y ago
I don't know what point you are trying to make. You are describing some of the ways that people higher up the hierarchy have more power to demand higher wages. That's what I was talking about.
551.
▲
by
topaz0
4y ago
I didn't say it would be easy. What I said is that the potential for change is rooted in organizing and class struggle. > regulatory capture Regulatory capture just is the capitalist class organizing to shape the structures of soc
552.
▲
by
topaz0
4y ago
Somehow that wasn't always the case in the past, so presumably it's also possible for things to be different in the future. If we have the audacity to imagine a different world, it is fixable through organizing and demanding that
553.
▲
by
topaz0
4y ago
This is not 100% wrong, but you are missing an important part of the calculus, which is that as you go up the hierarchy you have more overall and more concentrated power to demand higher pay, out of proportion to the value of your labor.
554.
▲
by
topaz0
4y ago
Note that this guide appears to be quite old, although there are updates as recently as 2022. E.g. there are added notes about issues that were fixed in Fedora 10, which came out in 2009. (not that this should be considered as a negative
555.
▲
by
topaz0
4y ago
"coding", sure -- I say that all the time too. But "coding language" is something I have never heard.
556.
▲
by
topaz0
4y ago
I'm currently working on moving across the country, which involves a ton of small, more or less self-contained tasks that all need to be done by a set date. There is some room for prioritizing (e.g. pack this room so there is space to
557.
▲
by
topaz0
4y ago
Agreed.
558.
▲
by
topaz0
4y ago
Even if she owned them consecutively, to have done that she needs to be quite well off.
559.
▲
by
topaz0
4y ago
I also found it to be slow on my (now 7 year old) laptop. Not everyone has the luxury of frequent upgrades. And I tend to prefer speed over bells and/or whistles.
560.
▲
by
topaz0
4y ago
You say it replicates the logic, but I think it's more useful to say that it describes the meaning: fib is the function on natural numbers that has that property plus the base cases fib(0) = 1 and fib(1) = 1. That's what fib means
561.
▲
by
topaz0
4y ago
Calling the organ rep "drab church hymns" is an unfortunately common misunderstanding. Both because the hymns can be beautiful and varied (both in compositional and performance style -- registration, improvised counterpoint, etc),
562.
▲
by
topaz0
4y ago
What you may notice from the other replies is that many of them conflict with each other. The reason is that this has much more to do with the rhythms of your own life and interests than with global trends. When I first started reading HN I
563.
▲
by
topaz0
4y ago
Funny seeing you here
564.
▲
by
topaz0
4y ago
I disagree. Sequences of reals are still sequences. So maybe hypothesis one has nothing to do with integers, maybe it's that the intervals are increasing geometrically. You're still going to take ratios and and start having sugges
565.
▲
by
topaz0
4y ago
You're looking at the sky and you see a bright and otherwise unexpected signal. Then you see it again, some time later. You write that time down as T_1. You don't know of any astronomical phenomena with period T_1, so you wonder w
566.
▲
by
topaz0
4y ago
If the intervals are relatively prime, it wouldn't take much to work out what the intended time unit was.
567.
▲
by
topaz0
4y ago
This is fun. For others who didn't know how dithering works, I found this helpful: https://beyondloom.com/blog/dither.html
568.
▲
by
topaz0
4y ago
Very true. That too is a feature of our society.
569.
▲
by
topaz0
4y ago
To start with, "don't deserve [...] because employees created all the value" is a straw man. Lots of other value Out There that they exploit that comes from other places than their employees' labor but also isn't &q
570.
▲
by
topaz0
4y ago
It is society collectively, by allowing those .1% of people have enough money to be able to fund such things on a whim.
More ›