Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_0w8t
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
_0w8t
4y ago
Apple mostly solved that problem in their silicon. But thread-private counters is a good solution for other platforms.
62.
▲
by
_0w8t
4y ago
It serves as a proxy or manager for other components. It is IO bound. As such Go should be an ideal language for it. But GC kicking in a wrong moment still brings troubles.
63.
▲
by
_0w8t
4y ago
The problem with GC is that when it does give problems, there are no good choices. One either spends time trying to tune available knobs to hide the problem or rewrite application to try to reuse objects etc. turning the initial nice archit
64.
▲
by
_0w8t
4y ago
I second that. Several ideas of Virgil like unification of an argument list and tuples or handling of objects are very nice.
65.
▲
by
_0w8t
4y ago
GC is not a solved problem and can be costly. We clearly see in a production server written in Go spikes in latency and memory usage. So most likely for the next server-type application we will use Rust. Then there are benchmarks where Ngin
66.
▲
by
_0w8t
4y ago
Rust without std lib can control all details of allocations and you still get safe sum types, automatic free etc. The real problem with Rust is hostile syntax for unsafe code that one often needs when doing low-level programming.
67.
▲
by
_0w8t
4y ago
At my previous work almost everything was self-hosted including Git and servers to run machine learning models. The only exception was Jira. The company owned the servers and rented the space in a datacenter. For code reviews we had Critic.
68.
▲
by
_0w8t
4y ago
I second that. On few occasions kernel update in Fedora on my Dell XPS from 2016 cannot boot. The last time it was an upstream regression that was not fixed for months. In the mean time a bad WiFi bug was discovered. I could in theory comp
69.
▲
by
_0w8t
4y ago
Even if the standards improved, it came not from the financial industry and probably despite of it. When banking is 25% of economy, it is a heavy tax on everyone. The industry produces nothing and beyond few percents of economy as it was hi
70.
▲
by
_0w8t
4y ago
Which pointed out that regulating the banks is mostly pointless. They always find loopholes. The only sensible regulation is to make sure that banks never gets too big to fail. This way a bankruptcy will be mostly inconsequential even if t
71.
▲
by
_0w8t
4y ago
There is an observation that the real salaries stagnated since seventies for an average American because all the growth went into financial industries. Those rose in the last 50 years from few percents to close to a quarter of economy essen
72.
▲
by
_0w8t
4y ago
There is always a point as the risk is not binary. SVB should have hedged against big interest jump that would bankrupt them, not against any risk.
73.
▲
by
_0w8t
4y ago
In theory yes, but in practical terms taking care of board members and few remaining big shareholders is enough.
74.
▲
by
_0w8t
4y ago
Even if the law or corporate statute requires that owners of, say, 10% of shares should be able to raise the concern or even block big decisions like a sale of the company, in practice the ownership is very uneven. Just 10% of owners can ow
75.
▲
by
_0w8t
4y ago
Companies are responsible for a group of shareholders with the majority voting right. Typically it is only a few shareholders as the ownership distribution follows a power law. So a company is responsible to those few owners and that is it
76.
▲
by
_0w8t
4y ago
For Julia or Python one has an option to look at the source as the ultimate documentation. It is not ideal, but good documentation is expensive both to produce and maintain.
77.
▲
by
_0w8t
4y ago
My rule of thumb is that one needs to switch to other language when one needs maps or complex array operations. Arrays for proper processing of arguments or storing a sequence of results are doable in a POSIX shell with couple of utilities.
78.
▲
by
_0w8t
4y ago
Yes, tethering simplifies a lot. Quest works with tethering better, but it does work without the cables with many games. And it took Meta like almost two years to optimize the wireless driver to make things really work. And given how terrib
79.
▲
by
_0w8t
4y ago
The code has integer overflow even on 64 bit CPU due to using uint32 for capacity.
80.
▲
by
_0w8t
4y ago
I suspect just by making sure that the cursor never leaves the middle of the screen may help better with habit formation than relative line numbers. This way, when one looks few lines below or above the middle it is easier to associate the
81.
▲
by
_0w8t
4y ago
Unconsciousness is not good at doing even simple math like counting, so habits like 4j or 3yy are hard to form. It may even be counterproductive as non-trivial efforts to establish such habits will have cost. Less efforts will be spent on f
82.
▲
by
_0w8t
4y ago
Wednesday off from that perspective may be more productive. It is easier to focus on work for 2 days than for 4.
83.
▲
by
_0w8t
4y ago
The question about existence of time before singularity does not have an answer, rather than affirmative no. A singularity means that all timelines goes through it, but it is impossible to make continues extension of the timelines past the
84.
▲
by
_0w8t
4y ago
Hume’s point was there was no intelligent design in things made by a skillful craftsman even with a good eyesight. It was not a thought experiment but simple observation of how things were made. It was all tinkering for a long time until s
85.
▲
by
_0w8t
4y ago
It will be better if the modern debunking of the design arguments refered to Socrates as the originator of the arguments, not rewording of the same arguments by a random guy from 200 years ago. And even as a debunking original Hume's o
86.
▲
by
_0w8t
4y ago
Was it a reference to “Dialogues Concerning Natural Religion” by David Hume? That book debunked the arguments by design 50 years before the watchmaker parabola was written: “If we survey a ship, what an exalted idea must we form of the inge
87.
▲
by
_0w8t
4y ago
It should be by a sculptor with a terrible eyesight! The sculptor analogy predates the watchmaker one by like 2200 years and for some reasons is much less known these days than watchmaker one. From THE MEMORABILIA by By Xenophon, https:&#x
88.
▲
by
_0w8t
4y ago
Linux approach delegates security to the system administrator. Hence Linux provides containers, SELinux etc. focusing on securing the existing binaries. OpenBSD assumes it is the programmer who is responsible for delivering secure code. Hen
89.
▲
by
_0w8t
4y ago
I very much agree that many Western countries, not only US, are responsible for most African countries being poor via institutions like IMF and friends that fueled local corruption. But I am not so sure about authoritarian regimes or tirany
90.
▲
by
_0w8t
4y ago
Because why not to demand that all safety regulations including a ban on child labor are followed in agriculture, manufacturing before buying agricultural or manufacturing products from poor countries? Child labor there are just as terrible
More ›