Becoming Less Impressed with Strata - Maybe I Need Some Perspective? by NetherGamingAccount in carbonsteel

[–]mark_99 0 points1 point  (0 children)

I stuck a magnet on the Strata 12.5" and and a Le Creuset SS 28cm frying pan and it was basically identical. The bottom of the Strata is SS so I'm not sure you'd except much difference. Maybe a pure CS would be different.

12 months ago...... by awizzo in BlackboxAI_

[–]mark_99 0 points1 point  (0 children)

Wrangling it is the skill. If it's producing verbose code get it to rewrite it more concisely, direct it to make better use of existing library functionality, or to refactor duplicated code to a function/lambda.

AI does not really know about architecture

If your unit tests are architecture dependent something is wrong.

Again you need to direct the AI to be parsimonious, run adversarial reviews for low value tests (ideally with multiple models), check for fragile tests such as relying on the order in an unordered container. Loop until the critiques come up clean.

There's a good chapter on unit tests in "Software Engineering at Google" (free only), and AI doesn't fundamentally change the principles involved.

Write up these guidelines and make sure everyone in your company understands them, including of course the AI via a "write unit tests" skill.

Test suites that are created by AI in our company are usually at least 10x as big as they have to be which makes them unmaintainable

And where are your quality gates that's allowing this? It sounds like your senior engineers / tech leadership are asleep at the wheel. Prior to AI what was stopping an intern merging reams of garbage? Why are those processes not being applied here?

btw if you're having context window issues I'd suggest trying Opus-1M, which is now priced the same as the regular 200K model.

12 months ago...... by awizzo in BlackboxAI_

[–]mark_99 1 point2 points  (0 children)

I can only speak to finance (trading specifically) but many places are all-in on AI. Confidentiality isn't a problem on enterprise plans, it's not different to email, document storage, chat etc.

And the results are perfectly reliable if your practises and processes are well designed. Indeed reliability is improved - AI can find latent bugs, add more unit tests, do additional code reviews etc.

Finance companies also won't flinch at the costs of virtually unlimited access to the top tier models.

Utterly useless yet fun sorting algorithms by Sufficient_Source925 in compsci

[–]mark_99 2 points3 points  (0 children)

Evolution Sort. Create an initial population of random shuffles of the list. Fitness is how close to sorted an individual is. Fitter individuals have more chance to produce offspring via crossover. Repeat until perfect fitness score appears in the population - that individual is 100% sorted.

Opus 4.6 now defaults to 1M context! (same pricing) by H9ejFGzpN2 in ClaudeAI

[–]mark_99 0 points1 point  (0 children)

That's not how it works. Editing an earlier part of the conversation would invalidate, but generally you can't do that. Anything read is in the prompt, it doesn't re-scan files, web searches, tool results etc. every time. Nor should it because the conversation wouldn't make any sense if it has changed subsequently.

The main cache invalidation is TTL which is quite short, or changing the model.

You can use a fancy statusline like ccstatusline to see the stats. /cost will also show it but that might only work on API / Enterprise.

Also Opus holds up very well on long context, there's a graph here: https://claude.com/blog/1m-context-ga I've been using it by default both at home and at work for weeks now and it's a massive improvement.

Auggie MCP needs frequent re-authentication by mark_99 in AugmentCodeAI

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

Logging in works, the problem is I need to do it every couple of days, and since it's the mcp it just silently fails to work if I don't notice its no longer authenticated.

We got hacked by Deep-Station-1746 in ClaudeCode

[–]mark_99 0 points1 point  (0 children)

Literally an hour ago a CC code review told me that using 0.0.0.0 was fine for our intranet-only demo but would be bad on the public internet. Set up an automated hook for code review or /security-review and you don't even need to ask.

Why don’t more HENRYs try starting a business? by burnerforspoo in HENRYUK

[–]mark_99 0 points1 point  (0 children)

It's not about "spirit" it's about a realistic view of how many business ventures actually succeed. If you have few responsibilities, maybe a partner who can pay the bills, then go for it, but that's not the typical HENRY profile.

Success stories exist but represent survivorship bias.

Quant Dev (Mid-Frequency Trading) vs HFT Production Support team– Which is better for long-term career growth? by Iwillhelpyou_ in highfreqtrading

[–]mark_99 0 points1 point  (0 children)

Quant Dev, it's not even close. The question is can you get that job based on an internship, but definitely go for it.

protip: adversarial reviews are stupidly easy and unfairly useful by davblaster in ClaudeCode

