skysight-inc/HackerNews huggingface dataset:
Every time I read an article about SPAs... I feel like someone has a new view on what an SPA even IS, what it is good for, and so on. Many articles sound like they're talking about entirely different things.

I get the definition, but I don't see a lot of problems and etc .... necessary a part of SPAs.
Mightier | Senior Software Engineer | Boston | Full-Time | ONSITE

Can video games teach children how to harness their emotions?

We believe they can. Mightier is a biofeedback mobile game platform that teaches kids to identify and control their emotions through play. Kids wear a heart rate band while playing a library of games and must regulate their heart rate to win. The games empower kids to practice self-calming skills that transfer to real-life situations.

We're looking for a senior software engineer to join our lean, fast-paced engineering team as we face a period of rapid growth. We're built with Python/Django, Docker, AWS.

+ More about Mightier: https://mightier.com

+ Join our team: https://mightier.com/careers/
Tools for thinking: Isaiah Berlin’s two concepts of freedom
They also talk about this philosophy in their earlier book Getting Real (which I highly recommend, one of the best product books I've read): respect your customers by making it easy for them to cancel and take their data with them and avoid the dark patterns so many companies use with cancellation.
Curious what you mean by "Software eco is mostly for playing around".
They run full Debian, and despite the limited I/O throughput, there are a number of relatively high profile projects that are widely used. Most people I know with one run pi-hole, openvpn, a cacti system, etc.
I personally run Syncthing, pi-hole, openvpn, and an internal webserver that hosts movies/tv from an attached drive. It's pretty decent as a NAS too.
You can apt-get install and/or compile whatever you want on them. I've also used one to coreboot my laptop with the GPIO output.
The best developers are the ones you can give the hardest bugs to and trust they get them done. The ones where the principal engineers see someone heading for your desk and jumps up to figure out why - stopping your interruptions is far more important than anything else! (You can't give these to the principal engineer because his job is to be interrupted)
If I had to guess it’s because these companies are straddling the line between socially aware company (to attract this conscientious minded employee) and the realities of doing business (core competencies and flexibility when things go south). Given the above a small percentage of employees feel an obligation to look after the subcontracted workers, etc. and want to bring it up as an issue in the next election cycle.

I doubt you’ll see this attitude at GM (despite unions) or Archer Daniels Midland, etc., because they don’t try to play both sides as much.
> Then introduce Redux and similar frameworks, and I totally lost interest. It's as if the entire React community forgot all the lessons they learned writing Python and C programs in college and went back to creating global state. What in the actual hell?

Fair point. But could it be possible that there are lots of people doing React that never went to college and never wrote Python or C programs?
I'm surprised you dislike Redux simply because it's a form of global state.

Sure, global variables make debugging difficult when you don't know which function changed them where and when and why. But that doesn't happen if you keep your functions pure and only make changes from within reducers – at least that's my experience.

(Boilerplate, yes, Redux adds that. But at least it's all in one place, and not scattered throughout your app.)
> So you ask for volunteers and compensate.

I've never experienced the process of asking passengers who wants to stay. Only finding out at the gate at the last moment. Also seen it happened to many other travelers while I passed through - finding out their ticket won't get you through the gate - shocked, frustrated, pissed off. You seem to be an airline apologist, maybe an insider? Or you just never faced the situation described?

Way too many wrong/incorrect statements in your post to cover all of those, and tons of whataboutism. But at least some:

> Why don't people understand that an airline operates under different constraints than a bus company or a train operator?

Why oh why... should I care? Its a public transport offering, nothing more or special. It certainly doesn't give them some extra credit so they can act amorally to maximize profits.

> To always plan such that the highest possible number of pax is smaller or equal to the lowest possible number of seats available is wasteful.

By your logic, we should all be transferred like a cattle, since it would be way more efficient, and who cares about treating customers with basic dignity when you can optimize, right?

Bottom line - my opinion is airlines should pay extra to people they on purpose deny boarding due to overbooking compared to other causes, only because their wonderful analytical methods and systems screwed up again. In all my overbooking experiences, the compensation was too small to even cover additional expenses I had to pay to cover for the mess created by airlines. And how do you compensate stress, frustration, missed opportunities, reduced time for vacation etc on top of that? Also the process of retrieval compensation is often as complicated as possible, ie that LOT took quite a few calls to their support to send me a 'secret' link you simply can't find on their website, and it took more than 2 months to get money after filling it. It was even an EU regulation breach, but do you think anybody at airline cared? At least some other airlines were more direct.

How do you apologize the fact they let you roll through check in, but send you home/to hotel only at the gate? It is really a wonderful experience, apparently you might benefit from that humiliation a bit and see things from customer's perspective.
Signal vs. Noise Exits Medium
> A “modern generation” Android phone that is half the price of an iPhone would be much slower.

Slower in doing what? Posting a pic/video on Wechat? Making a money transfer? Playing a game?

Phones today are where the PC market was about a decade ago when 4GB RAM and a Core 2 Duo SoCs became common and offered enough performance for users to not have to upgrade their laptop every 3-5 years.

We don't have to look at AnandTech-style benchmark analysis anymore to figure out whether a midrange Android in 2019 will serve most needs.
That can't happen because there's no formal qualifications to calling yourself a software engineer. I've worked with people hired as software engineers who just took an X week online course, and it shows.

Now, if you're talking about solving the above first, I'm enthusiastically all ears..
It's a smart thing to do (to have such a plan) even if no cyberwar ever takes place. There are so many possible scenarios of what could go wrong and having autonomous but functioning internet is absolutely necessary.
I love Rust just as much as the next guy, but not everything needs to be rewritten in Rust...
A year or two ago I investigated what the state of the art was for metal grafted onto bone (for example to mount prosthetics) and the conclusion was "it often works or only gets a little infected. Sometimes it gets badly infected, not much we can do about that", but that was the actual practice.
incidentally, AMD actually advertised their latest architecture as using "neural networks" for branch prediction. (Now IIRC it was actually just a linear model, aka a neural net with one layer.)

So if that technology were to catch on, a pedant could argue that most computing workloads really are machine learning.
We were running a chat app network dating platform. User profiles were from chat apps & majority of the users were from Facebook Messenger, many in asian countries especially women from Philippines used their child photograph as their profile picture.

After I realised the issue, we integrated Amazon Rekognition API to detect age range < 18 & block the profiles who had a child's picture on their user profile. The issue is that Rekognition isn't perfect & we lost several users because of this integration & false positives, yet we continued to use it till the end for moderation. We were processing >200,000 profile pictures each month for this.
Just finished running a project with Razzle. It’s nice, the only headaches we experienced were with the SCSS plugin and using environment variables. Decent experience.
IE support may not be all that relevant these days when even Microsoft disparages its continued use.
It doesn't matter if something has been done before if the new way hooks into new systems. Tools do not exist in a vacuum. All tools are apart of a system of tools that should always be considered when evaluating any component piece.
As a newcomer to the field, parent post is far more welcoming than the bevy of trash Ninja flavor-of-the-week bullshit that makes it seem impossible to catch up.

I only actually got my bearings and self-confidence as a programmer when I realized that most of the people pushing blogs with subscriptions about "cutting-edge" tech were literally snake-oil salesmen and shovel merchants.

That coding wasn't actually different from anything else I had learned in my life, and that there were some fundamentals I could latch onto, and grow from there upwards. All this nonsense about the field experiencing a revolution that upends all existing knowledge year-after-year is far more mentally taxing.
> Is it that complicated to be adults in 2019?

The people in question are very literally not adults.
Is anyone else having trouble parsing that title?
She also started Dollywood as a way to create jobs in a historically impoverished part of the country. You don't bad mouth Dolly in East Tennessee, she's like our patron saint.
You made a conspiracy-theory-esque suggestion that any given commercial action by any given Chinese company is some sort of commie plot.

It's a tautology. Anything Chinese companies/people do is evil, because China is evil, because everything they do is evil...

I was just trying to expand your mind a little bit with my suggestion of consistent standards. I guess you're happy where you are. Cheers.
Motorola May Start Using Samsung Exynos Chip for Future Android Phones
>But it would also require fewer billable hours to build. And it's not what the client asked for in the first place, so there's the risk of burning social capital in trying to even suggest it.

Would it burn social capital to tell the client about a cheaper option? I thought people loved saving money.
Yeah, but it's also perfectly fine to use it. Jews use it, Wikipedia uses it. The commenter also said "the Palestinians" in the very same comment in which they said "the Jews", making this whole subthread slightly silly. Not that dragging conversation into accusing others of "sentiments" they cannot disprove and one cannot prove them to have, before or even instead of dealing with the factual stuff that all parties can examine and elobarate on, is ever not silly.
This is the worst approach I've ever read about.
Another angle is that "SPAs" are build on top of a fragile and anti-engineering tech stack: JS, CSS, HTML.

In the past a 'SPAs' was build on top of more solid foundation like smalltalk or later Delphi. Most issues is that the browser stack, put it in real terms, is not the "right tool for the job" and will never will, without serious re-engineering.
Master the Web Storage API
Should be "square CEO."
Not exactly. My interpretation is that global warming will have long lasting consequences. Even if we do manage to mitigate it, a lot of damage is already done.
To expand on this, "verification" or "observation" of paper voting can be done by just about anyone. Young or old, natives or transplants, left or right, comp sci majors or the high school dropout, just about anyone can count along and watch a box to make sure nobody is stuffing tons of ballots in there. That's what makes it so powerful. If you think some conspiracy is happening by "the other side", you can go down and watch for yourself, or you can gather a hundred other people to watch with you.
The Galaxy S7 I purchased on contract had a list price of C$899, which my monthly payments were defraying. 2 years later, it's still in good condition, but so are the Huawei and Nokia Android devices I purchased unlocked for C$300.
I'm normally rather careless with money too... I earn far more than I need to live quite comfortably on a normal basis, there's rarely a month where I spend anywhere close to what comes in. But when I do want something, I don't think twice about buying it.

Recently I've been shoveling it into a long term project that will hopefully pay dividends in the longer term, but the jury's presently out on whether that will actually come to fruition. Time will tell.

I agree, not everyone can afford to live as frivolous a lifestyle. I've been very fortunate to have had the choices and opportunities I have to be able to make headway. I try never to take that for granted, because it doesn't take too many wrong moves and you're the one trying to scrape your way to get above the poverty line again.
The Patron Saint of Media Studies
Thanks for sharing your thoughts.

To just quickly address your suspicion - I’m not a recruiter (or a designer). I’m a software engineer who’s just had a few ups and downs since December.
It's not wage labor, it's salary labor.
The article says the accuracy of the stethoscope’s predictions is 87%. I wonder what the precision and recall are. Precision saves money, recall saves lives.
The Lighting network is part Bitcoin Core.
developer/organizer here. hi! arranging a stupid hackathon is almost too easy, and loads of fun. attendees are usually very forgiving and happy, and if something fails it is stupid and therefor on brand. i make them annually in sweden, and this was year no3. fantastic experience.
Camps in Xinjiang have a lot to do with an anti-terrorism effort. Out of the 10 distinct Muslim ethnic groups in China, only one, the Uyghurs, are being put in camps for anti-radicalization efforts due the terrorist activities they engaged in over the last 2+ decades (running over people with cars, attacking businesses & government buildings).

Secondly, the Iran sanctions are illegal and most European countries are still doing business with Iran and not being penalized for it by the US. This is pure tradewar leverage/thuggery at work.

Get ready for "yellow peril" style propaganda (anyone find the SuperMicro spychips yet? I thought we were riddled with them) to make a comeback as China's economy becomes more of a threat to US hegemony.
My mom read to us from Dr. Seuss and such until we could read ourselves which was well before school age. We hit a patch of low income and I started reading what my Dad read which was hard SciFi and war novels. My brother honed his reading by reading the AD&D Player's Handbook when he was pre-K. I'm pretty sure if we had the money for more age appropriate books I would have still read because I experienced the joy of it from being read to. Early positive exposure will set children on the right path.
Yeah, they should have said "Square CEO", "Twitter CEO" seems irrelevant in that context unless you know it's the same person.
Hey, just posting an interesting blog post that was linked previously on HN and got 973 upvotes[1]:
https://hiringengineersbook.com/post/trouble-hiring/

(I am not affiliated with them in any way)

[1]https://news.ycombinator.com/item?id=18955731
You've been lucky then. I've worked on a few teams (I'm a freelancer) and even when they didn't add Redux, it's been something I've had to argue against.
> Prefetching is a questionable and a lot discussed feature, do you want to prefetch all the 50 links on my page?

This isn't how Next prefetches with dynamic routing. It fetches the JS required to construct the DOM of those pages, but doesn't execute it. If on one page you have three links to /gallery/a, /gallery/b, and /gallery/c, then gallery.js will be prefetched once. You can confirm this in devtools. Also, prefetching is opt-in.
cheers, will check!
Julia can and does make 'provably correct' decisions at compile time, it's just that at the the default typesystem settings are not quite correct for machine learning apps.

Also it's not a high overhead runtime. The runtime itself is compiled to highly optimized machine code (it can even compile, say the derivative of f(x) = 5x+3 down to the machine immediate "5" at compile time).

There is a lot of lifting to get that compilation framework into place, so there is a load-time overhead.
Microsoft teases HoloLens 2 launch for later this month
I did.

The Square CEO (and coincidentally Twitter CEO), says their mobile payments app will need to integrate with the bitcoin lightning app.
Whether you're freelancing or doing a startup, it's critical to have your spouse's support. Entrepreneurship is extremely difficult and if you're in a serious relationship, the other partner has to be ok with the ups and downs. In my experience, few are. I've seen numerous early stage startups fail when the spouse of one of the co-founders pulls the plug.

The difficulty in achieving this over a long period of time is one of the things that makes the founder's over sized equity stake make a lot more sense. You're literally putting your relationships on the line to make your company work.
Maybe Corbyn is just not a very good politician who wants to try a socialist experiement in right wing Britain.

I sat down and did the maths based on tax revenues and so on and Corbyn's plans roughly call for £500bn of additional borrowing. I'm not saying don't do it but it's scary this isn't communicated clearly to people the costs of renationalising water/rail/university fees etc. etc.

What makes you think there is a campaign against him or just that he simply isn't that popular apart from with a small section of society for whom he can do no wrong (i.e. Labour party members)?
Curious why? We use numpy is easily optimizable areas so there's very little python code, and JITing a call to a C library is pointless.
> Redux was the solution to server side rendering state.

Could you explain what you mean by "server side rendering state"?
Java is a terrible exemplar for a statically typed language. It's incredibly verbose, and is often held up as a bad example for how to do typing. More modern languages manage have type systems which are more effective at identifying issues at compile time while also being more flexible in terms of the design patterns they allow.

You might have also noticed that Go is statically typed, and it's actually less lines of code than Python (maybe a lot less if trailing braces are counted in that LOC number).
Why would you need the cash app if BTC with LN works without it?
Ok, that is for swift...

But is not tensor flow popular on windows? Because then build on top of swift will mean:

- Put swift on a fast track to be decent on windows, linux, android(?)

- Ignore the windows users and let them battle a bad dependency?
You gained more reputation by owning your mistake than you lost by making it.
Silent error ignoring is never a great API. Especially for a data integrity operation.

fsync in case of the USB disappearing should simply return an error and drop the dirty pages.
Agreed.

If you take a progressive social stance like the tech companies seem to like to do, with LGBT rights for example, then you're opening yourself up to criticism when you behave like a regular corporation in a place where you might not have taken a social stance, with the labor movement for example.
He's way more recognisable as Twitter's CEO
This! We have these for my sons teacher (hes T1 and in grade 1). Their pretty bullet proof.

I use Spike on iOS https://spike-app.com/ to get it on my apple watch (it does this by creating new meetings in the calendar) works ok.

Its amazing to me that Pebble can allow real time updates to the watch face and apple severally restricts this feature for third party apps.
If they improve the FOV this might be amazing - I tried the first iteration and it worked quite well. Very excited :-)
sounds bad.

I only did green-field projects where I was the only front-end dev.
Last year Alexis O’hanion predicted BTC would be 20k and ETH 1.5k by this time too. Many executives seem over enthusiastic about cryptocurrencies to me.
> Could you do that in Rust?

Yes, and companies are even doing it in production. Sentry probably being the best well known.
it was mentioned in this topic as well, that a person watching a lot of Netflix shows would as well recommend Netflix to others, and thus generating more subscriptions.
It came out during the Oracle trial that Android has only made Google $39 billion during its entire existence. Even then, they pay Apple over $2 billion a year to be the default search engine for iOS devices.

If Android didn't exist, Google would likely be paying even more to be the default search engine on non-iOS devices, or they'd have significantly lower search revenue.
Does LN still have that crazy design where if you lose connectivity your deposit could be lost?

Also doesn't it make Bitcoin even more hyper-deflationary by forcing money to be locked up in LN nodes?
Thank you! This whole time I didn't realize Freshbooks allows you to create recurring invoices that let people save their cc details. Doh!
We turned to React as the UI solution in our Rails app almost 2 years ago. It was the hot thing and I fell in love with the concept of components. While it did work well, I regret the decision. It convoluted our codebase and it seemed like simple tasks took way longer than I estimated. We're now back to doing things the "Rails way" with erb templates, turboklinks, and Stimulus to give us that JS functionality we were looking for when we chose to start using React. It's been a breath of fresh air.
> These frameworks add a huge amount of hidden global complexity just to avoid having to pass parameters to components, which is the simplest thing to do.

Redux offers a few benefits:

1. Allows you to keep your global application state 100% predictable by treating it as a pure function of an event stream (dispatched actions). This makes it trivial to test.

2. Allows you to "time travel" the state of your store using the Redux dev tools by replaying/modifying the event stream. You can also set up QA folks to export their events so that developers can reproduce any bugs in the global state 100% reliably.

3. Allows you to access global state without explicitly passing down props from great-grandparent to great-grandchild.

While I'm not a fan of using Redux for everything (it does have costs), you mentioned only the most minor benefit. If you only want #3, you would just use React's built in context API.
I just had the pleasure of using my son’s Moto G released in 2018. He was glad to upgrade to my old iPhone 6s.
Can you give a single example?
>“It was made pretty plain to us that we were at-will employees and they would fire us at any time,”

most employees across the country are at-will, do people not know this?
Paul "recession is imminent" Krugman
IIRC, PyPy is actually slower on pure CFFI calls, so anything that is mostly Numpy/Pandas/Scikit will likely be slower in PyPy. At least this was the case when we were using PyPy 3.5.

But often the rest of your code base will experience dramatic increases in performance, and the penalty on already fast CFFI calls was not significant overall (in our use case).
This is my experience with statically typed languages. It may be a bit more verbose in the implementation, but it takes much less time to reach a correct solution.

I find that whatever "savings" there are in terms of code volume in dynamically typed languages is usually more than made up for in the need for more tests.