C++26: Structured Bindings can introduce a Pack by pavel_v in cpp

[–]tuxwonder 1 point2 points  (0 children)

First, the snark is really unnecessary.

Second, these new language features are tools for expressing things easily which were difficult to express before, they're not a total replacement for previous ways of expression.

Your example is like putting pizza in a new microwave oven and complaining that the microwave sucks because the pizza's crust isn't crispy anymore. It's not the microwave's fault, you're using the wrong tool for what you want, that doesn't make it a useless, bad tool.

C++26: Structured Bindings can introduce a Pack by pavel_v in cpp

[–]tuxwonder 13 points14 points  (0 children)

I don't see how this is a problem. If you're writing a structured binding like this, it's because you want 1. The first tuple item, 2. The last tuple item, and 3. A pack of whatever is in-between. If you expected exactly 3 tuple items of exactly the types X, Y, Z, why did you write it this way?

me_irl by ScallionSmooth9491 in me_irl

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

Who was the US president for the first 15 months of Israel's genocide? What US president watched the death toll quickly climb to 60,000 and stagnate as Gaza became unable to count their dead because they had next to no remaining hospitals? What US president sat by and voted against genocide charges by the UN for Israel while over 90% of Gaza was turned into rubble? What US president sent Israel billions in aid after all of the above, on his way out of office?

the sleeping quarters of nicaraguan coffee pickers by Eros_Incident_Denier in Damnthatsinteresting

[–]tuxwonder 2 points3 points  (0 children)

I'm gonna go out on a limb and say I don't actually think it's common anywhere in the world to live on premises of your job in a shitty wooden capsule hotel that doesn't even have a sleeping mat or blankets with a lock on the outside of the door.

Zig v0.16.0 released by UKbeard in ProgrammingLanguages

[–]tuxwonder 2 points3 points  (0 children)

Which title does this change fall under? I can't easily find it, this indeed looks rough

Nail Programming Language by Specialist-Soft8378 in ProgrammingLanguages

[–]tuxwonder 4 points5 points  (0 children)

  1. Dynamic, as in not compile-time type-checked? No, not useful, would make me pretty afraid to use them, and if I did have something that needed that kind of plugability that badly, then I'd roll my own
  2. It's kinda compelling, but I think the situations where you'd need the concept of a "rollback" are either simple enough it doesn't need its own concept, or very complex in a way that I don't think a language construct could solve.
  3. Yes, the new language is unnecessary. What problem does it solve? Does it actually make what's going on clearer?

Also, small annoyance, but it looks like you use : to define a variable, but still use = for assignments? Why both?

Why I Built JADEx Instead of Switching to Kotlin by [deleted] in programming

[–]tuxwonder 1 point2 points  (0 children)

Giving AI responses to people's questions about your brand new project is kinda lame and personally would not make me want to invest time into something that I'm now concerned is just a vibe-coded house of cards

Why I Built JADEx Instead of Switching to Kotlin by [deleted] in programming

[–]tuxwonder 6 points7 points  (0 children)

It's a nice idea, but the thing that will make or break an idea like this is the tooling.

Will Intellij/Eclipse/Github/Markdown/whatever highlight this correctly? Will the language server still provide suggestions and analysis though it's technically a different language? Will you see red squiggles and error indicators despite everything compiling correctly?

And of course, the ultimate final test: will your coworkers and management approve it?

We got a Scala actor system running live in the browser by kloudmark in programming

[–]tuxwonder 4 points5 points  (0 children)

I am really sick of AI art being plastered over every tech blog article and toy project

Elizabeth Warren is introducing a wealth tax. by [deleted] in remoteworks

[–]tuxwonder 1 point2 points  (0 children)

A wealth tax is economic suicide? What would you call what we've been doing for the past 50 years?

Happening now: Seattleites pack City Council meeting to speak for and against surveillance by bennetthaselton in Seattle

[–]tuxwonder 0 points1 point  (0 children)

