Hacker Newsnew | past | comments | ask | show | jobs | submit | ishtu's commentslogin

Point of government is not to give but, you know, to govern.

In communist countries millions of people were killed, so you probably should pick better examples.


That they are not wrong that the standard of living for the average person in a lot of ex-soviet (which I assume they are talking about) countries did indeed decrease sharply after their "liberation".


>That said, what document viewer do I use when I want to read a PDF?

You should give Zathura a try :)


I use it, but it's a big buggy on big/complex PDF.

For those I just use evince.


>macOS is like a hotel. Everything is polished, designed and cared for.

well not anymore


Yeah, exactly. For me, it's the exact opposite. I've seen a ton of obscure window management bugs on macOS, but never on KDE Plasma or i3.


For example?


Windows that are just invisible, as if they're located somewhere off-screen.

Windows that spawn in random places (such as the 3rd external monitor way outside my FOV), instead of following a logical rule like "on the same desktop as the cursor" or "on the desktop where this app is usually located".

Windows that get stuck in the middle of one of the fullscreen-related animations.


Oh, and that hilarious bug where the screen locker does not completely lock, so Outlook manages to show modal dialogs (that can be interacted with!) on the lock screen.


nVidia video driver crashing every time when a thunderbolt display is attached or detached since High Sierra. Java windows flashing after screen has been locked. Terminal windows using 100% CPU (some sort of render bug). Bluetooth connections constantly dropping. Windows of 0 by 0 pixels when restoring a desktop after reboot. Video playback in every browser stopping after about 10 seconds.

I can go on and on.


No investor in their mind would believe this. Belarus needs structural reforms first.


Actually, there will be risk takers on top of existing ones.

Belarus is the source of great engineers that created Viber, Juno, MSQRD, WoT to name a few. PVT revenues will reach $1 bln. in 2017. This decree just added more perks to already existing tax privileges.

The system is stable and growing, why kill the cash-cow? IT enterprise is not and oil factory that you can nationalize. Engineers will take the laptop and fly away same day and your seized company will turn into empty building with zero profit. Even dictators understand it.


Depends on case, for me NFS performance (MacOS as host, Linux as guest) is a major PITA and source of instability in vagrant dev setup.


Not so familiar with vagrant on mac (though my time is coming), but having used loopback KVM's on rhel I can say that fiddling with mount options can drastically improve stability / performance (though still much slower)

e.g. tcp mounts, getting read/write blocks matched up btw/client server and sized to be digestable but big enough to move data, etc.

also, nfs is mainly only suited for 'NAS-like' operations - things like rdbms's do waay better on iscsi or eating the vdisk performance.

last I messed with macos nfsd (which has been a while), it a way happier with smaller blocksizes (e.g. 8-64k range) - modern linuces will attempt 1MB which is too much for the older 4.4BSD based code

another thing to look at is timeouts / backoffs - it's easy to kill performance by setting these things too agressively so that the system double-chokes when it gets bogged down..


divide and conquer that is


Clang (since LLVM version 4.4) has flag -Weverything which really reports everything

https://www.bignerdranch.com/blog/a-bit-on-warnings/


clang doesn't document the full list of warning flags that it supports, but the clang source code has a list, including the hierarchy of meta flags that enable other flags:

https://github.com/llvm-mirror/clang/blob/master/include/cla...

http://fuckingclangwarnings.com/ has descriptions of many of the warnings, but more recent warnings aren't covered because the website hasn't been updated since 2014.



Thank you! I've never seen that page. It doesn't show up when searching for "clang warnings" in DuckDuckGo or Bing, but I see now that it is Google's result #2.

I just found a GitHub repo that lists which warning flags are supported by different versions of clang and gcc:

https://github.com/Barro/compiler-warnings


I found -Weverything seriously annoying. Declare a structure, and clang warns about padding bytes being added. Make it a packed structure, and clang warns about the lack of padding bytes. Useless! Okay, I can see the warning on packed structures, as that's usually a compiler extension, but a plain struct?

Seriously?


There is also -Wlogical-op-parentheses, which rather condescendingly implies that you don't know the precedence of || vs &&. (The main use of parentheses is specifically to indicate precedence different from the usual, since otherwise they just add noise to the code and reduce clarity.) I half-expect -Warithmetic-op-parentheses or even -Wop-parentheses to show up in some future version of clang...

Unfortunately there's no corresponding -Wuseless-parentheses, which if present would truly make -Weverything a "damned if you do, damned if you don't".


I think clang added a -Weverything just to prove a point why it's a bad idea to actually contain _all_ warnings in -Wall.

As you say, some warnings are contradictory and it's up to the project to decide which one of them is more important.


Then turn off that warning if you don't like/want it.


The point is there's a warning either way. Pack the structure, and you get warnings. Don't pack the structure, get warnings. To me, that's being needlessly pedantic.


I'm not convinced I want Scott Meyers yelling at me with -Weverything as part of -Weffc++. I think I side with the gcc devs here on not having a flag to enable every possible warning ever.


You can just use `-Weverything -Wno-effc++` then


Why not have the flag and not use it if you don't want it? That way other users of gcc who want that flag are not deprived of that feature.


Use search engine[1] that respects[2] your privacy

[1] https://www.ixquick.eu/ [2] https://www.ixquick.eu/eng/privacy-policy.html#hmb


The results are terrible. I tried a simple search for a large Porsche dealership which is down the street from my house and it did not even come up in the top 5 results.

Would be a great search engine if it was the year 2001.


Well, for such use cases Google is a better tool indeed. I personally know my neighborhood and never google what is down the street. And if I need dealership I will try to find it on car maker website which is easy to look up even using search engines from 2001.


speaking of ligatures Iosevka and PragmataPro are my favorites (edit: spelling)


+1 for PragmataPro (coming up on 10 years now, I think)


I am surprised noone mentioned Kong [1] yet. It seems to implement most of stuff promised by Unit and it was around for a few years.

[1] https://getkong.org/


Not sure how it is related. Unit is an app server, it runs app processes and manages them, handles graceful restarts and etc.

Kong is just an API gateway: you run your own infrastructure as usually and put a gateway on top of it.


>Build the foundation of your service mesh.

Not directly related as Unit seems to be advertised as app server primarily, but you can see quoted text on main page.


The last I saw Kong didn't support microcache, which is one of the best nginx features IMHO.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: