skysight-inc/HackerNews huggingface dataset:
even children don't want to be treated like children, but sometimes you need to.

I don't generally believe in limited people's choices, but sometimes addiction can be too powerful for someone to beat on their own.
Alex Garland: Annihilation
The funny thing about this, is that on portrait on my phone even this deliberately shortened version is cut off.
Ask HN: What's up with the date stamp changes?
Today I noticed the 'days ago' date stamp has changed to 'long date' on user profiles. And on users' 'favorites' they use 'long date', but my own still use 'days ago'. As do submissions.

Why change after so long, & why not uniform?
11,941 to go!
In One Tweet, Kylie Jenner Wiped Out $1.3B of Snap's Market Value
To be fair, “BnB” = Bed and Breakfast. It’s in the name, not the fine print.
Thank you so much for this, I can't wait to try out the Linux version. Are you using GTK+ for the UI on Linux? Your website does not specify.

I'm asking because high-dpi support on Linux/Wayland is constantly problematic for desktop applications that don't use GTK+ 3 or Qt.
Same idea for guns. Buy back guns for $10,000 each. Soon have guns under control and off the streets.

People would be breaking into each others houses to sell them.
Exactly this, for me, what crypto represented, when I put money in it, was a way for me to take the skills I learned trading fake video game items in runescape, and apply it to something that people would pay real money for. It's been a rather profitable venture for me but I realize that is the exception rather than the rule.
What's old is new again. Same problem shared libraries solve:

1. Disk space. Electron, node, shared dependencies, that adds up. 300-500mb/app is not reasonable. 10 apps installed? 5 gigabytes! Wtf?

2. Security updates. Security issue in blink/v8? You need to update 10 apps instead of 1 lib. And I sure hope those apps are responsible enough to update themselves.

3. Bonus: CPU&RAM. Want to run 3 apps? Well, have fun with your 3 instances of chrome running. It adds up. I have 16GB of ram, I used to think it would last me forever and then the electron craze started to seriously limit me in the amount of concurrency I can have on my desktop.

Like GP said, Electron for UI is a valid pattern that has some pretty extreme issues preventing it from being a straight up good pattern. My bet is that an electron server on the desktop solves all this.
As I said, as a personal preference, it's personal business. If it's advocated as a societal norm, the government will inevitably come in, if not as direct coercion, then as softer means - subsidies, preferences, financial incentives, propaganda, etc. That's how it has always worked - maybe in theory the government shouldn't be in the business of enforcing societal norms, but it very much is in practice.
This is strange marketing as it almost sounds like the non-Plus listings aren't what people already expect to some degree from an airbnb.

> With Airbnb Plus, you can always check in effortlessly. Every home is equipped with a lockbox, keypad, or a host who is on-call to greet you.

This is so weird. How would you otherwise check in to a home if it doesn't have self check in or a host?

> When you book an Airbnb Plus home, you get the focused attention of our Airbnb Plus customer support team–a highly-trained team committed to great service and faster responses

Okay, so if there is no self check in and no host to greet me at a non Plus home, I'm stuck with a poorly trained unresponsive agent.

I realize that they want to differentiate the hotel-like quality airbnbs from the others, so they can give it a badge and therefore justify a higher price for it, but the delivery is odd, as other commenters have pointed out.

An alternative approach could be to describe such listings as "Guaranteed X, Y, Z". I think with that language it wouldn't undermine the quality of the non Plus listings as much.
Pyenv looks great! Sad I didn't know about this sooner, though I do have the luxury of using mostly one version of Python and have only confused it for the system Python once or twice.
It is quite easy to exploit a gap. Some bad publicity about how Airbnb hosts were treatign LGBT guests and you have relatively successful Misterbnb...
"the closest thing to THE solution to the UI problem."

The problem is that it isn't the solution to the UI problem. It's just yet another way in which developers can mindlessly fragment it even further.

For example, take Slack, Riot, Atom, VS Code, Keybase, etc. Not one of them makes an attempt to look like the host operating system. They don't use the native UI toolkit of the host platform. They don't even make any attempt to follow design conventions of the host platform.

Let's take macOS. In just about any text field in any application, you can right-click and get access to spell checking, substitutions and transformations. You can get macOS to read out the text you highlight by speech synthesis. Except for in Electron apps. Why? Because the text entry fields in Electron apps aren't typically native text entry fields. They're merely imitations and bad ones at that.

