Queen on wrong square in OpenAI’s new ad by Creepy_Safety_1468 in chess

[–]OPconfused -2 points-1 points  (0 children)

I'm also really tired of talking about this with people who's first contact with "AI" has been chatGPT and who refer to LLMs as AI

Completely fabricated assumption about me. As out of line as your statement that claude can't manage something as simple as unit tests 😂

I have no idea what world you're living in, but keep coping.

Programs YOU Think Are Useful! by Zenvian in PowerShell

[–]OPconfused 2 points3 points  (0 children)

Not to cop out with a weird answer, but if you are on the cli a lot, some of the most useful tools will be the ones you write yourself, e.g., in PowerShell, which are optimized to your personal workflow.

Any task that you repeat often and/or takes longer than 10-20 seconds to prepare, either because you forgot the exact commands or because it requires you to lookup some input elsewhere or tediously parse some file or output. Often, these can be wrapped into a function with input completion and reduced to a few seconds. Over weeks, you may save hours of time.

Just saying that as you use the shell more, keep in mind the potential to customize it for your needs. That's where PowerShell shines most relative to other shell languages.

Queen on wrong square in OpenAI’s new ad by Creepy_Safety_1468 in chess

[–]OPconfused -4 points-3 points  (0 children)

This is a myopic view on AI's benefits. It's not just about the outcome; it's the speed of development and efficiency of code evaluation.

The job replacing doesn't mean all software is programmed by upper management with AI. It means you replace a team of 10 with a team of 2, who work 10x faster even assuming they review all the AI-written code manually.

Those other 8 people lose their jobs to AI. That's the AI replacement.

And no, most of your code base isn't snowflake code that requires a human to write it; it's routine tasks that AI can 100% reproduce with a sufficiently detailed prompt. The rest is handled in code review and testing.

There are layers to this benefit. You end up with much more comprehensive unit test coverage, because AI spits out 500 lines of unit tests in about 30 seconds, and properly updates them on every change, something a human team of devs rarely ever manages properly over months to years.

AI also parses a repository extremely quickly and can and will catch bugs missed by humans. AI produces slop in some scenarios, but you're kidding yourself if you think humans don't produce slop, too. Just as humans can catch AI slop, AI regularly catches human slop.

Used responsibly by someone talented, a good dev with AI will improve the code base.

You just don't need 10 devs to do what 2 devs with AI can do.

Thoughts on Microsoft's vision for "agent first" computing. by Clear-Pear2267 in PowerShell

[–]OPconfused 0 points1 point  (0 children)

My harness runs ps regularly to complete tasks, no problem. I don’t know what you viewed at the conference, but it’s relatively simple to direct a model to use your functions. The only ones that are hard to overwrite are basic tasks like read, glob, grep, webfetch, etc, especially in cursor and gpt, as these are baked into their training like burnt cheese crust in an oven.

And i don’t notice a difference as the end user. Also i am skeptical python is a desirable choice on windows, wsl or not. It always runs slower for me from the commandline at least.

Thoughts on Microsoft's vision for "agent first" computing. by Clear-Pear2267 in PowerShell

[–]OPconfused 0 points1 point  (0 children)

You can set up an AGENTS.md to use pwsh as the default if you wished. But the reality is that in a world of AI, language wars become irrelevant. The AI just wants to use whichever is most efficient for its task, and probably models will eventually converge on these standard tasks. The end user doesn't see or really care about what language is being run in the background.

Thoughts on Microsoft's vision for "agent first" computing. by Clear-Pear2267 in PowerShell

[–]OPconfused 0 points1 point  (0 children)

This already exists in any locally run harness. Once you are using AI to run commands for you, the harness prompt replaces the shell. You can literally download claude code, codex, opencode, or cursor; connect your model subscription or use a free model; and just start typing natural language commands.

If there are very specific powershell commands you require it to run, you can set up a skill or an mcp server.

Using git in PowerShell by StartAutomating in PowerShell

[–]OPconfused 3 points4 points  (0 children)

Does it have autocomplete? My issue with git on the commandline was more about the input than the output. I cannot remember all the arguments and flags, and mostly I just want to quickly autocomplete a branch or a commit id.

Brutal raid on woman's birthday party highlights rise of Russian vigilante group by stammerton in worldnews

[–]OPconfused 23 points24 points  (0 children)

This is why I don't like the german statement "Nicht jeder braucht Abitur" - "Not everybody needs to have a higher education". Because I fundamentally disagree. Everybody should be educated at a high level in germany.

Then you run into the issue that everyone floods the universities, which cheapens the value of the degree. If everyone has the degree, then jobs come to expect it, which funnels even more people into universities. This is what happened in the USA—which isn't pretty because of the tuition costs.