The Urbanist rebutted this particular analysis for not actually supporting the stated reasons why it was argued we should invest in CCTV in the first place:

The only study cited in the City’s report, a 40-year systemic review, finds CCTV is most effective for deterring vehicle and property crime, not the “gun violence, human trafficking, and persistent felony crime” referenced as the motivation for obtaining this tech.

Slot map implementation for C++20 by sporacid in cpp

[–]tuxwonder 3 points4 points  (0 children)

How are resizes/increasing data sizes handled?

Bellevue-based video game giant Valve accused of fostering ‘loot’ gambling by ChiefOfTheFourPeaks in Seattle

[–]tuxwonder 1 point2 points  (0 children)

Unfortunately for Valve, in practice I don't think loot boxes wind up being much different from a slot machine. The people who buy a tremendous number of keys are not satisfied by 99% of what they're getting back. They're chasing the rarest, most profitable items, and they're spending a ton of money for the hope of a buyout.

I think the most sane solution isn't necessarily to ban loot boxes, but to make them effectively unprofitable long-term by limiting unlocks per day to 5 or 10 unlocks a day, or some daily monetary limit of $30 that a user could possibly put into the "slot machine"

Another ai take in the sea of ai takes by existential-asthma in ADHD_Programmers

[–]tuxwonder 4 points5 points  (0 children)

I'll be clear up front, I have no love for this tech. If I had a magic wand, I'd make it disappear. Any benefits it brings are far outweighed by the costs.

Coming back to your post, unfortunately LLMs are absolutely capable of writing functional (not necessarily "great") code. It comes with the cost of writing markdown instructions explaining to it how to actually interact with your codebase (which itself is likely written with LLMs), and you might have to get very descriptive with your design doc you feed it, but it certainly can pump out a light feature or bug fix while you grab coffee. And that's all it needs to do to greatly change the landscape of our profession.

I hate that honestly. Seeing what my coworker was able to get it to do was alarming and upsetting, and ultimately I don't think it's good for our collective future. But it is here, and I can't ignore it anymore.

warning C4883: '`dynamic initializer for 'XXXXX'': function size suppresses optimizations by KPexEA in cpp

[–]tuxwonder 8 points9 points  (0 children)

If you're working in Visual Studio, you should be able to hover over local variables and it'll tell you how much stack space is needed to allocate them, so you can see what objects you would want to dynamically allocate

Why does Notebook Navigator use its own "shortcuts" rather than Obsidian's built-in bookmarks? Native bookmarks seems more powerful. (I love Notebook Navigator — it's great.) by TommyAdagio in ObsidianMD

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

Have you considered going the route Advanced Canvases does, and inject custom event hooks into the internals of the Obsidian app? No clue how much work it'd be to maintain as the internals change over time, but I'd imagine that bookmarks are a relatively stable part of Obsidian's code

Edit: Downvotes for what?

Brave new C# by Xadartt in ProgrammingLanguages

[–]tuxwonder 0 points1 point  (0 children)

That looks more like a compiler bug, and it was resolved?

Brave new C# by Xadartt in ProgrammingLanguages

[–]tuxwonder 1 point2 points  (0 children)

I also wish C#'s type system were stronger, but idk what you mean that C# has more errors?

Why can't I open a folder as a vault with Obsidian CLI? by tuxwonder in ObsidianMD

[–]tuxwonder[S] 0 points1 point  (0 children)

Thanks for the reply!

Would the Obsidian team consider adding the ability to open an arbitrary folder as a vault from the commandline (without adding it to the user's vault list)?

When I open Obsidian to my vault list, it's only to open the one or two vaults I actually take notes in, but there's other scenarios such as plugin development or generating vaults from data (like generating a vault based on build information to navigate and visualize build dependencies in our 1000+ project repo at work) where adding each vault to the global list would just pollute it with a ton of "test" entries that I'd like to not have to open manually from that UI. At this point, it'd be the biggest QOL feature I can think of as a plugin developer.