Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
for_xyz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
for_xyz
5y ago
> I guess one challenge with this is that old school Win32 doesn't really support anything resembling automatic / responsive layout. It gives you all the building blocks to implement it yourself. Remember that Win32 is not UI f
2.
▲
by
for_xyz
5y ago
> The latest UI framework (XAML/WinUI) sits on top of a better rendering architecture (compositor) that itself wraps DirectX tech. WinUI/UWP still uses CreateWindowEx and good old WndProc for event loop message handling at the
3.
▲
by
for_xyz
5y ago
If you drop something, then you need some kind of replacement for that. I don't see any alternative on where entire OS could be configured other than registry.
4.
▲
by
for_xyz
5y ago
> I mean, it's an early leaked build. I predict that the file explorer specifically will be completely replaced, which is why it hasn't been updated at all. I really hope that _replacement_ will be as feature complete and usefu
5.
▲
by
for_xyz
5y ago
> Meanwhile, the big open-source desktop C++ libraries (Qt and WxWindows) still don't fully take advantage of the types and features in the standard library in 2021. Of course not. C++ and libraries don't go along nicely. STL i
6.
▲
CPU Bugs (2018)
(danluu.com)
98 points
by
for_xyz
5y ago
|
20 comments
7.
▲
by
for_xyz
5y ago
Sorry, my bad. They already started rewriting core components in Rust. Here you go: https://dropbox.tech/infrastructure/rewriting-the-heart-of-o...
8.
▲
by
for_xyz
5y ago
If you start from scratch, I'd suggest to use MSIX [0] instead. It makes auto update trivial to implement with PackageManager.UpdatePackage(url_to_your_msix)[1] or plain execute via "ms-appinstaller:?source=url_to_your_msix"
9.
▲
by
for_xyz
5y ago
To prevent half assed refactoring in the first place where only namespaces and classes get refactored while folders and filenames remain as they were. It would just further confuse new devs on the project.
10.
▲
by
for_xyz
5y ago
In case of the Dropbox please read this: _But as the company grew, new engineers who joined couldn’t understand the code. Clever code is usually short and cryptic, written by and for the individual who came up with it, but is hard for anyon
11.
▲
by
for_xyz
5y ago
No, he is in need of writing production quality software together with his medium to big sized dev team and he doesn't want to introduce maintenance burden into his project 10 years from now. Software will get improved during it's
12.
▲
by
for_xyz
5y ago
Of course you can write anything in R but that doesn't mean it will be possible to maintain the codebase for the next 10 maybe 20 years including dev team changes. In other words R is wrong tool to use for building the software just fr
13.
▲
by
for_xyz
6y ago
Old one yes. New one (since win vista) allows you to pick folders. pFileOpen->SetOptions(FOS_PICKFOLDERS | FOS_PATHMUSTEXIST | FOS_ALLOWMULTISELECT); https://docs.microsoft.com/en-us/windows/win32/
14.
▲
by
for_xyz
6y ago
Which VM software did you use under windows?
15.
▲
by
for_xyz
6y ago
> So... it's both NTFS and the Windows "subsystems." Ok, probably both on default windows installation due legacy and backward compatibility with dos names [1]. https://docs.microsoft.com/en-us/windows
16.
▲
by
for_xyz
6y ago
> so what's the 'Windows way' then? Using either memory mapped files of overlapped io (IOCP). It's tricky to use when you want to write the content since you must preallocate the file before you start with the writing
17.
▲
by
for_xyz
6y ago
It's possible to interact with native windows tooling from WSL. Example: $ echo "test" > test.txt & notepad.exe test.txt
18.
▲
by
for_xyz
6y ago
This is the correct answer. Myth that NTFS is slow should already go away. You can already run windows on top of BTRFS if you want but it'll be painfully slow compared to linux [1]. https://twitter.com/NTDEV_/statu
19.
▲
by
for_xyz
6y ago
> the bottleneck is that NTFS is a crappy filesystem. Care to explain why do you think NTFS is crap? From my experience it's usually bad assumptions about files under windows and every application or library tries to stick to posix
20.
▲
by
for_xyz
6y ago
> This ad appeared only when our devices were set to use Google Chrome and Firefox as the default web browser. I have new edge as default browser and I still got this screen. This screen appears if you have other browsers installed even
21.
▲
by
for_xyz
6y ago
Yes, I agree. What I meant was for mobile phone manufacturers who don't upstream their code portions and abandon it after a while due increased costs of maintaining the multiple versions. In other words... old hardware only works on ol
22.
▲
by
for_xyz
6y ago
> They can just ship a custom kernel only to their users and leave it at that. Works really well for Google and Android where they offload handpicked versions of the Linux kernel to the phone vendors to maintain. In practice they don&#
23.
▲
by
for_xyz
6y ago
You're supposed to use APIs provided by mesa (OpenGL, OpenCL) or TensorFlow and similar ML Frameworks which then talk to D3D12 or DirectML as seen on linked diagrams. It makes zero sense to consume D3D12 and DirectML under WSL directly
24.
▲
by
for_xyz
6y ago
They also cannot be used from applications directly since they're just implementation detail inside mesa.
25.
▲
by
for_xyz
6y ago
I'm pretty sure I ran vulkan apps via RDP and they worked fine. I think it was also on GTX 960.
26.
▲
by
for_xyz
6y ago
Windows Update keeps drivers up to date except for ones installed manually.
27.
▲
by
for_xyz
6y ago
Does write situation apply to linux as well? Since 99% of the disk I/O is cached, write either success or fails completely. It's beyond scope of the userspace application to know what and when data arrives on the physical disk. Sa
28.
▲
by
for_xyz
6y ago
I think I watched an interview with him where he talked about Subsurface project. In that interview he said that C++ is not all that bad but he still prefers C because he's so used to it and will continue write C code forever. I don&#x
29.
▲
by
for_xyz
6y ago
Yes, you're correct. Linus still works on C backend of the application and sometimes has to connect his parts with C++ code.
30.
▲
by
for_xyz
6y ago
His attitude towards C++ also changed when using it for his side project [1]. Initially he started with C and GTK+ and later migrated to C++ and QT Framework. [1] https://subsurface-divelog.org/
More ›