News for hackers. Stuff that matters.

dna113

Re:A casino card shark’s first time getting caught on Saturday May 09, 2020 @12:18PM (#23126003)
> with vague things like a count goes up with 5's or down with 10's

That is not vague at all and shows you how simple card counting is. Pair that with a blackjack strategy card which is based on the odds of winning certain hands and its easy to tell how a deck that has a higher proportion of 10's is better for the player.

https://wizardofodds.com/blackjack/images/bj_4d_s17.gif

Re:Remote Work Report on Monday April 20, 2020 @10:46AM (#22924229)
Also I think COVID has forced companies into trying it when there might have been fear or apprehension before. It takes time/resources/commitment to even try out a work from home policy - but now everyone has been forced into it.
Re:Caffeine Cranks Up Solar Cells on Thursday May 02, 2019 @10:23AM (#19808188)
Lol what else was melting if the chocolate in his pocket was melting?
Re:Fortnite and the Good Life on Monday April 08, 2019 @05:52PM (#19609411)
I averaged probably 3 hours a day.
Re:Fortnite and the Good Life on Monday April 08, 2019 @05:45PM (#19609352)
It's hitting a nerve because it's not just Prince Harry, its many people, and often times its parents, and friends. It's the collective "your'e doing it wrong" coming from society.

Its not such a big deal from one person but if it's something that is a significant part of your life and you are constantly bombarded that it is negative then yeah its gonna have a negative effect on you.

Re:Fortnite and the Good Life on Monday April 08, 2019 @05:23PM (#19609181)
As someone who spent much their teens logged into World of Warcraft, I wish people would be a bit more open minded about this.

Someone like Prince Harry saying that Fortnite is a waste of time, is seriously damaging to the image someone might have of themselves playing it. I doubt Prince Harry has got the first clue, and his opinion of it being a waste of time is totally subjective.

It took me probably a decade until I realized that the large chunk of my teens I spent logged in to World of Warcraft were not a blemish on my life. The game had so much depth, it was incredibly challenging, and the social aspect was a huge part of it. My family and our societies negative view of the game encouraged a negative view of myself, seeing as I enjoyed it so much.

Of course you should encourage variety, but let your kid play the fuckin game!

Re:Technical Debt Is Like Tetris on Sunday March 10, 2019 @06:15PM (#19354980)
I recently needed an HDMI cord for a monitor and realized that my cord drawer was accruing technical debt.

Whenever I am done with a cord I just throw it in there... it gets all tangled up with all the others. When I inevitably need one of those cords I impatiently pull it out and it makes all the other cords more tangled.

Here I am needing an HDMI cable that won't just come out easily, I have to pay off my past laziness. But I have choices/tradeoffs/opportunities here.

I can just hurry up and get the minimum untangled and get back to watching TV.

I could untangle all of them since untangling one of them will help me untangle the others and wrap and label them.

I could just untangle the minimum, but also throw a roll of tape and a marker in there and wrap and label all future cords that go into that drawer, eventually they'll all be nicely wrapped up and well documented.

¯\_(ツ)_/¯

Re:I’m Chinese, Google’s DragonFly Must Go On on Friday November 30, 2018 @10:40PM (#18574962)
It's easy for us to scream "human rights" when we aren't the ones that don't have access to a platform that has changed our daily lives
Re:Tailwind: style your site without writing any CSS on Friday November 02, 2018 @11:58AM (#18364000)
I agree that sass enables nice readable BEM, but I don't really think that BEM makes markup any easier to read than something like tailwind.

If you're into knowing where your class came from, it seems tailwind would be even better for you because now you have access directly to your styles right there in your markup. Skip the class step altogether!

Re:Tailwind: style your site without writing any CSS on Friday November 02, 2018 @11:41AM (#18363796)
If you prefer that great, which is why I said that I don't think it makes a huge difference one way or another.

.i-dont__find-bem--very-readable.

Re:Tailwind: style your site without writing any CSS on Friday November 02, 2018 @11:15AM (#18363592)
Lol here we go again. Why does this get people so riled up?

I suspect people who immediately dislike this maybe are not using some type of component-based UI. CSS classes are all about code-reuse. If you have the concept of say a "button" in your UI, and you are copying your button markup every where you use that "button" then it certainly makes sense to have a class for your button markup that encapsulates the styles for that button in a style sheet somewhere.

If using a button component however, you've already created a place for the concept of your button to exist. At that point if you go on making a class in some style sheet that also represents the concept of your button, now your button concept exists in multiple places, linked together by one or several class names. That seems a lot messier to me than using utility first styles, but I don't think it really makes a huge difference one way or another.

Re:Compare career levels across companies on Wednesday October 31, 2018 @07:06PM (#18349957)
Those 3 companies pay significantly higher than your average software engineer as far as I can tell. I make close to 80k in Southern California and I don't stress about money but I'm also not retiring early.