skysight-inc/HackerNews huggingface dataset:
This doesn’t work properly in Firefox: `event.path` isn’t a thing, so clicking to open or close does nothing.

—

When dealing with Web Components, I think it’s worthwhile for you to consider their degraded state, for the benefit of while they’re loading, and if they fail to load (e.g. JS disabled, too-old browser, or a poor network connection). I personally have uMatrix installed and blocking most third-party JS, so your code from cdn.jsdelivr.net didn’t get loaded, and the content was just completely missing.

How might this be improved, then?

<scripture-passage api="crosswayApi" reference="Acts 17:24-25"></scripture-passage>

The answer is clear to me: shift the reference from an attribute into a text node:

<scripture-passage api="crosswayApi">Acts 17:24-25</scripture-passage>

How about the list?

<scripture-list
api="crosswayApi"
reference-list='["2 Timothy 1:9", "James 1:18"]'
></scripture-list>

Semantically this feels odd: it’s one element, but it should be multiple. How about this instead:

<scripture-list api="crosswayApi">
<scripture-passage>2 Timothy 1:9</scripture-passage>
<scripture-passage>James 1:18</scripture-passage>
</scripture-list>

I’d even suggest considering whether to use <ul> and/or <li> for these, in one way or another. If not, perhaps it might be worthwhile having <scripture-list> strip all text nodes inside it, considering only <scripture-passage> elements, and get in the habit of putting a semicolon after passages that aren’t the last in the list: that way the fully-degraded experience will be “2 Timothy 1:9; James 1:18”.

—

The `api` attribute feels more verbose than is ideal: I imagine that most uses will have only a single value through the page. Therefore I recommend making it optional, with some other way of specifying a default, with my first-thought strawman syntax being <meta name="scripture-api" value="crosswayApi">. (You may have observed that I took the liberty of lifting it from the passage up to the list in the last example I showed.)
Many US cities have a lack of public toilet and sanitary facilities. And it is a problem for everyone, from homeless to tourists. Even NYC is not particularly good at this.
They went to a psychologist for a diagnosis, after grades started to slip, and received it. The author also mentions that they dislike ADHD medications.

My curiosities when reading this article :

Did the psychologist actually fix the slipping grades in any meaningful way? If so, was it through pharmacological methods, or some other technique? If it was dealt with through prescriptions, and the grades improved at the sake of anxiety, is that (graduating college with better grades) worth it? If it's worth it, should that behavior be drug into life as a founder -- presumably due to some sort of advantage that those pharmaceuticals may provide, and the anxiety just dealt with somehow else?

These are all honest questions, if anyone cares to share their take on the situation with me. I've been in similar situations.
Not worth it for the potential brain damage
Another datapoint checking in for choosing wood floors for the health and easy cleaning.

I find polished/varnished concrete floors really nice too but with those I'd be worried about hitting my head if I fell over - even wood is relatively softer.
> Is this a new heroin, why the 10x leap in needles in five years?

1. Hand out opioids like candy. Everyone has pain now and then(backpain, dentist, etc), so everyone gets to try them.

2. People become habitual users and in some cases junkies.

3. Restrict the supply of OTC opioids, while continuing to lose the war on illegally supplied drugs.

4. Addicts and people looking to avoid getting dopesick look to heroin for its low-cost and relative abundance.

Now you have a major spike in heroin users. From what I've heard, a lot of people switch to heroin because it's available. They switch to shooting up because it's cost effective.

When you're high as a kite, sleeping in the street or being covered in shit really doesn't bother you. When you're obsessed with getting another fix, you tend to lower the priority of 'non-essential' activities like bathing or eating.

Note that not all addicts end up sleeping in gutters. I learned via a friend that there are many hidden addicts in society. There are professionals who shoot H just to maintain and avoid getting dope sick. I think the perceived lack of opportunities for low-skilled and older workers has contributed to a situation where many would rather get high and be homeless than struggle holding down a 9-5 just to go broke at their first health crisis.
I think the best description of ADHD I heard was that it has more to do with an "attention-switching" deficit. People with ADHD are capable of intense focus on highly stimulating things like a good book. The intensity of focus drowns out everything else, making it hard to deal with other important tasks until the book is finished.

