skysight-inc/HackerNews huggingface dataset:
Just set a never-expiring authentication cookie in the browser, so they never need to enter the password in typical one-device use.

When they need to change devices, have the standard e-mail based password reset as well as "show password" in the account settings (make the password reset not reset login, unless the user explicitly elects to "log me out on all devices").
/r/mapmaking also has a lot of activity!
Facebook Open Sources Horizon to Streamline Reinforcement Learning Solutions
Not the point of the article, but how exactly did the iPhone's utility flatline because they removed the headphone jack and how is a headphone jack a "vital" feature, considering the rise in popularity of blueetooth headphones and the fact that the iPhone ships with the 3.5mm dongle?
32K for an editor?! That's insane!

If I'm not clear, that's insanely huge for an 8-bit computer.
Sure: https://iwf1.com/apache-vs-nginx-vs-node-js-and-what-it-mean...

I haven't seen anyone compare Ruby to node perf, unless there's a non blocking variant of Ruby (looks like nio4r), in which case it would have similar perf.

Likewise node vs Python Tornado would be a good comparison.

Thing is, nio4r and Tornado aren't the standard library. Whereas node's stdlib is: node's file and socket read operations etc are non blocking, Python and Ruby equivs are not.

Also (addressing weird moderation - sudden downvotes when I mentioned other languages): please don't turn this into a lang tribal thing: I personally think Python is a better language than JavaScript, it just blocks by default. This isn't a matter of preference, it's a fact.
> points at the fact that such proxies are needed, and that none better have yet emerged.

Yes, I feel that this is the core issue: we keep relying on journal brand names as some sort of proxy for a vague notion of "academic excellence". That is what is driving these prices up disproportionately, and which results in publishers like Elsevier being able to capture so much money merely (or at least primarily) for being the owners of those brand names, rather than for actual value they are adding. This fundamental unfairness is what gets people riled up, and what also feels like an "easy" way to increase funding for research, even if "just" by less than one perfect of US federal spending. (Which still is significant.)

Of course, there is also the hope that by lowering the barrier to contribute to the scientific process, we can increase the pace with which we do research.
> I don't understand why people care so much whether preferences are biological or cultural.

Because the individual can't claim oppression as the cause for something like average pay differences when the individual chooses to go into a field that pays less on average.
Everything he could get his hands on, can you elaborate?
Don't mix up simple and easy, they are orthogonal concepts.

Exceptions are in no way simpler than C-style error codes, but in many cases they might be easier to work with.
Why do you take to stock this random dude's rant? It's all just verbal diarrhea.

There are legit criticisms of Angular no doubt. This article is not that
Yep, that makes sense. At least garbage is moved far away, so it’s someone else’s problem.

Re cremation: I have heard, that to reduce a body to nice ashes takes a lot of heat and requires too much natural gas or whatever they burn in your local crematorium. Bodies do not vurn by themselves, and if you use just enough fuel to set it on fire, you’ll get bad smelling and bad looking coal-like substance covering bones...

That alkaline reduction seems ok though.
> In terms of programming, a functor is container with an associated function

A functor could also be a computation whose output can be mapped. So although these concepts can be explained by examples from programming, one has to keep in mind that these are examples and not definitions. For definitions, better to use category theory.
What you are already seeing is that advertising is baked into the product instead. I.e. the actual features, functionality or problem solved are themselves finding their ways to the right users.

It used to be that the advertisers used their control over the primarily one way distribution channels to promote their products.

Today it's the consumers who promote the products through the multiway channels and then only if you have exhausted most of your organic, social and viral growth channels do you promote through one-way channels again.
Concrete example:

I dealt with a dependency conflict between two different packages that wanted different versions of Apache Commons. Both of them only claimed that they wanted "greater than or equal to X version." This wasn't actually true, though, because Apache Commons had removed some features and added some features, so the real requirements were

Package A wants Commons >= X and < Y
Package B Commons >= Z