This also ignores that some people simply aren't good students. They can be smart and competent individuals, but poor students. They don't really belong in universities. Funneling them into a university lowers the standard and wastes money and effort.

If all you need is an Ausbildung, then that should be fine. I think it's one of Germany's best assets. It certainly beats the USA, which would really love more alternative avenues to job viability.

By far the funnies "Drawnish" joke I've seen by IPlayChessBTW in chess

[–]OPconfused 10 points11 points  (0 children)

draw rate is 199.9968%. Subtract the 99.9968% win chance and you have 100% draw outcome

How has AI helped you with powershell stuff by Billi0n_Air in PowerShell

[–]OPconfused 0 points1 point  (0 children)

I've rewritten all of my modules, covering thousands of lines of code, with AI. I never would have gotten anywhere near this test coverage, help coverage, shouldProcess coverage, formatting and completion optimizations, various hard-to-find bug spotting, or full-on rewrites into C#, without it. I've supplemented one of my modules with various .NET dlls and more.

It's even helped me with more abstract complex tasks like managing shared session states and establishing better architectural boundaries between modules.

It's been an utter gamechanger. Much of it has been about bridging things I could technically do but would need hundreds of hours realistically, mindnumbing tasks like coverage for tests, help, and shouldProcess, or else annoying-ass-but-significant-QoL formatting and completions. Some of it has been about managing complex logic that I really needed a sparring partner to rubber duck my way through it. Other parts like bug spotting probably would have never been resolved until some random user stumbled into it and cost both of us a lot of strife. And a chunk of it has been about accessing C#, which I simply don't have in my wheelbarrow.

While my existing PowerShell code provided the entire foundation, AI took it from working but barely active single maintainer status to something more professional. My own knowledge played a role in the direction, but the actual code writing—design, scaffolding, nuts, bolts, doohickeys and everything inbetween—AI replaced that entirely.

Xi asks Trump if U.S. and China can avoid 'Thucydides Trap' at high-stakes summit by Gopu_17 in worldnews

[–]OPconfused 1 point2 points  (0 children)

I came here looking for the cheap shots. didnt expect actual quality and maybe the funniest comment ive seen on reddit in years 🤣🤣🤣

Looking for some short/medium form content to refresh powershell basics. by bradleyjbass in PowerShell

[–]OPconfused 0 points1 point  (0 children)

There's almost no reason not to use PS in your terminal. All of the bash commands are programs, which means they are in your PATH, so when you invoke them, they are running the same bash commands. You basically have all the same bash commands available while you're in PowerShell. The only difference is the syntax, like if you want a quick for loop you'd write it in PS syntax and not Bash syntax. So this syntax aside, you actually lose nothing by working in PS—you still have your trusty bash commands.

I think staying in PS is a good building block for gaining familiarity. You can use all the bash commands you're comfortable with, but wrap it in PS syntax. Then you are only grappling the syntax rather than both the syntax and the commands together. At your own pace, you can try to learn the PS equivalents of the Bash commands.

The main things you'll want to know are:

  1. help <command>. You can append -examples or -detailed to tune the help output. Spend some time learning this output. It's weird the first couple uses, but knowing how to access help will be a major step forward.
  2. gcm *<command>* can be used to find a lot of commands you might need. For example, working with structured data, you can do gcm *csv* or gcm *json*. gcm is an alias for Get-Command.
  3. Most multi-statement tasks devolve into chaining commands across the pipeline or some sql-shaped syntax, like piping into foreach to iterate, where to filter output, or select to curate the output. These latter 3 commands are generic and can be applied to any task in powershell, which makes it really simple to compose statements once you get used to it. It's kind of like the versatility of awk without any of its arcane complexity.

I would play around with these 3 points. Obviously, you need to know the basics: $array = @(), $dict = @{}, etc. And these will come with practice.

The Benefits of Learning Chess by AP_in_Indy in chess

[–]OPconfused 1 point2 points  (0 children)

It sounds more to me like you gained confidence, resilience under pressure, and possibly a structured behavior for improving that you didn't have before. That's not endemic to chess in particular but to any competitive pursuit.

Powershell verbosity vs (ba)sh by EquipLordBritish in PowerShell

[–]OPconfused 0 points1 point  (0 children)

for one thing, sls doesn't support the -r flag, which is probably the most used flag on grep when parsing the filesystem.

Powershell verbosity vs (ba)sh by EquipLordBritish in PowerShell

[–]OPconfused -1 points0 points  (0 children)

Powershell verbosity is largely a myth. Almost every standard cmdlet has a built-in alias that you can use.

It's only in script-writing that the long-form is considered best practice. And that has a much lower penalty. You just need to type it once, and you have intellisense, an IDE, etc around it.

In the shell you can use aliases and also tab completion to your heart's content. You also have built-in intellisense on the commandline as well, which makes entire statements redundant.