It's also much more difficult to maintain their attention on things that are no longer stimulating.

So ADHD folks are great at starting interesting projects, but once the space of possibilities has been narrowed down and all that's left is hammering it out, it becomes intensely difficult to maintain attention on that due to lack of stimulation.
> My argument made an appeal to the emotional state behind both situations.

Yes and my point is that the comparison isn't apt.

> The point is that disenfranchisement of a large group of people would lead them to seek action against the government.

You mean like how those in urban centers are disenfranchised under the current system? "When you're accustomed to privilege, equality feels like oppression" seems to apply.
it sound like your argument is essentially that medical professionals cost too much money and have too low availability to make it worth your effort, is that correct? if so, may I ask where in the world you live?
Mokusatsu: One Word, Two Lessons [pdf]
Having been in the situation, all I can say is that sometimes you have to expect "shocking" gaps when working with inexperienced people at not let it throw you. It's part of being a teacher. You have to remain positive. If they're quick to learn it when you teach it to them, it's fine. This is learning on the job and it's expected.

That happened to me at Google for someone who didn't come in as a software engineer. I didn't handle it well and it's one of the things I most regret.
Does Seattle has services like this? It seems that lately there has been garbage literally all over the entire city and no one seems to care or clean it.
No more reckless than doing the same with Tesla Autopilot.
The Inuit don't shout at their children – so why do we?
ADHD isn't just overdiagnosed, it's both
https://slatestarcodex.com/2014/09/17/joint-over-and-underdi...
How, as an adult, did you get a doctor to diagnose ADHD? Every time I've brought it up with a healthcare provider, I lay out my difficulties and coping mechanisms, and the conversation ends with them saying "Well, it sounds like it's not much trouble for you. Anything else?"

I just don't know how to make them get it. I feel like I have so much potential for success, but I can't harness it.
Could it be? A coin from Africa? But who put it there, and why? Could it have been the Knights Templar? For Rick, Marty, and the team, it's been a week filled with more questions and fewer answers.
Perhaps the problem is not China in particular, but the substitution of trusting brands for trusting reviews. Great Chinese brands exist, like Anker, but people still seem to go straight for that 5-star (probably fake) lorem-ipsum-esque brand at half the price.
Am I just out of touch with what the kids today are doing, or is this formatting really as bonkers as it seems?

int main
( int argc
, char *argv[]
) {

// ...

LColor backgroundColor =
LColor
( generateLightColorPart(207, 1)
, generateLightColorPart(154, 1)
, generateLightColorPart(108, 1)
, 1
);

// ...

}

I can (sort of) see that this makes it easy to comment out parameters - except for the first one...
It feels pretty silly to call 311 when I can literally see a group of police at the end of the block clearly making sure that the dealers addicts are right here instead of on the main road that gets most of the tourist foot traffic.

They already know.
Delphi was a Windows-only product. Delphi 1 and its predecessor, Turbo Pascal, only supported far pointers to data, and could support far or near procedure calls with an annotation (essentially, a compiler pragma).
I thought on initially reading the title he was claiming the company had ADHD, which seemed like carrying corporate personhood a bit far. Though it could be briefly diverting to diagnose the disorders of major tech companies.
>There's a long list of things Autopilot can do that Openpilot will never be able to do with existing hardware.

Such as what? Autopilot is completely vision/radar based as well. Sure it has a few more cameras for a greater margin of safety, but its' effective capabilities are the exact same. It's still completely reliant on tracking lane lines, the user has to disengage at stop lights, and it can't make 90 degree city street turns. The only real difference I can see is automatic lane switching, which is available in some Openpilot forks.
None of that implies "does not disrupt aquatic ecosystems."

Soap disrupts aquatic ecosystems.
I may be misunderstanding this, but it looks like the Obama campaign was able to access the entire social graph of people who knew that they were contributing information to the Obama campaign. So for example if we were Facebook friends and they got you from my social graph, it would be because I knowingly let them have access to my information knowing it was for political purposes.

According to the Wikipedia article on the CA scandal [1]:

> Cambridge Analytica in turn arranged an informed consent process for research in which several hundred thousand Facebook users would agree to complete a survey only for academic use. However, Facebook's design allowed this app not only to collect the personal information of people who agreed to take the survey, but also the personal information of all the people in those users' Facebook social network. In this way Cambridge Analytica acquired data from millions of Facebook users

So, both got more information than the sharers intended (namely, information from people in their social graphs), but in the Obama case the root nodes of any such information trees were people who knew they were sharing with the Obama campaign whereas in the CA case the root nodes were people who were told that they were sharing only for academic research.

That seems to me to be a pretty big difference. In the Obama case if I'm a root node, the abuse is that although they used the information for the purposes I intended when I gave it, they got more information than I may have intended to (or had a moral right to) give. In the CA case if I'm a root node the abuse is that plus them lying about why the information was being collected.

[1] https://en.wikipedia.org/wiki/Facebook%E2%80%93Cambridge_Ana...
I used to love it, then I tried other soaps. It's insanely drying on my skin and god forbid you use it on your hair. I actually prefer detergents over soaps now(acidic pH, better skin). I appreciate the company though. They're good people.
> I knew I was lazy

And absent minded. And flighty. Thats why the homework never got done. Can binge on a video game for hours and hours, with a singular, obsessive focus. Therefore, no attention problem, right? (WRONG!)

Talk to a doctor. Do be wary of the temptation to explain away all these failings that you presume are choices... thats always a very attractive scenario... but get a professional opinion.
if you don't have the money, how do you have the time?
I don't know if I have ADHD but I really identify with the things you're saying.
Whenever I have more than 10 tabs open, I add all of them except the one I'm actually reading right now into a 'to read' bookmark. I have hundreds of such bookmarks and sometimes when I'm in the mood (ie. bored and distracted) I'll rummage through it.
Who is the 'we' exactly? Perhaps, in my cynicism, it's an attempt to sound like 'we're all in this together everyone! hugs'

Maybe this is not a kumbaya moment. I'm guessing the 'we' breaks down the moment someone defaults on their loan hey?

Maybe the reality is that student loans are a zero risk gravy train - a bonanza for greedy, rapacious companies who can lump 20 year olds - kids basically - just starting their working lives with a lifetime of indenture that they can never break free from - regardless of how their life circumstances may change.

It is the ultimate business model! (Of which I'm guessing you're a part).
>>>you know it won't be total junk" sales pitch.

Costco does this. Everything sold in costco is super high quality best of breed.
You’re presumably washing your privates, with scented soap. If they still have an unpleasant odor after that....well...???
I think that's something considerably more local to your environment and circumstances than the whole US.
I think that will be niche if it is at all viable. Most of the shared economy type companies flamed out as it turns out specialization and scale offen matters.

I think other models are much more likely. In Brooklyn, the pizza joint Roberta’s opened up a delivery only kitchen after building a successful restaurant. Others in nyc have opened restaurants after a successful ghost kitchen. In the food truck craze, often the successful trucks leveraged their brands to open physical restaurants.

I think industrial kitchens initially allow restaurants that already have a brand to send chefs to the industrial kitchen to handle the delivery load, saving the cost of restaurant space and making delivery logistics easier. I think industrial kitchens will also make it easier for a young chef to start building a brand with less capital.

I don’t ever see the model working where you go to apartment 301 to grab your takeout order.
It seems to hearken back to the 20s or 30s? when everything you can say about a product was labeled on the product: https://i.pinimg.com/originals/32/cb/43/32cb43687e9d39e31466...
I wouldn't be too sure about that. Maybe that's your reason for preferring wooden flooring, but I know me and most of my circle prefer it because it's seen as higher quality and more sophisticated than carpet. It's like the exposed brick of suburbia. I've also got no allergies.
Reminds me of how Elm lists are formatted; I have a hunch it may be something more common in Haskell, but that's pretty much a shot in the dark.
Well, there you have it. “Coochie” is mainly funny among American schoolchildren. And I doubt that this site is targeting schoolchildren as potential customers.
Experts in the field might not have much time to make and promote a youtube channel, because they are busy writing these books and papers.
This is a good point. We have some concerns and evidence that neural networks do memorize their training data.

Also, the "untraining" idea is an open research question (I just saw a talk about it). We don't know exactly how to do it yet, definitely not in general, but "impossible" is too strong.
This is absolutely true.

All these leaders:

- Adm. William Leahy (President Truman’s Chief of Staff)

- Henry Arnold (US Army Air Forces commanding general)

- Adm. Chester Nimitz (Commander in Chief of the Pacific Fleet)

- Maj. Gen. Curtis LeMay, (head Bomber Command)

- Gen. Dwight Eisenhower

are all on record as acknowledging that "Japan was already defeated". [1]

[2] Japan knew they could not win and were concentrating on obtaining the best possible terms of surrender, hoping that Stalin might be convinced to mediate a settlement between the United States and Japan.
This hope was dashed by the Soviet declaration of war and invasion of Manchuria and Sakhalin Island, which happened at 1 minute past midnight on August 9, 1945 [3].

Another important factor is that Japan had good reason to be wary of USSR military might [4].
It's arguable that Japan's fear of fighting the USSR is the reason Japan went east (to Pearl Harbour) instead of west (to eurasia) in Dec. 1941 [5].

[2] and [5] are thoroughly researched and make compelling arguments.

[1] https://www.thenation.com/article/why-the-us-really-bombed-h...

[2] https://foreignpolicy.com/2013/05/30/the-bomb-didnt-beat-jap...

[3] https://en.wikipedia.org/wiki/Soviet%E2%80%93Japanese_War

[4] https://www.warhistoryonline.com/war-articles/effects-nomonh...

[5] https://www.amazon.com/Nomonhan-1939-Armys-Victory-Shaped/dp...
interesting.

got a link or reference? would love to read more
Your `api` attribute recommendation is nice. I've seen similar attributes needed to specify access keys, like for the <google-map> element. <meta name="google-maps-key" value="..."> is a lot nicer.

event.path is from the "v0" APIs, that should be event.composedPath().
The meal shipping services charge over $10 per meal. If I could feed myself by paying $2 per meal I would do it. I see no way that the food can be priced that low.

This is one bet I would be willing to make and since Cowen is so fond of prediction markets maybe we could setup something with Augur.
> If we change foo2 to a declaration (such as would be the case if it was defined in an external translation unit, and its declaration included via header), then Clang can no longer observe whether foo2 definition differs or not from the declaration.

I tried enabling link time optimization on clang-8, it does see through and eliminate redundant xor instruction in foo2(). gcc fails to do that, however. I inspect the result by calling objdump on generated object code.
Oracle's history as a company. Oracle suing Google over duplicating Java APIs. In reality though, they have moved Java much further than Sun has after it got stuck on 6, and merged the closed JVM with OpenJDK. They did pull a "if you don't switch to OpenJDK we'll charge you boat loads of money to use our JVM with LTS support" when they finished the merge though.
There are many good recommendations here, but I’d add that reading books about mental models is worth 10%, while practice thinking about real situations is 90%.

To get practice, you can’t just sit and scratch your chin. You have to make a predction, write it down, then see how real life played out a few years down the road. It helps to write down predictions you considered but rejected and why.
Very cool, how did you generate this?
Depends how much of the volume of bitcoin trading is done on tether exchanges and how real that volume is.
Believe me, they are dying to get you to leave. Restaurants and servers make their money by doing as many turnovers as they can in a night. If you’re blocking a table the whole night, that’s money they are losing, and they desperately want you to leave. They’re just trying to be polite and/or don’t want a bad Yelp review. When they give you the bill and say “no rush”, they’re lying.
A lot of people have ironically quit Facebook in favor of instagram. I personally know of many who've quit Facebook but I don't know anyone who've quit instagram or WhatsApp
> SF can learn a lot from Portland.

