skysight-inc/HackerNews huggingface dataset:
Python duck typing can be as strong as you want it to be. You expect an int? Call int() on your parameter. Problem solved. If it's an int, great, you are GTG. Was it a string containing digits? Great, it converts. Was it a user defined class that defines __int__()? Still GTG. Something that can't __int__()? It raises value error. Of course this only happens at run time. But I would argue that if you depend on compile-time type checking you are not testing everything you should be. unittest, hypothesis, and coverage are your friends.

Learn to write constructors well, and typing takes care of itself.

Explicit, make-it-this-gosh-darn-it typing is for performance acceleration: numpy, cython. Otherwise you should be using constructors that raise the appropriate ValueError exceptions. Embrace the duck. Otherwise, if you want to write Java, just go use Java to start with.
I'm gonna guess they'll keep the tips secret until many hours after the journey (and when both driver and passenger have left star ratings). They might even aggregate tips for the week/month.

That way, if you leave no tip, it can't come back and bite you.
What you're referring to are known as Qualia.

https://en.m.wikipedia.org/wiki/Qualia
Probably intentionally. They have a very, very, very large and aggressive javascript package.

They probably intentionally break the site for anyone who doesn't want their script payload.

I doubt they can make any money without it anyway.
My point is Uber doesn't care about what you despise so long as it serves their bottom line.
The Reddit discussion thread has a response indicating the BÜPF doesn't apply to their VPN service, with an official blog post upcoming:

https://www.reddit.com/r/ProtonMail/comments/6id4lw/protonvp...
This seems awfully paranoid. Dryers are responsible for less than 1% of house fires in the US. If my house is typical, then my odds of experiencing a dryer fire are maybe .002% per year. A substantial portion of these happen because people don't clean their lint, so you can cut the risk even more by just not being negligent.
They don't need to skim off the top of tips, just follow what restaurants do, and cut back on wages, since 'they get tips too'
I use Safari and I care. I actually don’t understand why it’s not used more for people on macOS. Granted I have an iPhone so the syncing works well between the two, but aside from that it really is a better browser for me than chrome. Faster for sure, better UI, lower memory usage, and better rendering of text.

I don’t use a lot of extensions, but now having a faster mechanism for Ad blocking (by building the blacklist set into the engine vs a JavaScript layer on top) makes my primary extension usage even better!

Safari has been making investments that chrome hasn’t. I’ve confirmed this with a former Chrome team developer who told me they started turning off unit tests that prevented startup time blowing past some milisecond threshold after the business asks were deamed more important.

Can’t wait for servo to finally land and hopefully Firefox will smoke them all once again.
Yeah, in Germany you can find both kinds in glasses, cans, or plastic pouches. However, I think most black olives here are simply green ones, colored with iron. I found it hard to find real black olives in my supermarket unfortunately.

Also, I think the botulism issue is prevented by having an acidic environment.
So you're saying that people who think that EVs are a good choice for themselves because they own one and do road trips in one... are actually wrong?
I used to abhor the in-app tipping option in Lyft. But increasingly I would be asked to tip cash by drivers when I used Uber. My rating started to get lower as the cultural expectation to tip cash took hold.

It turns out the Lyft model, where the driver doesn't know whether or not the rider tipped, is better for the rider. The rider doesn't have to carry cash in order to avoid getting extorted for a 5-star rating.

Tipping culture in restaurants is subsidizing substandard wages for servers. Tipping culture for taxis and the gypsy cab apps (Uber, Didi, Lyft, etc) doesn't have to take hold. Maybe now that the option is in-app, riders will eventually stop using it.

I hope, at least, that the tipping option is confined to U.S. rides. The rest of the world doesn't need to get infected with it.
That's an interest rate of between 10.5% and 12%. Please sign me up, because I definitely don't know where to get that.
last time I tried Dlang, it had the option to turnoff the GC completely
Kubernetes vs. Docker Swarm vs. Mesos: A Comparison of Orchestration Tools
It adds friction to the process for getting from A to B.

Cabs

1. Find a cab

2. Hail the cab

3. Get in cab

4. Decide what to tip the cab

5. Pay the cab driver

6. Get out of cab

vs

Uber (without tipping)

1. Hail the uber from phone

2. Get in uber

3. Get out of uber

You could make the argument that tipping is optional, but deciding not to tip is still a decision making step.
As it's a local installation, it will be blocked by user's limited permissions, by locally installed security products and by paranoid users regularly culling their certificates (believe me, been there, done that).

