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
null
ivquatch
null
It's a fluent style. You can see the stages of data transformation. It's also similar to the `.` operator in java/c#.
null
0
1491088282
False
0
dfpjddb
t3_62qrve
null
null
t1_dfp5goe
null
1493715840
1
t5_2fwo
null
null
null
null
OffbeatDrizzle
null
Europe is a geographical location, you clown... what are we gonna do, put some rockets along the east coast and float ourselves out into the atlantic?
null
0
1491088290
False
0
dfpjdjn
t3_62ls64
null
null
t1_dfnw6o8
null
1493715843
3
t5_2fwo
null
null
null
null
knome
null
> Explanation 5. Logic will get you from A to B Description is a rant about the `if` statement rather than a discussion of the importance of removing ambiguity. I think the author may have missed the joke on this one.
null
0
1491088337
False
0
dfpjeng
t3_62szbn
null
null
t3_62szbn
null
1493715858
19
t5_2fwo
null
null
null
null
billbose
null
No, the "l" has a serif at the bottom.
null
0
1491088411
False
0
dfpjged
t3_62qrve
null
null
t1_dfonkq8
null
1493715881
1
t5_2fwo
null
null
null
null
dym3k
null
You're right, I went too far with my interpretation. New update: http://eattheworldbook.com/content.html#exp3-2 - should be better for beginners.
null
0
1491088431
False
0
dfpjguj
t3_62szbn
null
null
t1_dfpi4lv
null
1493715887
3
t5_2fwo
null
null
null
null
icanintocode
null
The object-oriented one doesn't explain how "inheritance" relates to "object-oriented programming". An Object is an instance of a Class - that is, the Class serves as a description of what you can do with an Object of that Class. Often, two or more Classes will share some characteristics. One option would be to duplicate the shared code in both Classes but this often leads to errors when the code is changed in one place but not the other. Instead, those shared characteristics can be placed in a base Class. Classes which need the shared characteristics will "inherit" from that base Class. This means that they include the blueprint of the base Class in addition to their own descriptions about how they work. A good example would be to think of Savings Accounts and Chequing Accounts. They share some characteristics; they're both bank accounts. So each would inherit from a Bank Account class. Each person's Chequing Account would be a separate object of the Chequing Account class.
null
0
1491088465
False
0
dfpjhnm
t3_62szbn
null
null
t3_62szbn
null
1493715898
3
t5_2fwo
null
null
null
null
OffbeatDrizzle
null
I don't know how you think america rescued britain from the war since the battle of britain was a decisive win without your help...
null
0
1491088477
False
0
dfpjhwn
t3_62ls64
null
null
t1_dfoljlr
null
1493715901
1
t5_2fwo
null
null
null
null
mixedCase_
null
I just switched from Fira Code to Iosevka. It is not superior, but it's a nice font. I like both and both are great for their purpose.
null
0
1491088523
False
0
dfpjizo
t3_62qrve
null
null
t1_dfov7o4
null
1493715915
1
t5_2fwo
null
null
null
null
zokier
null
This will be handy when I'll get around for developing new software for my [HP 200LX](https://en.wikipedia.org/wiki/HP_200LX) which has a 80186 clone CPU. Thanks!
null
0
1491088542
1491162051
0
dfpjjgn
t3_62sqe6
null
null
t3_62sqe6
null
1493715921
5
t5_2fwo
null
null
null
null
furofo
null
I am trying to make a login database for an Android app I am making and am relatively new to Java. The question I have is in this tutorial does SQL lite store these usernames/ passwords online. If someone tries to login from a different phone with the same username/ password would it still work?
null
0
1491088603
False
0
dfpjkv7
t3_62w9tn
null
null
t3_62w9tn
null
1493715941
2
t5_2fwo
null
null
null
null
Gh0st1y
null
That is insane. Holy crap, that's nuts.
null
0
1491088690
False
0
dfpjmwf
t3_62sqe6
null
null
t1_dfpg2dw
null
1493715968
6
t5_2fwo
null
null
null
null
jakkarth
null
SQLite is local storage, not over the network or internet. Also, this is not a support forum. If you have questions go to StackOverflow. See the sidebar for more information.
null
0
1491088709
False
0
dfpjncb
t3_62w9tn
null
null
t1_dfpjkv7
null
1493715974
2
t5_2fwo
null
null
null
null
doom_Oo7
null
> Netscape! Resulting in ~~utter failure~~the best and most customizable free and open-source web browser.
null
0
1491088927
False
0
dfpjsbf
t3_62oqiw
null
null
t1_dfor22d
null
1493716041
3
t5_2fwo
null
null
null
null
ILiveOnSpoonerStreet
null
Just read through your comments. I feel silly I ever called myself an expert in the same field. You've seen some shit. I'm humbled.
null
0
1491088980
False
0
dfpjtjr
t3_62sqe6
null
null
t1_dfpam66
null
1493716057
5
t5_2fwo
null
null
null
null
ArkyBeagle
null
I've spent most of my career on safety or life-critical things. Much but not all of that was in C. So it's absolutely *not* a BS attitude. Some things *are* too hard. I mean that in the "they cost too much" sense. Indeed, I think that's a lot what's missing from some of these discussions. What you miss is my belief that some things should not be done in C. That's what I mean by "If it's too hard.." I don't know what your risk profile is. I wish we could get specific, but that's generally a bad idea. It's eminently possible to build up the furniture you use such that close to all the risk from using C is mitigated. So the real question is "why do that by hand?" And the answer varies. In your case, I'd guess "size, weight and power". If you think strong typing will help, there's a strongly typed way to use C. And really - I am surprised you have doubts about the code. I'd think it's possible for something akin to constrained proof of correctness for things like that. If not full on POC, then something akin to model checking. I do at least a subset of that approach on everything I touch. Sometimes it requires a lot of instrumentation, or building big simulators, but the results are worth it. The larger idea - use computers to check what other computers do - is what I prefer. What with $100 RasPi and a huge array of USB peripherals, it's easier than ever. But mainly, learn to be firm about not releasing stuff that makes your spidey senses tingle. I realize you may be dealing with launch windows and such, but do what you can.
null
0
1491089157
False
0
dfpjxru
t3_62cx5d
null
null
t1_dfpi67u
null
1493716115
1
t5_2fwo
null
null
null
null
sbarow
null
Well, hopefully you are not hedging your bets :) I like to think I am smart, but I am nice just in case!
null
0
1491089302
False
0
dfpk16f
t3_62p3ir
null
null
t1_dfp8ath
null
1493716160
2
t5_2fwo
null
null
null
null
Buzzard
null
That's interesting, VS Code (Electron based) has the same issue with wordwrap
null
0
1491089632
False
0
dfpk9gb
t3_62o4ar
null
null
t1_dfp219w
null
1493716271
1
t5_2fwo
null
null
null
null
aullik
null
It would be also nice to add that 1.4 cant be displayed in binary, just 1/3 can't be displayed in decimal. (without some sort of recurring marker. I don't know the english name.)
null
0
1491089640
False
0
dfpk9nj
t3_62szbn
null
null
t1_dfpg155
null
1493716274
1
t5_2fwo
null
null
null
null
dym3k
null
Definitely there is room for improvement
null
0
1491089653
False
0
dfpk9xk
t3_62szbn
null
null
t1_dfpjeng
null
1493716277
4
t5_2fwo
null
null
null
null
Thecodingteacher
null
I got a question for you. Regardless of strong encryption or not, if I can sit at your computer and inspect your network requests I should be able to see all your cookies, and then if I inject all those cookies into my requests, the server should authorize me as I have effectively hijacked your session, no?
null
1
1491089977
False
0
dfpkhm0
t3_62ul90
null
null
t3_62ul90
null
1493716382
4
t5_2fwo
null
null
null
null
Morego
null
Are you sure? It looks like RIIR[1] meme, being alive. In the blog post describing RIIR, an author even show it as an example of meme. [1] Reimplement it in Rust --
null
0
1491090040
False
0
dfpkj50
t3_62oqiw
null
null
t1_dfos1sb
null
1493716403
0
t5_2fwo
null
null
null
null
amyts
null
The cookies would be visible if they aren't using SSL/TLS. Though if you were sitting at their computer, you wouldn't need to inspect their network traffic.
null
0
1491090160
False
0
dfpkm2u
t3_62ul90
null
null
t1_dfpkhm0
null
1493716443
31
t5_2fwo
null
null
null
null
myrrlyn
null
My apologies; I've seen *so much* "if you can't write good C it's because you're bad at your job" that it makes seeing other interpretations difficult. Unfortunately C has no competitors in the field where it's both most necessary and most troubling. I sure would like Rust to be, one day, but it's not. C can be compiled to more targets, is more expressive than Rust at certain tasks (compile time constants as variables; Rust is attempting to do that in its type system but in C in can declare a buffer with sizes at compile time; Rust can't, and that's a feature I really need. For me, my risk profile is "the satellite fails if we screw up, but there's no other tool that fits". Fixing foreign C bugs and striving to avoid creating new ones is ...stressful, to say the least. Unfortunately the solutions I'd like don't really work yet. Type systems break down at system boundaries; even when I rewrote my queue library in Rust to test if I could, I realized that because the memory it managed belonged to the client, in C, I was writing C compiled by `rustc`. It doesn't help I'm projecting my anger at a network hardware driver we found that was destroying traffic due to failed buffer bounds checks, which is *literally* one of the few things about which C doesn't care at all and Rust will firmly prevent. Good times.
null
0
1491090398
False
0
dfpkrqg
t3_62cx5d
null
null
t1_dfpjxru
null
1493716519
2
t5_2fwo
null
null
null
null
FearlessFreep
null
I generally read this as " if you're a newb and have not been paying attention at all the last ten years, you might have a problem "
null
0
1491090459
False
0
dfpkt91
t3_62ul90
null
null
t1_dfpftjt
null
1493716539
103
t5_2fwo
null
null
null
null
postmodest
null
I used it for a while but, at some point in the last 2 years, I switched to Apple's "Menlo"; I think because IntelliJ's builtin JRE rendered it better than consolas or inconsolata (or source code pro)
null
0
1491090757
False
0
dfpl0mb
t3_62qrve
null
null
t1_dfp3umu
null
1493716638
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491090771
False
0
dfpl0xk
t3_62tki4
null
null
t3_62tki4
null
1493716642
4
t5_2fwo
null
null
null
null
Thecodingteacher
null
Dealing with plugins, and the workflow. As a dev, 9 times out of 10, you inherit a WP site, you don't make it (because we devs avoid wordpress, as the article notes). So you inherit this mess of a site, and in order for anything to look right you have to dump the DB, load it onto your local machine, get the wp installation to work in an environment like VVV, then finally start coding. If you are like me you've encountered wordpress sites that have 3-4 wordpress installations and the whole site structure is a huge mess. It could take 10+ hours to set up a local environment, and I have 20 projects to do. So what's the solution? Update the code live directly on the site. This is a nefarious workflow.
null
0
1491090889
False
0
dfpl3sx
t3_62mxpp
null
null
t3_62mxpp
null
1493716681
1
t5_2fwo
null
null
null
null
themadweaz
null
Better advice-- pick a framework that uses modern best practices. Secure cookies, sessionids, cors. Don't expose any more than that.
null
0
1491090982
False
0
dfpl627
t3_62ul90
null
null
t3_62ul90
null
1493716712
19
t5_2fwo
null
null
null
null
Thecodingteacher
null
Pretty sure that's just how they do things in the php world. Global variable names and shit.
null
0
1491091003
False
0
dfpl6kc
t3_62mxpp
null
null
t1_dfokugr
null
1493716718
0
t5_2fwo
null
null
null
null
myringotomy
null
Doesn't that depend on the number of qbits in the quantum computer?
null
0
1491091032
False
0
dfpl78x
t3_62jpnd
null
null
t1_dfp33fa
null
1493716728
1
t5_2fwo
null
null
null
null
ekenmer
null
same stuff on video: https://youtu.be/7U-RbOKanYs
null
0
1491091070
False
0
dfpl84b
t3_62ul90
null
null
t3_62ul90
null
1493716740
0
t5_2fwo
null
null
null
null
youtubefactsbot
null
>[**Password Cracking - Computerphile [20:20]**](http://youtu.be/7U-RbOKanYs) >>'Beast' cracks billions of passwords a second, Dr Mike Pound demonstrates why you should probably change your passwords... > [*^Computerphile*](https://www.youtube.com/channel/UC9-y-6csu5WGm29I7JiwpnA) ^in ^Education >*^699,576 ^views ^since ^Jul ^2016* [^bot ^info](/r/youtubefactsbot/wiki/index)
null
0
1491091078
False
0
dfpl8aq
t3_62ul90
null
null
t1_dfpl84b
null
1493716742
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
Yeah I didn't mean with wireshark or anything. Just chrome dev tools. And yes I meant sitting at their computer or being able to control it with planted software.
null
0
1491091128
False
0
dfpl9g3
t3_62ul90
null
null
t1_dfpkm2u
null
1493716758
2
t5_2fwo
null
null
null
null
b1ackcat
null
Question: is there a reason you would want/need to use sessions/cookies instead of a token based solution like JWT? I don't do a ton of front end work but recently built an API for another dev to consume for their frontend and want to ensure I'm not making any obvious mistakes I don't know to be aware of
null
0
1491091477
False
0
dfplhqs
t3_62ul90
null
null
t3_62ul90
null
1493716870
25
t5_2fwo
null
null
null
null
Thecodingteacher
null
The author definitely has a little bit of JS koolaid delusion. What I tell the world when I pick node over Go, python, or lambda is that it doesn't matter what stack I pick because the project is 99.9999% certain to be used by no more than 1000 people/day anyway, so I will get it done quicker and deliver the most economic value to my client.
null
0
1491091594
False
0
dfplkhi
t3_612n3s
null
null
t1_dfck69c
null
1493716907
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
you don't think that the threadpool-based async nature of Node is an advantage? Are you aware that in most other languages, one new open socket requires one thread, and that this is not the case in Node? Are you aware that this means that for ***some applications*** a node server will be able to handle 20-30x as many simultaneous clients with the same hardware?
null
0
1491091699
False
0
dfpln0l
t3_612n3s
null
null
t1_dfcb9n5
null
1493716941
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
Bro I maintain a WP website with 2000 visitors/day and I had to upgrade the server because 2gb/ram and 2 vcpus are getting tapped out. That kind of traffic should be EASILY handled with an even smaller machine if it's a static site (which this one is). Wordpress is really robust (in how its architecture can be expanded upon with plugins), and the price you pay for that robustness is that it's ***WAY*** more heavy (and therefore less cost-effective) than what you should be using for your average joe's shitty static site.
null
0
1491091932
False
0
dfplsly
t3_62mxpp
null
null
t3_62mxpp
null
1493717015
1
t5_2fwo
null
null
null
null
tkannelid
null
> I can do a great deal and remain within those constraints. You can create programs that don't consume outside data. That leaves you with number crunching for hard-coded inputs. It's not nothing, but it's close enough to stop you from making money on software.
null
0
1491092004
False
0
dfplu9r
t3_62cx5d
null
null
t1_dfpgzel
null
1493717039
1
t5_2fwo
null
null
null
null
CaptainAdjective
null
> You could use the bit pattern 00000000 to represent 256. For that matter, you could use `00000000` to represent 1, `00000001` to represent 2, and `11111111` to represent 256. It would be inconvenient for the purposes of internals, but as long as the representation of the result is correct when you carry out arithmetic...
null
0
1491092129
False
0
dfplx9f
t3_62txn8
null
null
t1_dfp5que
null
1493717078
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
Hire a kid who's worked for a couple of hipster startups and you are almost guaranteed to be hiring someone who doesn't even know what inheritance or composition is, and who doesnt even really know about the different kinds of requests and content types, but who has followed tutorials on every little framework and tool that exists, from meteor to vue, to inferno, to feathers. They all think they're such hot shit and they cant build software to save their fucking lives.
null
0
1491092154
False
0
dfplxvc
t3_612n3s
null
null
t1_dfcgjkq
null
1493717087
2
t5_2fwo
null
null
null
null
IncongruentModulo1
null
If you have access to their machine, you win. Physical access trumps pretty much any security measure.
null
0
1491092378
False
0
dfpm3iy
t3_62ul90
null
null
t1_dfpl9g3
null
1493717164
49
t5_2fwo
null
null
null
null
aullik
null
> And so, thinking in **sinle**-variable mode, Also posting something serious on the first of april is always a bit tricky.
null
0
1491092420
False
0
dfpm4ig
t3_62weyo
null
null
t3_62weyo
null
1493717176
4
t5_2fwo
null
null
null
null
agodfrey1031
null
Here's probably a good starting point: https://en.wikipedia.org/wiki/UTF-16
null
0
1491092575
False
0
dfpm8cu
t3_62txn8
null
null
t1_dfp60vv
null
1493717228
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
Damn thanks
null
0
1491092613
False
0
dfpm99k
t3_62weyo
null
null
t1_dfpm4ig
null
1493717241
1
t5_2fwo
null
null
null
null
lluad
null
Consider how you invalidate a jwt token, to terminate a user or lock out previous sessions after a password change.
null
0
1491092794
False
0
dfpmdrk
t3_62ul90
null
null
t1_dfplhqs
null
1493717300
21
t5_2fwo
null
null
null
null
Effnote
null
That wouldn't be any better than using `00000000` to represent 256 and keeping the other bit patterns the same, though. Of course, you could do it your way, but if you consider 8 bit numbers to be numbers modulo 256 (ignoring the existence of integer division), having 256 be represented by `00000000` is natural.
null
0
1491092878
False
0
dfpmfsu
t3_62txn8
null
null
t1_dfplx9f
null
1493717330
1
t5_2fwo
null
null
null
null
Thecodingteacher
null
Other than ease of implementation, none that I can think of. Token based solutions are superior in many ways, not the least of which is the fact that you don't need to worry about how to store the user's browsing state in a scalable manner. Most of the time when you implement sessions, you use an in-memory store, which means your service is much harder to scale (since you have to somehow come up with a load balancer that keeps sending the same people to the same server). And if you don't use an in-memory store, then that's another database to manage.
null
0
1491092954
False
0
dfpmhkt
t3_62ul90
null
null
t1_dfplhqs
null
1493717354
9
t5_2fwo
null
null
null
null
alt_account_3
null
Damnit I clicked hoping it would be about strategies to organize my files and folders.
null
0
1491092961
False
0
dfpmhrj
t3_62vxqx
null
null
t3_62vxqx
null
1493717356
4
t5_2fwo
null
null
null
null
o11c
null
> this toolchain has full support for C11 and C++14 (language and libraries) But, > libstdc++ is 1.5MB on its own, which doesn't fit in the 64KB address space. *** Still: pretty darn interesting. I have a collection of GCC targets somewhere. i8086 has come up a few times, but it's never been upstreamed. Note that GNU as can already automagically convert 32-bit code to 16-bit code under limited circumstances and recent GCC versions use `-m16` to trigger this.
null
0
1491093005
False
0
dfpmisw
t3_62sqe6
null
null
t3_62sqe6
null
1493717370
12
t5_2fwo
null
null
null
null
o11c
null
16-bit code is still needed for bootloaders. But `.code16gcc` can usually take care of that if you're sloppy, or hand-written code would be needed if you're not sloppy.
null
0
1491093070
False
0
dfpmkff
t3_62sqe6
null
null
t1_dfp2dq2
null
1493717392
3
t5_2fwo
null
null
null
null
o11c
null
Actual quote from GCC devs recently: > well the ibm370 developer just appeared again with another question > They still seem to want to maintain the EBCDIC port, but aren't willing to devote enough time
null
0
1491093181
False
0
dfpmn2a
t3_62sqe6
null
null
t1_dfpaizk
null
1493717427
2
t5_2fwo
null
null
null
null
lonekorean
null
This sort of stuff amazes me. I don't fully understand it. But I appreciate the massive amount of work that goes into providing a service that lets me listen to my favorite Janet Jackson songs from middle school. They earn my $10/mo.
null
0
1491093190
False
0
dfpmnaa
t3_62vx64
null
null
t3_62vx64
null
1493717430
84
t5_2fwo
null
null
null
null
b1ackcat
null
That's simple enough to handle via the claims in the token, though.
null
0
1491093297
False
0
dfpmps4
t3_62ul90
null
null
t1_dfpmdrk
null
1493717463
2
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491093365
False
0
dfpmrdw
t3_62vx64
null
null
t1_dfpmnaa
null
1493717485
-11
t5_2fwo
null
null
null
null
CheapBastid
null
> the man-machine hybrid team performs better than any machine and any man on their own. For now. The thing I struggle with with the 'optimist' approach is that it is a kind of 'god of the gaps' argument. Can you outline what is so 'special' about the 'man' side in 'man and machine' hybrid that excludes future tech adopting it and incorporating it into the 'machine' side?
null
0
1491093400
False
0
dfpms73
t3_62weyo
null
null
t3_62weyo
null
1493717495
9
t5_2fwo
null
null
null
null
hagbaff
null
WE FOUND THE GUY WHO BOUGHT THE RECORD!
null
0
1491093400
False
0
dfpms7b
t3_62vx64
null
null
t1_dfpmnaa
null
1493717495
28
t5_2fwo
null
null
null
null
heap42
null
yea.. that is true, i myself am working with something somewhat in that vicinity and it lead to me needing to use some tricks and it helps if you don't have to reason over the length of vectors/matrices. But nevertheless i guess dependent types too have their drawbacks, although i don't know where.
null
0
1491093548
False
0
dfpmvmw
t3_62scvv
null
null
t1_dfpi7cn
null
1493717541
1
t5_2fwo
null
null
null
null
Netzapper
null
Do I still have to dedicate a thread to draining my subprocess' stdout?
null
0
1491093739
False
0
dfpn045
t3_62vdsl
null
null
t3_62vdsl
null
1493717601
1
t5_2fwo
null
null
null
null
heap42
null
Lets hope so! Do you have any links/information projects/papers that attempt to do just that, I only know of one that has just recently started, which is in the vicinity(SMART).
null
0
1491093746
False
0
dfpn0al
t3_62scvv
null
null
t1_dfpbcae
null
1493717603
1
t5_2fwo
null
null
null
null
uswololo
null
I am the author of the article. didnt_check_source, you are confusing my honesty with laziness and I don't appreciate it. Just because I do not own an xbox one to test doesn't mean I haven't done a minimal amount of checks before writing the article. Among other things, I background-checked the developer's past work and affiliations, I verified the existence and validity of the CVEs, confirmed the high probability that the Xbox would run a vulnerable version of the Edge browser, and read the exploit's code. From my experience in the world of console hacking, that is way, way more verification than what more mainstream sites typically do when they report on vulnerabilities on gaming devices. The world of console hacking is a parallel universe compared to "tech" news sites. Mainstream tech sites rarely talk about console hacks, or they do only once there's been clear evidence of piracy. console "scene" websites like mine report on even the smallest progress. If I chose to not report on those releases due to lack of evidence, one of two things would happen: 1) "Fake" or low quality websites would still report on the release, while obfuscating the truth. Some sites would use the information as the justification for fake "jailbreak" software and other scams. 2) The honest work of the hacker would potentially not get the visibility it deserves, missing an opportunity for other security researchers to look into it. I am not a professional journalist, and I realize it shows. Then again, my site is not pretending to be a professional news outlet. Just like 100% of the console hacking websites out there, we're a bunch of hobbyists and enthusiasts. We happen to be one of the sites who do the most verification before publishing in that specific world, so I think you should compare apples to apples here. Case in point, I've seen "professional" journalists in tech confirming an exploit because their browser was displaying a javascript alert. Anyone could fake that. Getting the code execution is one thing, reading the code (which I did) is another. Then again, I'm human and can make mistakes, hence my honesty in the article: I have not verified on an actual machine that it works. I've also made it extremely clear in the title that the exploit was unconfirmed, so I don't know why you imply that this is clickbait.
null
0
1491093838
False
0
dfpn2pf
t3_62sczi
null
null
t1_dfp04uv
null
1493717636
6
t5_2fwo
null
null
null
null
lampshadish2
null
The explanation of the off-by-one joke misses that it it is also a play on a famous quote by Phil Karlton. This angers me.
null
0
1491093980
False
0
dfpn65e
t3_62szbn
null
null
t3_62szbn
null
1493717682
8
t5_2fwo
null
null
null
null
Thecodingteacher
null
There's nothing that is too special. And at the same time, a lot is. We have certain abilities which come extremely naturally and easily to us (such as visual recognition) and which machines are pretty bad at. We also have some kind of learning engine that autonomously enables us to go from a gel of meat which can't do anything but poop and scream to fully self-aware, logical-thinking beings capable of creating machines better than any one of us at anything. The "man" side of the man-machine hybrid can adapt to fit where it may add value. The real world is not chess. When it comes to a specific activity (like chess) then it may very well be the case that eventually an algorithm may be created that can play the role of the human in a freestyle chess team. A sort of aggregator algorithm that learns how to judge the output from multiple chess engines and pick the best one. But then, if there are four such meta-chess algorithms, is it inconceivable that a man might learn how to add value by playing arbiter between all four? Furthermore, is it not conceivable that in a world where infinite new economic activities constantly pop up, that we may find a place in that too? 10 years ago, people in digital marketing were talking about bounce rates and conversion rates. Now, they are talking about using AI to optimize their very brand image and brand offerings, and to move towards a level of frictionless UI they often dub "zero click checkout." The race for streamlining commerce is not one that seems likely to end, and it's not like bounce rates and conversion rates have stopped mattering. It seems to me that there is an ever-expanding universe of economic value-producing activities available to any human with high general intelligence and an ability to symbiotically relate to a computer.
null
0
1491094002
1491094274
0
dfpn6ng
t3_62weyo
null
null
t1_dfpms73
null
1493717691
4
t5_2fwo
null
null
null
null
jack28791
null
Yes, it wouldn't surprise me if they hired actors. And ok, good for them for having some decent women there.
null
0
1491094130
False
0
dfpn9px
t3_62jxlz
null
null
t1_dfpikv8
null
1493717731
1
t5_2fwo
null
null
null
null
NoInkling
null
Shouldn't emojis be handled by a fallback font?
null
0
1491094385
False
0
dfpnfte
t3_62qrve
null
null
t1_dfoozig
null
1493717814
1
t5_2fwo
null
null
null
null
mebob85
null
No, that's not what they do. They compute in a very different way which makes some tasks faster on them with the appropriate quantum algorithm.
null
0
1491094512
False
0
dfpnirj
t3_62jpnd
null
null
t1_dfp30uh
null
1493717853
1
t5_2fwo
null
null
null
null
GinjaNinja32
null
For the password change, some sort of "session epoch" for each user should work - the token is valid only in the epoch it was generated in, and the epoch is incremented if the password is changed.
null
0
1491094526
False
0
dfpnj3i
t3_62ul90
null
null
t1_dfpmdrk
null
1493717857
14
t5_2fwo
null
null
null
null
Thecodingteacher
null
You should make one like this but for technical recruiters and the like. The field of tech is hugely booming and this creates ripple effects in the economy and many positions that are hard to fill. Recruiting is a good example. The vast majority of people think that everything that happens on their computer screens or phones is just magic - they have no notion of what a programmer or a server even are or that they exist. I would never trust someone whose tech knowledge is on that level to refer me tech talent. So that's a big predicament, the hr recruiting industry cannot profit from the fastest growing job market because their tech literacy is so low they cannot even be taken seriously in a tech talent conversation.
null
0
1491094579
False
0
dfpnkby
t3_62szbn
null
null
t3_62szbn
null
1493717874
1
t5_2fwo
null
null
null
null
JWooferZ
null
This is silly. Tl;dr "If you don't change the secret in the application that has a huge CHANGE ME sign, you could get in trouble" Such security much hack prevent. People too stupid to read security guidelines deserve to be hacked, and to boot this article discusses nothing about token based solutions with encoded and signed claimsets which are vastly superior to sessions in almost every way in modern days. Meh.
null
0
1491094965
False
0
dfpnt0l
t3_62ul90
null
null
t3_62ul90
null
1493717991
60
t5_2fwo
null
null
null
null
oneonetwooneonetwo
null
> Explanation 3. Don’t make me think > A user interface is like a joke. If you have to explain it, it’s not that good. I see what you did there
null
0
1491095640
False
0
dfpo8l5
t3_62szbn
null
null
t3_62szbn
null
1493718199
2
t5_2fwo
null
null
null
null
WalterBright
null
The Digital Mars C compiler (and C++) still support [DOS 16 bit code](https://digitalmars.com/download/freecompiler.html).
null
0
1491095830
False
0
dfpocsx
t3_62sqe6
null
null
t1_dfp1cot
null
1493718257
3
t5_2fwo
null
null
null
null
bwainfweeze
null
I think Postgres will only listen on local host if you don't set the admin password. Those are the sorts of defaults we need.
null
0
1491096030
False
0
dfpohi1
t3_62ul90
null
null
t1_dfpnt0l
null
1493718320
39
t5_2fwo
null
null
null
null
Thecodingteacher
null
Around 25mins, that's a HUGE pain point he mentions with python's global interpreter. That's absolute junk lol. It's no wonder so many companies have moved to node in spite of how bad (readability-wise) node code is. I can't wait til Golang matures a little bit and actually has more expressive syntax. It will be a pleasure to write stuff in Go if that happens.
null
0
1491096201
False
0
dfpolab
t3_62wvfa
null
null
t3_62wvfa
null
1493718371
-11
t5_2fwo
null
null
null
null
russmbiz
null
>bugs included holy. shit.
null
0
1491096370
False
0
dfpopam
t3_62sqe6
null
null
t1_dfpg2dw
null
1493718425
11
t5_2fwo
null
null
null
null
nthcxd
null
Been using [Inconsolata](http://levien.com/type/myfonts/inconsolata.html) for 8 years. Might be a time for change of scenery.
null
0
1491096601
False
0
dfpouoh
t3_62qrve
null
null
t3_62qrve
null
1493718497
1
t5_2fwo
null
null
null
null
CheapBastid
null
> The "man" side of the man-machine hybrid can adapt to fit where it may add value. Two Words: Machine Learning Two More Words: Neural Networks. > if there are four such meta-chess algorithms, is it inconceivable that a man might learn how to add value by playing arbiter between all four? What makes humans more suited for this than AI? > It seems to me that there is an ever-expanding universe of economic value-producing activities available to any human with high general intelligence and an ability to symbiotically relate to a computer. It seems to me that there is an ever-expanding universe of activities available to any system both comprehensive and nimble enough to take advantage of it. Biological Humans are neither comprehensive nor nimble compared to the computing power of an advanced Neural Network based AI.
null
0
1491097401
1491097906
0
dfppcru
t3_62weyo
null
null
t1_dfpn6ng
null
1493718741
1
t5_2fwo
null
null
null
null
argv_minus_one
null
Deferring security considerations like that is a symptom of incompetence. The development key should be strong, too.
null
0
1491097450
False
0
dfppe0e
t3_62ul90
null
null
t3_62ul90
null
1493718757
3
t5_2fwo
null
null
null
null
Radmonger
null
Time taken between clicking on the github link and finding the first buffer-related undefined behavior: 65 seconds. Can anyone beat that?
null
0
1491097869
False
0
dfppoci
t3_62wye0
null
null
t3_62wye0
null
1493718895
48
t5_2fwo
null
null
null
null
lua_setglobal
null
Lily was always written in C... I cannot tell if he's joking anymore
null
0
1491097871
False
0
dfppoe5
t3_62wye0
null
null
t3_62wye0
null
1493718896
46
t5_2fwo
null
null
null
null
Otter_in_Jeans
null
True but, like i said it's worth it. It works and looks great on every machine i use it on. Plus, i think he sells different tiers so check that out.
null
0
1491098054
False
0
dfppsog
t3_62qrve
null
null
t1_dfpgp3v
null
1493718953
1
t5_2fwo
null
null
null
null
kenmacd
null
Sure, put only your session tokens in the cookie, but it makes it really easy to DoS your server.
null
0
1491098068
False
0
dfppt0a
t3_62ul90
null
null
t1_dfpftjt
null
1493718958
-9
t5_2fwo
null
null
null
null
c0shea
null
Why was this even needed in the first place? When you see [this lovely image](https://spotifylabscom.files.wordpress.com/2017/03/8-srv_lookup-01-01.png?w=730&h=411) smack dab at the beginning of the article, you can't help but wonder why the heck all of that complexity is there for.
null
1
1491098116
False
0
dfppu5m
t3_62vx64
null
null
t3_62vx64
null
1493718973
-5
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491098190
False
0
dfppvvy
t3_62wye0
null
null
t1_dfppoe5
null
1493718996
0
t5_2fwo
null
null
null
null
SuperImaginativeName
null
Something realistic, negative, or critical about Rust? Incoming downvotes to oblivion!
null
1
1491098210
False
0
dfppwd0
t3_62wye0
null
null
t3_62wye0
null
1493719002
-8
t5_2fwo
null
null
null
null
FascinatedBox
null
I'd be genuinely surprised if someone found a buffer overflow.
null
0
1491098243
False
0
dfppx38
t3_62wye0
null
null
t1_dfppoci
null
1493719013
8
t5_2fwo
null
null
null
null
whisnantryd
null
I'm confused, did they turn DNS into an indexed key-value store of track locations?
null
0
1491098374
False
0
dfpq05v
t3_62vx64
null
null
t3_62vx64
null
1493719053
45
t5_2fwo
null
null
null
null
kitsunde
null
1. You're just pushing HTML. 2. You're not being consumed by third-parties and don't want to add additional complexity of JWT in particular. I.e. you're the web version of Reddit. Using sessions with REST is widely considered to be be missing the point and is an anti-pattern though.
null
0
1491098567
False
0
dfpq4i6
t3_62ul90
null
null
t1_dfplhqs
null
1493719112
8
t5_2fwo
null
null
null
null
6nf
null
I found a bug > "Get a loaf of bread, and if they have eggs, get a dozen." If the store has eggs he should get 13 loaves of bread, not just 12.
null
0
1491098598
False
0
dfpq56s
t3_62szbn
null
null
t3_62szbn
null
1493719121
12
t5_2fwo
null
null
null
null
kitsunde
null
Yeah it's pretty much pure laziness. Generating a long random key has no practical implications on development.
null
0
1491098701
False
0
dfpq7dr
t3_62ul90
null
null
t1_dfppe0e
null
1493719150
4
t5_2fwo
null
null
null
null
erikd
null
I realise that the "moving from Rust" bit is a April Fools joke, but both Rust and C are pretty poor languages for implementing a compiler, mainly because both require you to do manual memory management.
null
0
1491098812
False
0
dfpq9un
t3_62wye0
null
null
t3_62wye0
null
1493719184
-15
t5_2fwo
null
null
null
null
0xE6
null
The [initial commit](https://github.com/FascinatedBox/lily/commit/db5e315e44a0b1b08a79058a34461d822e6b73e3) in 2011 is in C, not Rust.
null
0
1491098843
False
0
dfpqajk
t3_62wye0
null
null
t1_dfppvvy
null
1493719193
16
t5_2fwo
null
null
null
null
drecklia
null
Reminds me to this [paper](http://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf)
null
0
1491099520
False
0
dfpqp2p
t3_62vx64
null
null
t3_62vx64
null
1493719390
6
t5_2fwo
null
null
null
null
colonwqbang
null
I agree, these posts which are just "Package v. x.y released" and a link to the changelog aren't very helpful. My first priority is to understand why I should be interested in this language which looks on the surface like they just forked Haskell 98 and swapped the (:) and (::) operators.
null
0
1491099550
False
0
dfpqprh
t3_62scvv
null
null
t1_dfp2nu9
null
1493719399
0
t5_2fwo
null
null
null
null
cassandraspeaks
null
Probably what he'll be known as in 200 years.
null
0
1491099806
False
0
dfpqv27
t3_62sqe6
null
null
t1_dfp2t6q
null
1493719470
4
t5_2fwo
null
null
null
null
sacundim
null
This strikes me as a poor choice of default by the framework: using *a single, long term, user selected secret* to protect the authenticity of the cookie, instead of multiple, ephemeral, framework generated ones. Alternative: 1. In your load balancing layer have a mechanism to pin client sessions to individual app servers. (A common facility to start with.) 2. Each app server, when it starts up, picks a strong random secret, and uses it *ephemerally*—never writes it to disk, network, etc. 3. Have the failover mechanism from one app server to the next be aware of which app server issued the cookie, and require clients that got bounced over to reauthenticate. If the client does so successfully the resign the cookie data with that server's ephemeral secret. The downside is that clients need to reauthenticate when they're bounced over or an app server is restarted, but otherwise this is just safer.
null
0
1491099911
False
0
dfpqx9y
t3_62ul90
null
null
t3_62ul90
null
1493719500
6
t5_2fwo
null
null
null
null
m4gnu5
null
It's not silly to explain *why* you'll get in trouble. It's the difference between "do this because everyone says you should" and "you'll get wrecked in 43 seconds if you don't do this".
null
0
1491100026
False
0
dfpqzul
t3_62ul90
null
null
t1_dfpnt0l
null
1493719535
13
t5_2fwo
null
null
null
null
mmstick
null
In Rust, memory is managed automatically, not manually.
null
0
1491100050
False
0
dfpr0e0
t3_62wye0
null
null
t1_dfpq9un
null
1493719543
29
t5_2fwo
null
null
null
null
editor_of_the_beast
null
This is an April Fool's post, but still: | rustc is slow This is true, and should be improved. | rust needs unions Enums are better in exchange for being the size of the largest variant. | linked lists are great I'm really not sure what the argument here is? What does this mean: "Arrays are a poor choice for a programming language, where I may have one class, or a thousand classes in a file." If this is in reference to the difficulty of implementing a linked list in Rust, a deep dive on that is [tracked here](http://cglab.ca/~abeinges/blah/too-many-lists/book/README.html). It's certainly not beautiful, but Rust's stdlib has `LinkedList` anyway. | the circlejerk A lot of people are bothered by this. My opinion is, at least the Rust community is trying. C is so amazing that it really can't be overstated, but like... come on. We've learned a lot in the last 4 decades. And the Rust ownership model is logically flawless, at the expense of being conservative and making certain behaviors difficult to express. I just don't feel that this is hipster hype or jumping on a bandwagon for no reason. It's really easy to make C and C++ crash and Rust definitely prevents some ways of doing that. More importantly, I find certain reactions to Rust to be pretty disturbing and representative of the uglier parts of human nature. Mozilla created a language for their use case, and use it in their projects. Of course they're going to want to promote it a little bit, it's a matter of pride. They're not forcing anyone to write it, unlike what Apple does let's say. But they didn't just complain, they solved a very, very real problem. Frankly, our industry's acceptance of horrible quality and security is embarrassing. If we built planes, everyone would be dead. I certainly wouldn't get on one of those death traps. And someone comes and attempts to at least make an incrementally better solution, and they're vilified over it? Really leaves a bad taste in my mouth. | rust's safety is overrated This is probably also true in a lot of cases. There are plenty of things I'd still much rather write in Ruby or Python. Even C in some cases. Don't use Rust in those cases. But there's definitely a sweet spot of where the memory safety is accurately rated to me. Like, you know, a large C++ project, like a web browser. Which is why they created Rust in the first place.
null
0
1491100055
False
0
dfpr0ia
t3_62wye0
null
null
t3_62wye0
null
1493719544
164
t5_2fwo
null
null
null
null
hogg2016
null
Just had a look at 2 files. 2 remarks/questions: 1. *lily_alloc*. Why do you `abort()` when `malloc()` fails, but you don't check `realloc()`? 2. *lily_buffer_u16*. In the `lily_u16_write_`n functions, you grow the space for data by multiplying it by 2. But if the original space was small, this may not be enough, and you don't check it. OK, in other source files, you only call the init function `lily_new_buffer_u16()` with a count of 4 or 32, so, so far it holds, but... 3. In both `lily_u16_write_1()` and `lily_u16_inject()`, you add one element of data. Yet, you don't perform the same check between `pos` and `size` to trigger a `realloc()` in the 2 functions.
null
0
1491100060
1491100480
0
dfpr0le
t3_62wye0
null
null
t1_dfppx38
null
1493719546
45
t5_2fwo
null
null
null
null
BowserKoopa
null
Someone in the comments is upset because he doesn't want to host his subversion repo on SF.
null
0
1491100105
False
0
dfpr1mi
t3_62n5mx
null
null
t1_dfobbn9
null
1493719560
1
t5_2fwo
null
null
null
null
[deleted]
null
[deleted]
null
0
1491100106
False
0
dfpr1nm
t3_62scvv
null
null
t1_dfpbcf0
null
1493719560
1
t5_2fwo
null
null
null