Also none of these Electron apps look or behave like each other either. Every developer has taken it upon themselves to play UI designer (almost always badly too) and to create their own buttons and their own sidebars and their own menus and their own controls and not a single one of them looks or feels like a first-class citizen in my operating system.

So the learned behaviour I've collected from 15 years of using Macs is now suddenly useless in Electron applications. Why? Because either developers want to cut corners, or some incompetent project manager wants 3 platforms supported by last week, and by the way, fuck your users, I need this done.

As with everything web-based, design and function are too closely intertwined and the result is consistently mediocre (if not terrible) user experience.
It's banana-pants crazy to run npm at all. Even given all the wisdom about running as sudo, best practices etc., this team released an update where `sudo npm --help` breaks the operating system. The recklessness and confusion of ideas that indicates... postinstall hooks, I don't even want npm running. This isn't even the first such shenanigans.
That's a fair enough point, especially when directly employed working on closed source / proprietary code. You're essentially stuck in an echo chamber, and professional standards are more difficult to maintain when you don't have the whole of the world looking on.

I also imagine that the mental strain of figuring out edge cases and poor documentation in a system as complex as a windows OS would be enough to make anyone at least a little salty.

However widespread it may be, that does not me that I have to like it :D
Short-term consequences always win out over long-term ones.
> do we need to have a 5p charge on every bit of plastic to drive the point home?

I'd argue "Yep". We've shown repeatedly we value convenience over the environment time and time again, I think we need to be pragmatic and, rather than guilt people into making better decisions, guide them to do it through this kind of (albeit fake) positive reinforcement - "save money by just using that thing you have".

Most people buying a loaf of Hovis and some baked beans of an evening give precisely zero sh*tes about the ecological concerns of their decisions. It'd be great if people just decided to be concerned, but I think we need to be realistic about the motivations of people, and their priorities.
US CBP Haven't Properly Verified Visitor Passports for a Decade Plus
Oh nice, I need to check this out then!
Maybe... you've misunderstood him?
Consider the context of this entire discussion, self healing of teeth without the need for dental help, this includes fluoride.

I've seen people with their teeth eaten away from drinking super sized gulpies from 7Eleven, so it's not true that "bacteriogenic acid is always the direct cause of dental caries", anything that will dissolve your teeth can cause a cavity.

If you really want the truth, keep looking on government websites, all my information on tooth decay came from there, not conspiracy nuts.
Use private mode in your browser.
that vision is not dead. google "lightning network" for an answer to how this vision will be realized at scale

this app is just USD <> crypto onboarding + price speculations for those who enjoy gambling on their mobile phones
It's what you expect, but it costs them money to verify these expectations.

I'd guess this is about saying "we've verified this"
.
Coding tutoring for your kids Let me tutor/teach your kids coding
Hi there,

I am a programmer with 5 years professional experience. I'm currently employed but looking to tutor coding to children, any age up to 17. Can teach any coding language needed, I'm very patience and have experience tutoring children.

I live in SF and can come to you.

Please contact sfcodertutor@gmail.com!
Authors receive consulting fees from big pharma including Merck Sharp & Dohme, LB Pharma, and Pfizer
I don’t understand, how would AirBnB segmenting their marketing cause it to cost twice as much?

Imagine AirBnB and the low cost company both exist as you imagine. Now suppose AirBnB buys the low cost company and doesn’t change their marketing at all. Of course marketing ROI for each of the two segments doesn’t change. Compare this to the case where AirBnB operates in the two segments without buying low cost company. How are these cases different?
I rented a place with Airbnb. A lot of the reviews said it's 13th floor with a gorgeous view. The actual place was on the 2nd floor. I called airbnb and the angry lady said that they are not responsible for the reviews and advised me not to trust them. She said I'll get no refund.
Show HN: JsQR – Pure JavaScript QR code reader written in typescript
US-only competitor. Not sure how much that helps. It's a start...
If it runs untrusted code from the Internet, surely it doesn't matter much if you do it as root for most practical purposes? It could still run that spam relay, botnet software, exfiltrate your secrets and install that keylogger.
Yes, I'm cofounder and I pretty much live and breathe the company. I see how my comment reads as soulless shilling so I'll lay out my perspective and you can make of it what you will. This is all my personal opinion and not necessarily related to our product or company.

At a basic level I think making new powerful technology accessible to more people is on average strongly positive. There are various efforts making good progress to address different parts of deep learning accessibility such as Keras (developer-friendly Python API), OpenAI (open basic research & safe AI), fast.ai (practical training for developers), etc. I'm a fan of all of that work. PlaidML is the company's contribution to making adoption easier.

For the purposes of proliferation and democratization making deep learning work on the most readily available hardware helps people get started with less friction. PlaidML is a step in that direction. It's fully open source and you can right now 'pip install' it on Mac/Win/Linux with Intel/AMD/NVIDIA GPU and have a Keras net running in a couple minutes. There are certainly warts and some missing features but as far as I know it's the only one an ordinary practitioner can use right now.

From a "what problem does this solve" standpoint PlaidML is most similar to Tensor Comprehensions and TVM. Each makes different tradeoffs but might eventually be able to share components like code generation for OpenCL, LLVM, etc. Layers like XLA, nGraph, ONNX, NNVM, etc, you can mostly think of as being stacked on top (they are ways to talk to lower layer runtimes like PlaidML). For example it would be reasonable for a future version of PlaidML to support TensorFlow integration via XLA or deployment of ONNX models on OpenCL-capable GPUs.

Anyway, I personally care most about what people can use. There's a cute demo that will run the pre-trained Keras examples against images from your webcam on your local GPU. It's quick to try and can serve as the basis for prototyping a real application:
https://github.com/plaidml/plaidvision
> Your argument against finalizers completely ignores that FFI is a thing

Nope. Memory that is indirectly allocated via FFI is not normally[0] accounted for by GC memory pressure and so it should be managed explicitly, not using finalizers. That memory is invisible to the GC. It won't know to collect it. It won't know when the foreign heap has allocated too much, and it won't know to run a more expensive GC collection to try harder when foreign space gets tight.

(If you have a relatively infinite amount of RAM, or your FFI object sizes are a constant factor of the size of their GC world counterparts and you account for this in your GC max heap size, you may get away with it. But these constraints aren't typical.)

> That can often be non-trivial to figure out when to call close() on it exactly, and by the time you've written such a system you've just re-invented manual reference counting (error prone) or a garbage collector of some sort anyway, and should have just used a finalizer.

You're right that it can be hard to figure these things out. But figure them out you must, for any long-lived program using scarce resources, or you're just creating a problem for the future.

Working these things out is not actually rocket science. It's what we did in the days before GC, and it was actually tedious more than difficult, because the best way to do it meant dogmatically following certain idioms when programming, being rigorous in your error handling and consciously aware of ownership semantics as data flowed around the program.

We even developed a bunch of strategies to make it simpler, e.g. arena allocation and stack marker allocation. You can adapt these approaches for deterministic resource disposal in GC environments too (e.g. keep a list of things to dispose, or markers on a stack of things to dispose).

The biggest wins from GC are from two effects: memory safety and expression-oriented programming. Memory safety means you never get dangling pointers or dynamic type errors from reused memory, a major increase in reliability, as well as making certain types of lock-free programming much easier. Expression-oriented programming means you can safely and easily write functions that take complex values and return complex values without thinking too hard about the ownership of these complex values. This in turn lets you program in a functional style that is much harder without GC.

What GC doesn't give you is a world free of non-functional requirements. You still need to know about memory allocation of your big algorithms and program overall; you need to know where big object graphs get rooted for longer periods of time before dying (the middle age problem[1]), and you need to track the ownership of your resources rigorously, or you will run into resource exhaustion and non-deterministic failure modes - some of the worst kinds of failures.

[0] https://docs.microsoft.com/en-us/dotnet/api/system.gc.addmem...

[1] https://blogs.msdn.microsoft.com/ricom/2003/12/04/mid-life-c...
Water isn't acidic, and is much better for your health than literally any other liquid.
Individuals can still transact without interference if they wish, and no one can arbitrarily issue new bitcoin at a whim, so the important properties of bitcoin are still intact. The vision never included anything about preventing middlemen from using the blockchain. Bitcoin is about adding degrees of freedom, not removing them.
I would venture to say that the ads are tied directly into their core DNA of search. The ads are tied to keywords and demographics (which is basically an ad searching for the correct person to be shown to).
Do you think the Damore memo was about politics or religion or sex? It seems to me like the Damore memo was specifically about the underlying facts behind Google's hiring strategy, which is extremely work-related. (In the course of this memo he happened to veer into things the NLRB ruled were decent reasons to fire someone, but I think writing a memo about the hiring process, by itself, was perfectly legitimate.)

I mean, certainly you can interpret hiring strategy as a type of politics, but "companies should exist in the first place" is also a type of politics. What's your definition of political nonsense?

I agree that it's easy not to talk about the politics underlying your hiring strategy at work. But it's also equally easy to just not talk about your hiring strategy at all - which is a thing lots of companies do, but not a thing that a company like Google could do and remain Google.
I'm starting a project with a strong need of build the UI in multiple targets (iOS, Android mainly).

I try first with html and the native webview. With iOS is totally fine, but Android is SUPER slow. I never imagine that android was this bad, but at least, it force me to do native :)

