[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Password (For file deletion.)

Join our Matrix Chat <=> IRC: #leftypol on Rizon

File: 1668805096523.png (11.1 KB, 682x251, 1668800359296069.png)


honestly if you can't solve problems like this, you shouldn't be in tech




Hardware and software engineers historically tended to not be Mathematicians. Even analog logic is never this complicated.


Post the solution, OP.


File: 1668850882486.jpg (32.31 KB, 526x433, impostor-syndrome.jpg)

Yeah I wonder how I got in. They will eventually catch on but until then I am OK with taking porky's money for my substandard work.


Doubt there is a smaller than O(n) solution to this problem so plugging it into some program and finding the result is as good as you're gonna get.


compsci Chad's rise up!


Do you think we can do n factorials in O(n) time?


Meanwhile the field de skills whether you like it or not Marx explains why this happens in capital iirc


Software engineering is indeed deskilling quickly. It's pretty crazy to see first hand and since its so quick, its also pretty visible. Nothing to be alarmed about though. We'd just get paid less, but there are counter tendencies as well, eg with more and more engineers needed. Also, the reason it is deskilling is due to amazing tools that make it possible. Someone has to build these tools :)


Seems like an algebra question and a computational question. First I'd analyze the problem to find a pattern or derivation I can use to make the problem easier to calculate.

It is adding factorials from p-1 to p-5, then modding them. Is there a property here that can help?

If we expand it,
(p-1)*(p-2)…*(p-5)*…*1 + (p-2)*(p-3)*…*1 + …. (p-5)*…*1

Looks like we can factor out some terms. All of the addends/terms share (p-5)! So we can factor it out, what do we get?


They tell us it is a prime number, so we know there are no common factors with any of the terms. I wonder if we can use that somehow. Either way, that simplification, if valid, cuts down on the amount of factorials you need to calculate. We also know that the answer will be between 0 and p.

There's a detail missing here.

Maybe if we plug this in to the other formula something happens but I don't see how to combine mod operands.

Also maybe, if we start doing them for p=5, 6, 7 we start to see a pattern we could use.


continuing, I'm missing something. I think its this.
These "tricks" you just have to memorize and be able spot them, as well as get used to playing around with the function to tease out patterns.

NB this we barely learned in my undergrad and you don't need it for software engineering. It REALLY helps to learn this for interviews which are important.


hot take, this isn't a problem since 95% of software dev jobs are just gluing libraries together to solve some business problem and are glorified CRUD apps that handle the day to day business of the accounting department or whatever.

The amount of jobs that actually require a detailed expert knowledge of the sorts of things you learn in a CS degree are actually few and far between.


It's not deskilling, most programming jobs are dead simple and can be done by technicians ("code monkeys"). You don't need engineers for your shitty webapp.


File: 1670500509514.png (270.9 KB, 1046x789, ClipboardImage.png)


I saw a screenshot of the current hot chat AI thing have a "but steel is heavier than feathers" moment so I am not really worried.


just asked it, took a while (like tens of seconds) but did say they weigh the same.


File: 1670538626841.png (135.61 KB, 1140x813, density.png)


first year math btw, go back to paypigging your uni


File: 1670629443875-0.png (170.1 KB, 1826x1056, 1.png)

File: 1670629443875-1.png (206.34 KB, 1768x956, 2.png)

It probably just means that the homework is too easy.


too easy to cheat on


What's the answer then?


How can an AI get basic math that wrong? This also mistake would be make a mess in programming as computers care about if a value is positive or negative and with unsigned variables it will under flow into near the max value of the bit width of the variable for example with standard byte wide unsigned variable -2 will become FD in hex or positive 253 in decimal.


It's a language model, it was made to produce convincingly looking text, it has no concept of meaning.


So it is just a modern Eliza that goal was to give the illusion of intelligence.


fucking lol


Yes, it's basically a party trick.


you're the reason the field sucks


Using Wilson's theorem and some algebraic manipulations, we see that ultimately S(p) = -9*24^(-1) mod p. The slightly challenging thing then is computing the inverse of 24 mod p, but computers can do this efficiently, as well as then enumerate through all the prime numbers in a given reasonable range. Using some simple Python code, it turns out that the answer is:



Bit goes in, Bit goes out!


Eliza is pretty good. I'm convinced it's a good tool and should be re-visited. Although capitalism is a fucking horrid system so maybe it will become some dark eliza from hell.
nice. Maybe I'll look it up later. I was curious about the answer.


Eliza was basically the first chat bot written all the way back in the 1960s that was designed to give canned responses that with its competent parser gave the illusion of it understanding what you were telling it.


It's really nice.
Try talking about something personal, but take it seriously. I've had some interesting results personally.

I'm convinced that this could be a crude substitute for psychological help in places where it is hard to get it. But the idea of companies making money out of this and pretending its just as good as normal therapy in their predictably deceptive ads makes me want to not even look into it.


which class?


File: 1673388273693.png (239.1 KB, 512x512, emacs.png)

If you are an emacs user you can use the built in `doctor' mode as its creators were aware of the damage it would do to your psyche and came prepared: https://www.gnu.org/software/emacs/manual/html_node/emacs/Amusements.html#index-doctor
> Finally, if you find yourself frustrated, try describing your problems to the famous psychotherapist Eliza. Just do M-x doctor. End each input by typing RET twice.


>You shouldnt be in tech if you did not go to an elitist school that throught you greek math notation

Kill yourself, this is "if you dont know latin you shouldnt be in politics" tier.


>How can an AI get basic math that wrong?


Do you mean the summa? It's standard mathematics notation, it has nothing to do with the Greeks.


>Its standard math notation
>Using greek symbols
>Something they dont teach to you if you didnt go to the highest most elitist school level or university with mandatory math courses.

Guess I cannot work in tech if I didnt get top 2% of scores at the end of primary school which determined my whole future, i guess.


The summa is standard high school maths, everyone is taught it. That's not the part of the exercise that necessitates university education.


I wasn't taught that in high-school.


> he's never seen greek symbols
more like took a single physics course in your entire life


High school physics doesnt use that, niffo.
Nobody here gets through that math notation at all, unless youre in the most elite of elite schools.


In which country did you attend high school?


Maths notation is optimized for writing on chalkboards.
Today people use computers for maths, maybe it's time to change the notation to some kind of syntax for a math-centric script language.


>Maths notation is optimized for writing on chalkboards.
How so? I was under the impression that most of the symbols come from written works.


nta but peak performance evropean high school goer here, never even heard of that symbol
did you take long or short math yourself





Unique IPs: 28

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / wiki / git ] [ GET / ref / marx / booru / zine ]