Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
okanat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
421.
▲
by
okanat
1y ago
I don't use Linux as my primary OS anymore. However the default protections of the Linux desktop is worse than Windows's which is rather sad. For "root" level operations Windows has several layers to protect the system i
422.
▲
by
okanat
1y ago
In many European countries this means you cannot have a online-activated bank account. Offline banking is paid and often expensive.
423.
▲
by
okanat
1y ago
Idiomatic C++ allows too much "freestyle" and duck-typed code. Rust language basically doesn't support half of the things that C++ allows because there is no type or memory safe ways to achieve them. When translating things i
424.
▲
by
okanat
1y ago
C++ standard and deprecation is a contradiction. They almost never deprecate things. Things always go more complex.
425.
▲
by
okanat
1y ago
It already has a defect report too: https://cplusplus.github.io/LWG/issue3886 .
426.
▲
by
okanat
1y ago
This is a very bad take. Rust does solve very real problems in C family languages. The number of people I met in Rust conferences that rewriting at least parts of rather big C++ codebases weren't small either. However, there is still b
427.
▲
by
okanat
1y ago
Newer stuff yes and it is great. However from basic rendering to browsers and the most complex applications (CAD, office software, finance, complex solvers like airline planning) are still in C++. Nobody will accept rewriting 35+ years of h
428.
▲
by
okanat
1y ago
I don't see this as the Windows being default on a laptop problem. It is a problem of letting companies grow too big. Google equally abuses their position with Android. We need to force big tech into splitting. No way around it. Adtech
429.
▲
by
okanat
1y ago
and Linux will not penetrate that market unless it makes it possible to release completely proprietary (even woefully crappy, move fast and break things) software easily. For most proprietary desktop software businesses, porting to Linux is
430.
▲
by
okanat
1y ago
Docker Desktop defaults to WSL2 but it has no assumptions whatsoever. You can run it with HyperV
431.
▲
by
okanat
1y ago
You are. Docker Desktop supports two different container platforms: usual Linux ones and Windows Containers. With the former a Linux kernel is required. You have two options: using WSL2 and benefiting from all the optimizations and integrat
432.
▲
by
okanat
1y ago
WSL2's default kernel has USBIP modules built-in. I am using it daily at work for FW development. So I don't think that's your problem. However, WSL kernel might be missing specific USB device classes. Luckily they rolled out
433.
▲
by
okanat
1y ago
This is a much less efficient way of running Linux GUI apps over WSL since it will use software rendering. WSL2 provides a GPU accelerated Wayland server. If your Mesa build (ver > 22) has d3d12 drivers you can use Windows DirectX as you
434.
▲
by
okanat
1y ago
> WSL doesn't have an X Server, it has a Wayland compositor Which has Xwayland support. You can still run X11 apps.
435.
▲
by
okanat
1y ago
Microsoft has contributed to Mesa for DirectX tunneling drivers. WSL2 supports GPU HW acceleration out of the box.
436.
▲
by
okanat
1y ago
I think big corporations are not amoral, they are immoral. There is no wealth that has been built obeying morality or showing emphaty. Once them two become obstacles for profits, they will be thrown out.
437.
▲
by
okanat
1y ago
I think the success of Proton and Wine in games clouds the vision of Linux community. The contributors did great work on them. However the gaming API of Windows is a very limited slice of the vast API. Games are quite standalone programs th
438.
▲
by
okanat
1y ago
You can use Avalonia to develop cross-platform apps with .NET. GUI stuff from Windows depends deeply on Win32 and how Windows's core APIs work. So expecting Microsoft to port stuff like .Net Windows Forms is meaningless. They are open
439.
▲
by
okanat
1y ago
There is actually a much better but less well-known open source library in .NET: Avalonia. Look it up their gallery of apps. Avalonia is the cross platform version of Windows Presentation Foundation (WPF) libs. It is quite good for desktop
440.
▲
by
okanat
1y ago
Maybe you are too young for this but viruses modifying boot partitions was a big thing back then. It is simply impossible to inject some code without finding an exploit in UEFI with Secure Boot or somehow exploiting the kernel. It is still
441.
▲
by
okanat
1y ago
Unfortunately in Germany almost all banks force you to use an unmodified phone (so no de-Googled) Android as the 2FA. There are other solutions like code generators but they require extra payment.
442.
▲
by
okanat
1y ago
No it doesn't work that way. That's a lot of political will for little monetary gain. Don't forget that countries in EU are still quite capitalist and many of the bigger companies have huge investments in the US. EU itself is
443.
▲
by
okanat
1y ago
It depends on what threads can do. Threads share memory with other threads and you can corrupt the data structure to force the other thread to do an unsafe / invalid operation. It can be as simple as changing the size of a vector from
444.
▲
by
okanat
1y ago
There are safety recommendations / best practice standards like CERT. None of them will prevent you from making intentional looking but logically unsound memory unsafe operations with C and C++. The code can be very indistinguishable f
445.
▲
by
okanat
1y ago
There are different reasons for that. Things like black holes are really hard to observe even in other light spectrums. Same for other objects like planets. So the drawings are made in hypothetical expectations based on simulations rather t
446.
▲
by
okanat
1y ago
Microsoft invested in making integrated Windows-based business software and a big closed-source ecosystem and/or bought other tech companies that previously developed similar tech. Some of them older than Red Hat even Microsoft. Where
447.
▲
by
okanat
1y ago
AFAIK Mozilla still uses XUL to draw their browser UI.
448.
▲
by
okanat
1y ago
I don't exactly get what you mean by "Google torpedoed Sun". Corporate players came into play after Oracle acquired Sun. The fear that Oracle would do the same as LibreOffice pushed players like IBM to have their own Java dis
449.
▲
by
okanat
1y ago
Not the poster but yes. Compressors use phase change which is fundamentally better way of transferring heat. Solids like peltiers will always leak more heat than liquid to gas phase change. Peltiers cannot get the same efficiency because of
450.
▲
by
okanat
1y ago
Java has a much stronger open source community with lots of corporate players. If Oracle tried to close the doors on it, everybody can pivot away in much shorter time than Vmware.
More ›