skysight-inc/HackerNews huggingface dataset:
Why, about any resource intensive line of application out there does use all of CPU & GPU gains you throw at it. Adobe Premiere does, Autodesk Revit, Inventor etc.

Just finished a CAD workstation build for my wife with state of the art components. The performance gain over a couple years old "pro laptop" she used before is enormous. And not just on raytraced views and renders, the whole UX is much much smoother.
I can answer: safe read/write from a simple system call can be "easy." Safe read from the network, possible but no longer easy. Safe call to ioctl, which can literally do anything with any device driver... is a "safe" version of that even possible?
Oops, that was pretty wrong.
- A single store for your games (what Amazon tries to be for the ~rest~?)

No, that's xBox/PS store. On my PC I have: Steam, Battle.net, Origin, Epic Games Launcher, Glyph aaaand Windows Store for Gears of War 4/Forza Horizon 3. Achievements and friends are scattered through all these crapware programs.

PC gaming is a mess.
No. You make it even better by working around those patents.
Two things. One, Ticketmaster tells you where the fees go.
http://help.ticketmaster.com/what-kinds-of-fees-charges-and-...

Second, the reason Ticketmaster, StubHub, AXS, etc. break out the fees is because it sells more tickets. Revenue will trump PR concerns every time.
http://time.com/money/4018864/stubhub-fees-all-in-ticket-pri...
I think this is addressed in the article when they talk about the potential pitfall of Go's GC.
Let's try a little exercise here. Stipulate that it's malice, and then generate the narrative in which malice makes sense.

Specifically:

You are whatever entity (I assume the FSB?) that can demand Kaspersky implant backdoors into its desktop antivirus software.

You decide to target that backdoor at the component of Kaspersky's software that gets, by design, unrestricted access to the plaintext of all TLS sessions on the machine, in addition to practically unrestricted access to every file on machine itself, and to the machine's memory in cpl0 and cpl3.

From that vantage point, you decide to...

... collide certificates?

Remember, your evil backdoor only impacts machines running your software already. From this thread, I'm wondering if that's maybe unclear to people.
Killing the Klan with Kindness in 'Accidental Courtesy'
I suspect that many/most people won't recognize him.
Slack also does a whole lot more while idling compared to most Electron apps.

We're writing a flight planner in Electron and currently have less of an "energy impact" compared to its Qt counterparts.
Ask HN: Gmail and trust/privacy---is it too late?
I am still way of putting my email on Gmail, however almost all of my colleagues use gmail, google calendar, etc. It would make things easier if I were on it too. What's the answer? Are we so "beyond privacy" that essentially, I'm fooling myself if I think putting my email somewhere else (fastmail) is accomplishing anything at all? It is too late?

(PS I just watched the Snowden film by Oliver Stone ... maybe that's why I'm thinking in such a defeatist way about this)

but seriously, do we think it's essentially too late? Should I just capitulate and make my life easier with my colleagues? After all if my email life involves correspondence mostly with people on Gmail already, then guess what ... my email is already on Gmail whether or not I use another service (fastmail)

Really interested in people's thoughts on this in 2017.

PS I didn't mind the Oliver Stone movie ... was expecting worse ... but let's set that aside for a different thread ;)
https://news.ycombinator.com/item?id=13313794
I lived in Germany for a year and have spent time in the UK, Netherlands, Austria, Czech Republic, etc.

Yes, Europe has architecture where the U.S. has decorated sheds. But the social fault lines in Europe aren't that different from the social fault lines in the states.

From day one the pundits have been concerned that effects related to

https://en.wikipedia.org/wiki/Impossible_trinity

