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

Yep. And 'wget' is often alias for WebRequest in PowerShell. The amount of footguns I ran into while trying to get a simple Windows Container CI job running, oh man


"curl" being aliased to "Invoke-WebRequest" is also a massive dick move


yea, curl.exe and curl are two different commands on windows. Fun stuff.


I do still find Invoke-WebRequest useful for testing, because it is magically able to reuse TCP connections whereas curl always opens a new connection per request.


Not "on Windows". In PowerShell 5. PowerShell core removed the curl alias 9 years ago.


But PowerShell 5.1 is still the one that ships with Windows.


It's a completely new shell, new commands for everything, no familiar affordances for common tasks, so they add user-configurable, user-removable aliases from DOS/macOS/Linux so that people could have some on-ramp, something to type that would do something. That's not a dick move at all, that's a helpful move.

Harassing the creator/team for years because a thing you don't use doesn't work the way you want it to work? That is.

They removed it in PowerShell core 9 years ago! 9 years! And you're still fixated on it!


It is still present in powershell on my up to date windows 11 machine today, so it is disingenuous for you to claim the alias was removed 9 years ago. It is 100% still being shipped today.

The alias confuses people that are expecting to run curl when they type "curl" (duh) and also causes headaches for the actual curl developers, especially when curl is legitimately installed!

Why the hostile tone? Pretty rude of you to claim I'm fixated on the issue for years and harassing the powershell development team with zero evidence.


When you open powershell it says something like “Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

Isn’t it disingenuous to claim it is “up to date” when you know there’s a new version and aren’t using it?

> “The alias confuses people that are expecting to run curl when they type "curl" (duh)

Yes, once, until you learn what to do about it. Which is … just like any other software annoyance. One you think people would get over decades ago.

> “and also causes headaches for the actual curl developers.

Linux users can’t comprehend that the cURL developer doesn’t own those four letters.

> “It has very little compatibility with the actual curl command.

It’s not supposed to have. As I said in another comment the aliases were added to be an on-ramp to PS.

Why aren’t you also infuriated that “ls” isn’t compatible with “ls”? Because you use the full command name in scripts? Do that with invoke-webrequest. Because you expect command to behave different in PS? Do that with curl.


>Linux users can’t comprehend that the cURL developer doesn’t own those four letters.

probably they can comprehend that MS has a history of making things slightly incompatible so as to achieve lock-in and eradicate competing systems.

Also if any program has been the standard for doing this kind of thing for a long time it's curl, it's pretty much a dick move that someone can't just send a one liner and expect it to work on your system because that is often how you have to tell someone working in another system "yes it works, just use this curl script" and then they can see wow it must be something with my code that is messed up.


> "it's pretty much a dick move that someone can't just send a one liner and expect it to work on your system"

No, it isn't. This is what I'm objecting to - this frames the situation in terms of Linux being "the one correct way" to do everything computing, and that all companies, people, tools, operating systems, should do everything the way Linux does - and are dicks if they don't. Not just dicks, dicks to you personally.

Including Linux's 'competitors', they are dicks for including things which help their paying customers in a way that isn't the Linux approved way, and they shouldn't do that because of the demands of Linux users.

This is collectively domineering (everything should be my way!), entitled (I have a say how a tool I don't use, am not developing, don't want, and am not paying for, should work), self-centred (everything which exists should be for my convenience), and anti-progress (nobody can try to change anything in computing for any reason - not even other people improving their system for other people).

That is a framing change which should not go unnoticed, uncommented. It's also common in programming languages where people complain if a language looks a bit like C but doesn't behave exactly like C in every way.

Your arbitrary one liner won't work because Python isn't there. Perl isn't there. `ls` is different. Line endings and character encodings are different. xargs isn't there. OpenSSL, OpenSSH aren't there. `find` isn't there. `awk` isn't there. `sed` isn't there. `/` and `/sys` and `/etc` aren't there. It's a completely different shell! On a different OS!

It's not reasonable to expect that a shell that was designed to not be a *nix shell - because the underlying OS is not *nix - will work exactly like a *nix shell and you will be able to copypaste a one liner over.