It also won’t work if the user is using Firefox or any other solution that works outside of the OS certificate store. Messing with a Firefox profile is frowned upon by Mozilla and even if you did that, it still doesn’t solve the problem for other things that bypass the OS certificate store.
> I honestly think recruiters can be entirely replaced by a decent A.I. and good scheduling software. And we would all be better off.

Fun game: find all jobs that could replace "recruiters" in the paragraph quoted above.
Perhaps but that's how these services get so popular in the first place.

There are mechanisms where free image hosting makes sense. Remember when we used to pay for email? There are always ways to monetize products indirectly, or have value add, when direct monitization doesn't work well.
I'm really not a fan of this argument. No one is arguing for a banishment of the concept of a competency PMF. We're just saying, "If you use these newer techniques and tools and patterns, you get more bang for your buck."

The common response is, "But then I have to learn something new." But this is the curse of technology, and pretty much inevitable. Some learning needs to occur because tech changes so fast.
You don't even need to do that.

Just have people opt in for NSFW content on their accounts. Leave them opted out by default (or public).

There is no reason it shouldn't be a human controlled flag.
They will probably take some "handling fee" on the value of the tips.

It'll form an income stream.
The line.
You're right, but Google would be limping without non-Americans :)
Hard, real-time GC's exist. So, you can definitely do it.
fyi this is what Lyft is already doing
Example: self-destructing cookies automatically clears localStorage in Firefox after closing a tab (unless you toggle the setting on a per-site basis). I don't think Chrome can do that, even with its cookie destroying add-ons.

When I open the storage settings on Chrome there is often a lot of data saved by sites that is not cleared by the extensions. The Firefox community also tends to be more conscious of privacy issues.
What would be good for video chat?
Realtime messaging with a simple link. No sign up required
Why doesn't Amazon leverage Zappos (an Amazon subsidary)? Their service and return policy (1 year) are amazing.

It seems odd to compete with Zappos when it already has a loyal user base.
But it will come back to bite me in a psychological way. I don't want to feel like the sort of person who doesn't tip when tipping is expected, I want to use a service where I don't have to think about tipping and can feel like a decent person. If that service has to cost more then so be it.
I'm not entirely sure why I don't have to pay for email. My only guess is that because it's hosted by Google, I am more integrated in the google ecosystem, which seems to be only something like google or yahoo could pull off. I can't really think of any other companies that are "spread" enough to make sense having an "ecosystem."
Yeah, exactly. This doesn't cost them anything. If they add a button to add 10%/15%/20%, people will still just tap that instead of try to hail a cab.
Need this for mobile. Somehow it became a defining characteristic of an "App" to disable text selection.
Change department for customer threads in PrestaShop 1.6
The meme problem I see on Reddit and Twitter too - so many sites developing their own meme dialect that's completely incoherent if you're not up to your elbows in it.
Agreed. If anything, it shows that the poster spends an inordinate amount of time commenting on an internet forum.
Is Medium forcing sign-in to view blog posts a new thing, or have I just never noticed it before?
https://i.imgur.com/VreES7R.png
The Job of a CFO at a Scaling Company – Sarah Friar (CFO of Square) and Jason Chil
Isn't one of the main benefits of VPNs sharing the IP with many other people?
It's very tempting to think that ad-hoc linguistic experiments like this have appeared and disappeared all the time through history, with only the "fittest" surviving today.
The investing VC's thoughts - "Deconstructing the Near Perfect Deal"

https://hackernoon.com/deconstructing-the-near-perfect-deal-...
Airbnb uses machine learning as a competitive advantage
I think ultimately this is a good thing. If this gives drivers a bigger incentive to use Uber, that will translate to more drivers on the road, and lower surge pricing for riders.
The context in this conversation is leaving the drier on while sleeping at night, though.
There are demos of robots folding random laundry. They are slow and expensive, but that's the stuff that improves over time.
Based on karma.

https://news.ycombinator.com/item?id=14540236
"all the Ubers I've taken have notes taped up in the back stating the driver expects to be tipped (in cash)."

It would annoy me to no end, and I would be surprised if Uber would have been cool with that before now.
Extract from the pages you linked:

"However, note that calculating object reachability is computationally expensive. Defaults to false."

"it is off by default and generally advised against on performance reasons."

> > Bazaars allows remotely fetching one single revision from a repo, without requiring to download the whole history. You can't do this with git.
> As it turns out that is not correct – git can absolutely do that. But the two biggest hosters don't allow it.

