id
int64 1
41.8M
| deleted
bool 1
class | type
stringclasses 5
values | by
stringlengths 2
15
⌀ | time
int64 1.16B
1.73B
⌀ | text
stringlengths 0
99.1k
⌀ | dead
bool 1
class | parent
int64 1
41.8M
⌀ | poll
int64 127k
41.7M
⌀ | kids
listlengths 1
1.32k
⌀ | url
stringlengths 0
6.6k
⌀ | score
int64 -1
5.77k
⌀ | title
stringlengths 0
198
⌀ | parts
listlengths 2
256
⌀ | descendants
int64 -1
1.59k
⌀ |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11,498,164 | null |
comment
|
lmm
| 1,460,651,786 |
Scala Some is a box (i.e. it takes up 8 bytes on top of whatever's in it). It would be nice to represent Some(x) as just the value x (at the Java bytecode level) and None as null. The problem with that is that if you have an Option[Option[A]] you can't tell the difference between None and Some(None) (which might be semantically important), and whatever you do to solve this your Option is no longer generic and behaves in different ways depending on what's inside it, which is a disaster for being able to understand and reason about code.<p>Kotlin treats nullability as an ad-hoc special case. This allows them to save those 8 bytes occasionally, but it means you simply can't handle optionality generically (in Scala you can write methods that will work generically with Option and also with other cases, e.g. "sequence" does the same thing when you call it on a List[Option[Int]] or a List[Future[Int]] or a List[Writer[String, Int]] or... and it all makes sense, because Option is just another plain old type in the language). IMO that's the wrong tradeoff for almost all use cases, but evidently the Kotlin folk disagree.
| null | 11,497,815 | null |
[
11498621
] | null | null | null | null | null |
11,498,163 | null |
comment
|
phamilton
| 1,460,651,784 |
As a team. Not as an individual. Kobe taking 50 shots and going for 40+ is orthogonal to the team winning.
| null | 11,498,036 | null |
[
11498377
] | null | null | null | null | null |
11,498,166 | null |
comment
|
fauigerzigerk
| 1,460,651,800 |
Value types are the main culprit behind Java's insane memory consumption. I found out through weeks of testing and benchmarking.<p>I mostly benchmarked a small subset of our own applications and data structures. We use a lot of strings, so I never even started to use Java's String class, only byte[].<p>I tried all sorts of things like representing a sorted map as two large arrays to avoid the extra Entry objects. I implemented a special purpose b-tree like data structure. I must have tried every Map implementation out there (there are many!). I stored multiple small strings in one large byte[].<p>The point is, in order to reduce Java's memory consumption, you must reduce the number of objects and object references. Nothing else matters much. It leads to horribly complex code and it is extremely unproductive. The most ironic thing about it is that you can't use Java's generics for any of it, because they don't work with primitives.<p>I also spent way too much time testing all sorts of off-heap solutions. At the end of the day, it's just not worth it. Using Go or C# (or maybe Swift if it gets a little faster) for small to medium sized heaps and C++ or Rust for the humungous sizes is a lot less work than making the JVM do something it clearly wasn't built to do.
| null | 11,497,298 | null |
[
11498498
] | null | null | null | null | null |
11,498,165 | null |
comment
|
kleiba
| 1,460,651,789 |
Added complexity for parser implementors, but arguably more freedom for the user. (?)
| null | 11,498,126 | null |
[
11498425
] | null | null | null | null | null |
11,498,167 | null |
comment
|
Apocryphon
| 1,460,651,806 |
How come Raleigh never appears in these lists? Does it just not have much of a startup scene, despite being a tech hub with software company presence?
| null | 11,497,730 | null |
[
11499001
] | null | null | null | null | null |
11,498,170 | null |
comment
|
neotrinity
| 1,460,651,825 |
did you mean crontab -r ?<p>I remember using crontab -r assuming that -r is to open it in read only mode. like vim -R<p>Bad assumption!
| null | 11,497,922 | null |
[
11498210
] | null | null | null | null | null |
11,498,168 | null |
comment
|
andrei_says_
| 1,460,651,814 |
Or navigate to <a href="http://devdocs.io/" rel="nofollow">http://devdocs.io/</a>
| null | 11,497,779 | null | null | null | null | null | null | null |
11,498,169 | null |
comment
|
haberman
| 1,460,651,815 |
People in 1999 weren't running huge neural nets and beating the world champion in Go.<p>There are millions of computers in data centers around the world. They are working on problems that someone thought it was worthwhile enough to pay for. If C compilers emit code that is slower, that means buying and maintaining a lot more computers, using more energy, producing more greenhouse gas, etc.
| null | 11,498,060 | null |
[
11498212
] | null | null | null | null | null |
11,498,173 | null |
comment
|
teddyc
| 1,460,651,856 |
We have a MeetUp group in my area: <a href="http://www.meetup.com/NeurodiversityNetwork/" rel="nofollow">http://www.meetup.com/NeurodiversityNetwork/</a>
| null | 11,495,883 | null | null | null | null | null | null | null |
11,498,172 | null |
comment
|
sremani
| 1,460,651,850 |
Its already a PC with a different interface. XBox needs to be gaming first and entertainment second and compute last machine. That is why it is bought. the compute experience should not interfere with the first two functions, it could be a nice add-on for some niche, but nothing more.
| null | 11,497,093 | null | null | null | null | null | null | null |
11,498,171 | true |
comment
| null | 1,460,651,826 | null | true | 11,494,937 | null | null | null | null | null | null | null |
11,498,175 | null |
comment
|
ruggeri
| 1,460,651,861 |
The orthodox theory says that, in a competitive marketplace, producers should not be able to "capture" gains in the wealth of consumers. If prices of a good rise, it's because consumers are purchasing more of the good, and the good has increasing marginal cost to produce. (I ignore some 2nd-order effects related to wages as a production cost).<p>That's the <i>orthodox</i> theory. You shouldn't buy it wholesale.<p>On the other hand, it would be a very heterodox environment indeed if producers were able to steal <i>all</i> the increases in wealth from consumers. That could only happen in an environment of <i>no</i> competition, not <i>imperfect</i> competition. Or an environment with 100% occupancy and no ability to build more units of housing.<p>Also, there would need to be no substitutes for the good. For instance, that people couldn't move between cities.<p>Surely the game is, to some extent, rigged. But can it be rigged so badly that it is possible to believe that transferring wealth from richer to poorer will not lead to an increase in the purchasing power of poorer people?<p>I don't have a decided opinion on guaranteed minimum income, but to deny that it would have a marked effect on purchasing power of the recipients of the wealth requires one to posit a truly exceptional economic theory. To attack minimum income on its <i>efficacy</i> of all things: that is either an ill-considered or truly radical view.<p>If minimum income can't help, what possibly could? The only option left would be the confiscation and redistribution of capital.
| null | 11,497,430 | null | null | null | null | null | null | null |
11,498,174 | null |
comment
|
jordache
| 1,460,651,859 |
the json spec is pretty easy to follow, even for a human coder. this is overkill imo
| null | 11,497,826 | null |
[
11500392
] | null | null | null | null | null |
11,498,178 | null |
comment
|
zyxley
| 1,460,651,880 |
Strings without quotes leads to all kinds of trouble in YAML. You end up just quoting everything anyway the first time you need to use "false" or "[some words here]" as a string.
| null | 11,498,077 | null |
[
11500697
] | null | null | null | null | null |
11,498,180 | null |
comment
|
andretti1977
| 1,460,651,904 |
Well, definitely this is a great project but at the moment, for what i was able to see in the demo video, the main features are very similar to code completion and API exploring as i can currently perform with my ide (i develop mainly java based app so IntellijIdea or Eclipse give me quite the same help).<p>Don't want to be rude but it doesn't seem like this tool may currently enhance my productivity.
| null | 11,497,111 | null |
[
11498661,
11498598
] | null | null | null | null | null |
11,498,179 | null |
comment
|
pcwalton
| 1,460,651,895 |
But if the wrappers get inlined (which they should be) then SROA kicks in and promotes the tags to SSA values, where other optimizations such as SCCP can eliminate them. Optimizing compilers are awesome :)
| null | 11,495,203 | null | null | null | null | null | null | null |
11,498,177 | null |
comment
|
seagreen
| 1,460,651,872 |
YAML spec: <a href="http://yaml.org/spec/1.2/spec.html" rel="nofollow">http://yaml.org/spec/1.2/spec.html</a><p>JSON spec: <a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf" rel="nofollow">http://www.ecma-international.org/publications/files/ECMA-ST...</a><p>If you haven't read the JSON spec and you use JSON I recommend doing so. It takes five minutes. My personal favorite line: "Because it is so simple, it is not expected that the JSON grammar will ever change."
| null | 11,497,993 | null |
[
11505540
] | null | null | null | null | null |
11,498,176 | null |
comment
|
CJefferson
| 1,460,651,868 |
Personally, I like a console (I'm more of a nintendo user).<p>I don't tend to have long to play games, and I don't like having 20 configuration options to adjust hair / light / texture / resolution quality. Mainly because I don't know which of these will (a) have the best effect on performance, and (b) have the least effect on how the game's designers intended it to be experienced.<p>For all the weaknesses of consoles, I know that (for better or for worse), I'm getting the best tuned experience, as intended by the game's designers, as soon as I switch the game on.
| null | 11,497,093 | null |
[
11499344
] | null | null | null | null | null |
11,498,183 | null |
comment
|
fencepost
| 1,460,651,959 |
If you image search "gold bar" you'll find a lot of images other than the stereotypical large "Good Delivery" (400 troy oz ~12.4 kilos, Wikipedia has more details on the Good Delivery specifications). Apparently 1000g bars ("Kilobars") are common for trading, but there are images of "Credit Suisse" 100g bars that turn up as well.
| null | 11,497,847 | null |
[
11498345
] | null | null | null | null | null |
11,498,182 | null |
comment
|
vinceguidry
| 1,460,651,952 |
YAML's a weird choice for this kind of application. I once explored different markup languages for maintaining my resume, ultimately just went back to using LibreOffice.<p>There's a temptation to use a structured, machine-readable formatting language for anything that has structure, because you might one day want to use machines to work on it.<p>But for an application like this, those times are the exceptions, most of the time, it's humans that are going to read and modify the text. It makes way more sense to use a human-oriented format and simply use a convention so that it's easy to use a tool to convert it when you need to. I see no reason why Markdown can't be used.
| null | 11,496,962 | null |
[
11500122
] | null | null | null | null | null |
11,498,181 | null |
comment
|
dikaiosune
| 1,460,651,910 |
I'm a big fan of Capsule, actually. My point was not that Java and the JVM ecosystem are terrible (I quite like them), but rather that there is a spectrum of size and complexity and that Go's static binaries seem to be on the simpler to build side of JARs and on the smaller side of JARs.<p>Also, I don't think there's much of a case to be made that bundling a JRE with your JAR is small, even though the tooling might be simple and it might resolve many deployment issues.
| null | 11,495,448 | null | null | null | null | null | null | null |
11,498,188 | null |
comment
|
p4wnc6
| 1,460,651,976 |
I don't see why these figures are considered useful in this context. The total amount of tax revenue needs to be larger (and more efficiently distributed), and that increase in tax revenue needs to come about almost exclusively through increased taxation of those hoarding wealth.<p>"The top 5% paid 57% ..." makes it sound like they are doing more than their fair share, but that's a gross mistake. It doesn't matter what the raw percentage is without also looking at how much of the income the op 5% took. If they take 99% of the total income, but only pay 57% of the tax revenue, it still amounts to a deep unfairness. (I'm not saying that tax revenue paid has to be 1:1 with income, only that taking 99% income while paying for 57% of the tax revenue is deeply unfair in favor of that wealthy 5%).
| null | 11,494,230 | null |
[
11513164
] | null | null | null | null | null |
11,498,187 | null |
comment
|
mangeletti
| 1,460,651,972 |
> force me to tell a court what you said<p>Incorrect.<p>Government can <i>attempt</i> to legally compel you, but they cannot actually "force" you to do something. Even torture cannot actually "force" you to do something. What can force you to "tell a court what you said" is making it impossible for you to keep a secret; like mind-reading technology.<p>> ...legal system is built on being able to get whatever evidence is relevant wherever it may be found...<p>Think about it for a minute; Government says "tell us what you whispered", you say "no", then Government says "fine. you go to jail for contempt". Has our society collapsed because people said "no" to this question?<p>> ...being disingenuous to pretend that the government...<p>I'm not sure "disingenuous" was the word you meant to use here. There is nothing I've feigned ignorance about, and I've made my points pretty clear.<p>EDIT:<p>Ah, see @JoeAltmaier's already great sibling reply.
| null | 11,497,443 | null |
[
11508493
] | null | null | null | null | null |
11,498,186 | null |
comment
|
laumars
| 1,460,651,962 |
I've managed that one as well. One month into a new job and working on servers with complex applications installed that I wasn't yet familiar with. Thankfully I had `crontab -l` just beforehand, otherwise I'd have been screwed.
| null | 11,497,922 | null |
[
11498400
] | null | null | null | null | null |
11,498,184 | null |
comment
|
fokinsean
| 1,460,651,960 |
> Funnily enough, I've never used auto-completion. I've even gone through the trouble of deactivating it in Atom,<p>Super 1337 bro
| null | 11,497,841 | null | null | null | null | null | null | null |
11,498,185 | null |
story
|
ivankirigin
| 1,460,651,960 | null | null | null | null | null |
http://blog.yesgraph.com/social-networks/
| 1 |
Social Networks vs. User Acquisition – A Brief History
| null | 0 |
11,498,190 | null |
story
|
rachellaw
| 1,460,651,995 | null | null | null | null | null |
https://medium.com/@kipsearch/emoji-image-understanding-for-bots-fdd1e86ceb82#.9g1lqbnvq
| 3 |
Emoji and Image Understanding for Bots
| null | 0 |
11,498,189 | null |
comment
|
schwap
| 1,460,651,991 |
> That's the state of affairs in every developed country except one<p>Not even close to factual.
| null | 11,496,760 | null | null | null | null | null | null | null |
11,498,193 | null |
comment
|
ktRolster
| 1,460,652,006 |
-O4 exists for 'risky' optimizations.<p>-O3 is for optimizations that are mostly not risky.<p>-O2 is for optimizations that don't involve a speed/size tradeoff<p>-O1 is for optimizations that don't slow your compiler down too much<p>Obviously these are fuzzy categories, but -O4 is where "undefined behavior" optimizations belong. Alternately, each individual optimization has its own flag, and can be turned on individually.
| null | 11,498,123 | null |
[
11498313
] | null | null | null | null | null |
11,498,192 | null |
story
|
wozmirek
| 1,460,652,000 | null | null | null | null | null |
https://medium.com/@MirekWozniak/company-communication-guide-voice-tone-for-everyone-950848c5827a#.em9j67jcm
| 1 |
Company Communication Guide – Voice and Tone for Everyone
| null | 0 |
11,498,194 | null |
story
|
Guled
| 1,460,652,008 | null | true | null | null |
[
11498429
] |
https://itunes.apple.com/us/app/hackathons-search-local-global/id1099019677?mt=8&ref=producthunt
| 3 |
Show HN: Hackathon finder
| null | null |
11,498,191 | null |
comment
|
nikolay
| 1,460,652,000 |
JSON5 [0] is better as unlike Hjson, it doesn't include non-ECMASCript syntax.<p>[0]: <a href="http://json5.org/" rel="nofollow">http://json5.org/</a>
| null | 11,497,826 | null |
[
11498842,
11498296
] | null | null | null | null | null |
11,498,195 | null |
comment
|
pcwalton
| 1,460,652,028 |
> Unfortunately at least now Rust is falling into the same category.<p>Rust offers one major thing that Modula-2 never did: eliminating memory management problems (also concurrency problems) with zero overhead. In the '80s and '90s it was not known just how dangerous memory management problems could be (use-after-free was thought to be a harmless annoyance). Not now in 2016, with every single browser engine falling to remote code execution via UAF in Pwn2Own.
| null | 11,496,663 | null | null | null | null | null | null | null |
11,498,198 | null |
story
|
rfreytag
| 1,460,652,043 | null | null | null | null | null |
https://www.youtube.com/watch?v=e-ZpsxnmmbE
| 2 |
I, Phone [video]
| null | 0 |
11,498,199 | null |
story
|
brianjackson
| 1,460,652,053 | null | null | null | null | null |
https://www.keycdn.com/blog/http2-hpack-compression/
| 7 |
KeyCDN Enables HTTP/2 HPACK Compression, Huffman Encoding
| null | 0 |
11,498,197 | null |
comment
|
xaduha
| 1,460,652,035 |
It's quite possible that in many senses Kotlin will overtake Scala. Maybe not in terms of advanced language features, but in terms of adoption, tooling.
| null | 11,497,156 | null | null | null | null | null | null | null |
11,498,204 | null |
comment
|
haberman
| 1,460,652,069 |
> You don't really understand the UB problem if you model this in your head as some sort of simple set of rules that everybody really should have known all along<p>What does this have to do with my comment, at all?<p>> You can't just shrug this away with<p>Who is shrugging?<p>You don't understand a complex problem until you understand both sides. The article only presents one side. I am presenting the other. It doesn't mean I think the problem is simple or easy.
| null | 11,498,097 | null | null | null | null | null | null | null |
11,498,202 | null |
comment
|
unprepare
| 1,460,652,059 |
Youre talking about a shotrage of labor.<p>The creates upward pressure on wages, as businesses need to attract more workers.<p>Dont see how this is a bad thing, given that wages have been stagnant for decades
| null | 11,497,880 | null | null | null | null | null | null | null |
11,498,203 | null |
comment
|
reustle
| 1,460,652,065 |
There are multiple extensions that let you set your new tab screen to a blank page, or just a list of apps, or whatever you want.
| null | 11,498,121 | null |
[
11498268
] | null | null | null | null | null |
11,498,200 | null |
comment
|
forrestthewoods
| 1,460,652,055 |
"But sadly it seems that the notion that our most basic and widely-used programming language should be one that's fit for programming in is not yet fully accepted."<p>Ouch. I usually hear that about C++, not C. =[
| null | 11,497,319 | null |
[
11498284
] | null | null | null | null | null |
11,498,201 | null |
comment
|
maxerickson
| 1,460,652,058 |
That article says <i>//Continue filling with other sources</i> where it should say <i>//exit with an error</i>.
| null | 11,486,047 | null | null | null | null | null | null | null |
11,498,196 | null |
comment
|
Retric
| 1,460,652,028 |
Slave revolts suggest otherwise. The important thing to remember is even if you win, revolts are incredibly expensive.
| null | 11,497,327 | null | null | null | null | null | null | null |
11,498,205 | null |
comment
|
FussyZeus
| 1,460,652,074 |
Real talk: I have a gaming PC and an Xbone, and if Microsoft was just willing to give me a One running Windows 10 I would jump so hard at that. Get rid of that garbage dash UI and just give me a start screen PLEASE. I'd even settle for Windows 8.
| null | 11,497,881 | null |
[
11498367
] | null | null | null | null | null |
11,498,206 | null |
comment
|
capote
| 1,460,652,076 |
Not even. I work for a 30 person company and I can't even share my own personal code with third parties.
| null | 11,497,537 | null |
[
11498424
] | null | null | null | null | null |
11,498,208 | null |
comment
|
jkozera
| 1,460,652,083 |
Or Zeal (<a href="http://zealdocs.org" rel="nofollow">http://zealdocs.org</a>)<p>Or Zest (<a href="http://zestdocs.org" rel="nofollow">http://zestdocs.org</a>)<p>Disclaimer: I'm (co-)author of both, and to be honest, Zest sadly isn't really maintained now.
| null | 11,497,779 | null | null | null | null | null | null | null |
11,498,207 | null |
comment
|
giulianob
| 1,460,652,079 |
This is really cool. It reminds me of OmniSharp which provides Intellisense to any IDE. It just runs as a background process listening on HTTP so adding intelligent autocompletion to a text editor is fairly easy. I like this approach a lot.
| null | 11,497,111 | null | null | null | null | null | null | null |
11,498,209 | null |
comment
|
trunnell
| 1,460,652,086 |
A question for the more politically inclined:<p>Feinstein's seat is up in 2018, and she'll probably retire. How do we ensure our next Senator has a more technically literate position on encryption? Who are the plausible candidates?<p>In the 2012 open primary, the next highest Democratic candidate only got 2 percent of the vote compared to Feinstein's 49.5. So who is waiting in the wings?
| null | 11,496,593 | null | null | null | null | null | null | null |
11,498,210 | null |
comment
|
laumars
| 1,460,652,093 |
> <i>did you mean crontab -r ?</i><p>Some platforms it's -r, others it's -d. I suspect it's down to which cron daemon you run but never really cared enough to investigate. In any case, both are next to the 'e' key so either are just as dangerous in terms of typos.
| null | 11,498,170 | null | null | null | null | null | null | null |
11,498,211 | null |
comment
|
zuck9
| 1,460,652,103 |
Electron?
| null | 11,497,396 | null | null | null | null | null | null | null |
11,498,212 | null |
comment
|
dragontamer
| 1,460,652,109 |
> People in 1999 weren't running huge neural nets and beating the world champion in Go.<p>Which was mostly GPU code, so it was either CUDA or OpenCL btw. Not actually C.<p>People do need to realize that the fastest, massively parallel supercomputers are in fact written in CUDA / OpenCL. And the most powerful supercomputers are mostly being used to display 3d-models of a sword-wielder fighting a guy with guns.
| null | 11,498,169 | null |
[
11498246
] | null | null | null | null | null |
11,498,213 | null |
comment
|
mikecb
| 1,460,652,112 |
Interesting. I guess quarterly is an internal target.
| null | 11,492,068 | null | null | null | null | null | null | null |
11,498,214 | null |
comment
|
nightbrawler
| 1,460,652,115 |
"He has dropped completed works and been unable to find them again on the greasy carpet of his studio."<p>That could be rather disappointing!
| null | 11,495,743 | null |
[
11499856
] | null | null | null | null | null |
11,498,216 | null |
comment
|
fizzbatter
| 1,460,652,120 |
This looks really cool. Bothers me having my code sent over, because i can't use it for a variety of use cases, but for my personal work i may give it a try. I've got two main desires though:<p>1. In editor pane. I use Vim in a full screen term, and really want want to deal with managing OS windows to allow a Kite window side by side with iTerm2. Perhaps an overlay would be solve this? That way it works for bash/etc?<p>2. Rust support. I'm learning rust lately, and this sort of tool could <i>really</i> benefit me with a learner-error-prone language like Rust. Based on the signup form though, Rust does not appear available.
| null | 11,497,111 | null |
[
11498521
] | null | null | null | null | null |
11,498,215 | null |
comment
|
zeveb
| 1,460,652,115 |
> Legislation can get past powerful lobbyists if there's enough public momentum. It happened with Tobacco.<p>Anti-tobacco legislation was passed <i>due to</i> powerful lobbyists.
| null | 11,492,346 | null | null | null | null | null | null | null |
11,498,220 | null |
comment
|
p4wnc6
| 1,460,652,145 |
I agree, and a number of my grad school friends were into climbing. I would never have identified them as "the climbing man" or "the climbing woman" though, since it was just one aspect of their personality. If someone had introduced one of them to me as "the climbing man" then the climbing stereotype would have obviously had some effect on my perception.
| null | 11,494,748 | null | null | null | null | null | null | null |
11,498,219 | null |
story
|
Lind5
| 1,460,652,141 | null | null | null | null |
[
11498446
] |
http://spectrum.ieee.org/automaton/robotics/military-robots/autonomous-weapons-could-be-developed-for-use-within-years
| 2 |
Autonomous Weapons “Could Be Developed for Use Within Years
| null | 2 |
11,498,217 | null |
comment
|
rm_-rf_slash
| 1,460,652,135 |
That was around the year 2000.<p>People eventually stopped joking about how stupid "eyeballs" are as a metric and forgot all about the late 90s. Now they make the same mistake because, well, take your pick:<p>-Mobile phones aren't desktops<p>-Big data<p>-This time it's different(TM)
| null | 11,498,112 | null |
[
11498419,
11499156
] | null | null | null | null | null |
11,498,223 | null |
comment
|
Bahamut
| 1,460,652,167 |
This made me think of this quote: <a href="https://twitter.com/devops_borat/status/41587168870797312" rel="nofollow">https://twitter.com/devops_borat/status/41587168870797312</a><p>More seriously, this isn't the first I've heard of rm -rf backfiring - one of my friends said at one place he worked at, an IT guy walked out one day & never came back after trying to fix a co-worker's computer. He found out after by investigating on his co-worker's computer that the IT guy must have ran rm -rf while root & wiped out everything.
| null | 11,496,947 | null | null | null | null | null | null | null |
11,498,221 | null |
comment
|
fnovd
| 1,460,652,145 |
>Socialism says two people do not have the right to come to an agreement on the exchange of property and labor. What is social about that? How is that in harmony with human nature?<p>No, socialism says focusing on group cooperation optimizes aggregate wealth. Socialism says that somewhere between a completely shared economy and a completely private economy is a sweet spot where you get the best of both worlds.<p>You're very focused on this "socialism is anti-social" stance, but not only does it not make any intuitive sense, it is not backed up by any data. Show me a modern, prosperous state that absolutely abstains from social programs or promoting collective interest.<p>The very idea of a state is a threat to (completely) free exchange of property and labor. Most people are willing to buy security from the state in the form of regulations and taxes. We think our food should be safe to eat, so we make rules and add a cost to ensure a baseline. We want advertisements to accurately represent products. As individuals, we have little recourse against an industry which has decided to curtail consumer health in favor of increased profits. The state is simply a mechanism to ensure our collective will is met, not as entities in a capitalist network but as the weird little thinking, walking primates that we are.
| null | 11,497,978 | null |
[
11498713
] | null | null | null | null | null |
11,498,224 | null |
comment
|
bpchaps
| 1,460,652,170 |
That's awesome.<p>A company I left a while back recently had two servers accidentally rebooted through sort of automated task (probably puppet). The fine, I'm told, was one billion dollars.<p>Someway, somehow, he still works there. :)
| null | 11,497,787 | null |
[
11498270
] | null | null | null | null | null |
11,498,229 | null |
story
|
js4
| 1,460,652,241 | null | null | null | null | null |
http://blog.vesper.ai/2016/04/philosophy-key-riding-cycles-business/
| 1 |
“The only guarantee, ever, is that things will go wrong.”
| null | 0 |
11,498,227 | null |
comment
|
studentrob
| 1,460,652,202 |
I just called my local reps (John Larson, Chris Murphy and Richard Blumenthal). Each call was quick, professional and friendly.<p>That was my first time calling and it was surprisingly painless.<p>I opted to provide my name and zip code. I think that allows them verify that I am a resident and maybe makes my comment carry more weight than it would without personalizing it. They seemed willing to accept comments either with a name or without one.
| null | 11,496,720 | null | null | null | null | null | null | null |
11,498,225 | null |
comment
|
neerdowell
| 1,460,652,175 |
It's required in POSIX 1003.1-2013 that rm refuse to remove the root directory[0].<p>[0] <a href="http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html" rel="nofollow">http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm...</a>
| null | 11,497,967 | null |
[
11499365
] | null | null | null | null | null |
11,498,233 | null |
story
|
doener
| 1,460,652,261 | null | null | null | null | null |
http://www.reuters.com/article/us-apple-environment-idUSKCN0XB24F?feedType=RSS&feedName=technologyNews&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+reuters%2FtechnologyNews+%28Reuters+Technology+News%29
| 2 |
Apple to donate a portion of App Sales to support the environment
| null | 0 |
11,498,232 | null |
comment
|
mgbmtl
| 1,460,652,252 |
I'm a bit surprised the newspaper did not validate the source? They're basically quoting a Super User / Stack Exchange thread which was probably a troll.<p>If a hosting company had deleted 1535 client accounts, we would have heard other stories about it from angry clients?
| null | 11,496,947 | null |
[
11499835,
11498341,
11498917,
11505833,
11499443,
11499805
] | null | null | null | null | null |
11,498,228 | null |
comment
|
mamikonyana
| 1,460,652,219 |
how about yaml?<p><a href="http://www.yaml.org/start.html" rel="nofollow">http://www.yaml.org/start.html</a>
| null | 11,498,077 | null |
[
11500354,
11499780,
11498881
] | null | null | null | null | null |
11,498,218 | null |
comment
|
chrisseaton
| 1,460,652,138 |
> If gcc -O2 without whole-program optimization was good enough to encode MP3 faster than real-time on a 366 MHz Pentium laptop in 1999, then surely it's good enough now<p>This is patently a ludicrous argument. How can the speed of encoding an MP3 be used as a proxy for countless other applications of computers?<p>Programs that are slower than they need to be waste real energy and other industrial resources.
| null | 11,498,060 | null | null | null | null | null | null | null |
11,498,226 | null |
comment
|
Practicality
| 1,460,652,176 |
While related, I think you're overestimating the capacity of the average human being to make such calculations.<p>Since they are incapable of determining the maximum effect of their dollar (at least, not without intense effort), they simply make the choice that feels the best, and that will usually be determined by the proximity of the suffering.<p>Secondly, many people invest in cancer research because everyone might get cancer. They aren't hoping to reduce suffering generally. They are thinking "I or my friends might get cancer and collectively this research might save my (or my friends) life."<p>Nobody cares about the suffering of people they've ever met. I mean, intellectually we all do, but emotionally, no, you have to see the person (or at least talk/text with them) to care.<p>As depressing as it is, your "average" human being is not making any decisions based on a rational estimation of the best way to achieve their goals. If they have goals at all. They pretty much just try to muddle through.
| null | 11,498,063 | null | null | null | null | null | null | null |
11,498,231 | null |
comment
|
Jtsummers
| 1,460,652,247 |
Also, the government tends to separate out makers (manufacturers) from sellers (vendors), though they could be the same entity. Someone may be able to sell software (say on the Google Play Store or Steam or Apple's App Store), without restrictions. But the makers of the software would be subject to this law if their applications permitted or enabled encrypted communication.
| null | 11,497,893 | null | null | null | null | null | null | null |
11,498,234 | null |
comment
|
dsfuoi
| 1,460,652,261 |
C is designed to be capable of running of vastly different architectures, allowing the programmer to use that flexibility when it actually isn't needed, or is harmful.<p>I think the C coding mindset should be this: if an approach requires code that isn't unambiguously defined, change the approach. If this means more boring coding, to circumvent cute tricks, so be it. If you need that extra 5% speed, use assembly instead of bending C.
| null | 11,497,319 | null |
[
11499626
] | null | null | null | null | null |
11,498,236 | null |
comment
|
st3v3r
| 1,460,652,270 |
I do understand it. That doesn't mean I don't think those who hold that position are cheats and liars, and should be up against the wall.
| null | 11,493,931 | null | null | null | null | null | null | null |
11,498,244 | null |
comment
|
recursive
| 1,460,652,323 |
> Can we build a code editor fast enough that it doesn’t feel like you’re typing in a browser?<p>Is this a jab at Atom? I like this.
| null | 11,498,000 | null |
[
11498580,
11498510,
11498623,
11498344
] | null | null | null | null | null |
11,498,243 | null |
comment
|
kilroy123
| 1,460,652,323 |
How is this even remotely possible..?<p>- No developers have a local copy of code on their machines?<p>- No backups at all?<p>Worse case scenario, couldn't you attempt to retrieve the data from the hard-drive? Though, the database(s) would likely not be retrievable.
| null | 11,496,947 | null |
[
11499801,
11499754
] | null | null | null | null | null |
11,498,222 | null |
comment
|
dsfuoi
| 1,460,652,147 |
Can you elaborate? Hopefully they don't have straight UB do they?
| null | 11,498,135 | null |
[
11498541,
11498435,
11498448
] | null | null | null | null | null |
11,498,237 | null |
comment
|
ZeroFries
| 1,460,652,273 |
I have this thing where I tend to match the body language, style of communication, etc, of the person I'm communicating with. I think this leads to a lot of these feelings, because as I match their body language, I start feeling the same emotions they're feeling. Catching yourself doing this and relaxing your body seems to help. Just wondering if you can relate.
| null | 11,497,375 | null |
[
11498409
] | null | null | null | null | null |
11,498,238 | null |
comment
|
usefulcat
| 1,460,652,274 |
Not sure how you get that. Let's assume that memory is allocated in sizes that are multiples of 4, and length-prefixed strings have a 4 byte length prefix.<p><pre><code> str len: c-str bytes: size-prefix bytes: difference:
1 1+1 (4) 4+1 (8) 4
2 2+1 (4) 4+2 (8) 4
3 3+1 (4) 4+3 (8) 4
4 4+1 (8) 4+4 (8) 0
5 5+1 (8) 4+5 (12) 4
6 6+1 (8) 4+6 (12) 4
7 7+1 (8) 4+7 (12) 4
8 8+1 (12) 4+8 (12) 0
</code></pre>
So, for example: "ABCDE" as a C-style string would require 5 bytes for the string plus one for the null terminator, which would be satisfied by an allocation of 8 bytes. An equivalent length-prefixed string would require 4 bytes for the prefix plus 5 for the string, which would then be rounded up to 12.<p>The only time the size-prefixed variant doesn't require more memory is when the string length is a multiple of 4. So the length-prefixed version requires an additional 3 bytes on average.
| null | 11,497,244 | null |
[
11498565,
11500195
] | null | null | null | null | null |
11,498,241 | true |
comment
| null | 1,460,652,314 | null | null | 11,497,826 | null | null | null | null | null | null | null |
11,498,230 | null |
comment
|
fweespee_ch
| 1,460,652,246 |
Correct. I'm just restating it because I find it amazing given what that implies for grey market and white collar crime.<p>It is basically a public admission that the Government is completely ineffective with anything vaguely resembling a competent criminal. It makes me question if we are allocating law enforcement resources correctly.<p>-----<p>Edit due to rate limit:<p>> I know that sounds far-fetched. Our government employs many smart, capable people in FBI and SEC that could certainly stop it.<p>I'm honestly not sure it is as far-fetched as it sounds. Resources appear to be allocated to "narcotics" and "terrorist" buckets very heavily with little regard to the impact on less glamorous investigations. My concern is this allocation may have opened very large holes around threats that are unlikely to create headlines.<p>Smart, capable people can only do so much if they lack the resources to investigate people with serious and competent OpSec.<p>> I'm just... paranoid... that the Le Roux case means bigger things might be going on that would do way more damage than addicts getting drugs reliably.<p>Honestly, I don't think you are paranoid. I think if something like that happened the current investigatory capability of the various agencies appears to be unable to do much if such a plot was competently executed.<p>That said, I think it is unlikely anyone would attempt to execute an action on such a scale because he clearly had to flee to another country.<p>I think legal means are more effective on a risk-adjusted basis in terms of financial costs. The critical slice of people whose opinions can be shifted between candidates seem vulnerable to advertising and rhetoric. Truth remains malleable enough that sufficient funds expended can create it during the election cycle and that is the only real control that matters.<p>> You'd think that with this level of incompetence a few banks could straight up foreclose on millions of mortgages cooked up Enron style. Hell, they might one-up Paul Le Roux by buying or installing a Treasury head. At this rate, you'd think they'd cut a deal for immunity while keeping lots of money due to less recklessness. They might even use the complexity of their operations to negotiate for more money to prevent fall-out coming back on everyone else. Might cost $1-6 trillion dollars in such a scenario.<p>Honestly, I'm pretty sure our system has largely legalized bribery via campaign contributions and the fact they can keep them on retirement.<p><a href="http://abcnews.go.com/Business/campaign-finance-senators-house-members-campaign-funds-retire/story?id=10203316" rel="nofollow">http://abcnews.go.com/Business/campaign-finance-senators-hou...</a><p>> Turns out that despite strict Federal Election Commission rules, Bayh and other exiting elected officials do have ways to keep unspent political contributions.<p>So I'm not sure I'm the best person to talk to about this. I'd just reinforce your paranoia since I think you are largely correct on the political side.<p>On the commercial side, I think that is honestly why we have so many problems like LIBOR fixing that go unnoticed:<p><a href="http://archive.is/vMZV5" rel="nofollow">http://archive.is/vMZV5</a><p>> Simply put, then, it seems the misreporting of Libor rates may have been common practice since at least 1991. Although the difference between the reported rate and the actual rate might seem small, the total amount of money involved is material, given that Libor rates affect contracts worth hundreds of trillions. Also important is what such misreporting says about the culture.<p>I think this misallocation has led to alot of the recent banking scandals, honestly, and its disturbing to see further evidence in a secret-now-public criminal case that is unrelated.
| null | 11,497,924 | null |
[
11498355,
11501461
] | null | null | null | null | null |
11,498,247 | null |
comment
|
billhendricksjr
| 1,460,652,333 |
A long two is the worst shot in basketball from an analytics perspective. I know that sounds incredibly obvious, but it's one biggest changes to game theory that the basketball analytics wave brought.
| null | 11,495,620 | null | null | null | null | null | null | null |
11,498,248 | null |
comment
|
e0m
| 1,460,652,347 |
This is amazing. Documentation pages that list methods alphabetically, or by some other random order, drive me crazy! Just being able to show me function calls by frequency and relevance would make Kite worth it. And there's so much more! Very excited about this.
| null | 11,497,111 | null | null | null | null | null | null | null |
11,498,235 | null |
comment
|
twoodfin
| 1,460,652,262 |
You like it when aliasing rules allow your compiler to copy the target of a pointer into a register, rather than read it from memory over and over in case an intervening write through another pointer could have overwritten it.
| null | 11,498,022 | null | null | null | null | null | null | null |
11,498,245 | null |
comment
|
sneak
| 1,460,652,328 |
Amazing that in 2016, the best programmers in the world have not chosen to solve the "display mailing list archives on a webpage without terrible line wrapping" problem yet.
| null | 11,497,319 | null |
[
11498485
] | null | null | null | null | null |
11,498,240 | null |
comment
|
ktRolster
| 1,460,652,302 |
I can't speak for the midwest or south, but in rural California, the problem is the same: housing prices rise because there is no zoning for new houses. There is no zoning for new houses, because people don't want their town to change and grow.<p><i>The carolinas for example: with limits on zoning permits and fees</i><p>Exactly.<p>If you can't buy a house for less than $100k, then you can be sure it's a problem that can be solved by building more houses (ie, allowing it to happen through zoning and permits).
| null | 11,485,103 | null | null | null | null | null | null | null |
11,498,246 | null |
comment
|
haberman
| 1,460,652,332 |
Fair enough. But some very significant fraction of the hardware and energy spent on data centers today is on CPUs.
| null | 11,498,212 | null | null | null | null | null | null | null |
11,498,239 | null |
story
|
sirduncan
| 1,460,652,298 | null | null | null | null | null |
http://sdtimes.com/how-google-runs-production-systems/
| 1 |
How Google runs production systems
| null | 0 |
11,498,251 | null |
comment
|
kybernetikos
| 1,460,652,356 |
I think I'd draw it facing left because I'd draw the front wheel first, and since I'm used to writing left-right, the back wheel would go to the right of it.
| null | 11,486,697 | null | null | null | null | null | null | null |
11,498,253 | null |
comment
|
irq11
| 1,460,652,363 |
The title is a bit misleading. This only works for Python and OSX.
| null | 11,497,111 | null |
[
11498952
] | null | null | null | null | null |
11,498,249 | null |
comment
|
brudgers
| 1,460,652,351 |
Will the chat bots self identify as chat bots to customers?
| null | 11,494,458 | null |
[
11498460
] | null | null | null | null | null |
11,498,250 | null |
comment
|
tptacek
| 1,460,652,352 |
No, that's not common. The damages imputed to attackers arise directly from what they did. The problem is that people ignore a whole class of damages in these cases: the DFIR work that is required to ensure that whoever attacked you didn't also persist themselves somehow.
| null | 11,498,154 | null |
[
11498346
] | null | null | null | null | null |
11,498,252 | null |
comment
|
vph
| 1,460,652,356 |
A similar quote by Michael Jordan: “I've missed more than 9000 shots in my career. I've lost almost 300 games. 26 times, I've been trusted to take the game winning shot and missed. I've failed over and over and over again in my life. And that is why I succeed.”
| null | 11,497,197 | null |
[
11499980
] | null | null | null | null | null |
11,498,242 | null |
comment
|
ausjke
| 1,460,652,320 |
with 'set -u' he could have stayed safe. Bash probably should never treat undefined variables as a valid but empty value, it's so dangerous.
| null | 11,496,947 | null | null | null | null | null | null | null |
11,498,255 | true |
story
| null | 1,460,652,369 | null | null | null | null | null | null | null | null | null | null |
11,498,254 | null |
comment
|
graham1776
| 1,460,652,364 |
I realize this is geared towards the end of an actual job interview, but many of the questions that really hit home for an employer are: Questions that demonstrate 1)technical ability and 2)culture fit. If you can ask questions that show an employer that you can do your job well and that you will fit in with the team, you are that much further ahead of the competition.<p>Questions serve as an opportunity to "fill in" the employer on areas they may have forgotten to ask you. If they are not 100% that you can do your job (or are teachable) and that you will fit in with the company, it is your job to ask the questions that eventually give them certainty.<p>Shameless plug: Just released a book on informational interviews with a huge list of questions and walkthroughs on how to do them. Best way to get a job!<p><a href="http://www.amazon.com/Informational-Interviews-Coffee-Supercharge-Career-ebook/dp/B01DG19MIK" rel="nofollow">http://www.amazon.com/Informational-Interviews-Coffee-Superc...</a>
| null | 11,496,962 | null |
[
11498304
] | null | null | null | null | null |
11,498,257 | null |
story
|
jamescustard
| 1,460,652,373 | null | null | null | null | null |
http://sdtimes.com/experience-migraine-augmented-reality-technology/
| 1 |
Experience a migraine with augmented reality technology
| null | 0 |
11,498,256 | null |
story
|
nikolay
| 1,460,652,370 | null | null | null | null | null |
https://github.com/groupon/backbeat
| 4 |
Backbeat (by Groupon) – Distributed Workflow Service for Asynchronous Tasks
| null | 0 |
11,498,259 | null |
comment
|
robinson-wall
| 1,460,652,387 |
RAID is not a backup.<p>... Especially when your RAID is busy rebuilding for N hours every other week.
| null | 11,497,968 | null |
[
11498578
] | null | null | null | null | null |
11,498,258 | null |
comment
|
atonse
| 1,460,652,380 |
I absolutely love how VS Code generally feels more native, performant, and polished than Atom, but lack of a good VIM mode is keeping me away right now. Hopefully the author of VIM Mode in Atom, makes a VS Code plugin.
| null | 11,498,000 | null |
[
11498289,
11499152,
11499562
] | null | null | null | null | null |
11,498,260 | null |
comment
|
robertelder
| 1,460,652,400 |
The issue of creeping optimizations causing problems far in the future is one of the reasons that I suggested using unsigned intergers in C as much as possible:<p>"Compiler authors will likely support this as long as possible, but the peer pressure of needing things to go faster and faster will likely push them to exploit more and more undefined behaviour to their advantage in the future. Their argument will be: 'After all, who has sympathy for those who don't follow the standard?'."<p>From: <a href="http://blog.robertelder.org/signed-or-unsigned-part-2/" rel="nofollow">http://blog.robertelder.org/signed-or-unsigned-part-2/</a><p>Lots of people disagree with me, but its nice to have less UB issues to worry about far in the future.
| null | 11,497,319 | null | null | null | null | null | null | null |
11,498,262 | null |
comment
|
kafeltz
| 1,460,652,409 |
Rich Hickey could play on golang, this guy is so fascinated by simplicity too.
| null | 11,494,181 | null | null | null | null | null | null | null |
11,498,261 | null |
comment
|
zxcvcxz
| 1,460,652,400 |
Still no CLI mode for editing text. Vim has had this for years. How am I supposed to integrate this behemoth into my work flow if I can't even run it in a terminal?<p>It's just too clunky for my taste.<p>It's also hilarious that Atom gets shat on for data collection when no one cares that VS does it too. Microsoft can do no wrong, only OSS projects have standards to live up to.
| null | 11,498,000 | null |
[
11498308,
11498285,
11498299,
11499582
] | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.