skysight-inc/HackerNews huggingface dataset:
So here's the Math for me. I recently dropped my nice fat full-time contract so that I could either "go full time on my business" or "retire", depending on how you want to interpret it.

Before: One of those Google/Facebook/Twitter "Total Comp" numbers that nobody here believes whenever Bay Area salaries are discussed. Upwards of 40 hour weeks, though I did drop down to 4 day weeks for the last year because, hey, I can live on only 80% of a fairy tale number that nobody would believe if you told them.

After: Normal Bay Area Developer money, of the sort that the other half of that discussion above make. Or maybe a bit less. But the "Hours" side of the equation is where it all gets made back up.

I just spent 3 months traveling through Southeast Asia with the kids, Rock Climbing, Surfing, Getting Married, Riding Elephants and Building Sand Castles. The biggest work week I had involved maybe 10 hours in front of the computer.

Realistically, I could coast along like this indefinitely (thus the "retired" interpretation of my current situation above), but more likely I'll go back to 5-20 hour weeks building out features in the existing products and shipping the next one.

That's what you're buying with all this "Entrepreneuring". The ability to replace your old income with a new one that doesn't necessarily require you to work full time for it.

If you like doing things other than sitting a cubicle discussing where to go to lunch, I'd highly recommend looking in to it.
Private talks made easy, 2.22.4 released
Note that while many OOP patterns are hard to express in Rust, there are equivalent patterns that handle the use cases.

To give some context on those blog posts; they exist to figure out how to add single inheritance to Rust. One of the strongest arguments for single inheritance in Rust is "Servo and similar things need it to model the DOM". I.e; the strongest argument out there is that modelling cross-language things with languages that _do_ have single inheritance is hard.

That's not a very strong argument. That's a pretty niche use case (which Servo itself has moved past; we have a setup emulating inheritance that works pretty ok now).

So while I do agree that Rust can't model these patterns easily; I'm skeptical that that can be an issue for the large majority of Rust users.
he said a sony phone, but which one did he use?
Which country calls it "compulsory purchase?" It is indeed much clearer.
Recommending for the world
Haskell, useful? ;)
> Or is your assertion that "Buffalo buffalo..." is pronounced by repeating the exact same pattern of sound eight times?

English doesn't require semantic tone, its use just makes conversing easier.
What kind of improvements would you want in the docs [1]?

[1]: http://prosemirror.net/docs.html
How about boycotting his startups? Don't take a job with them and don't buy from them.
Made some abstract art with it.

http://knowingart.com/texter.jpg

Frame that, it'll be worth something ;-)
could you share what you use it for? My usecase is converting my android tablet into lightweight html/js dev machine - adding Arch/xfce and bt keyboard and mouse. I also got it on various android phones, but still struggling to find a valid usecase. you know, other than just tinkering with it, which is also great :) BTW, I think that the current easiest way to try Linux on Android is app called Linux Deploy by meefik. its dev is very active. It allows you to raise arch, debian, ubuntu, slack, kali, opensuse, gentoo, and custom rootfs and spice it up it with lxde/xfce/gnome/kde, as well as adds ssh/vnc/xserver access for you.
Google plans to kill off its auto-insurance, credit card, and comparison tools
For once, NSA spied on right guy. Corruption, minors, drugs, frauds, links to the Russian gov... there's a lot to be concerned about
Much more interesting is the percentage of the value they generate that is captured by entrepreneurs:

"We conclude that only a minuscule fraction of the social returns from technological advances over the 1948-2001 period was captured by producers, indicating that most of the benefits of technological change are passed on to consumers rather than captured by producers."

http://www.nber.org/papers/w10433
Add (semi-)transparent png generation and you get a useful tool for designers.

Right click / View Image (in Firefox at least)
https://www.cybrary.it/
Seems to not work with the /html/ version[0]. It just gives a box with "HASH(0x5dfa858)" (for all the examples).

[0]: https://duckduckgo.com/html/?q=emacs%20cheatsheet
Sadly this is a tough sell, given that the general public perceives "encryption" as "password", unaware of the underlying technology and implications. It's doubly sadly that it was a government employee, in a government-controlled environment, using a government-managed device, and even when government had access they went and changed the password, locking themselves out.

Critical thinking would lead one to question the need of any data at all, given the thoroughly demonstrated incompetence. Yet public filter stops on perception that that Apple once cooperated, but now chooses not to do so.
Based on my interpretation of the book

Software Estimation: Demystifying the Black Art (Developer Best Practices) by Steve McConnell
Dead page on Mobile Safari. What is it?
He's got a point. Insurances are small payments to get a cushion in case of rare events.

Going to hospital at some point in life is not a rare thing. It's common and payments are not small.

Calling it insurance is stretching the term. Social security is way better name for it. But then why let the companies profit from providing it.
I have always wondered why there isn't more tech sector investment in (South) Wales. Low cost of living, good transport links, a fantastic outdoors scene (e.g. world class mountain biking) and strong links with academia. I would choose it in heartbeat over London.

Edit: One of the reasons may be that the politicians' focus is on sponsoring large-scale industrial opportunities to create prospects for thousands of low-skilled unemployed people.
I would love to buy a flagship that looks like this. Similarly, I love the black, rugged look of thinkpads of yore. Nowadays everything is becoming shiny.
Also, if there was no secondary market, people would be much less likely to buy at IPO and other times the company sells shares.
CloudFlare to launch its own 'high security' web domain registrar
What is Mahalanobis distance?
>truly evil actor came into power

Obama is already in power..
The project is now at a point where contributions would make sense -- the API is documented, and the design somewhat stable. The area I'd most like help with is finding and resolving bugs -- strange browser behavior (contentEditable is a fountain of strange browser behavior) and issues on mobile. I'm still too busy moving the larger pieces forward to spend a lot of time testing.
I think the requirement is that ONE of the languages be the person's native language. Because language is so much more than just language, its also about culture. As another commentator pointed out , "cool" can mean so many things, which are in both similar and different at the same time. You need to understand culture to understand these differences.

Yes, English isn't my native tongue but I understand it just as well as a native would, but how many non-native languages can I have such a deep understanding of? I can translate from my native tongue to english and vice versa, but translating between two non-native languages perfectly seems like too difficult a task. Even if I am great at it, its possible that a native speaker of one of the lanugages would be better at it than me
Better yet become monopoly an monopsony at the same time. You don't even need to be government for that. Isn't US beautiful: http://www.beckershospitalreview.com/hospital-management-adm...
Yes, Apple does have a "thing". And the thing is the signing certificates. The fact that some work is involved in using the thing makes no difference. Every demand requires some work. The fact that they're being asked to do thing A instead of thing B to get some outcome seems to be a weird place to draw the line. If it took hundreds of man hours to collect and properly separate out data for a single person to hand over to the FBI as evidence, they would be expected to do it. And they will even be compensated for it.
WSJ is simply reporting what the FBI said in reference to Sandy Hook. The FBI is at fault here, not WSJ.
EQCSS: a CSS Extension for Element Queries and More
This is an improvement in some areas. However it allows companies to terminate employees for cause and take back the shares they have already vested.

In my opinion, if equity is presented as an important part of compensation, it shouldn't be something that can be taken back any more easily than past salary could be. Looking at what happened at Skype, Zynga and other companies is enough that I would mostly discount any equity offered under such an agreement.
Yeah, I figured out that you merely made a simple mistake, since rest of your comment makes all kinds of sense. :) Apologies in case I sounded like I wanted to put you down.
This is the national narrative of the event now. Presumably, this is because the perpetrators allegedly voiced some kind of allegiance for ISIS or something. The phrasing is meant to invoke all the fear, uncertainty, and doubt of 9/11. It's also intended to capitalize on the scaremongering that flows so easily into a national consciousness reeling at the shock of an event like this. We can't call mass shootings terrorist attacks when they're perpetrated by disturbed, home-grown killers who haven't made some kind of political statement in connection with their actions. This is arguably why the VA Tech shooting is not terrorism, but this one—and others, like the Planned Parenthood shooting, the Oklahoma City bombing—qualify as terrorism ... and then get repeatedly thrust into the national conversation with those labels so people don't think of them merely as crimes.
Because caving to the Feds is basically Microsoft standard policy, and always has been?
> In Chinese, the word computer translates directly as electric brain.

