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
poisonsmoke
null
Hehe funny story here: Back in highschool my teacher told us to go on whitehouse.gov. We all asked why not .com, he just told us to make sure not to go on it. It was porn :D TL;DR: porn
null
0
1319668956
False
0
c2uqads
t3_lpxv1
null
t1_c2uqads
t3_lpxv1
null
1427787919
1
t5_2fwo
null
null
null
True
Moneo
null
You wouldn't believe how much code there is out there in the wild where "include db.sql" is called at random points in the code, and $\_POST variables are sent directly to mysql\_* functions.
null
0
1319669104
False
0
c2uqb5w
t3_lpmaq
null
t1_c2uqb5w
t1_c2ulc12
null
1427787929
6
t5_2fwo
null
null
null
True
reverend-spooner
null
A particular implementation should be protected, but the stupid situation where someone owns the patent to an obvious idea, like linked lists say, is retarded.
null
0
1319669196
False
0
c2uqbnw
t3_lpxv1
null
t1_c2uqbnw
t1_c2upws6
null
1427787936
3
t5_2fwo
null
null
null
True
adrianmonk
null
> It has no bearing on SEO at all. It should have a fairly indirect effect: it helps promote that link in general. A link that more people are aware of is a link that is more likely to be mentioned in blogs, etc. And *that* sort of thing will cause its rank in Google search results to improve.
null
0
1319669198
False
0
c2uqbo6
t3_lpmaq
null
t1_c2uqbo6
t1_c2umlea
null
1427787936
3
t5_2fwo
null
null
null
True
adrianmonk
null
Wow, I don't even *know* Scheme, and even I know that's the wrong way to teach it.
null
0
1319669253
False
0
c2uqbye
t3_lpmaq
null
t1_c2uqbye
t1_c2um4s0
null
1427787940
8
t5_2fwo
null
null
null
True
kragensitaker
null
My thought is just that if it's easier to declare and initialize a new variable than to reuse an existing one, then programmers will do that except when they really need mutation, which will have a salutary effect on the clarity of their code. I believe that Python's `with` does indeed provide deterministic cleanup wi...
null
0
1319669384
False
0
c2uqcmx
t3_lpmaq
null
t1_c2uqcmx
t1_c2uq0h4
null
1427787948
1
t5_2fwo
null
null
null
True
julesjacobs
null
Ahh, now I think I see what you mean by sum types and pattern matching. Am I right that the problem you identify is that by defining a sum type you decide a priori which things belong together and how you are going to do your conditionals (pattern matching) on them? In that case I'd say it's not really pattern matching...
null
0
1319669418
False
0
c2uqctu
t3_lirke
null
t1_c2uqctu
t1_c2t9qpn
null
1427787951
3
t5_2fwo
null
null
null
True
kryptkpr
null
> So you're saying that although your code is freely available, if someone else is shipping it in a product that is not open-source and free, then your code isn't free. Yes. > That's an interesting viewpoint, and I see it as roughly the same as the argument that used bookstores should be banned because any fina...
null
0
1319669630
False
0
c2uqdyd
t3_llw0s
null
t1_c2uqdyd
t1_c2uoacj
null
1427787965
1
t5_2fwo
null
null
null
True
ethraax
null
Except no sane person here would recommend reddit as a medium for political discourse, especially not if "comments" are judged by their number of upvotes.
null
0
1319669696
False
0
c2uqea5
t3_lpxv1
null
t1_c2uqea5
t1_c2upp4w
null
1427787970
2
t5_2fwo
null
null
null
True
[deleted]
null
Why? If someone originally came up with linked lists they should have the exclusive rights to such a patent. Linked lists are hardly obvious to a laymen.
null
0
1319669773
False
0
c2uqeov
t3_lpxv1
null
t1_c2uqeov
t1_c2uqbnw
null
1427787975
1
t5_2fwo
null
null
null
True
frezik
null
In one project, I managed to get by with the docs on XS. Probably the easiest way is to use Inline::C to do the hard parts for you, then grab its output and modify it while using the relevant perldocs as a reference. Which doesn't build confidence in their quality as tutorials. (Also, don't use Inline::C in the final ...
null
0
1319669812
False
0
c2uqew8
t3_lpmaq
null
t1_c2uqew8
t1_c2umr1u
null
1427787978
2
t5_2fwo
null
null
null
True
kragensitaker
null
Object-orientation actually did need special rules to be added to the language, to handle `bless` and method calls, at least. I admit it's a little less than what you need in e.g. Python, where you additionally have `class` and `__init__`, but it's still more complicated than what you have in e.g. Lua. The other three...
null
0
1319669838
False
0
c2uqf18
t3_lpmaq
null
t1_c2uqf18
t1_c2upzn9
null
1427787979
1
t5_2fwo
null
null
null
True
MrDOS
null
Eh, I think at this point, I prefer not to believe.
null
0
1319669924
False
0
c2uqfhp
t3_lpmaq
null
t1_c2uqfhp
t1_c2uqb5w
null
1427787985
4
t5_2fwo
null
null
null
True
haeikou
null
Age is not an excuse for lack of community management. You don't need a dictator in order to be attractive, you just need a few people who think it's a great thing to attract new users. Perl is just an example. Many communities show the same behavior of starting in the open and then closing down ... wikipedia comes to...
null
0
1319669925
False
0
c2uqfhx
t3_lpmaq
null
t1_c2uqfhx
t1_c2un2ff
null
1427787985
2
t5_2fwo
null
null
null
True
artsrc
null
There is a difference between choosing and using a language from a large selection and having to use a language because of ...
null
0
1319669926
False
0
c2uqfid
t3_lpmaq
null
t1_c2uqfid
t1_c2un4nz
null
1427787986
1
t5_2fwo
null
null
null
True
acecool
null
>Did it ever? no they were never merged, XEmacs started out as a fork of GNU Emacs and was changed so drastically that it became incompatible, and so a long rivalry ensued resulted in both stealing features from each other till they both ended up being about the same. You can thank the people who did XEmacs for all...
null
0
1319669957
True
0
c2uqfos
t3_lotys
null
t1_c2uqfos
t1_c2ukr5n
null
1427787988
2
t5_2fwo
null
null
null
True
julesjacobs
null
What do you propose as a case study?
null
0
1319669984
False
0
c2uqftl
t3_lirke
null
t1_c2uqftl
t1_c2u1ykg
null
1427787990
1
t5_2fwo
null
null
null
True
PGLubricants
null
A good solid 3d framework for the canvas could revolutionize the way browsing is done. Web shops would be able to visualize the shopping experience, and generally, sites could make an environment where you WERE in the webpage.
null
0
1319670028
False
0
c2uqg27
t3_lq54t
null
t1_c2uqg27
t3_lq54t
null
1427787993
-4
t5_2fwo
null
null
null
True
grauenwolf
null
Well yea, that would be nice too.
null
0
1319670042
False
0
c2uqg57
t3_lplfl
null
t1_c2uqg57
t1_c2upn9d
null
1427787994
1
t5_2fwo
null
null
null
True
kragensitaker
null
In some sense, you're correct, since sed is Turing-complete. Have you ever programmed addition in sed?
null
0
1319670109
False
0
c2uqghr
t3_lpmaq
null
t1_c2uqghr
t1_c2umjl5
null
1427787999
1
t5_2fwo
null
null
null
True
mcandre
null
Solutions: * Write [TryPython](http://www.trypython.org/) for Perl. * Use less dumb syntax (explicit referencing for arrays inside arrays, _really_?)
null
0
1319670121
False
0
c2uqgjq
t3_lpmaq
null
t1_c2uqgjq
t3_lpmaq
null
1427788000
0
t5_2fwo
null
null
null
True
aphoenix
null
I don't downvote and respond, it's not from me. That said, i also won't be responding.
null
0
1319670144
False
0
c2uqgoi
t3_lnhno
null
t1_c2uqgoi
t1_c2upb61
null
1427788001
1
t5_2fwo
null
null
null
True
haeikou
null
While this is a good reference, it's not perl 101. Same for PHP in parent's post ... php.net has some of the best reference documents I ever came across, but there doesn't seem something to learn the language from zero. My guess is that the kind of documentation that experience programmers use everyday gets written by...
null
0
1319670217
False
0
c2uqh26
t3_lpmaq
null
t1_c2uqh26
t1_c2uowjn
null
1427788007
1
t5_2fwo
null
null
null
True
mcandre
null
I love, love, love functional programming, but I don't think Comp. Sci. classes should start with Scheme. Perhaps start with C, then show how functional programming does it better. Functional style just isn't the easiest thing to grasp for non-programmers. Procedural style is, no matter how much of a pain it is in the ...
null
0
1319670295
False
0
c2uqhgl
t3_lpmaq
null
t1_c2uqhgl
t1_c2um4s0
null
1427788012
3
t5_2fwo
null
null
null
True
kragensitaker
null
If you don't hate any programming languages, I question whether you have enough experience to be posting on this subreddit :)
null
0
1319670318
False
0
c2uqhkz
t3_lpmaq
null
t1_c2uqhkz
t1_c2ulxgg
null
1427788013
2
t5_2fwo
null
null
null
True
jrochkind
null
what makes you say he's a java programmer? The code examples are ruby, I think? And his 'service' seems more like 'model' than 'controller' to me. But yeah, adding _more_ logic to View definitely _sounds_ like a bad idea. Most other people are looking at typical Rails use and saying "still too much logic in those ...
null
0
1319670330
False
0
c2uqhn7
t3_lovjq
null
t1_c2uqhn7
t1_c2umb6y
null
1427788014
2
t5_2fwo
null
null
null
True
[deleted]
null
> What about continuous instruments, like the violin? Does music there still adhere to a particular scale, or do they change it according to the piece and even change it mid piece? Violinists and vocalists are expected to adjust their tuning to produce more justly tuned intervals, unless they're playing with a fixe...
null
0
1319670333
False
0
c2uqhnt
t3_lpwy9
null
t1_c2uqhnt
t1_c2uq2f0
null
1427788014
3
t5_2fwo
null
null
null
True
conjury
null
I'm looking forward to seeing it. I wrote one of these in my Oni project [here](http://bitbucket.org/jhw/oni), but **Async** looks like it's had a lot more road-testing than mine.
null
0
1319670428
False
0
c2uqi62
t3_loxhc
null
t1_c2uqi62
t3_loxhc
null
1427788021
1
t5_2fwo
null
null
null
True
kragensitaker
null
Devil's advocate: if you have a REPL but don't have a debugger, and you're a beginning programmer, one or two lines of code per function will probably save you a lot of suffering as you learn how to debug things.
null
0
1319670486
False
0
c2uqihc
t3_lpmaq
null
t1_c2uqihc
t1_c2uqbye
null
1427788025
2
t5_2fwo
null
null
null
True
frezik
null
I'm a perpetually recovering Apple // BASIC programmer, and know exactly what Dijkstra was talking about when he said BASIC ruins you for life.
null
0
1319670515
False
0
c2uqinu
t3_lpmaq
null
t1_c2uqinu
t1_c2uoa7t
null
1427788037
1
t5_2fwo
null
null
null
True
faustoc4
null
fixed
null
0
1319670559
False
0
c2uqiwd
t3_lpmaq
null
t1_c2uqiwd
t1_c2uq5qa
null
1427788033
1
t5_2fwo
null
null
null
True
Guvante
null
Wasn't an intro class (300 level), the final project was cool enough that my overall feeling of the class is decent, but it felt like the teacher was able to use it as a crutch, not having to worry as much about the early parts. Rather than trying to step through how to write functional code a simple rule is used to "f...
null
0
1319670639
False
0
c2uqjbf
t3_lpmaq
null
t1_c2uqjbf
t1_c2uqhgl
null
1427788040
2
t5_2fwo
null
null
null
True
kragensitaker
null
C is fantastic, as a meditation exercise, or when you need bare-metal speed. Most of the time, Ruby or Python is going to be a lot more practical.
null
0
1319670653
False
0
c2uqjef
t3_lpmaq
null
t1_c2uqjef
t1_c2um394
null
1427788040
3
t5_2fwo
null
null
null
True
kragensitaker
null
BALEET DUPLICATE
null
0
1319670686
False
0
c2uqjk4
t3_lpmaq
null
t1_c2uqjk4
t1_c2uomzw
null
1427788043
0
t5_2fwo
null
null
null
True
julesjacobs
null
"Types are theorems" though theoretically somewhat interesting is not a very useful thing for programmers today. The kind of theorems even in languages like Haskell are usually limited to something like "there exists a function from int to int". No shit! As soon as the theorems become interesting, the proof burden bec...
null
0
1319670694
False
0
c2uqjlp
t3_lirke
null
t1_c2uqjlp
t1_c2tgkst
null
1427788043
1
t5_2fwo
null
null
null
True
masta
null
oh lord.
null
0
1319670696
False
0
c2uqjm2
t3_lpuyx
null
t1_c2uqjm2
t1_c2uq5sg
null
1427788043
2
t5_2fwo
null
null
null
True
[deleted]
null
Depends on which argument. Some don't make sense (the claim that it's hard to see if there is patent infringement, versus the idea that it's easy to determine copyright infringement). "Large companies regularly try to enforce their patents on smaller corporations. However, it is not possible to completely avoid patent...
null
0
1319670735
False
0
c2uqjtd
t3_lpxv1
null
t1_c2uqjtd
t1_c2uqa6q
null
1427788043
1
t5_2fwo
null
null
null
True
[deleted]
null
I bought the mindcandy DVD, and was severely disappointed that the cut the outro with the epic soundtrack from skaven in second reality.
null
0
1319670854
False
0
c2uqkff
t3_lp3rw
null
t1_c2uqkff
t1_c2uk12w
null
1428185531
1
t5_2fwo
null
null
null
True
masta
null
I used to work at Be Inc. and our OS was written in C++ mostly. The kernel was done in C, but all the servers were in C++. Mind you this was a micro kernel design. So I'd say you were both right.
null
0
1319670865
False
0
c2uqki0
t3_lpuyx
null
t1_c2uqki0
t1_c2updjz
null
1427788052
26
t5_2fwo
null
null
null
True
Nebu
null
> I have GCC, Python and JVM in my system, I don't have bash (sh, dash and zsh). Okay, good for you. (Un?)fortunately, the world doesn't only make software that *you* find useful. >> Okay, but what do I care if someone else spends time not-working, especially if it makes my life easier? > Maturity? Nil. ...
null
0
1319670938
False
0
c2uqkve
t3_lobf3
null
t1_c2uqkve
t1_c2uppgw
null
1427788058
1
t5_2fwo
null
null
null
True
[deleted]
null
Nostalgia. Few things will beat having your new 486, a gravis ultrasound and starting that strange "demo" thing you found on a bbs and downloaded for hours with a 9600baud modem. It was like a few years later getting a brand new voodoo1 card, and being the first guy to show glquake on a lanparty. _Everybody_ on that...
null
0
1319671017
False
0
c2uql9v
t3_lp3rw
null
t1_c2uql9v
t3_lp3rw
null
1427788062
1
t5_2fwo
null
null
null
True
[deleted]
null
>So, to prove him wrong, I wrote a hobby-grade operating system Talk about putting your money where your mouth is. Imagine if internet arguments worked like this :o
null
0
1319671069
False
0
c2uqlj4
t3_lpuyx
null
t1_c2uqlj4
t1_c2updjz
null
1427788066
7
t5_2fwo
null
null
null
True
julesjacobs
null
Ah, you're right, x could be in use elsewhere. In that case you should use the following: y = x.map{1} > And of course you can take any common idiom (like reversing the list of keys and values to invert a hash) and encapsulate it into a method; if you do that enough times, it can get hard to find something tha...
null
0
1319671103
False
0
c2uqlpj
t3_lpmaq
null
t1_c2uqlpj
t1_c2uq8q9
null
1427788071
1
t5_2fwo
null
null
null
True
[deleted]
null
Don't you turn his brown eyes, dont you turn his brown eyes, blue.
null
0
1319671144
False
0
c2uqlxx
t3_lpmaq
null
t1_c2uqlxx
t1_c2ulmle
null
1428185530
1
t5_2fwo
null
null
null
True
adrianmonk
null
Most programmers find they need to do some low-level and some high-level programming. I'm writing Java right now (not as low-level as C, but not very high-level either), but yesterday I wrote some Perl to analyze many thousands of lines of debug output from a Java program so I could get some answers about something th...
null
0
1319671232
False
0
c2uqmf2
t3_lpmaq
null
t1_c2uqmf2
t1_c2um394
null
1427788083
3
t5_2fwo
null
null
null
True
[deleted]
null
> Essentially, humans wildly prefer pythagorean perfect (that's actually not the pythagorean scale) harmonies, but this contradicts our "melody scales" (i.e., the C major scale) and makes harmonic development next to impossible. I think you mean just harmonies. I'd expect most people to prefer a just third (5/4) to...
null
0
1319671238
False
0
c2uqmfy
t3_lpwy9
null
t1_c2uqmfy
t1_c2upofe
null
1427788083
2
t5_2fwo
null
null
null
True
catcradle5
null
Same. This was very entertaining.
null
0
1319671314
False
0
c2uqmu9
t3_lpyyi
null
t1_c2uqmu9
t1_c2upxb2
null
1427788094
4
t5_2fwo
null
null
null
True
distortednet
null
no but you can go fuck off.
null
0
1319671334
False
0
c2uqmy3
t3_lq971
null
t1_c2uqmy3
t3_lq971
null
1427788089
3
t5_2fwo
null
null
null
True
el_tavs
null
> LISP may or may not be an exception FYI it's GC'ed, but my example deals with scoped lifetime, which doesn't employ GC > I think it's a fair criticism that most GC languages do not provide a good way to deal with precious resources that may have multiple referents. let me try to rephrase my point. Resource ...
null
0
1319671381
False
0
c2uqn7c
t3_lpicx
null
t1_c2uqn7c
t1_c2upzr6
null
1427788092
2
t5_2fwo
null
null
null
True
snakeanthony
null
How do you hide folder names with gource?
null
0
1319671424
False
0
c2uqnei
t3_lpjq8
null
t1_c2uqnei
t3_lpjq8
null
1427788096
1
t5_2fwo
null
null
null
True
reverend-spooner
null
I worked out linked lists as a 14 year old completely independently of any textbook or tuition when writing my own custom "ProTracker" for Amiga, I wasn't a layman of course, but by that time I'd only ever done lame-ass mid-eighties secondary school IT lessons that didn't touch on any in depth programming techniques, l...
null
0
1319671431
False
0
c2uqnga
t3_lpxv1
null
t1_c2uqnga
t1_c2uqeov
null
1427788096
1
t5_2fwo
null
null
null
True
xcbsmith
null
Not for nothing. It was very well written and provided an excellent explanation... a quality which my comment clearly lacked.
null
0
1319671537
False
0
c2uqnzv
t3_lisma
null
t1_c2uqnzv
t1_c2um2it
null
1427788100
2
t5_2fwo
null
null
null
True
TheFeshy
null
Awesome! I was actually surprised at how much C++ I could use right out of the bag, once I convinced the compiler and linker to go along with what I was doing. I had an expectation of having to write "newbie C++" - i.e. "C with classes" but the only things that I remember that didn't immediately work were virtual fun...
null
0
1319671665
False
0
c2uqon7
t3_lpuyx
null
t1_c2uqon7
t1_c2uqki0
null
1427788105
7
t5_2fwo
null
null
null
True
a_redditor
null
This is absolutely not what /r/programming, or reddit for that matter, is for. Requests like this are completely unacceptable, and you should be ashamed for posting it. I have taken the liberty of removing the submission.
null
0
1319671688
False
0
c2uqorf
t3_lq971
null
t1_c2uqorf
t3_lq971
null
1427788107
2
t5_2fwo
null
null
null
True
13_0_0_0_0
null
What year did the demo scene become a scene? I've been into everything online and offline since the Atari 400 came out, with the exception of a few years here and there. I somehow missed the entire demo scene entirely, and only learned about it around 2001.
null
0
1319671736
False
0
c2uqozo
t3_lp3rw
null
t1_c2uqozo
t3_lp3rw
null
1427788109
1
t5_2fwo
null
null
null
True
coveritwithgas
null
Start with a word that doesn't start with o. Then with a word that does. See if something clicks.
null
0
1319671794
False
0
c2uqp93
t3_lq2mm
null
t1_c2uqp93
t1_c2uq6x8
null
1427788114
2
t5_2fwo
null
null
null
True
aperson
null
From the [documentation](http://code.google.com/p/gource/wiki/Controls): >**Hiding Elements** >Sometimes it's hard to see the forest through the trees. To cull the brush: >` gource --hide bloom,date,dirnames,files,filenames,mouse,progress,tree,users,usernames` >(your screen should now be blank).
null
0
1319671803
False
0
c2uqpao
t3_lpjq8
null
t1_c2uqpao
t1_c2uqnei
null
1427788114
2
t5_2fwo
null
null
null
True
coveritwithgas
null
?
null
0
1319671829
False
0
c2uqpfm
t3_lq2mm
null
t1_c2uqpfm
t1_c2up7ve
null
1427788116
2
t5_2fwo
null
null
null
True
skelooth
null
Bad habits, or just habits that don't fit other languages?
null
0
1319671830
False
0
c2uqpfr
t3_lpmaq
null
t1_c2uqpfr
t1_c2upikq
null
1427788116
0
t5_2fwo
null
null
null
True
yasth
null
So you can sell the next book, obviously.
null
0
1319671830
False
0
c2uqpfv
t3_lpmaq
null
t1_c2uqpfv
t1_c2uppel
null
1427788116
-1
t5_2fwo
null
null
null
True
Tordek
null
It's just an example, but suppose I know the salt and the fact you use MD5. Now I can craft a string that hashes a certain way, and do a timing attack. If you use a function like strcmp, which is designed for speed, it'll return as soon as it finds the first non-matching char. The correct way to check is to use a sec...
null
0
1319671833
False
0
c2uqpgm
t3_lq2mm
null
t1_c2uqpgm
t1_c2upjcq
null
1427788117
6
t5_2fwo
null
null
null
True
skelooth
null
Then write one...
null
0
1319671967
False
0
c2uqq4d
t3_lpmaq
null
t1_c2uqq4d
t1_c2um9wu
null
1427788132
-1
t5_2fwo
null
null
null
True
madmaddison
null
Step 1: google perl tutorial Step 2: filter results to last year Step 3: success
null
0
1319672031
False
0
c2uqqg3
t3_lpmaq
null
t1_c2uqqg3
t1_c2um2h3
null
1427788132
3
t5_2fwo
null
null
null
True
skelooth
null
All programmers hate everyone else's code and everyone else's languages. It's part of our ego centric, socially awkward industry. I'm still trying to get used to it :)
null
0
1319672050
False
0
c2uqqjf
t3_lpmaq
null
t1_c2uqqjf
t1_c2ulxgg
null
1427788131
2
t5_2fwo
null
null
null
True
_delirium
null
You might be interested in [this fairly famous 1966 computer-art paper (PDF)](http://noll.uscannenberg.org/Art%20Papers/Mondrian.pdf) comparing computer-generated Mondrians with an original.
null
0
1319672118
False
0
c2uqqvz
t3_lq38f
null
t1_c2uqqvz
t3_lq38f
null
1427788137
6
t5_2fwo
null
null
null
True
adrianmonk
null
I've been using Perl for 17 years. I keep meaning to switch to Python, but it doesn't seem to offer compelling enough benefits to make me switch. As I see it, one of the two main benefits is that it's easier to learn. Well, I already know Perl well, so that is moot in my case. The other main benefit is that code wr...
null
0
1319672136
False
0
c2uqqzl
t3_lpmaq
null
t1_c2uqqzl
t1_c2umvln
null
1427788136
2
t5_2fwo
null
null
null
True
tedreed
null
Bad habits in perl itself. There are better ways to code, and it teaches you the wrong ones. I can't tell you how many times I've had a friend try learning perl from Learning Perl and then come to me with something and I go "Oh, don't do it like that; that's horrible." and then he points out the section of the book tha...
null
0
1319672203
False
0
c2uqrbq
t3_lpmaq
null
t1_c2uqrbq
t1_c2uqpfr
null
1427788141
0
t5_2fwo
null
null
null
True
el_tavs
null
well, actually i have an excess of free time atm (not due to being fired or similar ;)). So the conversation is not that boring for me... If you put it that way, I want to let you know I'm sorry to have hurt your feelings :3 , but, maybe, you should have avoided to repeat the same unsubstantiated claims that are often...
null
0
1319672245
False
0
c2uqrjj
t3_lol4l
null
t1_c2uqrjj
t1_c2uq94v
null
1427788145
2
t5_2fwo
null
null
null
True
repsilat
null
There are a few cases when automatic memory management wins. The most obvious is when it doesn't bother to collect the memory at all. In some workloads (not *too* memory intensive, not long-running), if there is no memory pressure it can be faster to leave junk around the heap and let the OS clean it up on program exit...
null
0
1319672332
False
0
c2uqrzm
t3_lpicx
null
t1_c2uqrzm
t1_c2ungii
null
1427788151
2
t5_2fwo
null
null
null
True
adrianmonk
null
Making your functions one line long is probably a good piece of advice in a lot of situations. But giving advice is not a substitute for teaching Scheme programming.
null
0
1319672351
False
0
c2uqs33
t3_lpmaq
null
t1_c2uqs33
t1_c2uqihc
null
1427788153
5
t5_2fwo
null
null
null
True
thantik
null
Thanks! The letter was randomly choosen, this time it started with R; I get what's going on now. If checking something is incorrect comes back in a shorter time, you can make a guess until that time becomes slightly longer. Slightly longer means that you've guessed a correct letter, and you repeat the attack until t...
null
0
1319672428
False
0
c2uqsgg
t3_lq2mm
null
t1_c2uqsgg
t1_c2uqp93
null
1427788155
4
t5_2fwo
null
null
null
True
PersonalPronoun
null
The best way to learn Perl is from the Perl "cookbook" from O'Reilly. Nice, "best practice" examples of how to do simple things, and by the time you've read 10 - 20 examples you'll have an understanding of Perl and the common idioms. The camel book reads way too much like Larry talking about why he made x thing work l...
null
0
1319672479
False
0
c2uqsq5
t3_lpmaq
null
t1_c2uqsq5
t1_c2ul1ky
null
1427788159
1
t5_2fwo
null
null
null
True
P1h3r1e3d13
null
Upvote for flattery.
null
0
1319672589
False
0
c2uqtar
t3_lisma
null
t1_c2uqtar
t1_c2uqnzv
null
1427788165
1
t5_2fwo
null
null
null
True
skelooth
null
I used banner style bracing for years and years because it was common in Perl in the 90s. Fast forward and I finally kicked the habit in 2010. Unfortunately there's usually a lot of *opinion* injected into what's the right way and the wrong way to do things. Programmers only pretend to be pragmatic.
null
0
1319672646
False
0
c2uqtks
t3_lpmaq
null
t1_c2uqtks
t1_c2uqrbq
null
1427788170
1
t5_2fwo
null
null
null
True
TheFeshy
null
It was actually over IM, so... I think it counts as an internet argument. I'll admit to a certain level of... obsessive dedication. I was already poking around at writing my own boot loader (in assembler, to work on my skills there) when he said something to the effect of "you need C, because you can't write, say, a ...
null
0
1319672667
False
0
c2uqton
t3_lpuyx
null
t1_c2uqton
t1_c2uqlj4
null
1427788171
5
t5_2fwo
null
null
null
True
jjo241
null
oops - didn't see this for awhile. I'm looking at really big matrices, where the fill-in in very small compared to the row size (1M rows, 30 nonzeros per row.) Right now the test is quite lazy, and I'm just assuming a banded matrix, so pretty much all the rows, (except for the last 30) are going to have the same numbe...
null
0
1319672792
False
0
c2uqubr
t3_kwo7p
null
t1_c2uqubr
t1_c2ogp4z
null
1427788180
1
t5_2fwo
null
null
null
True
dieselmachine
null
The w3 makes recommendation, and call them standards, but there is a difference between the w3c's idea of a standard and an actual standard (the RFCs). The most recent RFC pertaining to content-type is, I think, [RFC 2045](http://www.ietf.org/rfc/rfc2045.txt) and provides this struct (unrelated parts are cut out): ...
null
0
1319672810
False
0
c2uquf0
t3_lpyyi
null
t1_c2uquf0
t1_c2uq07e
null
1427788181
24
t5_2fwo
null
null
null
True
norkakn
null
Perl is by no means strictly procedural. You should check out Higher Order Perl. Perl's default object system is the same as Python's. (They looked at Python, thought it had some excellent ideas, and ripped them off). Moose goes way beyond it, and lets you do a lot of things that aren't available in python. For ex...
null
0
1319673121
False
0
c2uqvyj
t3_lpmaq
null
t1_c2uqvyj
t1_c2upxrj
null
1427788204
4
t5_2fwo
null
null
null
True
boyubout2pissmeoff
null
And it all started with the Amiga red and white bouncy ball demo. *sniff*...good times...*sniff*
null
0
1319673177
False
0
c2uqw8w
t3_lp3rw
null
t1_c2uqw8w
t3_lp3rw
null
1427788208
2
t5_2fwo
null
null
null
True
mr_chromatic
null
I thought you were looking for reference documentation, but otherwise I agree. > And nobody would write something he doesn't need himself, right? I wrote a book for Perl novices, but it's not for programming novices.
null
0
1319673217
False
0
c2uqwgj
t3_lpmaq
null
t1_c2uqwgj
t1_c2uqh26
null
1427788212
6
t5_2fwo
null
null
null
True
snakeanthony
null
Thanks, really should be working on this project not visualizing it so I was lazy and stopped at gource -h
null
0
1319673300
False
0
c2uqwv3
t3_lpjq8
null
t1_c2uqwv3
t1_c2uqpao
null
1427788215
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
> I tend to to think of Perl as sort of like English (the language we happen to be using now). Since Larry Wall is a linguist, that's not a bad way to go. I just think that English is a fuckin' terrible language, as evidenced by trying to write requirements documents.
null
0
1319673453
False
0
c2uqxob
t3_lpmaq
null
t1_c2uqxob
t1_c2uoapy
null
1427788224
0
t5_2fwo
null
null
null
True
ICanSayWhatIWantTo
null
Here's my list of Perl offenses that I will not hesitate to shoot you in your ugly face for: -failing to always "use strict" (mostly to ensure variables are declared before use, but also to bitchslap the use of barewords) -failing to use parenthesis -failing to recursively use delete() to properly cleanup shared mul...
null
0
1319673575
False
0
c2uqyb8
t3_lpmaq
null
t1_c2uqyb8
t3_lpmaq
null
1427788232
5
t5_2fwo
null
null
null
True
xiongchiamiov
null
> It is kind of annoying to have to explicitly convert strings to integers, or arrays to their lengths To give a counter example, I find it really annoying when languages do things like that automatically; it masks shittons of bugs.
null
0
1319673594
False
0
c2uqyeq
t3_lpmaq
null
t1_c2uqyeq
t1_c2upskl
null
1427788238
1
t5_2fwo
null
null
null
True
mr_chromatic
null
> I'm not quite sure what you mean by "without mandating destroy semantics". I'm not an expert on Python internals, but I wonder if the implementation of `with` requires an immediate garbage collection operation as you might get with reference counting so as to perform the appropriate cleanup immediately.
null
0
1319673606
False
0
c2uqygs
t3_lpmaq
null
t1_c2uqygs
t1_c2uqcmx
null
1427788238
1
t5_2fwo
null
null
null
True
iiB
null
All this 'imagine' and 'should' doesn't really correlate with reality. There must be a controller logic for any responsive application. The magical trick to 'wrap' the UI to the domain logic - this is the controller. if you want to implement some of it in your UI and some of it in your business logic, go ahead. If you...
null
0
1319673741
False
0
c2uqz5g
t3_lovjq
null
t1_c2uqz5g
t1_c2uood0
null
1427788243
1
t5_2fwo
null
null
null
True
cultic_raider
null
Google should make this the default. It's almost never better to see the >year results over the <year results.
null
0
1319673873
False
0
c2uqzs3
t3_lpmaq
null
t1_c2uqzs3
t1_c2uqqg3
null
1427788253
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
So why is it not `use loose`?
null
0
1319674037
False
0
c2ur0k2
t3_lpmaq
null
t1_c2ur0k2
t1_c2upsx2
null
1427788261
2
t5_2fwo
null
null
null
True
[deleted]
null
Interesting. But I have to say, after dealing with the clean syntax and look of Python, I cannot imagine ever going back to perl on purpose :)
null
0
1319674125
False
0
c2ur104
t3_lpmaq
null
t1_c2ur104
t1_c2uqvyj
null
1427788269
2
t5_2fwo
null
null
null
True
sagenki
null
Ah, I see. Thanks for the informative response!
null
0
1319674134
False
0
c2ur11a
t3_lpyyi
null
t1_c2ur11a
t1_c2uquf0
null
1427788270
7
t5_2fwo
null
null
null
True
NaeblisEcho
null
Pretty damn good. Doing all the in the modern web browsers. Watched the entire thing. Also, lol'd at the guy asking for the license. XD
null
0
1319674171
False
0
c2ur17l
t3_lq54t
null
t1_c2ur17l
t3_lq54t
null
1427788272
1
t5_2fwo
null
null
null
True
dieselmachine
null
No prob, glad to spread the information. It's dry reading, but the answer is usually there, and it's usually very explicit.
null
0
1319674207
False
0
c2ur1dz
t3_lpyyi
null
t1_c2ur1dz
t1_c2ur11a
null
1427788273
6
t5_2fwo
null
null
null
True
madmaddison
null
Totally, It would at least be a really useful thing to be able to configure. I'm pretty tired of toggling that option for just about every search I make.
null
0
1319674344
False
0
c2ur21e
t3_lpmaq
null
t1_c2ur21e
t1_c2uqzs3
null
1427788281
1
t5_2fwo
null
null
null
True
mr_chromatic
null
> Exactly the same argument applies to Perl's reverse? Somebody had to implement its behavior on hashes. Not at all; it falls out of the fundamental list processing behavior in Perl which kragensitaker mentioned. > I don't know about Perl This sounds snarky, but it really isn't: that's probably why your guesse...
null
0
1319674365
False
0
c2ur24p
t3_lpmaq
null
t1_c2ur24p
t1_c2uqlpj
null
1427788282
2
t5_2fwo
null
null
null
True
axonxorz
null
No, I'm not suggesting anything, in fact I agree with you, just saying your argument against it was flawed.
null
0
1319674513
False
0
c2ur2uv
t3_ln1tg
null
t1_c2ur2uv
t1_c2up0tr
null
1427788293
1
t5_2fwo
null
null
null
True
kragensitaker
null
> Ah, you're right, x could be in use elsewhere. In that case you should use the following: > y = x.map{1} That doesn't work either; it gives me an Array, and I want a Hash. In Perl, I can use the same `map`, and have it generate a list of alternating keys and values, that gets coerced to a hash when I assign...
null
0
1319674538
True
0
c2ur2z0
t3_lpmaq
null
t1_c2ur2z0
t1_c2uqlpj
null
1427788294
1
t5_2fwo
null
null
null
True
tick113
null
I was a Java developer, just not in a decade. The skepticism and comments are appreciated. That some think services are the same as controllers and others think services are the same as models just illustrates my point that the responsibilities are shifted. It seems like logic is being added to the views, but for ...
null
0
1319674629
False
0
c2ur3fd
t3_lovjq
null
t1_c2ur3fd
t1_c2uqhn7
null
1427788300
2
t5_2fwo
null
null
null
True
mr_chromatic
null
> [What] are the advantages of having `@x` and `%x` in addition to `@$x` and `%$y`? If you have aliasing/binding as a core language feature, very little. I think you still need some syntax to distinguish between container actions and containee actions, but maybe you make operators choose their operand contexts.
null
0
1319674660
False
0
c2ur3lv
t3_lpmaq
null
t1_c2ur3lv
t1_c2uqf18
null
1427788303
1
t5_2fwo
null
null
null
True
flussence
null
Well, we're not going to be writing [Microsoft advertisements](http://i.imgur.com/gL56S.png) in Perl any time soon, but we do have [the solution to all your complaints](http://try.rakudo.org/), months before you made them.
null
0
1319674752
False
0
c2ur42g
t3_lpmaq
null
t1_c2ur42g
t1_c2uqgjq
null
1427788308
5
t5_2fwo
null
null
null
True
orn
null
I used the same book and I found it to be quite good. Had no prior programming experience.
null
0
1319674886
False
0
c2ur4q2
t3_lpmaq
null
t1_c2ur4q2
t1_c2um4ej
null
1427788323
1
t5_2fwo
null
null
null