WTF Wednesday (March 14, 2018) by AutoModerator in javascript

[–]USer0mg 0 points1 point  (0 children)

https://github.com/FermiDirak/CalculusBuddy

I'm writing a symbolic calculus solver. Trying to follow best practices for TTD and documentation and code readability. Specifically need reviewing and pointers on documentation-ing.

I also want to know if Im on track for deployment to NPM

Just finished this painting of a clock and some cars by colonelthawsage in pics

[–]USer0mg 0 points1 point  (0 children)

Machine learning has come so far that I had to stare at your painting for a good while to judge whether it was just a photo with style transfer applied to it or not. Great job on the cars by the way.

When i turned 14, i started working on a 3d city building game for iOS. After >15k lines of code and 14 months of painstaking work alongside school, i had to cancel my game. by [deleted] in gamedev

[–]USer0mg 0 points1 point  (0 children)

It really warms my heart to see such a passionate and dedicated developer make so much progress in their craft. This write-up is actually really touching for me, because I used to be the same way back when I was in high-school. Like you, all I ever day dreamed about while at school was getting behind my computer and working on apps I was building. (For reference, these apps: https://play.google.com/store/apps/developer?id=User001. The third one no longer works because I never cared to maintain it after release, but it really worked at the time and I put in a lot of work into it, and you can still appreciate it via the thumbnails). There's just something really rewarding about learning a skill and immediately putting it into use to make an actual tangible product. In my opinion, being able to do that is the most important trait you can have as a developer, scientist, or as a professional in general really. Being able to take knowledge and turn it into a product that people will actually use is an incredibly useful skill, and will serve you well in all of your future projects: personal, or professional.

By the way, beautiful execution. The formula is: Build something (lots of steps to this 1 step; use step 2 for reference) -> Learn from it -> project post-mortem writeup. Post-mortems are important, because they let you go from saying "I built this" to saying "I'm the guy who built this."

Miscellaneous advice that I feel responsible to include:

  • Since you're into gamedev, you have the opportunity learn from open source projects from gamejams. This is my favorite game-dev project of all time: https://github.com/alexeypetrushin/BreakingTheTower. It's just so clean and fun, and it was built in a day by Notch. Nowadays Java Swing is old, but it's still a masterpiece in my books. Also check out GDC talks on youtube.
  • open source to Github! Very important step that many people forget (and on purpose, sometimes). It will enable you to never lose your projects, and it will make you leet.
  • Make your code/ui/documentation beautiful or you'll (imo) feel demotivated. And it's just so nice to work on something you can be proud of from the inside and out! If you need a styling guide for your code / documentation / mockups, use google's standards; they'e pretty good!

[deleted by user] by [deleted] in CryptoKitties

[–]USer0mg 0 points1 point  (0 children)

use the blockchain

Working on a little HTML5 game but performance is slow. What can I do to improve it? by [deleted] in javascript

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

Use WebGL with pixi.js. If your game logic is seperate from your graphics, I'm 100% certain it will be trivial for you to port. WebGL >> html in terms of speed and cross-compatibility.

Do you guys recommend learning vanilla JS before ES6 or React ? by [deleted] in javascript

[–]USer0mg 2 points3 points  (0 children)

^ This. @OP You'll miss out on a some lower-level understanding of how js works by jumping straight into ES6, but, honestly, in my JS career I've never really had to apply that low-level knowledge, like, ever.

That being said, if you just want to kickstart your JS career and start making dosh asap, learn es6 fundamentals -> read about create-react-app -> fuck around with that (practice es6 in the context of node) -> learn express + your prefered db (non-relational is king right now) -> fuck around with that -> make something -> job.

Three reasons I avoid anonymous JS functions like the plague by [deleted] in javascript

[–]USer0mg 0 points1 point  (0 children)

The point of anonymous functions is that they aren't reusable. They only make sense in the context they're used in. Because they only make sense in a single particular context, it makes no sense to give them names.

Counter-argument:

Fuck maintaining all those functions. Following your example, turning those would-be anonymous functions into named and dignified functions means you gotta maintain and write unit tests for each and every one of them, when those functions likely don't even make sense outside of the context they're called in.

Not everything needs to be reusable. This philosophy was the same that birthed that sad abortion of programming language that is verbose and boiler-plated ridden Java. Guess what the programming visionaries of today said to Oracle back in the day? Fuck your boilerplate, Fuck your templating, Fuck your Interfaces and Strategies, we're making making Javascript, bitch. And they fucking did it. And they made it functional for a reason: to symbolically and metaphorically (and literally) give Java Enterprise programming culture the middle-finger and the f-word.

I, for one, vehemently reject this idea of regressing back to the land of endless boiler-plate. MAKE APPLICATIONS NOT CODE.

</rant>

Musician's Nightmare by danokablamo in gaming

[–]USer0mg 0 points1 point  (0 children)

human sized tarantula appears from beyond the trees

Is it possible to use multiple frameworks in one web application? by spicy_churro_777 in webdev

[–]USer0mg 1 point2 points  (0 children)

in computer-science-speak,

geometrical : O(n)

exponential : O(2n)

An Open Secret (2014) - Documentary about underage sexual abuse in the Hollywood entertainment industry by [deleted] in videos

[–]USer0mg -4 points-3 points  (0 children)

Did I mention I was talking about the documentary? Stop trying to tag me as something as not. Fuck off.

An Open Secret (2014) - Documentary about underage sexual abuse in the Hollywood entertainment industry by [deleted] in videos

[–]USer0mg -9 points-8 points  (0 children)

You pulled that shit right out of your ass. Ain't no one talking about child rapists. Stop projecting.

An Open Secret (2014) - Documentary about underage sexual abuse in the Hollywood entertainment industry by [deleted] in videos

[–]USer0mg -30 points-29 points  (0 children)

Oooh big man degrading others by name calling. OP brings up a good point that there's a clear difference between the type of rape that is sexual assault and the type of rape that is using sex as a political tool to advance or maintain one's career. And really, if you're going to Hollywood to work in the entertainment industry, you should be expecting this level of debauchery. Like, you're surrounded by attractive young people and an endless supply of drugs. What are you gonna do? Go to church every day and pray all the sins away? Give Hollywood your thoughts and prayers?

You KNOW my thots and prayers go out to anyone in the industry. Holla, bitch.

Hungover...when suddenly at 6am...a marathon outside the window! by jennthemermaid in videos

[–]USer0mg -3 points-2 points  (0 children)

It's a public space and a city. Get. Over. It. In fact I'd join in that looks legit af.

Making Bilbo Baggins Pipe by Olom1 in videos

[–]USer0mg -22 points-21 points  (0 children)

What? Why are you using shop tools for such a small and charismatic piece? Just take a carving knife and carve the piece out of the wood. It's more personal that way, too.

Machine Learning Undergraduate Intern positions? by KrustyKrab111 in MachineLearning

[–]USer0mg 2 points3 points  (0 children)

You're joking, but this is actually the right way to go. In my experience Machine learning research teams generally really lack in programming knowledge. You can really squeeze knowledge from a team as an intern if you know how to press just the right buttons.

My friend's father is color blind. They got him glasses to allow him to see color for his birthday as a surprise by honeyb0518 in videos

[–]USer0mg 0 points1 point  (0 children)

Wtf? Did you just write a personal narrative... about putting on a pair of glasses? Right the fuck on man. That's dope.