skysight-inc/HackerNews huggingface dataset:
I do the first one as literally the first thing in my morning, before coffees or breakfasts or showers or anything else.

The second is definitely the tougher one to find time for. Since I work independently, remotely, and on a lot of different things, I don't keep a regular daily schedule. But I usually aim to fit the second session in at the end of my "workday" -- making it part of the transition from workday focus to evening focus (whatever that is).

Worst case, I do it in the late evening before bed. (Per TM tradition,) I try not to do it right before sleeping, but maybe before some final reading or TV or straightening up.
Yeah, MXML (and in fact most of Flex) had a lot of good about it. “Discredited” was too strong a choice of word in my post — I meant something closer to “unfashionable”.
> but it’s a jerk move...

What on earth are you on about!? The author has every possible opportunity to set out whatever he wants in the license. If he wants anyone who uses it to name their firstborn after him he can put that in there. If he doesn’t then there is absolutely no issue or nothing jerk-like of anyone who follows to the letter he license the author decided to use.

It’s up to the author to specify what he wants, and as long as users follow the license that’s their right.

If you want a license that only allows non commercial usage to be unattributed but requires attribution for commercial usage... then use such a license. Don’t just put it up under a permissive license and rely on calling people jerks when they literally do what you specified and gave them license to do.

> all it does is discourage developers from releasing things open source...

Great! Developers who don’t want others to use their software under an open license shouldn’t be releasing it under an open license in the first place! You have all the control as a creator, don’t give it away and then complain that you gave it away like it’s someone else’s fault for using the license you gave them.
A New Blueprint for American Cities
Did you mean OBD(2)? There are Bluetooth, wifi and usb controllers available that you can use to read and write data. Some of them are very cheap, not sure how well they work though.
I think people are getting too hung up on the "implicit ordering" thing. The only thing that really matters about the ordering of hooks is that the call pattern remains stable between render passes. This code:

const [foo, setFoo] = useState("abc");
const [bar, setBar] = useState("123");

...is functionally the same thing as

const [bar, setBar] = useState("123");
const [foo, setFoo] = useState("abc");

The feature is _declarative_ in the same way element rendering is declarative.
Right, there isn't much I can say to convince you why a block of blinking electronics on someone walking around at an airport and ignoring everyone's questions, at a time of heightened airport security against suicide bombers, is tone deaf.
In response to this article, Sundar Pichai sent an email to Google employees: http://www.cnbc.com/2018/10/25/google-ceo-memo-says-48-fired... .
Seems to be subsumed by https://github.com/iovisor/bpftrace right?
Just for context, google has 85,000 employees. They fired 0.0005% due to sexual harrassment. I wouldn’t call that a sexual harrassment problem, that’s just humanity, shit is going to happen at that scale.
Maybe newish coders should learn the language they are using.

And of course there is typescript (and a gazillion of languages that can be transpiled to js these days), which synergizes very well with enterprise people and java/dotnet devs who never did a line of frontend before.
This comment has the subtle implication that you are "too good" to get addicted to opioids. You should reconsider that attitude before it's too late.
Imagine that interview...

Google Guy: can you please take off your shirt?

Candidate: aeh... why?

Google Guy: Oh, I just want to give you a backrub.

Candidate: thats a bit strange...

Google Guy: No worries, its just to see if we get along well and so i know we can work together.

Candidate: No, sorry.

Google Guy: come on, I'll get you the job. How about a neck rub?

Candidate: i guess... ok

Google Guy: hehe. ( evil grin and proceeds)
No time for hackintosh. It's not that people recommend, 450W wouldn't get an image. Had to chuck it out and upgrade. That's hardware today!
Huh. So, the rush to release and announce the license before OSI vetted it, was in fact VERY VERY intentional. Not some poorly planned "rush the news out" mismanagement.

And the recent stink on HN where OSI claimed MongoDB was not Open Source because the license had not yet been reviewed, with many claiming (correctly) that OSI is not the determiner of what is open source, appears to have been out of order.

