nickwitha_k
@nickwitha_k@lemmy.sdf.org
- Comment on I'm literally a thinking lump of fat 2 days ago:
Yes.
- Comment on Epic Store's Unreal Tournament page now has free download links to Unreal, Unreal 2, and Unreal Tournament '99 1 week ago:
I thought that they tried too hard to align with Quake 3’s twitch-gaming.
- Comment on Bae? 1 week ago:
But, imagine the lawsuits when people started trying to make “fruit punch” with the flavors.
- Comment on Epic Store's Unreal Tournament page now has free download links to Unreal, Unreal 2, and Unreal Tournament '99 1 week ago:
Giving away the only UT game that matters? Wow.
- Comment on Indian start-up Yes Madam fires employees who indicated being stressed in the survey 1 week ago:
I had a coworker who had this happen at a former search company in the US.
- Comment on if statement == false 2 weeks ago:
Sorry! I sometimes get carried away on correctness.
- Comment on if statement == false 2 weeks ago:
If reading the code as non-programming logic, that conclusion makes sense, yes. However,
if
, in most syntaxes, is a type of flow control. What it wraps has no meaning to theif
statement itself. Reading it through the lens of an interpreter/compiler makes it clear. The statement is approximately:If and only if a is equal to 1, do the thing { The thing is: assign the variable b with the value 1 }
To one not familiar with how programs are executed, it would make sense that the return value could be 1. But understanding how flow control works in programming, makes this interpretation a challenge.
- Comment on if statement == false 2 weeks ago:
I’m pretty sure that
funky()
would always return0
, as defined. I’ll pseudocide that up:funky takes no args, returns int { a is assigned the value 0 b is assigned the value 1 test if a is equal to 1, if it is { b is assigned the value 1 } return a }
The
if
in your function can never be reached, without some weird manipulation of the value ofa
that breaks variable scoping in most syntaxes.I think that I see your logic but it is syntactically incorrect:
b=1 }
In most syntaxes, this is a conditional execution and value assignment. That is, the code in curly braces only gets executed, if the conditional evaluates as true. If the conditional evaluates as true, the code is executed, assigning the value 1 to the variable
b
.It does NOT imply that the assignment of the value 1 to the variable
b
is a conditional requiring the assignment of the value 1 to the variableb
.Remember:
=
in most programming is NOT an equality symbol but a value-assigment symbol. It would be nice if people creating the initial syntaxes used something else that is harder to confuse but they didn’t. - Comment on Do you think being left-handed gives any unique qualities or advantages compares to other right handed? 3 weeks ago:
When fencing, left-handed people have the significant advantage of being able to dramatically switch their rapier from their right hand to their left hand, mid-combat, and announce that they are not really right-handed.
- Comment on Newsom Challenges Trump on Electric Vehicle Tax Credits | Gov. Gavin Newsom said California would fill the void for residents if the Trump administration killed a $7,500 E.V. tax credit. 3 weeks ago:
My take: With the cost of EVs and charging them in California, that’s essentially meaningless. Under Newsom, state efforts to support home solar installs were discontinued and efforts to breakup PG&E were sabotaged. This has made EVs a questionable investment for anyone not outright rich.
- Comment on In the US, is this actually the moment past the point of no return? 4 weeks ago:
And I’m childless, not by choice, and sadly glad too.
- Comment on "I never asked for this" 4 weeks ago:
I’ve got a robot hand! youtu.be/wvpcsDQ-Jtw
- Comment on Neuroscientists taught rats to drive tiny cars. They took them out on 'joy rides.' 4 weeks ago:
Adorable rats were much needed.
- Comment on Serious statement: I don't understand the argument that not voting for Harris was the morally correct thing to do, because of Gaza. Why does anyone believe this? 1 month ago:
They never learn though.
And we’re out of chances for them to do so.
- Comment on Whelp 1 month ago:
Livejournal
That’s a name that I’ve not heard in a long time.
- Comment on He's a little feisty, but he looked cold 1 month ago:
Or, it could be a catamount.
- Comment on wild seals 1 month ago:
Thank you! That’s a great video.
- Comment on He's a little feisty, but he looked cold 1 month ago:
Nah. Mountain lion.
- Comment on AI Seeks Out Racist Language in Property Deeds for Termination 1 month ago:
Next, ban SFH HOAs.
- Comment on that's a huge sprout 1 month ago:
Clearly, that’s kohlrabi.
- Comment on TikToxic 1 month ago:
Those aren’t gloves, they’re callouses.
- Comment on Chat, what do you see? 2 months ago:
Desperately hoping to find something on the thin-layer chromatography plate?
- Comment on After Gorging on Stock Buybacks for Years, Boeing Announces Mass Layoffs 2 months ago:
Sounds nice.
- Comment on Why, in English at least, is the letter W called "double U" and not "double V"? 2 months ago:
The Water of Life features in lots of fairy tales. Is that what is being referred to?
Likely. Alcohol, in many cultures had a spiritual/religious characterization. We literally have an ancient Egyptian beer recipe because it was written into a hymn praising Ninkasi, a Sumerian goddess of beer.
Is Water of Death another name for an alcohol?
That’s a good question. It’s Fernet (/s).
I do not actually know that. I would suspect that it would be another substance. Maybe an acid or toxin.
- Comment on Why, in English at least, is the letter W called "double U" and not "double V"? 2 months ago:
“uiskey” That is actually very close to the original Irish words: uisce beatha (ish-kuh ba-ha), meaning “water of life”.
- Comment on Absolutely nothing happened June 1989 2 months ago:
That’s a fair way to look at it, yeah. I blocked the instance a whole back after being the target of the dunking culture and classification of statements like “peoples historically oppressed by a country can be reasonably expected to turn to terrible geopolitical powers, if faced with existential threat from said historical oppressors without other recourse” labeled as “fascist apologia” (referring to the USSR’s invasion of Finland, a country that was occupied and used as a battleground and colony by Sweden or Russia for centuries, leaving them with few options but the nazis to try to maintain a semblance of independence that they had previously won from the Russian Empire). If one can’t examine the mistakes of the past, they aren’t serious about trying to avoid them in the future and I ain’t got time for that shit.
- Comment on Absolutely nothing happened June 1989 2 months ago:
Then that would be .ml users. Semantics yes, but considering that .world never federated with Hexbear, I feel it relevant for accurately describing things.
- Comment on Absolutely nothing happened June 1989 2 months ago:
Hexbear Post on .world
…
- Comment on Artifical Intelligence 2 months ago:
Yup.
- Comment on Artifical Intelligence 2 months ago:
Exactly.