I stand corrected, I should have written instead: "git designs makes this operation so expensive that git disables it by default, which means you can't use it with github and gitlab, and probably the vast majority of git servers in the world, making it unusable in practice".

> you could ask github whether they might change their config.

Yeah, right.
Honest Question: What are your sons doing to help you?
I remember when “image hosing” meant copying the file into your machine’s public_html directory and sending out a link. Now somehow we need a third party to do this.
Hm..I have never seen this message too. Maybe a new one.
It was like that when Firefox first appeared as well. The solution was to email the webmasters and say, "your website doesn't work in Firefox. The URL is <url>, the browser version is <version>, and the operating system is <os>." That often got things fixed and reminded developers that they need to consider more than just one browser (IE at that time).
Considering it's listed as public record in the first place, I doubt it. I was just directly attacking your claim.
Yeah, all the tipping advocates are probably not aware that most countries don't have tipping. Restaurant staff are paid according to local wages. So a racial minority won't be paid less than someone from the majority race. European and Australian restaurant staff aren't depending on arbitrary tips. They know exactly what they are going to make at the beginning of their shift. They don't feel like they're working for peanuts for rolling napkins or putting chairs on tables.

It's probably not a bad idea to just select the $0 option when the tip screen shows up... until drivers start insisting on seeing you enter your tip before awarding your 5-star rating.
No straight answer on encryption from Europe’s incoming digital chief
What is the difference between the approaches that Rigetti and say Google and IBM are taking?
Interesting, I hadn't heard of GP100, only released in February. Still, at $6000, as expensive as eight 1080 Tis.
Well, yes, so maybe 0.x language specifications are not for you. That's not a problem. Pick your battles.
"its not about size, its about predictable response time."

Far as GC's, it's also about size if it's a constrained embedded system. I've seen a number of GC papers discussing tradeoffs between size (i.e. RAM use) vs speed/latency. This even factors in a bit on the large ones like Vega where they were still balancing those factors to get an optimal, "pauseless" GC for accelerating enterprise apps.

I agree on the other points.
This seems like it could be very useful for accessibility applications.
> a monopoly as long as it’s controlled democratically by all who use it

Another word for this arrangement is "government".
Not true. Jcrew Factory does $5 flat rate, or more frequently offers it free. A prepaid label is also provided with the shipment. And unlike Amazon, these clothes are not add-on or pantry-like items (i.e. need to spend some crazy amount of money to NOT pay for shipping, even with Prime), and won't be last-miled by their crappy service or Lasership.
> 1 + 'hello' resulting in an Exception would be a product of dynamic type checking.

Incorrect. It might be the product of a run time type check. It is not inherently so. You ca't even be sure you actually had a type error when you get a TypeError.

But even then, this is using "type check" in the most vacuous and equivocal way possible. It's not the concept most people are referring to.

> A language would not be able to explicitly throw a type related error unless it had some information regarding the type of the data.

You (and this resource to some extent) are confusing strong vs weak typing with static vs dynamic typing. A + method might have a type check embedded (esp python since + is magical), but it's actually quite rare of that a.foo(b) is anything other than an assertion that the object A's vtable-analogue has an entry.

This is sort of dynamic typing, in the sense that I can think of formalisms that model this (named extensible row types come to mind), but this is a profoundly useless defintion of "type."

I'm not sure why we'd tolerate redefining type checking to a worthless concept and then using that divergent definition to imply that it's unhelpful. It's 2017, functional languages are fully baked. Powerful static type systems exist even for the Javascript environment and they are taking over that ecosystem rapidly.
This phenomenon is treated as an example of phonology in the process of emergence in a very young language.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3250231/
To extend the other answers: the 'hack' in this case is putting everyone on every project. In a lot of consulting settings, charge numbers are kept within a small pool of people working primarily on that contract. When things are heavy, they work overtime, when things are light, they work undertime.

In this case, a team of ~100 all had access to everyone's projects. So rather than being stuck with the demands of a single client, everyone got to work overtime whenever they wanted, and not when they didn't.
World's Most Powerful Particle Collider Taps AI to Expose Hack Attacks
Ramblings of non-linguist:

The problem with the human body is that is extremely hard to share information. We can absorb gigabytes of information through our eyes and other sensory organs, but we can only emit a few bits of information. When we communicate, we are essentially trying to share our thoughts through a very narrow straw that limits the flow of information. The result of this bottleneck is language. Language requires lots of context, common understanding, and being able to view the world from the other person's perspective to make sense of the tiny amount of information that one person is sharing with another
I wasn't suggesting making it so cold as to damage food. I also wasn't arguing against batteries.
My dad had always told the story regarding the orientation of the stadium. Interesting to learn that it may not be the case.
It is actually on Chrome as well: https://chrome.google.com/webstore/detail/copyfish-%F0%9F%90...

