skysight-inc/HackerNews huggingface dataset:
> Accountants usually don’t have lavish perks or doctor-level paychecks though

Accountants absolutely have lavish perks bestowed upon them by the "Big 4" - annual week abroad in foreign destinations for team building.

> doctor-level paychecks though

Neither do devs. In Europe, accountants are paid better than devs. With better hours(except at quarter end) and a straightforward career path..and no-BS job interviews.

Chartered accountants (still talking about company employed- not sole practice) earn even more - like 30% more than a senior dev.
Because its much better, and so attracts more people to the service.

Uber has a great potential to be used as public transport, with dynamic route pathing based on supply and demand. Something traditional public transport could never do.
Disclaimer: never heard of the book before today and will never read it (no longer in the Y segment of the YA audience). I'm basing my opinion on the info in the article and similar issues in the past.

> racial stereotypes and careless borrowing from other cultural traditions

It's time to accept we live in a world where you can't "win". Someone will be offended no matter what you do. First thing that popped in my head was if Dune would have still had a chance in today's world where each generation was raised with the increasing expectation that all opinions are equal and maybe their's is a little more equal.

The quote above disqualifies 95% of Hollywood movies. Russian/Chinese hackers? Arab terrorists? Damsel in distress? "Genius, billionaire, playboy, philanthropist" guy with tall blonde assistant? Mutants with superpowers being discriminated against?

I guess this backlash comes from people wanting to think they're changing society but don't bother picking their fights, they just join one that seems easy.

> a false oppression narrative that equates having legitimately dangerous magical powers that kill people with being an oppressed minority

Same person probably kept quiet when X-Men was pushing the narrative in order to protect their social media standing. The hypocrisy of going only after the "easy target" and for the wrong reasons undermines whatever point one might try to make.
Looking forward to updating my current project later today. The mess of HOCs, local state, context and props flying around have kept me busy looking for alternative frameworks in the past few years; without those it might actually start being consistently enjoyable.
Pubfront | Android Developer | Copenhagen, Denmark | ONSITE | www.pubfront.com
- About Pubfront

At Pubfront, we help publishers and media companies succeed with their online strategy. Our technology is proven, easy to use, and we can set it up quickly.

We are continually improving the capabilities of the white-label eCommerce technology for the publishing industry, as well as looking for new areas where we can make a difference for our customers.

- We are looking for Senior Android Developer

You live and breathe Android, recite the User Interface Guidelines in your sleep and your left eye starts twitching when somebody fails to comply with best practices. You are committed to building reliable and usable apps, and can showcase multiple such apps that you’ve worked on in the past. As part of a team of developers, you are adept at cooperating with others as well as working independently.

Pubfront maintains several Android apps that are branded variations of the same codebase. You will be taking over development of these and take responsibility for keeping them up-to-date, implementing new features and releasing new versions

Full description here: https://thehub.dk/jobs/senior-android-developer-advancement-...
Nice work! Some time age I worked on a similar project for a client but with much bigger scaling needs (300k+ concurrent connections). My client authorized me to publish the project with an open licence. It's available here if you want to take a look: https://github.com/geekuillaume/chatup
Extraordinary HD videos for you to use, completely free
On Earth: Flourishing in a Not-For-Profit World by 2050
Mixkit is a curated gallery of high-quality videos and animation, made by some of the world’s most talented creators, with all content licensed for free.
Apparently React's internals have been doing similar order-based magic for a while already.
Schools in England Introduce a New Subject: Mindfulness
How do you make difficult descisions?
Gerald M. Weinberg books.
I've found that kind of approach to be low security in practice, because it means you don't have a clear "security boundary". So the firewall is porous but that's considered ok because our applications are probably secure, and the applications have security holes but that's considered ok because the firewall is probably secure, and actually it turns out nothing is secure and everyone thought it was someone else's responsibility.
Nearing forty and feel (and am told) I'm doing the best work of my career. I think the same of my boss who's in his fiftys. One of the keys has been developing deep expertise in complex subject(s) I like and keeping up with the cutting edge. Also finding a career that lets you do this.
Antifragile has changed the way I've thought about many things. A couple key concepts in the book are like lenses that gave me entirely new ways of viewing the world.

The Lindy effect: The strongest systems are usually the ones that have been around the longest. Accordingly, there should be a healthy distrust for any recent invention or practice.

The world is too complex to understand: Complex systems are mostly not designed, but exist and thrive by virtue of natural selection. This includes human societies. Even leaders and managers of these systems do not understand why they work. In particular you can't predict the outcome of tampering with complex systems, and you should avoid doing it in a wholesale centralized way.

Stress makes antifragile systems stronger: In particular a certain amount of stress, challenge, and variation is necessary for a person to remain strong.

Extreme tails: Fragile and antifragile systems often have payouts where a single event dominates the outcome. As an individual, there are two takeaways. There are only a couple of opportunities in life that count. They will only count if you maintain the optionality to take advantage of them. A single tragedy can ruin you. You have to look out for it constantly, even if everything has been pretty rosy up until now.
The book that changed my life is "The Brothers Karamazov," by Dostoevsky. Nowhere I found such a great depth and insight into the nature of human freedom, and the reading questioned many beliefs I had at the time about human nature and the meaning of life.

I distinctly remember reading and re-reading the chapter telling the tale of the Grand Inquisitor. Only after two or three readings of the whole novel I began to grasp Dostoevsky's answer to the Inquisitor's objections, which are not stated plainly in the text but are instead suggested by the way the narrative unfolds.

I have read many other books by Dostoevsky (my other favorites are "The Devils" and "The Idiot"), but "The Brothers Karamazov" is still my favorite.
Meditations on Violence by Rory Miller.

It's written by someone who lives violence on an everyday basis, and his insights are amazing. Particularly for people who rarely experience violence, but when they do it will be catastrophic.
Look at California, New York, or Texas. There's parts of those states that may disagree with the political leanings of the states policies. How are they supposed to get their own say in their community?
I also think often the reaction isn't to the original source, often the reaction is to the reaction of others. Many people running around shouting "Fire!" without having even seen smoke.
There are certain key differences, but basically the supply of drivers / vehicles, and the pricepoints are regulated by the company rather than by municipal legislative.

Which has upsides and downsides wrt quality, availability, wait time, and pricing, including potential to apply "surge pricing".

For example, municipal yellow cab taxis are known for both being legally obliged to pick up passengers in all relevant areas, and at the same time unwilling to do so in certain areas, due to unprofitability, or perceived risks.
I didn't actually. The guy up there was talking about "far left" which I understand as Communism, not simply "taxes".

If there's something absurd, it is saying that far left is simply "taxes".
> pan fried <redacted>

Do you even think before typing?
The future of voice coding
Where are your clients based mostly? What hours do you work in Thailand?
A couple of years ago now, I ordered a replacement battery through Apple for an older plastic MacBook - the user replaceable ones, where you use a coin to unlock the switch and lift it out. When I went to collect it, the Apple Store geniuses refused to give it to me unless I brought in my laptop and let them keep it for a week to do the replacement, as they were convinced no Macs have user replaceable batteries. (I declined & bought a battery through an Apple authorised service center instead, for cheaper than Apple was charging.)

For those who don't remember, here's Apple's user manual for customer to replace laptop batteries themselves (PDF):

https://manuals.info.apple.com/MANUALS/0/MA159/en_US/MacBook...
Possibly using ggplot2: http://www.cookbook-r.com/Graphs/Plotting_means_and_error_ba...
>"Spotify might court artists to sidestep record labels, but that only helps for new content. Yet there's other destinations now for emerging artists and future fans thereof, and better platforms for discovery."

For niche genre enthusiasts, Spotify is more of a convenience than an essential service. We've always been good at promoting stuff through word-of-mouth and genre-focused zines/websites, and we're generally very avid concert-goers with a tendency to buy physical merch at the shows.

I could get the majority of my music from Bandcamp, and I do buy a lot of downloads from bands I enjoy, in order to support them directly. Spotify does have an edge in the size (width and depth) of their library, which is extremely handy when you want to play something that you occasionally enjoy, or quickly look up something a friend mentioned. Lately Youtube has been extremely good at adding music to their library however, obviously because of Youtube Music.

I also find the trend in Spotify's recommendations to be very "safe", which does make sense. After all, they build their recommendations on what most people listen to, not niche bands with <10K plays for their most popular song.

When I first signed up for Spotify Premium, I thought I wouldn't ever need my local collection anymore, because why would I? Spotify had/has the biggest library, right? I'm glad I kept my local collection, because Spotify does get a little weird about removing albums because of rightsholder nonsense, and I've seen new albums just never get added, despite earlier releases being available from the same artists.

I still enjoy having millions and millions of tracks available, and their recommendations are decent, if not amazing. But my own curated collection is irreplaceable.

But I'm an enthusiast. For more casual listeners, Spotify (or Google Play Music or Apple Music) would cover all their needs for new music and popular classics. And I think Spotify could easily woo artists into direct releases and promote them through their platform.
Vulnerability postmortem: A curious case of convexity confusion in Skia
Amateur here is "unpaid". Usually the obsessive nature of engineers, me included, means they tend to take the work home with them. Back when I was working for a defence contractor years and years ago there were a lot of amateur radio operators working on RF systems that had so much fun they went home and did another day's work there. Sometimes this was leveraged for personal gain and sometimes it actually played out and ended up in commercial radio systems. Similar to how a lot of people go home and write code. "Amateur programmers"
Please don't use code formatting when not necessary, it's really hard to read on mobile.
There are many situations where you are presented with the mobile or new desktop designs, such as being logged out. I have to sign in at least twice every time to use the old desktop version.
A manager at work (not mine) gave me a sliver of a book called "What Does it All Mean?" by Thomas Nagel. It prompted me to appreciate and learn more about philosophy. It also helped me learn to enjoy things like philosophy for their own sake, outside of an academic setting. The book itself is a nice read and very short. That gift was a much appreciated positive spark, and it affected how I think about almost everything, though not so much directly.

I think about "Outliers" by Malcolm Gladwell a lot directly. Over time I've appreciated it as a way to both motivate me to work towards success, and also to cope with feeling not successful enough. The fact reflecting on that book is helpful for both sides of that coin is part of its staying power for me, I think.

"The State" by Franz Oppenheimer was also impactful. It was the first kind of political theory that really gripped me. The idea that the State was something to analyze and scrutinize in the way that he did was exhilarating. Touched a nerve that resulted in significantly more questioning of authority and critical thinking about power, generally.

"why's (poignant) Guide to Ruby" made a difference, too. The book itself is great and it helped me to learn Ruby, and it also introduced me to _why. His work made me view programming as not just a craft, like building a chair, but also as an art form, like writing a book. It can be a way to express yourself and be creative, and programmers can, indeed, be creative, too!
Well if you play differently from how everyone else expects, you all suffer for it. Most games reward you for thinking up something creative that the other players missed; Hanabi punishes you instead. You have to hew to how you played in previous games and play as boringly as possible.
Interesting that a speech therapist was involved, because swallowing is in some ways the opposite of vocalization. The larynx goes up and eustachian tube briefly opens. This is the opposite of what you want when speaking.
you can trade your labor.

Freedom of movement for people in the EU is something different.

http://www.europarl.europa.eu/factsheets/en/sheet/147/free-m...

https://www.bmi.bund.de/EN/topics/migration/law-on-foreigner...

Since Japan is not joining the EU and also not planning to do so, 'Freedom of movement' in the EU is not part of this (trade) agreement.
> No white people have yet studied any Indian herbs

Someone wants a cup of tea?
Voat? Might as well believe that Facebook users are switching to Diaspora
Tesla’s Model 3 pricing inches closer to $35,000 target
That's also the reason why you have to make sure you're passing an update function to `setState` sometimes.
You are at least somewhat misrepresenting Chomsky, as he is notable for constantly saying that he won't offer grand plans and possible solutions.

He's one of the few public intellectuals with the humility to step away from saying "do this", and constantly speak to the power of "countless small deeds of unknown people" in creating a better society.
Outlook now has labels and a chat that works and you can sort by sender and what not. Spam filter sucks
"Enders Game" for me, I think. By Orson Scott Card.

I was in my first couple years of military service when I read that. I can't really say how it changed my outlook on life, other than the fact that I liked how realistic the writing was, in regards to how children can adapt to an extreme situation (and how quickly naivety and innocence can be lost).

Lead me to read other books by Orson. I like many of them.
The cultural change is the difference between "Let's be awesome, shift units, and make money!" to "Let's shift units and make money!"

That's not a very inspiring vision.

The emphasis on retail-is-the-customer-experience as opposed to customer-experience-defines-retail is only going to cause more and more problems.

TBH I expect the next few years to be something of a meltdown for sales+service, with retail following along for the ride.
I'm using them on my current app, and have no intention of going back to classes.

> lack of a parameter explicitly indicating the component

That's sort of the whole point. That you can write general purpose side effect functions that don't need to care about which component they're being used in. It's super easy to have a toolkit small unit testable functions that do the pretty much all the work in the application. Far easier to work with than inheritance, mixins or traits. Easier than composition, even, because this is just calling functions. If you're familiar with using Underscore or lodash, this model will feel very intuitive.

> reliance on hook ordering

This is a red herring, because we're only talking about execution ordering when the code runs. It doesn't actually matter what order I write any code in, only that when the code runs the order doesn't change between two render frames. This is as simple as don't have conditionals outside the hooks, have them inside. If you think of hooks as accessing the state register by the index of their first access, it works well as a rule of thumb.

The real problem is the impedance mismatch that the line above causes - you need to remember that hooks access the state register by order of their first appearance, not by identity. So if hook no. 3 doesn't execute on the second render for some reason, hook no. 4 will see hook no. 3's data. This goes very contrary to JS or any other programming language / paradigm I know.

It also has repercussions (https://overreacted.io/making-setinterval-declarative-with-r...) that are unintuitive, because the identity of the functions you pass into the hooks is lost as well, so you need to put them into the call-positional state register via a ref.

To be honest, I haven't hit that edge case yet, and it's easily handled once you understand the system for what it is. It is very un-intuitive to program this way, but it's not a problem most of the time.

Just remember that the identity of the state of any hook is represented only by its sequence number of execution during the first render, and you can figure out the remaining gotchas from that.
Mt. Gox Trustee’s Bitcoin Sales Led to Manipulation of Market Prices
Hatch, Rovio’s ‘Netflix for gaming’, picks up NTT Docomo as a strategic investor
Interesting.
Someone somehow attempted to open a new tab with pornhub while I was in the demo chatroom. Nothing was visible in the chat itself.
This post by React dev lead Dan Abramov goes deep into this question (much more detail than is available in the React Hooks FAQ or the ReactConf talks). https://overreacted.io/why-do-hooks-rely-on-call-order/

tl;dr: The primary design goal of hooks is to support the creation of custom hooks, which can eliminate the need for higher-order components in many cases. An ideal alternative implementation would support custom hooks, without relying on call ordering, and without requiring a linter to guarantee safety. Unfortunately, there doesn't appear to be an approach that satisfies all of these requirements. Depending on call order is apparently the least-bad approach to hooks.
>Why do you think your bosses get business travel, no limit credit cards, RSU, big bonuses and neat double digit monthly pay check.

Sorry, but i dont believe this is an accurate analogy. The reason is that otherwise they might leave for another opportunity. No-one is telling workers what the pigs are saying in AF.
It is worth pointing out the test were using WiFI and assume best connection. In real usage the XR would get better LTE performance and hence even better battery life than what was tested.
I don't know but try qute browser?
Think of series of `useXXX` as declarations, not function calls, then everything will make sense to you.

The declaration parts are always static and in the exact same order for the same component.

When you see a state less function

ToggleButton = () => {
const [flag, setFlag] useState(false)
const [count, setCount] useState(1)
const useEffect(()=> {....})

return <button onClick={() => setFlag(!flag)>{flag}</button>
}

View it as a component with two separate sections, behavior declarations and actual rendering:

Component ToggleButton
// declarations
hasState: "flag" setterName: "setFlag"
hasState: "count" setterName: "setCount"
onEffect() { .... }

render() {
return <button onClick={() => setFlag(!flag)>{flag}</button>
}
}

Then you will see that reliance on hook ordering being the same is what you always do when you write a declarative code anyway.
Uhm, yeah it works but it's just a barebones chat using socket.io or am I missing something here?
Gah I hate these bloody awful displays. You find out regularly that the display's memory isn't organised how you think (linearly) because the early displays were tiny, so writing say a line out on a 40x4 display turns into a nightmare.

The positive bit is once you've hidden all the oddness behind an API (mine is lcd_init(), lcd_cls(), lcd_pos(x,y), lcd_write(str) ) then they're totally fungible.
Conversely, I used to spend $75-100/month on CDs and downloads before I signed up for Spotify Premium, so I do save money. People like me are probably outliers in the grand scope of streaming vs buying, though.

I still buy a lot of music from sites like Bandcamp, to support artists directly, especially after learning how small of a cut the artists get from streaming services.

Someone's winning from the average person spending more on a Spotify subscription than they would on buying music. Unfortunately it's not the artists, it's the lumbering dinosaur major record labels.
It needs to sanitize the input text. Very important from security perspective.
What I find mind blowing was the amount of classical literature there is: https://www.youtube.com/playlist?list=PLghL9V9QTN0jTgA1qrhWr... I recommend this video sequence because it can give you (a bit of cheating) a map of classical books and for people like JP who quote Dostoevsky novels like: Notes and Three Brothers, at least have a glimpse of which one are worthy diving deep into.

Also appealing to children
Including no input/output sanitization which leads to XSS issues.
Probably XSS: https://github.com/BisratYalew/Real-Time-Public-Chat/blob/ma...
yeah but don't the artists make that money? I thought it was the albums etc. the record companies made the money on. Of course they probably also put the promotional stuff of the billboards into a list of things the artist needs to pay them for.
Looking from a distance, what Swift does is actually taking best practices from modern C++ (14+) and incorporating them on the language level instead of introducing new library tools.

If you regularly code C++, the "fuck, yes!" moment is there when you learn Swift.
For all we know they do that as well. This is a more general petition to the world at large not to behave like they're entitled to more just because #vanlife.
Over 59,000 personal data breaches reported across Europe since GDPR
... or sealware. Fortunately the memory stick remained sealed after being un-sealed. Able to stand both being dipped in strong acid, saltwater and very low temperatures. Impressive if we think about it.

I had find a lot of plastic in whale stomachs, is not uncommon at all.
Develop and Test AWS Step Functions Workflows Locally
Show HN: Mobility Startup Generator
I had the opposite experience. Every single time I had to spend time in an open office environment.

There is just one person you need to tell to be quiet in a small 2 person office. There are countless people you want to tell to shut up in an open office. This is also the reason so many people work with their headphones on. For some time I had those massive over ear headphones with me while I traveled through our offices. I didn't even listen to anything. Just put them on so I didn't have to listen to the environment. It's hell...