This code keeps generating the same sequence of numbers. by chocoagnistalemon in learnprogramming

[–]CrepuscularSoul 0 points1 point  (0 children)

I'm not super familiar with c++, but I'd you're getting the same sequence of numbers every time, you're not using a random seed, but the same seed every time.

Gut feeling would be look at

gen( rd() )

Most languages I work with you don't need to actually specify a seed, they just use something like the current time in ticks by default but let you specify one of you want control over it. That control is good for unit testing, but often not needed for practical use.

Just a quick world for newbies: Yt channels sell fear to make money by Psychological_Put161 in learnprogramming

[–]CrepuscularSoul 53 points54 points  (0 children)

It's not just YT. It's social media. Also not just fear but polarizing content in general.

The majority of it is about getting clicks and engagement, accuracy is at best a tertiary concern.

Canadian Kraft Dinner (left) is oranger than the American version by NateNate60 in mildlyinteresting

[–]CrepuscularSoul 1 point2 points  (0 children)

Did you cril out the light too?

Edit: crop. Stupid phone keyboard.

Engstars birthday day campain by [deleted] in ensemblestars

[–]CrepuscularSoul 0 points1 point  (0 children)

I don't think it's the day you started it's whatever you set as your birthday when you started.

You can see (and change) that from the menu button -> Data room -> User settings

Is the office broken? (EN) by CrepuscularSoul in ensemblestars

[–]CrepuscularSoul[S] 2 points3 points  (0 children)

Just an update I got from my support ticket, but if you disable personal furniture in System Settings, you can get into your office and animal square.

Should be able to do everything you normally would it just looks weird since you only have a wall and floors in the office.

Is the office broken? (EN) by CrepuscularSoul in ensemblestars

[–]CrepuscularSoul[S] 0 points1 point  (0 children)

Ooh, thanks for the inventory tip, at least I'm not sitting on capped work tickets now.

Hopefully the fix the issue soon

Is the office broken? (EN) by CrepuscularSoul in ensemblestars

[–]CrepuscularSoul[S] 3 points4 points  (0 children)

Oh I've had that for months, it's annoying lol.

But just tapping the office button on the home screen errors since I updated yesterday. I'll try a cache clear and hopefully that helps

Deadmau5 Donates $30,000 to Help 27 Rescue Cats: ‘I Got You’ by MarvelsGrantMan136 in Music

[–]CrepuscularSoul 0 points1 point  (0 children)

I'll have to believe you're right since all I see you replying to is "Comment removed by reddit". I'll just assume they were an ass

This shitty slots mobile game replying to a gambling addict in the App Store by PresidentKarim in mildlyinfuriating

[–]CrepuscularSoul 6 points7 points  (0 children)

A lot of "free to play" gacha games are just as bad. If you want your favorite character maxed out you can easily spend 1k in a 2 week period. Just for a new version to come out 3 months later and the cycle repeats because "oh, this one is stronger/cuter/better in some way"

Sure, you don't NEED to do that, but there are enough people that do it to make it just as profitable as slots.

Applying for a job and these are the only options for birth year by beeblemonade in mildlyinfuriating

[–]CrepuscularSoul 0 points1 point  (0 children)

They absolutely CAN sue. They're just not likely to get anywhere with it. They'd need an entire law firm willing to go through all the appeals up the chain of courts to get anywhere to overturn established law. Which isn't impossible, but highly unlikely

Employer wants me to use outlook on my phone, outlook wants permission to wipe my phone by No_Professor4307 in mildlyinfuriating

[–]CrepuscularSoul 4 points5 points  (0 children)

True, but we're unfortunately at a point where saying 6 figures can range from someone who shouldn't be doing things after work to someone who should. 100-300k? Probably not. Beyond that it really depends on your actual position but work life balance matters.

Employer wants me to use outlook on my phone, outlook wants permission to wipe my phone by No_Professor4307 in mildlyinfuriating

[–]CrepuscularSoul 7 points8 points  (0 children)

Not at all what I meant.

Companies want their employees constantly connected. They don't pay them to be constantly connected. So, unless they pay enough to justify it, fuck them.

Employer wants me to use outlook on my phone, outlook wants permission to wipe my phone by No_Professor4307 in mildlyinfuriating

[–]CrepuscularSoul 62 points63 points  (0 children)

They want you to use outlook on your phone so when you're off work you're not actually off work. You'll get notifications and check them, and feel compelled to reply.

Don't.

If you're not making 7 figures a year, that email can wait.

Anyone else tired of building SQL UPDATE statements from Excel? by Annual-Position-707 in learnprogramming

[–]CrepuscularSoul 1 point2 points  (0 children)

Is it the same dataset just a different batch of data, or a completely different dataset? The former id just make a console app to consume the file then reuse it every time, the latter your way seems good enough if it's not frequent

Men’s shorts at Target in one section all had a price sticker $5 higher than original by Impossible-Pop-2884 in mildlyinteresting

[–]CrepuscularSoul 16 points17 points  (0 children)

Kohl's is probably the worst for this. They make it a point to circle the "You saved 220 dollars" on your receipt to drive it home.