808 karma · joined Apr 20, 2012 (14y ago) · 269 submissions
comment 1w ago · link · parent
comment 8mo ago · link · parent
The default is a balance between leaf count and number of digits. But the documentation page above gives an example of how to nudge the cost function away from specialised functions.
comment 2y ago · link · parent
https://reference.wolfram.com/language/ref/Flatten.html
Just look at the amount of examples and details for this function. It is like that for every function.
comment 2y ago · link · parent
Erbium-doped fiber amplifiers work by utilizing a nonlinear optical effect where energy is transferred from a pump laser to the signal. This is in principle possible in any optical (glass) fiber, but by doping with exotic elements, the amplification characteristics can be optimized. Erbium is suitable for the conventional communication wavelengths.
For reference I have a PhD in information theory and signal processing for fiber channels.
comment 3y ago · link · parent
Do you know of some publicly available material on this? I’d love to hear about their approach.
comment 3y ago · link · parent
https://learn.adacore.com/courses/intro-to-spark/chapters/03...
comment 4y ago · link · parent
Post processing times were not too bad. It ran on a standard desktop computer and gave an estimate of the data rate in about a minute (can’t remember exactly). Of course, compared to actual transmission that is terrible slow, but that was only due to the implementation and need of this experiment.
comment 4y ago · link · parent
I have thought a lot more about the environmental impact of transmission technology. It is a massively energy consuming industry and the expectation is to provide more capacity, while the expectations on efficiency do not add up to an actually reduced energy use.
For what it is worth, I work on Alzheimer’s research today: https://optoceutics.com
comment 4y ago · link · parent
comment 4y ago · link · parent
(And yes, that took forever. A shout out to A. A. Jørgensen and D. Kong for their endurance in that.)
comment 4y ago · link · parent
I’d say that there is at least a 10 year delay between the lab and commercial deployment. Even then we are talking about deployment in large fiber systems and not to the home.
However, not all ideas in the lab ever make it into deployment.
comment 4y ago · link · parent
comment 4y ago · link · parent
Lab testing of this scale of transmission involves a bit of “educated simplification”. We had some hundreds of wavelength channels, 37 fiber cores and two polarizations to fill with data. That is not realistic to actually do within our budget, so instead e split the system into components where there is no interference. For example, if there is different data on all neighboring cores compared to the core-under-test, then we dare to assume that the interference is random, without considering neighbors’ neighbor etc.
This reduces our perspective to a single channel under test with known data and then at least one other channel which is just there as “noise” for the other channels. The goal is to make the channel-under-test have a realistic “background noise” from neighboring interference. This secondary signal is sometimes a time-delayed version, sometimes a completely independent (but real) data signal.
This left us with a single signal of 32 GBd (giga symbols / s). This is doable on high-performance signal generators and samplers.
comment 4y ago · link · parent
While I have never read anything concretely analyzing the handover pattern of devices on airplanes, I would expect that since a very large number of cells are almost equally visible/equal signal strength, the network would have to frequently handover the device from one cell to another.
The handover process is, for voice traffic, very resource intense. (in GSM) it involves duplication of traffic to the neighboring cell and a lot of coordination.
I think that could be the reason for why mobile operators find airplane-borne devices annoying.
comment 4y ago · link · parent
You can also match descendants of something with the :has() selector. It really is more than a “parent selector”
comment 4y ago · link · parent
If you are curious about languages, I can only recommend trying to learn a new one while following this book.
comment 4y ago · link · parent
Yes, if you pay too much in tax and their calculations reveal that, then, yes, you get money back on your bank account.
They don’t calculate commute deductibles for you, but mortgages, pension is something which is calculated for you based upon reports from the respective institutes.
comment 5y ago · link · parent
If I want to quit/escape adding a patch in the interactive mode I type `q` and then enter.
If I want to quit/escape the interactive add subcommand I type `q` and then enter.
But if I want to quit the `update`, `untracked` etc. I have to enter nothing and then press enter. It would be such a wonderful thing if it also accepted `q` so my muscle "memory" is correct.
I looked into changing this once, but it is written in shell and Perl, which I don't know enough about to figure out.
comment 5y ago · link · parent
VHDL also supports defining record types, such that a collection of signals can be assigned together.
comment 5y ago · link · parent
comment 5y ago · link · parent
type Number_System is (Bin, Dec, Oct);
type Month is (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec);
procedure Foo (A: Number_System; B: Month);
Then this is a valid call: Foo( Dec, Dec )
https://godbolt.org/z/eP5qMj3K1When the type is explicit, the Ada standard calls this a "Qualified expression". But I would just say that it is a kind of type inference for enumerations.
https://www.adaic.com/resources/add_content/standards/05aarm...