Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_0w8t
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
421.
▲
by
_0w8t
5y ago
Another possibility is to use boolean flags. Of cause the compiler then will not enforce that only one of the flags is set. On the other hand on few occasions I observed how initial design with disjoint cases evolved into cases that can be
422.
▲
by
_0w8t
5y ago
We do not have good models of the rate Sun has been losing hydrogen especially on scale of billions of years. So from that we do not have a precise answer how heavier was Sun in past. But heavier Sun implies that Earth was closer compensati
423.
▲
by
_0w8t
5y ago
A segmented architecture is one example. Access to over 4gb of memory on 32 bit CPU is another.
424.
▲
by
_0w8t
5y ago
C cannot express quite a few useful things that assembly can. Things like tail calls, stack management, non-flat address space just cannot be expressed.
425.
▲
by
_0w8t
5y ago
Is it possible from geological evidence to confirm that Sun was dimmer billions years ago? I am asking as stability of Earth orbit cannot be taken for granted for such periods. For example, we could underestimate the effects of solar wind i
426.
▲
by
_0w8t
5y ago
This will write duplicated entries to the file. Do you remove them on shell startup?
427.
▲
by
_0w8t
5y ago
I did read the article. My reply was about its conclusion. The article itself advocated a toolbox approach of creating useful tools first that could be written and tested independently and then assembling the application from those. But thi
428.
▲
by
_0w8t
5y ago
Media Foundation is registered as one is supposed to use CoCreateInstance() etc. to create various codecs, for example. But MF does not require CoInitialize() and indeed one can just use LoadLibrary() and lookup the factory function. That
429.
▲
by
_0w8t
5y ago
My experience is that anticipating future requirement changes do not work in general. So do not reflect in the design including the design of module boundaries the current assumptions about the future. Focus instead on other criteria, like
430.
▲
by
_0w8t
5y ago
The problem with OOP is that the code using it has tendency to produce way too many objects thus putting into the code rather rigid assumptions how the system may evolve. This essentially contradicts what the paper advocates which is more l
431.
▲
by
_0w8t
5y ago
There are clear cases when the approach advocated in the paper just does not work. For example, one cannot hide behind an abstraction the difference between a reliable local and unreliable network storage. Another problem is that designing
432.
▲
by
_0w8t
5y ago
Unmetered is often means 1 Gbit. With 4K video that means less than 100 streams. It may work, but the moment the video is shared among friends the site can be in trouble. Plus YouTube handles all re-encoding and adjust the quality based on
433.
▲
by
_0w8t
5y ago
Google is a US company and the US government can and do ask companies to provide any data on the servers even if it is against the policy Google has written in that document.
434.
▲
by
_0w8t
5y ago
We use VPS from tilaa.com and they charge 2 Euro per extra IPv4 and for the third etc. address per server one needs to submit a technical reason for doing that that they manually review.
435.
▲
by
_0w8t
5y ago
The topic of appearance of a classical objects in the quantum world is far from settled. My favorite hypothesis is that when an object is entangled with too many particles in the Universe that sort of cancels interference patterns leading t
436.
▲
by
_0w8t
5y ago
Polymorphism is a switch, but it is the switch over object kind, not action. In fact if there are only few subclasses compilers for some languages where a global analysis is possible implement polymorphic calls as switches over the object t
437.
▲
by
_0w8t
5y ago
The notion that quantum mechanics is associated with inherent chance in the universe thus explaining free will is itself problematic. There is no chance in the equations of quantum mechanics as the equations are fully deterministic. The pro
438.
▲
by
_0w8t
5y ago
Sunlight alone does not explain it. Another possible factor is diet. It can be that eating a lot of carbohydrates with high glycemic index like white rice trigger slightly excessive growth of eye balls in children sufficient to trigger myop
439.
▲
by
_0w8t
5y ago
Ancestors of Inuits came to polar regions less then 10 thousand years ago. Yet even during this short from evolutionary perspective time frame they got a mutation that inhibited ketosis. Even outside the polar regions to places where fruits
440.
▲
by
_0w8t
5y ago
And then the whole claim that keto was a diet of ancient people before the agricalture looked more like a fantasy. Modern hunter-gatherets in Africa get at least 50% percent of their calories from starchy vegetables and honey with latter su
441.
▲
by
_0w8t
5y ago
Then there is no much difference between learning C and assembly. Both are languages for an abstract machine that has less and less relation to how things are done for real.
442.
▲
by
_0w8t
5y ago
From the assembly one can learn what compilers do. But it cannot teach how modern CPU actually work. I.e. even with assembly reordering, branch prediction, register renames, cache interaction etc. are either hidden from code or exposed in a
443.
▲
by
_0w8t
5y ago
Have you tried to enable zram or zswap?
444.
▲
by
_0w8t
5y ago
Unless one have the latest SSDs on a server to tolerate occasional spikes in memory zram makes more sense. Just configure it to use lz4 compressor. This way even with halve of the memory compressed the system remains somewhat responsive and
445.
▲
by
_0w8t
5y ago
All the problems with NFS dependencies described in the article existed before. The system administrator was supposed to address them manually by ordering things in rc files adding sometimes various sleep pauses to wait for things to start.
446.
▲
by
_0w8t
5y ago
Even with systemd one may need to deal with pid files for services with more than one process. Systemd has heuristics to detect the main process to send the kill signal or detect a crash, but it can guess wrong. Telling it the pid file loca
447.
▲
by
_0w8t
5y ago
I am not arguing about quality of life. The point is that less than 40 hours per week (it can be in fact close to 30 as less than 40 is a conservative estimate) was enough for a single person to feed a family and have some extra using manua
448.
▲
by
_0w8t
5y ago
For one serving sure it is not trivial to eat that, but spread it over 3 meals and it is very OK My grandmother told me that during WWII in Belarus many people in villages for 3 years eat pretty much only potatoes plus few berries/mush
449.
▲
by
_0w8t
5y ago
When historians looked into details, it turned out a serf worked less than 40 hours per week on average in the Middle Ages in France, less than modern workers. And he needed to feed both own family and his master.
450.
▲
by
_0w8t
5y ago
Potato and sweet potato can be produced in a local garden and provide enough calories and nutrients. For example, if one eats enough potatoes to get 2500 kilocalories (about 6 pounds), one get more than enough protein.
More ›