skysight-inc/HackerNews huggingface dataset:
When I tried to write my first program in Rust, I failed miserably. With a strong background in C# as well, I tried to write a function that returns an interface (a trait in Rust), which was apparently not something you do in Rust. (With an unboxed trait that is, but there are some proposals to add support for this.) The compiler diagnostics have improved tremendously since then. I don’t think the syntax is that much different. You use `let` instead of `var` and types go after the argument instead of before.

After some time I got the hang of it, and I am sure you can do it too. It is surprising how much I _didn’t_ miss the Visual Studio debugger. The VS debugger is amazing and in my opinion there is no debugger that comes close, but Rust has a much higher “if it compiles it works”-factor than C#. There are still times where I wish for a debugger like that of Visual Studio, but this is relatively rare. Instead of spending time debugging, you spend your time staring at compiler errors in denial until you eventually accept that the compiler is right and your code is wrong.
I'd previously assumed that all smart consumers aware of the near-universal malwareness of bundled software would despise this sort of thing. I'm glad to have my wrong premises exposed.
Massive hack compromises 4M federal employees' private info
Swinging to the other side, would you really want to allow an alphabet soup agency to make a virus or nanotech (a literal "bug") to infiltrate your body and monitor everything going on with you on the off chance that some nutjob does the same thing?
I saw them talking about that, but it's completely obvious.

Nobody today is running C/C++ unless they need either A) complete speed or B) bare metal. Go can't do either, so there was going to be very little transfer from C/C++ to Go.
they designed the controller, but yeah he's probably talking about the steam machines.
Can your brain really be full?
Funnily none of the competitors mentioned seems to target Asia. A friend told me of a friend who paid for his exchange in Japan by selling promotional toys and merchandise from Japanese shops to Taiwan.

Apparently there are a lot of Japanophiles in Taiwan who are willing to pay a premium for a Japanese mister Donuts toy you get with 5 purchases.
people are acting all like Uber kidnapped these researchers...
Back in the 80's a friend of mine noticed that boxed software sold for much more in Europe than the US. So he started buying the boxes in bulk, shipping them to Europe, and undercutting the competition. He made bank for a few years, until others started copying his business plan. Taking advantage of price differentials is called arbitrage, and candyjapan is just another example of it.

Heck, read about the gold rush and how the arbitrage investors made the real fortunes.
Ah, this is nice, and fast!
Kwikset has almost completely gone to their new SmartKey system, which uses wafers, and is harder to bump. It has other vulnerabilities, but bumping isn't one of them.
Mac users exposed by zero-day vulnerability
Iphone users not able to edit Google spreadsheets
"No wireless. Less space than a Nomad. Lame."

Sounds about right.

Most of the games you buy for the PC these days are console ports anyways; they were literally designed to be used with controllers, they just slapped on a keyboard-and-mouse control scheme at the end (or after the original game shipped, in many cases.)

And, since it's just a specialized PC, you can just plug a keyboard and mouse in instead. Really, they just copied Microsoft's XBox playbook, with the modification that they're less blatantly lying about the fact that modern consoles are just more expensively designed and worse performing PCs with game controllers.
That controller really better be awesome because the thing is two years behind the PS/Xbox and will arrive two months after Apple's new TV makes it's bid for console killing.
qwee54r
duplicate

https://news.ycombinator.com/item?id=9638121

https://news.ycombinator.com/item?id=9635554
It's a bit early to say whether these are compatible with the Oculus Rift, but it's a near certainty that they will be compatible with the HTC Vive, given Valve's involvement there.
Nah just trying to write a paper with GIS data..
Since SMM allows for all kinds of things that ring 0 can't do (one example: writing to flash even if write protections are enabled, unless a second set of write protections, added in later chip generations, is _also_ enabled), arbitrary code execution in SMM is a bad thing.

Also later ring 0 code can't get rid of code installed into SMM earlier (that may still trigger through events or timers).
Launching first search engine to give kids access to age-specific web content
reddit would be awesome for storing magnet links.

