Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkolaczk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
841.
▲
by
pkolaczk
8y ago
Compile speeds are a problem of the past. When you use Scala 2.12+ together with incremental compilation with modern Zinc-based compile server, compiling Scala after each change takes a low few seconds. Sometimes less than a second. And Dot
842.
▲
by
pkolaczk
8y ago
The whole point of Scala are its advanced features like implicits, higher kinds and macros, and not just syntactic sugar like in Kotlin. Therefore you won't appreciate Scala by just shortly playing with it. Also in 2018 interop issues
843.
▲
by
pkolaczk
8y ago
Far from it. When Java gets pattern matching, Scala will have moved to version 3.0 with trait parameters, union and intersection types, implicit functions, type lambdas, cleaner macros and many more. Also, Scala compiler slowness is virtual
844.
▲
by
pkolaczk
9y ago
"In sum, something "fundamental" changes when you want to go fault-tolerant and tolerate node failure in an asynchronous system. When you combine faults and full-asynchrony, you get the FLP impossibility result. That means yo
845.
▲
by
pkolaczk
9y ago
A problem arises, if there exists no group of people that the author had in mind when writing the code. Some programmers really just code "so that it works" and don't care about readability at all. That's why we have cod
846.
▲
by
pkolaczk
9y ago
There is often a world of a difference between code hard to read because it tries to solve a complex problem or is written in a paradigm I haven't learned yet, and code hard to read, because its author was just plain sloppy, and didn&#
847.
▲
by
pkolaczk
9y ago
You are right, but now we are not discussing thermal efficiency, but total mpg which is related, but not the same thing. Efficiency being equal, you'll get more mileage from an electric car, because it can get back some energy from reg
848.
▲
by
pkolaczk
9y ago
Yes. Turbocharging increases mpg not by increasing thermal efficiency, but by allowing to use a smaller and lighter engine. A lighter engine means less mass to accelerate, therefore less energy to spend. A smaller engine means less internal
849.
▲
by
pkolaczk
9y ago
I'm not am expert on turbines, but generally the turbine efficiency is directly related to the temperature and pressure difference between the inlet and outlet. Hence bigger plants have typically higher efficiencies. Bigger turbines h
850.
▲
by
pkolaczk
9y ago
Typical coal power plants have practical electric efficiency 40% but total energy efficiency is 60-70%, because they produce electricity and useful heat . Also 40% is a theoretical (lab) value for a non turbocharged diesel engine - in prac
851.
▲
by
pkolaczk
9y ago
Anyone tried it recently? How stable is it? Particularly, does it support multiple external displays with different scaling properly on Intel with Wayland? Unfortunately the live USB allows to test only on Xorg, Wayland is not available.
852.
▲
by
pkolaczk
9y ago
"Wifi and battery life are absymal" With Dell Precision 5520, I get much better battery life on Linux kernel 4.14 than on Windows 10. No Wifi problems as well.
853.
▲
by
pkolaczk
9y ago
For many applications BASE is plenty good consistency.
854.
▲
by
pkolaczk
9y ago
You can achieve high uptime in a CP system by assuring P will never happen, ending up with some kind of an AC system, but in practice it may be very costly, hard to setup and operate. Can you imagine every ATM having a redundant networking
855.
▲
by
pkolaczk
9y ago
Even then, the roundtrip time between continents can be in range of several hundreds milliseconds, which is far too much for many real time transactional systems.
856.
▲
by
pkolaczk
9y ago
"In practice, the uptime of systems that favor availability have not proven greater than what can be achieved with consistent systems." This claim is much stronger than just saying AP systems sometimes fail. Therefore observing
857.
▲
by
pkolaczk
9y ago
Scylla is far from being a drop in replacement for Cassandra. Too many features missing and many existing basic features like counters have been added only very recently.
858.
▲
by
pkolaczk
9y ago
GC development is not standing still. Oracle claims sub 10ms pause times and terabyte heaps their new ZGC. And there are good pauseless or almost pauseless alternatives from other vendors as well. https://www.google.pl/amp&#
859.
▲
by
pkolaczk
9y ago
Li-Ion has extremely low self discharge rate and very high power efficiency. It can also reach thousands of recharge cycles as long as you don't discharge it too deeply and don't overcharge it and keep it cool. It has no memory ef
860.
▲
by
pkolaczk
9y ago
Where exactly does C standard explicitly say it can do so? UB was introduced to allow skipping checks that otherwise might have added overhead, like array bound checks or null checks or to give more flexibility to how correct programs are o
861.
▲
by
pkolaczk
9y ago
Reified generics are more of a problem than a solution for language creators. .NET generics are too weak to be the base for languages with really powerful type systems like Scala or Haskell. Therefore implementing Scala on .NET required to
862.
▲
by
pkolaczk
9y ago
Static type systems sometimes refuse to compile otherwise valid code. Type error is compiler telling "I can't prove this code correct with regard to some class of problems I'm supposed to catch". It does not necessarily
863.
▲
by
pkolaczk
9y ago
Here where I live, modern turbo-diesels are considered less reliable than NA gasoline engines. They are much more complex and need fragile components like DPF filters and turbocharger to get acceleration on par with low-torque, high-RPM ga
864.
▲
by
pkolaczk
9y ago
Even if you need a real entropy-based RNG, e.g. for key generation, you need to gather entropy once at the beginning to seed the RNG. Then running RNG does not need any more entropy, so your hairdryer trick won't work. A common myth I
865.
▲
by
pkolaczk
9y ago
I didn't write anything about environment-based RNG. RNG must be deterministic and seeded by preshared encryption key. One point of using a cryptographically secure RNG is that it should not be possible to learn the seed by observing t
866.
▲
by
pkolaczk
9y ago
What's wrong with xoring with a stream of random numbers? Isn't it how stream ciphers work? Get a good cryptographic RNG, initialize it properly with a long enough key and you should be fine.
867.
▲
by
pkolaczk
9y ago
Garbage-collected Rust? I think Scala is very close, particularly with Scala-native.
868.
▲
by
pkolaczk
9y ago
It shouldn't be possible to avoid police investigation just by avoiding calls. UBER should give all the details to the police and then the police should do their job and call the driver and the next passenger. Where I live (Poland), no
869.
▲
by
pkolaczk
9y ago
Scala follows a similar route. It erases types, but lets you reify on demand in form of TypeTags.
870.
▲
by
pkolaczk
9y ago
Chinese pentatonic scale is just a subset of major heptatonic scale used in western music.
More ›