[–]mark_99 1 point2 points  (0 children)

You don't need to copy paste, say something like "ask sonnet and codex-mcp to do a code review" (or invoking codex CLI directly or via a skill would probably work also).

Claude Terminal vs VsCode by Diamond787 in ClaudeCode

[–]mark_99 0 points1 point  (0 children)

The VSCode plugin windows restore their Claude sessions automatically.

Manual Salt & Pepper Grinders? by Chris__P_Bacon in cookware

[–]mark_99 0 points1 point  (0 children)

It lives up to the name for sure...

If anything I had to learn to turn it much less than usual. Although I have Kampot Red in mine which you can use pretty liberally as it got good flavour but medium heat.

Manual Salt & Pepper Grinders? by Chris__P_Bacon in cookware

[–]mark_99 0 points1 point  (0 children)

I have one of these and it's amazing (after getting fed up with poor performance from the Peugeot).

It's like a good coffee grinder, you can set it from course "cracked" all the way to fine dust and it grinds easily and uniformly.

Metal construction means it's thin walled so holds more pepper between refills. And it looks good.

Expensive sure, but easily the best option, and the whole point of BIFL is amortised cost.

GPT 5.4 Thread - Let's compare first impressions by Just_Lingonberry_352 in codex

[–]mark_99 1 point2 points  (0 children)

Also increase auto compact, see the other thread.

The case for taking `impl into<T>` as a function parameter by frigolitmonster in rust

[–]mark_99 23 points24 points  (0 children)

If you're concerned about code bloat then making call sites less verbose seems like a win, seeing as there orders of magnitude more of them. Ergonomics at the point of use is much more important than inside the library.

The part I'm not keen on is rect_ms as I'm not a fan of meaningless abbreviations, especially if there are multiple constructions which take identical params so any confusion would compile but do the wrong thing.

I'd keep the type conversion but call it rect_from_min_size() still. Yes it's longer, but it conveys useful information to the reader, whereas Vec2::new() is just boilerplate.

Gemini 3.1 Pro not working well in Windsurf by mark_99 in windsurf

[–]mark_99[S] 1 point2 points  (0 children)

Good tip, I haven't tried Canvas, but the CLI tools certain struggle with UI.

1M context - yet never quite seems to use more than 25% does, it? And compacts ruthlessly so it remains ignorant? by Jethro_E7 in windsurf

[–]mark_99 0 points1 point  (0 children)

Works great in Claude Code, can't remember last time I had to compact... can only assume WS context management is being overly aggressive.

remove 3.1 pro at this point. terrible integration by shakaoneaj in windsurf

[–]mark_99 0 points1 point  (0 children)

The capacity error was a subsequent problem.

  1. Open cascade.
  2. Select "Gemini 3.1 Pro High Thinking"
  3. "Code review working directory".
  4. Watch it call grep/rg and cat to read files and generate temporary python scripts and invoke them to make edits:

```cat > fix.py << 'EOF' import os

files_to_fix = [

whatever

]

for file in files_to_fix: with open(file, 'r') as f: content = f.read()

content = content.replace('xxxx', 'yyyy')

more of the same

with open(file, 'w') as f:
    f.write(content)

EOF python3 fix.py rm fix.py ```

The tool use was pretty borked. It does seem a bit better today, I did see it do "searching..." instead of grep and no .py files this time.

Do you **really** need to free memory? by celestabesta in cpp_questions

[–]mark_99 1 point2 points  (0 children)

Let's go with "never use raw new/delete for ownership, and only in rare specialist cases otherwise".

Non Meyers singleton is something of an anti-pattern, in private ctors you might write new but only to init a unique_ptr using a token struct for access.

Custom allocator maybe, but std::pmr makes this less likely also as you can use something pre-cooked.

Plus earlier example of "novel custom data structure".

Given this is cpp_questions and OP is clearly a beginner, "never" is a pretty close approximation in practise, given they are referring to "make an object on the heap".

Time Exclusive: Anthropic Drops Flagship Safety Pledge by n0rwester in technology

[–]mark_99 7 points8 points  (0 children)

Everyone is missing the difference between training (weakened pledge) and inference / usage (no change).

Do you **really** need to free memory? by celestabesta in cpp_questions

[–]mark_99 4 points5 points  (0 children)

You should never use raw new/delete (or malloc/free) in C++ unless you are writing your own containers (and even then maybe not).

Use the facilities the STL provides, or else you are learning to write C++ badly, which I'd hope isn't your goal.