News for hackers. Stuff that matters.
Re:Microsoft’s new Windows prompts try to stop people downlo... by easton on Thursday December 02, 2021 @09:33AM (#29416569)
Humorously, using tools built into Windows 10 and 11 now, you can open a PowerShell window, type winget install Google.Chrome, and never open Edge once if you don't want to.
Re:Microsoft’s new Windows prompts try to stop people downlo... by mynameismon on Thursday December 02, 2021 @09:44AM (#29416724)
That is exactly what I love about Windows 11 particularly. I don't have to deal the abdominations like Microsoft News, just a winget away. Don't like Edge?

    winget uninstall -e "Microsoft.Edge"
Re:Microsoft’s new Windows prompts try to stop people downlo... by loudtieblahblah on Thursday December 02, 2021 @09:55AM (#29416890)
i look at advancements like this in Windows and think it's really cool.

But after spending so many years, especially in the late 90s and early 2000s, getting shit from a bunch of khaki wearing, corporate butt kissing MSCE types about how Linux is "get what you pay for" and constantly mocking that all this "free software can't do anything"

and then sitting back and watching Linux empowering cloud computing, Unix/Linux being the basis of all our mobile devices, being the base for most IoT, watching the explosion of Docker and tons of other toolsets all initially rooted in the Unix/Linux ecosystem, watching Unix/Linux become a tool that developers heavily relied on either Linux on the server or Linux/MacOS on the desktop/laptop...

watching Microsoft do things like making Notepad use Unix EOL characters, supporting MS SQL on Linux hosts, expanding PowerShell to perform all kinds of tasks easily done by Unix/Linux for over a decade, creating a knock off of apt and yum with "win-get", making it super easy to install a whole Linux ecosystem within Windows itself, doing everything they can to make using GIT on windows, an easy experience, and so forth and so on..

and i just can't help being figuratively stick up my middle finger. Not just to MS as a company but to all the clowns that mocked Linux and Unix guys for literally 20 some odd years. Not just peers and co-workers, but managers, upper level managers all the way to CTOs who reluctantly realized Linix solutions were a better fit in some areas and were won over by lower management.

At this juncture - i don't even particularly like desktop computing, no matter the flavor. It's all frustrating in their own ways - including my precious Linux.

But F* windows and F** windows people in IT. The whole lot of em

Re:Microsoft’s new Windows prompts try to stop people downlo... by jodrellblank on Thursday December 02, 2021 @01:34PM (#29420312)
> "watching Microsoft do things like making Notepad use Unix EOL characters"

A system which still pretends you're talking through a teletype, a system where it would make sense to use both CR and LF together and individually to move the cursor accross or down or both, shuns it.

Windows never did mandate it, applications can use any line ending they like, but used it as a convention for backwards compatability with DOS which was backwards compatible with CP/M. CRLF is the standard in SMTP, POP, IMAP and HTTP.

To watch Linux fanatics:

1) identify Linux with Unix, for "superiority by association".

2) personally identify with the use of LF as a newline indicator in text(!)

3) fantasise that Microsoft's use of CRLF is inexplicable, inferior, dictatorial and in some way objectively wrong, while Linux's parroting of Unix is superior, amazing and in some way objectively correct.

4) Ignore that the American Standards Institute draft of control characters from 1963 had only CRLF newlines, and Multics from 1964 didn't go with the standard when it could have.

5) personally feel superior and vindicated that Microsoft's basic text editor changed newline terminators...

6) ... a program they don't even use ...

7) ... while in the same breath complaining about how everything should be like Linux and they've said so for years, but now it is that way it's also bad; "fuck you fuck everyone I was here before it was cool, I was angry that you didn't do it my way and now I'm angry that you are doing it my way".

8) while ignoring the elephant in the room that the "everything as text" OS with tools that "do one thing well" is completely incapable of handling both styles of line endings.

Is just a ridiculous situation.

> "doing everything they can to make using GIT on windows, an easy experience, and so forth and so on.."

What a terrible company, doing things to make users lives easier. Imagine if all the standard Linux tools could just handle common line endings. Python does, which demonstrates it's totally possible and mostly a non-issue. It could have been made to completely go away, but instead has become a source of Ego and Pride for the Linux fanatic, thinking people who use tools that deal with complexity and present it simply are inferior, instead of thinking that those tools are desirable and superior.

