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
joehillen
null
I was just trying to find that article to post it. Thanks.
null
0
1319655015
False
0
c2unzts
t3_lpuyx
null
t1_c2unzts
t1_c2uns74
null
1427786838
4
t5_2fwo
null
null
null
True
joehillen
null
[/r/tinycode](/r/tinycode)
null
0
1319655040
False
0
c2unzzl
t3_lpuyx
null
t1_c2unzzl
t3_lpuyx
null
1427786840
2
t5_2fwo
null
null
null
True
mostly_kittens
null
One of the biggest issues I have with programming Perl is not necessarily that there are lots of ways to do something but that most of the time there is no actual benefit in choosing one way over the other.
null
0
1319655097
False
0
c2uo0cb
t3_lpmaq
null
t1_c2uo0cb
t1_c2unjh7
null
1427786845
4
t5_2fwo
null
null
null
True
[deleted]
null
> B&D languages like python First time I've ever heard Python referred to as such.
null
0
1319655167
False
0
c2uo0rj
t3_lpmaq
null
t1_c2uo0rj
t1_c2uly4a
null
1427786851
12
t5_2fwo
null
null
null
True
int0x13
null
We were talking about *community projects* like all of the aforementioned languages have created, not books that cost money.
null
0
1319655277
False
0
c2uo1gf
t3_lpmaq
null
t1_c2uo1gf
t1_c2unzbz
null
1427786860
3
t5_2fwo
null
null
null
True
anarchotroll
null
At the end it is all about risk and cost of opportunity. In other words: "is it worth the effort?", does it add more value than the rest of the work items you own? E.g.: I always have too much on my plate and I do the things that were ranked high priority. I will respond "I have too much on my plate" to the low priori...
null
0
1319655335
False
0
c2uo1tz
t3_lpod6
null
t1_c2uo1tz
t1_c2umof4
null
1427786865
6
t5_2fwo
null
null
null
True
Filmore
null
[This](http://cjcliffe.github.com/CubicVR.js/cubicvr/samples/custom_shader/noise.html), [this](http://cjcliffe.github.com/CubicVR.js/cubicvr/samples/camera/multi_camera.html) and [this](http://cjcliffe.github.com/CubicVR.js/cubicvr/samples/shadows/alphamap_shadows.html) don't work either (just a big pink blob) but the ...
null
0
1319655412
False
0
c2uo2bs
t3_losip
null
t1_c2uo2bs
t1_c2ulinh
null
1427786872
2
t5_2fwo
null
null
null
True
quotability
null
This seems like a rebranding of DCI to me.
null
0
1319655413
False
0
c2uo2c1
t3_lovjq
null
t1_c2uo2c1
t3_lovjq
null
1427786872
1
t5_2fwo
null
null
null
True
mikkle
null
Of course Python checks syntax; the GP obviously doesn't realise that a typo in a variable name isn't a syntactic but a semantic error. I can't conceive of a compiler/interpreter that doesn't check syntax. Either the source can be parsed, which means it's syntactically fine, or it can't, which means there's an error, ...
null
0
1319655430
False
0
c2uo2g8
t3_lpmaq
null
t1_c2uo2g8
t1_c2unwa1
null
1427786873
6
t5_2fwo
null
null
null
True
mipadi
null
So, just out of curiosity, who else is in this set with Jobs and Gadaffi? Bernie Madoff? Michael Vick? Pee-Wee Herman?
null
0
1319655483
False
0
c2uo2rl
t3_lnhkh
null
t1_c2uo2rl
t1_c2unm66
null
1427786877
1
t5_2fwo
null
null
null
True
norkakn
null
BioPython is written like shit, and python makes it impossible to fix. For example, the tree data structure is missing the majority of the utility methods needed for basic operations, and the factories don't even let you specify your own subclass. Python (2 at least) doesn't have a good way to apply a mixin to an ins...
null
0
1319655511
False
0
c2uo2yu
t3_lpmaq
null
t1_c2uo2yu
t1_c2umqjt
null
1427786883
10
t5_2fwo
null
null
null
True
grauenwolf
null
That doesn't say anything about *when* the GC will run. It is also non-deterministic in the sense that if you have data that looks like a pointer it may mark the object as still in use.
null
0
1319655532
False
0
c2uo33z
t3_lpicx
null
t1_c2uo33z
t1_c2um70r
null
1427786885
9
t5_2fwo
null
null
null
True
mikkle
null
What's the B&D part about Python, that you have to indent your blocks properly? Wow, it's like living in North Korea.
null
0
1319655574
False
0
c2uo3d6
t3_lpmaq
null
t1_c2uo3d6
t1_c2uly4a
null
1427786887
1
t5_2fwo
null
null
null
True
LenHolgate
null
If you're interested in what MS say the benefits are then take a look at the video that I link to. Basically, RIO is designed to minimise the work needed by the kernel in reading and writing the network and provides a way to obtain completions (so the results of your read, for example) without needing a kernel mode tra...
null
0
1319655606
False
0
c2uo3kf
t3_lpi78
null
t1_c2uo3kf
t1_c2unxe8
null
1427786889
3
t5_2fwo
null
null
null
True
grauenwolf
null
You can control when the GC runs in some platforms (e.g. .NET 4+). I don't know of anyone who does that safely.
null
0
1319655625
False
0
c2uo3oh
t3_lpicx
null
t1_c2uo3oh
t1_c2ulq00
null
1427786890
2
t5_2fwo
null
null
null
True
lluad
null
CPAN. It has a huge amount of useful code in it. And most of it works pretty well (unless you're on OS X, but that's a rant for a different time) and solves the problem you need solved right now. Ruby and Python are heading in that direction, but they're not there yet.
null
0
1319655686
False
0
c2uo41y
t3_lpmaq
null
t1_c2uo41y
t1_c2umvln
null
1427786895
8
t5_2fwo
null
null
null
True
[deleted]
null
> References, in particular, have a lot of subtlety to them. Oh God, is that the $ / @ / % stuff? Had to modify an existing Perl script and was changing from a single value to a map of values and it took me ages to get right, all due to not properly understanding Perl's types and applicable sigils. Wanted to iter...
null
0
1319655701
False
0
c2uo45c
t3_lpmaq
null
t1_c2uo45c
t1_c2un3ms
null
1427786894
5
t5_2fwo
null
null
null
True
sztomi
null
C is actually a pretty good starting point if you have patience. It gives you a very solid base and you will need to understand lots about computer architectures in general. People who are fluent with C (or even C++) can avoid many pitfalls in higher level programming languages because they have an idea of what the hig...
null
0
1319655761
False
0
c2uo4iq
t3_lpmaq
null
t1_c2uo4iq
t1_c2unc1r
null
1427786899
5
t5_2fwo
null
null
null
True
[deleted]
null
Cockpuncher 2: The mouth-bloodening
null
0
1319655868
False
0
c2uo55a
t3_lpmaq
null
t1_c2uo55a
t1_c2uljvu
null
1427786907
4
t5_2fwo
null
null
null
True
F4il3d
null
As far as I know, Madoff, Vick, Herman are still alive, Gadaffi, Jobs are recently deceased, you can expand the set with any recently deceased selfish, authoritarian, despotic person.
null
0
1319655893
False
0
c2uo5b9
t3_lnhkh
null
t1_c2uo5b9
t1_c2uo2rl
null
1427786909
1
t5_2fwo
null
null
null
True
GavriloPrincep
null
how do you get it to do that? in vim ?
null
0
1319655896
False
0
c2uo5bu
t3_lpmaq
null
t1_c2uo5bu
t1_c2unwa1
null
1427786910
1
t5_2fwo
null
null
null
True
lynxbat
null
I actually don't know him personally. I thinking you are mixing broad thoughts with experienced pain points. I get it though: reality has a way of making good intentions end up biting you in the ass. And while I think you take it too far, I don't disagree at all. And as a Vendor in certain spaces you need people payi...
null
0
1319655906
False
0
c2uo5dw
t3_lpod6
null
t1_c2uo5dw
t1_c2unqar
null
1427786910
2
t5_2fwo
null
null
null
True
gmartres
null
Haskell is more than 20 years old.
null
0
1319655919
False
0
c2uo5gx
t3_lpmaq
null
t1_c2uo5gx
t1_c2un2ff
null
1427786911
10
t5_2fwo
null
null
null
True
drzowie
null
Well, Python requires particular syntactical structures to accomplish each task vs. Perl's rough-and-ready approach of allowing two or three different ones. More generally, Python seems to try to enforce a particular way of doing things -- so it is to Perl sort of as Pascal is to C. They're equivalently powerful lang...
null
0
1319655926
True
0
c2uo5iu
t3_lpmaq
null
t1_c2uo5iu
t1_c2uo0rj
null
1427786912
1
t5_2fwo
null
null
null
True
heywhatwhat
null
Fair enough. Although I used man for various commands, it never occurred to me to look at even "man perl." I will also admit that it was a half-hearted effort on my part to learn perl, since I only needed it for a single project. Day to day, Python and MATLAB meet my needs for scientific programming. Still, I think th...
null
0
1319655945
False
0
c2uo5mv
t3_lpmaq
null
t1_c2uo5mv
t1_c2unuie
null
1427786913
2
t5_2fwo
null
null
null
True
i-hate-digg
null
It's not the same. This kind of thing is comparatively easy to do with assembler. Not gcc, which is designed with the assumption that the user will link with libc 99.9% of the time.
null
0
1319656024
False
0
c2uo642
t3_lpuyx
null
t1_c2uo642
t1_c2uns74
null
1427786921
6
t5_2fwo
null
null
null
True
nezcarotte
null
I have the impression that you just didn't read what was said above in the post. If one of the structures in the union has padding bytes, these are not necessarily initialized by zero. This was exactly the point there. I don't know on what architecture you usually do your socket programming, but on linux the DS for IP...
null
0
1319656093
False
0
c2uo6g6
t3_lowdc
null
t1_c2uo6g6
t1_c2ufp7r
null
1427786925
1
t5_2fwo
null
null
null
True
[deleted]
null
> At least python still has a dictator who made the language his life Has Larry left Perl?
null
0
1319656096
False
0
c2uo6gz
t3_lpmaq
null
t1_c2uo6gz
t1_c2un2ff
null
1427786925
2
t5_2fwo
null
null
null
True
norkakn
null
Python's SOAP libraries are complete failures, and its unicode support is shit. Ruby lacks anywhere near the depth of modules that perl has, so many projects, most of the time to do it in ruby would be reinventing the wheel. I haven't done any Scala, so no clue. Many people who program in perl also know other langua...
null
0
1319656107
False
0
c2uo6j7
t3_lpmaq
null
t1_c2uo6j7
t1_c2umvln
null
1427786925
9
t5_2fwo
null
null
null
True
mithaldu
null
Huh, ok, didn't know that. I conjectured from their community size. Mistake on my end.
null
0
1319656123
False
0
c2uo6m7
t3_lpmaq
null
t1_c2uo6m7
t1_c2uo5gx
null
1427786927
3
t5_2fwo
null
null
null
True
[deleted]
null
Yeah, but that's one of the only exceptions to the rule. Seriously, he's the one of the only ones that has done that.
null
0
1319656145
True
0
c2uo6qb
t3_lpmaq
null
t1_c2uo6qb
t1_c2undr3
null
1427786929
0
t5_2fwo
null
null
null
True
mithaldu
null
I use Komodo IDE, was worth the money for me. But i think you can get Padre to do that as well.
null
0
1319656149
False
0
c2uo6rd
t3_lpmaq
null
t1_c2uo6rd
t1_c2uo5bu
null
1427786929
1
t5_2fwo
null
null
null
True
[deleted]
null
I'm not entirely sure why you'd want to create a new format for 99% of programs, tbh. There's plenty of data interchange formats for everything imaginable. People seem to want to because of NIH. But to answer your question, yes. And you can ask freedesktop.org to include your heuristic in their standard shared-mime-inf...
null
0
1319656175
False
0
c2uo6wj
t3_lo9p9
null
t1_c2uo6wj
t1_c2unp7e
null
1427786931
0
t5_2fwo
null
null
null
True
frezik
null
This also would have worked: foreach my $bucketName (keys %$buckets) It becomes natural once you get used to it, but it does take some getting used to. What's more, a lot of very powerful stuff can be done once you've made it.
null
0
1319656185
False
0
c2uo6y4
t3_lpmaq
null
t1_c2uo6y4
t1_c2uo45c
null
1427786931
7
t5_2fwo
null
null
null
True
mithaldu
null
I know they're different, i'm just saying there's no actual malicious intent or neglect there, just a creeping failure to get something done combined with outside effects that weren't considered fully, a kind of community rot you can say.
null
0
1319656231
False
0
c2uo77p
t3_lpmaq
null
t1_c2uo77p
t1_c2uo1gf
null
1427786935
5
t5_2fwo
null
null
null
True
mithaldu
null
Yes, Larry left Perl 5 ten years ago to do Perl 6.
null
0
1319656321
False
0
c2uo7pu
t3_lpmaq
null
t1_c2uo7pu
t1_c2uo6gz
null
1427786944
4
t5_2fwo
null
null
null
True
FredFnord
null
Sadly, this also doesn't work in all cases. Because a lot of times snippets of code end up getting emailed to contributors, who then check them in themselves. We found that in some cases more than 50% of a file consisted of stuff that was emailed or posted on mailing lists and then committed by members. Any person who...
null
0
1319656357
False
0
c2uo7y5
t3_llw0s
null
t1_c2uo7y5
t1_c2u1x8q
null
1427786944
1
t5_2fwo
null
null
null
True
NotCoffeeTable
null
My Dad gave me "Programming PERL" by Larry Wall when I was 11-12... so I often consider PERL my first language. The problem I find is that for most jobs there is a language better than PERL. After ~12 years of programming I can pick up a language in roughly 3 days, and so often I can find a language that accomplishes m...
null
0
1319656366
False
0
c2uo804
t3_lpmaq
null
t1_c2uo804
t3_lpmaq
null
1427786945
0
t5_2fwo
null
null
null
True
Taladar
null
Well, I called it syntax because it is about as hard to check as syntax, you do not need a full semantic analysis to figure out that the variable referenced on line n of the scope is never assigned on any of the previous lines.
null
0
1319656413
False
0
c2uo8ag
t3_lpmaq
null
t1_c2uo8ag
t1_c2uo2g8
null
1427786949
1
t5_2fwo
null
null
null
True
[deleted]
null
> Python seems to try to enforce a particular way of doing things Indeed, if you open a Python prompt and type 'import this' you'll see their design philosophies explicitly express their belief that TIMTOWTDI is bad. I'm just used to B&D being used to refer to statically typed programming languages.
null
0
1319656432
False
0
c2uo8en
t3_lpmaq
null
t1_c2uo8en
t1_c2uo5iu
null
1427786951
6
t5_2fwo
null
null
null
True
FredFnord
null
But the GPL depends up on this to prevent people from licensing popular products under other licenses. It's a feature, not a bug, or else there would be an explicit version that assigns copyright back to the project creator, to prevent such problems.
null
0
1319656470
False
0
c2uo8n3
t3_llw0s
null
t1_c2uo8n3
t1_c2tvayg
null
1427786953
1
t5_2fwo
null
null
null
True
[deleted]
null
Cheers, yeah, going to hit up my boss about that Modern Perl book and learn it. We've got an admin who loves Perl, writes all his (rather important to our processes) scripts in them, and seems to be the only one with in-depth knowledge of it. God help us if he gets hit by a bus.
null
0
1319656491
False
0
c2uo8rr
t3_lpmaq
null
t1_c2uo8rr
t1_c2uo6y4
null
1427786955
2
t5_2fwo
null
null
null
True
doclight
null
I think it's cool MS is starting to take the IO intensive community seriously. You can only go so far optimizing IO before you have to start looking for kernel level solutions. I'll definitely have to watch the video when I get some free time.
null
0
1319656521
False
0
c2uo8ym
t3_lpi78
null
t1_c2uo8ym
t1_c2uo3kf
null
1427786958
3
t5_2fwo
null
null
null
True
DontCriticizeMyEngli
null
I for one consider services to be part of the model: model is not just data, it also encompasses behaviour. And yes, I agree with everything you said. My point was that it is not always controllers calling save or delete methods on ActiveRecord objects.
null
0
1319656587
False
0
c2uo9db
t3_lovjq
null
t1_c2uo9db
t1_c2unxpv
null
1427786963
1
t5_2fwo
null
null
null
True
FredFnord
null
Uh... no, I don't. But the author explicitly said this: > Just be careful, this also grants people the ultimate freedom: the freedom to make your code (or derivatives there-of) non-free. And it is explicitly wrong. It grants people the ability to make derivatives of your code non-free, but it most certainly does n...
null
0
1319656600
False
0
c2uo9fw
t3_llw0s
null
t1_c2uo9fw
t1_c2tup8x
null
1427786964
1
t5_2fwo
null
null
null
True
UpNDownCan
null
"Assuming reads and writes complete ... in the expected order" -- why would you want to assume that?
null
0
1319656706
False
0
c2uoa2w
t3_lpi78
null
t1_c2uoa2w
t3_lpi78
null
1427786972
2
t5_2fwo
null
null
null
True
abadidea
null
Also guilty as charged. PHP 4 was actually my first language so it is burned on the inside of my retinas. I have no idea how I recovered.
null
0
1319656729
False
0
c2uoa7t
t3_lpmaq
null
t1_c2uoa7t
t1_c2unrul
null
1427786974
1
t5_2fwo
null
null
null
True
[deleted]
null
I agree (don't like GCs either), but here are few lines from Stroustrup’s FAQ: Garbage collection (automatic recycling of unreferenced regions of memory) is optional in C++; that is, a garbage collector is not a compulsory part of an implementation. However, C++0x provides a definition of what a GC can do if one is us...
null
0
1319656745
False
0
c2uoabi
t3_lpicx
null
t1_c2uoabi
t1_c2uk8uw
null
1427786975
1
t5_2fwo
null
null
null
True
FredFnord
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. That's an interesting viewpoint, and I see it as roughly the same as the argument that used bookstores should be banned because any financial transactio...
null
0
1319656751
False
0
c2uoacj
t3_llw0s
null
t1_c2uoacj
t1_c2tua51
null
1427786976
1
t5_2fwo
null
null
null
True
drzowie
null
>I think Perl suffers from [choice paralysis] because of its history. To me, it just seems like more trouble than it's worth. Again, good food for thought. I tend to to think of Perl as sort of like English (the language we happen to be using now). English is arguably the richest, most expressive language on the...
null
0
1319656807
False
0
c2uoapy
t3_lpmaq
null
t1_c2uoapy
t1_c2unjh7
null
1427786980
1
t5_2fwo
null
null
null
True
FredFnord
null
> I hate people who brag for no good reason. Excellent progammers with a huge ego? No problem with that, they made computers and programs running on them what they are. Assholes with huge egos who think the world cannot get along without them are still assholes, whether they have accomplished things or not. I am pe...
null
0
1319656880
False
0
c2uob6u
t3_llw0s
null
t1_c2uob6u
t1_c2ttqz2
null
1427786986
1
t5_2fwo
null
null
null
True
el_tavs
null
> I believe that garbage collection or reference counting is not an ideal solution to memory management. It is a compromise to protect against developers who do not understand proper memory allocation and deallocation conventions and are thus prone to code leaks into a system. It's a lazy and expensive way to preven...
null
0
1319656953
False
0
c2uobm8
t3_lpicx
null
t1_c2uobm8
t1_c2ul904
null
1427786992
1
t5_2fwo
null
null
null
True
mikkle
null
What if the variable being referenced is a module global, created programmatically using setattr? The interpreter can't be sure that this code will actually produce an error until it tries to execute it. That said, there are static checkers that will check for that case.
null
0
1319656963
False
0
c2uobow
t3_lpmaq
null
t1_c2uobow
t1_c2uo8ag
null
1427786993
2
t5_2fwo
null
null
null
True
Megatron_McLargeHuge
null
Oh the irony of watching this on hardware thousands of times more powerful but having it lag due to crappy Flash buffering and multitasking.
null
0
1319657117
False
0
c2uocnk
t3_lp3rw
null
t1_c2uocnk
t3_lp3rw
null
1427787006
6
t5_2fwo
null
null
null
True
FredFnord
null
He could have generalized. He could have suggested solutions. He could have pointed out parallels. He could have shown some kind of solidarity with other programmers (which he doesn't actually have, so maybe that would have been asking too much). He could have moved on to actual philosophy of open source and maybe made...
null
0
1319657122
False
0
c2uocow
t3_llw0s
null
t1_c2uocow
t1_c2tsue9
null
1427787007
1
t5_2fwo
null
null
null
True
Kalium
null
> (which are, not to put too find a point on it, 'not having money thrown at him by people he's never met just because he's just that awesome') You mean "people told him all these things would happen because he released awesome BSD code and then said things completely failed to happen"?
null
0
1319657210
False
0
c2uod8y
t3_llw0s
null
t1_c2uod8y
t1_c2uocow
null
1427787019
1
t5_2fwo
null
null
null
True
[deleted]
null
110 fps on my ancient 2007 MBP. Oddly it went faster, to 140 fps when I zoomed the window bigger. 8600M GPU on this I believe.
null
0
1319657250
False
0
c2uodij
t3_losip
null
t1_c2uodij
t1_c2uk111
null
1427787033
1
t5_2fwo
null
null
null
True
[deleted]
null
Probably just unsupported - I'm at work, forced to use Win Server on my desk machine. Have to try this at home.
null
0
1319657267
False
0
c2uodlo
t3_losip
null
t1_c2uodlo
t1_c2ukk9s
null
1427787030
1
t5_2fwo
null
null
null
True
[deleted]
null
Those all work just fine in FF Nightly on a 17" 2007 MBP. Here's a nickel kid, get yourself a real computer.
null
0
1319657371
False
0
c2uoe9y
t3_losip
null
t1_c2uoe9y
t1_c2uo2bs
null
1427787035
1
t5_2fwo
null
null
null
True
grauenwolf
null
You don't seen to be understanding what I'm saying. I am not arguing that you should treat model as just dumb data. What I'm saying is that it should contain contain *everything* except calls to external resources. Instead of this layering: UI models services/databases you have this layering UI ...
null
0
1319657444
False
0
c2uoerd
t3_lovjq
null
t1_c2uoerd
t1_c2uo9db
null
1427787039
0
t5_2fwo
null
null
null
True
madmaddison
null
This is one of my biggest pet peeves about google. In just about anything tech related, old results = bad results. I've seen this trip up my friends time and time again. Just change the timeframe from "Any time" to "Past year" in the sidebar and it fixes it about 100% of the time.
null
0
1319657506
False
0
c2uof4z
t3_lpmaq
null
t1_c2uof4z
t3_lpmaq
null
1427787041
7
t5_2fwo
null
null
null
True
[deleted]
null
Wait, Perl 5 and Perl 6 are that much different?
null
0
1319657516
False
0
c2uof7r
t3_lpmaq
null
t1_c2uof7r
t1_c2uo7pu
null
1427787041
3
t5_2fwo
null
null
null
True
grauenwolf
null
Files have been treated as objects in file systems for decades. And with features such as hard links and virtual folders, it is not unreasonable to think of a directory as a view.
null
0
1319657637
False
0
c2uofy0
t3_lo9p9
null
t1_c2uofy0
t1_c2ukm45
null
1427787048
1
t5_2fwo
null
null
null
True
Martel_the_Hammer
null
I have no idea who KeyserSosa is... but FUCK that guy has a big gun.
null
0
1319657704
False
0
c2uogc3
t3_lpjq8
null
t1_c2uogc3
t3_lpjq8
null
1427787053
1
t5_2fwo
null
null
null
True
mithaldu
null
They weren't meant to be in the beginning, but at this point they're so different that Perl 6 counts as an entirely new language.
null
0
1319657738
False
0
c2uogin
t3_lpmaq
null
t1_c2uogin
t1_c2uof7r
null
1427787056
7
t5_2fwo
null
null
null
True
ais523
null
my $reference_to_2d_array = [ [1,2,3], [4,5,6], [7,8,9]]; print $reference_to_2d_array->[2]->[1]; # prints '8' Perl would probably end up simpler if it didn't have array and hash variables, and just stuck entirely with references. (I find array/hash variables useful for short, one-...
null
0
1319657771
False
0
c2uogpw
t3_lpmaq
null
t1_c2uogpw
t1_c2umpuy
null
1427787059
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319657787
False
0
c2uogua
t3_lpmaq
null
t1_c2uogua
t1_c2umpuy
null
1427787061
0
t5_2fwo
null
null
null
True
ais523
null
You don't actually need the eval in Perl either: ${$vitals}[1]='red'; This is, ofc, a really bad way to do things (and can break in interesting ways if $vitals happens to hold a punctuation mark or control code).
null
0
1319657878
False
0
c2uohdx
t3_lpmaq
null
t1_c2uohdx
t1_c2uns5n
null
1427787067
7
t5_2fwo
null
null
null
True
Fix-my-grammar-plz
null
> In fact, whenever a new paradigm has sprung up, Perl was able to easily embrace it with few, if any, core language changes. But hipster Lisp!
null
0
1319657959
False
0
c2uohv0
t3_lpmaq
null
t1_c2uohv0
t1_c2un3ms
null
1427787074
1
t5_2fwo
null
null
null
True
[deleted]
null
Damn my eyes! I read that as "Killer Ideas" and my expectations were cruelly dashed.
null
0
1319657968
False
0
c2uohx1
t3_lpod6
null
t1_c2uohx1
t3_lpod6
null
1427787074
4
t5_2fwo
null
null
null
True
Pxtl
null
Of course. SOAP was obviously going to be a temporary technology when it was implemented. It was supposed to be a simple attempt to standardize XML-RPC. I agree that protocol buffers is the better solution, but at the time "let's standardize XML-RPC and roll with that" was a reasonable approach to trying to get *eve...
null
0
1319658069
False
0
c2uoiiz
t3_lowx8
null
t1_c2uoiiz
t1_c2ulhsy
null
1427787082
2
t5_2fwo
null
null
null
True
ais523
null
C is a rather specific programming language. There are several tasks (mostly low-level things and things where you're running under unusual constraints) for which it's still the best, most appropriate language. There are several more for which it isn't (one-off text processing scripts, for instance), and trying to use ...
null
0
1319658176
False
0
c2uoj7w
t3_lpmaq
null
t1_c2uoj7w
t1_c2um394
null
1427787092
4
t5_2fwo
null
null
null
True
asflierl
null
I just wish you said it like this in your talk and left the provocation part out.
null
0
1319658264
False
0
c2uojrg
t3_lirke
null
t1_c2uojrg
t1_c2tiqzb
null
1427787099
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319658423
False
0
c2uokrr
t3_lol4l
null
t1_c2uokrr
t3_lol4l
null
1427787113
1
t5_2fwo
null
null
null
True
mithaldu
null
> Like Lisp? Your perl code will look a lot like Lisp with sigils added. So very true. I used to write Perl sort of like Pascal, or certain C-Script variants, because i started learning things with those. Then i read the SICP and suddenly my Perl became a lot more LISPy. Closures and map all over the place.
null
0
1319658447
False
0
c2uokx8
t3_lpmaq
null
t1_c2uokx8
t1_c2uoapy
null
1427787115
2
t5_2fwo
null
null
null
True
aaronla
null
The VC compiler supports a form of this in SAL annotations.
null
0
1319658497
False
0
c2uol8d
t3_lol4l
null
t1_c2uol8d
t1_c2unlq5
null
1427787119
1
t5_2fwo
null
null
null
True
Poddster
null
It said the example was to build a table, not specifically build a 2d array indexed by integers, and kryptkpr provided a solution to that. The problem is with the original terrible example.
null
0
1319658555
False
0
c2uolk4
t3_lpmaq
null
t1_c2uolk4
t1_c2umpuy
null
1427787123
1
t5_2fwo
null
null
null
True
jumbox
null
To be fair, Java has 50 keywords. Not that much harder to remember. And if you were to reference all methods and libraries C has, you'd need the Congressional Library to keep all the Yellow Pages. C, in fact any language for that matter, is utterly useless without supporting libraries. I think your criticism should b...
null
0
1319658590
False
0
c2uolqe
t3_lpmaq
null
t1_c2uolqe
t1_c2un6mw
null
1427787125
3
t5_2fwo
null
null
null
True
benjiman
null
> At most I want to deal with one repository per functional area, not per type. Indeed, One per aggregate http://domaindrivendesign.org/node/88
null
0
1319658616
False
0
c2uolw7
t3_lpoeb
null
t1_c2uolw7
t1_c2umrqm
null
1427787128
4
t5_2fwo
null
null
null
True
mithaldu
null
If this is not a troll and you still seriously call it "PERL", then you really don't know anything about it.
null
0
1319658669
False
0
c2uom88
t3_lpmaq
null
t1_c2uom88
t1_c2uo804
null
1427787134
-2
t5_2fwo
null
null
null
True
mattstreet
null
People who "create keygens/patches, hacks for videogames, malware" need to understand C and assembly, most of that stuff is very low level. Whereas if you had said web programming, basic games, math, sorting my email, mp3's - I'd have suggested a higher level scripting language.
null
0
1319658784
False
0
c2uomz3
t3_lpmaq
null
t1_c2uomz3
t1_c2unc1r
null
1427787141
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319658787
False
0
c2uomzw
t3_lpmaq
null
t1_c2uomzw
t1_c2unc1r
null
1427787141
2
t5_2fwo
null
null
null
True
grauenwolf
null
Thank you for that link. It explains exactly what's wrong with my current code base, and more importantly how to fix it.
null
0
1319658865
False
0
c2uonhh
t3_lpoeb
null
t1_c2uonhh
t1_c2uolw7
null
1427787147
3
t5_2fwo
null
null
null
True
drzowie
null
Heh. No, it's more than just indenting your blocks properly -- the syntax is deliberately pruned to yield, wherever possible, exactly one way to do things. That is a design goal of the language - restricting choice. Works great if your problem and/or thinking mode of choice matches the language designer's, clashes b...
null
0
1319658884
False
0
c2uonlj
t3_lpmaq
null
t1_c2uonlj
t1_c2uo3d6
null
1427787148
2
t5_2fwo
null
null
null
True
user246
null
Can the executive branch cease issuing software patents without a mandate from Congress?
null
0
1319658922
False
0
c2uonug
t3_lpxv1
null
t1_c2uonug
t3_lpxv1
null
1427787152
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319658924
False
0
c2uonv4
t3_lol4l
null
t1_c2uonv4
t1_c2ufzfx
null
1427787153
1
t5_2fwo
null
null
null
True
Filmore
null
Funny you would say that. My "real" computer is out of commission right now due to the 4th RMA for bad parts. Do hardware companies ever do a burn-in test?
null
0
1319658971
False
0
c2uoo6q
t3_losip
null
t1_c2uoo6q
t1_c2uoe9y
null
1427787157
1
t5_2fwo
null
null
null
True
a_redditor
null
The whitehouse.gov petition thing is suffering greatly from the fact that it allows literally anyone to submit a "petition", so the petition with the most votes tends to be one of the first ones submitted, and the first ones are generally going to be written hastily and without much scrutiny. It's also pretty safe to ...
null
0
1319658982
True
0
c2uoo92
t3_lpxv1
null
t1_c2uoo92
t1_c2unqn9
null
1427787158
6
t5_2fwo
null
null
null
True
tick113
null
Maybe service is entirely too overloaded. When I imagine a pattern for web development, it shouldn't have anything to say about domain models (model objects or DDD services). A web UI, as with any UI, should simply wrap your business logic (DDD or otherwise).
null
0
1319659003
False
0
c2uood0
t3_lovjq
null
t1_c2uood0
t1_c2uoerd
null
1427787158
1
t5_2fwo
null
null
null
True
Entropy
null
> save for the Encoding crap, I hate that shit and I do not need it either, no matter how many times apologets say it was "required" Handling encoding correctly is absolutely required. Stop being such a solipsist. > You don't see this kind of encoding crap in perl either. *What?* Perl fully supports encoding/u...
null
0
1319659063
False
0
c2uoori
t3_lpmaq
null
t1_c2uoori
t1_c2um7yg
null
1427787163
2
t5_2fwo
null
null
null
True
quotability
null
>What I do need code samples for is to learn how to program in a particular language. Yes, that's what I was talking about. I know how to program in several languages, and I can read programming documentation as well as the next guy, but I do like to read code samples to get a feel for a language, and this is where...
null
0
1319659114
False
0
c2uop36
t3_lpmaq
null
t1_c2uop36
t1_c2unjh7
null
1427787168
2
t5_2fwo
null
null
null
True
douglashunter
null
Yes, let's! Feersum will pre-fork these days, but that's not the mode we run in. We opted for the "wanna make it fast, then don't let it lift anything heavy" brand of optimization. We build an autocomplete index that fits into RAM that the Feersum server can do a hash lookup on and get back a pre-encoded JSON struct...
null
0
1319659184
False
0
c2uopj0
t3_lpwzq
null
t1_c2uopj0
t1_c2unzrm
null
1427787174
1
t5_2fwo
null
null
null
True
nezcarotte
null
This is not assignment but initialization. In C++ this would correspond to the difference in operator= and a constructor.
null
0
1319659184
False
0
c2uopj2
t3_lowdc
null
t1_c2uopj2
t1_c2ujxc8
null
1427787174
1
t5_2fwo
null
null
null
True
mike_ekim
null
I think documentation is good, but I have a slight problem with documenting the obvious, and especially documenting using different terminology: Add a property access to the list. push: (prop) -> @properties.push prop this Why isn't this called "addProperty: (property)" ? That's what the doc says it do...
null
0
1319659245
False
0
c2uopwf
t3_loqpx
null
t1_c2uopwf
t3_loqpx
null
1427787179
1
t5_2fwo
null
null
null
True
Isvara
null
> I've never given Perl a try, and I feel like it's time I should. Did you just arrive here from 1998?
null
0
1319659297
False
0
c2uoq8d
t3_lpmaq
null
t1_c2uoq8d
t1_c2ulvco
null
1427787184
-2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319659399
False
0
c2uoqwh
t3_lq2w1
null
t1_c2uoqwh
t3_lq2w1
null
1428185553
1
t5_2fwo
null
null
null
True
a_redditor
null
This petition was created before the 25,000 threshold was set, so it only needs 5,000 signatures. >SIGNATURES NEEDED BY OCTOBER 23, 2011 TO REACH GOAL OF **5,000**: 0
null
0
1319659500
False
0
c2uorj3
t3_lpxv1
null
t1_c2uorj3
t3_lpxv1
null
1427787203
5
t5_2fwo
null
null
null
True
NotCoffeeTable
null
Another reason people might not like Perl is because its defenders get bitchy about whether it's an acronym (Practical Extraction and Report Language) or proper noun Gospel of Matthew -> Selling everything for a pretty pearl -> Pearl -> Perl. Instead of creating helpful resources.
null
0
1319659609
True
0
c2uos8s
t3_lpmaq
null
t1_c2uos8s
t1_c2uom88
null
1427787210
7
t5_2fwo
null
null
null
True
[deleted]
null
Sure they could but they won't and most of the problem is actually more the openness of the documentation and getting loads of people commenting on pages with very bad information. They either have to invest in good moderation or anger a lot of people and turn that off and possibly write more documentation themselves. ...
null
0
1319659722
False
0
c2uosyk
t3_lpmaq
null
t1_c2uosyk
t1_c2uns2o
null
1427787221
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
It's not meaningless, because > You get the advantage of (optional) flexibility and power on top [of the shell] For instance, I've written [a tool](https://github.com/xiongchiamiov/ticket/blob/master/ticket.py) that allows me to do some fancy screen/git integration while working inside a git-svn checkout. I do thi...
null
0
1319659730
False
0
c2uot07
t3_lobf3
null
t1_c2uot07
t1_c2unmug
null
1427787221
2
t5_2fwo
null
null
null