Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IlliOnato
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
IlliOnato
6y ago
I am no expert either, but a paper-napkin calculation tells me yes, this can happen. Basically, just based on impulse and energy conservation, and some assumptions on the size and number of fragments, a head-on collision of two satellites g
212.
▲
by
IlliOnato
6y ago
This is important correction. But a high-speed collision at a very low orbit can trow debris to not-so-low orbit. How big of a problem this can be is something to model and calculate, it's not something one figures out just from the ge
213.
▲
by
IlliOnato
6y ago
> not to mention the opinionated tooling of cargo, rustup, etc that follow the same flawed principles as npm, rvm and even cpan Can you specify, what are these flawed principles? And what would be a better system? Thanks!
214.
▲
by
IlliOnato
6y ago
Well, as far s I understand it, Diode Drive "competes" with OneDrive and DropBox, not with on-premises NAS. There is a reason OneDrive and DropBox exist and are widely popular, they don't seem a "solution in search of a
215.
▲
by
IlliOnato
6y ago
Perhaps not exactly what you ask for, i.e. not that much on hardware/engineering, rather on physics and mathematics the quantum computing is built on: https://www.amazon.com/Quantum-Computing-since-Democritus-Aa...
216.
▲
by
IlliOnato
6y ago
Exactly what I am doing. Tabs on the right on the right-hand monitor on Mac (which has window controls on the left). They never get in the way, basically I only see them when I am going to use them.
217.
▲
by
IlliOnato
6y ago
Tabs on the side is the real reason I am using Vivaldi as my primary browser. Tab stacks are useful, too, although I typically only use them when doing research of some kind. Just installed the new version with two-level tab stacks, seems
218.
▲
by
IlliOnato
6y ago
AFAIK even the most modern Perl 5.32 runs Perl 4 programs just fine, so "porting" programs from 4 to 5 was "trivial" in the strongest sense. Perl 7 finally is going to break this compatibility, at least according to the
219.
▲
by
IlliOnato
6y ago
> You don't need fancy features to pattern-match a number. You would be surprised. If by a number you don't mean just a sequence of digits, and includes say floating point numbers, a regex to match it surprisingly complex. Most
220.
▲
by
IlliOnato
6y ago
Yeah, this is most familiar to me too. Still, I'd argue it's 1-based. 00:00 is a point in time, but the first second is between 00:00:00 and 00:00:01, and it's "00:00:01" when it has elapsed. No?
221.
▲
by
IlliOnato
6y ago
The first second is one which passes between 0 and 1. Counting time is 1-based. Points in time (which have no duration) are 0-based...
222.
▲
by
IlliOnato
6y ago
But 00:00:00 does not represent the first second of your day. It represents a _point_in time, which has no duration. The first second of your day is an interval between the moment your clock shows 00:00:00 and the moment it shows 00:00:01.
223.
▲
by
IlliOnato
6y ago
Ah, this makes some sense, thanks.
224.
▲
by
IlliOnato
6y ago
I hope you are not iterating over floating point numbers between 0 and 9.9999 :-) But your example is just the case for using 0 <= x < 10 in that _particular_ case. However, if I want all numbers greater than zero and up to and inclu
225.
▲
by
IlliOnato
6y ago
... And I (a non-native English speaker living in the US) always have trouble remembering what 12 AM and 12 PM means, even after all these years I have to look it up every time, and sometimes it drives me nuts. (For a moment I hoped your ex
226.
▲
by
IlliOnato
6y ago
Your (1) only affects compilation time, and even this is assuming a particular implementation of arrays (which is not a given). Your (2) I don't fully understand. Why would you need to use "modulo and division into round/ceil
227.
▲
by
IlliOnato
6y ago
While I don't have a strong preference in this "war", I can think of an interesting argument for 1-based. Our time counting is 1-based. There is no zeroth second, zeroth minute, hour, day, month, year, or century. This actual
228.
▲
by
IlliOnato
6y ago
No, no "period". There are plenty of languages that either require you to initialize your variables, don't allow to use a variable until it's initialized, or give an uninitialized variable a special value like "unde
229.
▲
by
IlliOnato
6y ago
Perl initializes its scalars to "undef", not 0. If you try to use undef as an array index, it will convert it to 0 but issue a warning. I'd prefer it to be an error instead.
230.
▲
by
IlliOnato
6y ago
Why would you need to "wrap around" an array? I guess it's helpful if you use an array to represent a cyclic group, but how often this happens in practice? And when you need the number of the last element, you need to do A[n
231.
▲
by
IlliOnato
6y ago
I don't have a strong position on 0-based versus 1-based, but Dijkstra's argument does not make any sense to me. He says that expressions A ≤ x ≤ B, A < x ≤ B, and A < x < B are confusing and a source of errors, but A ≤ x
232.
▲
by
IlliOnato
6y ago
Helps how?
233.
▲
by
IlliOnato
6y ago
I think the idea is to have it adopted in stages. First, to communicate within a single organization or project. Second, between organizations/groups who adopted it already. Third, when critical mass is reached, open it. The really coo
234.
▲
by
IlliOnato
6y ago
If I understand them correctly, they have in mind the following: Stage 1. Organizations would use it to create _internal_ messaging systems, for employees/members only. At that stage it does not replace e-mail, and both systems are use
235.
▲
by
IlliOnato
6y ago
> Unfortunately, backreferences, lookahead and lookbehind cannot be supported without major changes that alter asymptotic worst-case complexity. I live and die by regexes, and regexes without backreferences and lookahead would be pretty
236.
▲
by
IlliOnato
6y ago
The problem is, even if I can be OK with bugs and problems with Signal UI, I cannot make my friends (or my 80-year-old Mom) be OK too. I personally know literally nobody who uses Signal (and a number of my friends are geeks:-)). Network eff
237.
▲
by
IlliOnato
6y ago
I think your concern is valid, but I think it's the general case with any powerful tool: it can be abused, or shoot you in the foot, and requires discipline to apply. I don't have REPL-driven development experience, but I think we
238.
▲
by
IlliOnato
6y ago
For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken