skysight-inc/HackerNews huggingface dataset:
>An application error (returned null) shouldn't abort your application with a hard error, no logs. Its just plain poor practice to use unwrap().

What? That's what every other language does.

file.open("foo").read_line()

If open fails it'll either throw or return null which will then cause read_line to throw a null pointer exception. Rust just makes things explicit here.

Though it might be interesting if there was a special opt-in Deref impl for Result and Option so people could omit the unwrap and just get it implicitly, for the occasions when you don't want that explicitness.
Coming in O by the looks of it: https://source.android.com/devices/tech/dalvik/dalvik-byteco...
Yes. What I meant by that term are things like the user understanding enough about modern file systems that when they download a file they understand where it's stored as well as typical file CRUD operation. They know enough of the web to reasonably protect themselves from malware and are able to distinguish between a valid site and a generic phishing attempt. They understand the point of a browser or mail client and not think that IE and Internet or Outlook and Email are interchangeable. They are able to diagnose and debug the most basic issues (print job failing to print because the wrong print target was selected, able to understand network connectivity issues vs. application not working).

You'd be surprised how many people fail at those very basic computing tasks, and those are the kinds of things people need to know to get their jobs done. Knowing how to program in Python isn't going to do anything for the VP of Business Development.
I think it helps the liars if they get everyone else using their bullshit lingo. Why say "alt fact" when you mean "lie"? The only effect it has is to give them credibility and remove some of yours. The article does the same. I'm trying to get at the general point of not using the enemy's made up language and playing into their hands rather than any one specific use of the term. The English language has plenty of terms for lies and liars. Let's call a liar a liar and stop empowering them.
The only way you are getting paid is releasing the MVP asap. Make a new agreement with the COO with some sort of acceptable terms. Attorneys will just take your money $5k ( you likely do not have ) and give you false promises. Your chances of getting anything without the MVP being released is 0. You might even offer to host it yourself.
1. Talk to an attorney. Good attorneys will usually be happy to have an initial consultation with you for no cost unless you decide to move forward.

2. The next time a member of the C-Suite in a VC-funded startup calls you to try and draw a false equivalence between them not getting paid and you not getting paid for sympathy points, call them out on it by reminding them 1) that they have equity for that risk, 2) that you don't, and 3) that you're insisting on restitution. Be forthright and assertive about the terms they agreed to in the contract (since you'd been at this, I assume you have contracts in place), but do not be the one to escalate the situation further.

3. Make sure you're communicating in writing everywhere (email is fine). For calls, send follow-up emails summarizing the calls while they're fresh in your memory. Take notes on the calls. Prefer written communication to calls where possible. Record calls if you're in a one-party state (based on another comment, you seem to be).

4. Don't be antagonistic and don't be passive aggressive. Especially don't do anything that makes you feel good emotionally but causes your client to become a more sympathetic party, and potentially sever some of their contractual obligations. For now, consider the remaining invoice balance a loss and be dispassionate about it.

5. Going forward, make sure your contracts have the following clauses, if they do not already: 1) all work is exclusively owned by you until the last invoice has been successfully deposited in your account; 2) invoice payments are required for your time according to the agreed fee schedule regardless of ultimate deliverable completion, while both are true: a) the deliverable is being developed in good faith, and b) neither party has yet provided a clear and explicit communication that the work must pause.

Point 5 is important. If you are working on the project and they do not tell you it needs to pause until mid-way through your next invoice cycle, they are contractually obligated to pay for the time they didn't intend to use but for which they did use and failed to notify you. Even more importantly, the work is not transferred to them until they pay you, which means they legally have nothing until their obligations are paid.

In the worst case scenario under this template, you will not recover your money. On the other hand, they won't have your intellectual property and they won't be able to sell it off to pay other creditors. You should realistically prepare for the possibility that you're never going to see the money your client owes you.
"Allah and His Messenger" is a technical term. You are likely misreading this as indicating 2 distinct points of view as in "A and B both think X".

> You could argue calling Allah “stupid” and an “utter maniac” might annoy him, hypothetically.

It depends where you do this. In general Allah claims, very much like Krishna, to have perfect 'detachment', so arguably IT does not give a fig.
I read it, and I feel it's one of the best non-fiction books I've read. I think the math can be tricky and there are parts I had trouble understanding, but I think the book was amazing and that Hofstadter was onto something really important about the nature of recursivity and the role it might play in thinking.
Not years, just eight months, but it's still incredible.
Emmanuel Macron is the new président de la République (65,1 % of the votes)
How much are you earning if you can afford to drop $60k/year in investments?
both companies are in NY : where there is 1 party consent
http://www.dmlp.org/legal-guide/new-york-recording-law
Nice idea.

It showed me the same Bruce Lee book three times within 5 minutes.
And as that Freakonomics episode notes, there's at least an argument that disposable houses have been a factor in the Japanese economic slump. There are good reasons to rebuild housing from scratch (and some Japanese history that probably played into the disposable housing dynamic). But compared to the US, rebuilding housing every 35 years means that you're destroying a lot of capital.
I think we do.

We're a net contributor so the rebate point is null.

Re. the euro, is there any point in being one of only 9 countries outside the euro (bear in mind most of those 9 are new members who intend to join). What kind of say do you think the non-euro countries are going to get?
Kamo (Bolshevik)
I may not have the accolades Elad has, but I'm not a random HN commenter. I speak from own experience in machine learning.
By manually deciding when to `git commit` in the first place, you're already losing some history. Nobody argues to keep the history of every keystroke, so clearly there is some point in between that and "no history" that is useful.

The argument for rebase is that some of your local commits (especially ones like "going home for the day" or "whoops typo") are just as useless a level of detail as your other random keystrokes.
A composite key made up of foreign keys in a junction table.
I am actually a mongodb skeptic, but i recall seeing benchmarks where it was claimed to outperform other databases. Regardless of whether those benchmarks are fair (if there is such a thing) I wondered what happened to them when you put mongo on equal footing when it comes to durability.
I don't quite understand what you mean because the entire class library is of OpenJDK since Android N. Sure desktop specific API's like Swing are missing and Android has its own API's for UI and stuff but all classes from standard Java are from OpenJDK in Android.

Before Android N they used to come from Apache Harmony and occasionally classes were borrowed from OpenJDK. But thats no longer the case since Android N.
To counter this anecdote - my iPhone 7 is my primary computing device. It's the computer that's with me the most, and it's the one that I use the most. Sometimes I'll have my real computer with me and yet I still prefer the handheld form factor and the swipe interactions of iOS (especially when I'm consuming, rather than creating).

It's mind blowing how many computing use cases my iPhone completely takes over for me.

There's some things that my phone will never be able to fully handle, like my full-fledged Lightroom photo management and editing workflow for example...but that's fine. Even some basic photo editing workflows are being handled by Instagram these days and the touch interactions are surprisingly efficient.
Yes, that's why. When ? Can be used in main, we will switch to that en mass.
End-user computing (2013)
>I just love it how people jump to conclusions about what is going on with other people, based on cursory observation.

If by "cursory" you mean "many years of close, and 24x7 observation, including of close relatives and friends", then what's not to love?

It's not like people saying that are some tourists to Earth that have just some short-term cursory relationship with the "other people".

At some point, there's enough observation to "jump to conclusions" about what is going on with other people.

The alternative is a kind of solipsism, as if we cannot say anything and make generalizations of what we see people do ever, and can only speak for ourselves.

As if everybody else is some unique snowflake that one needs to study meticulously to draw conclusions from their behavior.

Or as if somehow there's some inner difference that makes their outward behavior (e.g. glued to a screen all the time, even in the most intimate situations) unfit to draw conclusions from ("Yeah, this person has his eyes glued to some BS mobile app while just 10 meters in front of them there's fireworks and naked people running around and Kanye jamming with Bruce Springsteen, KISS, Aphex Twin and Keith Jarrett on stage, but you cannot say that they're oblivious to their surroundings -- in actuality said person totally enjoys and absorbs whats going on around them").

We should be able to call a spade a space, and masses of tourists with their phones out snapping pictures of the Mona Lisa at the Louvre as uncultivated idiots.
As a European this comes as a huge relief, especially given the poorly-timed email leak (with Russian names in the metadata).

Here's to hoping that Europe can continue working together and begin to reform itself, and not tear itself apart like some of our American 'allies' on the (alt-)right would like.

Lots of challenges ahead, but we wouldn't want it to be too easy now would we?
Maybe there's a way to get the best of both worlds? High density with space? I don't know much about civil engineering, architecture and urban planning but I'm absolutely certain the the current state is just a local minimum, not an optimal solution. I'm pretty sure we could optimize for higher density, shorter commute and larger living spaces if we wanted to.
BBS, Usenet and Email don't have ratings, likes or follower counts. I think the gradient follows less 'dopaminergic' services that don't offer rewards beyond the intrinsic content people send.
Platform-native GUI library for Go
Using String as an example error type seems like a bad choice if nobody actually uses it in practice, though -- it's just leading you down the garden path.

Personally I found the error handling section of the documentation confusing and frustrating -- it works through three or four different approaches pointing out issues with them as it goes, and it's hard to tell when it's discussing a simple-but-wrong approach as motivation for the following more-complex-but-correct one, and when it's actually recommending you use the approach. Plus it finishes with an approach with nice properties but an awful lot of boiler plate conversion code, which left me thinking 'surely there must be a better way'. IMHO the error handling section of the rust docs should describe just one way to do things, and it should be the standard way everything uses so your code interoperates with library errors nicely, and that way should not require writing a page of boilerplate just to say 'my function might return an error from library foo or one from library bar or this error of its own'. (If error-chain is that one right way then it should be in the standard library and the documentation.) As it is it looks like 'this language isn't finished yet, come back in six months to see if it's any better' :-(
> Instead of people using technology to magnify their lives, they are confining their lives to their phone.

No, you're just jumping to conclusions that fit your imagined narrative.

When I'm using my phone on the train, I'm going through my reading list or listening to podcasts. If I had a physical book in-hand, I bet you wouldn't jump to similar conclusions. Yet the activities are the same and the content is the same.

People who want to waste time will waste time. Back in the day people read garbage magazines to fill that same time that they now fill with maybe Candy Crush. Everything is different and yet everything is the same and that's what people fail to realize.

The difference now is accessibility. It's the 24/7 nature of it that I think is valid to critique. But the commuters who don't stare out the window now weren't staring out the window pre-smartphone era anyway. They were reading newspaper columns, gossip magazines, playing handheld games, etc. So I'm not sure your example is the best.
What minifiers?

Some do very much trade speed for size, but in my experience the opposite is overwhelmingly true.
I'm curious how things work? This is just a prediction? Is this an official exit poll?
I can't deny it uplifted my mood quite a bit. The nationalist wave didn't flip France head enough, which is always good. It's just a start, a new hope.
But you can get a $2.50 burger at a fast food joint. This is what you should compare the ramen to :)
Shubhendu Sharma: How to Grow a Forest
Cell phones were lurking in our subconscious long before they became real. Look at instances of magic books in old fantasy literature. For example in that wizard's house in CS Lewis's "Voyage of the Dawn Treader". And magic mirrors too.

Given that, it's like we hungered for them all along. They click into us like a lego brick.

Also, I see "employers" demanding that their "employees" be accessible via cellphone basically all reasonable waking hours. So it has us by the wallet now.
Since this is about treating human beings, of course the best qualified people are physicians. More precisely, medical psychotherapist and related professions. Among various treatments, behavior therapy is quite common, but there are others.

There is certainly some stigma around this, because most people think that going to a therapy means you have some serious mental illness. But that's nonsense. There's a huge variety of issues, small and lager, and all physicians are fully aware of this broad spectrum.

The defining criteria is always: Does the person suffer from that issue? (Sometimes also: Do the people around that person suffer from it?) And, of course: What's the best way to help them?

Moreover: If they can help people to get away and stay away from alcohol and other drugs, and are able to talk a violent to cooperation, which are both much harder tasks than anything discussed here, then they can help with "smaller" psychological issues as well.

And compared to people with some 3-months crash course, they know exactly what they do, and have all forms of therapy applied to themselves as well, that's a vital part of the training.

For reference, I'm talking about the situation here in Germany. But I think this should be very similar in other countries, too.
Sometime in the mid 90s (must have been 1997 since there were web browsers) I was taking a college prep class at a community college, and I read about a thing that became popularly known as "the ping of death". Long story short, the school had all of its internet traffic running through a single, rather ancient NAT that locked up if you pinged it with a 64k icmp packet...
While I haven't done a deep dive on Watson's utility, here's an example of a scenario where Watson was successful in matching humans, but the implementation was challenging, customer interest was low, and the IBM Watson cut didn't get past a pilot phase.[0] This came after spending $50-100 million.

To your question, the hospital wasn't "done" with teh effort and is still shopping around for IBM Watson competitors as a substitute to go forward with.

[0] https://www.wsj.com/articles/hospital-stumbles-in-bid-to-tea...
That's likely.

I on the other hand would never want to live downtown. I like the suburban feeling. Love it. I commute for an hour and third. Downtown areas just feel too busy for me; congested, noisy, claustrophobic.

Edit: Addendum, Toronto native.
If these are qualified leads and can convert them to a revenue stream? I believe you have the holy grail of cold calling If positioned accordingly.
Building better angel investing with Dave McClure's large portfolio theory
> "do your job and we'll reward you"

If you wish to reduce communism and socialism to the extreme "kill" state, you should do the same with capitalism. Those rewards offset (and frequently just barely offset) the costs of living. This means that capitalism can also be portrayed as "Do your job or you'll kill yourself."

The only real benefit is that people who have jobs can shed responsibility for a death due to a lack of working.

But that's talking in ridiculous extremes.

I'd say most people are motivated (not all, but most) to do work because they consider it to be the right thing to do. Most people want to provide for themselves; but capitalism doesn't always let them do so. If they have the wrong skills, live in the wrong area, or are otherwise incapable of earning enough to offset the cost of living, capitalism shifts the blame to them (Learn the right skills! Move to the right area! Don't get sick!) and leaves them behind.
65% to 34%, mauled.
With those with ad blockers: http://archive.is/MWKkV

Am I the only one that doesn't like Q&A format?
Doesn't VyOS run an EOL operating system with core packages that are years out of date? I spun up a test server to check it out. I don't see anything on their website about updating it and running "apt-get update/upgrade" just throws errors.

Why would I want an edge security device running something like that?
Thank God, given Theresa we needed someone sane in the EU.
Show HN: Pierra – Deep Art Photo Filter App
Is not confirmed
Robovision: compare three image recognition services
iptables the kernel component might run on top of netfilter (i.e. there are various `nf_` modules loaded in my kernel, some of which are being used by `iptables_` modules), though I doubt iptables the user space component relies on ntf/nftables the user space component. Could be wrong I guess (comment and I shall edit this out if I'm wrong)

As an aside, that's one of the nice things about nftables. No more conflating the user space binary, the user space format, the kernel module and so on.
Living in an apartment for your entire life is looked down upon, especially if you have a family.

Not sure about others but personally the yard, larger home, parking etc are a huge quality of life boost. I can sacrifice for a while, but eventually need to enjoy life a bit.
Estimate of voting booth all around. Probably gonna shift a bit until midnight but not by much and surely not enough to modify the results; and so far it seems Macron is going from 65.1 to 65.5.
You'd have to enter it into your computer fairly frequently, and malware could capture it then.
EASY DIY BLACK PEEL OFF FACE MASK THAT WILL CLEAR AND SHRINK Your PORES
Any 12 year old kiddie can change meta data on files. Faking meta data to place false clues is intelligence service 101 as documented by many NSA/CIA leaks.
65.5% now, I like it like that.
Linear time (ish) test case reduction
34% is way too much for a fascist like Le Pen.
This story reminds me of a little-known movie called The Rapture.[1] It lacks the technological spin, but is otherwise also about a lost woman adopting a strange, cultish faith. Some religious people have taken offense at its view of Christianity, and it's obviously a low budget movie, so you have to tolerate some consequences of that, along with a bit of soft-core sex, but otherwise it's really interesting and definitely a challenging view of religion.

[1] - https://dvd.netflix.com/Movie/The-Rapture/60034962
> Except Watson, Siri, Alexa, etc aren't real AI.

From the Wikipedia article on Artificial Intelligence:
"In computer science, the field of AI research defines itself as the study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of success at some goal."
Very interesting ! I am a solo guy but I sort of followed the same way you did. And when I had to go with the Kubernetes road because managing multiple Docker over multiple boxes became too complicated, I just went back to one website = one VM... Giving me time to learn all the k8s stuff, which will be probably be useful soon but just not right now.
Because it is a serious regression.
Ask HN: How to stay as market leader when your product/service is easy to copy?
Say you're the first to create an online product/service that does [X] and is also easy to copy.

In general, what are the steps a business needs to take in order to maintain their place as market leader once competitors start flooding into the market (they notice there's demand for such a product/service and understand how easy it is to replicate the product/service).
If you read the actual article, look at its horrifying Rust code examples, and see the author's conclusion to stick with Python, then "Use Nim" is EXACTLY the right response!

Saying "Use Nim - it's a statically typed compiled language that about equals Rust in performance, but has a much cleaner higher-level Python-flavored syntax, and a very Pythonic `parsecfg` module in stdlib" is only better for the RTFMably challenged readers who've never heard of Nim before.

Shame on the closed-minded pathological down-voters who've completely ruined HN...
Python 3's "bytes" type can't quite decide whether it's an array of small integers or a string.

> a = bytes([97,98,99])
> print(a)
b'abc'
> a[0]
97

You can use regular expressions on a "bytes" object, as well as most of the string operations, such as ".center()" The "bytes" type in Python 3 still does double duty as an ASCII str/byte class.
The battle was between people from anywhere - bourgeoise globalists and proletariat immigrants - and people from somewhere - the native French. The 'anywheres' have imported so many ideological allies that the result was inevitable.

A good analysis is here: https://www.city-journal.org/html/french-coming-apart-15125....
You just need family-size non-luxury apartments to buy (and not rent). The only apartments of that size in any city that I know cost in the millions per unit. That's simply out of reach for your local dentist or pizza shop owner with a wife and 3 kids.
Did she set up concentration camps or plans to?
Yes, that was why. It was long ago, I'm sure it was a particularly inept implementation. He didn't say "don't bubble sort," he said "don't run that anymore."
It beat them because most of the questions were only related to factual knowledge. It utterly failed on the wordplay questions.
Polls close at 7pm except in larger cities, but counting of votes start at this time. It's forbidden to leak the results until 8pm, at which time the sample is large enough to give a precise estimate, unlikely to move by much.