skysight-inc/HackerNews huggingface dataset:
That's a very interesting anecdote. About 15 years ago I went to my local library and checked out every book by Marx that I could get. One of the librarians said "why would you want to read THAT". She looked actively disgusted.

I'm not a Marxist, but I have read Marx and Engels. If I had to be pidgeonholed into any political ideology that would be the vein I'd choose. I probably most appreciate Peter Joseph from the Zeitgeist Movement, which is similar and derided as "Communism with robots". But at least I've read a few treatises on the subject. I also went to Moscow about a decade ago, simply because I didn't want to form a strong opinion about a world power that everyone thinks they know about- without actually at least stepping foot on their soil myself.

In sum, people need to put their mind where their mouth is.
The MIT license doesn't mention copyright either, except to state who holds the copyright and forbid you from changing that statement.

The actual permission notice says you have the right to use the software without restriction. To me, a layman, it would seem contradictory and unfair if they later claimed that they held previously unmentioned patents that restricted your use of the software.
I agree that there is some amount of boiler plate code to Redux that doesn't seem to make sense and takes a long time to do when you're new.
But I think it really helps with maintenance and scalability of projects down the road and saves you time later on.

Of course, as others have said, React and Redux is not a panacea - depending on what you want to achieve and on your personal preferences there might be better tools.
It is described in the Non-lexical lifetimes RFC under "Closure desugaring".

https://github.com/nikomatsakis/nll-rfc/blob/master/0000-non...

Basically if you have a struct to represent, lets say a Window, and inside of it try to reference instance variables on a closure that would handle a button click for example, self will be moved.

There are a few workarounds, but all of them are less ergonomic than any mainstream GUI toolkit.
Ideas that undoubtedly caused tens of millions of deaths.

Yes, I mentioned Western Culture, didn't I?
Hybrid designer babies, splice in the ligament and fast-twitch muscle genes from a Cheetah.

This will work until DNA testing becomes part of the standard anti-doping screening.
I'm very impressed by the high level of quality of your code. It's clear, beautiful and looks extremely efficient at the same time.

For example, the way the feature detection is done with "#if HAVE(INT32)" or "#if C(MSC)".

I learned a trick with Debruijn sequences to count bits here: https://github.com/garnetius/QUANTUM/quantum/bitops.h

It could be useful for a bitmap memory allocator I'm working on.
Anything but deleting all your social media is the wrong answer.
Well it is a matter how much marketing money you have spent to make them click on the link in first place.
I wasn't saying it was good because it was popular, not making an argument from popularity, since I also think most people are stupid.

I was saying that's the right trade-off to choose in a lot of common use cases. Because most UI toolkits are pretty limiting, and the web toolkit can be amazingly powerful and productive. Of course, if you follow the latest fads in the awful js community they are a nightmare, but lets not pretend that's the only way to use the platform when it makes sense to pay the efficiency cost.
Ask HN: Current state of cross-plattform native app developement
Hello HN,

I am currently leading a small team that is about to develop our first app, and we are checking out the landscape regarding frameworks. We would like to be present at on the web, Android, and iOS.

However, the choice of paths is quite overwhelming - to me, app development is in an even more fractured state then web development.

People are advocating PWAs, apps that use webview and native apps - purely based on "fanboyism."

As we have the "react-license-situation" right now I have already stumbled about a bunch of useful recommendations on HN - but all good posts are buried beneath the license specific stuff.

So I would like to gather the thoughts of HN-users in this thread.

In what direction is native app development heading? What tools/frameworks are currently state of the art? If you would develop a new app as a small team, to which platform would you use?

Something like

- basic progressive web app,
- ionic,
- flutter,
- react native,
- native script or
- weex?

Or anything else?
yea, Vue had it in its core along time ago. Hence another downfall of react... you end up downloading tons of 3rd party packages that Vue gives you by default.
I never mentioned Trump, so your little rant makes no sense.

I'm talking about western values: private property, freedom of speech, the right to live.

These are historically conservative causes. These are judeo-christian values. How can a conservative be a Jew-hating Nazi while at the same time defending their values? It's a contradiction, it makes no sense.

In fact it's the left that is pretty much anti-Israel and pro-Palestine (like Hitler btw).
OK, this isn't really important for the quintessence of the article. But I'm surprised again and again how many developers write code like

if (weAreConnected === true) {
this.setState({
isConnected: true
})
}
else {
this.setState({
isConnected: false
})
}
}

instead of

this.setState({
isConnected: weAreConnected
})
Oh, didn't see it, sorry!
That was a minor detail ;-)
> Dobelli is talking about that low-quality media: infotainment.

Yep that's what I was getting at. Non actionable news/information is entertainment.

And I find that the "philosophical and ethical discussion" that comes out of most news is surprisingly shallow and mostly comprised of unchangeable predetermined beliefs and knee-jerk reactions.
You misunderstand. He used the term in the context of referring to 19th century racists. Full quote:

"In the 19th century, the US had emigration officials helping drive the native population off their lands, and immigration officials in Europe trying to bring in white settlers to replace them. White. Orientals were entirely excluded."
Alkalis in the surface of the inside of the bottle can be leached by the alcohol, raising the pH enough that it actually attacks the glass. To avoid this most glass bottles are dealkalized before filling, but if water from a humid environment makes it into the bottle before filling it begins a process which leaches various compounds from the glass. But this would take a long time to occur in whiskey (vs Vodka/Gin, which are less acidic).

Oxidation is probably more affected by the sealing method than anything else. Corks also change the flavor of whiskey due to things like absorbing certain compounds depending on what they are made of or coated with.
If you treat your own time as if it's worth nothing, others will too.
Wow. You do not work in marketing!
It was really interesting to see what patterns switching pockets interrupted for me. One was the simple act of reaching for the phone - I had to consciously think about where it is. Then it feels unfamiliar to even start to pull it out of my left pocket. Then I have to decide to swipe and operate it with my non-dominant hand, or switch it over and use my right hand. There were more opportunities to break the cycle than I would have expected.

I was surprised to learn there are people who don't keep their phone in a particular pocket, who this wouldn't work for.
I'm really glad to have read this article as it actually solidifies my comfort with using React Native since it seems like a well thought out list of reasons not to use React Native, and now I know that none of them really matter that much to me.

The three main disadvantages of React native brought up are:

- lack of commitment from Facebook about maintaining it for a long time. This one is the most bothering to me but it's not a dealbreaker.

- doesn't like Javascript and its related ecosystem. This doesn't bother me in the slightest, I love modern JS.

- the whole all your patents are belong to us thing that comes up every so often. I'm not a startup founder or a lawyer so I will leave such concerns to them. If my employer wants to let me develop in React, all the better for me.
> Or when you want to loop through myList, but exclude a few particular items

Easy, just create a computed property in Vue.
Questions look answerable for someone taking 2 courses in machine learning. One being the introduction.
Or

this.setState({
isConnected: Boolean(weAreConnected)
})

If you want to be super obvious, and aren't using a type system.
Thanks for the links and reading material.

It's amazing how important the scheduler is in an OS. I'm no expert on OS-level programming, but couldn't they have just used a simple round robin scheduler?
Using Dnsmasq for local development on OS X
Green Screen Wizard Pro 9.6 Crack and Portable with Serial Number [Latest]
woot.

brb :)
Ok I see. But if you loose the license to any of those patents, you are infringing those patents by merely using React, aren't you?

I understand the followup question other people have now: What are those patents?
that is hc dedication level, props.
I think really what it comes down to: Is that I really don't care enough about the job to study for it. That's my issue not theirs.

I would much rather get paid to do a side project to demonstrate my work. I believe that is the best way to decide if you want to work for the company and if they want to hire you.
A valid test if Superhuman is for power/business users, is can it handle 5-15 years of email history that's currently in one inbox?
As someone going through something very similar, I can say now that when you sign a contract, it is effectively putting into writing how you can be screwed and what happens if your counterparty decides to screw you over. You have to assume they will, ensure that your lawyer has considered all of the possibilities that matter and never assume your new, smiling, friendly, business partner has your best interests at heart.

Oh and lawyers are expensive.
Nah. I don't need to care about the reactions of strangers on the internet. If you act like someone who needs to be called out, I'll call you out. I genuinely don't care. Lol.
It might just be timing. 2004 was when everyone was switching from Java and C++ to Perl, PHP, Python, and Ruby. Hard to make a case for a compiler optimization that might save 10x on a couple percent of workloads when everybody a.) is focused on the workloads that it's not useful for and b.) is using languages that give up 30x performance from the beginning.

Things may be different now that Moore's Law no longer holds and many programs are cache-bound, but any current research also needs to take into account GPUs, distributed computing, and deep learning. There might be room for new research, but the research would likely be as much about auto-vectorization and minimizing trips between memory spaces as about local optimizations like AoS -> SoA conversion.
There's also the example of lead glass.[1]

"Items made of lead glass may leach lead into the food and beverages contained. In a study performed at North Carolina State University, the amount of lead migration was measured for port wine stored in lead crystal decanters. After two days, lead levels were 89 µg/L (micrograms per liter). After four months, lead levels were between 2,000 and 5,000 µg/L. White wine doubled its lead content within an hour of storage and tripled it within four hours. Some brandy stored in lead crystal for over five years had lead levels around 20,000 µg/L. To put this into perspective, the U.S. Environmental Protection Agency's lead standard for drinking water is 15 µg/L = 0.015 parts per million. Citrus juices and other acidic drinks leach lead from crystal as effectively as alcoholic beverages. Under conditions of repeated use of the decanter, the lead leaching steeply decreases with increasing use. This finding is "consistent with ceramic chemistry theory, which predicts that leaching of lead from crystal is self-limiting exponentially as a function of increasing distance from the crystal-liquid interface." Lead leaching still occurs, but the quantity that leaches into a glass of wine or other beverage let stand for a few hours is much smaller than the quantity of lead consumed daily in ordinary diet."