post the media description, and then people would comment the magnet links for that and everyone would up/down vote based on if that really is the content advertised or something that does not match the md5, low quality, etc.

the only downside is that they archive older threads. defeating the purpose of this research, which is the longevity of data.
This hit every US news service. How is it so low in points?

"breach could potentially affect every federal agency, officials said"

I love HN's ability to filter news that matters to dev/tech-professionals, but when stuff like this pops up it should be top 10, for at _least_ a few hours. This is some serious shit. Who here does business with government agencies? Most of you have IRS Tax/Employer IDs... with the rate that this is "expanding" what is to say that it wasn't just HR records, but more. Your e-filed IRS return could be sitting with folks outside of the IRS...

No intention to fear monger but think of the statement "breach could potentially affect every federal agency" - every business in the US does something, with sensitive data, with an agency :/
> All ISRG keys are currently RSA keys. We are planning to generate ECDSA keys later this year.

Why, oh why, not ECDSA from the start?
Apple lawyers ban AltWWDC from streaming WWDC keynote
Isn't that because of binning?
Apparently Visual Rust [1] is a thing now. VS2015 will support GDB as a debugger, too (!)

[1]: https://github.com/PistonDevelopers/VisualRust
I don't have 8 entities I can rely on to be contactable.
oh my god this is the best comment I've ever read hahaha!
The problem is I have 5MM "users" through several years and I want to compute their distance to a set of points that change through time, so I do care a lot about speed.

Computing the geodesic distances was slow but not that slow because I used a variation of R* with some caching on top, but I still had to compute around 5MM distances or so.
PCs generally don't have a user experience optimized for TVs, without a mouse and keyboard, for example.

For all intents and purposes, these are essentially Steam consoles. The only difference from other consoles being the variable specs.
5 minutes to build your video capture and processing app
Binary files over a 7-bit medium is a very old, long-solved problem.

For example, here's a base64'd tiny jpeg of me: http://pastebin.com/VTLBG3Ji
Every time this debate comes up (online or offline) it really troubles me because I can not help but wonder how can so many smart people be so blissfully ignorant of how the world actually works. I guess this is the engineers "entrepreneur-tunnel-vision-syndrome".

Few notes about Gates and Zuck: I don't know why people (media in particular) made such a big deal out of dropping out or rather taking a leave of absence/gap year).

They could've always go back if things didn't work out. Dropping out of college is not akin to jumping out of a plane with no parachute. It is just NOT

Also: The both came from money. It is easy to say I want to whatever-I-wanna-do when you have a trust fund ready for you. Having very successful parents/families -just in case you were wondering helps...

Jobs is a more peculiar case because he didn't have anything. But he got lucky and came upon the other Steve who was/is a genius-mastermind.

Third: why the measure of success in tech so extreme? Why do you have to make billions of dollars to be considered successful? In the world today, if you have just a couple thousand dollars in the bank you are living the dream of some six billion other people.
I personally would consider anyone who has made more than 1mil out of a business (in profit) to be successful. The rest of it is just the lust for having more for sake of having more.

Last: College is supposed to get people ready for life. its not supposed to be a vocational school or diploma mill. It is sad that colleges today have became both.
Denying the personal gain that university provides for pupils and the spirit of college amd liberal arts education itself is no worse than denying global warming or evolution.

You can become a programmer and make a buck without going to college but chances are you will not be an enlightened individual without attending a decent higher-ed institution.

(and of course we have people like Ted Cruz to the contrary
but I'm speaking for the majority of population)
In other words, you'd rather spit out a meaningless incoherent story than bother to address and of the points I made.
Not unusual:

Ant: http://ant.apache.org
Wasp: https://www.waspbarcode.com
Hornet: https://www.npmjs.com/package/hornet
What's your point? I didn't write anything about my feelings towards Germany and frankly, patriotism is a crazy/meaningless concept in my world. We can discuss Germany all day and night and I wouldn't run out of things I hate or dislike about it¹, I guess. And at no point would I feel the need to 'defend' the random place I accidentally grew up in.

I can express how disgusted I am about exhibit A and have still enough of that feeling left for B, C and DE.

①: Just like with JS there are The Good Parts as well, of course.
GamingAnywhere is an open-source clouding gaming platform
Flourishing role of technology in Education
I'd like to find a great web based alternative to Gmail. I tried FastMail a long time ago. Why do you think, specifically, that FastMail is subpar compared to Gmail?
I'm always surprised about the strong feelings about unions in the US. Coming from Sweden which have 70% of the workforce belonging to a union I have a hard time understanding why unions is a bad thing.

Isn't it easier to handle one union that represents your workers than having to deal with all workers one on one?

Why are US companies afraid of unions?
Or India
Extensive prior discussion: https://news.ycombinator.com/item?id=9662421
So now we aren't discussing that there are no games for Linux, but about the performance of Linux games. What an odd world we live in.
> there is no end in sight for human wants

This is exactly the point.

There will probably be markets that don't support more growth, like agriculture, so lesser people will work there.

But if a company suddenly can produce the same with 50% of the workforce and the marked still has place to grow, they will simply produce 200% and keep their employees.
You also need access to their servers to download the game. A one time access isn't the problem with DRM.
>Kalanick has a whole "I'm going to squeeze every penny from this industry and call it a disruption" vibe.

Interesting, do you think the same impression migrated to Uber? Do you think they're 'squeez(ing) every penny from the industry'?
I cannot talk about anything iOS, I wouldn't know how that works and don't know what an iTunes account is.

But here's the thing: I have a Google account. Otherwise I wouldn't be able to put down cash in the damn Play Store¹. Just recently I bought a couple of $10 apps. They take my money. They know who I am. I cannot rate any application.

Because my 'Google Account' isn't good enough for that, I need that 'social stuff'. Which I cannot, because my G+ account (I gave it a try, didn't like it all that much and got nymbanned²) is ~dead~.

That's actually like Amazon requiring an account to order things (fine, 'normal'), but you have to connect Facebook to post a review. In one word: Insane. Or broken.

①: Now that is a moronic name and never gets better.

②: I used to change my name from my ~real name~ to 'Ben .'. Account locked out and lots of things are broken. Of course, a while later they changed their minds and now ~real names~ are optional and if you don't want to give a last name they suggest that you use .. '.'. I wish I was making this up.
> We now employ 10 people and 5 robots.

As a time traveler from 1960, I'm totally not surprised to read that.
US Govt. data breach tied to theft of healthcare records
I think you may have misread that RFC. With my emphasis:

> Here is a list of limitations with the current bounds syntax that are overcome with the where syntax:

The list is of the limitations of normal bounds, not the limitations of where clauses. This was actually the RFC that added where clauses, and that list was the rationale for doing so.
That's a good point. I admit defeat.

The single retort I can come up with is that I'd still prefer to feed anything _but_ Google with data, but really.. You're right. No difference.
Remote volunteer openings at Zidisha (W14 microlending nonprofit)
Cognitive Biases in Competitive Programming
So patent trolls?
Agree that the bias is to overestimate the power of a name but disagree with the notions that a) the name doesn't matter that much and b) the wasteful process of going through a ton of names to arrive at something close to what they started with was not actually necessary for coming up with and feeling satisfied with that name in the first place. I'm pretty sure Hippolist wouldn't have worked as well as Trello in a quantifiably material way.
Ray Kurzweil: Human brains could be connected to the cloud by 2030
How i hacked Zomato.com to see data of 62.5M users
> If you think there isn't a security tool that shows people using Tor, I think you're wrong.

Targetting Tor specifically, yes I'm quite sure it's trivial to find a way to detect its usage. Even with bridge nodes on :443, traffic analysis probably reveals it, and especially on company-owned laptops you could scan for certain software.

So I'm not claiming that it's impossible, I just think it's not as easy as you say it is if they're not specifically looking for it (as long as there is no abuse, there is no immediate incentive to look for it).

As for interns downloading illegal or personal data over a company's connection, yeah, that is clearly abuse. We agree on that. I even know of people here that download random stuff over 4g (built into our laptops) abroad. In fact the 4g disables any blocks the company put in place because it's outside their firewall so many use it for that. If they want to fire anyone, they should start there.
Not to detract from your point, but the applet part of Norwegian BankID is now mostly replaced by the new Javascript-based solution.
> There the borrow makes more sense since the value is being created by calling a function on the current solver state.

Agreed. And yes, a Cow is better in this case though of course there's a slight runtime cost. In such a case I would heavily document the new invariants with warning comments though :P

> I linked to an active rfc about constraints that cannot currently be expressed in where clauses

Those are the constraints that cannot currently be expressed in bounds, not where clauses. Bounds are the stuff within <>, where clauses were the new thing proposed to supplement them.

> In cases where a function takes two arguments it isn't always obvious which argument should be self.

I'm not sure why you seem to be troubled by self (here and in the post). It might be due to you looking at method dispatch as a sugar for function calls -- it sort of is (because of UFCS), but it really isn't.

The second argument can never be self. It's always the first. (nitpick: functions can't have self args, methods can, but that's just terminology).

For direct impls, you do a method without `self` when you wish it to be a static method. Eg `impl Foo {fn x(){}}` will be a method called as `Foo::x()` and will work independently of any instance of the type. `impl Foo{fn x(self){}}` needs to be called as `foo.x()`, where `foo` is a `Foo`. Here, the method is able to access the state of `foo`.

The behavior so far is the same for most languages like python or java (java has implicit self and uses `static` to say "no self").

Now, traits just let you provide a way to classify objects based on what methods -- both self and nonself/static -- they have. So, a trait `Cloneable` would be `trait Cloneable { fn clone(&self) -> Self}`, and its implementation would be `impl Cloneable for Foo {fn clone(&self) -> Foo {....}}`. This would mean that "given a `Foo`, I should be able to get another `Foo` out of it by calling `foo.clone()`". On the other hand, sometimes you want to run an operation on the type itself. I.e. `trait TypeName {fn type_name() -> &'static str}` and is implemented as `impl TypeName for Foo {fn type_name() -> &'static str {"Foo"}}`. In this case, it's no longer "given a `Foo`, do X", it's "given a type that implements TypeName, do X".

Generally nonself methods on traits don't make much sense unless you're doing type gymnastics (in fact, Java doesn't even allow static methods in interfaces). For example, they're used in hyper for dynamic dispatch on strongly typed headers (http://hyper.rs/hyper/hyper/header/trait.Header.html)

Also, `where Foo<A,B>` doesn't make sense, where clauses need a colon; `where Something: SomethingElse`.
Say what you will about the tenets of National Soup-cialism, at least it's an ethos.
But it does have wireless!

http://slashdot.org/story/01/10/23/1816257/apple-releases-ip...
Your question would never make it into any actual survey because it's so heavily biased the way you are asking it.
Lol, I've thought of doing this so many times on Facebook, Google+, Twitter and reddit. Seeing the amount of points this gets, I guess I should have done it. I didn't because it seemed so pointless: they'll just block accounts using this.
Right, but if there is a system to access your machine without your usual creds and that system gets hacked, that's backdoor access. You can say - the system for US intelligence is like 'another account' or a 'second root' and is known to Google and so it is not a backdoor - but is that really within the spirit of the discussion?

If you didn't understand that this was a separate system with separate access data, specifically for law enforcement requests, then that should clear it up.

If not we can go over semantics a ton but I don't like those games (everyone loses [time]).
I think there is still a problem of "not enough developers supporting Linux" - that issue is not completely gone yet, while it has massively improved. The next step is having a stronger adoption from devs + first-citizen kind of performance. But I agree with your sentiment, the improvement has been massive in the past 2 years.
Those mistaking Snowden for being naive and idealistic, note that he may actually believe there has been progress.

Sadly, I don't have a source, but I remember him saying in an interview that when he handed over the documents to Greenwald and Poitras, he thought nothing would come of it. That it would be forgotten and never get on the radar.

That isn't the case.

Sure, we have a long way to go, and the situation is much more nuanced than he makes it to be, but from his view, this is progress.
> Which is only as secure as the door frame it goes into, which usually means: pretty insecure.

But the door frame/deadbolt is still more secure than the remote controlled garage door because abusing the former mode of entry is more likely to draw concern from passers by and leaves a permanent record of your passage.
Steam Link is for TVs, not computer monitors. TVs talk about 1080 like it's the pinnacle of video resolution...
Not all information needs to be secure, pure and simple, and individual anonymity is more important for the health of internet culture than all the security in the world.

This section covers my feelings on the topic:

"TLS does not provide privacy. What it does is disable anonymous access to ensure authority. It changes access patterns away from decentralized caching to more centralized authority control. That is the opposite of privacy. TLS is desirable for access to account-based services wherein anonymity is not a concern (and usually not even allowed). TLS is NOT desirable for access to public information, except in that it provides an ephemeral form of message integrity that is a weak replacement for content integrity."
I found the title a bit misleading.

He's arguing that viewing public information over HTTPS is no more private than doing so without encryption.

Sure, insofar as an entire response consists only of public information, this is a tautology, isn't it?
Excellent article covering climate, energy, and electric vehicles in detail – 25K words worth of detail :D
No, because you would want to keep the fact that you read something private.
MSI's Latest Eye Tracking Laptop
> The entire point of Steam Machines is not to deal with this, just buy the cheapest Alienware, done. If you care about that sort of thing, you buy a different one.

Yeah, and then complain that the newest games in 2016 don't run well on your hardware, while you thought it was just like a console! What a surprise!

> I can get 60 fps on every one of these games in SteamOS

Put in ultra details, with anti aliasing maxed up, and I'll be very surprised if you still get steady 60 fps, in all honesty. And oh, it's been benchmarked that anti-aliasing makes the performance go down significantly, I'll get numbers for you if you don't believe me.

> Sure, we get boned by games like Dying Light, but that's just software, totally fixable.

Yeah, except that it has taken them 3 months to fix to an acceptable level. Please explain that to consumers buying it on Day 1. Oh, and remember, they are "console gamers" since you said so, so I hope you enjoy the fun communication with people who don't care about specs or optimization or drivers.

> You could make that argument about any crossplatform game.

Yes, except that the requirements for Linux ports are usually higher than for Windows. Source: Steam requirements. Again, please go explain that to console gamers.
100% agree. If you want to ensure the integrity of content, then sign the content. If you want to protect people's interactions with websites when exchanging non-public data then use encryption when that's warranted. But credential-based encryption should never be used across sites or with public data because (as the poster notes) it just becomes another way in which broader interaction with the Internet can be tracked.

It's trading yet more liberty for just a little bit more security, and haven't we all done enough of that already?
Apple's First Wave of HomeKit Devices Gets Launched Ahead of WWDC 2015
As an aside, playing around with the Oculus Rift was a good experience in different UIs for different use cases. In a tradition PC game the UI elements are around the edge of the screen, so they don't get in the way of the main view.

With the Rift, this simply does not work, as you can't really see the edges unless you strain - UI elements need to be near the centre of view. Skyrim controls worked well here, being a centralised HUD that you pop up when you need it.
It seems like the big gripe with consoles is that there's a performance ceiling and the supposed benefit of a PC is that there simply is no ceiling. The game can look as rad as you want to pay for.

But consoles have something that PCs don't-- a floor. If a kiddo buys any piece content for their xbox or whatever, the darn thing will run guaranteed and be pretty OK.

The same definitely not true for new a piece of content on a PC.

PC's might not have a performance ceiling but they probably need a baseline floor. MAYBE these Steam Machines can help rectify it for down/middle market.
Don't worry, we're working on our client too. Brand new settings screens which are more consistent and work well on mobile is the current focus.