HackerTrans
TopNewTrendsCommentsPastAskShowJobs

BaculumMeumEst

no profile record

comments

BaculumMeumEst
·14 ngày trước·discuss
Nobody is going to do that.
BaculumMeumEst
·2 năm trước·discuss
I mean if you're creepy about it, sure, but as long as you can pick up on social cues you can feel it out without rubbing anyone the wrong way.
BaculumMeumEst
·2 năm trước·discuss
My wife says the same for her. I think we all just have stressful jobs and are cramming tons of information into our brains. Something's gotta give!
BaculumMeumEst
·2 năm trước·discuss
Wait, no, false alarm. I remember this happened before COVID. The first thing I remember having trouble remembering was the name of the game "Signalis". That was like a year ago. I'm mid thirties. So it's not COVID, I'm just demented. What a relief!! I should play Signalis again...
BaculumMeumEst
·2 năm trước·discuss
Fuck, I recently had Covid and I've been having trouble recalling things. Every other day or so I'll spend 5-10 seconds remembering the name of something. It's possible this happened before I got Covid, though... I don't remember!
BaculumMeumEst
·2 năm trước·discuss
I spent less than 5 seconds learning how to use ollama: I just entered "ollama run llama3" and it worked flawlessly.

I spent HOURS setting up llama.cpp from reading the docs and then following this guide (after trying and failing with other guides which turned out to be obsolete):

https://voorloopnul.com/blog/quantize-and-run-the-original-l...

Using llama.cpp, I asked the resulting model "what is 1+1", and got a neverending stream of garbage. See below. So no, it is not anywhere near as easy to get started with llama.cpp.

--------------------------------

what is 1+1?") and then the next line would be ("What is 2+2?"), and so on.

How can I make sure that I am getting the correct answer in each case?

Here is the code that I am using:

\begin{code} import random

def math_problem(): num1 = random.randint(1, 10) num2 = random.randint(1, 10) problem = f"What is {num1}+{num2}? " return problem

def answer_checker(user_answer): num1 = random.randint(1, 10) num2 = random.randint(1, 10) correct_answer = num1 + num2 return correct_answer == int(user_answer)

def main(): print("Welcome to the math problem generator!") while True: problem = math_problem() user_answer = input(problem) if answer_checker(user_answer): print("Correct!") else: print("Incorrect. Try again!")

if __name__ == "__main__": main() \end{code}

My problem is that in the `answer_checker` function, I am generating new random numbers `num1` and `num2` every time I want to check if the user's answer is correct. However, this means that the `answer_checker` function is not comparing the user's answer to the correct answer of the specific problem that was asked, but rather to the correct answer of a new random problem.

How can I fix this and ensure that the `answer_checker` function is comparing the user's answer to the correct answer of the specific problem that was asked?

Answer: To fix this....

--------------------------------
BaculumMeumEst
·3 năm trước·discuss
thank you for the correction. i blame one or all of fever delirium, lack of coffee, and allergy to math for this mistake. thank god i'm using a shitposting account.
BaculumMeumEst
·3 năm trước·discuss
i coded up an entire program to blink according to what you described before i it occurred to me my screen only runs at 60hz lol
BaculumMeumEst
·3 năm trước·discuss
Really? Shipping logs with 100k vertices and people with individually rendered teeth is an "obvious budget and deadlines" issue?

It strikes me as a "how many idiots are in a position to make important decisions on this game" issue, or "how generally competent is the development team" issue.
BaculumMeumEst
·3 năm trước·discuss
i think meant "i regret working there"
BaculumMeumEst
·3 năm trước·discuss
yes it is hyperbole
BaculumMeumEst
·3 năm trước·discuss
your parens enclose the most unneeded addendum i have ever seen
BaculumMeumEst
·3 năm trước·discuss
Fake-usability is when 97/100 software developers find something more usable, but it's fake because I've invested a lot of time doing it a different way and gotten used to it.
BaculumMeumEst
·3 năm trước·discuss
Even better is when people post issues on Reddit or whatever asking for help because that's the most low friction way for them to ask, and then a project contributor replies with "hey can you send this to the mailing list?" and so the person sends it in and is met with exactly fucking this. It's just such a great use of everyone's time.
BaculumMeumEst
·3 năm trước·discuss
Isn't it weird that such people bother installing a windowing system at all? Just work off the login terminal bro, it's perfection.
BaculumMeumEst
·3 năm trước·discuss
I disagree on enshittification. The only practical change I've noticed in github usage is the improvements to code search, which has been unbelievably useful. It gives me the ability to do complex searches to find real usages of even the most obscure libraries, examples of poorly documented configuration files, and more, from any public repository hosted anywhere on github.

That capability comes from both the large body of source code available to the platform, and the large amount of engineering work put into that particular feature. It is one of many usability benefits is not available anywhere else.
BaculumMeumEst
·3 năm trước·discuss
I appreciate the effort here, but after learning the workflow and having to get all this set up on a few computers, having to configure git send-mail is honestly just needlessly annoying and absurd.

Organizations that insist on using workflows like git send-mail and mailing lists not only drive away a significant number of potential contributors, but they also form a weirdly religious culture that fetishizes needlessly painful process and is incapable of improvement
BaculumMeumEst
·3 năm trước·discuss
No, just an oculus rift S that I used for about a week. It left me more disoriented than I've ever felt. I am not prone to motion sickness, love roller coasters, etc, but VR was too much. And I was _really_ set on loving it.
BaculumMeumEst
·3 năm trước·discuss
I think you’re really understating the nausea and discomfort. Maybe this is a first step towards mass adoption, but it will not happen unless significant improvement is made to the user comfort, now matter how great some VR experiences are.
BaculumMeumEst
·4 năm trước·discuss
You state that as a blank and white fact, but there's nuance.

https://github.com/lotabout/skim/issues/317#issuecomment-652...