----

I think that is possible to do what you describe, and I'm working something like. The key is decouple some task (kinda separate "back-end" UI from "front-end" UI):

We can do "partial" cross-platform UI, if we think that some stuff can actually cross cleanly:

- Layout (the big one, IMHO) with something like https://yogalayout.com

- The ELM architecture (https://www.elm-tutorial.org/en/02-elm-arch/01-introduction....) because a big chunk of the logic is totally cross-platform and "only" need to adapt the render of controls.

- Dispatching, events and similar stuff, that is not visual.

Then finally, the rest can be fully native:

- Controls

- Drawing

- Animations

- Call to native libs

----

The big question is what to use for coding this. I'm using .net but wish to have something more low-level. I know swift and it could work for other targets (Java, .NET, native) with http://elementscompiler.com

Wish to have a coding partner to do this :)
Well, consider that one way or another, we've written ourselves into the geological record, as much as we've written our own history about ourselves. History, often airbrushed, is a sociological exercise, and so, it's always been a soft science.

Geological and cosmological history is filled with hypothesized events and broad revisions in the face of emergent (if subtle) proof against common views and norms. Lots of hypothetical place holders aren't apolitical at all. The big bang is pretty political, despite the background radiation that serves as "reasonable evidence" that something like the big bang might have occurred. The truth being that we don't honestly know why a universe would be created through a big-bang-like process, even though it's the best interpretation of the evidence we have access to, lately.

Large error margins are artifacts of incomplete information, and that doesn't mean incomplete information is truly preferable. We have pretty good information about 20th century events, even if the particulars of the social landscape are hotly debated.
I can imagine that being used as a security feature for UIs, against phishing attacks: now that you are registered and logged in, choose one of these colours/pictures for this certain, easily visible area of your dashboard. If the use saw a different colour, would know that's phishing.
How is this different than running apt or yum or pacman or most other package managers as sudo?

Somebody has to install system software.
In The Netherlands, DHL uses bikes : http://www.dhl.com/en/press/releases/releases_2014/express/d...

I absolutely hate DHL as a recipient in NL, but this is pretty cool. They have other green vehicles too ( gas, electric ).
This is not the paper corresponding to the research described in the article.

A paper that describes a similar system by the same researchers from 2015 is here: http://ieeexplore.ieee.org/document/7181113/

Its not clear if the system presented at ISSCC differs at all.
Bean is your friend http://www.bean-osx.com/Bean.html
Deliciously 80s synthwave though.
You mean blockstream's revenue model?
Hasn't UPS had all electric trucks in Manhattan for a while now?
In other words, people are trying to pump up the price of IOTA.
> It's great that the 5p charge works, but do we need to have a 5p charge on every bit of plastic to drive the point home?

Nope, and it's a slippery slope and this kind of tax becomes regressive. It's because it works that it's used so often. Same with cigarettes and the like. Next will be soft drinks, fast food, etc, etc. Many who support these kinds of government punishments don't realize how much they associate themselves with prohibitionists and moral majority members they may criticize in other areas.
Dupe of https://news.ycombinator.com/item?id=16432462
We don't have to guess, according to this source, 98% of marine litter comes from outside Europe & US [1].

[1] https://www.marinelitterthefacts.com/sources
Does he mean "stop reading HN", or "stop reading HN to me"?

If he means "stop reading it to me", yeah, I'm with him. Having someone consistently reading stuff to you that they see on the internet (not just HN) gets old, especially if it's stuff that you're not as interested in as they are.

If he means "stop reading it", though... one of my biggest regrets from those days is how often I was too busy doing stuff I wanted to do to be available for my kids. I regret how often I chose to do something else rather than give them love.

Make sure you love your kids more than you love HN. Make sure that they know that you love them more than you love HN. If that puts a crimp in your reading HN, so be it. Love them anyway.