archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
terror406
null
Why is this being downvoted? Developers have primary responsibility, they actually see wtf is going on. Even the best managers can't do their job if developers just keep their mouths shut. Either speak up, or walk. If you're not part of the solution, you're part of the problem.
null
0
1317228870
False
0
c2n98kw
t3_ktxk5
null
t1_c2n98kw
t1_c2n7v5e
null
1427658618
1
t5_2fwo
null
null
null
True
troutwine
null
Vaguely, which is a real loss for Scala in terms of usability.
null
0
1317228883
False
0
c2n98n7
t3_hwwac
null
t1_c2n98n7
t1_c2in60s
null
1427658620
1
t5_2fwo
null
null
null
True
zyzzogeton
null
How are you detecting REM state?
null
0
1317228903
False
0
c2n98qh
t3_ku203
null
t1_c2n98qh
t3_ku203
null
1427658621
3
t5_2fwo
null
null
null
True
abel3616
null
I learn best by example, and use manuals as references. While I've already learned Vim the way you suggested, I feel this would have greatly reduce the time it took to learn.
null
0
1317228915
False
0
c2n98so
t3_ktenx
null
t1_c2n98so
t1_c2n8jv6
null
1427658621
1
t5_2fwo
null
null
null
True
a-ko
null
Should be priority, isn't priority. When you work in a large corporate shop that uses processes like AGILE and SCRUM, code maintenance isn't part of that process. It's features, features, features, more features, and as little bug fixing as possible to get Application X out the door. If you're in a "developer" role, you have *0* say in this lest you want to be out of a job. That's a fact of life.
null
0
1317228964
False
0
c2n991p
t3_ktxk5
null
t1_c2n991p
t1_c2n8jgt
null
1427658624
1
t5_2fwo
null
null
null
True
rhardih
null
Here's an iPhone app that does the same thing: http://mdlabs.se/sleepcycle/ Tried it and it works quite well.
null
0
1317228993
False
0
c2n9973
t3_ku203
null
t1_c2n9973
t3_ku203
null
1427658627
3
t5_2fwo
null
null
null
True
terror406
null
> At the end of a day are not a company janitor, you are a professional developer. This. Act like a pro, take charge of your work. If the company you work for doesn't allow you to do your job as a professional, you leave. Period. There's tons of jobs for good developers.
null
0
1317229007
False
0
c2n999u
t3_ktxk5
null
t1_c2n999u
t1_c2n8zyi
null
1427658628
3
t5_2fwo
null
null
null
True
polydactyly
null
I guess tomorrow you'll be a daysleeper?
null
0
1317229027
False
0
c2n99dg
t3_ku203
null
t1_c2n99dg
t1_c2n9793
null
1427658629
4
t5_2fwo
null
null
null
True
iongion
null
From personal XP, if I get awake 1 or 2 h before my normal awakening time, move a little bit in the house to drink some water and get back to sleep until i don't get too awake, it is from that period when I remember most of my dreams. Also, I remember dreams quite easy when i am ill from a cold/flu or when i sleep just a few hours during the night.
null
0
1317229043
False
0
c2n99h1
t3_ku203
null
t1_c2n99h1
t1_c2n94d9
null
1427658630
3
t5_2fwo
null
null
null
True
notfancy
null
Vielen Dank!
null
0
1317229053
False
0
c2n99io
t3_kt682
null
t1_c2n99io
t1_c2n96kc
null
1427658631
3
t5_2fwo
null
null
null
True
BunsOfAluminum
null
Thanks!
null
0
1317229160
False
0
c2n9a1t
t3_ktg7o
null
t1_c2n9a1t
t1_c2n8csi
null
1427658638
1
t5_2fwo
null
null
null
True
terror406
null
You mean the same kind of assholes that ignore that reality is telling them "you're such an incompetent developer, that this, working for an asshole manager, is the only job you can get"? If people like that are the only ones that will hire you, what does that say about *you*?
null
0
1317229191
False
0
c2n9a7s
t3_ktxk5
null
t1_c2n9a7s
t1_c2n8hrj
null
1427658640
-2
t5_2fwo
null
null
null
True
Hedonic_Regression
null
Well, the point of prioritizing features is that if something is going to not get done, at least management can choose what it will be. One difference in the mindset is that the sprint is not really a firm commitment, it's an estimate and can go over or under. What's important is that the highest priority features are coming out first.
null
0
1317229237
False
0
c2n9agd
t3_ktxk5
null
t1_c2n9agd
t1_c2n9415
null
1427658643
5
t5_2fwo
null
null
null
True
grauenwolf
null
Step 1: Remove all of the dead code. Prune out any class, function, or variable that isn't being used. Static analysis tools such as FXCop help a lot here. Step 2: Pick a function, any function, and clean it up. Without changing what it does, make it look like something you would have written. Repeat. (For larger projects I assign my developers to do this one folder/namespace at a time.) Step 3: Now that you you've literally touched every function at least once go back and make a list of things that you think need to be changed. Enter these as normal tickets in whatever bug tracking software you use. Step 4 (optional): Write automated tests. Since we are talking about fundamentally rearchitecting the application, writing a bunch of tests before this point is a waste of time. You may want a handful of tests for the tricky bits, but you don’t want a bunch of low-level tests that are just going to be broken anyways. I have successfully used this technique on a couple dozen projects including two websites each with hundreds of pages. (One was classic ASP, the other ASP.NET).
null
0
1317229261
False
0
c2n9akn
t3_ktg8c
null
t1_c2n9akn
t1_c2n77ca
null
1427658646
3
t5_2fwo
null
null
null
True
daigoba66
null
We took a big leap and went from 4 week sprints to 1 week sprints. Finishing up our 26th 1 week sprint today. It's been fantastic as it forces us to keep the stories small, testable, and understandable.
null
0
1317229363
False
0
c2n9b42
t3_ktxk5
null
t1_c2n9b42
t1_c2n8ghm
null
1427658653
1
t5_2fwo
null
null
null
True
camayisbest
null
does it really work as a substitute for exception handling ??
null
0
1317229376
False
0
c2n9b6l
t3_ku8tl
null
t1_c2n9b6l
t3_ku8tl
null
1427658654
2
t5_2fwo
null
null
null
True
Killerkarpfen
null
His comment is absolutely valid and devs who don't open their mouths are just as much part of the problems as overly ambitious managers are. That much is true on paper at least. In the majority of the cases when it comes to problems managers are usually listened to before devs. edit: I'd explain the downvotes by stating that he sounds like a manager and this subreddit should be fairly dev heavy. :)
null
0
1317229415
False
0
c2n9bd4
t3_ktxk5
null
t1_c2n9bd4
t1_c2n98kw
null
1427658656
2
t5_2fwo
null
null
null
True
axilmar
null
Shall I assume that the games/emulators will not be running in the same machine?
null
0
1317229438
False
0
c2n9bi6
t3_ktv1z
null
t1_c2n9bi6
t1_c2n97ee
null
1427658658
0
t5_2fwo
null
null
null
True
cjsedwards
null
Definitely. This is the problem with any API you design after its initial launch. The longer it is out there the harder it is to change the API. Software companies can spend a huge amount of time with usability testing for their UI, but in this case they should have spent the time on usability testing their API as well.... Oh well too late now!
null
0
1317229456
False
0
c2n9blp
t3_ktv1z
null
t1_c2n9blp
t1_c2n88c8
null
1427658659
3
t5_2fwo
null
null
null
True
Koreija
null
So he reinvented two aliases to cat, grep (or cdb, kyoto, acid-state...) and xclip?
null
0
1317229580
False
0
c2n9caj
t3_ku73e
null
t1_c2n9caj
t3_ku73e
null
1427658667
0
t5_2fwo
null
null
null
True
gospelwut
null
It's okay. I'm sure they'll get it right with the new *Metro* APis. Though, having *only async* will be interesting.
null
0
1317229690
False
0
c2n9cve
t3_ktv1z
null
t1_c2n9cve
t1_c2n9blp
null
1427658674
-1
t5_2fwo
null
null
null
True
meangrampa
null
Wouldn't just breathing set it off? You'd move more breathing than your eyes wiggling. I could understand and expect lots of false readings. A sensor hat to record brain waveforms would be cool. Though covering your head with the sensor slime every night would cancel out the coolness.
null
0
1317229793
False
0
c2n9dfq
t3_ku203
null
t1_c2n9dfq
t1_c2n97w8
null
1427658682
-1
t5_2fwo
null
null
null
True
sandburn
null
I've been lucid dreaming most of my life (every other night or so), and the best method I've found to stop the dream from "slipping away" or disintegrating into total consciousness is to look at the ground and spin. It's kind of like buffering your dream rendering engine.
null
0
1317229885
False
0
c2n9dx4
t3_ku203
null
t1_c2n9dx4
t1_c2n850z
null
1427658689
31
t5_2fwo
null
null
null
True
RyGiL
null
Thanks for the tip on how to overcome the joyful experience when you realize you are in a dream. About once a month I have meetings in my dreams with my mother who passed away 2 years ago and in each one, I realize I'm in a dream and everything starts slowing fading away and I wake up disappointed it's over... lately I've tried to start taking action to prevent the dream from ending (even asking my mother to help!) and nothing has worked.
null
0
1317229965
False
0
c2n9ebw
t3_ku203
null
t1_c2n9ebw
t1_c2n850z
null
1427658693
9
t5_2fwo
null
null
null
True
pnpbios
null
same machine, which makes it tricky
null
0
1317230035
False
0
c2n9eoi
t3_ktv1z
null
t1_c2n9eoi
t1_c2n9bi6
null
1427658699
1
t5_2fwo
null
null
null
True
cogman10
null
:) I've done that a few times in my dreams... What is strange to me is that a couple of times that I've flown, I've suddenly lost the ability. I knew I was dreaming, I knew I should be able to do it, yet for some reason it just didn't work. So I jumped really high instead.. Just as satisfying to get a look of the landscape from an almost google earth like perspective.
null
0
1317230051
False
0
c2n9erm
t3_ku203
null
t1_c2n9erm
t1_c2n97jh
null
1427658700
3
t5_2fwo
null
null
null
True
cosmo7
null
Sorry I was a bit unclear; I'm pretty sure you shouldn't have daily meetings that change the objectives of the sprint. And a four-day sprint is not a sprint; that's ad hoc development with some buzzwords to make it sound as though a process is being adhered to.
null
0
1317230174
False
0
c2n9fd1
t3_ktxk5
null
t1_c2n9fd1
t1_c2n7uot
null
1427658708
2
t5_2fwo
null
null
null
True
innervision
null
Hah, not a bad idea, keeping a list of meanings. BTW, I hear you on focusing on the language rather than the name, but I've seen quite decent languages fall into oblivion because the name wasn't 'cool', or it was really cool, but in an obscure context (e.g. Nemerle, Oberon). Anyway, I promise I'll take a look at the language :)
null
0
1317230187
False
0
c2n9ffw
t3_kteac
null
t1_c2n9ffw
t1_c2n6y6q
null
1427658709
1
t5_2fwo
null
null
null
True
skelente
null
I agree, an accelerometer should suffice but I suppose being placed on a bed or soft surfaces could dilute the movement. And it could vary based on devices.
null
0
1317230247
False
0
c2n9fq8
t3_ku203
null
t1_c2n9fq8
t1_c2n982e
null
1427658713
1
t5_2fwo
null
null
null
True
CowboyProgrammer
null
That easy, huh? I wonder how many permutations you'd have to brute force through to get the puzzles.
null
0
1317230253
False
0
c2n9fr5
t3_ktyc9
null
t1_c2n9fr5
t1_c2n8waw
null
1427658713
1
t5_2fwo
null
null
null
True
ThunderMuff
null
Seems interesting and useful, I installed, but I wonder how long I'll be using it. Interesting features would be accessing a remote store, as well as key history.
null
0
1317230286
False
0
c2n9fxz
t3_ku73e
null
t1_c2n9fxz
t3_ku73e
null
1427658715
2
t5_2fwo
null
null
null
True
some_dev
null
In /r/programming? Inconceivable!
null
0
1317230297
False
0
c2n9fzp
t3_ktx2g
null
t1_c2n9fzp
t1_c2n7uni
null
1427658716
6
t5_2fwo
null
null
null
True
torvalder
null
Thats really good.
null
0
1317230316
False
0
c2n9g38
t3_kssyt
null
t1_c2n9g38
t1_c2mztzk
null
1427658717
1
t5_2fwo
null
null
null
True
axilmar
null
If it's on the same machine, why do you need the capture of one window and redisplay it? why don't you just open the two game windows or emulators?
null
0
1317230323
False
0
c2n9g4i
t3_ktv1z
null
t1_c2n9g4i
t1_c2n9eoi
null
1427658718
1
t5_2fwo
null
null
null
True
ThunderMuff
null
Just like dropbox basically "reinvented" rsync + git, I mean integrating existing software to make something easier is nothing to look down upon.
null
0
1317230359
False
0
c2n9gan
t3_ku73e
null
t1_c2n9gan
t1_c2n9caj
null
1427658721
4
t5_2fwo
null
null
null
True
abel3616
null
You seem to be one of the few who thinks improving the learning curve is a good idea. I think the attitude to leave the learning curve as steep as possible is a fault of the community who learned it the hard way.
null
0
1317230391
False
0
c2n9gh9
t3_ktenx
null
t1_c2n9gh9
t1_c2n5wwq
null
1427658722
2
t5_2fwo
null
null
null
True
mikehaggard
null
Thanks, but no thanks
null
0
1317230482
False
0
c2n9gy4
t3_ku2z1
null
t1_c2n9gy4
t3_ku2z1
null
1427658728
-1
t5_2fwo
null
null
null
True
cosmo7
null
<tr><td> **W h a t ?** </td></tr>
null
0
1317230514
False
0
c2n9h4h
t3_ktxk5
null
t1_c2n9h4h
t1_c2n76qv
null
1427658731
1
t5_2fwo
null
null
null
True
day_cq
null
today at scrum estimation and planning, I rejected. then they argued with me: developers and managers. so, i accepted with the premise that we will not close this sprint just like we have not been able to 100% of the time since we implemented scrum 2 years ago. you should always try to change the process if you think it's wrong. in the end, you are the developer and it's your workplace. Make a dent before you leave. If everyone does the same, programming field will be a better place to work in.
null
0
1317230529
False
0
c2n9h7c
t3_ktxk5
null
t1_c2n9h7c
t1_c2n9415
null
1427658732
3
t5_2fwo
null
null
null
True
Mechakoopa
null
I though the solution to that was just wait on async if you really need something to be synchronous.
null
0
1317230537
False
0
c2n9h8t
t3_ktv1z
null
t1_c2n9h8t
t1_c2n9cve
null
1427658732
1
t5_2fwo
null
null
null
True
Shorel
null
Not relevant to this vim tutorial site, but relevant in the general sense: Smartphones are not from the 90's.
null
0
1317230598
False
0
c2n9hjy
t3_ktenx
null
t1_c2n9hjy
t1_c2n8492
null
1427658736
1
t5_2fwo
null
null
null
True
opcow
null
I reckon^ing
null
0
1317230600
False
0
c2n9hkb
t3_ku203
null
t1_c2n9hkb
t1_c2n99dg
null
1427658736
1
t5_2fwo
null
null
null
True
pnpbios
null
I would say about 9* (9!) , so 3,265,920
null
0
1317230655
False
0
c2n9hva
t3_ktyc9
null
t1_c2n9hva
t1_c2n9fr5
null
1427658740
4
t5_2fwo
null
null
null
True
CowboyProgrammer
null
Well, do it already! At least you'd put something original out there.
null
0
1317230728
False
0
c2n9i8k
t3_ktyc9
null
t1_c2n9i8k
t1_c2n9hva
null
1427658745
-2
t5_2fwo
null
null
null
True
[deleted]
null
Okay, I thought so. But this through me for a loop "it was a purely software-rendered game." You could generally tell when a game was software rendered, not just from performance but also visual differences. Like they didn't usually have bilinear filtering for textures. That's why I was so astounded to read that, because I must have played it on hardware.
null
0
1317230730
False
0
c2n9i8z
t3_ktd67
null
t1_c2n9i8z
t1_c2n64uk
null
1427658745
1
t5_2fwo
null
null
null
True
Shorel
null
I do that in Editplus thanks.
null
0
1317230766
False
0
c2n9igb
t3_ktenx
null
t1_c2n9igb
t1_c2n88qh
null
1427658748
1
t5_2fwo
null
null
null
True
torvalder
null
Why are you, sir, not a teacher?
null
0
1317230795
False
0
c2n9im4
t3_kssyt
null
t1_c2n9im4
t1_c2n2evk
null
1427658750
1
t5_2fwo
null
null
null
True
[deleted]
null
there's one main use-case i have thought of so far: you have some consumable event. so, the observers are notified in order, so if they're filtering out consumed events, it will prevent a low priority observer from seeing the event after a higher priority one consumes it. this is how i'm handling mouse input in a game i'm writing. so, there's a form of coupling, but it's pretty well defined. there are possibly other cases where you would want to mutate the event and turn other listeners down the line on or off. i can't think of any specific (non-horrible) ones besides consumable events, though.
null
0
1317230816
False
0
c2n9ipk
t3_ku3ph
null
t1_c2n9ipk
t1_c2n95cc
null
1427658751
1
t5_2fwo
null
null
null
True
super__mario
null
I don't think VIM documentation is meant to be used as a tutorial. But once you learn the basics elsewhere, you will come to appreciate the comprehensiveness of the docs, the ability to easily search the docs etc. The docs are amazing actually. Every serious VIM user should read the whole thing at least once (it will take a week or two of reading). That said, there are a bunch of free books about VIM, and [VIM Book](ftp://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf) is a good starting introduction to VIM.
null
0
1317230852
False
0
c2n9ivo
t3_ktenx
null
t1_c2n9ivo
t1_c2n431i
null
1427658753
2
t5_2fwo
null
null
null
True
[deleted]
null
Nah. With the exception of a very few highly prestigeous studios that are impossible to get in to (like Valve), the games industry sucks. You work twice as much and get paid half as much as anywhere else. People burn out too fast. I heard a rumor that LucasArts fires most junior devs every year and brings in a new wave to replace them. Doesn't surprise me at all. I decided it was best left as a hobby.
null
0
1317230877
False
0
c2n9j0c
t3_ktd67
null
t1_c2n9j0c
t1_c2n680d
null
1427658755
7
t5_2fwo
null
null
null
True
[deleted]
null
Did you frequent massassi.net?
null
0
1317230905
False
0
c2n9j5q
t3_ktd67
null
t1_c2n9j5q
t1_c2n7zyy
null
1427658757
1
t5_2fwo
null
null
null
True
pnpbios
null
http://davidbau.com/downloads/sudoku.py already done
null
0
1317230907
False
0
c2n9j69
t3_ktyc9
null
t1_c2n9j69
t1_c2n9i8k
null
1427658757
4
t5_2fwo
null
null
null
True
[deleted]
null
lol stfu javaboi
null
0
1317230923
False
0
c2n9j99
t3_kteac
null
t1_c2n9j99
t1_c2n7846
null
1427658758
-2
t5_2fwo
null
null
null
True
super__mario
null
Yeah, I don't want my sexual fantasies in my code comments, thanks.
null
0
1317230948
False
0
c2n9jee
t3_ktenx
null
t1_c2n9jee
t1_c2n36ud
null
1427658760
3
t5_2fwo
null
null
null
True
stackolee
null
Agile is great for describing a typical software development practice to middle management. I don't know what business students learn in school, but the intricacies of software development are completely foreign to the lot of them. These are tough concepts for any new manager to grasp: all development introduces bugs and all projects will need additional work out of the original scope. Agile, like every software development strategy is as perfect on paper as its peers. Just like any of them you could say "if implemented properly they'd work fine". I've seen the process introduce a number of additional issues of its own: * Micromanagement: Agile is an invitation to get constant feedback from people with the ability to increase scope. This can lead to feature creep, it can also invite development decisions from people who really should be out of that end of the process. Have you ever found yourself describing progress in terms of load balancers, virtual memory, data abstraction, etc and see the eyes of the business-trained PM gloss over? Then they try to make a suggestion to save face? Yeah, I don't like putting them in that position on a daily basis. * In non-Agile environments I can more easily say "this piece of code is not working, I'm going to put it to the side and work on something else". We're all human, sometimes we need a break from tough problems. Sprints are linear in nature, and skipping one for another is more hassle than its worth. * Everyone's on the team. I've had to suffer through months worth of daily scrums for projects I was only tangentially connected to. Where my part was due 60 days in and consisted of a simple deliverable.
null
0
1317230964
False
0
c2n9jh9
t3_ktxk5
null
t1_c2n9jh9
t3_ktxk5
null
1427658761
3
t5_2fwo
null
null
null
True
logomancer
null
So, was the song in question "Non, Je Ne Regrette Rien"?
null
0
1317230990
False
0
c2n9jly
t3_ku203
null
t1_c2n9jly
t3_ku203
null
1427658764
15
t5_2fwo
null
null
null
True
[deleted]
null
Why not replace the breaks with gotos and use 1 label? 1 less indent and no "do".
null
0
1317231022
False
0
c2n9js8
t3_ku8tl
null
t1_c2n9js8
t3_ku8tl
null
1427658766
2
t5_2fwo
null
null
null
True
vesto
null
Something I was actually thinking about earlier. For a remote store would you like to have something like a central server that you could share with your friends, just something to share between your machines, or both?
null
0
1317231025
False
0
c2n9jsp
t3_ku73e
null
t1_c2n9jsp
t1_c2n9fxz
null
1427658766
3
t5_2fwo
null
null
null
True
FISArocks
null
Andy?
null
0
1317231029
False
0
c2n9jtn
t3_ku203
null
t1_c2n9jtn
t3_ku203
null
1427658766
2
t5_2fwo
null
null
null
True
3waymerge
null
Because they are like eating ice cream at 60 miles per hour.
null
0
1317231052
False
0
c2n9jxn
t3_ktv1z
null
t1_c2n9jxn
t1_c2n8ygt
null
1427658767
7
t5_2fwo
null
null
null
True
pnpbios
null
Final output should look something like this http://4.bp.blogspot.com/-6NthNQb6eY0/Tmvf1DyceNI/AAAAAAAAAkw/Q9mNgOHTdSg/s1600/chinmusic+demo.png I got this working in an afternoon on windows using the technique I described. > why don't you just open the two game windows or emulators? because I want to be able to manipulate the final output.
null
0
1317231068
False
0
c2n9k0t
t3_ktv1z
null
t1_c2n9k0t
t1_c2n9g4i
null
1427658769
1
t5_2fwo
null
null
null
True
zulelord
null
I am too comfortable with my punch cards... vim just seems to advanced for my work.
null
0
1317231104
False
0
c2n9k8h
t3_ktenx
null
t1_c2n9k8h
t3_ktenx
null
1427658772
1
t5_2fwo
null
null
null
True
yb1337
null
Also, [good site for lucid dreaming tips and forum](http://www.dreamviews.com/content/). I started with the lucid dream stuff this summer and I've had two so far. Pretty neat stuff! I ruined my sleep schedule when school started though, no more lucids since then...
null
0
1317231107
False
0
c2n9k8r
t3_ku203
null
t1_c2n9k8r
t1_c2n850z
null
1427658772
3
t5_2fwo
null
null
null
True
ulber
null
This. With an over optimistic prior it could even make sense to choose a merchant with a worse average but less reviews (the one that crushes your optimism less). So the prior is key here. His choice of prior isn't horrible though, so the advice probably stands.
null
0
1317231111
False
0
c2n9k9m
t3_ktx2g
null
t1_c2n9k9m
t1_c2n89xt
null
1427658772
5
t5_2fwo
null
null
null
True
yellowjacketcoder
null
Oh, I agree that is how it should be, and if it's done that way it will work fine. The issue is when management decides it needs more things than there are capacity for next week come hell or high water and decides to override developer objections to put it in the sprint. I realize the counterpoint is "but that's not agile!" and while true, it misses the point that bad managers don't become good managers just by adopting agile.
null
0
1317231128
False
0
c2n9kd1
t3_ktxk5
null
t1_c2n9kd1
t1_c2n9agd
null
1427658773
5
t5_2fwo
null
null
null
True
meritt_zare
null
This is like a poor man's goto when exception handling is the most appropriate solution here.
null
0
1317231145
False
0
c2n9kg8
t3_ku8tl
null
t1_c2n9kg8
t3_ku8tl
null
1427658774
3
t5_2fwo
null
null
null
True
[deleted]
null
On my own time I code for enjoyment. It's more fun to solve my own puzzles. For me anyway, I get more pride in saying, "I built that!" instead of "I bought that!"
null
0
1317231223
True
0
c2n9kw9
t3_krklz
null
t1_c2n9kw9
t1_c2n7det
null
1427658779
2
t5_2fwo
null
null
null
True
cjhard
null
I didn't know the hands thing was a thing. For a while in high school I had tried to induce lucid dreaming using some methods I've heard of. The one time it happened was because I had overheard a friend of mine on the bus who knew had moved a month ago. I realized it was a dream but then I got excited. I was able to stay in the dream for a few short moments by rubbing my hands together and focusing on the feel of it, but then a loud thumping noise like a heart beat with a long delay woke me up.
null
0
1317231249
False
0
c2n9l1c
t3_ku203
null
t1_c2n9l1c
t1_c2n850z
null
1427658781
1
t5_2fwo
null
null
null
True
yellowjacketcoder
null
So, you started with an anecdote about how your process has been broken for 2 years and finish with saying everyone should try to make things better before they go? Seems like the lesson here should be "make it better or find another job". Programming jobs are easy to find even in this economy (location specific), so if your workplace isn't improving, leave.
null
0
1317231249
False
0
c2n9l1d
t3_ktxk5
null
t1_c2n9l1d
t1_c2n9h7c
null
1427658781
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1317231271
False
0
c2n9l5t
t3_ku73e
null
t1_c2n9l5t
t1_c2n9fxz
null
1427658783
5
t5_2fwo
null
null
null
True
adaminc
null
EEG
null
0
1317231274
False
0
c2n9l6e
t3_ku203
null
t1_c2n9l6e
t1_c2n81i6
null
1427658783
6
t5_2fwo
null
null
null
True
[deleted]
null
He's using a [lucid code halograph](http://lucid-code.com/Halographs/), presumably connected to his computer.
null
0
1317231278
False
0
c2n9l7e
t3_ku203
null
t1_c2n9l7e
t1_c2n7tk7
null
1427658783
20
t5_2fwo
null
null
null
True
nirs
null
Not usefull or trick :-) Much better option (assuming language whithout exception handling) would be something like: def validate(args): if some arg is missing: return False, "Description..." if some arg value is bad: return False, "Bad value for..." ... return True, None valid, desc = validate(args) if not valid: return error(desc) use the validated args...
null
0
1317231452
False
0
c2n9m60
t3_ku8tl
null
t1_c2n9m60
t3_ku8tl
null
1427658796
2
t5_2fwo
null
null
null
True
netcraft
null
I have created an algorithm to breed a solution to the travelling salesman problem. Ive been working on it for a while but I need to clean it up before showing anyone else and write it up (hopefully as well as this article).
null
0
1317231484
False
0
c2n9mbt
t3_ktg7o
null
t1_c2n9mbt
t3_ktg7o
null
1427658798
1
t5_2fwo
null
null
null
True
mommathecat
null
> key benefit to Agile is that it makes it quite clear that the project will fail very early on in the process If management doesn't want to hear that, they'll just ignore such information. *shrug*
null
0
1317231484
False
0
c2n9mbv
t3_ktxk5
null
t1_c2n9mbv
t1_c2n90dm
null
1427658798
6
t5_2fwo
null
null
null
True
super__mario
null
Agile is designed to extract value out of mediocre people working on well defined tasks that don't require much thinking, design or research.
null
0
1317231574
False
0
c2n9mtr
t3_ktxk5
null
t1_c2n9mtr
t3_ktxk5
null
1427658805
3
t5_2fwo
null
null
null
True
mage2k
null
While I've never taken the time to learn how to induce them, or have any real control over them happening or not, I have had lucid dreams from time to time over my life. In fact, they're how I got over childhood, monster-style nightmares. I seriously gave Freddy Krueger a solid ass kicking.
null
0
1317231632
False
0
c2n9n5d
t3_ku203
null
t1_c2n9n5d
t1_c2n850z
null
1427658809
2
t5_2fwo
null
null
null
True
smcameron
null
Yes, exactly, and that is the real WTF part, it makes no sense that every thread needs a freakin' "window".
null
0
1317231665
False
0
c2n9nc6
t3_ktv1z
null
t1_c2n9nc6
t1_c2n7rno
null
1427658812
0
t5_2fwo
null
null
null
True
SoCo_cpp
null
I remember playing a demo of this Theif game. It was pretty neat. The graphics were great for the time and worked well on poor preforming hardware. I remember mostly the game play was unique for it's time. The AI gave unique depth and your attention to the type of surface you were walking on producing noise, and whether you were hiding in the shadows or not, to sneak around, was quite unique for its time.
null
0
1317231690
False
0
c2n9nhq
t3_ktd67
null
t1_c2n9nhq
t3_ktd67
null
1427658814
0
t5_2fwo
null
null
null
True
smcameron
null
No kidding. Other OSes don't require those threads to have an "invisible window" though. WTF, windows.
null
0
1317231757
False
0
c2n9nsq
t3_ktv1z
null
t1_c2n9nsq
t1_c2n7qbh
null
1427658819
-2
t5_2fwo
null
null
null
True
mommathecat
null
Good one. When I quit my last job, in June 2010, the CTO confidently told me that "well, we're going to ship something this year". They shipped in July 2011, and the product hasn't made a single, solitary dime. Maybe, I'm not the problem. You, on other hand, sound like the kind of complete fucking asshole that is definitely ready for management at my old employer.
null
0
1317231769
False
0
c2n9nuz
t3_ktxk5
null
t1_c2n9nuz
t1_c2n9a7s
null
1427658819
5
t5_2fwo
null
null
null
True
[deleted]
null
[What is this contract!?](http://i.imgur.com/j6dZ0.png)
null
0
1317231771
False
0
c2n9nvk
t3_ku203
null
t1_c2n9nvk
t3_ku203
null
1427658819
136
t5_2fwo
null
null
null
True
[deleted]
null
No. 1 rule when using Windows API: Read the god damn Remarks section in the documentation. Those are not remarks. They are more like things you'd better pay attention to or shit will blow up.
null
0
1317231829
False
0
c2n9o5f
t3_ktv1z
null
t1_c2n9o5f
t3_ktv1z
null
1427658824
8
t5_2fwo
null
null
null
True
epdtry
null
This sort of thing would be better asked on [r/haskell](http://reddit.com/r/haskell), but I'll answer anyway. The basic issue is that Haskell doesn't have a way to make something operate on tuples of arbitrary size. So you can (as done in this code) provide code for tuples of size 2, tuples of size 3, ..., and tuples of size 10, but you can't provide a single implementation that will work on any tuple regardless of its size.
null
0
1317231838
False
0
c2n9o73
t3_ktxzn
null
t1_c2n9o73
t1_c2n957i
null
1427658824
7
t5_2fwo
null
null
null
True
mage2k
null
Exactly what I was thinking. All that "trick" is doing is putting the validations in a code block so that you have a simple exit via break. I think a function/method is much more clear.
null
0
1317231865
False
0
c2n9ocb
t3_ku8tl
null
t1_c2n9ocb
t1_c2n9m60
null
1427658826
2
t5_2fwo
null
null
null
True
CowboyProgrammer
null
See, that's what I'm talkin' about.
null
0
1317231940
False
0
c2n9oqm
t3_ktyc9
null
t1_c2n9oqm
t1_c2n9j69
null
1427658830
-2
t5_2fwo
null
null
null
True
elperroborrachotoo
null
> Can you name a use-case where it makes any sense to tell a window it is being destroyed without actually destroying it? That's not how the Window Manager API works. You have a HWND for the window object. And you can send it messages. Some messages make the window do something. Some messages notify the window of certain events. Some messages have a meaning for every window. Others are meaningful only for certain types. To create a new window class, you define some messages and a function that processes them. This API allows to send you "give me the selected listbox item" to an edit control. Of course, the result will be meaningless at best. You just don't do that. Could I come up with a better API? For sure. Running on an [8088 with 384K RAM](http://en.wikipedia.org/wiki/Windows_3.0#System_requirements)? Maybe. Would it have weathered over two decades? I don't know. ---- > Again, if an application is broken by this change, it should be added the compatibility list and the developer contacted about the issue, if possible. "Old" Windows has long taken the stance that if you punish incompatible programs, you are not punishing developers, you are punishing users. They will blame Windows for no longer running their favorite Bannermaker. The product may be discontinued, the company not interested in maintenance. ----- > the purpose of an operating system is to manage the system resources fairly amongst the running applications [Nonpreemptive multitasking](http://en.wikipedia.org/wiki/Nonpreemptive_multitasking) ---- Around that time, there were quite some alternatives, many superior in architecture. How many survived? Microsoft has made a lot of sacrifices for backwards compatibility, in my understanding, this has paid off.
null
0
1317232015
False
0
c2n9p4p
t3_ktv1z
null
t1_c2n9p4p
t1_c2n8ma1
null
1427658836
3
t5_2fwo
null
null
null
True
JonTalbain
null
10.times{|i| puts '*' * (i+1)} ;)
null
0
1317232045
False
0
c2n9pai
t3_ku2z1
null
t1_c2n9pai
t1_c2n82kf
null
1427658837
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1317232140
False
0
c2n9psn
t3_ku203
null
t1_c2n9psn
t3_ku203
null
1427658844
1
t5_2fwo
null
null
null
True
shaggs430
null
The do { } while(0); is less clear than: goto error; while semantically the same. Don't be afraid of goto, it is actually useful in C for error handling.
null
0
1317232197
False
0
c2n9q3e
t3_ku8tl
null
t1_c2n9q3e
t3_ku8tl
null
1427658849
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1317232241
False
0
c2n9qcy
t3_ku203
null
t1_c2n9qcy
t1_c2n8rix
null
1427658851
3
t5_2fwo
null
null
null
True
nascent
null
> C++ offers a clearer and simpler way to do the same thing. As I can give evidence to my differing opinion, I can't argue this. > The slicing problem does not exist anywhere in real code, simply because value types are passed by reference in C++. This may be true, but your non-real world example MyDialog is prone to slice its Button, which maybe you want, but probably not the one using your library. Which goes back to needing upfront knowledge of how the type is going to be used. > Perhaps you know better I don't know better, but it is something every language designer tries to avoid.
null
0
1317232266
False
0
c2n9qhw
t3_kljc0
null
t1_c2n9qhw
t1_c2n75h2
null
1427658853
1
t5_2fwo
null
null
null
True
gospelwut
null
I'm not a C/C++ programmer, but handling async is really easy with C#. I *hear* it can be a bit more complicated with C++, but I'm sure the .NET framework makes it easier(?).
null
0
1317232302
False
0
c2n9qor
t3_ktv1z
null
t1_c2n9qor
t1_c2n9h8t
null
1427658855
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1317232307
False
0
c2n9qpn
t3_ku203
null
t1_c2n9qpn
t1_c2n8wp3
null
1427658856
1
t5_2fwo
null
null
null
True
Trospar
null
> You have a Sprint which is a short-ish time period, typically > two-three weeks, and you have Story Points assigned to each > Story based on complexity, which are specifically not time-based > estimates. You have a Capacity, based on your Velocity, which says > how many Story Points you have historically completed per Sprint, > and thus how many you expect to complete in the next one. I do agile but I have never been able to find another reference other than time that works for story points. Time is a concept that everyone understands and can wrap their heads around. If you have a static team that nobody ever goes on vacation or gets pulled off to do other work then you could say that the team does x story points per sprint. I have never had a sprint work perfectly like that so story points vary each sprint.
null
0
1317232311
False
0
c2n9qqi
t3_ktxk5
null
t1_c2n9qqi
t3_ktxk5
null
1427658856
1
t5_2fwo
null
null
null
True
day_cq
null
no, please make a dent before leaving. we can do it.
null
0
1317232317
False
0
c2n9qrq
t3_ktxk5
null
t1_c2n9qrq
t1_c2n9l1d
null
1427658857
4
t5_2fwo
null
null
null
True
dogweather
null
Did anyone else read that and think, "Wait, if it detected an REM song, then it's already playing a song!?"
null
0
1317232390
False
0
c2n9r5r
t3_ku203
null
t1_c2n9r5r
t3_ku203
null
1427658862
0
t5_2fwo
null
null
null
True
BlackRage
null
What a hack piece of shit.
null
0
1317232422
False
0
c2n9rbl
t3_ku203
null
t1_c2n9rbl
t1_c2n9l7e
null
1427658864
25
t5_2fwo
null
null
null
True
[deleted]
null
No, your choice of workplace is poor. My team has rejected several sprints, or accepted sprints with a very, very low confidence (like when the whole team is on a multi-sprint epic). When managers treat employees like that, it's a management problem, not a process problem.
null
0
1317232435
False
0
c2n9re2
t3_ktxk5
null
t1_c2n9re2
t1_c2n9415
null
1427658865
4
t5_2fwo
null
null
null
True
[deleted]
null
funny enough, it was! http://lsdbase.wordpress.com/anthems/
null
0
1317232457
False
0
c2n9riv
t3_ku203
null
t1_c2n9riv
t1_c2n9jly
null
1427658866
8
t5_2fwo
null
null
null