Computer has two translation in mandarin, while "electric brain" is the only translation in cantonese
It's really is a win-win situation for both parties:

Apple gets to be shown as a customer-knight in shining armor defending their customers to the bone.

Government gets to convince public that they don't already have the data.
I don't live quite like this, but I feel similarly about gifts: I far prefer them to be practical rather than decorative or frivolous.

I've realised that people can get slightly upset when I explain it to them. They want to buy me something fun, something I'll "enjoy". Chances are I won't, although I do of course appreciate the sentiment.

Equally, I find it more satisfying to buy a "useful" gift for others. And of course people don't always appreciate this, and some prefer a trinket instead of a practical item.

There's emotional context imbued in the act of giving, and some people embed that in the object itself.

So I'm learning to allow people to express their feelings toward me by letting them buy me whatever they want, although I will still hint at my preference if given a choice.

This can lead to clutter, which I hate, but I've realised some people love. I don't know the solution to this yet, but I suspect it's a combination of out-of-site storage and in-view display cabinet type arrangements. I have disposed of truly unwanted gifts, but I realise that's potentially hurtful so I don't enjoy doing it.
I thought graphene isn't a semiconductor? I mean it probably depends on topology, but by itself graphene conducts electricity very well.
I got it working just fine though I got a similar or the same error. Just ignore it and you will be fine.
Actually FBI has device owner permission to access the information. There is nothing immoral here. Immoral here is Apple reaction and time wasting while there could be information to stop next terrorist attack.

The situation is like owner of a device forgetting his code and ask a phone maker to help unlock the device the user owns to get info. FBI does not ask for some backdoor or unique access key. FBI does not ask to get access to unauthorized private information.

FBI ask for Apple to not brick the phone and not erase all information while FBI tries different device locking codes—FBI does not want to crack the encryption. It is not about cracking encryption at all.

In this particular case Apple is doing wrong and it looks like a PR show. It is not about encryption, it is not about backdoor, it is not about universal key to access private information, it is not about surveillance, it is not about privacy, and it is not about unauthorized access. It's about getting to potentially life saving information that FBI has official permission to get from the device owner.
Yet another tech toy I didn't know existed until 3 minutes ago but that I now desperately, desperately want to buy.

Edit: Also, not going to lie, my #1 use of the IR camera will be for real-time fart detection.
> there's no concurrency guarantee.

Doesn't even have to do with concurrency. This leads to iterator invalidation and many other problems in single threaded code. In fact, Rust's "standard" concurrency guarantee (with regular, non-scoped threads) doesn't deal with the mutable aliasing rule; it works with the ownership rule more or less exclusively. Even if mutable aliasing was allowed in Rust, you could still build the same safe threading system assuming that borrows are still scoped[1].

The mutable-alias guarantee is more of a "don't let the rug be pulled out from under me". While this is something that's more obviously a problem in threaded situations where a mutation from a different thread can pull the rug out from under you, a function call in complex code that mutably aliases can cause the same issue. The classic example of this is iterator invalidation; but it works with any type which contains a variable amount/type of things, and severe logical (non-memory-safety) issues can be caused with anything with invariants.

See: http://manishearth.github.io/blog/2015/05/17/the-problem-wit...

[1]: When I say "safe", I'm assuming that in this situation (the lack of rules against) mutable aliasing itself isn't causing any unsafety elsewhere that transitively leaks down and causes thread safety to go kablooey. As such it's a necessary and mostly sufficient system of rules; removing one rule will probably make the whole house tumble. However, the point was that Rust's thread safety doesn't directly derive from the mutable aliasing rule.
Totally missed that :)
That's interesting, thanks for sharing.
> It look completely like MS Windows.

I prefer taskbar from 7+ and in my experience only KDE can mimic it, albeit clunkily. From screenshot it seems Mint is closer to XP. I think GNOME can be beaten to look more familiar and I can tolerate it. At least it now respects Windows key convention and runs its search functionality.
I can't recall exactly where the option is but I do remember seeing an option that offered a choice between "ship my items as fast as possible, even if it means multiple, separate shipments" versus "put everything into the same shipment, even if it means it might take a little longer".
I remember the days when a single virus destroyed practically every motherboard for my local government. They had to throw away every machine and replaced it, costing the Swedish government several millions in early 2000 (https://en.wikipedia.org/wiki/CIH_%28computer_virus%29), and according wikipedia caused globally something around $1 billion US dollars in commercial damages.

A virus should not be able to destroy the system BIOS. The problem with efivars is illuminating a vulnerability, not a feature for "doing stuff". I would expect to see this used in the wild if left unfixed, especially the next time we hear about a remote vulnerability that permit arbitrary memory execution.
Don't waste your time rewriting almost unmaintainable legacy stuff. Perl actually died because the Perl 6 developers made the mistake to retain compatibility with Perl 5 which was not possible due to its unmaintainability. At first it looked promising but later on it turned out to be impossible. Rust could fall into the same trap by retaining dependency on C/C++.

I would use Rust for a complete startover. Open source development should shift its mentality to support open hardware. This could ensure safety of both hardware and software in the future, and it would attract many developers who want to contribute.

We already have the tools for open hardware: free IP cores, 3D printers, free CAD, equipment for DIY PCB/SMD boards, etc. ... and Rust for bare bone programming.
the more ram you got, the better. I have it on one phone with only 512 MB of Ram, and CPU 2x1.3GHz. CPU is ok. XFCE with Iceweasel struggles with 2-3 tabs. So it is only useful for GUI-less tasks. The second phone I use it on - has Snapdragon 800 - 4x2.3GHz and 2GB RAM. Debian with XFCE flies on it.
Experimenting with RUST
Off-topic, but imo HN needs more PS-promoting posts like this. I have the impression there are still tons of people out there who're stuck in the 'windows has no proper command line so administration means ugly batch files and registry hacks' mindset. Examples like this should open their eyes. Sure you can't pipe text around (and go through hoops to parse it corectly) like in bash so it takes some getting used to depending on your background, but one you get a hold of it you realize it really is powershell.
Perhaps, but this is not a language feature. The only reason that English looks like an easy language to learn is that everyone is now adjusted to less-than-perfect English of non-native speakers. And if you choose to speak Italian (or, G-d forbid, French), you'd better do it well enough.
> No range limitations exist once the infrastructure for refueling is in place

Holds true for any type of energy source.
> That requires a 100% open phone (hard- and software)

I am eagerly awaiting the http://neo900.org/

Unfortunately the baseband modem is still unfree, but at least it's isolated over the USB bus, versus having direct memory access as many phones do. Unfortunately no phone has a free, legal modem.

Anyways, I'm more excited about the prospect of the phone itself being completely free. In their own words:

> Not a single line of closed code will have to run on the main CPU to be able to use the Neo900.
Using free telephony stacks like FSO or one from QtMoko, FLOSS Linux drivers will be available for every single component.
In order to get 3D acceleration working, which is not necessary to operate the device, closed drivers would be needed.
I don't know much about ML, but this was a good talk!
Nasa Testa Hololens Sulla Stazione Spaziale Internazionale
I think Vegetable Oil Fuel Cells are the future of the automotive world. No range limitations exist now. Adapting infra is like adapting new grade of gasoline. Now chronic fuel leakage exists now. Filling the tank is not rocket science. No volumetric energy density problems for the fuel. No fishy "we make this fuel out of natural gas, but don't talk about it" shit about it. No need for high pressure containers. And it comes with all the good things that you get from fuel cells, but you can also use it with traditional diesel motors.

The problems: Some C02 comes out of the exhaust. But it's carbon neutral. Hydrogen has the "water out of tailpipe!" hype about it, but it's only really clean if that hydrogen is made with electricity that comes from nuclear or renewable (and clean) sources. Most hydrogen is produced from natural gas at the moment.

The other problem is that we have limited capability to produce vegetable oil. But we also have limited capability to produce hydrogen. With hydrogen you could go with massive increase of nuclear power, and you got it. But currently there is also research for oils produced by seaweeds that looks quite promising.

Edit: Seems like Fuel Cell technology would be great, but it's held back by hydrogen hype. And hydrogen hype seems to be destined as hype, because hydrogen is freakishly difficult substance to deal with.
EXRequester:Elixir library to quickly create API clients using module attributes
Quickly create API clients using module attributes, inspired by retrofit.

https://github.com/oarrabi/exrequester

For example, this is a quick sample API Client.

defmodule SampleAPI do
use EXRequester

@headers [
Authorization: :auth,
Accept: "application/json",
"Accept-Language": "en-US"
]
@get "/path/to/resource/{resource_id}"
defreq get_resource(resource_id: resource_id, auth: auth)
end

And now you can call it with:

SampleAPI.client("http://base_url.com")
|> SampleAPI.get_resource(resource_id: 123, auth1: "1")
MWC 2016: Ericsson and AWS Enter Cloud Partnership for Telcos
> Does C# do the same thing?

To some extent. Points in time (DateTime) and durations (TimeSpan) cannot be mixed either, although you can subtract two DateTimes and get a TimeSpan, or add a TimeSpan to a DateTime. But I guess those work in C++ just as well.

Internally they are all based on ticks, which are 100-ns intervals (in DateTime since 0001-01-01) stored as a signed 64-bit integer. Different quantities of time don't need different types because there's only one type that represents a duration.
Godot game engine reaches 2.0
Ericsson working with AWS to make carriers more agile
For any makers out there, remember that FLIR sells a dev kit with their Lepton sensor (the one used in this phone). So if you are interested in IR applications you can create them yourself: https://www.sparkfun.com/products/13233
> We can animate them

> We’re not saying we should, but we could, though SVG animation does have some practical applications—preloader animations, for example.

FYI SVG animation is deprecated in Chrome 45 and later. You'll want to use CSS animation instead.

See https://developer.mozilla.org/en-US/docs/Web/SVG/SVG_animati...

Main thing is now you can't animate SVG in 'before' or 'after' pseudoelements.
Amazon and Ericsson form telco alliance for cloud services
Yes, for the people who chose to be, when they chose. This choice would be decoupled from the OS choice.
A condescending attitude won't go far though.

Not everyone will agree with you, even if you use itty bitty words they can understand. I understand the issue, even when explained in grown up words. And I don't agree.

In this case, Apple already was not "keeping good security practices in place" because they made a weak system. If they had actually made a phone that kept good security practices in place, it wouldn't be possible for them to help the FBI.

They should comply with this and then fix their crap. Then you can worry about explaining the importance of fighting any law that would undermine strong security.
That's right. The Welsh Government gives millions to big business. A few years back, for example, they handed Ford £10 million to keep one of its factories open. Taxpayers' money is also spent on subsidising low pay in the private sector through Jobs Growth Wales. It's unsustainable and the money could be better invested.
No, not heavily. libstd depends on it some (we allow both glibc and musl libcs).

libcore (the baremetal library) and the language don't need libc at all.
Investors, Entrepreneurs Upbeat on Energy Storage, CN and the Internet of Things
> No employee at Apple is going to call him out on it, and everyone else can be written off as speculating.

I wouldn't put it past the NSA to have snapped up a former iOS developer for explicitly the purpose of breaking into iPhones. An ex employee could certainly call him out.

> Additionally, that letter is written with very carefully fuzzy language so as to remain true-ish.

Cook is trying to be as clear as possible to a public who doesn't understand encryption or why Apple is standing up to the FBI. That's a lot to swallow, and yes his letter is carefully worded for good reason. Given that there is a backdoor that Apple could create, it's not unthinkable that with more details, 3rd parties could figure out how to get in too.