skysight-inc/HackerNews huggingface dataset:
Here's my variation:

1) Using a text editor like Visual Studio Code, write core components in react-primitives. This code can be largely the same as your real react-native code with all it's handling of layout and internationalization.

https://github.com/lelandrichardson/react-primitives/

2) Create a library of core components. In aggregate, this library is your DLS (Design Language System)

http://airbnb.design/building-a-visual-language/

3) Use react-sketchapp to transform your core components in react-primitives to sketch symbols. If you have a large design system and support multiple languages, then this will save you a lot of time as the number of combinations of layout, language and potential input values are explosive.

http://airbnb.design/painting-with-code/

4) Use sketch to design your new feature. Use sketch symbols to quickly pull in core components. If you need to create a new core component go back to step 1. With all your fancy tooling, it can be as fast as 1 minute to build a new page.

https://twitter.com/karrisaarinen/status/849733176150773761

5) When core components change, go back to the "source of truth", the react-primitives code and modify that. Re-run react-sketchapp. Now all sketch files that depend on that core component will be automatically updated because of updated sketch symbols.
How about redundancy when your $4 a month VM goes down? If you're sending/receiving that much e-mail, I assume uptime is critically important.
You can start here https://www.washingtonpost.com/news/monkey-cage/wp/2017/04/1... and if you really care, google a bit and you'll have no issue finding plenty of evidence that racism was the key factor in this election; and if you know personally many Trump voters it's pretty obvious as well with only a little discussion.
This doesn't sound right to me. Reconciliation is a rule adopted by Congress as allowed for by Article I, Section 5.2. It doesn't sound right that a statute can be controlling over Congressional rules. I would appreciate a link to the statute you had in mind.

It seems more likely that the rules, and not a statute, forbid using reconciliation in that case. Of course those rules could be changed by a majority vote, I believe.

I think the only Constitution constraint is that budget bills must originate in the House.
Why Twitter Won't Block Donald Trump
To be fair, if you read up on the 'three felonies a day' book, you find that most of the examples given are fairly contrived. Some of them are things you should absolutely know are likely to be illegal, the rest are situations that require significant legal contortions to be plausible and are unlikely to survive scrutiny by a judge. Average Joe doesn't really go around committing three felonies a day.
Most people, including programmers, are not used to building numbers from numbers past basic arithmetic on digits from 0-9.

Floating point numbers use scientific notation which is rarely used by anyone, even programmers. When was the last time you expressed a large-ish number in scientific notation when you were working on paper?

Yeah, me either!
I'm intrigued by the coming future of the megacorp. Philip K Dick wrote many stories where the giant corporation is the tribal, protect-our-own protagonist against the faceless, authoritarian government. Paycheck being the most memorable example. It's going to be interesting when companies don't even have to pretend to be subservient to the government anymore.
This is getting downvoted because it's true.

(and no, before anyone pulls that card, it's not racist. It's cultural)
Can Facebook Messenger Replace Your Customer Service Platform?
In playing around with your app, I intuitively kept clicking the right arrow on the slides and completely missed the additional info on the ORGANIZING YOUR DATA slide on the first go around. Sometimes that the only shot you have to convey a message and explain your Item/Track/Channel system in further detail. I feel like that could use a "(Learn more below.)" or something like what's found on the first slide.
> With the C array, I need to know how big to make it before I create it ..

But that is essential complexity when you need to reason carefully about memory use.
Evidence for functional redundancy in nature (2015)
Meanwhile, over in Richmond (a suburb of Vancouver, Canada where the census shows approx 50% of residents are of Chinese origin):

http://www.vancitybuzz.com/2013/08/meanwhile-in-richmond/

http://www.theglobeandmail.com/life/the-hot-button/the-boy-t...

http://www.cbc.ca/news/canada/british-columbia/boy-peeing-in...

