-
21 votes
-
Evidence that increased BMI causes lower mental wellbeing
4 votes -
White House limits scope of the FBI's investigation into the allegations against Brett Kavanaugh
13 votes -
Elon Musk Settles SEC Fraud Charges: Musk to Step Down as Tesla’s Chairman; Tesla to Appoint Additional Independent Directors; Tesla and Musk Agree to Pay $20 million each in Penalties
49 votes -
Massive protest against fascist presidential candidate Bolsonaro in Rio de Janeiro, Brazil
13 votes -
Editorial cartoon: Sept. 29, 2018 - The newest piece from award-winning artist Bruce MacKinnon
45 votes -
No cash needed at this cafe. Students pay the tab with their personal data.
31 votes -
What do you look forward to in your week?
This can be anything, I'll accept "relaxing in front of the TV with a drink" as an answer. Personally I've grown fond of Wednesdays, because that's when I sometimes get me a sandwich from my...
This can be anything, I'll accept "relaxing in front of the TV with a drink" as an answer.
Personally I've grown fond of Wednesdays, because that's when I sometimes get me a sandwich from my favorite place, and Sundays because that's when I often go to play board-games with some old friends.
Do you have something you look forward to in your week? Or maybe some advice for people who are looking for something to look forward to?
26 votes -
Was Adolf Hitler a socialist? A response to a common argument.
11 votes -
Extra inventory, more sales, lower prices: how counterfeits benefit Amazon
17 votes -
Grey
Grey sky not so high crushing my soul it is full dark thoughts, cynicism seeing all these whataboutisms. Grey scale looking like the silver screen can’t inhale makes me wanna scream no voice,...
Grey sky
not so high
crushing my soul
it is full
dark thoughts, cynicism
seeing all these whataboutisms.Grey scale
looking like the silver screen
can’t inhale
makes me wanna scream
no voice, representation
guess they’re all on vacation.Grey paper
thrown to the stoop
next to the phone book
a tattering of what was
accountability
reduced to tabloid scoops,
fake news.Grey matter
on the wall
in its place after all
silence, finally silence
no more dealing with all the violence
the vitriol, all that was left
control, I finally have control.11 votes -
Valley forged: How one man made the indie video game sensation Stardew Valley
18 votes -
Unnamed creature, inspired by Silent Hill
5 votes -
DuckDuckGo usage is growing fast
63 votes -
Data Locality - Accelerate memory access by arranging data to take advantage of CPU caching.
8 votes -
Baseball rules/scoring question
It's the bottom of the 9th. Bases are loaded, and the home team's cleanup batter hits a home run. What is the final score? Does the game end immediately at 1-0 when the first runner crosses the...
It's the bottom of the 9th. Bases are loaded, and the home team's cleanup batter hits a home run. What is the final score? Does the game end immediately at 1-0 when the first runner crosses the plate, or is it 4-0 with all runners allowed to score?
5 votes -
The say of the land. Is language produced by the mind? Romantic theory has it otherwise: words emerge from the cosmos, expressing its soul
4 votes -
Why the UFC's 'sportswashing' of Chechnya’s dictator is a problem
10 votes -
Suicide and mental health
8 votes -
Guys, what style of facial hair (if any) do you have? Why that style?
There are so many variants of beards, stubble, mustache, etc. around, and also clean shaven style. It's interesting why people prefer their particular facial hair styles, kinda the ideas behind...
There are so many variants of beards, stubble, mustache, etc. around, and also clean shaven style. It's interesting why people prefer their particular facial hair styles, kinda the ideas behind them. Maybe depending on how it grows, and to feel confident, to be liked by others, or it feels nice, or something else. What's your story?
16 votes -
Nim Language Highlights
10 votes -
Haiku OS R1/beta1 has been released — first non-nightly release since 2012
33 votes -
teagritty.
howdy there. had a good day today, landed a new contract! but of course i can't close out the week on a happy post, where's the fun in that? so i put some drugs in my tea and wrote a thing....
howdy there. had a good day today, landed a new contract! but of course i can't close out the week on a happy post, where's the fun in that?
so i put some drugs in my tea and wrote a thing.
jouissez.
manny couldn't stand in his corner
for his last fight
wilbur turned around, downwind
on his last flight
osipova sat down, and rolled
off her tights
big sigh
tongue-tied
tryna get their words right
don't cry big guy
i know you'll be alright
life builds character out
of all the bad times
why do my characters
always end up bad guys
even james evans is
falling in some bad timeshad a pet, but she
left and took it with
every time he close his eyes,
her visions dance around his head
doesn't want to sleep, so
he's turning to the cigarettes
kinda hard to cuddle up
next to a slilhouette
he craved depth, but
he had nowhere to lay his head
so he grabbed a shovel, headed
out and dug a grave instead
no more confidence, put
some holes in his esophagus
crossed his arms and fell back
into his own sarcophagusblind optimists start
to make his stomach sick
you say he'll be fine,
how are you so sure of it(beat.)
how are you so sure of it
times are hard, sui-
cide epidemic
one heated moment,
rash decisions
one year feeling this shit
i can't live with
remember when you made
me liberatedused to be a loverboy
now i'm all jaded
look at myself in the mirror
and i hate it
wonder if i'm thought about
well, or i'm hated
tryna forget, get
numb in this krater
wondering now if
you were a sadist
otherwise how could you
lie to their faces?
tell em that you'd be
there when they need it?
i'm not the only body
you left bleedinghe craved depth, but
he had nowhere to lay his head
so he grabbed a shovel, headed
out and dug a grave instead
no more confidence, put
some holes in his esophagus
crossed his arms and fell back
into his own sarcophagus
"FUK LUV" blood-etched,
tatted on his chest
eyes closed, smile wide, now
that he can get some rest.
high hopes that there's
life in the next.
what he wouldn't give,
just to start over again.10 votes -
At least forty-eight killed after series of quakes and a tsunami hit Indonesia
13 votes -
Does a trustworthy VPN provide privacy? If so, how do you know if a VPN is trustworthy?
It's hard to get a straight answer on this because there are allegations of shilling everywhere when it comes to VPNs (particularly when you discuss specific providers). There's also this post...
It's hard to get a straight answer on this because there are allegations of shilling everywhere when it comes to VPNs (particularly when you discuss specific providers). There's also this post which gets linked pretty frequently and which seems to throw a wrench in the whole idea.
For context, I ask because I have two main concerns:
- I have been the subject of a mild internet stalking/doxing, and I have no wish to relive that experience.
- I live in the United States and, if I am understanding things correctly, my ISP now has the right to sell my browsing data without my consent.
I have no love for my ISP and am all about the idea of blocking them from gathering data about me, but it seems the only other option is to hand all of my data over to another company who simply promises not to do anything with it. While I'm sure some of them are legitimate, how can you tell the difference between a genuine privacy tool and a honeypot?
23 votes -
iPhone iOS passcode bypass hack exposes contacts, photos
8 votes -
Video game 'Donut County' asks big questions about gentrification...
7 votes -
The Philosophy of Cowboy Bebop – Wisecrack Edition
14 votes -
US House committee votes to release Trump-Russia transcripts
8 votes -
Jefferson Airplane co-founder Marty Balin dead at 76
9 votes -
'Inexcusable' greed and dishonesty in financial advice
6 votes -
Cats are no match for New York City’s rats
14 votes -
An informal look at the concept of reduction (alternatively: problem-solving for beginners).
Preface One of the most common questions I see from prospective programmers and computer scientists is "where should I start?". My answer to that is a pretty consistent one: learn how to solve...
Preface
One of the most common questions I see from prospective programmers and computer scientists is "where should I start?". My answer to that is a pretty consistent one: learn how to solve problems effectively. But that's vague and not really all that helpful, so I figured that I should actually tackle this in a little more depth by touching on something more specific.
Specifically, I want to touch on the subject of how to think about complex problems.
The Rationale Behind Learning
Before we can better understand how to effectively solve problems, it's important to consider how it is that we learn. With any subject, the standard approach is to begin with the bare basics. For programming, that's writing a
Hello, World!program in the new language you're working with. For foreign languages, you learn basic common words and sentence structure. For math, you learn your basic arithmetic operations like addition and multiplication.From there, we add on more additional complexity and string together everything we've learned. For a foreign language, this looks like learning about new words, stringing them together in your own sentences, then learning about verb tenses and throwing them into the mix as well. With math, you take your normal number crunching and suddenly throw the concept of order of operations into the mix, then variables and how to solve for them.
As a general rule, we first get comfortable with solving a simple problem and gradually build up toward solving increasingly more difficult ones.
The Missing Piece
Odds are that we've all sat in a math class at one point, and when the teacher asked a student how to solve a problem, they received an immediate "I don't know". You may or may not have been that kid yourself. I have no intention of shaming the kids who struggled (or those who still struggle) with math. Rather, I want to point to what I believe is the fundamental cause of that mental barrier that has frustrated students for generations.
Learning is not simply a matter of adding more complexity to problems. A key part of learning, and one that I don't recall ever having emphasized during my grade school studies, is your ability to break problems down into the steps that you know how to complete and combine the different, simpler skills you've already learned to arrive at a solution. Instead, you were expected to solve many of those complex problems and learn through practice, or through pure rote memorization.
What determined whether or not you could solve those problems was then a question of whether or not you could intuit or memorize how to solve those specific problems, and brand new problems that still made use of the same skill sets but had completely different forms would throw a wrench in that. Those who could solve any of those problems--those who, I would argue, were often mistakenly referred to as "geniuses" or "talented"--were really just those who knew how to break a problem down into simpler pieces.
This isn't a failing on the students, but on the way they've been taught to think about problems.
Reducing Problems
What does it mean to "break down" a problem, though? The few times I recall a teacher ever touching on the subject, "break down the problem" and "use the skills you've already learned" were the kinds of pieces of advice passed around, completely vague and devoid of meaning for anyone who didn't already understand. How can we better grasp this important step?
There's a term in complexity theory known as "reduction". The general idea is that if you have problems A and B, where you already know how to solve B, then if you can transform problem A so that it looks like problem B, then you can use your solution for B to solve at least part of A.
In other words, finding the solution to a more complex problem is just a matter of finding a way to make it look like a problem you already know how to solve.
The advice to "break down" a problem really means to perform this process of "reduction", of transforming your more complicated problem A into your simpler, known problem B.
In Practice
We're still discussing a vague concept, but now that we have more specific language to work with, we can more easily see how it works in practice (a reduction of its own!).
Let's consider a conceptually simple problem: grabbing the kth largest (or smallest) item from a list. How do we solve this problem? Probably the most obvious and straightforward answer is to sort the list then grab the kth item, right?
Notice that we gave two high-level descriptions of the steps we need to solve this problem: sorting, then grabbing the appropriate item. We can therefore then state that the problem of "grab the kth largest/smallest item from a list" can be reduced to the two problems "sort a list" and "grab the kth item from a list".
Now, let's say we're given the problem "take this list of competitor times from the race and tell me what the top 10 race times were". What do we know about this problem? We know that we're being given a list, and we know that we need the 10 smallest items from that list. We also know that "10 smallest items" is just shorthand for "the 1st smallest item, the 2nd smallest item, ..., and the 10th smallest item". We can therefore reduce this problem to the previous one we solved by transforming it into "grab the kth smallest item from a list" and "repeat for values 1-10 for k".
Practical Advice
In the end, my explanation may not have helped much at all in actually grasping the concept of reduction. My intent isn't necessarily to help you understand it immediately, but to provide you a framework for a way of thinking. Even if you do grasp the general concept, you may even wonder how you're supposed to recognize these kinds of reductions out in the wild in non-academic environments. The answer, perhaps annoying, is practice. Much like an appraiser can only become good at discerning details through experience, a programmer or computer scientist can only recognize these patterns through repeated exposure.
In general, if I had to narrow it down to a small list of tips for improving your problem solving skills, this would be it:
- Work on grasping the concept of reduction itself.
- Expose yourself to lots of new problems.
- Don't shy away from difficult problems. Reduce them as much as you can and solve the pieces you're able to. Try to research the pieces you're struggling with. Return to the problem later when you have more experience if you have to, but take a crack at it first.
- Don't accept "I don't know" as an answer in itself. Ask yourself why you don't how to solve a problem. Narrow down which pieces you're able to solve and which pieces you're not.
- Just solve problems. Any problems. Easy ones, hard ones, and anything in between. Solving problems is a skill, and practicing it will make you better at solving problems in general, and better at recognizing the simpler problems inside of more complicated ones.
- Don't just come up with a solution to a problem. Ensure that you understand how each piece of it works and why it works. Copy-pasting from StackOverflow can be a valid tool at your disposal, but doing so mindlessly isn't nearly as valuable as reviewing the solution, being able to determine whether or not it works before ever executing the code, and being able to discard anything unnecessary from it.
Final Thoughts
I'm not an authoritative voice on this subject. I'm not an educator. More than anything, I'm a life-long student and an enthusiast. There's seldom a day when I don't have to research something new in order to solve a problem I'm not familiar with, or remind myself the syntax for a function I've used several times in the past. I don't know anything about teaching others, but I do know plenty about learning, and if there's anything that has stood out to me over the years, it's the fact that I find it easier to learn about something or to solve a problem if I can transform the concept into something that's easier for me to grasp.
Moreover, I'm human and thus prone to mistakes. Call me out on them if you notice them. I'll take any of my mistakes as learning opportunities :)
11 votes -
Tsunami hits Indonesia's Palu after strong earthquake
4 votes -
Some Apple Employees Think Company's New TV Service Will Be Dull As Nails
5 votes -
There are too many video games. What now?
26 votes -
Github upgraded from Ruby on Rails 3.x to 5.x within 1.5 years
9 votes -
Aging Japan: Manga comics turn gray - but spirited - along with readers
10 votes -
What linguistics habits annoy you?
Habits can be good! I mean, if you build the good ones of course. But ya know, sometimes people fall into habits that annoy you. I mean, they probably don't know that they're annoying you. Or that...
Habits can be good! I mean, if you build the good ones of course. But ya know, sometimes people fall into habits that annoy you. I mean, they probably don't know that they're annoying you. Or that they've fallen into the habit at all! What linguistic habits have you noticed in yourself (or others) that drives you up the wall?
26 votes -
Kavanagh vote delayed one week for FBI probe
29 votes -
Elon Musk is his own worst enemy
13 votes -
The Good Place is one of the funniest, most original shows I've seen in a long time
The third season has just started and it's as funny as ever. If you've never heard of it before, here's the blurb from Wikipedia: The series focuses on Eleanor Shellstrop (Kristen Bell), a woman...
The third season has just started and it's as funny as ever. If you've never heard of it before, here's the blurb from Wikipedia:
The series focuses on Eleanor Shellstrop (Kristen Bell), a woman who wakes up in the afterlife and is introduced by Michael (Ted Danson) to "The Good Place", a highly selective Heaven-like utopia he designed, as a reward for her righteous life. She realizes that she was sent there by mistake and must hide her morally imperfect behavior and try to become a better, more ethical person. William Jackson Harper, Jameela Jamil and Manny Jacinto co-star as other residents of "The Good Place", together with D'Arcy Carden as Janet, an artificial being helping the inhabitants.
The Good Place received positive reviews upon its debut and has since gained critical acclaim. It has been praised for its performances, writing, originality, setting and tone.
Seriously, give it a shot!
35 votes -
Bracing for the vanilla boom in Madagascar
13 votes -
My career as an international blood smuggler
6 votes -
Love in the time of AI: meet the people falling for scripted robots
5 votes -
Facebook "View As" security issue affecting fifty million accounts: "attackers exploited" it to "steal Facebook access tokens" and "take over people’s accounts"
21 votes -
When did rap turn into this? We need to start over.
hey all! just wanted to share a really interesting response to the title question i came across today. this discussion spawned on the /r/justfuckmyshitup subreddit, a page dedicated to those with...
hey all! just wanted to share a really interesting response to the title question i came across today.
this discussion spawned on the /r/justfuckmyshitup subreddit, a page dedicated to those with bad haircuts, and was based around rising (you guessed it) emo rapper, bexey.
as with many others in the genre, most of bexey's following is still very underground even though popular tracks like 'cutthroat smile' and 'stay alive' have reached 2.9 million and 7 million hits, respectively, on youtube.
while a bit of controversy surrounds bexter as he was once a good friend of late emo rap frontrunner
lil peep
(linked: 'your favorite dress') though has been rumored to have stolen several of peeper's clothes after his death, the musical point of discussion quickly turned to the question in the title:when did rap turn into this? we need to start over.
not shortly after, user /u/GNAR-gemniii responds.
This is natural progression in genres of music.
Hip hop starts somewhere, has it's defining characteristics established, then people start pushing the genre in different directions because the same old same old has been done before.
We're in a weird sort of teenage state with hip hop right now, where people are taking the genre and mixing in characteristic of other genres - some good, some bad. This, combined with the 'viral' nature of social media means we get people who do crazy things to stand out like the above, as part of pushing the genre in all these weird directions. This guy specifically is a blend of modern trap production with goth and emo influences (if you couldn't tell).
as always, there are gonna be people who do it better than others, and people who rely on gimmicks for attention. This guy is a solid 6/10 talent wise, but has an image that appeals to a younger generation. This pattern is as old as music and culture, and people said the same things about every genre when we start getting some really wacky stuff that doesn't really fit within the confines that we would normally associate with the genre.
Nu-metal is a great example of this. traditional rock and metal music had been done to death, so we had this infusion of hip hop characteristics in to metal. In its infancy, a lot of it is really bad as people figure out what works, then as the subgenres become more popular you have people who hit a nice groove that combines the best characteristics of both genres into something that actually appeals to people who might like one or the other, and can now appreciate the other part of the blooming subgenre. something like Limp Bizkit or Kid Rock vs. Linkin Park or Korn. They're very similar genre wise but you can see maturation of the style and the progression of people doing it well.
We've already had some really nice subgenres blooming out of hip hop. Cloud rap is one that I think blends very well, and has been around long enough for people who were inspired by the artists at the forefront to come out and do it themselves, sometimes pushing it even further. Recently Lil Peep was an artist that many felt blended nicely the attitude of punk rock / emo / grunge with the banging beats that dominate modern hip hop currently. In the past couple years NY has had a surge of artists who grew up listening to the boom bap greats that paved the way for hip hop and are now blending that into the modern trap beats. The Underachievers are a personal favorite who demonstrate their understanding and respect for the origins of hip hop by showing master of both old and new styles (infused with the ideals of hippy counter culture) on their album Evermore: The Art of Duality. Seriously it's great, give it a listen. If you like old hip hop you will definitely like some of the songs at least, and it could open your eyes a bit and see how they translate traditional skills on top of more modern production.
As the genre continues to dominate main stream music we're going to have people inspired by artists in these weird hip hop subgenres come out and do it better than their idols, giving us a further refined and more tasteful progression of the subgenres that are currently in their infancy.
As time goes on, we forget the gimmicky trash that tends to flare out quickly and tend to remember the ones that did it well. Within the next 10 years i feel we're going to see some of the subgenres really shine and define themselves separately from the genres they have their roots in.
I just love the culture so on some level I can enjoy some objectively not that great music because I appreciate the art and what these artists are trying to do.
e. Don't even get me started on how metal has stagnated and it's energy has evolved into modern dubstep.10 votes -
John Carmack keynote at Occulus Connect 5
6 votes -
How did you discover your sexuality?
Hey Waves! I've been wondering how other people discovered they were bi, or gay, or pan, or ace, or straight, or anything else. You can tell stories of your first crush, how things just 'felt...
Hey Waves!
I've been wondering how other people discovered they were bi, or gay, or pan, or ace, or straight, or anything else. You can tell stories of your first crush, how things just 'felt right', anything.
14 votes -
'Rank socialism': Facebook removes senator's official page over hate speech
8 votes