"The California Department of Public Health lead advisory states, "children should never eat or drink out of leaded crystalware". Leaded crystal wineglasses and decanters are generally not considered to
pose a significant health risk, provided that these items are washed thoroughly before use, that beverages are not stored in these containers for more than a few hours, and provided that they are not used by
children."

[1] - https://en.wikipedia.org/wiki/Lead_glass
Yeah, I also think "outside the box thinking" as defined by the article is particularly bogus. Their opening example of a 4 year old suggesting the grandfather stop eating all vegetables because eating vegetables defines an adult is cute, but I wouldn't say it leads anywhere productive or meaningful. In fact that kind of outside the box thinking is likely to kill the grandfather sooner.

I suppose this doesn't matter so much if we're talking about purely artistic creativity, which is typically thinking outside the box solely for the sake of thinking outside the box. Sure, maybe that decreases with age, but I'd say objective-based creativity, where the goal is to solve a specific problem, should actually increase with age and accrued knowledge if a person can remain open to new solutions.

Thinking outside the box is easy. Most adults simply don't do it because they're focused on productivity and goals. A kid might think that a great way to feed a family is to build their house out of pizza, so they can just eat the walls and never go hungry. Good luck with that...
I have found Chromium to be a nice alternative to keep local browser apps working as it freezes the browser version instead of automatic upgrades, which have regularly broken web based line of business applications I have been around the past few years.
Which is one of the reasons I am a strong advocate for Data Privacy laws.

Today most nations including the US already have laws around Medical Records, maybe your father passed before these laws where in place but if his therapist records became "part of the estate" and you released them publicly you likely would be in violation of more than a few federal laws, and if your father stored those records improperly (which based on your description of the records that is likely) he would have also been in violation of Medical Records law. I going to assume his practice predated these laws, but situations like what you described are one of the reasons these laws were created in the first place. Simply because my Doctor dies does not mean my medical information is now public.

So no privacy is not a new problem, but it is a problem people need to take more seriously, not take the position you seem to have here which is "well it is always been an issue so lets not worry about it"
I'm curious, what do you love about JavaScript?
A buddy of mine was working in the lab of the scientist who "invented" unnatural amino acid technology (rumblings about how it was taken from the postdoc in the lab across the hall). That was the sexy project de jour of the lab; but my buddy was working on a less sexy project - catalytic antibodies. This is where you take the concept that antibodies can be adapted to fit any molecular shape and try to make it fit something that looks like the transition state of a chemical reaction, resulting in acceleration of the chemical reaction. (designer enzymes!)

The results till that day were modest at best, and that's because stabilizing the transition state is only part of what a real enzyme should do, and even though the professors are supposed to teach you this in your biochem/chemical biology deep-dive courses in grad school YMMV, and it's easy to sell a starry eyed grad student, especially when the prof doesn't know any better, too.

Anyways my buddy's project was even worse - he was supposed to make a protease (an enzyme that degrages proteins). And if you look at proteases, their clefts wrap around the protein even more than an antibody ever could (they have shallow clefts), because burying the reaction away from water is a critical aspect of their function.

He spent three years working in a lab that demanded 80+ hour workweeks. Towards the end his sleep cycle had flipped, he was playing around making geometric designs with his pipet tips, and spending much of his workday playing a flash website gameboy tetris, and many days going to the casino to play poker instead of work.

finally his boss modified his project, instructing him to graft a metalloprotease domain, onto the antibody in an attempt to get it working. A breath of fresh air! Suddenly he was invigorated with a new approach to the project. But not long after that, he was back to the old routine of being burned out, and totally unproductive, spending hours on trivialities, like trying to strip metals from his water supply to really get it right and get it working. In the end, it never worked.

It turned out that the metalloprotease domain was designed by Homme Hellinga. Years after this, the scientific community discovered that Homme Hellinga was faking his enzyme design work.
EDIT: "license under any Necessary Claims" seems to mean a license to the patents necessary for React as pointed out by https://news.ycombinator.com/item?id=15052962

>> A "Necessary Claim" is a claim of a patent owned by Facebook that is necessarily infringed by the Software standing alone.
Ah yes the random throwaway attack. Lol.
My experience was not with user rapacity but with partner rapacity. I have always found good will towards users pays back 10 fold. Partners on the other hand are much trickier.

