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
|
redweasel
| null |
You kids. A real programmer uses the built-in font on his serial terminal--and *likes* it!
| null |
0
|
1317309833
|
False
|
0
|
c2nihgb
|
t3_kuti3
| null |
t1_c2nihgb
|
t3_kuti3
| null |
1427663103
|
5
|
t5_2fwo
| null | null | null |
True
|
ericlippert
| null |
Mallory must also intercept Alice's message to Bob *and replace it*, the same way she interrupted the public key exchanges. Suppose Mallory has intercepted Bob's public key en route to Alice, and replaced it with Mallory's public key. Alice encrypts a message with Mallory's public key (believing it to be Bob's public key) and Alice's private key. Alice sends the message to Bob over the insecure channel. Mallory intercepts the message and decrypts it with her private key and Alice's public key. Now Mallory has both the original plaintext and the original plaintext encrypted with Alice's private key. Mallory re-encrypts the plaintext that was encrypted with Alice's private key with Bob's real public key and sends it on to Bob. Bob now has a message which he knows was from Alice, but which has been read by Mallory. The attack depends on Mallory being "the man in the middle" who can intercept and replace messages.
| null |
0
|
1317309916
|
True
|
0
|
c2nihwl
|
t3_kuicc
| null |
t1_c2nihwl
|
t1_c2nhrdq
| null |
1427663108
|
1
|
t5_2fwo
| null | null | null |
True
|
Gnapstar
| null |
There are even errors in his example (the code), or well.. I assume thats not really what he wants to do.
| null |
0
|
1317310050
|
False
|
0
|
c2niin3
|
t3_kuti3
| null |
t1_c2niin3
|
t1_c2ngms6
| null |
1427663117
|
1
|
t5_2fwo
| null | null | null |
True
|
ericlippert
| null |
If you got the kinds of questions that I get about crypto, you'd probably reconsider your opinion that this basic fact is "common knowledge". Many people, even technically smart people who are expert programmers in their business domain, have magical ideas about crypto.
Moreover, the basic point of the article is that key generation, storage and distribution is the hard part of any design that uses crypto to solve a real problem; the math is actually the easy part. (And that is hard enough to get right.)
| null |
0
|
1317310134
|
True
|
0
|
c2nij43
|
t3_kuicc
| null |
t1_c2nij43
|
t1_c2ne3a1
| null |
1427663124
|
2
|
t5_2fwo
| null | null | null |
True
|
zsxawerdu
| null |
Scrum is for developers that can't write and design systems, so they use this backward arse crap.
I haven't meet a scrum developer / master that producing anything worth pissing on.
| null |
0
|
1317310165
|
False
|
0
|
c2nijb3
|
t3_ktxk5
| null |
t1_c2nijb3
|
t3_ktxk5
| null |
1427663126
|
-3
|
t5_2fwo
| null | null | null |
True
|
mao_neko
| null |
[Kitty Agrees!](http://www.ohesso.com/essays/essay006.htm)
| null |
0
|
1317310166
|
False
|
0
|
c2nijb6
|
t3_ku203
| null |
t1_c2nijb6
|
t1_c2n9nvk
| null |
1427663126
|
1
|
t5_2fwo
| null | null | null |
True
|
poorly_played
| null |
Really nice when you wanna go small. The only problem when you're down at 7 point (which is about the size of 5 for a lot of other fonts) is that the numbers start getting hard to tell apart. Off the top of my head, really only the g, the 5, the 6, and maybe 0 collide much. If you're just reading text it's not so much a big deal, but programming like that doesn't work well, so just move it up to 8 point which comes out to roughly 320 characters/line on a 21 inch screen. Hehe, 320 chars is almost enough to fit the first three quarters of the longest line of php I've ever come across in the wild.
| null |
0
|
1317310205
|
False
|
0
|
c2nijj3
|
t3_kuti3
| null |
t1_c2nijj3
|
t1_c2nel70
| null |
1427663129
|
2
|
t5_2fwo
| null | null | null |
True
|
aristotle2600
| null |
Epic film failures off the top of my head:
* Glitter
* Waterworld
* Gigli
| null |
0
|
1317310254
|
False
|
0
|
c2nijt4
|
t3_kvarj
| null |
t1_c2nijt4
|
t3_kvarj
| null |
1427663132
|
3
|
t5_2fwo
| null | null | null |
True
|
nicasucio
| null |
Thanks for your help, but it seems that you only know about the IT world and as you probably know, IT is not the only field recruiting H1B candidates. Thanks for trying to help though. 8)
| null |
0
|
1317310307
|
False
|
0
|
c2nik48
|
t3_kuye2
| null |
t1_c2nik48
|
t1_c2ngxy5
| null |
1427663136
|
1
|
t5_2fwo
| null | null | null |
True
|
skeeto
| null |
Emacs has themes, which you can load and select. It hasn't been ugly for years now. [I use wombat](http://i.imgur.com/Yd9sI.png) as my theme, which comes with Emacs.
| null |
0
|
1317310450
|
False
|
0
|
c2nikwl
|
t3_kuti3
| null |
t1_c2nikwl
|
t1_c2nh8dt
| null |
1427663148
|
2
|
t5_2fwo
| null | null | null |
True
|
quietboil
| null |
You are missing an important factor - qualification. It is understandable as it is not present in the official description of what a prevailing wage is. However it **is** a factor. Take for instance carpenters in [WA](http://www.lni.wa.gov/TradesLicensing/PrevWage/WageRates/default.asp). Yakima CITC rate for an apprentice depends on step and varies between $17.83 (step 1) to $28.23 (step 8). Journeyman wage is $29.72.
Now, how is this relevant? If a job requires certain skills, knowledge and experience that demands, let's say, a senior level specialist, but the company advertises that they view it as a junior level position, then unless a potential applicant is truly desperate he or she may not even apply. Henceforth comes the "shortage".
Why would an H1B applicant with required skills agree to a lower (by fact, not by law) pay? There might be many reasons - he/she does not really intend to stay here, and view this period as an opportunity to advance some other goals - see the world, get US experience, etc. There is no cultural background to estimate what they are getting into and the promised number appears as a big leap from the wages of their homeland. They know (by this time and in this - Internet - age) what they are getting, but they bite the bullet because they have a goal in mind and H1B is just a stepping stone. And so on...
| null |
0
|
1317310457
|
False
|
0
|
c2nikxv
|
t3_kuye2
| null |
t1_c2nikxv
|
t1_c2nhcrl
| null |
1427663148
|
2
|
t5_2fwo
| null | null | null |
True
|
neitz
| null |
What is the advantage of using a tuple over say a list in this situation? It seems this is all rather pointless. To me, the entire reason for using a Tuple is saying "I want to return a specific number of values from the function".
| null |
0
|
1317310483
|
False
|
0
|
c2nil32
|
t3_ktxzn
| null |
t1_c2nil32
|
t1_c2ngsem
| null |
1427663149
|
1
|
t5_2fwo
| null | null | null |
True
|
Solomaxwell6
| null |
It's just a way of modeling another form of fitness. A quadruped using its head as a leg is an undesirable trait. Having the calculated fitness take that into account is fine.
| null |
0
|
1317310493
|
False
|
0
|
c2nil4t
|
t3_kucjn
| null |
t1_c2nil4t
|
t1_c2ngyjh
| null |
1427663150
|
1
|
t5_2fwo
| null | null | null |
True
|
mao_neko
| null |
Ah, being a gamer and being able to draw on that while dreaming is fun. I haven't needed it when I'm fully lucid, but for those dreams where I'm not, I've noticed I can sometimes draw on abilities from computer games and characters I've played. I've used portals to escape, I've used WoW-druid abilities, I even remember coming up against some sort of barricade and thinking to myself "oh, I'll just change my coordinates to get past" and bam. Lots of fun.
| null |
0
|
1317310520
|
False
|
0
|
c2nilak
|
t3_ku203
| null |
t1_c2nilak
|
t1_c2nb29o
| null |
1427663153
|
1
|
t5_2fwo
| null | null | null |
True
|
peawee
| null |
Consolas?
| null |
0
|
1317310637
|
False
|
0
|
c2nilyz
|
t3_kuti3
| null |
t1_c2nilyz
|
t1_c2nhzdw
| null |
1427663161
|
3
|
t5_2fwo
| null | null | null |
True
|
kristovaher
| null |
Agreed. That snippet is from FCKEditor source code however, so I am not to blame!
| null |
0
|
1317310656
|
False
|
0
|
c2nim2t
|
t3_kuti3
| null |
t1_c2nim2t
|
t1_c2ni6vu
| null |
1427663235
|
7
|
t5_2fwo
| null | null | null |
True
|
notfancy
| null |
My point is that I find pretty obvious that OCaml is no more unsuitable than C for new developments, with the caveat that it is completely inappropriate for anything other than a console-based Unix-like environment.
| null |
0
|
1317310716
|
False
|
0
|
c2nimf0
|
t3_kuhn3
| null |
t1_c2nimf0
|
t1_c2nichz
| null |
1427663239
|
2
|
t5_2fwo
| null | null | null |
True
|
mortanian
| null |
for sure. perl or python comes in handy for me more often than not. the trouble i have is i will write a whole bash script mess on the commandline, then save it into a /usr/local/bin/script.sh with the intention of "fixing it later", and never do. then i can't figure out what it did in the first place...
| null |
0
|
1317310772
|
False
|
0
|
c2nimqp
|
t3_ku8az
| null |
t1_c2nimqp
|
t1_c2ne7l2
| null |
1427663243
|
-1
|
t5_2fwo
| null | null | null |
True
|
mao_neko
| null |
I don't recall ever seeing a mirror in my dreams, but for me, books and computers are the most noticably wrong aspects of the dream. Books don't read quite right, I know there's text there but I can't read it. Computers in my dream are hilarious, as they all seem to be a chunky DOS-era command line interface if they work at all. I suspect my mind can't simulate anything more complex than that.
| null |
0
|
1317310820
|
False
|
0
|
c2nin1h
|
t3_ku203
| null |
t1_c2nin1h
|
t1_c2nefjd
| null |
1427663246
|
1
|
t5_2fwo
| null | null | null |
True
|
twanvl
| null |
This article is focused on the asymptotic complexity, which is governed by the choice of algorithm.
With low level optimizations you can also make an implementation more efficient. IMO such optimizations are easier to do in C++ than in Haskell, especially for code that mostly involves loops over dense arrays.
| null |
0
|
1317310822
|
False
|
0
|
c2nin25
|
t3_kv3ww
| null |
t1_c2nin25
|
t1_c2nifhd
| null |
1427663246
|
9
|
t5_2fwo
| null | null | null |
True
|
byron
| null |
>I'm interested in seeing how this works as a classifier. For this, it needs to work with n-dimensional points, not just 2-d or 3-d points. Bonus if I can define my own distance functions.
You can just use the n-dimensional Euclidean distance. It's pretty easy to define your own distance functions. You can even get fancy and [kernelize it](http://www.meta-net.eu/meta-research/training/.../knn-kernels-margin.pdf).
It's trivial to implement k-nn, and it performs reasonably well given enough data (depending on the task, obviously). It is sensitive to the nn parameter though.
| null |
0
|
1317310940
|
False
|
0
|
c2ninpb
|
t3_kuxxa
| null |
t1_c2ninpb
|
t1_c2nhm1t
| null |
1427663255
|
1
|
t5_2fwo
| null | null | null |
True
|
[deleted]
| null |
[deleted]
| null |
0
|
1317310940
|
False
|
0
|
c2ninpm
|
t3_kv8db
| null |
t1_c2ninpm
|
t3_kv8db
| null |
1427663255
|
3
|
t5_2fwo
| null | null | null |
True
|
jessta
| null |
A man in the middle attack works by intercepting all traffic.
Mallory decrypts what is received from Alice and re-encrypts it to send it on to Bob.
| null |
0
|
1317310967
|
False
|
0
|
c2ninvb
|
t3_kuicc
| null |
t1_c2ninvb
|
t1_c2nhrdq
| null |
1427663258
|
2
|
t5_2fwo
| null | null | null |
True
|
ttsiodras
| null |
Agreed. Also, in my company, we use ANTLR to generate parsers - and currently, the only way to use them and write in an excellent, consice language, is F# (ANTLR targets only C# and Java - Python too, but at toy-level).
| null |
0
|
1317311001
|
False
|
0
|
c2nio2k
|
t3_kuhn3
| null |
t1_c2nio2k
|
t1_c2neqi2
| null |
1427663261
|
1
|
t5_2fwo
| null | null | null |
True
|
ttsiodras
| null |
Doing my part: an [article](http://www.reddit.com/r/programming/comments/imfqd/ai_playing_score4_in_functional_and_imperative/) I sent to Reddit 2 months ago.
| null |
0
|
1317311086
|
False
|
0
|
c2niok1
|
t3_kuhn3
| null |
t1_c2niok1
|
t1_c2nfbci
| null |
1427663267
|
3
|
t5_2fwo
| null | null | null |
True
|
[deleted]
| null |
Good one
| null |
0
|
1317311123
|
False
|
0
|
c2niord
|
t3_kuti3
| null |
t1_c2niord
|
t3_kuti3
| null |
1427663271
|
1
|
t5_2fwo
| null | null | null |
True
|
ttsiodras
| null |
Not in F#, though.
| null |
0
|
1317311252
|
False
|
0
|
c2niphd
|
t3_kuhn3
| null |
t1_c2niphd
|
t1_c2nh36m
| null |
1427663280
|
1
|
t5_2fwo
| null | null | null |
True
|
[deleted]
| null |
This is the sort of work I enjoy. Especially working with code from juniors. Taking their idea and making it into something else it could be and then giving it them back.
| null |
0
|
1317311285
|
False
|
0
|
c2nipnz
|
t3_kursf
| null |
t1_c2nipnz
|
t3_kursf
| null |
1427663282
|
1
|
t5_2fwo
| null | null | null |
True
|
jessta
| null |
The think the point was that security is only as safe as your method of key exchange. The most common key exchange is currently between root certificate authorities and some vague channel that gets it on to your computer. The security of this key exchange is mostly based on dis-interested third parties, I don't think most people realise that.
| null |
0
|
1317311354
|
False
|
0
|
c2niq1l
|
t3_kuicc
| null |
t1_c2niq1l
|
t1_c2ne3a1
| null |
1427663287
|
3
|
t5_2fwo
| null | null | null |
True
|
nascent
| null |
> in C++, you don't code a type with upfront knowledge of how the type is going to be used, which is solely the responsibility of the end user.
What it sounds like is that an API is created and the user is expected to use it correctly.
> It's actually a real world example. That's how MFC is programmed
I do not think MyDialog is a type in MFC, especially since you have two definitions for it. My point is, in order for MFC to allow derived Button types, everything accepting a Button must accept it by reference. If they do not wish to support derived Buttons, then they don't, but then you shouldn't create a custom Button.
| null |
0
|
1317311458
|
False
|
0
|
c2niqn4
|
t3_kljc0
| null |
t1_c2niqn4
|
t1_c2ngt6q
| null |
1427663294
|
1
|
t5_2fwo
| null | null | null |
True
|
mortanian
| null |
hm, Ajax isn't compatible with typical browsing conventions. it still beats CGI for a lot of stuff. a hammer isn't a bad tool, it just isn't a screwdriver. stop hammering in your screws. I think Ajax with REST works just fine for a lot of things, but I'll accept that it gets overused a bit (hashbang stuff).
| null |
0
|
1317311753
|
False
|
0
|
c2nisc4
|
t3_kv57g
| null |
t1_c2nisc4
|
t3_kv57g
| null |
1427663317
|
2
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
There is nothing special about it.
As long as you understand the different between "stuff I've done before" and "stuff I need to learn" and only give estimates for the former, it isn't hard at all.
| null |
0
|
1317311898
|
False
|
0
|
c2nit88
|
t3_ktxk5
| null |
t1_c2nit88
|
t1_c2nhv8m
| null |
1427663328
|
0
|
t5_2fwo
| null | null | null |
True
|
axilmar
| null |
> What it sounds like is that an API is created and the user is expected to use it correctly.
Like all other APIs.
> I do not think MyDialog is a type in MFC.
It's a custom dialog. Dialogs in MFC have value type controls embedded in them.
> My point is, in order for MFC to allow derived Button types, everything accepting a Button must accept it by reference.
Yes, but that does not limit you from using MyButton as a value type if you wish. You can go ahead and write a Button subclass (MyButton for example), and then do this:
class MyDialog : public CDialog {
public:
MyButton m_myButton;
};
| null |
0
|
1317311955
|
False
|
0
|
c2nitjw
|
t3_kljc0
| null |
t1_c2nitjw
|
t1_c2niqn4
| null |
1427663333
|
1
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
What do you do for a living?
Until recently I wrote business applications, and I've been doing so for nearly 15 years. If I couldn't accurately estimate tasks by now I would have put down the keyboard and gone back to digging ditches.
| null |
0
|
1317311993
|
False
|
0
|
c2nitr5
|
t3_ktxk5
| null |
t1_c2nitr5
|
t1_c2ndiu8
| null |
1427663335
|
-2
|
t5_2fwo
| null | null | null |
True
|
happyscrappy
| null |
Okay. I guess I never had an EB-3. Thanks for the info.
| null |
0
|
1317312005
|
False
|
0
|
c2nitt5
|
t3_kuye2
| null |
t1_c2nitt5
|
t1_c2ngznv
| null |
1427663336
|
1
|
t5_2fwo
| null | null | null |
True
|
kamatsu
| null |
Considered using [this](http://hackage.haskell.org/package/repa)? My supervisor is one of the main authors. Performance is actually pretty solid, and it's used for a lot of image processing stuff.
| null |
0
|
1317312074
|
False
|
0
|
c2niu82
|
t3_kv3ww
| null |
t1_c2niu82
|
t1_c2nin25
| null |
1427663342
|
1
|
t5_2fwo
| null | null | null |
True
|
StrawberryFrog
| null |
So you're saying that your estimates are always accurate, because for anything interesting, you refuse to estimate at all? That would be accurate, but devious and useless. So, especially special.
| null |
0
|
1317312131
|
False
|
0
|
c2niujb
|
t3_ktxk5
| null |
t1_c2niujb
|
t1_c2nit88
| null |
1427663345
|
4
|
t5_2fwo
| null | null | null |
True
|
yetanothernerd
| null |
I switched a team about that size from svn to git a couple of years ago.
I agree with the advice to encourage people to use git-svn first, to learn git without changing it for everyone. "git grep" is the most immediate benefit. One problem is that git-svn always rebases, and rebase sometimes breaks, so every couple of weeks I'd have to repair something. Another problem is that late adopters won't bother learning git-svn since svn still works.
When we eventually switched to 100% git there was some grumbling from the late adopters, and our build system needed changes since it could no longer rely on a nice steadily-incrementing revision number, but 100% git was cleaner than git-svn.
The worst advice in this post is to always rebase. Rebase sometimes breaks things. Merge commits are a small price to pay for reliability. It's okay if individuals want to rebase their own code before committing, but I think requiring it is short-sighted.
| null |
0
|
1317312419
|
True
|
0
|
c2niw4e
|
t3_kuit6
| null |
t1_c2niw4e
|
t3_kuit6
| null |
1427663365
|
2
|
t5_2fwo
| null | null | null |
True
|
pnpbios
| null |
Sweet. http://developer.ubuntu.com/2011/09/announcing-the-ubuntu-app-developer-site/ direct link to the announcement.
http://developer.ubuntu.com/get-started/
It looks like they want you to get started using pyGTK and use quickly, which seems pretty decent. It lets you tie directly into launchpad, which is very nice.
Seems like a good set of training wheels to get people started.
| null |
0
|
1317312491
|
False
|
0
|
c2niwja
|
t3_ku81g
| null |
t1_c2niwja
|
t3_ku81g
| null |
1427663372
|
2
|
t5_2fwo
| null | null | null |
True
|
sidcool1234
| null |
Not programming. Submit to /r/funny.
| null |
0
|
1317312491
|
False
|
0
|
c2niwjd
|
t3_kvcx6
| null |
t1_c2niwjd
|
t3_kvcx6
| null |
1427663372
|
1
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
I find that the solution to bad code is almost always found in removing stuff. Removing dead code, removing methods from the public interface, removing parameters and fields, etc. You may have to add a facade at some point, but not as the first step.
> Note I didn't say 100% test coverage, I said 100% coverage of how it is used.
I understand that. But given two blocks of code, one I understand and one I don't, I suggest rewriting the latter first.
| null |
0
|
1317312553
|
False
|
0
|
c2niww1
|
t3_ktg8c
| null |
t1_c2niww1
|
t1_c2nda8v
| null |
1427663376
|
1
|
t5_2fwo
| null | null | null |
True
|
Tetha
| null |
I think the most important change in your version is the addition of 4 parenthesis. That makes it a lot easier to process :)
| null |
0
|
1317312582
|
False
|
0
|
c2nix1j
|
t3_kv3ww
| null |
t1_c2nix1j
|
t1_c2nhp7u
| null |
1427663378
|
10
|
t5_2fwo
| null | null | null |
True
|
Tetha
| null |
Ah. That is fair enough then if I just cannot read this well because I don't know the idioms of haskell.
| null |
0
|
1317312650
|
False
|
0
|
c2nixdz
|
t3_kv3ww
| null |
t1_c2nixdz
|
t1_c2nignu
| null |
1427663383
|
3
|
t5_2fwo
| null | null | null |
True
|
nick_carraway
| null |
Hi Byron,
I'm getting a "We’re sorry, but that page doesn’t exist…" for your link. I'm guessing you meant this: http://www.meta-net.eu/meta-research/training/training-material/knn-kernels-margin.pdf/view
I should have been clearer in my post. I was wondering if *PostGIS* supports n-dimensional points and defining my own distance functions. I know knn is a decent classifier.
Thanks for the link!
| null |
0
|
1317312692
|
False
|
0
|
c2nixmu
|
t3_kuxxa
| null |
t1_c2nixmu
|
t1_c2ninpb
| null |
1427663387
|
1
|
t5_2fwo
| null | null | null |
True
|
Timmmmbob
| null |
Not really; I'm by no means a font expert. I tend to use whatever is on the system, e.g. DejaVu Sans:
http://imgur.com/GyUrN
You usually have to up the font size, and maybe tab size with proportional fonts. And it helps to have the white-space visualisation on (at least I think so anyway).
| null |
0
|
1317312831
|
False
|
0
|
c2niyd5
|
t3_kuti3
| null |
t1_c2niyd5
|
t1_c2ni8ka
| null |
1427663396
|
3
|
t5_2fwo
| null | null | null |
True
|
yorgle
| null |
GlassTTY is awesome too, for when you want the old-school coding feel.
http://sensi.org/~svo/glasstty/
For best results, use it on a black background with green, amber, or white foreground. ;)
| null |
0
|
1317312862
|
False
|
0
|
c2niyjv
|
t3_kuti3
| null |
t1_c2niyjv
|
t3_kuti3
| null |
1427663398
|
2
|
t5_2fwo
| null | null | null |
True
|
YourMatt
| null |
I think it works well. I started using it about 6 months ago, just for the lulz. I'm still using it though, and I like a lot of the attributes of it, specifically that there is clear definition between traditionally similar characters, like l and 1.
| null |
0
|
1317312930
|
False
|
0
|
c2niyvz
|
t3_kuti3
| null |
t1_c2niyvz
|
t1_c2nhpyp
| null |
1427663403
|
4
|
t5_2fwo
| null | null | null |
True
|
deafbybeheading
| null |
.ssh/config:
Host server1
User deafbybeheading
Hostname 127.0.0.1
| null |
0
|
1317312948
|
False
|
0
|
c2niyzk
|
t3_ku73e
| null |
t1_c2niyzk
|
t1_c2n9l5t
| null |
1427663404
|
3
|
t5_2fwo
| null | null | null |
True
|
[deleted]
| null |
[deleted]
| null |
0
|
1317313004
|
False
|
0
|
c2niz9u
|
t3_ku81g
| null |
t1_c2niz9u
|
t1_c2nadhp
| null |
1427663408
|
2
|
t5_2fwo
| null | null | null |
True
|
Tetha
| null |
I'm not sure if I would work with logical functions at all. My first thought about "Contains only true" would be "The set of all values in the rectangle is true". This would decouple the problem into two functions, getting the values in the rectangle and checking if true is in there.
| null |
0
|
1317313032
|
False
|
0
|
c2nizf3
|
t3_kv3ww
| null |
t1_c2nizf3
|
t1_c2ni43o
| null |
1427663410
|
1
|
t5_2fwo
| null | null | null |
True
|
yetanothernerd
| null |
I assumed the new name that he didn't like that much was Gigli.
| null |
0
|
1317313039
|
False
|
0
|
c2nizgl
|
t3_kvarj
| null |
t1_c2nizgl
|
t1_c2nijt4
| null |
1427663410
|
1
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
If by "traditional software time estimates" you mean...
* Dev: It will take six weeks
* Manager: That's too long, I'll tell the customer two weeks
then I would have to agree. But I don't see how changing it to story points help, since it usually isn't the developer's fault.
| null |
0
|
1317313104
|
False
|
0
|
c2nizto
|
t3_ktxk5
| null |
t1_c2nizto
|
t1_c2ngx6t
| null |
1427663414
|
1
|
t5_2fwo
| null | null | null |
True
|
krunk7
| null |
[Inconsolata](http://www.levien.com/type/myfonts/inconsolata.html) Is the most readable monospace I've ever run across.
| null |
0
|
1317313122
|
False
|
0
|
c2nizwo
|
t3_kuti3
| null |
t1_c2nizwo
|
t3_kuti3
| null |
1427663416
|
2
|
t5_2fwo
| null | null | null |
True
|
adavies42
| null |
> The lower bound of effort necessary to implement a feature is firm but presently unknown and probably larger than they'd like. The upper-bound is essentially infinite.
at my job we like to say that software project completion time is an [exponentially-distributed random variable](http://en.wikipedia.org/wiki/Exponential_distribution).
(this means that the standard deviation is equal to the mean, and that the estimate is memoryless. e.g., if we estimate 6 weeks, it's quite likely to take 12, and if you come back in 6 and ask us and it's not done, the estimate will be "6 weeks, and it's quite like to take 12, and if you come back...".)
to put it another way, this models software projects as things that don't progress towards completion, but just finish at random times.
| null |
0
|
1317313143
|
False
|
0
|
c2nj012
|
t3_ktxk5
| null |
t1_c2nj012
|
t1_c2na2aq
| null |
1427663417
|
2
|
t5_2fwo
| null | null | null |
True
|
jherod
| null |
I've found Scala code to be significantly less readable than OCaml, and Haskell slightly more readable. I've also found Scala to be much more tedious to write than OCaml and Haskell.
F# has some really cool features for better readability. The " |> " operator is probably my favorite. Instead of writing:
f (g (h (x)))
you can write functions in order of application :
x |> h |> g |> f
left to right natural goodness.
I don't know whether Haskell and OCaml have a similar syntactic features, if they do I haven't encountered them yet.
And record cloning is beautiful :
type MyRecord = { X: int; Y: int; Z: int }
let myRecord1 = { X = 1; Y = 2; Z = 3; }
let myRecord2 = { myRecord1 with Y = 100;}
| null |
0
|
1317313258
|
True
|
0
|
c2nj0oo
|
t3_kuhn3
| null |
t1_c2nj0oo
|
t1_c2ndsn0
| null |
1427663425
|
7
|
t5_2fwo
| null | null | null |
True
|
googletrickedme
| null |
in r/programming, it is supposed to be all about the code.
| null |
0
|
1317313302
|
False
|
0
|
c2nj0wy
|
t3_ktxk5
| null |
t1_c2nj0wy
|
t1_c2nertn
| null |
1427663428
|
1
|
t5_2fwo
| null | null | null |
True
|
andytuba
| null |
What about prancing baby goat videos?
| null |
0
|
1317313325
|
False
|
0
|
c2nj0zs
|
t3_kv3ww
| null |
t1_c2nj0zs
|
t1_c2ni2ch
| null |
1427663429
|
1
|
t5_2fwo
| null | null | null |
True
|
SmoothWD40
| null |
I loved Waterworld! It had just the right amount of post apocalyptic society and survival/improvisation under harsh circumstances.
| null |
0
|
1317313406
|
False
|
0
|
c2nj1jz
|
t3_kvarj
| null |
t1_c2nj1jz
|
t1_c2nijt4
| null |
1427663437
|
5
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
> So you're saying that your estimates are always accurate, because for anything interesting, you refuse to estimate at all?
Yep. But it isn't "devious", it is honest. I'm not going to lie and pretend that I know how long something is going to take when I don't.
As for being "useless", that really depends on your skill level and how much you pay attention. I'm not an HTML 5 developer so I won't estimate how long it takes for building web pages. But once I've done a few for a given site I see no reason why I can't estimate the rest.
| null |
0
|
1317313428
|
False
|
0
|
c2nj1lk
|
t3_ktxk5
| null |
t1_c2nj1lk
|
t1_c2niujb
| null |
1427663438
|
-1
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
> So you're saying that your estimates are always accurate, because for anything interesting, you refuse to estimate at all?
Yep. But it isn't "devious", it is honest. I'm not going to lie and pretend that I know how long something is going to take when I don't.
As for being "useless", that really depends on your skill level and how much you pay attention. I'm not an HTML 5 developer so I won't estimate how long it takes for building web pages. But once I've done a few for a given site I see no reason why I can't estimate the rest.
| null |
0
|
1317313432
|
False
|
0
|
c2nj1or
|
t3_ktxk5
| null |
t1_c2nj1or
|
t1_c2niujb
| null |
1427663439
|
-1
|
t5_2fwo
| null | null | null |
True
|
byron
| null |
Sorry -- I think I misunderstood!
| null |
0
|
1317313550
|
False
|
0
|
c2nj2d6
|
t3_kuxxa
| null |
t1_c2nj2d6
|
t1_c2nixmu
| null |
1427663449
|
1
|
t5_2fwo
| null | null | null |
True
|
nandemo
| null |
> Using all (==True) is a bit closer to the natural language "all pixels are foreground"
Personally I don't like this. If you don't like *and* then it's better to write isForeground and isBackground functions, then you can write *all isForeground*.
| null |
0
|
1317313633
|
True
|
0
|
c2nj2v4
|
t3_kv3ww
| null |
t1_c2nj2v4
|
t1_c2ni43o
| null |
1427663455
|
1
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
These are hardware patents, not software.
| null |
0
|
1317313643
|
False
|
0
|
c2nj2xs
|
t3_kv4hr
| null |
t1_c2nj2xs
|
t1_c2nhc91
| null |
1427663457
|
1
|
t5_2fwo
| null | null | null |
True
|
lvirgili
| null |
No, submit to [/r/programminglolz](http://www.reddit.com/r/programminglolz/)
| null |
0
|
1317313699
|
False
|
0
|
c2nj3az
|
t3_kvcx6
| null |
t1_c2nj3az
|
t1_c2niwjd
| null |
1427663460
|
2
|
t5_2fwo
| null | null | null |
True
|
paxcoder
| null |
I could go for some more, but generally I agree. Entertaining.
| null |
0
|
1317313717
|
False
|
0
|
c2nj3er
|
t3_kvarj
| null |
t1_c2nj3er
|
t1_c2nj1jz
| null |
1427663462
|
4
|
t5_2fwo
| null | null | null |
True
|
byronsucks
| null |
No worries mate.
| null |
0
|
1317314022
|
False
|
0
|
c2nj57p
|
t3_kuxxa
| null |
t1_c2nj57p
|
t1_c2nj2d6
| null |
1427663485
|
-1
|
t5_2fwo
| null | null | null |
True
|
twanvl
| null |
For this article I just wanted to explain the algorithm. I could have used repa or some other library. And if I were to actually use the algorithm for something serious, I would.
At the time I started working on my thesis, about two and half years ago, repa didn't exist yet. That was one of the reasons for choosing C++ instead of Haskell at the time. Also, in this domain of simple scans over images, C++ is often not much harder to read and write than Haskell. Especially for other people like my supervisor, who don't know Haskell.
| null |
0
|
1317314070
|
False
|
0
|
c2nj5hq
|
t3_kv3ww
| null |
t1_c2nj5hq
|
t1_c2niu82
| null |
1427663488
|
2
|
t5_2fwo
| null | null | null |
True
|
jaybee
| null |
Now that is a great idea. Emacs is so ugly, you'd think that someone would have thought of this before. I wonder if anyone does have one? You know, you should make one and SELL IT! Those stupid emacs users and their ugly editor won't believe their eyes.
| null |
0
|
1317314105
|
False
|
0
|
c2nj5oi
|
t3_kuti3
| null |
t1_c2nj5oi
|
t1_c2nh8dt
| null |
1427663491
|
-1
|
t5_2fwo
| null | null | null |
True
|
Bananoide
| null |
let (|>) x f = f x
| null |
0
|
1317314187
|
False
|
0
|
c2nj64y
|
t3_kuhn3
| null |
t1_c2nj64y
|
t1_c2nj0oo
| null |
1427663497
|
12
|
t5_2fwo
| null | null | null |
True
|
thumbsdown
| null |
> Before continuing, let's determine what it means for a rectangle to be the largest. We could compare the area of rectangles, as we did before. But it is equally valid to look for the rectangle with the largest perimeter.
??
| null |
0
|
1317314201
|
False
|
0
|
c2nj67i
|
t3_kv3ww
| null |
t1_c2nj67i
|
t3_kv3ww
| null |
1427663498
|
3
|
t5_2fwo
| null | null | null |
True
|
freakish777
| null |
Red Planet
Sahara
Speed Racer
The Adventures of Pluto Nash (this is a funny name, and it starred Eddie Murphy, so maybe people have actually heard of it)
Cutthroat Island
| null |
0
|
1317314206
|
False
|
0
|
c2nj68h
|
t3_kvarj
| null |
t1_c2nj68h
|
t1_c2nijt4
| null |
1427663498
|
2
|
t5_2fwo
| null | null | null |
True
|
Laziness
| null |
Still not gonna chance it
| null |
0
|
1317314247
|
False
|
0
|
c2nj6g1
|
t3_kv3ww
| null |
t1_c2nj6g1
|
t1_c2nj0zs
| null |
1427663501
|
2
|
t5_2fwo
| null | null | null |
True
|
AdShea
| null |
It's more that that's what I put in gvim now that it uses xft rather than the old x11 fontspec that you have.
| null |
0
|
1317314275
|
False
|
0
|
c2nj6lm
|
t3_kuti3
| null |
t1_c2nj6lm
|
t1_c2ni51j
| null |
1427663503
|
1
|
t5_2fwo
| null | null | null |
True
|
twanvl
| null |
I suppose a better solution would be to ditch Bool in favor of a Pixel type
data Pixel = FG | BG
and write `all (==FG)`.
| null |
0
|
1317314308
|
False
|
0
|
c2nj6si
|
t3_kv3ww
| null |
t1_c2nj6si
|
t1_c2nj2v4
| null |
1427663505
|
3
|
t5_2fwo
| null | null | null |
True
|
StrawberryFrog
| null |
... and then it takes 8 weeks due to complexity that the Developer missed, and that guy being sick for a week.
Does anyone keep stats on that? How does *x weeks actually means y weeks* get corrected?
Scrum teams typically know how many story points per sprint they get through, historically. And you don't have to "correct" it. You observe it. And dipshit managers can't easily deny it.
Also, you don't estimate a single task that takes 6 weeks. You break it down a lot more than that.
| null |
0
|
1317314368
|
True
|
0
|
c2nj743
|
t3_ktxk5
| null |
t1_c2nj743
|
t1_c2nizto
| null |
1427663509
|
2
|
t5_2fwo
| null | null | null |
True
|
bitwize
| null |
No Terminus? No Glass Tty VT220?
FAIL.
| null |
0
|
1317314510
|
False
|
0
|
c2nj7x3
|
t3_kuti3
| null |
t1_c2nj7x3
|
t3_kuti3
| null |
1427663521
|
2
|
t5_2fwo
| null | null | null |
True
|
OhneSinnUndVerstand
| null |
git tutorial is the new monad tutorial.
| null |
0
|
1317314602
|
False
|
0
|
c2nj8fz
|
t3_kv2uy
| null |
t1_c2nj8fz
|
t3_kv2uy
| null |
1427663528
|
3
|
t5_2fwo
| null | null | null |
True
|
baudehlo
| null |
I use Inconsolate-Bold-Punc. It makes all your programming punctuation (brackets, curlies, etc) bold, and makes it really easy to see structure.
| null |
0
|
1317314685
|
False
|
0
|
c2nj8w5
|
t3_kuti3
| null |
t1_c2nj8w5
|
t1_c2ned8j
| null |
1427663532
|
1
|
t5_2fwo
| null | null | null |
True
|
NruJaC
| null |
Its the same thing in haskell, but with a dot instead. Takes a single line of code to change it if you're so inclined:
(|>) = .
.
| null |
0
|
1317314788
|
False
|
0
|
c2nj9fz
|
t3_kuhn3
| null |
t1_c2nj9fz
|
t1_c2nj0oo
| null |
1427663540
|
1
|
t5_2fwo
| null | null | null |
True
|
nandemo
| null |
I had written something similar to that then edited it out... yes, yours is simpler, don't even need to write a wrapper function, just (== FG).
| null |
0
|
1317314840
|
False
|
0
|
c2nj9q8
|
t3_kv3ww
| null |
t1_c2nj9q8
|
t1_c2nj6si
| null |
1427663543
|
1
|
t5_2fwo
| null | null | null |
True
|
toastyman1
| null |
OK, so I ran the worms with everything default for the last 16 hours straight, It seems after about 20K generations the worms have evolved to favor twitchy flick like locomotion, highest sore after 20K generations? 4521... not bad, but it seems that after about 15-18K generations the progress comes to a grinding halt, after reaching about 4K fittness they just kinda stop evolving...
which is kinda funny actually, because If I were designing a worm moving strategy I would not have picked this weird flicking motion, and it may not be the BEST solution, but over the generations enough flicking worms did well enough for the algorithm to favor it, thus ruling out the possibility of other forms of locomotion... i like evolution...
is there some way to get the code for this? I would LOVE to mess with it!
| null |
0
|
1317314858
|
False
|
0
|
c2nj9wf
|
t3_kucjn
| null |
t1_c2nj9wf
|
t3_kucjn
| null |
1427663546
|
2
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
And what's to prevent the definition of a "story point" from changing over time?
If I say feature X takes 3 days, everyone knows what I mean. If I say 3 story points you have to ask which project's definition of story point.
| null |
0
|
1317314892
|
False
|
0
|
c2nja0e
|
t3_ktxk5
| null |
t1_c2nja0e
|
t1_c2nj743
| null |
1427663547
|
0
|
t5_2fwo
| null | null | null |
True
|
craklyn
| null |
I guess he's saying you can define "large" in terms of area or perimeter? I was also confused by this statement.
| null |
0
|
1317314895
|
False
|
0
|
c2nja2g
|
t3_kv3ww
| null |
t1_c2nja2g
|
t1_c2nj67i
| null |
1427663548
|
3
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
And what's to prevent the definition of a "story point" from changing over time?
If I say feature X takes 3 days, everyone knows what I mean. If I say 3 story points you have to ask which project's definition of story point.
You still have to track estimates vs sprints, as almost no one gets 15 days of estimated work done in a three week sprint.
| null |
0
|
1317314951
|
False
|
0
|
c2njaew
|
t3_ktxk5
| null |
t1_c2njaew
|
t1_c2nj743
| null |
1427663552
|
1
|
t5_2fwo
| null | null | null |
True
|
[deleted]
| null |
If you're going to use American Psycho references then you must include "silian rail".
| null |
0
|
1317314974
|
False
|
0
|
c2njaj1
|
t3_kuti3
| null |
t1_c2njaj1
|
t3_kuti3
| null |
1427663555
|
1
|
t5_2fwo
| null | null | null |
True
|
wadcann
| null |
The problem is that what you get when you plonk in "Terminus 12" (certainly what *I* get with that string on my box) doesn't look like -\*-terminus-\*-r-\*-\*-12-\*-\*-\*-\*-\*-\*-\*. It's much larger. I imagine that this is because of attempts to provide resolution independence (which I really don't want for this; when I'm getting that close to the limits of what can be depicted with the available pixels, I *want* to specify the font in terms of pixel size rather than inches).
xdpyinfo says that Xorg thinks that my monitor — HP LP2465 attached to a Radeon HD 4670 running open-source drivers — is currently 301x252 dpi, which probably doesn't help matters (though I seem to have the impression that apps stopped using the DPI data at some point…there were a few distro releases I saw where bad EDID data was somehow making it out and making things like Firefox render at ridiculous font sizes). It's definitely the case that the closed-source proprietary Radeon drivers can barf out bogus DPI data after resolution changes.
I understand that fontconfig has some sort of system for expressing more font attributes in a string, but I'm not aware of a way that it lets me specify pixel height; admittedly, I've never really bothered to go dig around, as xfontsel simply hands me an X font description and does what I want it to do.
| null |
0
|
1317315077
|
True
|
0
|
c2njb3x
|
t3_kuti3
| null |
t1_c2njb3x
|
t1_c2nj6lm
| null |
1427663562
|
2
|
t5_2fwo
| null | null | null |
True
|
grauenwolf
| null |
What the fuck isn't a monad?
x = y + 1
Oh look, I've just discovered the addition monad.
Seriously. Why the hell can't they talk about the important stuff regarding MapReduce in Haskell instead of droning on endlessly about monads? As far as conveying information, this is even worse than Java's obessions with design patterns.
| null |
0
|
1317315301
|
False
|
0
|
c2njcd7
|
t3_kv4xx
| null |
t1_c2njcd7
|
t3_kv4xx
| null |
1427663578
|
-1
|
t5_2fwo
| null | null | null |
True
|
Alexis_
| null |
> REST is putting a name on something people have been doing for years.
Well so was AJAX :)
| null |
0
|
1317315374
|
False
|
0
|
c2njcs0
|
t3_kv57g
| null |
t1_c2njcs0
|
t1_c2nh5z3
| null |
1427663584
|
7
|
t5_2fwo
| null | null | null |
True
|
bitwize
| null |
I wish I had a serial terminal.
As it is I do all my coding in a full-screen xterm with Glass Tty VT220 as the font and "goldenrod" (nice approximant to monitor amber) as the foreground color.
| null |
0
|
1317315384
|
False
|
0
|
c2njcto
|
t3_kuti3
| null |
t1_c2njcto
|
t1_c2nihgb
| null |
1427663584
|
3
|
t5_2fwo
| null | null | null |
True
|
jherod
| null |
O_O
I'd been under the impression that function names were restricted to alphanumeric characters.
/facepalm
| null |
0
|
1317315399
|
False
|
0
|
c2njcwv
|
t3_kuhn3
| null |
t1_c2njcwv
|
t1_c2nj64y
| null |
1427663587
|
3
|
t5_2fwo
| null | null | null |
True
|
bitwize
| null |
Real programmers load their object code straight into their framebuffer and interpret the colors as binary values.
| null |
0
|
1317315431
|
False
|
0
|
c2njd3q
|
t3_kuti3
| null |
t1_c2njd3q
|
t1_c2nhtu9
| null |
1427663589
|
3
|
t5_2fwo
| null | null | null |
True
|
captainAwesomePants
| null |
Oh no, they're way cheaper than that. The Microsofties are getting a good deal. I mean, sure, back in the day a soul was worth rather more than the whole world. By 1535 it was down to approximately the value of Wales. But these days a soul in decent shape can be had for as little as 50k or less.
| null |
0
|
1317315825
|
False
|
0
|
c2njfc4
|
t3_kuye2
| null |
t1_c2njfc4
|
t1_c2nhyjs
| null |
1427663617
|
2
|
t5_2fwo
| null | null | null |
True
|
FISArocks
| null |
To know if he is my friend, Andy, who is working on a similar project. What do **YOU** want?
| null |
0
|
1317315857
|
False
|
0
|
c2njfia
|
t3_ku203
| null |
t1_c2njfia
|
t1_c2nflmv
| null |
1427663621
|
1
|
t5_2fwo
| null | null | null |
True
|
int_argc
| null |
Shorter grauenwolf: stop being interested in things I'm not interested in!
Edited to add: the reason that Haskellers talk a lot about monads is because, in Haskell, it's important to know what parts of the program are pure and what parts involve mutable state.
| null |
0
|
1317315889
|
True
|
0
|
c2njfoj
|
t3_kv4xx
| null |
t1_c2njfoj
|
t1_c2njcd7
| null |
1427663622
|
12
|
t5_2fwo
| null | null | null |
True
|
redweasel
| null |
Nice! I'm proud of you.
I *would* wish I had a serial terminal, except that I no longer own, or even work with, any computers with which I could *use* one. :-(
| null |
0
|
1317315988
|
False
|
0
|
c2njg7j
|
t3_kuti3
| null |
t1_c2njg7j
|
t1_c2njcto
| null |
1427663629
|
0
|
t5_2fwo
| null | null | null |
True
|
wadcann
| null |
Well, you probably want to have font-lock on so that you have color at all.
If you dislike the default settings, don't want to set things individually and instead browse from package of presets, you may want to look at [Color Theme](http://www.emacswiki.org/emacs/ColorTheme). I don't use it, but [this site has](http://color-theme-select.heroku.com/#color-theme-dark-font-lock) 130 or so different themes that you can preview in your web browser.
| null |
0
|
1317316014
|
False
|
0
|
c2njgd0
|
t3_kuti3
| null |
t1_c2njgd0
|
t1_c2nh8dt
| null |
1427663631
|
2
|
t5_2fwo
| null | null | null |
True
|
Xdes
| null |
This looks cool. I didn't even know F# did XNA. Time to learn me some erlang (and F#).
| null |
0
|
1317316079
|
False
|
0
|
c2njgpi
|
t3_kvbv9
| null |
t1_c2njgpi
|
t3_kvbv9
| null |
1427663636
|
4
|
t5_2fwo
| null | null | null |
True
|
spitzanator
| null |
I disagree. If you have a centralized source-of-truth repository, rebasing as fine as long as you don't rebase commits before origin/master. If you do, the problems are yours and you have to fix them locally before pushing up to the main repository. "breaking things" only happens locally. You can't hose the tree for everyone.
| null |
0
|
1317316134
|
False
|
0
|
c2njgzg
|
t3_kuit6
| null |
t1_c2njgzg
|
t1_c2niw4e
| null |
1427663639
|
1
|
t5_2fwo
| null | null | null |
True
|
rubygeek
| null |
... which is one of the reasons why so few people are Haskell programmers.
| null |
0
|
1317316187
|
False
|
0
|
c2njh9w
|
t3_kv3ww
| null |
t1_c2njh9w
|
t1_c2nignu
| null |
1427663644
|
1
|
t5_2fwo
| null | null | null |
True
|
jmmcd
| null |
"Disciplined" is meaningless. As for "useful", well, that can be judged by what they're used for.
| null |
0
|
1317316293
|
False
|
0
|
c2njhub
|
t3_ktg7o
| null |
t1_c2njhub
|
t1_c2ne0em
| null |
1427663650
|
1
|
t5_2fwo
| null | null | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.