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

You can drag files etc. onto taskbar icons and it will bring that window to the foreground for you to choose where to drop it. What else do you expect dragging things onto the taskbar icons to do?

not OP, but in macOS, you can drag a file onto a dock icon and that program will open the file if possible. very handy - i use it with Xld, an audio transcoding app. it runs quietly in the background and whenever i need to convert a bunch of FLACs to MP3 (or whatever) i can just drag the folder to the icon and 10 seconds later everything is good to go, without ever really directly interacting with Xld.

> Now when the OP leaves the organization is in a much tougher position.

Are they really, though? You're assuming their org is unfamiliar with C#. Not all data engineers only know Python. The ones I work with mainly use C# because we all do!


I'm a software and data engineer. I work with C# pretty extensively in my software day job. I've never seen a data engineer job listing mention C#.

Additionally, the way the OP's comment reads, I'm ok with the assumption I made. It reads like it was a unilateral decision on their part and not something that got buy in from the team.


I'm curious why you'd want this over using a GUI library that is actually cross-platform? The way you've worded things suggests to me that you're building something new.

I want to go back to making desktop programs the way we used to before they turned into web apps that bundled chrome. I know I should just use Qt but I have some experience already with win32, and all the programs I have fond memories of are written with it (foobar2000, winamp, Everything, etc).

Win32 and Wine being a lightweight alternative to HTML and Electrum is a fun idea.

Wine is going to require at least as much disk space as Electron. Performance and memory usage should at least be better though.

Someone else mentioned Lazarus, though that is Object/Free Pascal, not C/C++. The API is based on VCL for Delphi which was designed for the Windows API and even though Lazarus is cross-platform and can use multiple backends (actually i've been playing with writing a FLTK backend[0], though it is in primitive stages and FLTK doesn't really like exposing much of its guts), the API has some windows-isms (e.g. colors are 4 bytes where one byte is used a special marker to indicate system colors, just like in Windows) and the backends even have to implement a small subset of the Windows API to work :-P.

An alternative in C++ would be wxWidgets which has some (light) MFC inspirations, again feeling somewhat Windowsy though not full-on MFC/Win32 since from the beginning it had to work with X Windows / Motif in addition to Win32 (and AFAIK, the Motif backend still works).

Another alternative, even more lightweight would be the aforementioned FLTK. FLTK is also designed to be statically linked with your program (though it can be linked dynamically too if you want) so it only relies on common system libraries (as an example the screenshot in [0] relies only on the C library, the C++ library -because it is needed by FLTK and it is possible to also statically link to that too- and common X11 libraries like libX11, libXft, etc that existed on any Linux desktop system for decades now -- FLTK can also support Wayland, though i haven't tested that).

[0] https://i.imgur.com/W6XbLkr.png



Have you considered Tk? Visually, it's quite like Win32, but it's fully cross-platform and (as of Tcl 9.0) has basic screen-reader support – so no mucking around with OLEACC shims or IAccessible2, as you'd need for COMCTL32. And it supports virtually everything Win32 does, with the ability to drop down to platform-specific sorcery (i.e., Win32) if the need arises.

Because, as they always say, Win32 is the only stable ABI on Linux.

Perhaps a Windows-only RAD framework? (Admittedly, I can only think of VB6...)

Delphi!

Visial Studio is quite good for gui.

It is. But if you mean .NET WinForms then you don't really need Wine because Wine uses Mono to run .NET executables. If using WPF then you should check out Avalonia UI [1] which is a cross-platform alternative that is also probably better (and has good tooling in VS). There's also .NET MAUI [2] but it's maybe not as good for desktop apps.

[1] https://avaloniaui.net/ [2] https://dotnet.microsoft.com/en-us/apps/maui


Paying for a subscription does not guarantee you won't get ads. They could do both.

You do still have access to the GPIO. This HAT [1] stacks on top of the GPIO connector but passes through all the pins so you can still use them. This one is connected through PCIe so it shouldn't be blocking off any pins from use, unless you wanted an NVMe SSD hooked up!

[1] https://www.raspberrypi.com/news/introducing-raspberry-pi-ha...


Ah great! Yeah that makes the benefit a lot more clear. I'm used to hats that seem to lock you out of GPIO use

It's actually a pretty good shell! FOSS and cross-platform, too.

I don't think comparing redstone to something like BASIC is fair. Redstone is easy to get started with but actually making something interesting with it is significantly more complicated. Minecraft Education edition is a better example where you can use Python or something like Scratch to interact with the game.

Perhaps redstone is a bad example, I don't play Mindcraft [sic].

If you don't, redstone isn't like programming, it's like assembling a few logic gates for simple automation.

Or a few thousand logic gates for complex automation, but then it will run in slideshow mode or crash.


Why? That's a decent amount of power for running one thing. It's also dual core! You can emulate early consoles on this microcontroller. Someone made a 3D game for the similar (but less performant) RP2040 running at 250 MHz -> https://github.com/bernhardstrobl/Pico3D

Specifically because both Strudel and Tidal Cycles seem to struggle on moderately complex compositions on my ThinkPad X270.

I just tried it on regular Windows 11 Pro and it just opened the calculator.


I bet the friend just pressed the Windows key, and typing "Calc" and quickly pressing enter caused Bing to search for calc instead. Common failure because window's start-menu search/load/discovery is a total mess.


Even in this case it opens the calculator. Web search results are further down.


if you are searching for something for the first time (or after caching invalidates), it seems like it prioritizes search sources that have already completed.

on my computer, that means web-search almost always completes first. So most of the time if I type in something "new" and don't wait, it'll bring up Bing.

Sometimes it looks like "downloads folder" file search completes before Installed app search completes, because on one occasion I typed in an app's name and it launched the INSTALLER for the app.

once all the searchs resolve it behaves "as expected". I am very surprised if you don't have the same symptoms I'm describing. Why is your computer behaving different from every Win11 install I ever interact with?


I just tried a search for "downloads" and the first result was "Downloads folder privacy settings". I never search for that so it wasn't cached. I even pasted in the query to give it less time to search before pressing enter.

I don't think I've changed any settings for search. Everything is still enabled. There's over 250,000 items in the search index so I haven't removed indexed locations. My computer is pretty much a high-end gaming PC using last generation CPU and GPU. But really I've never seen this behavior anywhere - including my very basic laptop. Maybe I could see this happening on computers that are still using a HDD but I haven't tested that.


pretty weird, i have a few moderately high-end pc's and cheap laptops and they all have the same issues. Maybe me disabling a bunch of telemetry stuff screws up the caching.

I don't think caching makes the difference for me. I never search for "downloads" so it shouldn't be cached. Calculator probably was cached.

But Notepad is not web based? It's still a native app but now uses UWP instead.


UWP, one of the 10+ frameworks used to run Windows 11's system components. Wonderful! Exemplary!

https://old.reddit.com/r/Windows11/comments/o2a0kp/there_are...


Those are design languages/styles, not frameworks. There is a fewer number of frameworks but it's still a handful. Win32, WPF, UWP, MAUI, etc... but at least they're fairly consistent at using UWP for system UI, with older bits using Win32 still.


Which is exactly the problem, and isn't UWP, rather WinUI/WinAppSDK, the WinRT version on top of Win32, instead of UWP.

UWP is actually faster, yes that is that bad.


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

Search: