Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fpoling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
931.
▲
by
fpoling
8y ago
I drove several times 25-km tunnel in Norway. It is the single tunnel for traffic in both directions with one line in each direction. It is not scary especially after driving through several older narrower tunnels before. The biggest proble
932.
▲
by
fpoling
8y ago
Dumbbells especially adjustable ones do not take a lot of space and they are not only for the upper body muscles. Squats with dumbbells especially bolgarian ones is a good way to get muscles on legs and it is enough to do it once a week as
933.
▲
by
fpoling
8y ago
Anthropic principle by itself suggests a mechanism. We know that with probability one there is life that can ask questions about antimatter. Yet the only known explanation for the lack of antimatter is an extremely unlikely fluctuation. But
934.
▲
by
fpoling
8y ago
My father worked few times in voting stations in Belarus in the beginning of nineties. He was amazed how easy it would be to subvert the voting results. His observation was that especially late into counting everybody was tired and focused
935.
▲
by
fpoling
8y ago
The core innovation is to make the app really polished and straightforward to use to cut the support costs. Traditional banks may not care about it enough as in the worst case they can direct the customer to a local office.
936.
▲
by
fpoling
8y ago
Few years ago I consulted a bank in Norway. It was hard to believe how many customers used infected browsers to connect to the website resulting in huge support cost. The app is much more secure especially on iPhone or modern androids with
937.
▲
by
fpoling
8y ago
The bank can disable your account by mistake or have any number of other bugs affecting only small number of customers. With physical bank it is so much easier to make enough noise so at least they spend some time on you. With phone suppor
938.
▲
by
fpoling
8y ago
Surely a do-block is just sugar for the functional code. But that code can be used to model all imperative effects. As such the code inevitably models all troubles the imperative code can cause. If one looks at the desugared version one ca
939.
▲
by
fpoling
8y ago
I think it is double negative as “nobody” before “doesn’t” is supposed to emphasize the negation, not reverse it. With that the sentence is supposed to mean: “Only body that watches the show could have the slightest idea what that sentence
940.
▲
by
fpoling
8y ago
Programming semicolon is not different from mocking interfaces with imperative code. One still has to write it and tests still do not test the real interfaces. Surely the situation is improved compared with imperative code, but it is not as
941.
▲
by
fpoling
8y ago
Look at any do block in Haskel, PureScript, Idris etc. It is the imperative code. The individual effects are typed and separated, but it is still the code that depends on implicit state with all its drawbacks. Then look at Elm code. Elm doe
942.
▲
by
fpoling
8y ago
It depends on what is the goal. To take advantage of multicore for computations one can use explicitly parallel functional algorithms. To improve response under load one can do load balancing within application and schedule at the very top
943.
▲
by
fpoling
8y ago
The actor model is prized in the talk. Yet actor model is not functional. The problem is the message queue of each actor. It is an imperative storage and one can get all nasty problems of imperative code from apparently functional code pat
944.
▲
by
fpoling
8y ago
One does not need a pure functional core to have benefits of such design. The key idea is that the core code should not change or even read the global state. It should only be allowed to access or change what is explicitly passed to it. For
945.
▲
by
fpoling
8y ago
The big problem with monads is that they are still imperative calculations even if individual effects are nicely typed. If functional code uses them, it effectively becomes imperative. To keep benefits of functional style one want mostly av
946.
▲
by
fpoling
8y ago
Do you have an example of a beautiful language that adopted due to vendor stance? I cannot call C# beautiful. Perhaps Swift?
947.
▲
by
fpoling
8y ago
Original Fortran compilers were able to tell exactly how much stack any program was using. The answer was zero as all local variables were allocated statically and recursive calls were not supported. But one does not need to go to such extr
948.
▲
by
fpoling
8y ago
Men’s health and FB operates at very different scales. FB ads can influence at the global scale and their discriminatory nature can bring potentially much more harm.
949.
▲
by
fpoling
8y ago
But this is not 11 hours at a time. It is 5-6 hours of work, long pause for 1 or 1.5 hours and then work for another 5 hours.
950.
▲
by
fpoling
8y ago
I meant above 4 hours in total on average spend to get to and back from work.
951.
▲
by
fpoling
8y ago
18 hours does not work. But 10-11 is ok, as long as it is not 5 days per week. The trick is to have a long pause in the middle, like 1 hour for lunch and small walk (perhaps to a nice restaurant nearby). This is how it works in Moscow. A pe
952.
▲
by
fpoling
8y ago
With 30 hours per week I would really prefer to work for 10 hours 3 days. This way after each work day I will have a day off. This way I can recharge myself sufficiently to have productive 10 hours. As for productivity then I noticed when d
953.
▲
by
fpoling
8y ago
In Norway there are also suggestions to shorten the working time to 6 hours. But why not to give an extra day-of instend? Petsonally i strongly prefer the latter as with 6 working hours one still spends substantial time to get to/from
954.
▲
by
fpoling
8y ago
A nice thing about electrical kick scooter is that one can easily take them on a train. I started to see in Oslo how more and more people living in far away suburbs use them to get to/from train or underground stations.
955.
▲
by
fpoling
8y ago
There are literally thousands of eyes that look at kernel sources. Google even pays 1e5 usd if one finds exploitable bugs in their code. Yet security-related bugs stil pop up regularly. Even to prove things formally source is not that essen
956.
▲
by
fpoling
8y ago
Have you looked at the source of Linux kernel or Chromium? Can you really tell what is going there without spending years working with it? Most likely you cannot. Moreover, as never ending stream of bugs indicates, neither engineers that wo
957.
▲
by
fpoling
8y ago
I tried recently to find a good Android with 4” screen. I suspect they do not exist. There are sub 100usd phones from China with terrible screen and camera and unknown build quality, but nothing comparable to SE. Recent Sony Xperia Cpmpact
958.
▲
by
fpoling
8y ago
It is trivial to implement doubly linked list. Just use unsafe. What is difficult is to implement it in the safe Rust. But then try to proof that, say, C++, code doing the same is safe. It is very hard. Besides, if one really wants cyclic
959.
▲
by
fpoling
8y ago
The current fiber requires multiple amplifiers across the ocean. The space fiber may allow to get away from it making it much easier to lay and maintain transocean cables.
960.
▲
by
fpoling
8y ago
Fairphone is assembled in China and most if not all its components are manufactured in China.
More ›