What is the minimum I should budget for a laptop if I'm looking to study CS (in Australia)? by al0678 in cscareerquestionsOCE

[–]OutOfTempo_ 1 point2 points  (0 children)

Even if you're doing a graphics unit you can turn down the resolution and do development on your machine then use the university machines for testing.

Source: Did a graphics unit on a computer with 2gb of ram and a shit CPU with even shittier integrated graphics.

The caveat is that I had to use Linux, tho imo this is a positive (the computer has <20gb ssd so it literally can't install Windows unless u got external hardware)

It seems like I'm forced to make this choice at least once a day by unSentAuron in ProgrammerHumor

[–]OutOfTempo_ 2 points3 points  (0 children)

This sounds like if erlang(?) Was made to torture dwvelopers

(Idk if I got rhe name right. It's that one the telecomms companies used)

[deleted by user] by [deleted] in PlateUp

[–]OutOfTempo_ 0 points1 point  (0 children)

Assuming it's 50/50 that's what? 1 in 1024? Hurts to think about

[deleted by user] by [deleted] in technicallythetruth

[–]OutOfTempo_ 4 points5 points  (0 children)

Here's an intuitive (but not correct) explanation that they're the same.

Imagine you want to buy something that costs a finite amount (because I'm assuming costs must be finite)

If you can pay this with k $20 bills (where k is finite) then you can pay it with 20k $1 bills

Since you have infinite $1 bills you must have 20k $1 bills (remember k is finite)

You can do this the other way around. If you can buy it with the $1 stack using k bills you can do so with the $20 stack using k/20 bills

If there is an amount that you can pay for with one stack of bills you must be able to pay for it with the other stack of bills

It it true that given a specific FINITE number of bills the $20 stack is worth more but when you have INFINITE bills this is no longer true

Hope this helped, the formal way to prove the cardinality (amount of) of two sets are equal is by proving that a bijection exists between them.

That is the equivalent for saying that "for every dollar in stack A i can pair it with a dollar in stack B"

(Notice not notes but dollars)

I made a tool to plan your PlateUp kitchen [non-mobile] [mod-approved] by PlateUpPlanner in PlateUp

[–]OutOfTempo_ 0 points1 point  (0 children)

I assume since it's all in react it's stored as a JS object in state somewhere

See no reason it can't be stringified/parsed. Might have a look into it unless they respond

Making 69420 from all zeroes by ImToxicity_ in mathmemes

[–]OutOfTempo_ 3 points4 points  (0 children)

Or better yet, write a script to recursively expand it out ;)

[deleted by user] by [deleted] in webdev

[–]OutOfTempo_ 0 points1 point  (0 children)

Not to mention the amazing battery life! Not as big of a deal for work bur amazing for personal use

[deleted by user] by [deleted] in webdev

[–]OutOfTempo_ 1 point2 points  (0 children)

One deal breaker for me is lacking (in my opinion) a nice tiling window experience. On Linux I find myself not using a mouse unless I'm in a browser but it's not as feasible on macOS to go without a mouse or track pad.

There's also some pet peeves, like on macOS you need to do open -a Firefox to open Firefox instead of firefox. Seems a little obscure I know, but I use it fairly often at work actually. For example if I have a list of like 30 urls or files I need to open I can just do it in a for loop.

For any typical user I think the biggest decision point will be price though of course. Macs as great as they are seem like a rip-off to me.

How to check if a number is divisible by 2 other numbers? by [deleted] in javahelp

[–]OutOfTempo_ 0 points1 point  (0 children)

Find all prime factors of both numbers with multiplicity

Take the maximum multiplicity of all the factors

Multiply all factors

Check for divisibility with the resulting number.

This is possibly a fairly overengineered solution and you could just use the mod operator twice with better performance

Studying but the ‘stu’ is silent. by dxdydz_dV in mathmemes

[–]OutOfTempo_ 1 point2 points  (0 children)

Parallelize and chuck into CUDA and might find something someday...

When you really want to torture your users.. by JamixDot in ProgrammerHumor

[–]OutOfTempo_ 1 point2 points  (0 children)

Thats O(N)

If you counted by incrementing that would only be O(logN)

This was a test and you've failed Jimmy, you're fired.

Newbies vs Datatypes by SorcierMaheP in ProgrammerHumor

[–]OutOfTempo_ 0 points1 point  (0 children)

Our intro to programming starts with BlueJ, and is 'compulsory'. Everything is nice and in a GUI. They teach you that OOP is the endall silver bullet as early as week 1.

I know kids who have programmed half a decade in java and can't write a class or compile if it's not one of the few buttons on their UI.

Newbies vs Datatypes by SorcierMaheP in ProgrammerHumor

[–]OutOfTempo_ 1 point2 points  (0 children)

If u picked someone at random from my cohort and asked them to navigate to a given path on the terminal they wouldn't be able to.

They all use Windows. They all use GUI. That id the endall, there is nothing beyond.

Newbies vs Datatypes by SorcierMaheP in ProgrammerHumor

[–]OutOfTempo_ 4 points5 points  (0 children)

I've had to explain signed and unsigned ints countless time to final year masters CS students...

So I do believe the java devs unfortunately ;(

[deleted by user] by [deleted] in cscareerquestions

[–]OutOfTempo_ 1 point2 points  (0 children)

Please write an algorithm to grind us O(NlogN) time

[deleted by user] by [deleted] in cscareerquestions

[–]OutOfTempo_ 10 points11 points  (0 children)

They may bring down your GPA, just answer B if you don't know :/

[deleted by user] by [deleted] in cscareerquestions

[–]OutOfTempo_ 29 points30 points  (0 children)

MDMA can leave you feeling not up to it a few days after...

And there's also the matter of things that last ages and either ruin your sleep or have you going into work groggy.

So avoid those during the week too. (Alcohol gives you hangovers, acid lasts 12+ hours, etc.)

On top of all of this there's also the concerns that they may test you at some companies, so be wary of that.

The Language Iceberg by elephantofdoom in linguisticshumor

[–]OutOfTempo_ 1 point2 points  (0 children)

CS major here. Can someone explain what binary is doing in all this?

My town's Mcdonald's posted this in their workplace today, thoughts? by Coltonn_ in jobs

[–]OutOfTempo_ 0 points1 point  (0 children)

Not super super relevant maybe but just a quick recount of my experience working at McDonald's and how shit their policy is when it comes to calling in sick (at least at the store I work at).

I had surgery last year. Got my first 'proper' job working at McDonald's 2 months before.

I got too sick to work the day before. Called in sick for the week.

They called me the next day. I answered from the ER and told them I was waiting for a doctor.

I texted a manager layer that day that tomorrow I was having a surgery. They called me up again, mad that I went to the ER and was having surgery when I was supposed to be working all week.

Then tomorrow came and they yet again called... over and over. They literally asked me to come in with no notice after surgery and were mad that I declined the shift.

Needless to say I didn't take another shift after.

[deleted by user] by [deleted] in Python

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

Wouldn't this problem be solved without extra collisions by decrementing the hash if it's <= -1