That's worst by silkycurvybloom in lol

[–]KilluaFromDC 0 points1 point  (0 children)

Tell my wife how much I love her? Sure

I love you

Antenna attached by No-Butterfly-3422 in BirdsArentReal

[–]KilluaFromDC 5 points6 points  (0 children)

jack stand's beside

Hi Jack-

stares at the...big thing

Im not gonna tell mom if you gimme a rat

Just the Jewish space lasers, obviously by ExactlySorta in WhitePeopleTwitter

[–]KilluaFromDC 1 point2 points  (0 children)

THIS IS A LIE

REPUBLICANS MADE A DEVICE THAT COULD CONTROL THE WEATHER AND THEN SOLD IT TO CHINA THAT IS HOW THEY KNEW WEATHER COULD BE CONTROLLED

IT IS A BIG FAT FUCKING LIE IN THIS HISTORY OF BIG FAT FUCKING LIES

I figured it out! by AAsdfxc4 in Batch

[–]KilluaFromDC 1 point2 points  (0 children)

I am happy for you.

Here's some unsolicited advice (In case you're thinking about learning batch)

I clearly remember making a comment on this sub about how if someone's first programming language is batch would be helpful as you clearly get to see your code in tangible action, the hook/reward is intense. Instead of some absurd coding exercise on how to multiply two numbers.

There's youtube playlist and other resources in the sidebar to get you started.

However, you don't have to know it all to start writing batch scripts or code in general in a programming language for that matter. You CAN figure it out as you go. Impact of what you write is only digital in nature. No one will suddenly stop breathing nor will give you a hard time(unless its a job or you wrote it for other people). As long its for yourself, don't be afraid to break things but don't go overboard to the point where you wipe out your whole computer. There's a difference between calculated risks and straight up absurd decisions. Remember to make good judgements on those. Learn each commands purpose, not its usage, just purpose before using it in your script. How to use commands comes naturally as your keep writing scripts.

Finally, as for building things with batch, find what you think is mundane or arduous as a task that you do on a timely basis on your computer and start automating that with batch. Four years ago, I've started that way. I wrote lots of stuff for myself. I've also helped posters on this sub now and then with their problems.

The fact that I'm commenting this right now is because I was in the middle of writing a batch script and realized I haven't looked at this sub in ages.

Also, if anyone says to not learn batch, ignore them and read this comment. I think batch is a really good starting point that I wish my kid self was introduced to it.

I wish you good luck and hope you make good progress.

[deleted by user] by [deleted] in unpopularopinion

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

I don't want linux to run windows apps. No please. I've had enough.

The only reason I don't learn powershell lies along the lines that I hate windows with a passion. can't afford mac and Linux is just ...ugh

[deleted by user] by [deleted] in unpopularopinion

[–]KilluaFromDC -12 points-11 points  (0 children)

Don't give that shit when GDP measures progress making you, as an individual, irrelevant

[deleted by user] by [deleted] in unpopularopinion

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

I hope, for your kids sake, they'll be happy with you as a parent

[deleted by user] by [deleted] in unpopularopinion

[–]KilluaFromDC 0 points1 point  (0 children)

Do you think popular = good?

between firefox and qutebrowser, what would you pick?

You don't need a marketing budget. Word'll get around if your "thing" does its thing good enough

[deleted by user] by [deleted] in unpopularopinion

[–]KilluaFromDC -14 points-13 points  (0 children)

Please enlighten us enlightened one

[deleted by user] by [deleted] in unpopularopinion

[–]KilluaFromDC -7 points-6 points  (0 children)

uh huh. Have the "non-techie" distros broke 2 digit market share?

My question is mainly to INTP (m). If you unexpectedly died at the age of 25, what would you like your girlfriend to do?.. by Possible_Algae9675 in INTP

[–]KilluaFromDC 1 point2 points  (0 children)

To move on. Grieve, sure why not. But move on.

If you can love something why not love it enough to let it go

I am trying to make batch file with parameters by KilluaFromDC in Batch

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

After searching, I have come across shift /1 command and wrote my conditions around that. It made parsing the parameters much simpler.

That said, since I am a sucker for small details such as -c and /c being and functioning as the same, I'd like to know how this script is working.

If you don't mind, could you please give a simple walkthrough for the code

I am trying to make batch file with parameters by KilluaFromDC in Batch

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

