One addition on receiver side amplification: it is done all the time. Each piece of equipment has a noise floor that can be higher than the one in the signal (think weak signals but with a good SNR). A low noise amplifier at the receiver can improve the signal in that case.
Oh I didn’t know it was kind of a workaround. I do like the fact that loop is not a function though but an expression like if or case.
FWIW I think in Clojure you can use “recur” inside functions too to specifically indicate tail call recursion without relying on automatic optimization
Clojure’s loop expression hits this spot for me. It sets a recursion point to which you can jump using any logic inside the body you want, as long as it is from tail position. It’s like a while loop turned into an expression. I haven’t encountered any other way to write iterative expressions whose number of iterations isn’t known at the top (like map and reduce).
An example that really stuck with me is that you can draw an arrow on a blank piece of paper and measure its length and direction without needing to define an x/y coordinate system on the paper. There is something there (the manifold and the action?) that is independent from the ways we can choose to describe the space.
Async generators similarly open up different ways to program complex / multi step user interactions. Instead of creating “state machine” objects that mutate on every input, you can have async functions aka coroutines that iterate over user inputs, making the flow of an interaction much more explicit.
It doesn’t measure packet loss, but since there is one tiny request in flight at a time, it ends up in a single IP packet with packet loss being visible as retransmissions / outliers taking multiples of your average round trip time.
Finding the right abstraction isn’t easy in a network stack. TCP’s is less useful for application logic but it reflects the way the protocol works internally. Bunch of Bytes goes in on one side, Bytes stream out on the other side in chunks whose size depends on congestion, physical layer and other facts. A message based API hides these facts or leaks them depending on how you look at it.
Not trying to argue for the feasibility of space based solar power, but the inverse square law applies in the far field i.e. when the emitter can be approximated as a point source. Depending on the wavelength and the antenna size this is not necessarily the case: https://en.m.wikipedia.org/wiki/Fraunhofer_distance
E.g. for 3 GHz and a 500 m antenna, the far field starts at about 5,000 km
The main issue in the article are calls to getaddrinfo() on every send which create a delay, which is not only DNS related. The function does DNS lookups but also translates IP address strings to address data that can be used by the kernel (e.g. the different ways to write IPv6 addresses like “fe80::1%eth0”)
TCP can survive those interruptions on its own, unless the application sets short timeouts or the IP address changes. MPTCP keeps working when either side of the connection changes addresses.
And it’s not only the city-city times being better. I’d happily spend 1-2 hours more on a train ride because I’ll have a more comfortable seat and I’ll be able to read/work/sleep/… more or less uninterrupted the whole time.
Edit: also, that added comfort is exponentially higher for families who can share a table or even a private compartment.
It could also be a very real consequence of feeling that you can’t or shouldn’t change the state and are therefore not responsible for it. The article doesn’t mention consumerism as a cause but I feel like it plays a role when people are mostly expected to play a passive role and fuel the economy in their spare time.
I checked the German rates recently and I wish that were still true. The ticket for going between Dusseldorf and Cologne train stations with intercity or regional trains is 175 GBP (146 if you book for the whole year). The one for regional trains only but including transport within the two cities is 269 (216) GBP.
It’s bad right now. In August only 57% of German long distance trains arrived less than 6 minutes behind schedule. 23% had more than 16 minutes delay. IIRC that’s not even counting canceled stops.
AFAICT it really is different in Germany. The constitutional court can also be called by other courts, by the government or by parliament to check already passed laws.
The process makes sense from a separation of powers perspective. When there’s an especially fine line between what legislative wants and (constitutional) judicative allows, there has to be some rejections.
This is probably one of the cases where lawmakers feel some spite about constitutional courts exerting too much influence over their work. It would be easier if they’d just talk about it before going through the whole process but I guess creating frustration is part of the point here.
Maybe you don’t need to completely mitigate those vibrations and they’re just a part of moving through life as a human. A very related image that stuck with me is “run on the engine, not the pistons”.
I guess the second claim is referring to the fact that the square root of 2 is an irrational number, so it can’t be expressed as a ratio of integers anyway.
To add some confusion, the “nth generation” features have been described by the International Telecommunication Union (e.g. IMT-2020 for the 5th gen), while the standards are developed by the 3rd Generation Partnership Project. Previously the standards had their own names (UMTS in 3G, LTE in 4G) but now the 3GPP is labeling their current releases of standards “5G” too, and yeah they include some concepts that go back even to 3G.
Seconding this, I have lots of Python virtual environments with packages that link to brew libs. It’s a bummer coming back to an env after a while and then realizing auto update has removed linked files due to a minor version bump
… if you’re running a single task at a time. Usually multiple tasks need exclusive access to shared resources. And they might be triggered by external inputs which are non-deterministic, making the number of possible system states you need to check intractable.
Neural nets do use extremely long compositions of nonlinear functions whose gradients need to be computed over and over. I guess because chain rule (automatic differentiation) works so well, most of the libraries in use are only “a little” symbolic in that they can automatically figure out first derivatives for symbolic input and output variables.
Yes and even at 2) some subtleties start. You can set up a connection, send a chunk of bytes, and close it. If you reach a clean connection close, you can be sure that all your bytes have reached the other side. As soon as you start sending multiple logical messages over a persistent connection and an error occurs, you need to write application logic to figure out where to pick up again after you reconnect. Even if you want to know which parts of your stream have already reached the other side, you need to add logic for that. This “multiple transactions over a persistent connection” may sound really straightforward but it’s not built into TCP itself.
I definitely used to think TCP was more “high-level” than it actually is. Yes it does much more than UDP but still, its job is to get a sequence of bytes from A to B. You can tune it for higher throughput or more sensitive flow control but anything concerning message passing, request/response, … is beyond the scope of TCP.
They’re a bit of a feature of the connection-oriented nature of TCP as the other reply mentions. If the server process crashes and restarts for example, the client will be told that its previous connection is not valid anymore. Basically TCP lets client and server assume that all bytes put into the socket after connect()/accept() will end up at the other side in that same order. Each time there is an error that violates that assumption, the connection needs to be explicitly “reset”.
It’s probably something more. A recent article said 40% of Mercedes-Benz’ revenue from autonomous driving options will be going to Nvidia, starting 2024. Source in German: https://archive.ph/Gs9UD
I mean, it’s great if crypto makes more people think about these questions, even if it’s not the answer. OTOH we’re also seeing it mess up problems for which perfectly valid solutions already exist. In Germany a couple “digital government” projects had a pretty bad start because they used blockchains where they likely didn’t have to.