I think there was a base assumption that the license would in fact be fine, and OSI claiming it wasn't because they hadn't stamped it ... yet ... was overreaching.

Anyway my understanding is that the single largest user (and commercial licensee) of MongoDB hates it and can't wait to get away from it. With that in mind, this licensing nonsense smells like a desperate grab. Maybe it's time to short $MDB?
IIRC, isn't art used as a tax dodge these days? That and a giant influx of money from countries that don't historically buy a lot of art (e.g. China)
And yet, ultimately, Rubin went out and started his own hardware company (Essential Phone) and it didn't work out well.

Maybe Rubin's domain knowledge wasn't really much of a threat after all. In hindsight, one might argue that Android's success hasn't depended on Android quality/innovation nearly as much as it depended on Google's already powerful position in the search market.
Today the word consumer is basically a stand-in for citizen, which is really what I meant. There’s a whole podcast episode dedicated to this peculiar change: https://www.ridiculoushistoryshow.com/podcasts/rhs-citizens-...
The article led the reader to believe that the victim was not a burner, and that Burn was part of the weird SV culture and part of the setup for harassment. The problem was the guy's behavior, not inviting her to the Burn.
I'd argue that they paid him to STFU and not drag anyone else into tis with any of the things he knows or has seen them also do...
Sorry, I can't parse your question!

I believe that the term "white brogrammer culture", as a pejorative, is sexist and racist and insulting. (See the article I mentioned for a use of this term.) And I've observed that pointing this out leads to trouble.

Can you give an example of a critique of intersectionality that is acceptable in a tech company? I suspect you can't.
I was wrong -- I see both rent and what appears to be ownership costs in there.
Classes? Where we’re going, we don’t need classes – React 16.6
Its a bit hard to read the times, but its more than 8 hours with 17% left as I plug in for the charge.

https://imgur.com/a/C7rCKeK
Typo, that should be "ammonia."
Google was once my favorite tech company. I was amazed by their search engine, excited by Gmail, and ecstatic when I was selected to receive a CR-48. I loved their "do no evil" motto.

I am sad to say that I no longer trust or like Google.
I’m sure the chat logs from that company are very embarrassing.
When ABS systems fault, they just turn in to non-ABS brakes.

What's the worst that would happen with a malfunctioning active suspension system? It wouldn't lower when going highway speeds, so you'll get more drag.

The only computer that absolutely needs to work to keep your car running is the one that's controlling the EFI system. If that's not running well, it's pretty obvious since the engine will stall out. If you have a modern automatic transmission, then you'll need that one too, and that's pretty obvious if it's not working correctly. Everything else is an accessory, non-essential and part of planned obsolescence.
This was one of the first things I thought about when I read the docs. This is primarily meant to replace render props and HOCs, which solve a legitimate problem but are a royal PITA to use, especially with Typescript.

This is going to make it about a million times easier to use Typescript with React.
Why not use the actual article title?

"Google’s Night Sight for Pixel phones will amaze you"
Yes, I know, and I suspect the parent poster knows too.
I guess mine is a bit unusual: Going out with friends every day, even if I don't really feel like it. Social life is very important and if you're busy or somewhat introverted, it's easy to withdraw and forget the impact it has on you. I find myself thinking much clearer, being able to focus better and go all the way to reach my goals now that I'm significantly more active socially.
It looks like paint-on-canvas to me, but without a zoomed-in shot (perhaps from an angle other than dead-on) it's hard to tell whether it actually is paint-on-canvas or just a printed image that looks like one. So... dunno.
I fully agree. I believe that AI will be used in the future to pump out aesthetically pleasing, but "meaningless" art. The type of art that would be hung on a living room wall to bring the room together.

I am skeptical how much art by AIs will actually feature in museums and exhibits. High-caliber art is very reliant on its emotional context and the message that the artist is trying to convey with the piece. However, I could see AI art featuring when an artist invents a new algorithm or new AI-based technique. Again, going back to the context of the artist and the piece itself.
Ehhhh, but is it really a "work of art"? That's what I take issue with.
> I think it is reasonably easy to prevent people from dating subordinates in the workplace.

I think you are terribly naiive.

Why does someone have the drive to climb these corporate power structures in the first place? What's the point of power if it's not being (ab)used?

If you want to accomplish something, you're better off starting a company rather than climbing one.
Cf. "Air well" https://en.wikipedia.org/wiki/Air_well_(condenser)
not a problem for SMTP, which is store-and-forward.
Thank you, gate keeper of Burning Man, for deciding and letting us know what Burning Man truly is.
This is really interesting. I'm a big fan of any abstractions that reduce the amount of code I have to write. Just a personal preference. Other programmers like to avoid "magic", but I love it.

`useEffect` feels much cleaner than the component lifecycle methods, and I could add some abstractions on top of those. e.g. a higher-order function that adds/removes a window event listener, and you can just pass the event and your callback.

Maybe `useState` could take a second argument that gives the state a "key", so that it can be called in any order. I can imagine breaking up the `useState` calls into different functions, and then skipping one of the functions if something changes. So it might be handy if there was an escape hatch where you could label each call with an integer or a string.

EDIT: Wow, it would be awesome to use this pattern for my Redux reducers. Instead of having to connect up all the actions in my container and then prop-drilling all of the dispatching functions down into my components, it would be great if I could just import the action creator directly and use it anywhere I want. Maybe I could add some similar hooking magic to find the store from the Provider and call dispatch with the action, instead of manually wiring everything up. Although actions are usually called after the render is finished, in onClick handlers, etc.

Or maybe I could do this with Context. I'm just really tired of prop-drilling all these action dispatch functions down to my components. There must be a better way to automate all of the boilerplate with actions and reducers, even if it's a Babel plugin.
You have a very naive view of the quality of isolation Qubes OS can provide. It is currently basically sanely configured Xen domains with some python helper scripts. There is nothing in the way Qubes OS does isolation that would suggest some exceptional expertise in process isolation. That kind of expertise is more appropriately sought in projects like sel4, Genode, etc.
And what would `this` be in that function?
Not sure if you could back that up.
I assume you say this because tech-savvy people will not use IE?

But that is assuming the content is aimed at this group.
If an older version of react is the goal, maybe infernoJS would be the ticket. It's way more performant than most versions of React while being mostly API compatible (not sure about the most recent react changes).
"David C. Drummond, who joined as general counsel in 2002, had an extramarital relationship with Jennifer Blakely, a senior contract manager in the legal department who reported to one of his deputies, she and other Google employees said. They began dating in 2004, discussed having children and had a son in 2007,"

I don't understand, doesn't she bear some responsibility in her actions? She chose to date him and also chose to have kids with him. All knowing that he was already married. Why would she do that to another woman?
nope. it's only fractionally more difficult as "the man" has to physically come to your house.

additionally, email is more usefully between 2+ parties. For normal people, the other parties are very likely to be using a cloud email provider. I would not be surprised to learn that it is common to issue a warrant not for a specific recipient, but for anyone that has corresponded with a specific person, ie for the sender instead of the receiver -> google, give me all emails sent by user@foo to any user on your server.

this is actually a big problem of SMTP and a big weakness of helm. i didn't study the product but it seems that it would be difficult for a user to know (and prove) that another user is a helm'er. if data seizure is the issue you care about, protonmail and other such services are a better solution.
The paper's abstract suggests it was not:

https://jamanetwork.com/journals/jamainternalmedicine/fullar...

>> Design, Setting, and Participants In this population-based prospective cohort study among French adult volunteers, data were included from participants with available information on organic food consumption frequency and dietary intake. For 16 products, participants reported their consumption frequency of labeled organic foods (never, occasionally, or most of the time).
It does seem tricky. A worthy adversary even.

Look 10 years out in the future though and I think it is easy to imagine 1) many more people care about this 2) the urgency they feel is increased. Can we start with the Patagonias of the world (there are many others) and build some traction? Can we make it something that young employees want and bring transparency to which companies participate? If it can give a slight edge to McKinsey over Bain for example, the cost is trivial.

[Update regarding above: no YC interview, which is understandable based on where things currently stand]
Ask HN: What API do you wish existed?
I think it's largely irrelevant. Do the kings of today have a harder or easier time maintaining the status quo? I think most changes and fluctuations there are more attributable to chance (i.e. mechanisms we don't understand) than our conscious efforts. The same devices that surveil can also empower, in the end it could be a wash. We change the world around us but I'm convinced there's a certain homeostasis to our social and cultural experience, at core we're having the same conversations and dealing with issues analogous to the ones they had 3000 years ago.
Could also go the other way: people ride-share more frequently, even as a socialising activity, since they can sit and talk with each other while the car does all the work ..

And, the next obvious step: private car ownership becomes a distant memory.
This is why we need to be a bit careful about the "there are no problems if it's legal" message. Yes, being illegal does cause considerable harm, but legalisation doesn't eliminate all harm.

Some people would like to have a little bit of legal amphetamine every now and again. Some people just want to get off their fucking gourd. At the moment it's hard to tell the two groups apart until they start using.
Snapchat loses 2M more users and shares sink despite business growth
> What do you do when you want to update state in other places in response to a change in a component?

In 90% of the cases one of the parent components. Sometimes redux when the component tree goes super deep, or for things such as currentUser.

> How about if you want to make your component's state persistent (particularly when the component is external to your project)

What do you mean? Give me an example.

> Also, what do you do to generate state dumps for error reporting?

I don't generate state dumps for error reporting.
It'd be really great for VDOM, builder APIs, and any immediate mode -> retained mode mapping, to be able to get the _callsite_ of a function invocation. Then they could associate state with the callsite unambiguously without resorting to tracking invocations on a stack and disallowing control flow.

Tagged template literals already give us something of a callsite, since the template strings object is cached per callsite. You could do something ugly and use that to associate state:

const state = useState``();
I didn't know this (I'm not much of a sysadmin), thank you for the information!
I believe this is the EU's approach to on-device firmware.
The only difference is that Gates was CEO and owner so no one good force his subordinate to change jobs.

When Brin cheated on his wife with his assistant, she wasn't forced to change jobs.
Here's a review of the same study from the NHS:

"Despite the encouraging media reports, this study does not prove that eating organic food will protect you against cancer."

https://www.nhs.uk/news/cancer/eating-organic-food-linked-lo...
The way academia works makes absolutely no sense. And then people wonder "why do so many people are <<anti-scientific>>?". Well, maybe because it's all done by a priest-caste cartel, shielded from reality in ivory towers, and then presented to the public in a similar way religion once was forced on peasants (taxes included). Academia is the modern priesthood: usurping the right to all knowledge, in bed with the state, corrupted to the bones, fighting heretics.
I think they’ve upscaled using Lanczos resampling and have then done wavelet deconvolution - the thing is furry with artefacts, and looks just like when I push an astronomical image too far.
So wait, the AAA developers not supporting don't count against your argument? Even in the case of Blizzard who has famously been one of the biggest Mac supporters? Isn't "all AAA support Mac... except all the ones that don't support Mac" a tautology?

Also, just noticed that you lumped in Unity with AAA, lolz. What's next libgdx?
Facebok's Fast, Modular Semantic Segmentation and Object Detection in PyTorch
Now this is really awesome! Nostalgia all the way
UK ICO fines #Facebook with maximum for #CambridgeAnalytica scandal
> save all values everywhere: why not select the one that would last the longest (that people delete least often)?

For improved resiliency.

You can also configure IronDB to only use any two datastores of your choice, if
you so desire: IronStorage's constructor takes an Array of storage
implementations of your choice. See https://github.com/gruns/irondb#api.

> So you delete data when the user wants to delete data. Which database doesn't have this feature?

A database where the data therein can be deleted without warning. Browsers
unceremoniously delete IndexedDB, LocalStorage, and SessionStorage under storage
pressure. See
https://developers.google.com/web/fundamentals/instant-and-o...

> doesn't use Flash, Silverlight, or Java -- which do?

Evercookie, a similar library, uses Flash, Silverlight, and/or Java.

See https://github.com/samyk/evercookie.

> No offence to the author but all this sound malicious. Perhaps this is why evercookie isn't maintained?

No offense taken.

Thank you for your feedback, kreetx. Don't hesitate to let me know if I can answer any other questions, or if there's anything else I can do for you.
Spenger's restaurant in Berkeley unexpectedly closes after 128 years of service
I'll have to check them out, thanks for sharing. I did hear of another blockchain carbon project, but this one seems more promising at first glance.
Have they figured out how to deal with the abrasive lunar dust yet?

https://www.sciencedaily.com/releases/2008/09/080924191552.h...
He has a point though... Cars are manufactured in such way that when something fails, the failure is not catastrophic. Car might not be operational, but it is very rare that malfunction causes a crash. With SW I'm not convinced that the same can be accomplished. If you add 3rd party maintainers to the mix, it gets even worse.

I still think the right to repair is worth the risk, just pointing out that it's not so clear cut.
Except for not updating the documentation and or bugs it is a good change.

Privileged ports never had much purpose, and were designed to address a hypothetical ("what happens if I let untrusted users run bad code on my system, if a root processes crashes they could tie a user process to that port first!").

But if you want to allow users to run untrusted code in user space and restrict what they can do, you're better off relying on actual security technologies, rather than hacks like <1025 restrictions (e.g. Network Namespaces, iptables, AppArmor, SELinux, Containers, et al).

On MacOS it is even more hypothetical since it isn't even a server OS so already running a untrusted process in the primary user's context is the whole farm, since on a mostly single user OS that's where all the cool data to steal already is. You want to steal my identity, my credit card, my web-passwords, my private photos? No need for root, user space has all that!

Plus if you're really worried about service impersonation then utilize certificates, the benefit of that is that you aren't just protecting against evil processes, but even network hijacking and other upstream threats. If the service you're concerned about doesn't support public key crypto then wrap it in a tunnel.

You won't see popular UNIX (Linux, BSD, etc) ever lose privileged ports, but realistically if you re-invented them today that would be a laughable concept and you'd just talk about Network Namespaces or other cool jail tech'.
Is this just a correlation or it's something more thorough?

People that have more money or are more health conscience tend to have better health could be another explanation.
Firstly as pointed out in other comments they were measuring income. People at higher incomes in the 80s were probably more likely to retire early or "on time". A more representative number would be wealth which I would imagine is probably horrifying in the vein that the parent and grandparent meant. People living hand to mouth in the 80s were probably doing the same in 2014. People who could save probably weren't.

Even just from the numbers presented imagine the lower percentile person who was making say 10k in constant dollars in the 80s. They're making 20k (100% increase) in same dollars in 2014.

Imagining the person in top was making 1,000,000 dollars in constant dollars they dropped 29% so they're now "only" making 750kish.

I know which group I'd rather be in.
Google employees be like

Working with China? nope

Working with the US Army? nope

Sexual harassment? who cares lmao
> My hunch is it's only a matter of time before someone creates a helper that would enable `useState` to take complex objects rather than calling it multiple times.

You can already do that, although it's not _exactly_ the same as setState in a class (states aren't merged together... but if you really wanted to, it'd be about five lines to implement a custom hook)

const [state, setState] = useState({
foo: "123",
bar: "abc",
});

function updateBar(nextBar) {
setState({ ...state, bar: nextBar });
}
Search is not about discovery. It’s about already knowing what you want. (Or it should be, Google’s steps away from this are what irritates everyone.) Try Pinterest.