http://www.straight.com/news/417596/culture-clash-over-kid-p...
You should be getting MCA (machine check architecture?) notifications in syslog/dmesg if there are ECC correctable errors, and an MCE (machine check exception) on the console for uncorrectable error, based on my experience with SuperMicro xeon servers running FreeBSD. A lot of our servers see a few correctable errors once in a while, and it doesn't affect the usability of the system; but sometimes the number of correctable errors is very high and the system is very sluggish.
Your counter and metaphor doesnt really apply here. Let's look at why:

1. A car is a necessity that cost a ton to replace. An internet-connected camera or TV isnt. They could just as easily not buy an Internet-enabled appliance.

2. These devices are being used as weapons when people leave them around insecure. Leaving loaded guns lying around is a bit closer but minus the lethality.

3. With cars, we have efforts on safety and security at user side, manufacturer side, and the law. There's no effort to buy secure IoT by these users, to do even minimum protections at manufacturing, or pass laws putting liability on users or manufacturers where it should be. Now, it's more like a car with defective parts that make it hit other cars. A city's worth are affected with nobody taking action but people are told armored cars are available for a fortune.

So, these comparisons to highly damaging thefts of legit goods on innocent people are nonsense. There's defective products damaging innocent people. Nobody with power to prevent or punish it legitimately is doing anything. Im happy that a vigilante is reducing risk to Internet hosts plus putti g cost on those responsible for that risk.
Given the level of economic and educational disparity that persists in the population it's an obvious consequence that you'd have a country that can send an unmanned mission to Mars while still suffering from illiteracy.

It'd be unwise to generalise the capabilities of a country where such a large variance exists in the population's technical aptitude especially when it's of nearly a billion people.
> I'm not trying to argue whether or not the API is well designed (the designers can do that if they so wish). My point is a pragmatic one: Saying the API lets you shoot yourself in the foot makes people believe that if they just use the right incantation everything will be fine and easy.

But that's my point: if you use the right incantation, everything should be fine-and-easy, even in languages like Ruby and Python. The larger point is that the library user shouldn't need to know the "right incantation"; the library should make the safe thing the default, and you should need to very explicitly shoot yourself in the foot.

> YAML is just not that kind of format.

> If I was designing the API today, I would name YAML::load something like YAML::unsafe_load because loading YAML is dangerous. Guiding naive users to a high-restricted subset of YAML is good. Making them think that they just need to avoid "easy foot-guns" is not.

Reading your comment, I get the impression that you think YAML, as a format is unsafe; this isn't the case in any manner that I can see, and I explained a bit of that argument in my previous comment. The security issues have been around implementations of YAML libraries that allow the deserialization of custom tags that correspond to arbitrary language-specific objects (the !ruby tags). This isn't required by the YAML specification, and a library shouldn't do it by default because arbitrary object construction is dangerous. But YAML, as a format, doesn't require this; again, the core types + a whitelisted set of types covers 99% of use cases, and is safe.

(And I think tagging is a great feature that basically appears in no other serialization format that I'm aware of. CBOR comes close, but you have to register your types w/ IANA.)
But something has got to give down the road, right? I feel sorry for the future guy who will be forced by circumstances to do the change.
Nick Sand, Orange Sunshine LSD chemist, has died
I think he believes Internet-connected devices need at least basic security to reduce damage they can cause other systems. A problem long illustrated in the Windows market and recently IoT.
"The evidence is literally overwhelming."

I love it!
Extremely relevant and important video on the same subject "Don't talk to the police" by a law school professor.
https://youtu.be/d-7o9xYp7eE
I don't think the testimonials are real lol
https://www.pinterest.com/pin/239324167669450586/
Why Systems of Intelligence Are the Next Defensible Business Model
This is such an important point. I'm living with a generic "group" feature in a SaaS app and it's a nightmare. It's been used by numerous clients for totally different things. These are the weeds that will choke your garden.
The Robinhood API
OT: I really hope that we do an serious agreement(with immigration visas) between europe, canada and mexico.
Hajime vigilante is putting a huge amount of work into infecting IoT devices
> Plus, ignoring the people who depended on the continuing operation of the family business is not a good thing.

I presume you mean something like the people who work on the farm, and who repair the tractors, and such. But if the family has to sell, the person buying it probably wants it for a farm, not just for a B&B with a really big back yard. So they're probably going to need about the same number of people to work on that farm, and someone to repair the tractors, and so on.
One of the reasons it's still failed to eventuate is that the engineering and scientific challenges are significant and funding for fusion endeavours is already quite limited and has been declining. The benefits from fusion are insanely good (I have read that in an energy-producing reactor, you would only need ~250kg of deuterium to power the US for a year), so it would be foolish to relegate it to 'pipe dream' status just because of the current difficulties. It just needs continued effort and investment.

The 2 main issues are addressed in another couple of comments [0], [1]

Burning fuel is easy, of course it's going to stick around, but for maximum efficiency and power generation capabilities, you can't really go past fusion.

[0]: https://news.ycombinator.com/item?id=14205346
[1]: https://news.ycombinator.com/item?id=14203704

> At this point I'm honestly not convinced that this is an economically solvable problem.

The energy industry as it is, is belligerent and seemingly resistant to new technologies that aren't fossil fuel based. How long would this remain the case if actual concerted (gov, scientific and industrial) effort was dedicated to fusion rather than pissing it up the wall trying to hold on to fossil fuel based approaches for mass scale power generation.

> It's not sufficient to output more energy than you input either.

The science says otherwise, if this was the case we wouldn't even be bothering to get power out of it.
Code Reviews Considered Harmful
I'm more interested in Waymo v Uber at the moment.

kthxbai!
I have been seeing numerous memory corruption on many of my computers, including end of life memory sticks and motherboards that died before my eyes.

At work, including my sysadmin years, up to a very long time ago on stupid summer jobs fixing computers, I have spent countless man*months to debug issues that were ultimately caused by memory errors. All of that could have been avoided by using ECC.
It seems the Uber app was extremely over-engineered. Call me crazy but I don't think you need 100 engineers to recreate the front-end of Uber.
Lot's of the Robinhood API is publically accessible.

Note: trailing slashes are required for some reason on all endpoints.

Want a real-time Apple quote?
https://api.robinhood.com/quotes/AAPL/

Want some fundamentals on Apple?
https://api.robinhood.com/fundamentals/AAPL/

Want more information on a given instrument (Apple)?
https://api.robinhood.com/instruments/450dfc6d-5510-4d40-abf...
Day 33: To my favorite user
> did all the 8+ MB worth of it pop out of our head all at once? or more realistically, did we develop the features piece by piece, not unlike how upstream linux is developed?

That's not an argument against the current state of the pax/grsec being much more monolithic in architecture than the Linux kernel (I don't know if it is; just that that argument doesn't prove it's not.) Sure, the commits are small. 1000 small commits can add up to 100 small+simple components, or to 10 rather large+complex ones.

> define invasive

"Invasive", I believe, refers to how much of the kernel needs to be modified to upstream any given feature (regardless of patch size.)

The opposite of "invasive" is "isolated". 1000 lines of code in one module representing a new USB device driver, for example, is very non-invasive. It doesn't even need to be "hooked into" anything; it just puts a vendor+device ID into a database, and some existing logic will then detect devices with such IDs showing up on the bus and load the module in response.

Meanwhile, 1000 lines of code that make breaking changes (however small) in the ABIs or preconditions/postconditions of 100 different existing kernel functions, is an "invasive" patch. It requires a lot more testing than the USB driver to be accepted, because those 100 existing functions will be executed by a lot more people's machines than the USB-device module (which will only get executed on machines that have that device.)
I wish there were more complete collections of industry specific software GUIs. For example, the Bloomberg Terminal is a very specific and near complete sub-UI: https://www2.le.ac.uk/departments/economics/images/bloomberg....
The Leviathan
The Squid
If I understand correctly, it's more like this. You make $50,000 in a good year. When you have to plow money into the operation, you borrow the money to do it. You're able to make payments on this, and that's about all. Putting aside $200,000 in that environment would be pretty hard.
That fundamental idea is wrong for oligopolies and monopolies. Utilities such as ISPs have a natural monopoly.
Does Go have `undefined behaviour`?
"Useful AI" is vague enough that you can probably make any sort of statement about it. If you mean things like an Echo that can take "understand" and take actions on the level of a slightly dull personal assistant, you're probably right. (Which is at least correlated with SAE 5.)

Of course, there's all sorts of machine learning and related AI-ish things that are potentially useful in the interim.

Fully agree on the other points.
> There is roughly 3% chance of error in RAM per DIMM per year. […] with 100K machines each with 8 DIMM, you are looking at about 6K machines experiencing RAM errors each day.

Can you work out the math? I don't follow it. 3%×100K×8÷365=66 per day by my reasoning…
Hire lots of people... complexity, arcaneness, process and knowledge-hoarding becomes vital to job-security.
The Future of Cinema (2015)
I guess you're being sarcastic but I honestly can't tell.

[edit: 99% sure is sarcastic]
These are intentionally-defective products bought by apathetic consumers. They've already been compromised in mass with lots of damage done. Destroying dangerous, defective products isn't the same as conning innocent people out of their money.

That's what the IoT vendors did. ;)
Sorry, I was a little obtuse. What I was inferring was that historically, only higher-priced server chips from Intel had ECC support. In 2013, Intel launched the v3 lower-end Xeon E3s server chips that were closer to the price of the consumer Intel chips and offer ECC with comparable clock speeds. Of course, all of those only have 4 cores instead of 8.

Yes, all of the E3s support ecc, but Xeon's didn't always support ECC until the launch of the Xeon E3 as far as I can tell.
> Sure I do. The person walking through the door could mug me, getting a free first punch at me because my hand is on the door.

What are the highly likely penalties for an assailant attacking you in broad daylight like that, in a society under rule of law?

Now, what are the penalties to the FBI treating you unfairly during a surprise visit?

Further-- in the extremely unlikely event of getting punched in the face in broad daylight because you held the door open for somebody, what's it like to recover? Keep in mind that the public at large, law enforcement, and the court system would very likely all be on your side as you seek medical care, justice and remuneration.

Same question for FBI treating you unfairly after entertain their surprise visit without counsel. What does a recovery from that look like, and who would you likely have on your side?
I would love to see an implementation of the router component.
That's the traditional answer, but it's wrong. Göbekli Tepe[1] decisively pre-dates agriculture. Although it wasn't inhabited, it displays a level of technology and social organisation on par with city-building. But agriculture definitely had nothing to do with it.

Not saying that I've got a good answer for what did happen -- just that agriculture wasn't it.

1: https://en.wikipedia.org/wiki/G%C3%B6bekli_Tepe
Thorconpower is a case in point. They tried very hard to get their experimental reactor off the ground in the US but their pilot project seems to have moved to Indonesia instead now. That's a shame - Thorium and molten salt reactor experience and technological mastery would be extremely useful for solar system space colonization efforts past the orbit of Earth (insolation levels fall dramatically and a lot of basic industrial chemical engineering off planet will encounter abundant raw materials but will also need easy access to enormous quantities of energy).
Fissiln is so worthwhile pursuing and it's reputation so bad it will probably need an Elon Musk type persona to tackle it.
> Actually, they can provide that (somewhat publicly responsible) UX by extension without tracking at all.

I don't understand what you mean here. How can aggregate long download stats exist without aggregation?
I'll believe AI is good for something other than YouTube recommending Top 40 music for me to play next, when Google News stops showing pictures of unrelated celebrities next to political stories (e.g.).
Was the Solar System Previously Home to Another Intelligence?
Fibre is a very recent development... and there are a few kinds of it. Like, GPON, EPON, etc.

Before we had coax cable which required updates very often (DOCSIS versions) which usually required changing lots of equipment (not termination equipment/CPEs).

Before we had DSL which also saw lots of improvements over the years. (ADSL, ADSL2, ADSL2+, annexes, etc).

Also all these technologies require an uplink which needs to be updated from time to time.

These updates are very expensive, you can't imagine how much. A comparison with tap water is moot because, well, you don't need new, thicker pipes every 10 years.
I know Python, Clojure, C#, Java and to some extent (not so modern) C++. Python and Clojure is what I use on a daily basis.

I'd love to learn Haskell, and I've actually started, but I've come to the realization that I should focus more on CS fundamentals instead of just hoarding languages.
> We'd walked from South Carolina into North Carolina

Y'all should have stuck around for the superior pulled pork experience!
I can't tell if you're being sarcastic, but if you are, please know that my comment wasn't meant to minimize your accomplishment of building and releasing an app. I honestly want you to succeed and think it would be sad if that opportunity never presented itself simply because of poor grammar on a landing page.
> but whether an element is in view depends on the results of layout, which depends on the user's installed fonts…

It'd be kind of interesting if you could only ask about the CSSOM in terms of what the page would look like if rendered with a known set of {fonts, visited links, whatever else is a security leak} rather than asking what it does actually look like—with the browser keeping two render-trees in memory for metrics (the real one, and your hypothetical one) but only actually rendering the real one.

Then, you could synchronize page-manipulation events between the two render-trees, by trying to re-synthesize things like viewport/scroll-offsets and mouse positions, such that everything "will have been" in the right position in one model to end up clicking on whatever element ended up being clicked on in the other model.

Very inefficient, but kind of interesting.
The Amazon Echo having a 60-item case statement is not how "AI" is typically promoted.
The only game I had in middle school for PC that wasn't education focused was Star Wars Empire at War. I ended up learning how to modify the files to change things like unit stats, unit cap, faction, etc.

In particular I remember deciding that every space ship should be it's own unit instead of the squad being a unit and ramping the unit cap up to a crazy high number then having giant space battles. Also I really liked the pirate units so I think I gave those to both the Empire and the Rebels.
It had Bash and partial POSIX compatibility, but you're right -- it wasn't Unix.

BeOS was awesome as an OS built ground-up for affordable GUI-capable personal computers. It was incredibly responsive and capable at a time when the PC alternatives were Mac OS (crashy), Windows 95 (lots of legacy baggage), and X11R5 on Linux (a clone of a knockoff of a mainframe OS).

IIRC the PARC systems cost $20k or more in today's dollars, and were strongly tied to a single programming language. (I've read about them, but haven't used one.)
Part of the problem is also because of lack of education. Unlike in the west, literacy rate is not as high, hence they miss out on the knowledge and awareness that can come from being able to read. But, India is making progress even on that front, so eventually I think both these improvements will complement one another nicely and things may be much different 10 years down the line.

I am originally from India(now I live in US) and my grandfather who was a doctor in India back then in the 1950s would advise people who often fell ill to eat healthy and eat apple. People would ask him what Apple was and to describe it so that they can buy it in the market. My dad who also turned out to be a doctor said he didnt meet any patients who didnt know what Apple was...so yes, things change...but they take time.
I also support this use of 'bullshit' as a technical term and recommend that book to anyone who will listen. Your language strikes me as disgruntled rather than incendiary, but then my political views are already closely aligned with yours.

Civility is important for discourse, but so is clarity of expression, and I do not consider it uncivil to express a firm opinion bluntly whether or not I agree with it.
I don't think this is really about a layperson's interpretation, it's the other interpretation that's zany - the sort of thing that happens the nerdforums when you treat law as code.

"Federal law enforcement officers can lie to you" and "Lying to the feds can be a serious crime" are both true but extrapolate these to the maximum and suddenly lying to some dude standing next to you at a bus stop who turns out to be a fed is a crime. This is obviously nonsense. FBI agents can't arrest you and lie to you about your Miranda rights or lie to you that they'll beat the shit out of you if you don't cooperate with them. If there's an undercover agent you don't know about in your organization and you lie to them simply because, say, you don't trust them, you're not automatically looking at an indictment.