SF can learn a lot from Houston, Dallas, or San Antonio: they don’t have city blocks covered with shit, needles, or people living in tents on the sidewalks. The more SF “helps,” the more they attract. Houston is the 4th largest city and has a fraction of the homeless. Red districts seem to have less income inequality and fewer homeless and lower poverty.[1]

The San Francisco Approach seems to always be “let’s spend more money on the problem.” But basic economics suggests that subsidizing something gives you more of it. For example, unemployment benefits in France are extremely generous, and you have double and triple the unemployment than in the US. Many people in France stay on unemployment to the last possible moment before they seek a job because the system incentivizes just that. The problem as I see it is that liberals tend to make policies from a position of emotion, such as “we can’t cut <some program> because that’s cruel.” However, it is just like feeding stray cats: you feed them and that promotes more strays. If you raise a Lion in captivity, they never learn to hunt and thus they are forever destined to being the wards of the state.

This is a highly unpopular opinion around here to be sure, but if we are being honest, the current policies promote a society of dependency. San Franciscans often cite a pleasant climate as a reason for so many homeless choosing to live in the city, however, for a homeless person, San Francisco weather is a lot colder and more miserable than many other places in the US. So why does San Francisco have such an incredible addiction and homeless problem? Perhaps it’s policies that allow homeless people to shoot up on the street? Perhaps it’s the higher availability of homeless services from well-meaning, but naïve non-profits? One of the richest and most liberal cities in the world — and a profound homeless problem. Is there a correlation? Could the policies of liberal Portland and San Francisco actually be the problem? I had to spend some time in New Haven and Hartford and, as someone from Texas, I was amazed at the total slums right next to gated millionaire neighborhoods. Despite high taxes to “help” the problem, it only seems to make it worse.

What am I missing? I am not trying to throw gasoline on the issue, but I genuinely don’t understand. California is almost 80% Democrat, so supposedly, the state is unencumbered by pesky conservatives, yet the problem seems to be getting progressively worse. It isn’t the federal government’s fault because otherwise there’d be similar levels of problems everywhere else.

[1] https://www.axios.com/income-inequality-blue-red-districts-6...
Ask HN: Good Alternatives to One Note
I've used a variety of different softwares for my organisation systems, but they all seem to be lacking. One note seems to be the only one that works, but their sync issues are so bad that it makes editing from multiple devices painful as hell.

I have 3 main functionalities that I am searching for:
1. Allow me to organise my pages (rules out Evernote)
2. Has table functionality (rules out notion)
3. Can be used on the phone (rules out desktop-only solutions)

I've been looking for ages and have found nothing that suits.

If anyone has something that fits this description, it would be a game changer for me.
This feels like revisionist history to me. There have been more job losses in the print and publishing industry and there are more workers in the solar installation industry - the only reason why the coal miners get extra sympathy is because it’s politically expedient.
What "broader view" is there for employers to take? The parent comment is correct: if you do 2 years at community college and then 2 years at UMD, you're going to have a UMD degree. There's nothing for the employer to have an opinion about.
Can't you do that already with f(...)?
Been in Nashville for about a year and half. Prince's Chicken is the best I've had, but of course Hattie B's is the most popular. Pro-tip if you in Nashville and don't want to wait in the huge lines at Hattie B's, it is rumored that Party Fowl was founded by somebody who used to work there and stole the recipe. Go to Party Fowl no lines.
Depending on what you consider "work with github repos" here, you can import then as emily said above, and setup a push mirror, so whatever you do on gitlab is pushed back to Your fork on GitHub, so you can do PRs there.

The way to interact between the two without this sort of functionality would be if both agreeded in some sort of federation access. I don't see GitHub allowing that anytime soon, as that would reduce their lock-in effect.

We have an epic for Distributed Merge Requests: https://gitlab.com/groups/gitlab-org/-/epics/260 and an issue to discuss ideas about Federated GitLab: https://gitlab.com/gitlab-org/gitlab-ee/issues/6468
Society - all of us, insofar as we are imperfectly represented by our Congresstrons.