skysight-inc/HackerNews huggingface dataset:
The whac-a-mole [1] tendency of psychiatry is revealed by this line from this submission's link:

> Assessment and treatment of vitamin D deficiency should be considered in in-patients to protect musculoskeletal health. Further epidemiological and intervention studies are needed to investigate the role of vitamin D in the pathophysiology of mental disorders. [emphasis added]

The full context of vitamin D synthesis and conversion is relevant, not just "protect musculoskeletal health". Vitamin D is manufactured in the skin from cholesterol, but has to be activated in the liver & kidneys through "enzymatic conversion" [0]. Cholesterol is manufactured in the liver. If a person's liver is burdened by "stress", malnourishment, etc, it won't have the capacity to produce cholesterol for the skin to turn into vitamin D.

Mental disorders are fundamentally related to stress and metabolism. Stress takes many forms; emotional stress is the most important. The whole organism's metabolic processes are relevant when figuring out the cause of "mental" problems.

Just the other day I talked with my ~50y.o. Canadian friend. Her brother is dying from complications of drug addiction (opiates and everything else). She said he never had a good relationship with their father, and was devastated when their grandfather was killed right next to him in a farm accident (brother was 16 y.o. at the time)...

[0] https://en.wikipedia.org/wiki/Vitamin_D

[1] https://en.wikipedia.org/wiki/Whac-A-Mole :

The term "Whac-a-mole" (or "Whack-a-mole") is used
colloquially to denote a repetitious and futile task: each
time an adversary is "whacked", it only pops up again
somewhere else. In a military context, the term is used to
refer to ostensibly inferior opposing troops who keep re-
appearing. In a programming/debugging context it
refers to the fact that fixing a bug has a certain chance
of creating a new bug which itself needs to be fixed.
In a web context, it refers to the process of fending off
recurring spammers, vandals or miscreants.
I'm in the same boat as you. I work from home and so does my wife. I'll just be passing by to go to the bathroom or something and she'll want to have a 20 minute conversation about something. I don't want to be rude, but I'm thinking "I gotta get back at it.."

My memory has never been great, which isn't ideal for being a programmer. Lately, I've had a text editor opened up separate from my code editor where I kind of document my train of thought - especially on fuzzy, complex stuff.

For example, we run everything out of Azure, but I've noticed that for our various environments, but same applications, things are setup in an ad-hoc manner and a little bit different, but still work.

So basically I'm just documenting my train of thought as I setup a new application environment - nothing formal.

That might seem obvious to other development shops, but we're just a couple guys flying by the seat of our pants and things get messy quickly, and memories fade.
I like the flexibility React provides. I’m working on two React apps right now. One using Apollo and the other Redux. The two libraries fit each app’s unique needs very well. One app really is a single page (it’s a drag and drop design tool) and so doesn’t have a router. I like that I can just bring in exactly what I need.
Counterpoint: as a gay Californian (and a SF homeowner to boot), I strongly identify as a YIMBY.

Aside from selfishly wanting room for more local colleagues at my startup, it's my mission in life to preserve California as a refuge for persecuted LGBT people across the country. The best way to do that is to build more housing and stabilize rents, not to block sorely-needed high-density housing because there used be a historic gay bar there 50 years ago that few will remember.
I get the idea behind video ads, but nothing makes me hate a product more that when I want to watch 5 different clips and each one has the same ad before it.
Yep. As a grad student, it was much easier for me to avoid distractions than it is now as a software engineer. If I needed X hours of uninterrupted focus, I would go to the library for X hours.
> To understand if I had the basics right, I wrote a simple UDP sender and UDP echoer. They were 350 lines each.

I'd love to see a quick writeup (the code, the setup steps required to run the code).
Again each piece you have named can be done in an "older" tech which was the original point of this thread. Every few years the tech industry reinvents the same tech and a new generation of developers think mana has fallen from heaven, when in truth it is the same as the last round with new buzzwords attached.
What’s the most rewarding part(s) of your job?
> I'm an Amazon business owner so I get to work on whatever I want in that there's a great variety in the work I can/need to do. It feels good to tackle tough projects, complete them, and reap the rewards.

What part(s) of your work makes you excited?
> Learning something new that intimidates or scares the crap out of me. When I'm researching product ideas or launching a new physical product, I'm always researching something new and then becoming as much of a domain expert as possible on it. I love learning and would do this for free, so I like that I can pursue my interests/tickle my curiosities and also make money.

What part(s) of your work makes you proud?
> It's rewarding to clearly see the results of your work in $ but I don't actually find my work that rewarding yet. The more I learned about the industry, the sadder I've become. When I can create products that are more sustainable and ethical, I'll be a lot prouder and happier.
>Not sure mass murderer is on the money like it is for Stalin and Mao

umm. Andrew Jackson... look up the trail of tears
This suggests that large parts of C/C++ can be 'simplified', which I think is a falacy, resulting in CPY to be a proper subset of C/C++. Already the introduction of a keyword like 'known' shows that the simplification is not as simple. I suspect that many new keywords needs to be added to support the full scope of C/C++ within CPY.
I think whataretensors's point is that we should be assertive to our own needs regardless of how employees in other fields are typically treated. IOW, it's not that they must be below us or us above them, but that we should not settle for less than what we can and allow our de-facto standard conditions to worsen on the rationalization that those are the conditions other employees in other fields work in. If other fields demand better conditions and get them, good for them.
> You can guarantee there is > 50% chance you win on the first guess.

You mean "greater than" and not "greater than or equal to"?

The latter is easy; lots of naive strategies accomplish that. But the former implies that you can declare a strategy and the puzzle offerer cannot then pick a distribution that defeats it. It's hard to imagine how you could get >50% for example if the puzzler's strategy is to pick N and N+1 for very large N.
Firefox has it. Menu > More > Work Offline.
They let you use headphones and listen to stuff while doing exams?

Also, as the other commenters said, do not damage your hearing.
Then they should have waited. Google gets zero leeway for this kind of behaviour from me. Especially considering how hard they leveraged google.com to push chrome.
One thing that might help is that the collision vertex is slightly different each time. If you already had all of the tracks reconstructed, you'd find that you could point them together into n different centers of mass from which they originated.
I'm in QC as well and was lucky enough to land a 65k job right out of school, so it was awkward to see my classmates not only accepting 45-50k salaries but also trying to rationalize them. I think you might be right about the taboo.

But otherwise I love Montreal. My salary today is definitely peanuts compared to SV but I live comfortably here and I saved way more than 12k during school thanks to internships and the low tuition costs you mentioned. The city is very culturally rich and I just really enjoy it here.
Large capacity backpack for baby care multifunctional baby
WPS Office and PDF v10.9.5 [Premium Mod] Free Download APK [Latest]
The Cerberus Memory Object Semantics for ISO and De Facto C
Im also curious about this, they use the same netfilter backend
"""
But I do think that you can improve your resilience to interruptions if you:

Come up with a solution to a problem before you start writing code, and think about which parts of the system that solution will impact.
Divide the solution you came up with into small chunks, so you can take them one at a time.
"""

That may be true, but I think it comes at the cost of taking more cumulative time. I can either knock out this feature in three hours, or I can spend an hour breaking it into six half-hour chunks.
A simplified model of the task. You throw 10,000 springs of various sizes (particle trajectories) into a box and record the intersection points (hits) with a set of (spring-penetrable) nested cylinders (detectors) in that box. You will get on average about 10 intersection points per spring. Now given those 100,000 intersection points, reconstruct the size, position, and orientation of the 10,000 springs. Lets add the facts that all the springs are aligned along one axis and that the cylinders are nested around that axis to be geometrically closer to reality.

The hardness is due to possible ambiguities of what collection of springs caused the observed intersection points, imperfections in the helical shape of the springs and the cylindrical shape of the detectors, limited resolution of the measured intersection points, and missed (detector efficiency »only« 99 %) or added (detector noise) intersection points.
Show HN: An upcoming js-library to realize visual DOM-Selections
I think the only sane approach is to apply a Kolmogorov-shaded Occam's Razor, and select, from the set of possible sequences which fit the pattern, the one which has the simplest generating function.
It is an interesting thing to contemplate, how there really are “leading” and “trailing” cultural activities. I noticed this in Australia how culturally, they were about a decade behind the US (this is not a snipe, just an observation on cultural norms). It is interesting to think that the US is culturally behind Japan.
It leads me to wonder if that really will be our future as well, will we go through two lost decades? I fear we very well may do so.
There at some point needs to be some method for dealing with the crushing amount of debt the US has collectively accumulated, and with internal “growth” so low (low birth rates as pointed out by the author). I see there eventually being no other choice than some sort of devaluing of currency to relieve the debt situation.
The question is, what happens then? Do we go through a period of economic stagnation?
If so, what happens to those “left behind”?
I'm sure we both know that voters vote for representatives, not laws, so that question is not applicable. But in general, there has been popular support for things like "patriot act", and wars, as measured in polls.
Afaik thunderbolt is packet switched?
(I'm primarly a developer, not sysadmin)

Is using non standard ports a reasonable approach? On one hand, it's kind of a security-by-obscurity measure, and it's also a (very minor) inconvenience to real users. However if it's not being used in place of other reasonable security measures, I'm not really sure what's bad about it, but it does feel a bit janky to me.

Same goes for other non-public services such as VPN.

What ports should be used? I think clearly you don't want to use other well known services (eg, running ssh on port 25 is just going to fill your logs with failed connection errors). Should you use ports >1024? >10000?
> Are interruptions really worse for programmers than for other knowledge workers?

Who cares? It's not a competition. The fact is that it sucks for programmers and we want to avoid them.
Lost opportunity: EmaGNUel Mcron.
Watch zeitgeist on YouTube and you can discover the true story of what occurred on 9/11.
For those for whom this excellent description has resonance, I strongly recommend the book, "Why Does He Do That? Inside the Minds of Angry and Controlling Men". [1] It's nominally written about domestic abuse, but its descriptions of abuser psychology and its taxonomy of abuser behaviors have been really helpful to me in a work context.

[1] https://www.amazon.com/Why-Does-He-That-Controlling-ebook/dp...
Pointless jobs abound in both the public and private sectors, but I think these articles resonate because so many white collar workers are largely occupied with projects that will be cancelled before they're finished or whose end product will eventually be ignored by the people who are intended to use it. Most companies just aren't managed very well...
I don't agree with the premise of "we think we're special either", but

Come up with a solution to a problem before you start writing code, and think about which parts of the system that solution will impact.

Divide the solution you came up with into small chunks, so you can take them one at a time.

This makes a lot of sense. I see junior programmers flying by the seat of their pants without a plan too often - I do it too.

I find that stepping away from the IDE/code editor (not looking at code) and thinking about the problem helps a lot. That could also involve a piece of paper and pencil, or a text editor and just writing train of thought stuff. But the key is not to be looking at the code.

His second piece of advice about dividing the solution up into smaller chunks, I also apply to debugging.

When someone comes to me with a debugging issue, the first thing I ask "ok, how do we simplify the problem? How do we get rid some of the extraneous details?" And then keep on iterating over that - keep on simplifying.
If the evil dictator does the naming/numbering then they can guarantee failure. The randomisation of the numbering of the prisoners is important to avoid that.
I would say "creative" workers instead of "knowledge" workers. If your job is to regurgitate a bunch of stuff from memory, interruptions might not be a big deal. If your job is to create new things that don’t exist yet, then interruptions derail you as you need intense clarity and focus to do so. And it affects everyone who is in a creative class job equally when they are in a creative mode: Designers, architects, musicians, writers, engineers, chefs, mathematicians, scientists, etc.

I like to think of it like this: A musician can play for a busy stadium, or a chef can cook for a busy restaurant, if they are playing a song they rehearsed or preparing a dish they made many times. But to write that song or create that dish in the first place, like hell you could do that with all that noise and distraction.
Do such earphones cancel just background noise (like street traffic) or are they also effective against human speech? I ask, because the kind of noise I'm most interested in cancelling is my coworker's chit-chat.
Isn't this a bit of an odd comment, on a story about kernel bypass for high performance networking?
I know that's right.
This doesn't account for the time itself to make a decision. Many middle managers in organizations are not trained or empowered to make decisions quickly. This has serious opportunity cost of time. Nimble organizations make fast decisions which may have an eventual zero sum effect but at least gets there more efficiently, eh?
With wet hands, though, or damp pants, which is not a great look in either club environ.

I would just simply refuse to go to such places, but I've only ever gone at the strong insistence of friends and perhaps the insistence some strong drink.

Perhaps a real-life hack could be to bring sanitizer gel.
Not at all related to the article, but visiting Tokyo, it was immediately interesting to me just how similar to NYC it was. The feel was very New York, except stores close much earlier on par with the rest of Asia. And no one has ever seems to have heard of a suit that isn’t black.

A lot of difference of course, but overall it very much felt like New York to me.

As to the article, no doubt that the world is getting smaller. Good and bad.
> You are going to have to pull in libraries for ... state management

There is nothing wrong with using setState()... You don't have to pull in Redux, which itself is like 100 LOC minus the sanity checks & comments.
I'm working on https://github.com/fiatjaf/accountd.xyz, which is basically a universal association of profiles (identified by a username) with accounts on "silos" like twitter, github, trello and email addresses in general. You can use it either for user login or to post-association of accounts with profiles. There's no documentation, but you can see it working on https://sitios.xyz/ and https://sitios.xyz/trello.

Do you think it is interesting somehow?
This is already what happens. The problem is that forming tracks and vertices becomes much harder as the number increases.
> As already pointed out, detector efficiency is determined through extremely detailed simulations of the entire system.

It depends on the experiment, LHCb for example does not use simulated background.

In any case, the more complex your model gets (number of variables) the exponentially more simulated Monte Carlo events you need to fill that multidimensional space.
> …quick scripts … longer-running ones…

What's "quick" and "long running" in CPU secs on some machine?

What language implementation are we using as a baseline when we say "quick" and "long running"?

Otherwise someone might well say that 8 minutes with TruffleRuby is "long running" and CRuby 2.5 makes "some pretty incredible improvement" over that :-)
The truth is that not "everyone" knows to be critical about political nonsense. Plus, most people I encounter in this state of PA have no idea what the term "critical thinking" implies; let alone deliberately practice it. PA is in the dark ages compared to Seattle. It's extremely sad to see.
Hey just a reminder the state is here to control you and protect property nothing more nothing less.
By charging users. It's the only truly honest way.
Development Today
[NO SPOILERS] Find Who Are You in Game of Throne
Right. To assume people are anything like calves, is incredibly delusional.

Valuing human life for it's own sake is an incredibly recent phenomena, and the jury is still out on whether or not it's a good idea, since we make trade-offs everyday, we just pretend otherwise. (Speed limit on vehicles being the most popular example of this, we could decrease the speed limit and save lives, but it'd inconvenience many people, so we don't.)
Got source for your claim?
Vertex finding is the first step in most track reconstruction algorithms. But it's still very difficult. The number of trajectories that can be formed from discrete points blows up combinatorically. When you have hundreds of thousands of points you usually don't end up with a few easy to find vertices.
It wouldn't hurt to tell us what this actually is in the title.

"Gnu Mcon- a 100% compatible replacement for Vixie cron"

Would be a -way- better title.

HN seems to love to announce random products and updates without telling anyone who doesn't already know what it is.

"Gnu Squanchydoo v3 released!"

TF is "Squanchydoo"? No idea, not going to bother to find out...
That's a pretty good pun, but I'm not sure it's wise to attach this project to a politician's name.
REST vs. GraphQL APIs, the Good, the Bad, the Ugly
> ...antisocial behavior, which means staying indoors or generally away from other people.

That is not at all what "antisocial behavior" means. See https://en.wikipedia.org/wiki/Anti-social_behaviour
I like the app. However audio feedback is not working in Chrome for me. I tried it in incognito and it still didn't work.
Surprisingly progressive. This is because they don't have debtors prison?
One basically needs to implement perfect C/C++ parser in order to accomplish this with sufficient accuracy. Does CPY implement that? No.
Where Workers Pay the Highest Income Tax (for 2017)
The Russians and Chinese manipulate the American public every day all day. Not to mention the Americans and Western Europeans with money and influence whose interests align with theirs. How do you think we ended up with president chump?
I find the concept of having to have someone pump gas for you (by law) another strange example of a pointless job, I'm quite capable of pumping my own gas.
The USA and Japan have a very strange relationship.

As far as Asian countries are concerned, Japan has fewer immigrants to the USA than Philippines, China, Vietnam, Korea, and India. But Japan sticks out despite the relatively low migration rate.

* The USA in general does have a sense of "the importance of the foreigner" or outsider. Foreigners invite new thought, new culture, and new experiences.

* Japan seems to make an ideal outsider. They're physically on the other side of the world. Their history is basically isolated from "The West" for hundreds, or even thousands of years.

* Yet, with all of that, modern Japan has integrated very finely into the culture of the West. Japanese brands are well-liked (Nintendo, Sega, Sony, Mazda). And as far as I can tell, Japan also likes a number of USA brands (KFC, Pizza Hut, 7-11, Disney, Levi Jeans, McDonalds, Star Wars).

* The media empire of Japan (not movies necessarily, but Japanese anime and Japanese video games, which are popular in the USA) has a lot of synergistic play / counterplay with USA. For example, the "RPG" genre has been shaped by both cultures heavily. While the USA can claim the big-daddy Dungeons and Dragons, as well as Rogue, Diablo, Bauldur's Gate (Canada, but still "Western"), World of Warcraft, and Skyrim... Japan has the Final Fantasy series, Dragon Quest, Legend of Zelda (including Breath of the Wild). There's a lot of influence and synergy between the "JRPG" and "WRPG" genres.

In short: Japanese culture is both familiar and foreign.

Cowboy Bebop is perhaps the best example of what I'm going for. Its a hardcore scifi space opera filled with Jazz: the American-influence on the anime cannot be ignored. But its still an anime with big eyes and the unique "Japanese" drawing style.

The familiarity allows American audiences a degree of comfort, while the Japanese tropes entice us with their exoticness. Its both familiar and different.

And from my understanding: the opposite occurs in Japan. The Jazz and "Americanisms" in the anime are designed to give a bit of an exotic feel for Japanese audiences and entice them. While the Anime tropes are there to give them familiarity.

And that's why its synergy. Familiar to us is exotic for them, and vice versa.

--------

EDIT: And then there's "Power Rangers", the weirdest thing to ever happen between the USA and Japan. Its neither fully American nor fully Japanese. Its clearly "Super Sentai" footage, but the "American Parts" with Johnny / Kimberly / Jason are still core to the series.

Its not just "Power Rangers" either. Transformers, and Sonic. Sonic is a Sega-owned video game character... but a lot of the animation was... American/France. How's that for a change? Outside of the "Sonic X" anime--- Sonic SatAM, The Adventures of Sonic, Sonic Underground, and Sonic Boom are all primarily animated in the West. With the comics done by Archie.
I’m so tired of hearing people quote “security by obscurity” in relation to moving ssh ports. It is NOT security by obscurity (SBO). SBO is taking an insecure thing and trying to hide it, and relying on the hiddenness as the ONLY means of security. SSH is already highly secure, so hiding it has nothing to do with the security. You can debate whether it’s worth the inconvenience vs reducing log spam, but SBO does not come into it at all.
I just use ^...^... or !gre:... and make my edits that way -- it feels much faster and more intuitive than cursoring around, moving my hand over to the arrow keys etc.

The shells were developed on keyboards that didn't have arrow keys and have affordances for them.