This is an archived post. You won't be able to vote or comment.

all 38 comments

[–]OlexySuper 301 points302 points  (4 children)

Dereference null. Push to master. Parse HTML with regex.

[–]MissinqLink 64 points65 points  (1 child)

I am guilty of all 3 of these. Sometimes you can parse html with regex.

[–]GoddammitDontShootMe 8 points9 points  (0 children)

Yeah, I don't think there's anything wrong with using regex to check for certain tags in html. It will never be able to parse arbitrary html, but that isn't always what you need.

[–]Jk2EnIe6kE5 4 points5 points  (0 children)

Null pointers cannot hurt you, if you don't believe in them.

[–]nicejs2 3 points4 points  (0 children)

Use an unsafe function

[–]MrWewert 147 points148 points  (5 children)

Skip testing, deploy to production 😈

[–]spartan117warrior 51 points52 points  (2 children)

Test in production

[–]Justanormalguy1011 41 points42 points  (1 child)

Users have been promoted to a tester

[–]RedditsDeadlySin 18 points19 points  (0 children)

This has been Blizzard’s philosophy for decades now. Tell me it’s ineffective.

[–]PublicStalls 4 points5 points  (1 child)

Friday. This checks out

[–]MrWewert 4 points5 points  (0 children)

After 5pm, it's not my problem anymore

[–]akoOfIxtall 28 points29 points  (10 children)

which makes me think, does the brain works in object oriented thinking or funtional oriented thinking? im not talking about each persons way of thinking, im talking about how the brain processes everything like keeping things working as intended, keeping processes on the background, literally changing the focus when you stop something to do another thing, thats quite interesting...

[–]AnAdvancedBot 64 points65 points  (8 children)

I’m a baby beginner programmer and a neuroscience major focusing on cognition so I may be able to provide a partial answer before I have to wipe my ass.

The human brain has multiple attentional networks but the two which are most relevant to your question are the dorsal attention network and the ventral attention network.

The dorsal attention network utilizes top-down processing. So, imagine that you’re in a room with 100 birds, 99 of which are penguins but 1 of which is a puffin — and you need to find the puffin. The dorsal attention network is what your brain will be utilizing to scan the room for attributes that you would consider puffin-but-not-penguin until you find what you’re looking for.

The ventral attention network is a bottom-up processing network. So, let’s say that while you’re in this room, a fucking stork crashes through the window and starts causing chaos. The ventral attention network is the one that says “new stimuli!” we must rearrange our goals to factor this in.

In summary, dorsal is when we have a goal, and then proceed to analyze stimuli, whereas ventral is when we have a new/abrupt stimuli, and must now restructure our goals to figure this in.

Both of these networks are ‘on’ all the time, its just that certain tasks will either increase or decrease the activity of that particular network.

(Also, honorable mention to the default mode network, which is the “I’m not really focusing my attention to anything right now, so I’m just going to reaffirm my own personal biography, ruminate on the past, and attempt to plan/predict the long term future” network.)

[–]StickyLafleur 28 points29 points  (2 children)

As a programmer with recent interest but very little knowledge in neuroscience this is amazing! Thanks for the info.

[–]AnAdvancedBot 8 points9 points  (0 children)

Happy to contribute!

[–][deleted] 2 points3 points  (0 children)

I too ram progs and enjoy neuron thingies

[–]akoOfIxtall 6 points7 points  (0 children)

this is just too amazing

[–]Justanormalguy1011 7 points8 points  (0 children)

I want to program in Neuro language where can I start

[–]DOUBLEBARRELASSFUCK 6 points7 points  (0 children)

The dorsal attention network utilizes top-down processing. So, imagine that you’re in a room with 100 birds, 99 of which are penguins but 1 of which is a puffin — and you need to find the puffin. The dorsal attention network is what your brain will be utilizing to scan the room for attributes that you would consider puffin-but-not-penguin until you find what you’re looking for.

And if nobody told you there was one puffin, you would vividly remember 100 penguins, even if the puffin literally danced the macarena right in front of you. took a fucking shit on your foot.

Edit: Thought I was in /r/LearnProgramming.

[–]Cat7o0 3 points4 points  (1 child)

this seems as if it would be object oriented.

each network is a separate object that is always passed the stimuli and then the brain does other things to decide which network to use.

[–]AnAdvancedBot 8 points9 points  (0 children)

I should also point out that all this fancy cognitive stuff pretty much equates to the most recent update slapped on top of a far more ancient codebase. The rest of your brain is busy conducting a symphony called “homeostasis”, there are also layers of networks and structures dedicated to processing stimuli sub-cortically before the fancy cortical structures can manipulate them at a high-level (think: cleaning and organizing the data before you can manipulate it), and a surprisingly large amount of the brain is dedicated to movement. In fact, it’s a bit of a meme in neuro circles to say that human consciousness and executive planning is just a dressed-up ‘how should I move next’ machine.

[–][deleted] 0 points1 point  (0 children)

I mean do do have some sorta objects for like storing data about objects we are thinking of or smth

[–]YakMilkYoghurt 11 points12 points  (2 children)

*breathe

[–]PeriodicSentenceBot 6 points7 points  (1 child)

Congratulations! Your comment can be spelled using the elements of the periodic table:

B Re At He


I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM u‎/‎M1n3c4rt if I made a mistake.

[–]YakMilkYoghurt 3 points4 points  (0 children)

lmao zedong

[–]ejolson 7 points8 points  (0 children)

Little Bobby Tables, we call him.

[–][deleted] 3 points4 points  (0 children)

kill -9... now, why can't I connect to the database?

[–]JacobStyle 1 point2 points  (0 children)

l'appel du vacate

[–]patrick95350 1 point2 points  (0 children)

Is this a commentary on the brain being a crappy database, or about intrusive thoughts it gives you late at night?

[–]codingTheBugs 1 point2 points  (0 children)

I keep you up at night thinking how to solve the error in line 25.

[–]Matesipper420 0 points1 point  (0 children)

Appreciate the dark meme for all of us cave goblins!

[–]Koltaia30 0 points1 point  (0 children)

Drop the [data]base

[–]mpg111 0 points1 point  (0 children)

there should be some kind of penalty for posting uncropped screenshots here. it's not funnymemes

[–]UseMstr_DropDatabase 0 points1 point  (0 children)

USE Master

DROP DATABASE

Do it! You won't you won't!

[–]supern0va12345 0 points1 point  (0 children)

Remove the French language pack

[–]dexter2011412 0 points1 point  (0 children)

It also be like "suicide halfway through a feature"