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
xiongchiamiov
null
> In anything else you're barely done importing your libraries / modules. No, in a proper scripting language that's... the same number of lines, since you can just `exec` stuff. You get the advantage of (optional) flexibility and power on top on that, though.
null
0
1319592595
False
0
c2uh2zb
t3_lobf3
null
t1_c2uh2zb
t1_c2ufvzb
null
1427783504
1
t5_2fwo
null
null
null
True
grauenwolf
null
I used to agree with them, violently so in fact. Now I better understand what I gave up by using the active record pattern. The problem I just couldn't get past is async saves and loads. Threading callbacks through every single save and load was just too painful. I didn't even get started on the methods that lazy-load...
null
0
1319592597
False
0
c2uh2zq
t3_lovjq
null
t1_c2uh2zq
t1_c2ugzkx
null
1427783504
3
t5_2fwo
null
null
null
True
[deleted]
null
I think Objective-C's actually a very simple language. The frameworks and Interface Builder have some complexity and detail to them, but all in all I think it's far easier to learn than C++.
null
0
1319592730
False
0
c2uh3nf
t3_lohrk
null
t1_c2uh3nf
t1_c2ue9kk
null
1427783514
4
t5_2fwo
null
null
null
True
plouj
null
Seems like the author actually needs to [read it](http://beej.us/guide/bgnet/output/html/multipage/index.html).
null
0
1319592747
False
0
c2uh3qo
t3_lowdc
null
t1_c2uh3qo
t1_c2ufmxy
null
1427783523
1
t5_2fwo
null
null
null
True
xiongchiamiov
null
> $ cat package.json | json_parse Been a while since I've seen a good [UUOC](http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat).
null
0
1319592751
False
0
c2uh3rc
t3_lobf3
null
t1_c2uh3rc
t3_lobf3
null
1427783523
1
t5_2fwo
null
null
null
True
dmwit
null
I think webmasters (are they even still called that) learned their lesson from Flash. We don't need to learn it again, even if a new, superior backend technology arises.
null
0
1319592815
False
0
c2uh43a
t3_losip
null
t1_c2uh43a
t1_c2uewfj
null
1427783532
1
t5_2fwo
null
null
null
True
btreecat
null
My laptop runs archlinux, which runs several webkit based browsers. Netflix y u still no work?
null
0
1319592820
False
0
c2uh441
t3_lnkuf
null
t1_c2uh441
t3_lnkuf
null
1427783532
1
t5_2fwo
null
null
null
True
akmark
null
Why don't you just implement the AbstractAttendeeFactory? Anyway it's really cool you are doing this, and its too bad that Nashville is too far for me to attend.
null
0
1319592879
False
0
c2uh4er
t3_lorje
null
t1_c2uh4er
t1_c2uevcd
null
1427783536
2
t5_2fwo
null
null
null
True
tau-lepton
null
Um, active resource not active record. http://rails.rubyonrails.org/classes/ActiveResource/Base.html
null
0
1319593094
False
0
c2uh5io
t3_lovjq
null
t1_c2uh5io
t1_c2uh2zq
null
1427783542
1
t5_2fwo
null
null
null
True
washort
null
Scheme was still a research language in 1985, hardly 10 years old; presumably RMS didn't feel like it was a good choice at the time. Wish he had, though.
null
0
1319593177
False
0
c2uh5yt
t3_lotys
null
t1_c2uh5yt
t1_c2ugxph
null
1427783546
8
t5_2fwo
null
null
null
True
Sabe
null
Just because your test cases are described as strings it doesn't mean that's BDD. Hell, how can you test components in a business oriented way?
null
0
1319593360
True
0
c2uh6vk
t3_lossc
null
t1_c2uh6vk
t3_lossc
null
1427783556
1
t5_2fwo
null
null
null
True
tau-lepton
null
I delete them when possible, no one complains.
null
0
1319593432
False
0
c2uh78b
t3_lorvb
null
t1_c2uh78b
t1_c2uf0rn
null
1427783560
2
t5_2fwo
null
null
null
True
xiongchiamiov
null
First, because that's not actually Python's philosophy; it's "There should be one-- and preferably only one --obvious way to do it.". Secondly, because we're talking about *philosophies of languages*, not facts of the universe. If Smalltalk is right in saying that everything is an object, how can C even exist?
null
0
1319593490
False
0
c2uh7jb
t3_loy44
null
t1_c2uh7jb
t1_c2ugvu5
null
1427783569
7
t5_2fwo
null
null
null
True
BinaryRockStar
null
Microsoft development tools have been able to split a window into two panes for at least a decade. In fact I just tried with Visual C++ 6 (released 1994?) and you can split a single window into four panes or two with the option of side-by-side or top-and-bottom.
null
0
1319593633
False
0
c2uh8ar
t3_lorvb
null
t1_c2uh8ar
t1_c2ufcxn
null
1427783580
1
t5_2fwo
null
null
null
True
roflmaoff
null
I worked briefly on a C# application where the developers seemed to think it's OK to have classes with ~15,000 LOC containing few (mostly copy-pasted) methods divided by regions.
null
0
1319593658
False
0
c2uh8f7
t3_lorvb
null
t1_c2uh8f7
t1_c2ugi4v
null
1427783585
1
t5_2fwo
null
null
null
True
mfarah
null
It meant something along the lines of systems being configurable with something like a .properties file, as opposed to having the critical values hardcoded in the source code.
null
0
1319593711
False
0
c2uh8pb
t3_ln1tg
null
t1_c2uh8pb
t1_c2ufzku
null
1427783579
1
t5_2fwo
null
null
null
True
uriel
null
Just use [Go](http://golang.org).
null
0
1319593927
False
0
c2uh9vy
t3_llz44
null
t1_c2uh9vy
t1_c2ty1aa
null
1427783596
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319593960
False
0
c2uha1y
t3_llx97
null
t1_c2uha1y
t1_c2u0iyx
null
1427783597
-1
t5_2fwo
null
null
null
True
b0b0b0b
null
if you see this "FS ERROR: ERROR: 0:5: 'webgl_emu_precision' : syntax error syntax error ERROR: Parser found no code to compile in source strings." Then try this: #ifdef GL_ES precision highp float; #endif uniform float time; uniform vec2 resolution; uniform vec4 mouse; uniform sampler2D ...
null
0
1319594369
False
0
c2uhc4y
t3_losip
null
t1_c2uhc4y
t3_losip
null
1427783626
1
t5_2fwo
null
null
null
True
roflmaoff
null
Part2 here: http://www.linuxjournal.com/node/6226/print
null
0
1319594453
False
0
c2uhclk
t3_lp6gt
null
t1_c2uhclk
t3_lp6gt
null
1427783631
1
t5_2fwo
null
null
null
True
Pxtl
null
Sad, because the basic idea is sound - tunnel web services over HTTP (an ugly workaround, but a necessary one because of stupid HTTP-oriented infrastructure and frankly I think HTTP verbs are overrated), use text to avoid bytecode and make the messages barely-readible, and provide a schema system so that the client can...
null
0
1319594572
False
0
c2uhd70
t3_lowx8
null
t1_c2uhd70
t1_c2ugvax
null
1427783640
0
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319594703
False
0
c2uhdwz
t3_lovjq
null
t1_c2uhdwz
t1_c2ugnqu
null
1427783649
2
t5_2fwo
null
null
null
True
[deleted]
null
That's the least persuasive evangelism I've ever seen.
null
0
1319594730
False
0
c2uhe1p
t3_llz44
null
t1_c2uhe1p
t1_c2uh9vy
null
1427783660
1
t5_2fwo
null
null
null
True
magicmalthus
null
http://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html works in Firefox as of Firefox 8, as well. edit: oh yeah, the image needs the right header, too :) http://enable-cors.org/
null
0
1319594935
False
0
c2uhf45
t3_losip
null
t1_c2uhf45
t1_c2uf2z8
null
1427783666
5
t5_2fwo
null
null
null
True
grauenwolf
null
While I am grateful for the link this still looks suspiciously like the active record pattern (not to be confused with the Ruby library by the same name). The real kicker is whether items nest or if you can only save the top of the object graph.
null
0
1319595190
False
0
c2uhghj
t3_lovjq
null
t1_c2uhghj
t1_c2uh5io
null
1427783682
1
t5_2fwo
null
null
null
True
thisisaslongasitcanb
null
Gun's, a gazillion features and still suck at preventing innocent people getting shot in the face.
null
0
1319595298
False
0
c2uhh37
t3_lol4l
null
t1_c2uhh37
t3_lol4l
null
1427783700
8
t5_2fwo
null
null
null
True
MachinShin2006
null
you still at work? post his twitter! :)
null
0
1319595463
False
0
c2uhhyc
t3_ln1tg
null
t1_c2uhhyc
t1_c2uh8pb
null
1427783705
1
t5_2fwo
null
null
null
True
Pxtl
null
You never worked with bytecode-based protocols. Dealing with fixed-widths and datatypes and everything was a nightmare - it's a hundred times more brittle than XML (which isn't exactly Mr. Fantastic itself), the textbook example of premature optimization. Starting with XML made sense since everybody felt good about X...
null
0
1319595537
False
0
c2uhict
t3_lowx8
null
t1_c2uhict
t1_c2ugtpi
null
1427783710
12
t5_2fwo
null
null
null
True
xxarg
null
I would guess it would be from the inclusion of [CEDET](http://cedet.sourceforge.net/) in Emacs 23.2
null
0
1319595551
False
0
c2uhig6
t3_lotys
null
t1_c2uhig6
t1_c2ufhb2
null
1427783712
11
t5_2fwo
null
null
null
True
pipeep
null
[Pastie.](http://pastie.org)
null
0
1319595584
False
0
c2uhinj
t3_losip
null
t1_c2uhinj
t1_c2ug8sa
null
1427783715
5
t5_2fwo
null
null
null
True
Ciph3r_
null
Ha if only I could. The group's about a year old since being reincarnated by a few guys and I'm doing what I can to help it grow. We had a little over a dozen last month and the presentations are picking up with attendance, so I'm doing my best to keep it going.
null
0
1319595698
False
0
c2uhj9b
t3_lorje
null
t1_c2uhj9b
t1_c2uh4er
null
1427783724
1
t5_2fwo
null
null
null
True
neon_overload
null
What is this sorcery
null
0
1319595743
False
0
c2uhjic
t3_losip
null
t1_c2uhjic
t3_losip
null
1427783728
6
t5_2fwo
null
null
null
True
tau-lepton
null
Depends on how you write your model classes.
null
0
1319596060
False
0
c2uhl7r
t3_lovjq
null
t1_c2uhl7r
t1_c2uhghj
null
1427783748
1
t5_2fwo
null
null
null
True
nyeholt
null
Says who? The simplest definition of "Model" that I relate to is >The model manages the behavior and data of the application domain which a Service (think Spring definition of what a 'service' is) layer falls under. But yes, external resources are outside the domain of the architecture
null
0
1319596086
False
0
c2uhlcj
t3_lovjq
null
t1_c2uhlcj
t1_c2ug2tp
null
1427783751
1
t5_2fwo
null
null
null
True
tekn0viking
null
Who the hell dosed me?
null
0
1319596140
False
0
c2uhlmt
t3_losip
null
t1_c2uhlmt
t1_c2ufnt2
null
1427783755
2
t5_2fwo
null
null
null
True
tick113
null
> So, a fat controller. I fear "fat controller" is redundant. Controllers are very course grained, a service would be more finely grained so that they are more useful. Services are small and composable. Again, limitations of web development make the pure MVC unrealistic. In a traditional MVC implementation, cha...
null
0
1319596150
False
0
c2uhlou
t3_lovjq
null
t1_c2uhlou
t1_c2uhdwz
null
1427783756
-1
t5_2fwo
null
null
null
True
super__mario
null
Over million lines of LISP? Emacs is going to become self-aware soon :D.
null
0
1319596251
False
0
c2uhm7m
t3_lotys
null
t1_c2uhm7m
t3_lotys
null
1427783761
21
t5_2fwo
null
null
null
True
dominictarr
null
that wouldn't be valid json unless it was "\\\\", what json implementation are you used to that allows "\" as a valid string? edit: just realized that there is some weirdness with escapes in redit comments...
null
0
1319596373
True
0
c2uhmws
t3_lobf3
null
t1_c2uhmws
t1_c2ug0iq
null
1427783769
2
t5_2fwo
null
null
null
True
Brillegeit
null
I get it now, I got hung up on the «east» part as you would experience the same going west. Or north or in a circle and back to the same spot.
null
0
1319596490
False
0
c2uhnki
t3_ln1tg
null
t1_c2uhnki
t1_c2uc6mz
null
1427783775
1
t5_2fwo
null
null
null
True
TheNelson69
null
Jetbrains has a little bit different model for the IDE user's code, build, test cycle. Well, maybe the model isn't different but their dev cycle just seems to really click with some developers. Their refactoring (at least with IDEA and PyCharm) are in a league of their own. Code navigation is wonderful once you pi...
null
0
1319596513
False
0
c2uhnof
t3_lohrk
null
t1_c2uhnof
t1_c2ubwo5
null
1427783777
1
t5_2fwo
null
null
null
True
jashkenas
null
Ha. You even linked to what is by *far* the most nasty and convoluted bit of the compiler ... JS code generation and AST manipulation. Some of the clearer bits are [the lexical scope implementation](http://jashkenas.github.com/coffee-script/documentation/docs/scope.html) and the [grammar](http://jashkenas.github.com/co...
null
0
1319596590
False
0
c2uho3q
t3_loqpx
null
t1_c2uho3q
t3_loqpx
null
1427783781
17
t5_2fwo
null
null
null
True
cowardlydragon
null
I considered linking this exact article when writing the post.
null
0
1319596735
False
0
c2uhowi
t3_lowx8
null
t1_c2uhowi
t1_c2ugvax
null
1427783791
6
t5_2fwo
null
null
null
True
anarchotroll
null
I know, but is there a keyboard shortcut that allows you to do that? Using the mouse is pretty annoying.
null
0
1319596792
False
0
c2uhp70
t3_lorvb
null
t1_c2uhp70
t1_c2uh8ar
null
1427783795
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319596842
False
0
c2uhphm
t3_losip
null
t1_c2uhphm
t1_c2ufnt2
null
1427783799
3
t5_2fwo
null
null
null
True
anarchotroll
null
Besides, why did you bother yourself trying it on Visual Studio C++ 6? I don't know if you got me wrong, but I wasn't trying to turn this into a "Microsoft vs Linux" discussion/war. I couldn't care less about that. I use whatever tool/software I like the most regardless of "religion". I actually think C# is one of th...
null
0
1319597022
False
0
c2uhqfl
t3_lorvb
null
t1_c2uhqfl
t1_c2uh8ar
null
1427783818
1
t5_2fwo
null
null
null
True
cowardlydragon
null
If you're using XML as the message format, it's meant to be readable and writable at a minimal level. Otherwise there's much more space and parse-efficient barely-readable text formats that don't have tag label overheads or whitespace rules. Even self-documenting/parsing ones that could self-describe the structure an...
null
0
1319597073
False
0
c2uhqoy
t3_lowx8
null
t1_c2uhqoy
t1_c2uglbg
null
1427783815
9
t5_2fwo
null
null
null
True
cashto
null
Looks pretty, but other than being hoisted over to the side and rendered in a nice font, they're still mostly just function headers -- which is really just a minor step up from useless interlinear translations of otherwise perfectly readable code. If I were tasked with adding a new piece of syntax -- well, some commen...
null
0
1319597125
False
0
c2uhqym
t3_loqpx
null
t1_c2uhqym
t3_loqpx
null
1427783819
8
t5_2fwo
null
null
null
True
katatonico
null
It's not the languages per-se that suck. It's the way they are used (arguably making such mistakes easier can be considered suckish, though). Buffer overflows can be checked with safe containers in C++. Checks are optional by design. Numeric conversions can be safe, too, using constructs such as the ones seen in [Boo...
null
0
1319597228
False
0
c2uhrhj
t3_lol4l
null
t1_c2uhrhj
t3_lol4l
null
1427783826
0
t5_2fwo
null
null
null
True
yogthos
null
Wouldn't hold my breath seeing how it's Java based, XCode runs circles around Eclipse on my machine, and I can't imagine App Code is gonna be any different.
null
0
1319597342
False
0
c2uhs1i
t3_lohrk
null
t1_c2uhs1i
t1_c2ugtsw
null
1427783833
5
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319597382
False
0
c2uhsan
t3_loy44
null
t1_c2uhsan
t3_loy44
null
1427783836
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319597385
False
0
c2uhsbg
t3_loy44
null
t1_c2uhsbg
t3_loy44
null
1427783836
2
t5_2fwo
null
null
null
True
cowardlydragon
null
Java? Buffer overflows? Sure an obscure security flaw or two in the JVM... And integer math is somewhat protected. You can overflow number variables, but it doesn't start overwriting neighboring memory. There's no pointer arithmetic. Does this guy know what he's talking about?
null
0
1319597583
False
0
c2uhtby
t3_lol4l
null
t1_c2uhtby
t3_lol4l
null
1427783849
7
t5_2fwo
null
null
null
True
sltkr
null
That seems rather pointless. P99_DECLARE_UNION(orwl_addr); union orwl_addr { /* contents */ }; Is just as redundant and already longer than: typedef union orwl_addr { /* contents */ } orwl_addr; And if you are only interested in using the type name (not the union name) then you can shorted that to: ...
null
0
1319597593
False
0
c2uhte4
t3_lowdc
null
t1_c2uhte4
t1_c2ug811
null
1427783849
2
t5_2fwo
null
null
null
True
alphazero924
null
How do you watch porn in text?
null
0
1319597720
False
0
c2uhu37
t3_losip
null
t1_c2uhu37
t1_c2uf9bs
null
1427783863
4
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319597841
False
0
c2uhup1
t3_lh6d1
null
t1_c2uhup1
t3_lh6d1
null
1427783867
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319597859
False
0
c2uhusl
t3_lowx8
null
t1_c2uhusl
t1_c2uhqoy
null
1427783869
0
t5_2fwo
null
null
null
True
bcain
null
"It's easier to ask for forgiveness than it is to get permission" -- Rear Admiral Hopper
null
0
1319598027
False
0
c2uhvoh
t3_lodu5
null
t1_c2uhvoh
t1_c2ubfct
null
1427783881
5
t5_2fwo
null
null
null
True
jtxx000
null
If you release your code under the BSD license, there's nothing to prevent someone else from making proprietary changes and releasing the modified version under a nonfree license. The GPL tries to maximize freedom by preventing this.
null
0
1319598316
False
0
c2uhx9g
t3_llw0s
null
t1_c2uhx9g
t1_c2u10yb
null
1427783901
1
t5_2fwo
null
null
null
True
bcain
null
Peace, brother. It took me a second to understand your point, so take pity on the uninformed: can you direct me to TFM or some examples of best practices?
null
0
1319598494
False
0
c2uhy92
t3_lowdc
null
t1_c2uhy92
t1_c2ufbjy
null
1427783913
3
t5_2fwo
null
null
null
True
BinaryRockStar
null
I've got every Microsoft development tool from Visual C++ 1.5 up to Visual Studio 2010 installed on my work machine. Took me all of five seconds to open it up.
null
0
1319598557
False
0
c2uhyl9
t3_lorvb
null
t1_c2uhyl9
t1_c2uhqfl
null
1427783919
1
t5_2fwo
null
null
null
True
BinaryRockStar
null
Most menus in Windows can be activated by pressing Alt and whichever letter they have underlined. In the case of the Window->Split option in VS 2010, it's Alt+w,p.
null
0
1319598652
False
0
c2uhz34
t3_lorvb
null
t1_c2uhz34
t1_c2uhp70
null
1427783925
2
t5_2fwo
null
null
null
True
anarchotroll
null
Out of curiosity: why do you have all those tools installed?
null
0
1319598665
False
0
c2uhz5u
t3_lorvb
null
t1_c2uhz5u
t1_c2uhyl9
null
1427783926
1
t5_2fwo
null
null
null
True
mattindustries
null
Some 3rd grader called and wants her retort back.
null
0
1319598902
False
0
c2ui0gk
t3_losip
null
t1_c2ui0gk
t1_c2ugjxm
null
1427783947
6
t5_2fwo
null
null
null
True
mr_chromatic
null
Everything *is* an object in C. Problem is, the ultimate superclass is "A hunk of memory", the only message it responds to is `become`, and the closest thing you have to a browser is the kernel.
null
0
1319598999
False
0
c2ui0z1
t3_loy44
null
t1_c2ui0z1
t1_c2uh7jb
null
1427783950
2
t5_2fwo
null
null
null
True
BinaryRockStar
null
I support applications that use each of those environments along with Adobe Flex/Flash Builder for Flex work, and Eclipse and IntelliJ IDEA for Java stuff which I have only been doing recently. For some of the applications there is no reason to upgrade to a later IDE and for most of them there is physically no way e.g...
null
0
1319599165
False
0
c2ui1va
t3_lorvb
null
t1_c2ui1va
t1_c2uhz5u
null
1427783960
1
t5_2fwo
null
null
null
True
eurleif
null
> (which requires additional knowledge or time to look up steps involved) gcc -o jsonthing jsonthing.c Not exactly a big deal.
null
0
1319599188
False
0
c2ui1zq
t3_lobf3
null
t1_c2ui1zq
t1_c2uek63
null
1427783962
5
t5_2fwo
null
null
null
True
imaginaryredditor
null
I'm confused, I thought the reason that graphics is an "embarrassingly parallel problem" is precisely because it's all matrix multiplies?
null
0
1319599446
False
0
c2ui3dh
t3_lnckx
null
t1_c2ui3dh
t1_c2u9zk9
null
1427783981
1
t5_2fwo
null
null
null
True
Testiclese
null
I'll try my best not to be a dick here, but why would I pay $149 for this when XCode is free? However, it's nice to see Apple getting *some* competition in their own backyard.
null
0
1319599501
False
0
c2ui3ou
t3_lohrk
null
t1_c2ui3ou
t3_lohrk
null
1427783986
6
t5_2fwo
null
null
null
True
unique9998
null
Ok ok.... stale meme is stale.
null
0
1319599613
False
0
c2ui4ao
t3_losip
null
t1_c2ui4ao
t1_c2ui0gk
null
1427783994
2
t5_2fwo
null
null
null
True
[deleted]
null
We should get to work on that.
null
0
1319599904
False
0
c2ui5te
t3_lol4l
null
t1_c2ui5te
t1_c2uhh37
null
1427784015
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319599964
False
0
c2ui64i
t3_lh611
null
t1_c2ui64i
t3_lh611
null
1427784018
1
t5_2fwo
null
null
null
True
Jazzertron
null
I was confused until I clicked on the image. Then I was all like WOOOOOOOOAAAHHHH
null
0
1319599977
False
0
c2ui66q
t3_losip
null
t1_c2ui66q
t3_losip
null
1427784020
0
t5_2fwo
null
null
null
True
nexes300
null
No, it's because you can render each pixel in isolation of the other pixels (in some forms of rendering). Matrix multiplication is by far the lesser part of graphics (and I don't think your graphics card is amazing at it anyways). The whole reason SLI works is because of this embarrassingly parallel nature. You give h...
null
0
1319600139
False
0
c2ui70t
t3_lnckx
null
t1_c2ui70t
t1_c2ui3dh
null
1427784035
1
t5_2fwo
null
null
null
True
zwaldowski
null
Meh.
null
0
1319600153
False
0
c2ui73p
t3_lohrk
null
t1_c2ui73p
t3_lohrk
null
1427784030
0
t5_2fwo
null
null
null
True
osushkov
null
I never said Ada was a bad language. But you also have to consider the entire ecosystem when looking for reasons a given language is used more widely than another. Firstly, it is much easier to find C/C++ programmers than Ada programmers. Secondly, the toolchain support for C/C++ (everything from compilers, IDE's and s...
null
0
1319600264
False
0
c2ui7nx
t3_lol4l
null
t1_c2ui7nx
t1_c2ugq4g
null
1427784039
3
t5_2fwo
null
null
null
True
johnw188
null
See, this is more what I was looking for. Thanks a bunch! That covers a lot of my pain points with xCode.
null
0
1319600371
False
0
c2ui88i
t3_lohrk
null
t1_c2ui88i
t1_c2uexil
null
1427784045
2
t5_2fwo
null
null
null
True
ezyang
null
They're more complex, but you don't have to prove that the programs are correct... (usually all you have to do is convince the termination checker that it terminates.)
null
0
1319600569
False
0
c2ui99s
t3_lol4l
null
t1_c2ui99s
t1_c2ugn45
null
1427784062
2
t5_2fwo
null
null
null
True
[deleted]
null
Its been a while, but shouldn't it look more like subtype CulticInt is Integer range 0 .. 255; X : CulticInt := 0; ... for I in Integer range 0 .. 128 loop X := X + 4; end loop; Anyway, I assume a dynamic check will be inserted (or the type checker is fairly smart)?
null
0
1319600854
False
0
c2uiar6
t3_lol4l
null
t1_c2uiar6
t1_c2uglyl
null
1427784078
2
t5_2fwo
null
null
null
True
gonemad16
null
easy to miss with the amount of documentation they have total
null
0
1319600890
False
0
c2uiax2
t3_lopj1
null
t1_c2uiax2
t1_c2ue7gh
null
1427784081
1
t5_2fwo
null
null
null
True
burito
null
It's not about how much ATI's drivers suck (they do), my point is how there are now no video drivers for ATI *or* Nvidia on what is supposed to be the linux distro you give to linux newbies. At least, the plan at 11.04's release was no X shipping with 11.10. Whether or not they've done it this version, it's a linux d...
null
0
1319600893
False
0
c2uiaxo
t3_lnygm
null
t1_c2uiaxo
t1_c2ufxks
null
1427784081
1
t5_2fwo
null
null
null
True
rafekett
null
Any idea of if/when we'll see your rewritten OCaml stdlib?
null
0
1319600911
False
0
c2uib11
t3_loxhc
null
t1_c2uib11
t3_loxhc
null
1427784082
2
t5_2fwo
null
null
null
True
alecco
null
That's missing the article's point. The concept is to show the power of C99 macros to simplify code. The program code using those macros can do be something simple and readable like: orwl_addr const nameserver[] = { ORWL_IN4_INITIALIZER(ORWL_IN4_ADDR(193, 51, 208, 13), ORWL_IN4_PORT(53)), ORWL_IN4_INI...
null
0
1319600918
False
0
c2uib2t
t3_lowdc
null
t1_c2uib2t
t1_c2ufbjy
null
1427784084
1
t5_2fwo
null
null
null
True
redalastor
null
> Yes, please, give me a language-specific By language specific, you mean using the datatypes which are the lingua franca of every dynamic language, right? > pseudo-format if you ignore the standard > for which I have to roll my own parser/interpreter just to use it if you ignore that nearly every languag...
null
0
1319600928
False
0
c2uib4h
t3_lowx8
null
t1_c2uib4h
t1_c2uhusl
null
1427784084
10
t5_2fwo
null
null
null
True
rjw_at
null
How do you mean a single flat rectangle? Like a sky-box? Ultimately everything is rendered to a single flat rectangle: the screen. Here's an example of 4-neighbor cellular automata w/ GLSL: http://hamatsahi.com/cells/
null
0
1319601284
False
0
c2uicy7
t3_lofem
null
t1_c2uicy7
t1_c2uemnz
null
1427784107
1
t5_2fwo
null
null
null
True
jrochkind
null
So wouldn't this same line of argument apply to the Service layer in OP too? Is the Service layer in OP a combined data+access-mechanism layer, subject to the same problems you list.... or is there really a separate Model layer there too, making it actually SVMF? If we're talking about adding a fourth layer for acc...
null
0
1319601441
False
0
c2uidra
t3_lovjq
null
t1_c2uidra
t1_c2ugz0q
null
1427784117
4
t5_2fwo
null
null
null
True
vee-eye
null
You're right. I know Git better than other (d)VCS, so I'll speak about that. Here is the final image, slightly rearranged from the article: [Git reality](http://i.imgur.com/FHe6O.png) . In Git, a branch is simply a very lightweight pointer to the last commit on the branch, so it makes sense to put the labels on the r...
null
0
1319601531
False
0
c2uie8c
t3_lnyyw
null
t1_c2uie8c
t1_c2u9uj7
null
1427784128
1
t5_2fwo
null
null
null
True
fiatlux
null
Who can read that shit? Too many god damn parentheses. On the other hand, they do look like vaginas. ()
null
0
1319601736
False
0
c2uif8h
t3_lotys
null
t1_c2uif8h
t1_c2uhm7m
null
1427784137
-41
t5_2fwo
null
null
null
True
holyteach
null
AFAIK, Perl is still quite a bit faster than Ruby. I really do love Ruby's syntax, though. At the moment I'm maintaining quite a bit of old Perl code, but any new scripting code I write is in Python. I don't like the syntax as well as Ruby's, but when I go back to read code I wrote 3 years ago, the Python code is a lo...
null
0
1319601799
False
0
c2uifke
t3_loy44
null
t1_c2uifke
t1_c2ufjzx
null
1427784141
2
t5_2fwo
null
null
null
True
anarchotroll
null
Neat, just gave it a try. Thanks for the tip.
null
0
1319601805
False
0
c2uiflh
t3_lorvb
null
t1_c2uiflh
t1_c2uhz34
null
1427784141
2
t5_2fwo
null
null
null
True
flukus
null
>Keeping the data access out of the Models allows you to write unit tests without resorting to dependency injection, IoC containers, mocking libraries, and all that other junk. If anything I would have thought it makes it harder. It's pretty hard to do DI with anything resembling active record.
null
0
1319601978
False
0
c2uigh7
t3_lovjq
null
t1_c2uigh7
t1_c2ugz0q
null
1427784159
2
t5_2fwo
null
null
null
True
pi3832v2
null
Four years ago. X-posted from some random BBS.
null
0
1319602196
False
0
c2uihij
t3_lp89n
null
t1_c2uihij
t3_lp89n
null
1427784166
1
t5_2fwo
null
null
null
True
jrochkind
null
> Cut out the middle-man, let the view dictate what it needs, instead of both the controller and the view worrying about it. The wikipedia article on MVC says "A view queries the model in order to generate an appropriate user interface" I think perhaps MVC has been done in some significant variations. Which I gues...
null
0
1319602351
False
0
c2uiiax
t3_lovjq
null
t1_c2uiiax
t1_c2uhlou
null
1427784186
4
t5_2fwo
null
null
null
True
grauenwolf
null
> So wouldn't this same line of argument apply to the Service layer in OP too? Yep, which is why I don't believe in trying to unit test service code. Instead I push as much business logic as possible down into the model/business object layer where I can control all of the variables.
null
0
1319602453
False
0
c2uiitz
t3_lovjq
null
t1_c2uiitz
t1_c2uidra
null
1427784186
2
t5_2fwo
null
null
null
True
grauenwolf
null
I don't know about Ruby's ActiveRecord, but in .NET or Java it isn't hard. You just need a thin wrapper around whatever calls the stored proc. Once you have that you can easily swap out the real DB call with a fake one that returns a creditable record set. DI makes doing this easier, but not as easy as keeping the bus...
null
0
1319602515
False
0
c2uij4l
t3_lovjq
null
t1_c2uij4l
t1_c2uigh7
null
1427784190
3
t5_2fwo
null
null
null
True
jrochkind
null
Interestingly, the wikipedia article on MVC also says: > The model is not necessarily merely a database; the 'model' in MVC is both the data and the business/domain logic needed to manipulate the data in the application. Many applications use a persistent storage mechanism such as a database to store data. MVC does...
null
0
1319602689
False
0
c2uik13
t3_lovjq
null
t1_c2uik13
t1_c2ugz0q
null
1427784199
3
t5_2fwo
null
null
null
True
grauenwolf
null
If you have service calls in your model, then why even have a controller or view-model?
null
0
1319602751
False
0
c2uikc2
t3_lovjq
null
t1_c2uikc2
t1_c2uhl7r
null
1427784205
2
t5_2fwo
null
null
null
True
arstin
null
I think it would be a poor choice for CS101 even with inspired and capable students. It's great that Perl supports about every language feature you could want to play with, but many of those concepts come with a lot of syntactic baggage in Perl. DWIM and TIMTOWTDI both make teaching concepts harder than they should be....
null
0
1319602803
False
0
c2uikkq
t3_lnevu
null
t1_c2uikkq
t1_c2udkyc
null
1427784206
2
t5_2fwo
null
null
null
True
grauenwolf
null
You seem to be well aware of the horrors of CORBA. Are you also aware of the pain that was DCOM? Compared to what I was using at the time the only sane options were SOAP or hand-parsed text formats over HTTP.
null
0
1319602887
False
0
c2uil0g
t3_lowx8
null
t1_c2uil0g
t1_c2uhqoy
null
1427784212
3
t5_2fwo
null
null
null
True
jrochkind
null
> don't believe in trying to unit test service code. Instead I push as much business logic as possible down into the model/business object layer Aha, so you do have a four-layer thing going on? It's not SVF, it's SVMF? Cause the "model/business object layer" is not part of the Service, View, or Flow layer, right?...
null
0
1319602944
False
0
c2uilaa
t3_lovjq
null
t1_c2uilaa
t1_c2uiitz
null
1427784215
2
t5_2fwo
null
null
null
True
nepidae
null
Interesting. Click on it for a random reason. Oh god that is sweet.
null
0
1319603049
False
0
c2uiltd
t3_losip
null
t1_c2uiltd
t3_losip
null
1427784227
2
t5_2fwo
null
null
null