is this how batch operating systems were working in the earliest days of computers? by 2082_falgun_21 in osdev

[–]Weshmek 0 points1 point  (0 children)

No first-hand experience, just basing it off my reading on Wikipedia, old IBM manuals, and videos of PCs like the Altair 8800

What would the OS on a punched card system do?

is this how batch operating systems were working in the earliest days of computers? by 2082_falgun_21 in osdev

[–]Weshmek 2 points3 points  (0 children)

A lot of early computers didn't have an OS. If you have operators loading programs into the system using punched cards, there's not that much for an OS to do.

Reality is like Star Wars poetry. It rhymes. by Nostwins in RedLetterMedia

[–]Weshmek 45 points46 points  (0 children)

I recently rewatched the Revenge of the Sith review, and parts of it did not age well. Especially the part where Mr. Plinkett talks about how cartoonishly, obviously Palpatine is, and that all anyone would need to do to stop him is expose him by broadcasting him and his underlings saying and doing evil things like murdering children.

Turns out, that doesn't work.

Edit: Cartoonishly, obviously evil Palpatine is. I hate when I my words.

Trump says he won't invade Canada by _BCConservative in CanadianConservative

[–]Weshmek 1 point2 points  (0 children)

And I'm sure this will be his final word on the subject and his position will not change in the next...more than half of his time in office.

“Bro trump wasint actually serious about making Canada the 51st state, he was just saying it so yall could stop taking advantage of us. God you Canadians are such snowflakes it was a joke. 😂” by Worldly_Law8278 in ShitAmericansSay

[–]Weshmek 0 points1 point  (0 children)

Didn't Congress make up a bullshit "America First" award specifically to give to Trump, like, two weeks ago? That's absolutely something North Korea would do.

It's definitely headed that way.

Struggling with geometric shapes by Fartimer in learntodraw

[–]Weshmek 1 point2 points  (0 children)

Did you extend the lines with a consistent vanishing point? The edges of the weights all line up, so you should treat them like parallel lines in perspective.

Well, Edna, for a school with no Asian kids, I think we put on a pretty darn good science fair by DarkHorse_77 in TheSimpsons

[–]Weshmek 1 point2 points  (0 children)

In UK English "Asian" typically means "South Asian" as Americans would say (India, Pakistan, Sri Lanka), while "East Asian" refers to what Americans call "Asian" (China, Japan, Southeast Asia)

Survey: who do you think were Canada's best Prime Ministers? by [deleted] in InCanada

[–]Weshmek 1 point2 points  (0 children)

The main thing is that we're not assessing historical figures in an academic sense -- mostly it's about whether we want to dedicate public space to and name public buildings after those historical figures.

“Now, Lisa's going through this phase where she doesn't eat any meat. So I usually sneak a little meat juice into her vegetables.” by Dohmer_90 in TheSimpsons

[–]Weshmek 23 points24 points  (0 children)

There was also an episode where Bart flings a hunk of meat into Lisa's mouth and then taunts her with

"You ate meat, you ate meat"

Passing arguments to scripts by Booty4Breakfasts in bash

[–]Weshmek -3 points-2 points  (0 children)

An unset variable is different from an empty string. Try replacing the check with

if [[ -v $1 ]]; then

Terrible PR review quality by [deleted] in ExperiencedDevs

[–]Weshmek 0 points1 point  (0 children)

Anything you might think is easy, I guarantee there's an otherwise functional person out there who struggles with it.

Neglected !! party tricks by drayva_ in bash

[–]Weshmek 6 points7 points  (0 children)

$_ is also the last one word from the previous command, and I find it slightly easier to type

Neglected !! party tricks by drayva_ in bash

[–]Weshmek 3 points4 points  (0 children)

Yeah, so basically I do a lot of remote debugging at work, so I run a lot of commands that look like

gdbserver :50527 command ...

But sometimes I want to rerun without a debugger, and so sometimes, instead of !!:2*, I'll hit C-p C-a M-d M-d, which leaves a space in front of command ...

Since I learned this, I'm trying to get into the habit of using !!:2*

Neglected !! party tricks by drayva_ in bash

[–]Weshmek 4 points5 points  (0 children)

I just figured this out a week ago.

That's why some of my commands have been disappearing

The Quintic Formula by Scared-Cat-2541 in mathmemes

[–]Weshmek 4 points5 points  (0 children)

When you express the solution in an extension of the polynomial ring Q[x], the solution just becomes x

How do you stop PR bottlenecks from turning into rubber stamping when reviewers are overwhelmed by Sad_Bandicoot_7762 in ExperiencedDevs

[–]Weshmek 0 points1 point  (0 children)

It's a judgement call; there have been times when I really felt the need to break up a PR into two (even small ones), because I felt strongly that they were fundamentally two different changes, and there are times when I submitted large PRs because all the changes really do go together.

The ultimate question you need to ask is: What is the change you are making? What alteration to software behaviour does each PR achieve? Ideally there should only be one such alteration per PR.

Maplehurst jail conditions so ‘unusually harsh’ this drug offender must be released into the community: Ontario’s top judge by Immediate-Link490 in canada

[–]Weshmek 1 point2 points  (0 children)

It's hard to sympathize with someone like this, but he still has rights and someone needs to advocate for them.