Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zajio1am
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
391.
▲
by
zajio1am
4y ago
> "little white lies" are a relatively prevalent part of society. And many consider them bad and cowardly. > To pick a mundane example: if somebody asks me "how's it going", I'm almost certainly going to
392.
▲
by
zajio1am
4y ago
> What’s the backing for this? I guess that for truthful people, lying is something that they do not even consider as an option. They could be pressed to it if situation is dire. But if someone consider lying as an option in a banal case
393.
▲
by
zajio1am
4y ago
> There is emphatically no "universal social contract not to lie," nor should there be, because what this leads to is "invisible obligations to parties more powerful than you, since you're expected to tell the truth t
394.
▲
by
zajio1am
4y ago
> That's not always possible. In most cases it is. And the article suggested preemptive approach, which implies lying in all cases while being in persona. > In what case? In situations described in the discussed article: "If
395.
▲
by
zajio1am
4y ago
> The primary "ethical loophole" here is that there is no viable ethical alternative. Something can not be immoral if it is the best of a series of bad options, and if you want to exsist in the world and protect your privacy, t
396.
▲
by
zajio1am
4y ago
> During Prohibition in the US did lives stop getting destroyed by alcohol? I do not want to defend Prohibition, but AFAIK it has a persistent effect on alcohol consumption patterns in USA by lowering per-capita consumption of hard spiri
397.
▲
by
zajio1am
4y ago
> Maybe C allows a systems-defined behaviour to be implemented as undefined behaviour C standard distinguishes undefined behavior, unspecified behavior and implementation-defined behavior. The first is invalid and inconsistent, the secon
398.
▲
by
zajio1am
4y ago
> The problem is that dereferencing a null pointer does not actually have undefined semantics, it has system defined semantics. The compiler should compile source code in such a way as to produce machine code that does whatever that syst
399.
▲
by
zajio1am
4y ago
There is evidence that opposition to new construction is not only from home-owners, but also from renters, due to economic ignorance: https://marginalrevolution.com/marginalrevolution/2022/11/th...
400.
▲
by
zajio1am
4y ago
I think that many US people have too optimistic idea about zoning laws in other countries. In many countries there are floor area ratio requirements in zoning plans and if you have ratio limit 0.2 on <1000 m^2 land lots, you cannot reall
401.
▲
by
zajio1am
4y ago
> It is legally ruled that based on reckless behavior people are owed money. It is not necessary based on reckless behavior. Businesses often have strict liability, which means they are liable for damages even if they do everything right
402.
▲
by
zajio1am
4y ago
That is true in orange 'Neo-abolitionism', not in blue 'Abolitionism', where buying sex is also legal, just not 3rd-party involvement.
403.
▲
by
zajio1am
4y ago
I think there is some confusion about used terminology, where legalization is more like 'regulation', while many european countries do not criminalize prostitution but do not have legal framework for prostitution (e.g. 'aboli
404.
▲
by
zajio1am
4y ago
I would say that both sides have social obligations to fulfill their part of a contract according to their best effort while the contract is active, but also both sides are free to change / terminate contract (with respect to contract
405.
▲
by
zajio1am
4y ago
> Frankly, 20-30 year old media players were better. So what the point of it all is...I have no idea. I would say that Spotify does not compete with traditional media players, it competes with radio. If i want to listen to my favorite so
406.
▲
by
zajio1am
4y ago
I say they are extraordinary, because they are larger than regular page size as reported by sysconf(_SC_PAGESIZE). Also, i meant "extraordinary (huge pages)", not "(extraordinary huge) pages".
407.
▲
by
zajio1am
4y ago
Note that more memory does not necessary mean that everything is uniformly bigger, as there is some strongly-non-uniform distribution of memory map sizes, and more memory most likely means that large maps goes larger. Take for example bash:
408.
▲
by
zajio1am
4y ago
We had issue where memory consumption was several times higher with THP enabled. When you hit OOM, such performance problem became correctness problem.
409.
▲
by
zajio1am
4y ago
If your application breaks due to THP, do not despair! There is prctl(PR_SET_THP_DISABLE), allowing it to be disabled on per-process basis.
410.
▲
by
zajio1am
4y ago
> Huge pages are an absolutely great idea. I will continue to complain about our eternal commitment to 4k pages, with all their pitfalls, which it appears we may be stuck with until the heat death of the universe. I think it is useful to
411.
▲
by
zajio1am
4y ago
Problem with transparent huge pages is that it is pushed on applications that were developed with expectation that memory management is based on pages of fixed size, and now they run on system that reports it uses 4k pages, but sometimes su
412.
▲
by
zajio1am
4y ago
You can call sysconf(_SC_PAGESIZE) to get page size. Problem with transparent huge pages is that you get regular page size (4k) from sysconf(), but then OS sometimes use 2M instead. Just switching to larger regular page size (e.g. 64k) on p
413.
▲
by
zajio1am
4y ago
> A less equitable world has Google or billionaires getting paid. A more equitable world has the artists. Less equitable world has artists getting paid, in more equitable world, everyone can just use open-source AI tools like Stable Diff
414.
▲
by
zajio1am
4y ago
Counterargument is that if i pipe them to e.g. grep, i do not want them lose terminal control sequences, as the output ends in terminal anyways.
415.
▲
by
zajio1am
4y ago
So obscure tools that are not packaged even in Debian?
416.
▲
by
zajio1am
4y ago
Why? Perl has cryptic syntax, while AWK has syntax that is easily understood by anyone that has experience with common programming languages like C, C++, Java. If you find unknown syntax construct in Perl code, it is hard to identify what i
417.
▲
by
zajio1am
4y ago
> We need to get to a place where the labor of human beings has a globally defined fair minimum wage That is just economic nonsense. Labor productivity of economy depends on utilization of capital and ideas in that economy and it is pret
418.
▲
by
zajio1am
4y ago
> Fight climate change by actually working towards it. How many of those hand gluing numpties have actually cleaned a beach or a woodland for once in their lives? Cleaning a beach or a wwoodland is irrelevant to the climate change.
419.
▲
by
zajio1am
4y ago
Does not phoc / phosh work like that?
420.
▲
by
zajio1am
4y ago
> No, the behavior is not correct, because changing /etc/localtime is an asynchronous operation Well, technically you can do both from the same process (i.e. localtime(), unlink() + symlink() to change /etc/localtime,
More ›