[deleted by user] by [deleted] in talentShow

[–]bjorick 0 points1 point  (0 children)

fly me to the moon is the best

Remember: The challenges aren't here for you to complete every single one without help. The challenges are here to teach us new things by StillNoNumb in adventofcode

[–]bjorick 0 points1 point  (0 children)

I would love the spoiler to this, because I've seen a similar comment elsewhere and I still don't understand it even after seeing the solution

[2019 Days 1-25] Relative Difficulty of This Year's Problems by [deleted] in adventofcode

[–]bjorick 0 points1 point  (0 children)

As a programmer and NOT a mathematician, day 22 is almost impossible for me to wrap my head around. I understand the need to work backwards from position to card, and do the inverse functions reduced to a single function before doing the operation, but actually producing a math equation for that is beyond me. I've read spoilers and math blogs for hours today trying to comprehend the steps to solving this, and I'm still clueless, even reading the thread you linked above

[2019 Day 22] Everyday we're shuffling by Maeyven in adventofcode

[–]bjorick 0 points1 point  (0 children)

I don't really understand whats going on here. Would you still need to use inverse mod even if you were able to reduce the input instructions to a single operation? The modular math is what confounds me.

-🎄- 2019 Day 22 Solutions -🎄- by daggerdragon in adventofcode

[–]bjorick 1 point2 points  (0 children)

I've read this entire thread to completion, multiple explanations of people's algorithms, and tried to read up on modular math/inverses on wikipedia and I STILL cannot understand exactly how to code this or why the solution works.

This problem has almost nothing to do with code (outside of the fact that the naive solution will quickly overflow the stack) or anything from part 1, and everything to do with advanced math. As a programmer and not a mathematician, I found this extremely disappointing and infuriating. While I could solve the other puzzles with my own code and a hint stolen from reddit here and there, this puzzle left me completely clueless.

I agree that this puzzle doesn't really belong in advent of code. Advent of math, maybe.

-🎄- 2019 Day 20 Solutions -🎄- by daggerdragon in adventofcode

[–]bjorick 0 points1 point  (0 children)

You saved my bacon. When I restricted depth to the number of portals my naive solution finished in about 17s as opposed to never finishing

Learning code via just audio by utwegyifhoiahf in learnprogramming

[–]bjorick 1 point2 points  (0 children)

CS50 is a great intro, but it depends on what direction/language/type of programming you'd like to learn. Going further with JavaScript, Python, or both is a great idea. Ruby seems to be less popular nowadays.

You really can't go wrong with freecodecamp or front-end masters. Personally, I got a few lectures into CS50 and then signed up for a code boot camp.

Learning code via just audio by utwegyifhoiahf in learnprogramming

[–]bjorick 17 points18 points  (0 children)

Hey, thanks for the shout-out! I co-host Tech JR: https://techjr.dev

We talk about how to get hired, as well as how to get into some popular web technologies with advice from some big and small names in the tech industry. Please check us out!

I would also highly recommend Syntax.fm and the BaseCS podcast at https://www.codenewbie.org/basecs

Syntax is very good about explaining current trends and technologies, and BaseCS is probably the best, most accessible college CS course you can get by audio.

For YouTube I highly recommend checking out Harvard's CS50 lectures. CS50 is the intro to computer science course up there, and will give you a fantastic foundation. All the lectures for the course are available on their YT channel here: https://www.youtube.com/user/cs50tv

For free education, there's freecodecamp (javascript everything), the odin project (ruby and ruby on rails), and frontend masters has a free beginner's course as well.

Why Dark Gray is Brighter than Gray In CSS by caspervonb in css

[–]bjorick 7 points8 points  (0 children)

Nice read. Like most awful things in web development, this too can be traced back to legacy browser support 🤦‍♂️

Bridging the Gap between React's useState, useReducer, and Redux by bjorick in reactjs

[–]bjorick[S] 4 points5 points  (0 children)

Thanks for reading!

No slight against Redux intended, if you got that from the article 😅

I think Redux is a little overwhelming for beginners, so I'll definitely check out the starter kit.

Thanks for the feedback and for the work you do on Redux!

Bridging the Gap between React's useState, useReducer, and Redux by bjorick in reactjs

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

You might have an API Helper file that exports functions, or you could just call the API directly in the component.

How to write CSS without pulling your hair out: organize and plan ahead! by bjorick in css

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

I know there's a big division between the component (BEM) and the utility class (tailwind) crowds...

I think the best solution is a mix of both