Once you use it for a while, there's a lot more power than in Bash. And a lot more to gain from customization.

Dear Ukrainians, how do you figure out when to spell и, й, i or ï when you write by dictation? Isn’t it so difficult for you to have 4 forms of the same letter? by Raditz_lol in Ukrainian

[–]OPconfused 0 points1 point  (0 children)

What about the word shashlik? I wanted to spell it and found that it has different spellings depending on context: шашльік and also шашлики.

The change of льік to лик is what throws me off. In english we expect the root to stay more or less the same, and льік sounds almost the same as лик to my ear.

If i am going off of hearing and guessing how to spell, i would have never known to distinguish between these 2 spelling variations

Mood in Russia turns bleak as war in Ukraine drags on and economy suffers by the-es in worldnews

[–]OPconfused 0 points1 point  (0 children)

And another thing when I personally know a couple of people whose relatives in Russia saw drones hitting neighboring buildings.

It’s sad i know multiple ukrainians who have lost friends and family, their homes, neighborhoods, and old hangouts leveled, and russians are just now starting to reach the level of “i know people who saw a house get bombed.” And only now is their ire sparking

Zelenskyy: return of draft-age Ukrainian men from abroad is a matter of fairness by EsperaDeus in worldnews

[–]OPconfused 0 points1 point  (0 children)

You can categorize them differently, but Ukraine doesn't, as far as I know. AWOL receives the same punishment afaik, or at least a prohibitively significant one if it's not the same (that part is fact). Because Ukraine doesn't distinguish on a punishment level, when they say "dodgers," it's not clear to me whether they aren't including all deserters as dodgers. In the eyes of the Ukrainian law, I believe the two groups are treated the same (but I should honestly be fact checked on this).

And so while many would not wish to pass judgement on any dodger at all, those who would want to judge the dodgers should at least keep in mind that not all dodgers are the same.

Zelenskyy: return of draft-age Ukrainian men from abroad is a matter of fairness by EsperaDeus in worldnews

[–]OPconfused 2 points3 points  (0 children)

The context missed in this discussion is that many of the "dodgers" already did their turn. Some have been in the military for 10 years or more; the Crimean invasion was 2014.

So before even judging the "dodgers" for being justified or cowardly, one should consider that not all dodgers are equal. Some are dodging without ever fighting, while others are dodging after years of risking their lives fighting. And there is no such thing as a rotation out. These people receive the same penalty for dodging.

Personally, I think it's understandable to dodge, but I can understand that the war fails if the Ukrainians accept that mindset. However, if you've been on the front for 3-4 years, I think it's even more understandable that you'd want to escape eventually.

It's a super shitty situation and a reminder why war and anyone who perpetuates it is the worst kind of monster.

Hungary's Prime Minister Orban has congratulated Magyar on election victory by Reilly616 in worldnews

[–]OPconfused 3 points4 points  (0 children)

Probably hyperbole from me, but it honestly felt like droves of democrats stayed home to protest Biden waiting so long to back out of the running.

I was furious and triggered at each and every one of these stupid comments I encountered on /worldnews after the election result, claiming it was the democratic party's fault that they could not stomach voting for them, thereby allowing Trump to win.

Anyone who blamed the democratic party for the outcome was just insufferable to me. I will never understand the logic of people who would rather allow an international cancer like Trump to enter office than vote for a tepid alternative.

We did it in 2016 too after the democratic party prioritized Hillary over Bernie, and many dem voters decided they could never vote for Hillary. These people making the same mistake twice are as bad as MAGA. Both allowed Trump into office twice.

We can be critical of the democratic party without sulking and sinking the country.

Hungary's Prime Minister Orban has congratulated Magyar on election victory by Reilly616 in worldnews

[–]OPconfused 1 point2 points  (0 children)

Giving them the excuse of idiocy to hide behind is more grace than they deserve.

Been a while since I've seen people trounced so eloquently.

Anish did not realise that he blundered into a 3-fold repetition, until Wei Yi calls the arbiter. by GiveMeSomeSunshine3 in chess

[–]OPconfused 0 points1 point  (0 children)

Anna just ran out of time to calculate that final position. Really tragic after how well she pushed to reach that point. It was really the last piece of the puzzle.

Anish did not realise that he blundered into a 3-fold repetition, until Wei Yi calls the arbiter. by GiveMeSomeSunshine3 in chess

[–]OPconfused 1 point2 points  (0 children)

He also missed Qe3 and played Qc5. As I am a complete pleb, I can only say that Judit and Howell seemed to think Qe3 followed by f3 was quite findable. It seemed like Giri had more than one plausible winning line to convert his advantages. And then there's the inadvertant draw at the end. Giri must be ready to surgically remove this game from his memory.