would blow up the euro -- i.e. Germany and Italy might have reasons to have different monetary policies. Many economists think the situation is truely intractable (they'd like it if the "Impossible Trinity" was a solid concept) but it certainly is intractable if you don't face the social fault lines head on.
Solar panels under your skin to power the next generation of medical devices
That's less of a mistake, and more of turning off the footgun's safety. Yes, it still only takes one programmer. But they have to purposefully enable such actions, as opposed to neglect to perform actions through the "proper" abstractions.
Seems like a good argument against an architecture having stateful flags that affect the execution of other instructions. Or, at least, against having such flags and not including them in the state saved and restored when switching contexts (including to signals).
> They've done a wonderful job convincing the majority of people that anti-virus is something that you absolutely need, full stop.

I think Microsoft did that for them by being so terrible at security for so long. Windows Defender came out 5 years after XP shipped and several years after average XP systems were riddled with malware.
I could say exactly the same for Rust, that it's not enough even using unsafe keyword and I need to go into assembly. Someone could even say that assembly is not enough and we need FPGA and then ASIC etc. But it's not the point here. The point is that for ex. you can't get safety from out of bounds access without bound checking, doesn't matter which language you use. And bound checking for certain hot paths is not acceptable.
I just keep hearing about how rust handles safe bounds checked arrays with (and I quote) "Zero-cost abstractions", which to me implied it would be faster than C, since C pays some performance penalty by branching.

Hope you feel better soon.
Get Sygic Premium for free on your Android device
C for text processing, shell scripts for web scraping (wget, lynx, sed, ...). The elegant design of Unix tools still amaze me. I may do a little Classic ASP too.
It's not so much a question of benchmarks, it's that one of the standard C tools for reading an arbitrary string from standard input is gets(). And if you reach for that from the standard toolbox, you've failed before you've started.
As others have said, this is a fairly standard optimisation: compilers (Rust, C, C++, Java, PHP, whatever) will remove branches if they can see that it can never be taken. Iterators are slightly different in that they don't have any indexing checks at all: an array iterator yields a plain reference, and these are always dereferenced like plain pointers.
If everyone cycling in the netherlands would take public transport or drive when it's cold/snows/rains the roads would be in constant gridlock and public transit would collapse.
I'm excited to see where this goes because it could go a long way towards providing concrete data for the large "work to replace old infrastucture C code with (Rust||Go||Modern C++)" discussion that has been taking place.

More data points will help to inform discussion, or at the very least add structure to the flame wars.
While this is technically true, it isn't practically true. "Easy" is certainly false.

I really enjoyed these posts by strncat:

https://www.reddit.com/r/programming/comments/5krztf/rust_vs...

> It's scary how unfamiliar C programmers are with the rules of the language they're using... it's very difficult to write correct / secure C code without undefined behavior even when you know the rules.

[...]

> It's not feasible to avoid undefined behavior at scale in C or C++ projects. It's simply infeasible. They are not usable as safe tools without using a very constrained dialect of the languages where nearly all real world code would be treated as invalid, with annotations required to prove things to the compiler and communicate information about APIs to it.
>That depends upon your definition of "integrate".

I meant roughly all that can be done with shell, except maybe somewhat differently (due to Tcl's different syntax or features). The usual things: call existing command-line tools, write scripts in which you use its own syntax/features as well as call / pipe between / orchestrate command line tools, redirect std I/O, etc. - the things that make the shell powerful.

Thanks for the reply. Seems like it is close to equivalent from what you say.
What indeterminate games can AI can beat humans at?

Backgammon - AI usually beats the best humans

Ms. Pac Man - AI loses to almost any human
That's the point. With this feature, two computers with the latest version of Firefox would have the same font list.
How well does the iron dome work? I assume it works pretty well if it's a spectacle.
A blank font list where? There's no way to get a direct list of fonts: you just try rendering text with a given font and look at the metrics of it versus the fallback. Font lists are done using side-channels (and you also therefore have to have a list of fonts to sniff in the first place).

The only way to stop font-based side-channels is to limit the web to a fixed set of fonts: and that will horribly break the web in some linguistic communities where there's a fair amount of web content that relies on specific fonts (that typically map old Windows codespaces to other characters for support for their language, often before Unicode covered those characters).

You also need identical fonts for a given user agent, and that's very hard to guarantee short of shipping your own fonts (e.g., consider an OS update that changes a font!), and that becomes expensive fast.
> For instance: nurse-practitioners are first-line health care professionals whose job isn't to assist doctors (as most nurses do)

I don't think "assisting doctors" is actually what most nurses do; most nurses work under the clinical supervision of a physician (and that's also true of NPs in a majority of US jurisdictions; there are 20 states where they have "full practice authority".)

In any case, since NPs are RNs with additional qualifications (they are actually a name for some specialities of advance practice registered nurses), it makes sense that they are called nurses.

> Not many people feel they can switch careers in mid-life to become a doctor. But people routinely go to nursing school for a career switch. It would be good if more people did this, specifically to get NP status.

NP status (or APRN more generally, regardless of specialty) takes substantially more education than RN, and a lot of the people who go back to school for nursing don't even get to the RN level, just LVN/LPN. Changing the name isn't going to change that.

Anyway, the non-nurse physician-lite you are talking about isn't the NP, it's the Physician Assistant. While the scope of practice is somewhat similar, the latter is abbreviated training of the type provided to physicians, the latter is advanced training of the type provided to nurses; they are different models. An NP or other APRN is a nurse with advanced training and certification which allows them to do some things without supervision of a physician, a physician assistant is a reduced-qualification physician with a correspondingly narrowed scope of practice. You seem to be interested in the latter, but think that the former is the same thing with a poorly chosen name rather than a distinct and different thing with some overlap in role.
Automating picking of a many types of vegetables is a hard problem, and the human labor costs are extremely low. I'd be surprised if we develop anything that even approaches the cost efficiency of your average migrant farm worker in the next 30 years. We have millions of years of evolution as efficient foragers behind us.

Additionally, one thing that micro-scale farmers are doing is experimenting with new and different breeds of vegetable. Some are even breeding their own crosses. Some of these are substantially different in taste and texture, and most are visually appealing. You might not care about that, but to people who enjoy cooking, this is great, and worth paying for.

Small scale agriculture has a good future. People seem to be into the whole local thing, vegetables (and vegetarianism) are getting trendy, there is a huge surge of food culture. All good for the small boutique producer, who can offer higher quality and more exotic products.
Something that's always baffled me: why don't CPUs have a "save ALL state" and "restore ALL state" instructions? Why does every new set of CPU registers seem to require an OS update to save them on context switches?
Post title reminds me of "Hollywoo Stars and Celebrities: What Do They Know? Do They Know Things?? Let's Find Out!"[0]

[0] http://bojackhorseman.wikia.com/wiki/Hollywoo_Stars_and_Cele...!

Edit: Has been updated
I did a little research and it seems IBM is claiming that the Watson tools are publications, not a medical devices, although I can't see that applying to the OP.

https://www.quora.com/Medical-Devices-Is-IBM-Watson-FDA-regu...
This puts in perspective the Eugene Kaspersky's recent rant about Microsoft making AV vendors life harder: https://eugene.kaspersky.com/2016/11/10/thats-it-ive-had-eno...
Maybe Microsoft is actually improving the Windows users experience.

Discussion on HN: https://news.ycombinator.com/item?id=12929230
What startup fundraising questions do you have? We're going to answer them
Was going to say the same. In the past ESR has come across as a patently arrogant gun maniac, but the first part of this post is great for all the reasons you mentioned.

(What irritated me though was the switch to first-person narrative at the end).
I'm not going to make any performance claims, but in the interest of sample code, https://doc.rust-lang.org/stable/std/io/struct.Stdin.html#me... has a very small program that does this in the most straightforward way. (You'll have to wrap it in `fn main()`, we don't show that in examples in the docs)

If you want a true speed comparison, you'd have to define more than just "read an arbitrary string". For example, encoding requirements. Your C is going to treat it as just a bag of bytes, and you can do that in Rust too, but it's not the most natural way; you'd convert to UTF-8, which isn't free. Stuff like that.
ioctl is a marshaling mechanism that can represent a library API of almost unlimited proportions and variety. A safety wrapper basically has to target the specific functions, rather than ioctl itself. That has happened within Unix, with some library functions having originated as wrappers around ioctls.
> I don't know why you're operating from the presumption that most security people know anything at all about basic cryptography

I don't know why you're operating from the presumption I'm talking about security people in general. I'm talking about the people at Kaspersky who were tasked with writing a SSL certificate store. I will also quote the bug report: "You don't have to be a cryptographer to understand a 32bit key is not enough to prevent brute-forcing a collision in seconds. In fact, producing a collision with any other certificate is trivial."

> Have you taken a second to even think about how this precise bug even makes sense as an implant? Hint: it does not make sense as an implant.

Hint: Pair this with a DNS spoof and you can pretend to be whatever website you want.
Many rust advocates talk about the performance cost of doing things safely in C, and inform me that rust has "Zero-cost abstractions". So it's fairly natural I ask for something I can benchmark.
>word soup would be a sentence that doesn't even parse

I use it to describe sentences where I can jumble up all the adjectives and get the same meaning - a meaning which is so vague that people can just interpret the sentence as something that conveniently agrees with their prior convictions

>Ideally, those industries are _generative_. That means they are primarily involved in production (of raw materials, of manufactured goods, of energy).

Your prior conviction is that new stuff is needed and intrinsically good. I am not so bold as to hold such a conviction. Maybe people simply need to be enabled to do more with less.
Talk Notes on DEF CON 24 Talks
Tricky! Even writing your own memset would experience the same behavior, since the compiler will assume the direction flag is unset.

I agree with colanderman; the kernel should be saving every register when the signal handler is entered.
I dunno if its a 'major' migration, but NXP is basically doubling down on ARM-only architectures.

Microchip / Atmel (same company now btw) are doing an "everything and anything" strategy. PIC, ATTiny, ATMega, UC3, AND ARM chips are available from them.

It seems like the smaller 8-bit microcontrollers use less power and have better features for embedded engineers (ie: ADC converters, PWM, Real-time clocks, deeper sleep modes).

While ARM has the general benefit of being much faster from a computational perspective. But if you want to read the voltage from a simple thermo-resistor and then output it on an I2C bus... I'm thinking a classic 8-bit AVR is going to be superior over any ARM.

--------

I'm still seeing 8051 stuff pop up everywhere, and that thing was supposedly dead years ago.
It is very much not the default.
I tried switching from QS to Alfred ages ago, since Quicksilver development has been stagnant for over 5 years (it's still being updated, but just barely — mostly just compatibility-related improvements).

So obviously you can deduce from my last sentence that the biggest advantage Alfred offers is that it's actually under active development. New features are added pretty regularly. Just last month they added some new stuff. Nothing game-changing IMO, but it's a massive difference from Quicksilver. (New features occasionally appear in the QS change log, but they're almost universally trivial — for example, in the latest release they made it prompt you for what to do when there's a file-rename conflict. That's the level of 'feature addition' you can expect from QS.)

As a result of this active development, Alfred has a vibrant community. Their developers are easy to reach via social media and e-mail, they have a forum, a blog, tech support people, &c. They have lots of users who like to share their work-flows and settings. Quicksilver's community was once like that, but it hasn't been for many years. I don't think most people even realise it's still around. The Web-site design/structure hasn't been updated since ~2010, giving the impression that the project is abandoned. Much of its extended functionality is buried in esoteric third-party plug-ins, and documentation is often out-of-date or simply non-existent.

Alfred is much prettier by default, its configuration interface is so much more elegant and intuitive, and it's a lot more dynamic in the sense that the UI can be moulded to better suit certain features (for example, the music-player feature adds media control buttons to the interface). The Quicksilver interface is pretty much static no matter what you're doing, and it's honestly not suited for a lot of the functionality people have tried to inject into it (like clipboard management).

Alfred is also vastly more stable and reliable. Hard lock-ups and silent crashes are an almost weekly occurrence for me on Quicksilver, and the auto-updater seems to break periodically, so that every 3 to 6 months i have to go manually download the latest version from the Web site.

With all of that said, i'm still using Quicksilver, and the #1 reason for that is the fact that it handles its own catalogue index. Quicksilver has very powerful custom file-indexing options, so that for example you can control exactly what types of files it catalogues under what directories, how many levels deep it goes, &c. Alfred, meanwhile, uses Spotlight, and only provides global (as opposed to per-directory) toggles for a few basic file types like 'folders' and 'images'. As a result, finding things in git repository directories and similar complex file structures can be very tedious.

The other main advantage QS has over Alfred is that it's free and open-source, which is important to some people... but it's not to me. If it weren't for my very particular file-indexing needs, i would definitely switch to Alfred.
Not to diminish your larger point, but your figures for expensive farm land in the cornbelt appears outdated to me. Farmland in southern Indiana (corn/soybeans/wheat) is selling above $10k per acre, with some specific plots around $15k (though this is not strictly because of farming potential so much as location and natural resources). There have been some great increases in value the past few years.
I like this site, it's like one of those really classic hacker (in the woz sense) sites from 1995.
Calling all college students and app developers
A new social networking mobile app called DownToDash is looking for app developers and marketing interns! Email me at sama@downtodash.com for more details about this.

DownToDash is a mobile app for college students to connect on similar interests and activities. The app ensures a secure network as students can only sign up using their university email address. Students can post plans or browse through other students plans to connect over sports, arts, theatre, film and hobbies. The app also has an events section where university clubs and student bodies like fraternities, sororities and dorm/housing groups can post events. It is available on the App Store and Google Play.
First: generalist software developers muck with TLS all the time. There's a whole huge class of enterprise automation and management software that also does custom TLS. How good do you think that stuff is? Do you think the companies that churn this stuff out hire TLS experts to build those components? Of course they don't.

Second: https://news.ycombinator.com/item?id=13313794
"Zero-cost abstraction" really means zero additional cost beyond what is required. So Rust still pays a cost for bounds checking, but it's the same cost as if you optimally hand-coded the bounds check in C.
There already are plenty of good platforms available. That's not the problem. The problem is that Ticketmaster/Live Nation have exclusivity with most artists and venues already.
Did you mean something like this?

use std::io::{self, Read};
fn main() {
let stdin = io::stdin();
let mut data = vec![];
stdin.lock().read_to_end(&mut data)
.expect("Reading stdin failed");
}
Rappi (YC W16) Is Hiring Back End, iOS and Android Engineers
Rappi is the fastest growing startup in Latin America backed by Y Combinator, Andreessen Horowitz, Sequoia and DST Global and Funders Club.

We are looking for the TOP Back End, iOS and Android Engineers to join our team in Bogota (Colombia). Contact me at: diego.rios@rappi.com
Ah, I see. For what it's worth C will perform similar optimizations to Rust, which is why I expect similar performance. And thank you.
This would also have the additional positive effect of reducing differences in rendering across browsers. At the moment there's a risk of the browser a webpage is viewed in not having the right fonts.

There's no reason for browsers to make a large number of fonts available if websites aren't able to use them because not all browsers make them available.

However, there may be an issue with internationalisation.
That would be more relevant id the choice was 15GB vs 16GB. However it's normally 8 vs 16 and that 8 is used by many processes. So, it can easily be comparing 0.5 of free memory vs 8.5 GB of free memory.
Intel competes with itself.
It needs to encourage people to upgrade as frequently as possible.
The paragraph following yours is quite important:

"By increasing the laptop’s battery capacity, HP is able to push the machine’s battery life from the 9.5 hours it estimated for the 4K version of its 2016 model to about 12 hours and 45 minutes for this model. So it is adding three hours of battery life, but in doing so, it’s merely matching the battery life of last year’s 1080p model."

It is still a net gain over the previous year's 4K model's battery life.
Mind changing this to the non-mobile site link?