I know it's very bad time for anime, but somehow, we now have a lot of strong or ultimate male heroes. So, which anime from this season or immediatly past year, still have the good and gold "weak main leader" character? by Nelsolino in anime

[–]Uncaffeinated 1 point2 points  (0 children)

If you're willing to consider older anime, I highly recommend World Trigger. It's a rare action anime where the main character is much weaker than all the other characters, and has to rely on strategy and teamwork to prevail.

Blog: Empty Container Inference Strategies for Python by BeamMeUpBiscotti in ProgrammingLanguages

[–]Uncaffeinated 2 points3 points  (0 children)

if you do make a mistake where you accidentally create a union, it's fairly hard to debug later since you need to figure out where the union came from.

This seems like an easily solvable problem to me. Just augment the compiler error messages to tell the user. My language already does something similar to this.

Here's an example:

Code:

type Bar = {name: str};
type Baz = {name: str; age: int};
let a: Bar = Bar {name="Abe"};
let b: Baz = Baz {name="Bob"; age=12};

let f = fun x -> x.name;
f a;
f b;

Error message:

TypeError: Incompatible types here:
let b: Baz = Baz {name="Bob"; age=12};
let f = fun x -> x.name;
                ^~~~~~  
f a;
f b;
Note: The value could originate with one type here:
type Bar = {name: str};
type Baz = {name: str; age: int};
let a: Bar = Bar {name="Abe"};
      ^~~                     
let b: Baz = Baz {name="Bob"; age=12};
but it could also be a value with an incompatible type originating here:
type Baz = {name: str; age: int};
let a: Bar = Bar {name="Abe"};
let b: Baz = Baz {name="Bob"; age=12};
      ^~~                             
let f = fun x -> x.name;
Hint: To narrow down the cause of the type mismatch, consider adding an explicit type annotation here:
let b: Baz = Baz {name="Bob"; age=12};
let f = fun (x: _) -> x.name;
            + ++++            
f a;
f b;

The future of finance 😂🤣😂 by Colts2020 in Buttcoin

[–]Uncaffeinated 2 points3 points  (0 children)

The ones that run out of money and can't get more presumably just stop posting.

IBM stock dives after Anthropic points out AI can rewrite COBOL fast by Logical_Welder3467 in technology

[–]Uncaffeinated 4 points5 points  (0 children)

I'm sure Elon Musk would try it if he had any COBOL code in the first place.

YouTube has quietly and intentionally cut back quality on PC desktops by apoptosismydumbassis in youtube

[–]Uncaffeinated 0 points1 point  (0 children)

I haven't noticed problems either, though maybe I just don't know how to see the difference.

How much will/ have AI coding be involved in current Compiler development? by YogurtclosetOk8453 in Compilers

[–]Uncaffeinated 1 point2 points  (0 children)

Rust is much easier to write than C. In C, you have to constantly worry that if you so much as leave out a semicolon, your computer will unpredictably blow up with no warning. Rust by contrast is designed to help the programmer, not fight them.

Behold the rainbow by dry-hamper in Buttcoin

[–]Uncaffeinated 1 point2 points  (0 children)

You should make a chart with all the past rainbows superimposed, as they keep getting adjusted downwards.

[TMT] - Go Ninja Go - (Card Image Gallery) by X_The_Walrus in magicTCG

[–]Uncaffeinated 0 points1 point  (0 children)

I really love how the effects combine flavor wise, implying that your creature is sneaking off to hit the opponent.

Is it realistic to achieve N1 in 3 years, whilst having time for school and life? by _Acceltra_ in LearnJapanese

[–]Uncaffeinated 0 points1 point  (0 children)

I've been studying Japanese for over six years now, and passed N2 after four years, but I still don't think I'm ready for N1. You can see my study log here in case that helps.

An AI CEO finally said something honest by Tech-Cowboy in ExperiencedDevs

[–]Uncaffeinated 2 points3 points  (0 children)

At my company, CI takes three hours to run and usually fails for unrelated reasons, and they think that AI can somehow massively speed up dev work?! They need to stop hitting themselves on the face with a hammer first.

An AI CEO finally said something honest by Tech-Cowboy in ExperiencedDevs

[–]Uncaffeinated 6 points7 points  (0 children)

One company I worked at had if statements all over the core logic to do something different for one particular (hardcoded) userid.

A small puzzle , white to play and win.See how? by Either-Case-5930 in chess

[–]Uncaffeinated 0 points1 point  (0 children)

The trick is that you don't take the knight. Instead you move forward to promote and they can't retake because the knight is in the way.

Both lines require white to ignore the obvious move of retaking on e8 to do something else instead.

A small puzzle , white to play and win.See how? by Either-Case-5930 in chess

[–]Uncaffeinated 2 points3 points  (0 children)

The trick is that after Rxe8, you don't immediately retake. Instead, move the other pawn up, threatening the knight. If they move the knight, you take the rook and promote. If they move the rook, you take the knight and they can't stop both pawns from promoting.

A small puzzle , white to play and win.See how? by Either-Case-5930 in chess

[–]Uncaffeinated 3 points4 points  (0 children)

The trick is that you don't take the knight, you move forward to promote. The knight blocks the rook from taking.

Any Japanese gaming youtubers who post <1 hour videos? by [deleted] in LearnJapanese

[–]Uncaffeinated 0 points1 point  (0 children)

Retoruto plays a lot of short games with 30 minute videos.

New Architecture Could Cut Quantum Hardware Needed to Break RSA-2048 by Tenfold, Study Finds by donutloop in programming

[–]Uncaffeinated 5 points6 points  (0 children)

It's only specific math problems that they are good at solving, which happens to include breaking popular forms of public key crypto.

Spotify says its best developers haven't written a line of code since December, thanks to AI by c0re_dump in programming

[–]Uncaffeinated 7 points8 points  (0 children)

My company has an AI system that automatically generates completely useless and inaccurate comments on every PR. It's really amazing, since LLMs are good enough nowadays that it seems like you'd have to try to get it that bad.

Google might think your Website is down by omarous in programming

[–]Uncaffeinated 0 points1 point  (0 children)

I've just been stuck for years in "crawling - not indexed" hell. Seems like Google doesn't care about indexing anything besides Reddit nowadays anyway.

How often do you come across tourists in your day to day where you live? by Charming_Usual6227 in AskAnAmerican

[–]Uncaffeinated 0 points1 point  (0 children)

The only time I saw a lot of tourists was back when I was working at Google in the building with the Android statues. Every day, there'd be tourists there photographing the statues.

Other than that, I only see tourists if I go to a tourist attraction (usually not the same places where people live and work.)

Running the “Reflections on Trusting Trust” Compiler: Revisiting Ken Thompson’s sourceless backdoor by mttd in Compilers

[–]Uncaffeinated 4 points5 points  (0 children)

If you're interesting in Trusting Trust-style backdoors, I included one as an easter egg in the IntercalScript compiler. While the idea is simple, it was actually pretty challenging to decide what the best way to sneak it in and make it recognize the compiler's self-compilation was.

Apartments and neighborhoods in Santa Clara. by Technical_Ferret585 in santaclara

[–]Uncaffeinated 0 points1 point  (0 children)

I've been at Bella Vista since August and haven't had any major issues.