Re:Microsoft’s new Windows prompts try to stop people downlo... by mynameismon on Saturday December 04, 2021 @12:19PM (#29442333)
Also, CRLF makes sense when you think of the origin: CR moves to the next line and LF moves to the start of the next line.
Re:Microsoft’s new Windows prompts try to stop people downlo... by sixothree on Thursday December 02, 2021 @02:17PM (#29421040)
And doesn't mac use a third scheme - CR?
Re:Microsoft’s new Windows prompts try to stop people downlo... by ddoubleU on Thursday December 02, 2021 @02:32PM (#29421248)
\n MeAnS NewLiNe
Re:Microsoft’s new Windows prompts try to stop people downlo... by selfhoster11 on Thursday December 02, 2021 @07:27PM (#29425046)
> and i just can't help being figuratively stick up my middle finger.

My personal opinion on WSL and other "Linux integration" tech in a nutshell. We MADE this world. How dare they try to domesticate it! How dare they take our ladders, pulling them up right after they are done building their monopolies!

> At this juncture - i don't even particularly like desktop computing, no matter the flavor. It's all frustrating in their own ways - including my precious Linux.

I don't even want to see a Year of the Linux Desktop any more. It's a dumpster fire. Serenity OS and Haiku deserve their own Year of the "X" Desktop far more than we do. The Linux can keep its Century of the Linux Server trophy instead. And it's not a consolation prize, but a real achievement.

Re:Microsoft’s new Windows prompts try to stop people downlo... by nrki on Thursday December 02, 2021 @03:20PM (#29421924)
I couldn't agree with you more.

I was thoroughly in the "screw Microsoft" camp until about 2018, when I thought they were on the way to redeeming themselves.

Unfortunately they've continued their prior "hatefully corporate ++" behavior. I bestow this term on companies like Oracle & SCO (remember them?). At this stage in my career, I have regularly been in a position to send a significant portion of comapny expenditure toward Microsoft. I won't be in future, and when I reach CTO/CIO I will continue to advocate for more open and fair solutions for my company.

Re:Microsoft’s new Windows prompts try to stop people downlo... by Quarrelsome on Thursday December 02, 2021 @10:09AM (#29417046)
Great post until:

> But F* windows and F* windows people in IT. The whole lot of em

Maybe leave the late 90s.

Re:Microsoft’s new Windows prompts try to stop people downlo... by loudtieblahblah on Thursday December 02, 2021 @10:28AM (#29417282)
maybe Windows guys should. "look at all this cool stuff Windows can do, that the stuff i was mocking could do 20 years ago".

The way Windows people talk about all the "revolutionary" stuff Windows can do, like just piss off.

This is like the jocks bullying kids for wearing Metallica shirts or NIN shirts freshman year only to act like the biggest fans 2-3 years later.

It's like Star Trek fans getting mocked for decades, just so people who never cared in the first place can tell people who've been fans for 20-30+ years they aren't "real fans" (and banning them from communities for daring to have a critical opinion) b/c they don't gobble up every piece of shit Abrams or Kurtzman puts out.

There's just this trend of people swinging down and then when said thing becomes mainstream, they act like they've been down since day one. the important lesson is that they're cool and smart and in-tune, no matter what.

Re:Microsoft’s new Windows prompts try to stop people downlo... by Quarrelsome on Thursday December 02, 2021 @12:18PM (#29419137)
there's a lotta people that use windows but you're imagining they're all the same as the people you hate. That's hate.
Re:Microsoft’s new Windows prompts try to stop people downlo... by loudtieblahblah on Thursday December 02, 2021 @12:50PM (#29419642)
people that accept the default choices in life are always the ones swinging at people who don't and it remains true even when what was once is obscure all of a sudden has cultural/business momentum to escape that relative obscurity.
Re:Microsoft’s new Windows prompts try to stop people downlo... by Quarrelsome on Thursday December 02, 2021 @01:00PM (#29419819)
sorry, are you suggesting I'm oppressing (swinging) you just because I want my OS install to be easy or idk play games or just because I'm not really into OSes and prefer to focus on other stuff?
Re:Microsoft’s new Windows prompts try to stop people downlo... by sixothree on Thursday December 02, 2021 @02:19PM (#29421072)
Just to make you mad, I am going to compile this application written in an open source MS language and run it on Linux. Every day.
Re:Microsoft’s new Windows prompts try to stop people downlo... by majkinetor on Thursday December 02, 2021 @10:04AM (#29416998)
And F* shitty Linux users with stupid names, horrid and unsecure desktop, and irrelevant topics.
Re:Microsoft’s new Windows prompts try to stop people downlo... by handrous on Thursday December 02, 2021 @12:05PM (#29418915)
True enlightenment is realizing that the Every OS Sucks song is, and always has been, right.

https://www.youtube.com/watch?v=CPRvc2UMeMI

Re:Microsoft’s new Windows prompts try to stop people downlo... by driverdan on Thursday December 02, 2021 @11:35AM (#29418395)
Can winget also uninstall the Microsoft Store and all their spyware/telemetry/advertising BS?
Re:Microsoft’s new Windows prompts try to stop people downlo... by mynameismon on Saturday December 04, 2021 @12:19PM (#29442336)
I think so, yes
Re:Microsoft’s new Windows prompts try to stop people downlo... by pseudalopex on Thursday December 02, 2021 @11:31AM (#29418322)
A future update will block other browsers from opening start menu or widget links.[1]

[1] https://news.ycombinator.com/item?id=29251210

Re:Microsoft’s new Windows prompts try to stop people downlo... by majkinetor on Thursday December 02, 2021 @09:58AM (#29416923)
You could do that almost 10 years ago with chocolatey the exactly same way, here is one liner

    iwr https://chocolatey.org/install.ps1 | iex; cinst googlechrome
Re:Microsoft’s new Windows prompts try to stop people downlo... by dotancohen on Thursday December 02, 2021 @10:11AM (#29417083)
And how did you get chocolatey on that new install? I'm guessing that the vast majority of users opened IE and downloaded it through that browser.
Re:Microsoft’s new Windows prompts try to stop people downlo... by vadfa on Thursday December 02, 2021 @10:15AM (#29417121)
"iwr https://chocolatey.org/install.ps1 | iex" installs chocolatey without having to open IE
Re:Microsoft’s new Windows prompts try to stop people downlo... by dotancohen on Thursday December 02, 2021 @10:19AM (#29417168)
I see. That's why my comment was worded so carefully: though I'm sure one _could_ install chocolatey from the Windows CLI, a tiny minority ever would do so.

But that's for introducing me to the iwr command. I don't use Windows often, but it's good to know what tools are available in the rare instances that I need to. Now I need a mnemonic to remember it... "I Want Real (curl)"

Re:Microsoft’s new Windows prompts try to stop people downlo... by alexchro93 on Thursday December 02, 2021 @11:32AM (#29418326)
Invoke Web Request is another good one, considering iwr is just an alias for the PowerShell cmdlet Invoke-WebRequest.
Re:Microsoft’s new Windows prompts try to stop people downlo... by easton on Thursday December 02, 2021 @10:41AM (#29417482)
C:\Windows\System32\curl.exe exists if you want real curl. (or just run curl from a command prompt. curl in powershell is an alias for iwr.
Re:Microsoft’s new Windows prompts try to stop people downlo... by majkinetor on Thursday December 02, 2021 @11:15AM (#29418053)
Its 5 years outdated tho, better use this, always up to date:

https://community.chocolatey.org/packages/curl

Re:Microsoft’s new Windows prompts try to stop people downlo... by zamadatix on Thursday December 02, 2021 @10:16AM (#29417134)
This has been doable since Windows has had network connectivity, winget is just the latest way on the pile. Albeit probably the easiest yet. TFTP, FTP, SFTP, SCP, Powershell HTTP(S), curl (giving you a copy of all the prior methods), winget. That's all of the ways I can think of without getting too "make your own program"-y like VBA and whatnot.

In particular I remember utilizing the FTP method to get Firefox (avoiding IE) was all the rage in the XP era.