For me it was around what I thought was a carefully crafted contract. Long story by my partner seized all of the IP, than said "sue me". It was specifically prohibited in the contract, but I was not in a position at the time to spend a LOT of money fighting a team of lawyers.

Unfortunately what my team had made look easy was beyond the capabilities of the team he hired to replace us. So the product floundered.
Exactly. I wrote it clearly for myself. I stated 3 reason why I wrote it in the last paragraph. One of the reasons, was not to fall in this trap again.

Yes, I wrote while I was frustrated at myself.
Agree that Elm is a good all-in-one solution for SPAs.

You should also give ClojureScript with the simple React-wrapper Reagent a spin. All the functional stuff is built into the language, like Elm, albeit without the types, which both has its pros and cons.
Before we get into the nitty gritty, did anyone else notice how dumb this article was?

It presupposed some things without evidence: "we lose creativity"

and then creates a convoluted study to support this notion. then creates a second convoluted study that undermines the presented presupposition and didn't discuss that at all.

just right back to the conclusion that writer already had.
As far as I can tell his point is that he suffers from a kind of “information addiction” and it prevents him from engaging with the people around him as much as he would like or accomplishing other goals, and that he switches reading a newspaper (still a form of compulsive solitary procrastination) if for whatever reason the internet isn’t available.

Your comment is a non sequitur.
"Any internet conversation of unbounded size will inevitably attempt to solve social problems with a blockchain."
here-here document spotted in the wild
They clearly said they worked at Amazon.
http://halide-lang.org/ should be much better known than it is. It has programmer-specified optimizations and data layout separated from algorithm definitions.
It probably doesn't apply to you, or a few others in the minority. If you're intelligent enough to be able to identify credible sources vs those which are not, then you're probably better off. I offered that up as a low-bar. That said, usually if you're truly into a given subject you'll eventually find a book by someone that you really want to read.

Example for me other than Marx & Engels that I mentioned elsewhere in this thread, is my passing interest in European Celts. I enjoy reading about Iron Age Europe, so I've had a hard time resisting books on the subject. Caesar's Druids by Miranda Aldhouse-Green was a recent book that I read and something I couldn't pass up. While I accept your statements and agree, I still think the same will be for you if you're truly serious about a given subject.
I've wondered a lot about the relationship between creative output and age in terms of musicians. Across all genres, it seems that many talented musicians lose their ability to compose or take part in creative works as they get older. Sting talked about this (1); at some point in his mid-40s after writing and releasing new albums every few years the creative well seemed to dry up (he got it back later, and recently helped write and score a play). Other musicians shift to performance mode or give up creating new works altogether.

However, with many well-known authors it seems to be more mixed. At one end of the spectrum you have people like Walter M. Miller Jr. and Harper Lee who write a great work and then seem to stop publishing by the time they reach their early 40s, and then at the other, there are people like Ursula K. LeGuin and Stephen King who are machines for more than 50 years.

1. http://www.npr.org/2014/10/03/351545257/how-do-you-get-over-...
A more interesting graph would be one that includes Angular 2+: https://npm-stat.com/charts.html?package=react&package=vue&p...
> We test on a variety of low-end to high-end phones (excluding tablets) but we don’t yet have an official device compatibility guarantee. We do not offer support for tablets or have tablet-aware layouts.

Thats a pretty serious, and surprising, limitation.
I disagree. I am tech lead at a small company, and when we look for help, permanent (rare) or contractor (usually), big software company experience is a definite plus. At least they have been vetted to some level by others first, and have probably had some decent exposure to current methodologies and practices. I really dislike looking for new help, and this experience provides a valuable data point.
NO NO MUST WATCH YOU WON'T BELIEve THIS WTF
I find the convergence typically by design on the part of the Designers, PMs, and decision-makers up top as opposed to their actually being a need for convergence. I often attribute this to a strong lack of diversity of teams whereby there are almost zero Android users on the design/product team leading to a unified look.

It can also be attributed to laziness on the part of the PM and/or designer. Or in general, clients opting for cheaper solutions when hiring an agency to build apps for them.

I say all this to point out that, Android users often get the short end of the stick when it comes to app design. Often there is a strong lack of consideration on what is a native Android app feel. No consideration for the use of back-buttons, menus and UI elements using bottom navigations or custom ones instead of native Material design... Generally convergence is made for all kinds of reasons that ultimately leave Android users alienated.
$3 million, no. Ridiculous in my mind at the time, yes.

Also - first real development project from start to finish. Not sure you can put a monetary value on seeing your work actually being used in real life.

Definitely regret letting myself get so burned out / used by the company but don't regret putting everything I had into that implementation. Still miss that job - though I think (hope?) that was professional rock bottom so it's a good force to stop working at a certain point.
Is the Smart Mirror an innovative idea or completely unnecessary?