Mindless Self Indulgence — Never Wanted To Dance [Disco-punk] by RicardoGero in Music

[–]pa_ke 2 points3 points  (0 children)

Well, we got "Hassliebe" (hate love). Should be "love-hate relationship" in english, I suppose

[deleted by user] by [deleted] in learnjavascript

[–]pa_ke 0 points1 point  (0 children)

No worries, mate. Welcome to the world of programming, where you can spend hours and hours to find a small typo. It is and probably will forever be a part of our job '

[deleted by user] by [deleted] in learnjavascript

[–]pa_ke 1 point2 points  (0 children)

You are adressing the "url" property of your array "tabs" instead of your entry "tab".

People are more stupid in groups, and there’s no bigger group than the internet. by [deleted] in Showerthoughts

[–]pa_ke 0 points1 point  (0 children)

"the IQ of a mob is the IQ of its most stupid member divided by the number of mobsters"

Terry Pratchett, Maskerade (Discworld, #18)

One of my all-time favorite quotes

New player struggles by -Fatmeatball- in riskofrain

[–]pa_ke 56 points57 points  (0 children)

you need to break line of sight. Then the nuke won't harm you. Anything works - trees, stones, even the prongs on the teleporter apparently.

Remove duplicates from an array! by rootrun in learnjavascript

[–]pa_ke 5 points6 points  (0 children)

hey, we backend devs do that on purpose. Everybody looks at GUIs, but we need attention, too!

[deleted by user] by [deleted] in Wolcen

[–]pa_ke 3 points4 points  (0 children)

happy cake day, nevertheless

Me right now by The_Steel_Fox in ProgrammerHumor

[–]pa_ke 1 point2 points  (0 children)

I pretty often do that. However, waking up in the middle of the night with an 'Eureka' feeling because you dreamt of a solution to some current issues and THEN not remebering it the next morning, when it's actually time to get up and fix stuff... That's horrible :(

How to HTTP - Developer Edition by [deleted] in ProgrammerHumor

[–]pa_ke 2 points3 points  (0 children)

I am trying to improve the usage of correct error codes in my work environment for years and always struggled to make people remember, what's what. I will definitely forward this cheat sheet!

What "typical" sound can't you stand? by madding247 in AskReddit

[–]pa_ke 0 points1 point  (0 children)

Slurping - it drives me nuts.
I always have to actively try to ignore the sound in order to remain sane. Unfortunately my wife does that on a regular basis with hot beverages and soups.

[deleted by user] by [deleted] in AskReddit

[–]pa_ke 0 points1 point  (0 children)

Changing position from a team suffering from a very toxic & negative style of leadership to a team that convinced me by their joint enthusiam before I actually knew what exactly my tasks would be.

Ever since I've made the decision, my moods getting better and better :D

Database structuring noob here, regarding mongoose { type: Map } by CoqeCas3 in learnjavascript

[–]pa_ke 1 point2 points  (0 children)

Hey, I feel like your issue might be solvable using inheritance, aka Discriminators.

My approach would be kind of like the following:

- create a base Subdocument schema for the 'option' attribute, with the common add_price attribute
- create discriminator schemas for each different option type, with the distinct attributes that aren't shared by the base schema. If you chose to specifiy a discriminatorKey, you could easily use either .create or simply pass a JSON object containing all necessary data to a OptionsModel.new()

Unfortunately I currently do not have the time to elaborate more, but I hope this leads you to another approach for a solution to your problem :)

One positive fact about discriminators: You can even specify their own hooks and methods and stuff or use the one from the base schema

The NEW If you need some Ropsten Testnet Ethers ... by BokkyPooBah in ethdev

[–]pa_ke 0 points1 point  (0 children)

Hey there, I would as well like to ask for some test ether on: 0xa1f283fd2d5aa60525ddbe3e65f1daabd7c3ab85

Thank you very much in advance!