where Z > Y.

Sorting that out meant manually doing exactly what this Depends package does - poking around with different versions and using the missing method exceptions and some other research to figure out the exact nature of the conflict, so that I could pin their versions and set up appropriate package relocation rules.

This tool would not just do that faster, but also more reliably - by doing it manually, I was only able to verify that I had resolved any issues with the code I actually exercised. A gap in test coverage would leave me exposed to run-time errors in production.
How to live a rich freelance life?
Find your friends who don't vote with Outvote and VoteWithMe (and remind them)
I find it very bloated. I spend so much time waiting on the compiler and writing boilerplate code (as opposed to actual features), that I try to avoid it when I can.

I really prefer Vue, because it gets out of my way when declaring services or making modules etc.
> I briefly used Manx's Aztec C; it was awful. It generated bad code, and was a pain to use.

But it came wit a Unix-like shell, make and vi. And probably ed.
How to Experience an Entertaining and Save Bi Couple Dating Online
I agree with GP's reasons, but not the conclusion. Native apps are going away, which is a shame, because web apps are bad.

> For a webapp the installation is "Add to homescreen" on a webpage. It then behaves like a native app, no address bar.

Only as long as you have an open Internet connection. Maybe a properly made web app will cache itself somehow, but that process is relatively obscure and (from the user's POV) pretty unreliable. Whereas a native app is an executable on the phone, it will run whether or not you're on a network.

> They do everything the same way a native app does.

Only slower and worse. Between basic UI functions being (poorly) reimplemented one abstraction layer and extra VM level higher, and random 404 screens because oops, you briefly lost connectivity, it takes lots of extra work to get a web app to native level of quality - at which point one might want to consider why they didn't write it native in the first place?

> How do you think FB and other popular content consuming apps work nowadays? You are basically looking at webapps rendered in a shell that provides the few APIs a browser doesnt yet have, like share button and contact/calendar integration, to get/set data specific to/on your device.

Yes, I can tell, by the frequency with which it breaks in unexpected ways, and shows its internals - by e.g. giving you a web error page instead of the app-specific one, or just giving you a blank screen.

Webapps are just "worse is better" in action. Gross.
Quotation marks enable self-reference.

To quote myself, "Quotation marks enable self-reference".

To quote myself again, “To quote myself, "Quotation marks enable self-reference".”.

A formulation is that which is formal (Gödel) and the act of forming (Turing). A computation is the act of computing (Turing) and that which is computable (Gödel).

The less said about Quine the better.
Show HN: Use-Undo – React Hooks to Implement Undo and Redo Functionality
To be a little blunt about it,

> they have a lot of baggage that makes them openly hostile to meaningful feedback and they crave validation. Anything other than praising their half-baked ideas is met with toxic reactions. In such cases, the best you may be able to do is basically make a few polite noises and then disengage as quickly as possible.

would serve pretty well as a fair description of normal people, ime.
Yep. I honestly can't stand the pervasive self-referential, pun-infused standard reddit humor that overtakes every thread not marked "serious". I find it ridiculous that one has to mark a post "serious" in order to generate meaningful discussion.

On HN, unless you're arguing a point, comments and replies are usually about sharing insight. After the insight is shared, there's mostly nothing to say. You contemplate the insight, add your own, or move on. That's quite nice.
The claim wasn't that nobody understands anything other than passwords, it was that everyone understands passwords.
Actually you just have to say "Hashtable" three times and they have to give you a job.
TLDR: Betteridge's law applies.

Fact is mobile apps will remain useful for as long as mobile devices occupy the same space they do now. Maybe you don't have more than 100 apps installed, but that does not equate to all apps being deemed useless. Different people find different apps useful enough to install and continue using. I don't ever see myself using a web-app alternative over my security camera app, or my email app, and so on.

Fact is, native apps have their uses, but not all native apps are useful to all people.
isn't one mole of carbon-12 by definition 12 grams?
Python: we use the node event loop too now (https://magic.io/blog/uvloop-blazing-fast-python-networking/).

But actually, you could have setup a pure Python server instead of nginx for the last 10 years with twisted.

Not that you should not consider uring nginx anyway: it deals with caching, load balancing, has great tutorials, it's battle tested, and has tons of pluging.

But performance wise, WSGI is not Python.
Trends of Reddit: Politics
I’m a fan of traefik. https://traefik.io

I’m not ready for full k8s, but traefik gives me ACME and detects my docker containers and routes them for me.

If I only need https redir I’ll use that or nginx.

I can Redbird being useful where you only have node as an option.
Arron Banks and the mystery Brexit campaign funds
Vaccines Effectiveness: How long do they last and what are its Side Effects
This would be a valid concern, so I suppose that it would take an industry-wide push (which I know is unlikely) to educate users about password managers, but I would argue that if we want to improve upon the password based authentication then it would be easier to educate users if we are using a familiar interface with just one single change.
It’s enjoying to watch the universities (most of which are comprised of loud-mouthed liberals) squirm under the dilemma of political correctness. As if some Asian kid with a 1600 SAT doesn’t have grit. I hope Harvard loses that lawsuit, big time.
Broodwar will always have my heart. The first true e-sport with amazing balance without a patch in decades, and people are still discovering new techniques and strategies.
That seems unlikely to me but if I was playing fantasy CEO, I could imagine it going more like Windows grows better Linux compatibility to the point where they can push for Windows to be the primary development platform for Linux server software.

Next stage after that would be to launch Azure Windows VMs that are competitive with a "real" Linux OS for running Linux binaries but with access to Microsoft GUI management tools.

Once you depend on the GUI tools you depend on Microsoft as OS provider.
> The Z80 drove me nuts

I can't respect any CPU that takes FOUR clock cycles to do a NOP. Not sure if it takes longer if the PC points to a page boundary.
I wish there would be a glossary with such a less arcane and more human-friendly explanation of every term the way you did; wonder why aren't there 'awesome category theory' repo on github yet.

I saw some Bartosz Milewski's video where he spit exactly yours definition of a monad but commented something like "but you have to be twice PhD to understand that".
The second way is to use one time pads in addition to passwords.

Who needs a smartphone when you can use a piece of paper. Mind you this can be copied so has a similar vulnerability to passwords. But since it can be generated you can think of it as a salted password when combined with a classic one.

And then we use the final way of authentication, hard to forge personal documents, government issued... often in poor ways.

Computer systems cannot be truly fully trusted. Final security always depends on the human operators and equivalent human impersonators.
A skilled social engineer can even convince your friends the account is dead. They can call the delivery company or even initiate the procedure to reissue documents or destroy keys. They can phish and scam you which is even easier.
> But I won't clutter up my phone with things that work just fine in a browser

That's the window for apps to compete. If "just fine" works for you, cool, but it's possible for apps to make the experience better in meaningful ways. A web page can't notify of you a new message, but an app can, for example. Look at all the Twitter apps that came up, and they've had to start to systematically kill over time because the experiences are _so much_ better than Twitter in the app. "Just fine" doesn't push us forward.
I always thought that hustler was synonymous with confidence artist or a low level scammer. That it’s now considered a positive word is fascinating to me.
This is a subtle point. It's not the array assignment that's the race here, but the update to the shared (by closure capture) `a` variable. You'd get the same data race if `a` were an `Int`, and we don't say that integers are non-thread-safe. If each closure had its own reference to the array, it would be copied on write.

I believe this is pretty good evidence for my claim that understanding the thread safety is confusing.
About the intro article not coming up

Sometimes the bootstrapping server seem to be overwhelmed. I suspect HN's "hug of death" could be possibly responsible. This will be resolved when js-ipfs implements DHT and relay:

> Please read this: DHT (automatic content discovery) and Circuit Relay (pierce through NATs and dial between any node in the network) are two fundamental pieces that are not finalized yet. There are multiple applications that can be built without these two services but nevertheless they are fundamental to get that magic IPFS experience. If you want to track progress or contribute, please follow:

DHT: https://github.com/ipfs/js-ipfs/pull/856
Relay: https://github.com/ipfs/js-ipfs/pull/1063

This stuff is alpha at this point, and sometimes there are still fires to extinguish.
Sorry about the inconvenience, I suggest to try again later :(
>Why would you want equality of outcomes anyway? It goes against individual Freedom.

"An interesting article in The Atlantic talks about studies showing that liberals think in terms of fairness while conservatives think in terms of morality. So if you want to persuade someone on the other team, you need to speak in their language. We almost never do that. That’s why you rarely see people change their opinions.

....If your aim is to persuade, you have to speak the language of the other. Talking about fairness to a conservative, or morality to a liberal, fails at the starting gate. The other side just can’t hear what you are saying."

http://blog.dilbert.com/2017/02/15/how-to-persuade-the-other...
I agree. We have a super mowner in the third floor of the USA building. It's a great mowner. But it's very damaging to the living room.
You don’t get to actually run the code. They just let you type it in a google doc. I guess it’s not done universally, but it was when I interviewed there.
The only use case I’ve seen is to evade SEC IPO rules. I consider that worthless.

Well, that and ponzi coins and exit scam coins.

I also see post exit-scam coins still trading above 0, which just screams bubble to me.
I don't understand why any languages exist for describing packages, its a layer above describing real dependencies like with make, ninja, etc. Just have an os written in something like premake but with a nicer DSL.
That's strange... Could you please show a screenshot?
Isn’t it the only strategy to keep them at the top? Unit sales in the smartphone market have clearly plateaued for everyone, not just Apple. Future revenue growth is going to depend either on winning over somebody else’s customers or deepening your engagement with your own so they’ll find more reasons to spend more money on your products.

It isn’t really in Apple’s DNA to try to win over the low end of the market, so there’s limits to how far they could take the first strategy. The second is effectively limitless: Does anyone think personal devices can’t keep getting better / more useful / more desirable?
> Look up the definition of "simple".

There's no need to be dismissive. I refer to simple as simple to use, not simple to conceptualise.

I would say exceptional is a situation that is rare and unexpected. When saving a record to a table with a unique constraint, I would expect the constraint to prevent saving but I would not usually attempt to handle/recover the app running out of memory.

So it's situational and I'd say the distinction is between whether you will be explicitly handling the event as part of normal behaviour. The more stable the app needs to be, the more situations need to be handled.
If only the web made it easier to completely revamp someone else's pages... Reddit is a great example - on mobile, I still use the "reddit is fun" application, which is a solid piece of work. It's lighter than the old Reddit, not to mention the shitshow the new Reddit is. It has much better UX than the webpage. I'd use it on my PC if I could. All this is possible, because right now, APIs change slower than webpages, so if a service is publishing a functional enough API, there is a way to fix problems with the official interface.
Not that I disagree with the strategy, but DJB also has no career risk. The way you know that is that I am not in his field and I know what the abbreviation stands for.
This is why I am asking other "random" developers. I don't take what this guy says as gospel, but it is a voted article on a source of information that I both engage with and somewhat trust.
I rather like Angular. We started our project on Angular 5, recently upgraded to Angular 6 and we're holding off on Angular 7 just because PrimeNG 7 isn't ready yet.

(upgrading isn't why I like it)

I agree that ng build --prod finds different errors then ng serve -o does but we build once a day and fix them when we find them, before deploying to QA. We've also learned pretty well when a bug in build might be caused (usually not declaring a property properly or wrong type or whatever)

Actual development is pretty easy once you learn the concepts. Documentation, training, tutorials are good IMO also.

The only complaints I have are PrimeNG (our CSS framework) has a LOT of bugs, is sometimes poorly documented and the built in components are often lacking; when they are, we extend them and add what functionality we need ourselves.

I don't want to cause a React vs Angular thread - but compared to React and the 100s of ways to get a project built, I prefer to use Angular - here is the MVC and go type approach.
They don't have a gun, they have army supplies regularly provided by other interested party, with additional military and tactical training.

You don't stand a chain with your desert eagle if the marines decide you should go down.
This does not work, you're a single point of failure. If you say, get sick, family members will override security.

Nice try though. I'd recommend an actual password manager instead. Authenticated with biometrics and a simpler local password.

Your service does the same, using voice and phone number as biometrics. (Perhaps with recovery question.)
Feel free to replace it with sufficiently advanced AI.
Oh . . . Okay.
React + Redux is pretty famous for boilerplate, so I guess I can continue to look forward to feature friction.
5 tips for a happier front-end development team
Keep it cool, boy. Real cool.
> It’s an ecological concern as well: how many gigawatts of electricity a day is spent fetching react.js?

I've been asking questions like this for years now, mostly as rhetorical devices, but I swear one day I'll try to get data and compose a chart of "how much your bloated product is contributing to climate change".
It's a philosophy not a fallacy: https://plato.stanford.edu/entries/scientific-reduction/
I agree and I think the conclusion is that it's up to the caller to decide what is exceptional. But unfortunately it's the callee who decides how the result is returned.

And it's not only the caller, but also the caller of the caller, and so on, who needs to be prepared for exceptions. This all has severe ramifications on the code structure.

> There's no need to be dismissive. I refer to simple as simple to use, not simple to conceptualise.

Sorry. I need to control myself. It's not about you. As another commenter stated there is an agreed upon distinction between simple and easy. The distinction is important especially among programmers, and what you described might be easy but it's not simple.
In the essay, the "social network" stands for the new initiative of customer gatherings & sessions at Apple Stores. What Apple dubs "Today at Apple".

I'm having a hard time thinking of historical business examples where in-store "educational" events really moved the needle on sales.

Maybe one example is Home Depot stores with their free demonstrations of various home improvement tasks. Do they actually change store visits or total sales? Or are they a loss leader? I have no idea. (Home Depot isn't an exact comparison to Apple because it doesn't require buying HomeDepot-branded tools to benefit from the demos.)

Remember 20 years ago when some industry observers thought Amazon online bookstore couldn't compete with Barnes & Noble because the brick&mortar store had the sofas and lounge chairs to browse books, the cafe area, the children's area where people read aloud, etc. It turns out those in-store social experiences weren't as advantageous as people thought.

Yes, there are other customer gathering experiences that happen such as video game e-sports leagues (or LAN parties) or Harley Davidson motorcycle meetups. But those social events seem organically created bottom-up by the customers rather than top-down by a hardware company. E.g. As far as I know, the e-sports league membership isn't tied to a hardware manufacturer like NVIDIA or ATI. (A particular hardware vendor may provide sponsorship but that's not the same as membership which is what Apple's "Today at Apple" is doing.)

>, this explains CFO Luca Maestri reasoning on the earnings call for no longer reporting unit sales: [...] I just wish Apple would show it with its reporting.

I think it's interesting that even if Apple wants to keep industry analysts in the dark, other entities like Amazon and Facebook can estimate iPhone unit sales by proxy statistics.

E.g. Amazon can run data analytics on sales of iPhone accessories (how many the new iPhone Xs cases sold and how does it compare to previous iPhone 8 case sales at launch?)

E.g. Facebook's popular iOS apps used by billions can send telemetry data on the particular iPhone models hitting their servers. (https://stackoverflow.com/questions/26028918/how-to-determin...)
It doesn't matter what the market share is. As long as their margins are hefty and iOS remains the OS where consumers are willing to pay for apps etc. You don't need market share, if your margins are sky high.