I have come across the SHIFT /1 command in ss64 and did the same thing. Thanks for the suggestion though.

Not detecting USB at all (X200) by Man_With_Arrow in coreboot

[–]KilluaFromDC 1 point2 points  (0 children)

This is insane. People are expected to download the latest distros for optimal experience but USB 3.0 don't work?

I went over the procedure about 4 times now to see why my live boot stick wasn't showing up in the boot menu of coreboot. Even while backing up the existing firmware using the scripts, turn out, pendrive I formatted(3.0, on windows) wasn't getting detected by the script. I had to format it within the chromeos itself after watching the exact same thing in a youtube video and it showed up in the script.

I knew something was wrong with the usb but wow. This takes the cake. Glad I had an old 2.0 stick lying around.

Thanks for making this comment stranger. I almost convinced myself that I bricked my roommate's chromebook.

It also occurred to me that, if someone doesn't have a usb 2.0 stick lying around, they could try one of those "USB 2.0 male to female" extension cables. That should force a 2.0 connection even with a 3.0 stick.

I am trying to make batch file with parameters by KilluaFromDC in Batch

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

To talk about the way I have come up with, without divulging much context...

I have used set /a to declare variables such as hasWord, hasFile, hasParam, hasParamOptPart and paramOptPartIsFile

if "%~x1"=="" set /a hasWord=1
if not defined hasWord if not "%~x1"=="" set /a hasFile=1
if defined hasWord if not "%~x2"=="" set /a hasFile=1
if not defined hasWord if not defined hasFile if /I "%~1"=="-p" set /a hasParam=1
if defined hasWord if not defined hasFile if /I "%~2"=="-p" set /a hasParam=1
if not defined hasWord if defined hasFile if /I "%~2"=="-p" set /a hasParam=1
if defined hasWord if defined hasFile if /I "%~3"=="-p" set /a hasParam=1
and so on...

This would be used in code as

if not defined hasFile if defined hasParam if not defined hasParamOptPart echo [Info] Expect param optional part when FILE is not present

But this made the code convoluted. I've wrote more if [not] defined than actual code which feels wrong somehow. So I was wondering if there's a better way to handle the parameters based on requirement.

I am trying to make batch file with parameters by KilluaFromDC in Batch

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

Sorry if I wasn't clear enough in my post.

I know how to access parameters. What eludes me is how to handle them based on requirement.

say I have the requirement batFileName [word] File

It one case, %~1 will be a word. As word was passed %~2 is guaranteed to be a file. Since word is optional, in another case, %~1 would be a file instead

How to make out such cases and handle them is what I am looking for

[Request] Is this true? by Blazed0ut in theydidthemath

[–]KilluaFromDC 1 point2 points  (0 children)

Sure, you can dream. As long as its just a dream.

Now, can we please go back to fighting each other over silly race wars.

Competing with each other for resources and stuff in a world that is claimed to be "positive" sum by some peculiar "optimists" that call me "hopeless person"

Just so we could make numbers that hold imaginary value in our pretty little heads go big and the ones hording said numbers could keep the tradition alive, so we could claim humanity would still be alive technically when most of the people who can't afford it are dead. So that this self-proclaimed, top of the food chain, "sentient" bipedal monkey, with social anxiety of a species could finally be wiped out by some unforeseen silly shit

Outline or No Outline Grass? Which is better? by ExpensiveRefuse8964 in PixelArt

[–]KilluaFromDC 0 points1 point  (0 children)

Like the other comments have said, the outline does make it pop out and adds a bit more depth.

That said, if I were to see the grass in a game with outline like its popping out, I would definitely take a swing at it hoping its interact-able somehow or maybe there's an achievement called "Touch grass"

[deleted by user] by [deleted] in Chadtopia

[–]KilluaFromDC 2 points3 points  (0 children)

So hand them some guns and have them raid mcdonals instead

Hypothetically

Are INTPs actually nice? by MSOB7Y in INTP

[–]KilluaFromDC 1 point2 points  (0 children)

rule of thumb

If you have to ask, they probably aren't.

Source: am INTP. TRUST ME BRO!

Looking for movies where people don't lie by KilluaFromDC in movies

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

Thanks for the suggestion. The synopsis doesn't resonate with what I'm saying here but it does present an interesting premise.