It is unreasonable to see some developer trying to create a thing in the world which isn't Unix and take that as them being dicks to you personally. It's also bad to be like "I tried one command in this 'new shell' of yours and without understanding anything it didn't do exactly what I wanted and that's you being mean to me. and I'm still going to be hurt about this in unrelated posts decades later on the internet".


Not gonna respond to my point about you getting irrationally rude and upset over my impersonal complaint?


Pretty sure you edited that in afterwards, but here you come into a thread about Copy-Item, instead start talking about Invoke-WebRequest and when I say "start talking" I mean mic-drop calling the developers dicks with no other content. After you've successfully triggered someone into a flamewar (me), you try to take the high road saying I'm the one being rude? Calling that out as well.

> "my impersonal complaint"

There's a person behind the move whom you are calling a dick. That's not impersonal. And it is rude. I suspect it's Jeffrey Snover, but possibly Bruce Payette or James Truher.

Here I address the wider context in a reply to bryanrasmussen: https://news.ycombinator.com/item?id=46182420


I'm going to keep bringing up that the curl alias is a dick move until Microsoft decides to fix it.


What about new features? There are many small features that can't be used via older APIs and bigger ones like accelerated ray tracing.


Sure, but then you've already thrown away the possibility of using "simpler" APIs that everybody is whining that DX12/Vulkan is more complicated than.

Programmers should absolutely not be using DX12/Vulkan unless they understand exactly why they should be using it.


The kernel might be a polished gem but win32 API?

Practical is a term I'd use as win32 has managed to survive to this day but that came with a boatload of hacks and problems. It's ugly.


When you run Steam games on Linux that mostly goes via a version of Wine, which implements win32.

Yes, win32 is ugly, and so is x86.


2025 was the year when my fear of being replaced by an AI changed to fear of a big economic disaster caused by AI bubble


It's been a rollercoaster, and it's still not clear what's on the other side of the loop.


I write C++ daily and I really can't take seriously arguments how C++ is safe if you know what you're doing like come on. Any sufficiently large and complex codebases tend to have bugs and footguns and using tools like memory safe languages limit blast radius considerably.

Smart pointers are neat but they are not a solution for memory safety. Just using standard containers and iterators can lead to lots of footguns, or utils like string_view.


It's not as bad as the first previews but ugly nonetheless and overall accessibility nightmare.

All I hope is that the design language stays contained in Apple ecosystem and does not spread.


Accessibility hasn't changed at all, and it remains trivial to turn off visual effects that present a problem. https://imgur.com/a/Vw55f8V


I've had similar experiences when working on non-web tech.

There are parts in the codebase I'd love some help such as overly complex C++ templates and it almost never works out. Sometimes I get useful pointers (no pun intended) what the problem actually is but even that seems a bit random. I wonder if it's actually faster or slower than traditional reading & thinking myself.


I have the same issue. I've disabled "Find My" feature and uninstalled everything that kept showing up as battery draining apps. My iPad loses about 20-25% of battery every night and there is nothing showing up in battery details anymore.

I'm pretty sure the problem would go away with a factory reset. Just like it with old Windows installations, except you had a better change debugging those...


That's scary. I have an old Steam account with tons of games and already got banned once due to a bug in anti-cheat software and for a while my whole account was marked with a cheater tag.

The bug was so widespread that developers eventually removed bans but I'm sure something similar could happen where problem goes undetected and it would be really hard to try to convince developers to lift a ban.


Fragment shaders are perhaps over over-represented due to old WebGL style and easiness of integration, full screen quad + a shader is quite self contained setup.

Compute shaders are much more interesting and widely used in modern graphics though. No fixed rasterizing setup needed, just buffers for data in/out and a kernel with access to the usual GPU syncing primitives in between.


Side note that WebGL only doesn't have compute, because Google sabotaged the effort, asserting that WebGPU was right around the corner, so there was no need to adopt Intel's work into Chrome.

This was back in 2020,

https://github.com/9ballsyndrome/WebGL_Compute_shader/issues...

Thankfully we are all now writing easy, portable, WebGPU computer shaders, even ShaderToy supports them now. /s


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

Search: