skysight-inc/HackerNews huggingface dataset:
Not my area of expertise, but a little googling yields:

"SAFECode performance was reduced on average by a factor of 41.72 times, and the
average slowdown for SoftBound was 5.36 (that is, a program runs 5.36 times slower with bounds
checking than without it)." [1]

As for the C versus C++ question, I don't take a position on that. The practicality of sticking with straight C (or some subset) will vary by project. SaferCPlusPlus just introduces a memory-safe subset of C++ as an option. But a subset that doesn't require the re-architecting of existing C/C++ code as it provides safe compatible substitutes for C/C++'s unsafe elements.

> People stuck in legacy codebases might want to apply or improve on Ironclad, though.

SaferCPlusPlus only exists because Ironclad was/is not a practical solution. In particular because Ironclad is abandonware. In my opinion, Ironclad was a brilliant and impressive solution. SaferCPlusPlus strives to be a solution in the same vein, but one that takes advantage of modern C++ in its implementation. The non-viability of Ironclad exposed key problems shared with many other approaches. Namely, portability and, more importantly, dependency risk. SaferCPlusPlus is just a simple open source library written in pure, portable C++. It works on any platform with a reasonably modern C++ compiler. If you adopt it and at some point in the future it becomes abandonware, there is no risk to your project. It will continue to build properly, and the code won't be stuck with some idiosyncratic paradigm that will interfere with future coding strategies. And the library is simple enough that it should be fairly easy to add new features or customizations as needed.

[1] https://www.semanticscholar.org/paper/Performance-of-Compile...
If you're looking for a "butter only" game centered around economic competition, I highly recommend Offworld Trading Company (http://www.offworldgame.com/).
> provide well-thought out input and drawing primitives

This sounds like a cool idea! What primitives would you suggest?
There are categories of people with more money than sense who are no better than a neural network. They want to tick the boxes of prestige, but are ignorant of or don't care about the end product.
Personalized Tumor Immunotherapy
Yup, I'm seeing TheGuardian down, from Edinburgh/Scotland.
Sendgrid support page is down as well
https://support.sendgrid.com/hc/en-us
Sidenote: It is pretty much exactly the Googles (alas, auto-updated) "Go Back With Backspace" [0] does: [1] (you forgot the shift backspace, Google as well in past versions).

[0] https://chrome.google.com/webstore/detail/go-back-with-backs...

[1] https://crx.dam.io/source/crxviewer.html?crx=https://crx.dam... (nice to walk trough history of this file though versions https://crx.dam.io/ext/eekailopagacbcdloonjhbiecobagjci.html )
I'm so damn tired of the "host it locally" mentality. Not everyone has the resources to host all of that locally.

For example, most open source projects.

But even outside of that, we use github for issue tracking, the new project management kanban stuff, a CI server, reading documentation (which is offline, but the online versions are nicer on the eyes), and a ton more. Not to mention that StackOverflow and other discussion forums tend to be used by many.

Yes you can host all of that locally, but we don't have a few hundred thousand a year to spend on some sysadmins to maintain all of that, and we don't have the time or money to run the machines, vet the software, and keep it up more reliably than github does for next to nothing.
Could hexagonal clouds in Bermuda Triangle be behind years of disappearances?
Sentry (at least web dashboard) is down.
In the choice between putting the hardware on all cars vs only on a few prototypes, the R&D is a sunk cost that shouldn't influence the decision and only the pure incremental cost of the hardware matters.
How much is "quite some time"? It ran for several minutes before eventually succeeding on my fast, modern desktop.
The shaming of mature libraries doesn't help either. Try showing off something with jQuery these days.
Never before has an HN comment caused me to think back over 20 years and say "So much that I never understood now makes sense."
They sell premium services, have a large sales team, and are very aggressive. I get emails from them weekly discussing millisecond savings of their DNS solutions and the value increase in customers and sales.

Squeaky wheels get grease and their sales team squeaks a lot.
I'll admit, you got a laugh and a smirk out of me, but this still seems like an unfair statement.

The JS community at large isn't reinventing the wheel, just iterating on a wheel as it moves, if that makes sense.
GitHub pretty slow in Brazil
If airlines choose to charge additional for passengers occupying a single seat based upon weight than they should have to publish the weight a standard ticket is based upon and also have to issue immediate partial refunds, not as vouchers, to passengers under that weight. I would love to save some money on my 60lb 9 year old who takes less fuel to transport.
(1998)
ElixirWeekly – Issue #15: Focusing on José Valim and Streaming HN with Elixir
Blockchain platform developed by banks to be open-source
Pithy answer - dark matter, whatever it might be (WIMPs or otherwise) is most importantly, Weakly Interacting (the WI in WIMP). It appears to clump around gravitational structures, acting like normal matter, but in more of a field way, rather than a matter way (think of it like a fluid filling a container, with uneven density - where the density is higher is where you've got matter pulling at it).

For dark matter to be causing this, you'd need some exotic form of something that's already exotic - it'd have to be able to interact with an intensity we don't associate with it. It'd also be defying what we understand it to normally do (you'd need something to make it pull into a lump from how we think it behaves, which predisposes a physical structure like a planet).

So, is there some massive errant lump of dark matter pulling the solar system around? From what we infer about how dark matter behaves from observation, no.

(The fluid thing is not an entirely accurate model of how dark matter works, but it's a decent enough metaphor. However, this gets very complex and I'd rather not spend the rest of the day getting into ever more detail about theoretical physics.)
I strongly recommend Arch, we'd be glad to have you.
I have drunk the cool-aid about expensive chairs and cheap tables. For years I wanted to buy an Aeron for my home office but I didn't want to do it until I test one (I live in a small town, so no opportunity). Finally this year I tested an Aeron during a business trip, for 10 days. Maybe it's my own body, but it wasn't as comfortable as I thought it was going to be, I was very disappointed.

The best chair I've been on was one during an EA interview (Montreal studio). I still wonder which kind of chair it was.
Oh yes, a real successor to SMAC would be terrific. I liked Beyond Earth but it wasn't Alpha Centauri.

I tried playing SMAC the other day but I had trouble adjusting myself to the dated interface, even though I spent so many hours playing it years back. I'd be happy with a remake of SMAC with the same gameplay but updated graphics and interface (especially the ability to give move orders that take several turns).

No Civ game comes close to Alpha Centauri for atmosphere.
Interestingly, The Wirecutter has consistently preferred Steelcase chairs: http://thewirecutter.com/reviews/best-office-chair —first the Leap and then the Gesture.

I loved the Aeron I used to have, until I hurt my shoulder swimming and discovered that its skeleton actually digs uncomfortably against the shoulder. That jarred me out of complacency about the chair's possible flaws, at least compared to others.
Is it though? I found GC AI to be laughably easy, even on the hardest settings.

A third of the way through a game and my military units are orders of magnitude better than my opponents, because the AI doesn't know to stack traits.
The US is a big, big place. Between the coasts there's plenty of cheap space that to this day remains unused. People have become used to being able to buy larger and larger houses for decades. It's just American culture.

I can't answer what people "do" with all the space... but friends of mine lived in houses like these and it's not like there was an unused room or ignore backyard. Everything was used.
Ok. I thought the joke was appropriate.
The builder gets their profit, too. In expensive housing markets, the price to buy a new house is almost the same as the price to build existing, comparable houses. The small handful of builders that manage to get permits to build a new neighborhood or apartment are making a killing today.
Give me a break. The entire internet and software landscape is changing and everyone is in a constant rush to stay current. You make it seem like it's some kind of concerted effort to insult the sensibilities of good, proper software engineers who know the right way to do things.

Everyone is just trying to do the best they can with the incredibly complex stack of technologies in play today.
They're widely used because they were one of the few providers of geo-aware DNS service for a long time. (These days there are other, cheaper options, including Amazon Route53.)
Master your social shares and perfect SEO with BuzzSumo
> without having to think about threads or synchronization. Just pipe data through the channel!

I mostly agree with what you're saying, but note having a channel doesn't mean one stops worrying about synchronization. If two goroutines both started waiting for data from a channel they'd be deadlocked.
The EU isn't bringing anything, its citizens are fed up by the results from choices from own leaders.

Every action has a reaction.
> our upstream DNS provider

Maybe you should have more than one. Then I could actually carry out my work...
Very funny guys, can you stop now? We have a demo in 4 minutes.
As a fellow European I think it's worth pointing out that the norm in Europe is still to build houses to last (you expect your kids to inherit them or to be some kind of investment).

In the US they are more often built for the shorter term. This comes down to building materials and other (from a European POV) questionable decisions that save money or make them easier to produce or just don't seem as important with the short term in mind.

This doesn't hold true universally of course. Some people in the US place value in building things to last and some Europeans are starting to see houses as something they will replace when the kids move out or whatever, but it seems to be reflective of a general cultural difference.

Also, there's just a lot more space in the US and mass-produced suburbian housing is a thing.
Okay. I guess you're welcome to do that? We browser coders will just continue to go to market faster. It's pretty cool that, if you put your work in, you can make a GUI on the browser that is accessible to all desktops and phones. That's 2 billion users.

The obvious question is: what would you replace it with? Do you want to replace it all with native apps? Or do you think that this whole internet thing is overrated?
Someone is trying

https://krebsonsecurity.com/2016/08/a-life-or-death-case-of-...

Basically husband had a heart attack and when wife went to call for help her phone had been shut off by ID thieves. Husband died. Kids are suing Verizon for not preventing ID thieves. This story doesn't seem to make sense though because I thought a phone without service could still call 911.
On the legal side, this isn't in the same sort of gray area as ride sharing or house sharing. In those cases the interested parties were governments and their processes more or less amounted to obtaining injunctions or fines after lengthy pseudo-judicial and judicial processes. T-mobile can just terminate service and let the subscriber arbitrate later.

Without a market maker standing behind transactions, it will be hard to establish trust. What assurance to buyers have that they will get a slot in a family plan? What assurance do sellers have that the buyer will make regular payments, not go over cap, or use the service for something illegal? More importantly, without a market maker role, how will AddMee collect a fee?

For this, a website isn't a prototype, some form of a market is because that's what validates the idea in terms of meaningful functionality.
More demand, more capital and the crazy psychological tricks of subdivisions.

Alot of construction now is driven by builder spec homes. It's too expensive for "working rich" people to have an architect design. So you have design-build from big homebuilders, who spec houses as cheaply as possible, then nickel and dime you for upgrades.

My cousin bought a house that's probably a 8 on this scale, but it had no "options"... everything inside was the cheapest junk. The chandelier in the dining room of this home (which originally sold for $750k in a cheap market) cost $50 at Home Depot.
"3D printing. There are lots of good 3D printers, and they're bought by the same people who buy milling machines. They're a useful industrial tool. But home printing? Not happening."

I don't know of many people using 3d printing as exclusively for self-use. Most are people making toys, games, or components for machines which they sell to other people. So, I don't see how 3d printing has been a failure of anything other than idiotic futurists that think it's the ST:TNG replicator (it's not). If anything, I think 3d printing has taken off like gangbusters with small manufacturers and small businesses. They reap the benefits of having a small plastics manufacturing machine that doesn't need vacuum mold dies swapped out or machined by specialized tools. Just because VCs can't turn it into an firm with a successful IPO doesn't mean it's a failure is all I'm saying.
The Internet is so resilient. LOLz.
I know you are getting recommendations, but the Embody chair is what you would be looking for.

http://www.hermanmiller.com/products/seating/performance-wor...
It doesn't make a whole lot of sense for the USA to take down the internet, as they benefit the most from it. A significant fraction of that economy is based on it, much larger than in the cases of China and Russia. It would be like the owner of a coal mine campaigning for a carbon emissions tax: maybe there's something we don't know, but from the information we have it seems unlikely.

Note that this wouldn't rule out the USA as such. First, it could be a longshot preparedness thing, with no expectation that it would ever be used. Second, they could be red-teaming the thing (looking for weaknesses so that they can arrange for them to be shored up).

In either of these scenarios, it's no less likely that the USA would be doing it than anyone else. If you assume that whoever is doing this is planning to use their knowledge, however, the economic argument makes the USA less likely to be involved.
Google Has Dropped Ban on Personally Identifiable Web Tracking
A lot of this McMansion stuff has trickled down into smaller homes, in the 2000-3000 square foot range. I think the term is neo-eclectic. Multiple roof lines, no two windows looking the same, lacking symmetry, front-facing three car garages, three or four different types of materials on the outside (siding, shake shingle, brick, etc.). These houses also suffer the same fate as many McMansions, where the house takes up a massive amount of the lot and you get houses stacked on top of each other with very small backyards[1].

Almost all of the new houses I see being built are using this style. I'm looking into building a house and in my area and it's impossible to find a builder advertising their plans online who don't use this style. So if you want to deviate from this style of house, you have to start working with an architect to draw something up or try and find your own house plans. I'm not saying this is a terrible burden, just that it's hard to get something more traditional "off the shelf", so to speak, and many people building a house don't want to go through that much of a process.

I'm looking to build my house a rural lot in the 5-10 acre range, so fitting into neighborhood aesthetics isn't that crucial to me, but many places people build, it's going to look ridiculous to place a traditional cape cod amongst all the neo-eclectic stuff.

[1] Small backyards and closely built houses work well in city neighborhoods but seem to be in conflict with why many people move to the suburbs -- to have more space. I'm not sure the desire to live in such compact lots. Certainly the developers like the small lots because they can squeeze more houses onto the acres their developing on. However, I'm probably an exception because people build these types houses on these types of lots in troves.
Slight issues on mobile: http://i.imgur.com/Xw1d88j.jpg
I might be writing this a lot for this thread, but the embody chair is by far the best office chair I have ever sat in:

http://www.hermanmiller.com/products/seating/performance-wor...
Not so close but an interesting answer. My parents live in South East Texas (south East of Houston!) and not retired. I'll admit that the last big hurricane we had was that I remember was in 2008~ish.
Obviously you can filter on specific subreddits. :P
A lot of the bigger sites are very slow from Brazil today :(
And SP is also suffering from a lack of power in some areas. Happy Friday!
> C, due to arrays, strings, arithmetic operations and memory allocations requiring unsafe code leads to 100% unsafe code across the existing code.

Imply is just slightly too harsh. Writing safe C code is very possible, as proven by projects such as seL4 or engineers such as djb.
SQL is also a leaky abstraction, it would be much more simple if the database could just take any value and store it optimally. But at least you do not have to write:

SELECT *string* foo, *string* bar FROM banana A INNER JOIN beer B ON *int* B.id = *int* A.id

I want to correct myself though. In ES6 you can now go very low level and deal with raw bit buffers.

My problem with Go and other languages is that you have to be verbose like str = string = "string"; Where the compiler could probably figure out it's a string because of the quotes. And use a default numeric type when dealing with numbers. A compiled language also has the advantage that the compiler can thoroughly analyze the program, optimize and chose the optimal types if they are not explicitly set.
My biggest issue though is the inferior module system compared to NodeJS (commonJS) module system that makes it possible to not write complexed code, because it's lexically scoped and do not have hidden globals.

I'm aware that an imperative low level language that can talk directly to the hardware will beat NodeJS and JavaScript in performance. But for the most part I'm willing to sacrifice that for increased productivity and simplicity. What do you think about languages that compile to JavaScript ? And do you think adding types to JavaScript would make it more simple ?
Optimizing React Rendering Through Virtualization
Other than requiring MongoDB, I really liked Eves approach.
You give React a state, it diffs that and passes the outcome to the ReactDOM, which can render it on the DOM. At its core React doesn't know what a <div/> is. It just diffs objects and generates instructions to reach the next state (very generally speaking here). The stuff you pass to it is an object and can't be malformed like a string can. Main function of React is maybe loosely related with templating.

For PHP (in its traditional form), everything around the code is just strings, which is also the case for most of the templating engines.

You can't shout "spaghetti code" every time you see XML tags in code. Think Scala or VB.
I'm a Verizon FIOS customer in NYC and was unable to reach nytimes.com and several other sites this morning. Switching my DNS to Google's (8.8.8.8 and 8.8.4.4) seemed to fix the problem, but I don't understand why yet.
Every time this site come up on yc, I I always have the same impression... I like what the guy is trying to do to improve architecture, but it just seems so mean spirited in execution.
It depends on how you define "programmers' fault". In this case it would more a case of needing more training data to correct the mistake, which may or may not be the programmer's fault.
They were rhetorical questions anyway :) But you're right, I get away without preprocessors when I'm doing very small projects. And a year ago my team had a 20-second SASS compilation step, that was painful. I guess I couldn't do without it because of things like: variables, nested rules, vendor prefixes, and mixins. I use a lot of mixins in scss and I feel like my code becomes more modular because of it.
Yeah I've seen Quill18 on Twitter mention how much the AI so far builds settlers but never links them to military units. I hope it'll be fixed soon.
same here. getting the "page taking way too long to load" page every time.
Credentials aren't stolen for sure. I can still log in.
How does that work in practice? Even if I set NS records pointing to two different DNS providers, I don't think a DNS client would automatically switch and retry if one is too slow to respond/times out.
Searching a new string - adding a string to the set - would require comparing against all items in the set, yes. That's a much less daunting prospect than what you said: You really have to scan your complete dataset on every search.

Building the index, or adding to it, is not fast (without some heuristics applied) but searching using the index isn't bad.
Microsoft Shares Soar to Record on Earnings Boost From Cloud
Cloud is just someone else's computer, so you're right
Android Nougat Starts Rolling for Moto G4 Plus India, First Devices After Nexus
Exactly: there's nothing wrong with only using one provider if you're not willing to pay for two services but if you can't afford downtime you really need active diversity all the way down.

Route53 uses a bunch of different top-level domains for the same reason – if someone does manage to take the .com servers offline you'll be glad .co.uk is run by a separate organization.
Yep. Seems to be the root of the problem.
You do remember that Windows is the dominant os for end users? Almost all ui's would have to be created for Windows, and possibly for the other operating systems also. That's probably a lot of extra work.
Many of these old houses are balloon framed, which is cheaper and faster to build, but allows fire to spread to the roof in <7 minutes in most cases.
The JVM probably lags behind in some aspects. But it's ecosystem is way larger and not biased towards Windows.
Android Espresso Tutorial for Mobile App Testing
Those distributed alternatives look better everyday... if only there was a working group and a transitional path.
It didn't. Or maybe there were some who just walked away and see now unnoticed.

I used to think all that stuff was useless until i found out how to use it to my advantage.
Ask HN: When is the startup bubble going to burst?
With thousands of startups forming every week around the world, starting a Startup has become mainstream, every tom dick and harry wants to start a startup now. When do you think the whole startup bubble is going to burst ? when will be a change in the current economy ?
AWS says "We are investigating elevated errors resolving the DNS hostnames used to access some AWS services in the US-EAST-1 Region." Is that coincidental, or are they being DDoSed also?
I was on Google dns until I joined my VPN a bit ago. The public DNS was failing to hit lots of things. (NY, USA)
that's not going to help much if the authoritative name servers (which is what dyn is, btw) go down for more than a day.

Max record cache time is 86400s (24h), so if the attackers can keep it down for 24h then google will have to have custom instructions in place (or cache more aggressively than the RFC allows)