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
[deleted]
null
[deleted]
null
0
1319019622
False
0
c2soqzw
t3_lhcni
null
t1_c2soqzw
t3_lhcni
null
1427752454
1
t5_2fwo
null
null
null
True
[deleted]
null
[A mathematicians reality, perhaps.](http://www.imdb.com/title/tt0138704/)
null
0
1319019623
False
0
c2sor03
t3_lh1ly
null
t1_c2sor03
t1_c2sntxh
null
1427752454
2
t5_2fwo
null
null
null
True
deong
null
And that's why we can't have nice things. :) Seriously, if people can manage to convince themselves to simultaneously (a) prefer a magic number over a meaningful constant that's actually defined as part of the language, (b) abuse the flexibility of the type system horribly to enable them to do so, and (c) force themse...
null
0
1319019853
False
0
c2sore4
t3_lg59j
null
t1_c2sore4
t1_c2so4ee
null
1427752459
1
t5_2fwo
null
null
null
True
julesjacobs
null
Racket is a variant of Scheme, much like Java and C#, and Python and Ruby are variants of each other. That is, there are considerable differences between Racket and other Schemes.
null
0
1319020147
False
0
c2sory4
t3_lgn04
null
t1_c2sory4
t1_c2snwm5
null
1427752466
2
t5_2fwo
null
null
null
True
schot
null
Last time I checked memcpy wasn't a varags function. \_kst\_ is right, if `(void *)` and `(int *)` have a different size or representation you're in trouble. Although I suspect the DeathStation 9000 is the only machine where this is the case.
null
0
1319020151
False
0
c2soryf
t3_lgfp0
null
t1_c2soryf
t1_c2sng8h
null
1427752466
3
t5_2fwo
null
null
null
True
kaaskop42
null
> Publishing stuff is evil That... that... Look, I.A.N.A.L., but that is possibly the retardedest things I've ever heard. Pray, according to which moral code is publishing evil?
null
0
1319020256
False
0
c2sos60
t3_lgwpf
null
t1_c2sos60
t1_c2soo50
null
1427752468
7
t5_2fwo
null
null
null
True
Koreija
null
Curl has globbing: curl -O "http://twimgs.com/ddj/abrashblackbook/gpbb{,intr,pt1,pt2,aftr,indx}.pdf" -O "http://twimgs.com/ddj/abrashblackbook/gpbb[0-70].pdf"
null
0
1319020273
True
0
c2sos78
t3_lgwpf
null
t1_c2sos78
t1_c2sofdf
null
1427752468
3
t5_2fwo
null
null
null
True
sidneyc
null
You are absolutely right. For two implementations with unsigned-long bits equal to 'na' and 'nb' (na >= nb), the lower 'nb' bits of 'next' will be identical on both implementations. Since only bits 31..16 are ever returned, and nb >= 32, the behavior is as-if nb only has 31 bits, even though the state is larger ...
null
0
1319020564
False
0
c2sosrn
t3_lfsfk
null
t1_c2sosrn
t1_c2snuti
null
1427752472
1
t5_2fwo
null
null
null
True
[deleted]
null
For what it's worth, here's what Alexander Stepanov has to say on the subject: > While we could make a member function to return length, it is better to make it a global friend function. If we do that, we will be able eventually to define the same function to work on built-in arrays and achieve greater uniformity o...
null
0
1319020607
False
0
c2sosur
t3_lg940
null
t1_c2sosur
t1_c2sl4sd
null
1427752474
2
t5_2fwo
null
null
null
True
MarshallBanana
null
It is a practical question. No language lawyering whatsoever. For a practical question, you should know that in practice, sizeof(int) is 4 on a 64-bit system.
null
0
1319020828
False
0
c2sot9w
t3_lgfp0
null
t1_c2sot9w
t1_c2sofqg
null
1427752479
0
t5_2fwo
null
null
null
True
JohnDoe365
null
An article about sketching without a single sketchup?
null
0
1319020849
False
0
c2sotbe
t3_lh3av
null
t1_c2sotbe
t3_lh3av
null
1427752480
8
t5_2fwo
null
null
null
True
MarshallBanana
null
Why not? It's a practical question, and it practice, sizeof(int) is 4, and you should know that.
null
0
1319020871
False
0
c2sotcv
t3_lgfp0
null
t1_c2sotcv
t1_c2soew3
null
1427752481
0
t5_2fwo
null
null
null
True
Iggyhopper
null
You didn't see it? He wrote it in whitespace.
null
0
1319020930
False
0
c2soth4
t3_lh3av
null
t1_c2soth4
t1_c2sotbe
null
1428191999
6
t5_2fwo
null
null
null
True
MarshallBanana
null
Again: None of that is relevant to the topic. The only relevance is that you are reaching for some way to prove me wrong, no matter if it has anything to do wit the discussion or not. Yes, I know very well that sizeof(int) can be 2. *I work on embedded systems*. The statement was meant to be taken in the context of th...
null
0
1319021029
False
0
c2sotng
t3_lgfp0
null
t1_c2sotng
t1_c2sn3cg
null
1427752483
-1
t5_2fwo
null
null
null
True
JohnDoe365
null
Knowing that aw is "a word", ap is "a paragraph", etc. actually makes vim not that crazy any more.
null
0
1319021069
False
0
c2sotpn
t3_lfblq
null
t1_c2sotpn
t1_c2s7g0h
null
1427752486
1
t5_2fwo
null
null
null
True
malkarouri
null
You are broadly right, but I would have to temper your response with [collections.Iterable](http://docs.python.org/library/collections.html#collections.Iterable)
null
0
1319021082
False
0
c2sotqo
t3_lg940
null
t1_c2sotqo
t1_c2skzp9
null
1427752486
2
t5_2fwo
null
null
null
True
MarshallBanana
null
> I am just challenging the wording you use that most programmers will only see an int size of 4. No, you're ignoring the context of the discussion and just trying to show that you are clever.
null
0
1319021106
False
0
c2sots2
t3_lgfp0
null
t1_c2sots2
t1_c2sn0mm
null
1427752486
-2
t5_2fwo
null
null
null
True
Eloff
null
wget with lots of flags does the job: wget -r -l1 -H -t1 -nd -N -np -A.pdf -erobots=off http://drdobbs.com/high-performance-computing/184404919
null
0
1319021120
False
0
c2sott6
t3_lgwpf
null
t1_c2sott6
t3_lgwpf
null
1427752486
5
t5_2fwo
null
null
null
True
MarshallBanana
null
On some 64-bit systems *which you will never encounter*.
null
0
1319021151
False
0
c2sotuw
t3_lgfp0
null
t1_c2sotuw
t1_c2sm3es
null
1427752487
-1
t5_2fwo
null
null
null
True
[deleted]
null
> Perhaps everyone should know that about C#/Java, but that's another story entirely :) Anyone programming Java should damn well know that. I don't always use operators without knowing what they mean, but when I do, it's because I'm a retard trying to program Java.
null
0
1319021319
False
0
c2sou5l
t3_lg1xx
null
t1_c2sou5l
t1_c2sogsr
null
1427752491
1
t5_2fwo
null
null
null
True
nikbackm
null
Well, it looks prettier! Have to draw the C# programmers back somehow :) Perhaps there's also some possible user mistakes that can be prevented this way?
null
0
1319021758
False
0
c2souz9
t3_lh6ey
null
t1_c2souz9
t1_c2so0r7
null
1427752503
3
t5_2fwo
null
null
null
True
starspangledpickle
null
I think you can do it better in bash: wget http://twimgs.com/ddj/abrashblackbook/gpbb{0..70}.pdf
null
0
1319021971
False
0
c2sovdk
t3_lgwpf
null
t1_c2sovdk
t1_c2sobk2
null
1427752507
22
t5_2fwo
null
null
null
True
killerstorm
null
Lazy evaluation is still deterministic, so Haskell program have well-defined performance characteristics. So you can be sure that it won't try to instantiate an infinite data structure, for example, through speculative execution. Compiler is free to re-order evaluation, but only as long as it can prove that optimizati...
null
0
1319021996
False
0
c2sovfa
t3_lh1ly
null
t1_c2sovfa
t1_c2sopbr
null
1427752507
3
t5_2fwo
null
null
null
True
TrivialSolutions
null
Suppose you were Microsoft. You made code with a GPL license. In it you taught linked lists. Kids looked at it. Now, they cannot use linked lists. That is why I publish in the public domain. Maybe this book has some ideas. If I look, I cannot use the ideas. Perhaps, the ideas are simple ones I could have thoug...
null
0
1319022033
False
0
c2sovhg
t3_lgwpf
null
t1_c2sovhg
t1_c2sos60
null
1427752508
-8
t5_2fwo
null
null
null
True
Alexis_
null
now try using jagged multidimensional arrays and experience the joy of having to keep an array that contains the length of the arrays, as well as keeping the length of the array that contains the length of all the arrays in the multidimensional array. fuck that shit. *... then experience "arr[0].Length"*
null
0
1319022406
False
0
c2sow6r
t3_lgfp0
null
t1_c2sow6r
t1_c2sofz8
null
1427752517
2
t5_2fwo
null
null
null
True
[deleted]
null
Perhaps you could provide a list of academics who feel this way?
null
0
1319022438
False
0
c2sow93
t3_lfm1k
null
t1_c2sow93
t1_c2sn7yu
null
1427752525
2
t5_2fwo
null
null
null
True
gladiatorhat
null
There was a good article on A List Apart on this subject a while back: http://www.alistapart.com/articles/sketching-the-visual-thinking-power-tool/
null
0
1319022773
False
0
c2soww8
t3_lh3av
null
t1_c2soww8
t3_lh3av
null
1427752527
2
t5_2fwo
null
null
null
True
theeth
null
My point was that is wasn't "just visual c++ being silly". The ABI decision was taken by the OS team.
null
0
1319022775
False
0
c2sowwc
t3_lgjhl
null
t1_c2sowwc
t1_c2sohbj
null
1427752527
1
t5_2fwo
null
null
null
True
Poddster
null
I experience it all the time. Not as easy as a dynamic language, but it's not exactly difficult.
null
0
1319022830
False
0
c2sowzw
t3_lgfp0
null
t1_c2sowzw
t1_c2sow6r
null
1427752529
1
t5_2fwo
null
null
null
True
TomorrowPlusX
null
I bought it way back in 99 or so, and I still love it. Mainly because it taught me how to think about optimization. I don't write ASM, it's a matter of preference. But I still use what I learned when writing optimized C++ for graphics programming. I still go through it every few years, too.
null
0
1319022955
False
0
c2sox8q
t3_lgwpf
null
t1_c2sox8q
t1_c2slp6e
null
1427752531
2
t5_2fwo
null
null
null
True
kaaskop42
null
It seems to me like you're a programmer, not a lawyer, and that you just should stop worrying about stuff like this. Reading a book and not being able to apply the ideas in it is absurd, no matter what some law says. Why would the whole concept of 'book' exist, if the point wasn't to spread ideas and knowledge? Just go...
null
0
1319023023
False
0
c2soxd7
t3_lgwpf
null
t1_c2soxd7
t1_c2sovhg
null
1427752532
5
t5_2fwo
null
null
null
True
GarMan
null
Do I get a special prize if i just got it all right without trying hard?
null
0
1319023066
False
0
c2soxgi
t3_lgfp0
null
t1_c2soxgi
t3_lgfp0
null
1427752534
1
t5_2fwo
null
null
null
True
TrivialSolutions
null
http://www.boston.com/Boston/businessupdates/2011/10/foreclosure/L4Gl3gBBokZEwJZqLgstuN/index.html I would not give-up my 100% 120,000 LOC authorship of LoseThos lightly. Honestly, I would probably stick with my home-made graphics routines even if others were better and available public domain. I just hate Linux and...
null
0
1319023120
False
0
c2soxk3
t3_lgwpf
null
t1_c2soxk3
t1_c2sovhg
null
1427752535
-5
t5_2fwo
null
null
null
True
schot
null
C99 6.3.2.3 clause 3: > An integer constant expression with the value 0, or such an expression cast > to type void *, is called a null pointer constant. (Footnote: The macro NULL is defined in <stddef.h> (and other headers) as a null pointer constant) [...]
null
0
1319023170
False
0
c2soxnf
t3_lgfp0
null
t1_c2soxnf
t1_c2smgm6
null
1427752536
1
t5_2fwo
null
null
null
True
leoc
null
Yes, [Cavedog](http://en.wikipedia.org/wiki/Cavedog_Entertainment) was the now-defunct publisher of Chris Taylor's *Total Annihilation*.
null
0
1319023193
False
0
c2soxox
t3_lgn04
null
t1_c2soxox
t1_c2sok99
null
1427752537
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319023218
False
0
c2soxqi
t3_lhdhb
null
t1_c2soxqi
t3_lhdhb
null
1427752537
1
t5_2fwo
null
null
null
True
jlouis8
null
Let us take them from an end: * The structural subtyping system of Go resembles the OO system of Ocaml in many ways. Ocaml is 10 years ahead here, at least. * Lightweight concurrency: See Occam, Haskell or Erlang. * Garbage Collection: And old strategy. What is amazing is that this idea has not been picked up earlier....
null
0
1319023357
False
0
c2soy0c
t3_lh1ly
null
t1_c2soy0c
t1_c2sooh1
null
1427752541
10
t5_2fwo
null
null
null
True
elperroborrachotoo
null
volatile, as defined by the C standard, does not guarantee atomicity or affect execution order, which would be essential for threading and memory access reordering. Re-reading from stale cache is no better than reusing a stale register. Compiler implementers have loaded "more meaning" onto volatile, depending on the ...
null
0
1319023379
False
0
c2soy23
t3_lgjhl
null
t1_c2soy23
t1_c2sjzj5
null
1427752541
6
t5_2fwo
null
null
null
True
maximinus-thrax
null
As a lisper, I have to agree that Shen looks interesting.... but like Qi before, the author seems to have picked one of the worst possible licenses to use. I quote: > the diversity and freedom to fork which was lauded as a strength of open source, has turned into the major weakness of Linux Nobody uses Linux, righ...
null
0
1319023387
False
0
c2soy2r
t3_lh1ly
null
t1_c2soy2r
t1_c2smvri
null
1427752542
8
t5_2fwo
null
null
null
True
[deleted]
null
Why are you thinking of Objects as values?
null
0
1319023614
False
0
c2soyjp
t3_lg1xx
null
t1_c2soyjp
t1_c2sogiu
null
1427752548
1
t5_2fwo
null
null
null
True
maximinus-thrax
null
Nice link. I've always thought that a programmer who can't express his idea on a white-board in a couple of minutes probably doesn't understand what he's doing, or is some sort of architecture astronaut.
null
0
1319023640
False
0
c2soyld
t3_lh3av
null
t1_c2soyld
t1_c2soww8
null
1427752548
2
t5_2fwo
null
null
null
True
axilmar
null
> You wanted your type to be: polymorphic, non-polymorphic base, and a standalone type. This goal is at odds even in C++. It's not odd at all. A type may be non-polymorphic, but optionally used as a base class of a polymorphic type. In C++, I can inherit from this non-polymorphic type and make my derived class poly...
null
0
1319023764
False
0
c2soyuo
t3_kljc0
null
t1_c2soyuo
t1_c2sh2ow
null
1427752552
1
t5_2fwo
null
null
null
True
cunningjames
null
> where all other languages in the list are functional That’s just not true. Depending on how you slice the terminology, the list contains a greater number of imperative/OO languages than functional ones; but in my view, at least, none of Ioke, Go, CoffeeScript, Potion, Mirah, Scratch, or Fortress count as primaril...
null
0
1319023899
False
0
c2soz5z
t3_lh1ly
null
t1_c2soz5z
t1_c2sooh1
null
1427752559
9
t5_2fwo
null
null
null
True
elperroborrachotoo
null
The compiler could make a more stringent guarantees: if you guarantee certain writes will always be visible, volatile or not, *then* volatile has no meaning. ("certain writes", roughly, could be writes to globals or statics or to pointers that can't be proven to not reference such a location.) This woulld kill some ...
null
0
1319023986
False
0
c2sozcs
t3_lgjhl
null
t1_c2sozcs
t1_c2sibxr
null
1427752561
1
t5_2fwo
null
null
null
True
moonrocks
null
Well, it would seem that if we're allowed to rely on the common expression of NULL as `((void*)0)' then the printf() above should have no undefined behavior.
null
0
1319024087
False
0
c2sozkd
t3_lgfp0
null
t1_c2sozkd
t1_c2soxnf
null
1427752563
1
t5_2fwo
null
null
null
True
kaaskop42
null
Unless you fork the Linux kernel and sell a product with the modified version in it, you have no reason to worry about the GPL. There are thousands of businesses that use Linux in their daily operations to bring some useful service to people. When you call that communism, we're in the land of ideology, where I can't he...
null
0
1319024144
False
0
c2sozp3
t3_lgwpf
null
t1_c2sozp3
t1_c2soxk3
null
1428191996
3
t5_2fwo
null
null
null
True
taejo
null
I wrote a snake game as an MBR a few weeks ago. Unfortunately I had to use the partition table space for level data (I wanted to have ten levels) so the disk isn't usable for anything else.
null
0
1319024224
False
0
c2sozur
t3_lfqqr
null
t1_c2sozur
t3_lfqqr
null
1427752566
1
t5_2fwo
null
null
null
True
poisondwarf
null
I started doing this a year or two ago and not only does it make it easier to focus on the task at hand, but you don't waste nearly as much time correcting anything in the future. I actually stopped doing it for my current project at work, thanks for the reminder!
null
0
1319024238
False
0
c2sozw3
t3_lh3av
null
t1_c2sozw3
t3_lh3av
null
1427752566
2
t5_2fwo
null
null
null
True
johnmudd
null
Cool, he bridged the gap between feeling (meditation) and thinking (processing).
null
0
1319024278
False
0
c2sozyv
t3_lh3av
null
t1_c2sozyv
t3_lh3av
null
1427752567
6
t5_2fwo
null
null
null
True
[deleted]
null
and the intr pt1 etc: wget http://twimgs.com/ddj/abrashblackbook/gpbb{,intr,pt1,pt2,aftr,indx,{0..70}}.pdf *EDIT* opps, forgot the cover (""); *EDIT2* actually, you can leave out the quotes.
null
0
1319024284
True
0
c2sozze
t3_lgwpf
null
t1_c2sozze
t1_c2sovdk
null
1427752567
13
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319024335
False
0
c2sp02x
t3_lh6ey
null
t1_c2sp02x
t3_lh6ey
null
1427752568
-5
t5_2fwo
null
null
null
True
imbcmdth
null
Check out [Real-time Rendering, 3rd ed](http://www.amazon.com/Real-Time-Rendering-Third-Tomas-Akenine-Moller/dp/1568814240).
null
0
1319024366
False
0
c2sp05p
t3_lgwpf
null
t1_c2sp05p
t1_c2sm9qb
null
1427752570
1
t5_2fwo
null
null
null
True
MarshallBanana
null
It's extremely cute, but I am not really convinced it is actually very usable for practical drawing rather than trivial examples.
null
0
1319024429
False
0
c2sp0a5
t3_lgn04
null
t1_c2sp0a5
t1_c2sm1h3
null
1427752571
1
t5_2fwo
null
null
null
True
fogus
null
I couldn't have said it better myself.
null
0
1319024475
False
0
c2sp0dj
t3_lh1ly
null
t1_c2sp0dj
t1_c2soz5z
null
1427752572
2
t5_2fwo
null
null
null
True
TrivialSolutions
null
This book is probably licensed like the GPL. I also want to win converts to public domain coding and my operating system. I could sell LoseThos if Linux wasn't free. As it is, I just hope LoseThos gets popular and I can find some angle to make money.
null
0
1319024529
False
0
c2sp0hk
t3_lgwpf
null
t1_c2sp0hk
t1_c2sozp3
null
1427752574
-1
t5_2fwo
null
null
null
True
axilmar
null
> You "left" because if you hadn't, you'd have gotten yourself banned for not contributing to the discussions. I cannot contribute anything to discussions that are about bashing pragmatic programming languages. LtU discussions are mostly about blaming all other languages except Haskell. > Multiple people, multi...
null
0
1319024721
False
0
c2sp0xu
t3_lfm1k
null
t1_c2sp0xu
t1_c2sgjai
null
1427752581
-4
t5_2fwo
null
null
null
True
elperroborrachotoo
null
> i[n] practice, sizeof(int) is 4 In reality, sizeof(int) is platform specific. That's the whole point of my post. I've started on machines where sizeof(int) was 2, my collegues work on platforms where this is still true, and I've walked through a machine where I wouldn't make a bet on char having 8 bits. I agr...
null
0
1319024780
False
0
c2sp128
t3_lgfp0
null
t1_c2sp128
t1_c2sotcv
null
1427752581
1
t5_2fwo
null
null
null
True
keepingitcivil
null
I never bothered to look into Jungian thought, but this is very relevant to me if it's true.
null
0
1319024788
False
0
c2sp132
t3_lh3av
null
t1_c2sp132
t1_c2sokfg
null
1427752581
2
t5_2fwo
null
null
null
True
JustPlainRude
null
I remember working through stuff like this in high school. Devs have it too easy these days!
null
0
1319024809
False
0
c2sp150
t3_lh7x0
null
t1_c2sp150
t3_lh7x0
null
1427752581
3
t5_2fwo
null
null
null
True
keepingitcivil
null
What does this mean?
null
0
1319024827
False
0
c2sp16i
t3_lh3av
null
t1_c2sp16i
t1_c2sozyv
null
1427752582
2
t5_2fwo
null
null
null
True
wadcann
null
The same problem still exists — you don't know whether or not you're working with a struct or a small type. If I'm working with a `struct foo *`, it's clearly a pointer and can be passed cheaply. If I'm working with a `foo_t`, it may-or-may-not be a pointer; it might also be a `struct foo` or something else.
null
0
1319024927
False
0
c2sp1dv
t3_lc090
null
t1_c2sp1dv
t1_c2sn3k2
null
1427752586
1
t5_2fwo
null
null
null
True
gavinb
null
The pencil is mightier than the keyboard!
null
0
1319024928
False
0
c2sp1dz
t3_lh3av
null
t1_c2sp1dz
t3_lh3av
null
1427752586
3
t5_2fwo
null
null
null
True
eddeh
null
Nicely done :) I actually remember my frustration of not having the time to do anything fancy when I had to implement an RB tree in my Algorithms course so I had to resort to some ugly console ascii visualization just hours before delivery. To add to my frustration I had the CG course the following semester ...
null
0
1319025008
False
0
c2sp1kz
t3_le286
null
t1_c2sp1kz
t3_le286
null
1427752591
1
t5_2fwo
null
null
null
True
Berengal
null
The issue here is that there are so many different ways you could want parallellism and concurrency, and you need to be explicit about which of them you want; it's can't be done implicitly. I think it's wrong to look at programs as either multithreaded or singlethreaded, but instead realise that there are at least 4-5 ...
null
0
1319025193
False
0
c2sp1yy
t3_lh1ly
null
t1_c2sp1yy
t1_c2sobl0
null
1427752594
2
t5_2fwo
null
null
null
True
kamatsu
null
Yes, they have. If you do any sort of formal verification, minimizing state is absolutely essential. The more shared the state is, the harder it is to verify. Reasoning formally about code with shared state is a fucking nightmare.
null
0
1319025264
False
0
c2sp24y
t3_lfm1k
null
t1_c2sp24y
t1_c2sokn9
null
1427752595
1
t5_2fwo
null
null
null
True
voltagex
null
There is another book I'm looking for - similar tutorials but made heavy use of Turbo Pascal - any ideas?
null
0
1319025372
False
0
c2sp2du
t3_lgwpf
null
t1_c2sp2du
t3_lgwpf
null
1427752598
3
t5_2fwo
null
null
null
True
fogus
null
Thank you for sharing your thoughts on Magpie -- I look forward to exploring further. I placed the word blog in quotes because what you've done is so much more that the typical blog fluff -- like mine.
null
0
1319025376
False
0
c2sp2e6
t3_lh1ly
null
t1_c2sp2e6
t1_c2snbtg
null
1427752599
5
t5_2fwo
null
null
null
True
tiftik
null
Not when it's a function with variable arguments.
null
0
1319025446
False
0
c2sp2k4
t3_lgfp0
null
t1_c2sp2k4
t1_c2sncqr
null
1427752606
2
t5_2fwo
null
null
null
True
axilmar
null
A good example of C is broken.
null
0
1319025550
False
0
c2sp2sa
t3_lgfp0
null
t1_c2sp2sa
t3_lgfp0
null
1427752604
-1
t5_2fwo
null
null
null
True
tiftik
null
Irrelevant to this case. printf will be expecting a void\*, but will receive another pointer type. No, it will not be automagically casted because this is a function with variable arguments.
null
0
1319025552
False
0
c2sp2se
t3_lgfp0
null
t1_c2sp2se
t1_c2sogta
null
1427752604
0
t5_2fwo
null
null
null
True
Foxpound
null
> i always wondered why osx doesn't ship with wget. If my memory serves me right, it was about a licensing issue when OS X 10.1 came out. Here's [the only piece](http://hints.macworld.com/article.php?story=20010927115909471) I was able to retrieve about it.
null
0
1319025603
False
0
c2sp2wl
t3_lgwpf
null
t1_c2sp2wl
t1_c2soh22
null
1427752606
3
t5_2fwo
null
null
null
True
keithb
null
I see that you conflate "reasoning about" with "formal verification". Got any citations for this work on whole system behaviour?
null
0
1319025746
False
0
c2sp38k
t3_lfm1k
null
t1_c2sp38k
t1_c2sp24y
null
1427752611
2
t5_2fwo
null
null
null
True
MarshallBanana
null
It was specifically mentioned in the quiz that the machine in question is 64 bit. There are no 64 bit architectures with sizeof(int) as 2, not with anything but 8-bit chars. There are a few where sizeof(int) is 8, but these are so exceedingly rare that you will never in practice encounter one.
null
0
1319025793
False
0
c2sp3cx
t3_lgfp0
null
t1_c2sp3cx
t1_c2sp128
null
1427752612
0
t5_2fwo
null
null
null
True
[deleted]
null
I read your explanation in terms of dealing with just one level of abstraction at a time: sketching, high-level pseudo-code, maths. When something is complex enough, it's not possible to keep all the details in mind at once. So these tools really do amplify your intelligence, making things possible that would otherwise...
null
0
1319025805
False
0
c2sp3dy
t3_lh3av
null
t1_c2sp3dy
t3_lh3av
null
1427752612
3
t5_2fwo
null
null
null
True
Alexis_
null
>up to the newest features of ANSI-C++ Was expecting C++11 information, but it's just the same information that's been available at cplusplus.com for years (which is a great site, btw... don't get me wrong) Ansi C++ == C++98 for those who are as thick as I am :)
null
0
1319025927
False
0
c2sp3om
t3_lh8n8
null
t1_c2sp3om
t3_lh8n8
null
1427752615
6
t5_2fwo
null
null
null
True
mallardtheduck
null
> Not as easy as a dynamic language C# isn't (for the most part) a dynamic language. Even C++ has much easier to handle arrays, in the form of `std::array` (or `std::vector` if you want variable sized arrays).
null
0
1319025966
False
0
c2sp3s9
t3_lgfp0
null
t1_c2sp3s9
t1_c2sowzw
null
1427752617
1
t5_2fwo
null
null
null
True
johnmudd
null
IMO, meditation is just switching from thinking to feeling. Also IMO, You can't feel (I say "feel" but I mean sense, any of the senses) and think at the same time. So, the value of meditation is that it gives a person a break from thinking. This is useful in our western world were we spend almost all of our time thinki...
null
0
1319026191
True
0
c2sp4cf
t3_lh3av
null
t1_c2sp4cf
t1_c2sp16i
null
1427752624
5
t5_2fwo
null
null
null
True
tiftik
null
Are you kidding me? This is elementary C stuff. You don't know C if you don't even know types, array decaying and pointer arithmetic.
null
0
1319026218
False
0
c2sp4eq
t3_lgfp0
null
t1_c2sp4eq
t1_c2slwvr
null
1427752625
2
t5_2fwo
null
null
null
True
[deleted]
null
It's not like you can't learn anything from it. Certainly, the source code itself is going to be all but useless, but all the theory still works. Heck, in some places it's *more* useful. Any modern graphics book mentions how to tell the video card how to do texture mapping, for example, but how many tell you how t...
null
0
1319026227
False
0
c2sp4fk
t3_lh7x0
null
t1_c2sp4fk
t1_c2soiln
null
1427752625
13
t5_2fwo
null
null
null
True
lanbanger
null
I won't be going back, except for the most performance-critical stuff. C# is the One True Way for application development, in my opinion.
null
0
1319026302
False
0
c2sp4lu
t3_lh6ey
null
t1_c2sp4lu
t1_c2souz9
null
1427752628
6
t5_2fwo
null
null
null
True
elperroborrachotoo
null
> There are no 64 bit architectures with sizeof(int) as 2 That's a rather arbitrary fact that has absolutely no place in a discussion about the language. How would I *proove* today that there will be no compiler with an ILP64 data model at some arbitrary date in the future? A compiler for a 64 bit platform where a...
null
0
1319026512
False
0
c2sp54b
t3_lgfp0
null
t1_c2sp54b
t1_c2sp3cx
null
1427752635
1
t5_2fwo
null
null
null
True
mhd
null
That's basically yesterday in C years.
null
0
1319026740
False
0
c2sp5oy
t3_lgmfx
null
t1_c2sp5oy
t1_c2soan6
null
1427752641
4
t5_2fwo
null
null
null
True
mhd
null
I've worked in the auto industry. Believe me, embedded C is the least of your worries…
null
0
1319026773
False
0
c2sp5s7
t3_lgmfx
null
t1_c2sp5s7
t1_c2smdiw
null
1427752644
5
t5_2fwo
null
null
null
True
Kyrox
null
:D Ohwow, that's some crazy stuff. Time to watch all of it o.o Thanks for the link!
null
0
1319026870
False
0
c2sp61e
t3_lefzo
null
t1_c2sp61e
t1_c2s1w7m
null
1427752646
1
t5_2fwo
null
null
null
True
[deleted]
null
No. The only 64-bit integer type is `long`, and on windows(iirc) you need to go all the way to `long long`. Solution: use `uint32_t`, `uint64_t`, and `size_t`.
null
0
1319026914
False
0
c2sp660
t3_lgfp0
null
t1_c2sp660
t1_c2sh69m
null
1427752648
1
t5_2fwo
null
null
null
True
[deleted]
null
On what modern system does `sizeof(int)` equal anything but 4?
null
0
1319027021
False
0
c2sp6gh
t3_lgfp0
null
t1_c2sp6gh
t1_c2shcd2
null
1427752652
1
t5_2fwo
null
null
null
True
[deleted]
null
Objective-c *is* c, plus more.
null
0
1319027192
False
0
c2sp6ww
t3_lgfp0
null
t1_c2sp6ww
t1_c2sm3q0
null
1427752657
1
t5_2fwo
null
null
null
True
MarshallBanana
null
> That's a rather arbitrary fact that has absolutely no place in a discussion about the language. This is *not a discussion about the language*. This is a discussion about a practical quiz.
null
0
1319027402
False
0
c2sp7g2
t3_lgfp0
null
t1_c2sp7g2
t1_c2sp54b
null
1427752664
-1
t5_2fwo
null
null
null
True
zsakuL
null
Maybe they look pretty to a language nerd, but perhaps imperative guys are not drawn to functional languages because they don't seem useful for solving the problems they need to.
null
0
1319027519
False
0
c2sp7qr
t3_lh1ly
null
t1_c2sp7qr
t1_c2solcy
null
1427752669
1
t5_2fwo
null
null
null
True
behrangsa
null
Any articles/citations please? Would like to know more about this thinking.
null
0
1319027525
False
0
c2sp7ri
t3_lh3av
null
t1_c2sp7ri
t1_c2sokfg
null
1427752669
1
t5_2fwo
null
null
null
True
__j_random_hacker
null
> instantiate an infinite data structure As I see it, that's exactly the reason why *implicit* parallelism is impossible in general -- the compiler of a language that supported it would have to be able to prove that the other function arguments all reduce down to normal forms. While it may be able to do this for s...
null
0
1319027531
False
0
c2sp7s4
t3_lh1ly
null
t1_c2sp7s4
t1_c2sovfa
null
1427752669
1
t5_2fwo
null
null
null
True
tompa_coder
null
I did a simple test, I've kept all the intermediary files generated by clang at compilation of a simple Hello World application. The resulting assembly file can be compiled manually only with GNU as and not with llvm-as (a lot of errors) ... Maybe it wasn't the best possible test ...
null
0
1319027564
False
0
c2sp7vh
t3_le4h4
null
t1_c2sp7vh
t1_c2sghwx
null
1427752672
1
t5_2fwo
null
null
null
True
pnpbios
null
I think for C# programmers, it would be best to start off on a very strict subset of c++.
null
0
1319027684
False
0
c2sp879
t3_lg1xx
null
t1_c2sp879
t1_c2so7po
null
1427752677
1
t5_2fwo
null
null
null
True
ethraax
null
Yeah, nobody ever programs 3D games for Windows.
null
0
1319027907
False
0
c2sp8u6
t3_lh7x0
null
t1_c2sp8u6
t1_c2soooo
null
1428191993
15
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1319027924
False
0
c2sp8vx
t3_lh1ly
null
t1_c2sp8vx
t1_c2soz5z
null
1427752684
-4
t5_2fwo
null
null
null
True
elperroborrachotoo
null
> This is a discussion about a practical quiz discussing details of the language definition. FTFY.
null
0
1319027948
False
0
c2sp8y5
t3_lgfp0
null
t1_c2sp8y5
t1_c2sp7g2
null
1427752685
1
t5_2fwo
null
null
null
True
Metaluim
null
This. The code is outdated and you shouldn't even try to run it. But the theory behind it is nuclear.
null
0
1319028042
False
0
c2sp97k
t3_lh7x0
null
t1_c2sp97k
t1_c2sp4fk
null
1427752688
5
t5_2fwo
null
null
null
True
MarshallBanana
null
> Are you trolling, or just ignorant? Are you incapable of having a civilized discussion?
null
0
1319028096
False
0
c2sp9cx
t3_lgjhl
null
t1_c2sp9cx
t1_c2sjzj5
null
1427752690
6
t5_2fwo
null
null
null
True
killerstorm
null
> The issue here is that there are so many different ways you could want parallellism and concurrency, and you need to be explicit about which of them you want; it's can't be done implicitly. Um, why? I'm not talking about an universal solution which will be better or equal to other solutions, or will choose optima...
null
0
1319028260
False
0
c2sp9ui
t3_lh1ly
null
t1_c2sp9ui
t1_c2sp1yy
null
1427752696
1
t5_2fwo
null
null
null
True
SingularityNow
null
I dunno...I guess to each their own. I'm pretty happy with Digsby, I've got friends who are die hard about Pidgin, and before I stopped stealing it Trillian was The Jam.
null
0
1319028406
False
0
c2spab3
t3_lca6k
null
t1_c2spab3
t1_c2snbuf
null
1427752702
2
t5_2fwo
null
null
null