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

/tech/ - Technology

"Technology reveals the active relation of man to nature" - Karl Marx
Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)

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


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

 No.17700

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

 No.17701

Algebra?

 No.17702

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

 No.17706

>>17700
Post the solution, OP.

 No.17708

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.

 No.17710

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.

 No.17711

>>17702
compsci Chad's rise up!

 No.17725

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

 No.17897

https://news.ycombinator.com/item?id=33863718
Meanwhile the field de skills whether you like it or not Marx explains why this happens in capital iirc

 No.17899

>>17897
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 :)

 No.17902

>>17725
>>17710
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?

(p-5)!*((p-1)*…*(p-4)…+1)

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.

 No.17903

>>17902
continuing, I'm missing something. I think its this.
https://math.stackexchange.com/questions/2565184/proof-of-wilsons-theorem
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.

 No.17906

>>17899
>>17897
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.

 No.17908

>>17897
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.

 No.17924

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


 No.17934

>>17924
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.

 No.17935

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

 No.17936

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


 No.17937

first year math btw, go back to paypigging your uni

 No.17938

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

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

>>17924
It probably just means that the homework is too easy.

 No.17939

>>17938
too easy to cheat on

 No.17940

>>17937
What's the answer then?

 No.17944

>>17938
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.

 No.17945

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

 No.17946

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

 No.17953

>>17936
fucking lol

 No.17954

>>17946
Yes, it's basically a party trick.

 No.17957

>>17700
you're the reason the field sucks

 No.18117

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:

139602943319822

 No.18124

>>17702
Bit goes in, Bit goes out!

 No.18125

>>17946
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.
>>18117
nice. Maybe I'll look it up later. I was curious about the answer.

 No.18126

>>18125
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.

 No.18127

>>18126
It's really nice.
https://www.masswerk.at/elizabot/
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.

 No.18139

>>17937
which class?

 No.18140

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

>>18127
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.

 No.18149

>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.

 No.18150

>>17944
>How can an AI get basic math that wrong?
BECAUSE ITS A FUCKING DICTIONARY ON CRACK TRAINED ON UNSUPERVISED DATA

 No.18152

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

 No.18155

>>18152
>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.

 No.18156

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

 No.18165

>>18156
I wasn't taught that in high-school.

 No.18166

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

 No.18180

>>18166
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.

 No.18184

>>18165
>>18180
In which country did you attend high school?

 No.18185

>>18166
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.

 No.18188

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

 No.18189

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

 No.18202

>>18184
Netherlands

 No.18208

>>18184
Brazil.


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 / git ] [ GET / ref / marx / booru / zine ]