I started using it a bit ago, the area selection seems a bit wonky, but otherwise works.
Interesting. This will never happen at my big company, though. Seems hard to imagine most companies being able to manage the complexity.
Wait, did people take Stackoverflow's post serious enough to merit a response?

I enjoyed the original article and I especially enjoyed the semi-facetious flamewar that broke out here on HN, but I thought it was pretty well understood that it was a meaningless, albeit interesting, correlation.
No, Rust went 1.0 a while ago. They will not make breaking changes to the language until a hypothetical 2.0 release, which at the moment they are not considering.

Of course the standard library changes; it's not a dead language.

New features, including new functions in the standard library, are marked 'unstable' when they are introduced. Unstable features have to be explicitly requested, indicating that the programmer is aware that their functionality may change before they're stabilized.
I suspect a lot of that has to do with culture. Consider how differently you might expect these three people who are expecting a tip to behave: an Italian from New Jersey, a middle class hipster in LA, and an illegal immigrant driving under an Uber account they share with a legal worker.
The job of the macro is to convert a form into an expansion. If it's doing the job wrong, I don't see how you can avoid looking at the output. With respect to what is that "extra".

It's no different from any other "input -> process -> output" computing situation where the output is wrong, the right output is obvious, and you have work back into the process to make that output come out.

You shouldn't be fixing macro output. If the macro is wrong, the first step is to find the simplest macro invocation which reproduces the problem. Use a dummy argument for anything irrelevant, and use an atom for any argument that allows one. For any argument position which accepts a list of items, see if the problem reproduces with an empty list, or a list of just one. If you can see the problem in (mymac (a b) c d), you have it made. Hey look, b is being wrapped in an extra list, and d should be quoted."
Unpopular opinion: I hate the tipping culture but I love this change. Here's why: I never rate the drivers right after the trip unless the ride is REALLY good or REALLY bad. If it's really bad, I want to express my anger. If it's really good, I want to give the driver compliments. 90% of the times when I get out of an Uber, I just ignore the app until next time I use it. So to me personally, this is completely different from regular tipping.
Indeed it doesn't provide anonymity against the sites you visit - quite the opposite, it makes it even easier to correlate your browsing regardless of device/location.

But many (the undersigned for example) use VPNs for many other purposes:

Unencrypted WiFi (airport, hotel, etc)

Secure connectivity but provided by someone you aren't willing to trust (your employer?)

Fooling Geo-IP based restrictions (hello Netflix/BBC)

Not having your VoIP traffic mangled by a shitty carrier who's trying to extort protection money from you in the form of some "VoIP-optimized" expensive plan

Etc etc
When was this? I spent a week in Vegas in March and according to my records, 27 Uber trips. I don't recall seeing anything like that, at all.
Netflix’s interactive shows arrive to put you in charge of the story
So an installer was trying to set up autoruns, and the outbound connection IP's were on some list? The first part seems like expected behavior, the second sounds like your list of bad IP's included several that one of the most popular VPN providers use.
"Community is (apparently) a bunch of dicks."

This is not true at all. I personally know some of the core devs, they are very sharp programmers and very humble people. The community is very open to suggestions, and very welcoming to new people.

Yes, just my personal experience, and I'm not claiming that no one ever had a bad experience, but I didn't want to let that pass unchallenged.
There is simply no good OCR engine available that can run inside a Chrome or Firefox extension. The best available is Tesseract.js. And while this engine is fantastic as a project, its recognition rate does not come close to what is available server side.
So google bought the .google TLD!
Possibly related: why does "going south" mean degrading, spoiling, breaking down ...

The "paws" in "southpaws" clarifies that it is a derogatory term, suggesting that the left-handed are clumsy.

Could it be that the sense of south in "going south" is a back formation from southpaw?

Etymonline documents "going south" as meaning "vanish, abscond", tracing it to 1920's America: "American English, probably from mid-19c. notion of disappearing south to Mexico or Texas to escape pursuit or responsibility, reinforced by Native American belief (attested in colonial writing mid-18c.) that the soul journeys south after death." It could be that the "turn bad" meaning derives from that.
Techmeme's headline (too long to replace the original with): Netflix tests interactive episodes for kids which allow different storylines to be chosen, available on select smart TVs, Roku, and iOS devices