Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cygx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
541.
▲
by
cygx
7y ago
The GPL restricts vendor rights to protect end user rights.
542.
▲
by
cygx
7y ago
Such usage may exist, but it should be rare. In the words of Wikipedia, It is conventional to use the plus sign to only denote commutative operations . For possible alternatives, Perl6 uses ~ for string concatenation (and prefix ~ for stri
543.
▲
by
cygx
7y ago
Note that HN formatting messed it up (there are stars missing before the first two closing parens). The regex itself is indeed quite straightforward, just a bit hard to read due to all the required backslash-escaping.
544.
▲
by
cygx
7y ago
Python will still be around, but how popular it'll be is an open question. For example, Pascal or Perl were huge in their prime, and while they continue to stick around, the torch has been passed on.
545.
▲
by
cygx
7y ago
*exterior algebra
546.
▲
by
cygx
7y ago
C/C++ does not have alias-annotations built-in Restrict?
547.
▲
by
cygx
7y ago
It's still around in the high-performance scientific computing world. Feature-wise, C99 basically looks like playing catch-up with Fortran to better compete in that space (eg restrict, complex numbers, type-generic math functions, stac
548.
▲
by
cygx
7y ago
The venerable master Qc Na was walking with his student, Anton. Hoping to prompt the master into a discussion, Anton said "Master, I have heard that objects are a very good thing - is this true?" Qc Na looked pityingly at his stu
549.
▲
by
cygx
7y ago
I could see its use in math-heavy code as well. That might be a rather narrow domain, but one where features like this (or operator overloading for another example) do help to reduce syntactic pain.
550.
▲
by
cygx
7y ago
Probably blueberries or bilberries. Quote from some random search result[1]: Huckleberries are edible and quite tasty. The small, round berries resemble blueberries. In fact, in some parts of the United States, huckleberries might be calle
551.
▲
by
cygx
7y ago
But they do? A 4d rotation can be decomposed into a left-isoclinic and right-isoclinic rotation, which in turn can be represented by left- and right-multiplication with unit quaternions.
552.
▲
by
cygx
7y ago
So why not just use Euler axis/angle representations instead? Composition of two rotations in axis/angle representation basically proceeds via the quaternionic formula, ie in terms of half-angles. So if you need to do that a lot
553.
▲
by
cygx
7y ago
Note that homeopathy was invented by a German doctor, Samuel Hahnemann. It grew big at the turn of last century, with hundreds of homeopathic societies with their own apothecaries. Today, lobbying powers of a profitable industry also play
554.
▲
by
cygx
7y ago
What's more predictable than the day/night cycle? We can work around that. More problematic is what's known as a 'Dunkelflaute' in German: Overcast skies, fog, etc, combined with no wind, for days. Doesn't happ
555.
▲
by
cygx
7y ago
Because nuclear is more expensive than on-shore wind and solar (as well as natural gas, for that matter). The problem with renewables today is not cost, but concerns about variability of the output.
556.
▲
by
cygx
7y ago
Because remember, Norway is not in the EU. So? The grids of the Nordic countries are already interconnected. There's also a 700 MW cable connecting Norway to the Netherlands, and plans for connections to Germany and the UK.
557.
▲
by
cygx
7y ago
We have no idea how old indigenous culture is in Australia It is suspected that aboriginal stories about eg sea level rise, comets, changes in flora and fauna are based on historical events. Some of those events can be dated, suggesting o
558.
▲
by
cygx
7y ago
There is a bit of a case insofar that we have a (limited) form of macro-organization along songlines.
559.
▲
by
cygx
7y ago
Germany [...] generates most of its electricity from fossil fuels (and most of that from coal and peat) Germany doesn't use peat for energy production. We did run two plants in the past, but they closed in 1965 and 1974
560.
▲
by
cygx
7y ago
That's not the impression I get from https://plato.stanford.edu/entries/byzantine-philosophy/ Quote: There was never in Byzantium anything resembling the autonomous universities of the Latin West. Higher edu
561.
▲
by
cygx
7y ago
and thus at peak, fossil fueled energy production is higher now then before when nuclear stood for 30% But that's an irrelevant metric: What matters is the total CO2 released, ie the integrated value. So short-term, you replace coal
562.
▲
by
cygx
7y ago
Sure. But that doesn't make Germany an example of replacing nuclear with fossil fuels. From 2002 to 2019, percentage wise, fossil fuels went down by 1/3 (from ~60% to ~40%) and nuclear by 1/2 (from ~30% to ~15%).
563.
▲
by
cygx
7y ago
Countries which currently are replacing nuclear power do so with a combination of renewables and fossil fuels Which countries? Germany for example isn't - yet. We're still in a place where we can reduce usage of both fossil fuel
564.
▲
by
cygx
7y ago
Emmy Noether probably also warrants mention.
565.
▲
by
cygx
7y ago
I would phrase things differently: The way to map a theory to reality is via its predictions. The interpretation is how the theory fits into my mental model of reality. In principle, reality could be strange enough that we are incapable of
566.
▲
by
cygx
7y ago
Electromagnetism is a U(1) gauge theory. If you take the accompanying classical geometry at face value, there's hidden state at each point in space, like some sort of dial. The absolute position of the dial is irrelevant, but the gauge
567.
▲
by
cygx
7y ago
Because explanatory stories aren't strictly necessary: While it certainly helps if we have them available because they allow us to reason intuitively, the hallmark of science is the predictive model. In contrast, a bunch of explanatory
568.
▲
by
cygx
7y ago
I'll take a shot at trying to answer some of your questions: 1. I originally thought the Heisenberg Uncertainty principle was a natural consequence of using particles (photos) for measurement. That's the observer effect. When qu
569.
▲
by
cygx
7y ago
I'll try again: General relativity comes with a generic mechanism to compute frequency shifts. We don't need to try to figure out whether or not the effect is due to time dilation or spatial expansion, we can just do the math. B
570.
▲
by
cygx
7y ago
In arbitrary spacetimes, redshift has to be computed along specific worldlines, ie you tend to treat photons as point particles. I guess in principle, you could solve the Einstein-Maxwell equations (or more likely, the Maxwell equations on
More ›