I don't understand the point of the inverse sticky technique. Scrolling too fast still breaks the experience (content refuses to scroll), and in a way that, at least to me, feels more disruptive than blanking for a…
I haven't read all of that, but the problem at hand seems significantly less complicated. We're mapping the numbers from 1 to 1000 to distinct numbers up to 8258, and the README claims that we should expect 2.1% of the…
I'm not sure I understand the prime density thing. Of the numbers up to 8258, about 12.5% are prime. Accounting for the fact that about a quarter of these primes ends in 101, i.e. cannot occur, I would expect about…
Remember that transformers are "inside-out", i.e. `StateT (ExceptT e m) a` is isomorphic to `m (Except e (State a))`. If we want to keep state if an exception occurs, you need a `m (State (Except e a))` which is…
Isn't mixing of effects exactly what monad transformers are for? AFAICT you want an `ExceptT e ST` for some exception type `e`. https://hackage.haskell.org/package/mtl-2.3.1/docs/Control-M...
Both, since a transpiler is a type of compiler.
Not actually all-pairs max flow, you can fix the source and consider all possible sinks. In the AoC problem we also know that the min-cut is 3, so we can abort the flow algorithm as soon as we have found a 4-flow.
grep doesn't eat the colours, apt detects that it is not outputting to a TTY and suppresses the colours. Try `printf 'a \e[36mb\e[0m c\n' | grep a`, the colour is preserved just fine. Some tools have an option to force…
Recently came across something similar for Germany, although less versatile: https://dfiuhsfdfiu.neocities.org/
Some switch around the "s" and "sh" sounds, so it is pronounced roughly like "shtratsiatella". "st" at the beginning of a word is pronounced as "sht" in German.
The International Fixed Calendar: https://en.wikipedia.org/wiki/International_Fixed_Calendar
It is, of course, still freely available if you plug the title into your favourite search engine. From the US Defense Technical Information Center: https://apps.dtic.mil/sti/tr/pdf/AD0296046.pdf Also in the Internet…
Unicode is useful for languages other than English, and has nothing to do with anyone's libido.
Note that there's also a /usr/bin, with complete GNU coreutils (or at least most of them), and vim.
They also got the conversion wrong: 1.5 liters is 0.4 gallons, not 0.3.
Another related Trek episode - the one I expected you to link: VOY's "Distant Origin" - https://wikipedia.org/wiki/Distant_Origin
There are 13 root name server addresses, but most (all?) of these use anycast, i.e. there are actually several servers with the same address, and your traffic will usually be routed to the one closest to you. There are…
On the same site: > Benefits of Tor over I2P > ... > - C, not Java (ewww) It's a joke.
> To be absolutely clear, the expressions `seq f (putStrLn "hello")` and `seq (f undefined) (putStrLn "hello")` should both not evaluate anything and cause the string hello to be printed rather than raising an…
That's just how government works in general though. [0] "Why is someone privileged to arrest me but I can't keep them locked up in my house?" [0] https://en.wikipedia.org/wiki/Monopoly_on_violence
> In fact, I think we could replace the corner with just normal slash, "/", write = to the right of the divisor and spell out the digits of the result to the right of it; the substraction chain will still go down the…
It's called $^M, and you have to explicitly fill it with garbage.
I did exactly that about a year ago (except it was testing instead of unstable). You need to pass some extra flag to APT because Ubuntu and Debian use different version schemes, so you wouldn't get updates anymore --…
Probably this: https://github.com/dflemstr/rq
I don't understand the point of the inverse sticky technique. Scrolling too fast still breaks the experience (content refuses to scroll), and in a way that, at least to me, feels more disruptive than blanking for a…
I haven't read all of that, but the problem at hand seems significantly less complicated. We're mapping the numbers from 1 to 1000 to distinct numbers up to 8258, and the README claims that we should expect 2.1% of the…
I'm not sure I understand the prime density thing. Of the numbers up to 8258, about 12.5% are prime. Accounting for the fact that about a quarter of these primes ends in 101, i.e. cannot occur, I would expect about…
Remember that transformers are "inside-out", i.e. `StateT (ExceptT e m) a` is isomorphic to `m (Except e (State a))`. If we want to keep state if an exception occurs, you need a `m (State (Except e a))` which is…
Isn't mixing of effects exactly what monad transformers are for? AFAICT you want an `ExceptT e ST` for some exception type `e`. https://hackage.haskell.org/package/mtl-2.3.1/docs/Control-M...
Both, since a transpiler is a type of compiler.
Not actually all-pairs max flow, you can fix the source and consider all possible sinks. In the AoC problem we also know that the min-cut is 3, so we can abort the flow algorithm as soon as we have found a 4-flow.
grep doesn't eat the colours, apt detects that it is not outputting to a TTY and suppresses the colours. Try `printf 'a \e[36mb\e[0m c\n' | grep a`, the colour is preserved just fine. Some tools have an option to force…
Recently came across something similar for Germany, although less versatile: https://dfiuhsfdfiu.neocities.org/
Some switch around the "s" and "sh" sounds, so it is pronounced roughly like "shtratsiatella". "st" at the beginning of a word is pronounced as "sht" in German.
The International Fixed Calendar: https://en.wikipedia.org/wiki/International_Fixed_Calendar
It is, of course, still freely available if you plug the title into your favourite search engine. From the US Defense Technical Information Center: https://apps.dtic.mil/sti/tr/pdf/AD0296046.pdf Also in the Internet…
Unicode is useful for languages other than English, and has nothing to do with anyone's libido.
Note that there's also a /usr/bin, with complete GNU coreutils (or at least most of them), and vim.
They also got the conversion wrong: 1.5 liters is 0.4 gallons, not 0.3.
Another related Trek episode - the one I expected you to link: VOY's "Distant Origin" - https://wikipedia.org/wiki/Distant_Origin
There are 13 root name server addresses, but most (all?) of these use anycast, i.e. there are actually several servers with the same address, and your traffic will usually be routed to the one closest to you. There are…
On the same site: > Benefits of Tor over I2P > ... > - C, not Java (ewww) It's a joke.
> To be absolutely clear, the expressions `seq f (putStrLn "hello")` and `seq (f undefined) (putStrLn "hello")` should both not evaluate anything and cause the string hello to be printed rather than raising an…
That's just how government works in general though. [0] "Why is someone privileged to arrest me but I can't keep them locked up in my house?" [0] https://en.wikipedia.org/wiki/Monopoly_on_violence
> In fact, I think we could replace the corner with just normal slash, "/", write = to the right of the divisor and spell out the digits of the result to the right of it; the substraction chain will still go down the…
It's called $^M, and you have to explicitly fill it with garbage.
I did exactly that about a year ago (except it was testing instead of unstable). You need to pass some extra flag to APT because Ubuntu and Debian use different version schemes, so you wouldn't get updates anymore --…
Probably this: https://github.com/dflemstr/rq