skysight-inc/HackerNews huggingface dataset:
ISO C already mandates that most of its library is optional for "freestanding" implementations. (float.h, iso646.h, limits.h, stdalign.h, stdarg.h, stdbool.h, stddef.h, stdint.h, and stdnoreturn.h are the only headers required even for freestanding implementations).
You'd be surprised how often I can't sleep, get up, play some World of Warships (usually 1-2 matches) and then go to sleep within 20 minutes...

There's probably something about a context switch to something that isn't work at play... I may work with a friend to put together a small psychology experiment (he works at a medical school and has access to MRI machines).
> Most software engineers have a healthy circle of friends and social life.

I understand the point you're trying to make but this isn't a truism. It's a subjective opinion that wouldn't apply to any industry much less tech, which itself isn't specific to software engineering. This is an issue that effects all specialized fields of study, interests and careers. I don't feel generalizing the issue in a blanket statement that the problem is specific to the individual in question and somehow not related to circumstances beyond that individual's control is beneficial to the OP and anyone dealing with similar issues.

How many people can astronauts have honest conversations with about traveling in space that other people would understand and empathize with? Obviously very few, but it would be inaccurate and irresponsible to lay blame on an astronaut if they feel socially isolated as a result.

Later in your post you use a loaded, weasel worded statement that I strongly disagree with, which again seems to again lay blame on the OP for their honest and earnest concern:

"It could be depression, anxiety, it could be poor social skills. It is possible (maybe less likely) that you have little interest in deep social connections"

It "could" be any number of things but only one perspective is being addressed. Implying that someone's failure to conform to our ever changing, opinionated and perceived social "norm" is the cause of their issues and concerns is not helping anyone.
Why is that a problem? Plenty of resources are allocated to meet supply and demand. Is traveling to specific locations inherently different?
I do not trust Discord on data privacy.

It's not just the target market being the gamer crowd, its focus on promoting gaming content is beyond distracting for a work setting.

Take its font-and-center features:

- The primary page with all the game and stream ads has zero value for productivity.

- Its voice chat is great but not nearly as valuable as a video meeting integration.

- I don't need or want to know what application or game you have open right now or what music you're listening to. I just want to know if you're available right now or if not, when you will be.

Integrations, emphasized. Adding a swath of app integrations was a "wow" factor when Slack first came on the scene, and I've had very little trouble introducing Slack at organizations with minimal IT resources because of this. Setting up and maintaining webhooks is "too much" for a lot of people who can otherwise manage a Slack org.
I just assumed that most people would know that Dublin was on the blob, just off the coast of the slightly larger blob, just off the coast of (mainland) Europe. Which on the scales involved, is close enough.
Not saying it's healthy but these emotions are all tied into why we work and why we survive.

I am happy but these are thoughts I've had in the past.
I keep to sub 300€ or even sub 200€ since I don't game and prefer my DSLR for photography. So a screen replacement on a phone that's not getting software updates is not really interesting to me.
I want to try it badly but it goes against most fibers of my being to give a 3rd party extension such crazy permissions:

Access your data for all websites
Access browser tabs
No, GP's position seems to be closer to "actually being sure about something requires more evidence than has been given".
> You can override just about anything in Python, including the meaning of accessing a property.

Can't you do this in JS as well?
As long as the varient of Markdown supports tables, vanilla markdown is laking in that area.
HTML has something of a legacy mode, https://en.m.wikipedia.org/wiki/Quirks_mode

Roughly anything before HTML5/4.01 and XHTML renders in quirks mode.

AFAIK there are no legacy CSS properties. Only nonstandard (i.e. prefixed or experimental and never published in finished specs) properties have been deprecated.

Browsers already have some leeway with DOM APIs. https://developers.google.com/web/updates/2017/01/scrolling-...
Well, some places you have the threat of dismissal for failing to deliver. That can be pretty stressful if you have a family to support and no cash reserves or family to assist you.
This construct:

while(*p++ = *q++);

is simple. But I agree with you, its time has long gone, because in many programs, this code is also wrong. This idiom assumes that that the source can never be longer than the destination. There are now a legion of attackers who will exploit this code and harm its users.

Modern C programs often have to work in the presence of attackers.
How do scooters solve any of these problems? Do you not have to park scooters? Do they not suck in the rain? Do they not need some surface to ride on?
Sadly, these are also considered "rich people's problems", so they are unlikely to ever get any sort of support from the public purse.
Infinite scroll is not for user experience. It's to increase session times. If you increase the time spent in an app or on a page you increase the chance of getting revenue in ads for social or media sites or purchases in marketplaces. In other words screw UX because this is about increasing engagement to increase monetization. Stressed or not, users do increase session time on infinite scroll pages than when using regular paginated views
Walking is slow. Walking a mile takes around 20 minutes. If you walk a mile to the transit station at the beginning and walk a mile at the end, that's 40 minutes of travel time before you even factor in the bus/train trip.

Of course, walking is to be encouraged where practical, but it has a very short effective range compared to a bike or scooter. Scooters and bikes drastically extend the effective reach of transit stations, with much less of a downside compared to cars (less polluting, less noisy, less danger for others, less parking space).
Prohibition doesn't change the sum total of misery in the world, it just evenly distributes it. The only way to reduce the total amount of misery is to increase the standard of living of more people. Everyone should be able to eat delicious cow and drive SUVs if they want to. The problem to solve is in how we reduce the harm those things currently have on the environment, there are many options for that other than "just take away the SUVs and cows so no one has them".
It's healthier for the planet and your conscience.
> What I have specifically is a class that provides a base set of operations and a subclass that lets you do some modifications

Your object isn't actually immutable, it just doesn't let you directly mutate it. That's a really important distinction.

That's a common pattern. In C++, rather than using a subclass for the mutator, use a different (friend) class. The semantics for implicit conversion between two different classes will allow you to accomplish what you are asking for with enforcing no changes from one interface but not the other.
can the signal penetrate objects? for example, when a receiver is hidden underneath cloths or sealed in a bag?
> Yes, you can use type hints and an external type checker, but that's still not a great solution compared to any statically styped language.

Why not?
This is not accurate. I can agree that the process has been slow and frustrating, but that’s for us as well. We would have much preferred to have this all sorted a long time ago.

I won’t be able to say more than that, but I can’t stand by suggesting that we don’t care about this issue. I’ve been personally advocating for these things longer than that issue has been open.
>> building a megacity in the Pearl River Delta that it hopes will one day rival New York and Tokyo

Construction is 50% of their GDP (fact-check me here) and this feels like business as usual to keep the gravy train rolling.
I used to use Newsblur and the only feature I wish it had (which maybe it did and I just didn't know about it) is to see trending articles like Feedly does, just so I could get a feel for what was going to be a hot conversational topic. RSS really needs a renaissance though.
I don't think you can extrapolate the whole tech profession from one man's unhealthy outlook.

Why we work and why we mate are all part of our survival, and that's what generates these thoughts.

If I don't explain thoughts I've had and transcended in the past, that are tied to work and survival, what use is the conversation, am I shamed for sharing another aspect? or is it just too loosely related in your view.
For that rent and utilities - I presume he lives alone unless he's in a luxury apartment. There are studios and 1-bedrooms for that price even in SF.
Also healthy...

Man, I'm just tryin' to get to work. Why does every alternative to plopping my ass in a giant wheelchair have to be "healthy"? What, "not a car" isn't good enough?

infrastructure and laws are there.

You might be surprised to find that electric scooters work just as well as bicycles on that infrastructure. Laws? Meh, were my municipality backward (and they are not) it wouldn't necessarily mean I'd pay much attention to their directives until they change.
It's already >65 years old. The 65th birthday was this summer 2019.
Without knowing the specifics about how this product works on the engineering side, do you think the following is true:

If I, random delivery man, walk up to a Nest user's home, and his camera scans my face to compare to the data stored for facial confirmation, that this information is not used/stored by the recognition software?

The system is always on/scanning. It's using my face somehow, and I'm not using or buying their product, I'm just a person going about my day.
A human choosing to use a machine to automatically generate music is still a human choice that communicates something to other humans. It may not communicate an idea or feeling that resonates with you personally, but it's definitely saying something.

One of the fundamental changes in humanity especially in the recent past is machines. Of course artists are going to explore that relationship. Part of that exploration may be things you don't like. Maybe that's deliberate. Maybe the artist wants you to feel uncomfortable with the mechanization of our life.

Personally, I've been on a kick recently of listening to "synth jams" on YouTube. Musicians set up a big pile of drum machines, synths, effects, and argpeggiators and then play live sprawling evolving soundscapes. The result is a mixture of human choice and machine-like repetition, and it really does it for me. Plus all the blinking lights are pretty.
I do not think I have ever seen a string that needs more than 64K, but then again I do not read whole files in memory in C. (I do in Python.) So this would be wasteful in many cases.

My personal variant uses 32-bits for length and 32-bits for refcount, which aligns well on most platforms, including 64-bit ones.

Something like:

struct string_header
{
int32_t refcnt;
int32_t length;
// character content starts here
};

Given a char pointer to get to the header you must do:

((struct string_header *)p)[-1]
It has value sure but it's not monetary if you can't convert it to money. These things have no monetary value. So you should know going in you will never make your money back. You will only get better or worse game items.

That's farther than gambling than the trading card model.
It's not incredibly uncommon!
I'm not saying it's normal or healthy, or even that this is my belief, these are just thoughts that I've had.

Apologies for not disclaiming

Edit: Tinder would be an example, depending on your location. Or instagram
You've been lucky, then, to work in a low stress environment and have yet to encounter a stressful one.

The nature of the work is less of a factor in the stress than you co-workers. Stress is created by people, and their personalities and management styles. When hiring, people tend to hire others like them, so you end up with a distinct company "culture", since people who match it stay, and those who don't, move on. So, if you start with a culture of stress in a company, it's going to continue in that direction, and if you end up there and don't fit with their culture, you will be stressed out, even if your colleagues might not.

I've been working in tech for going on 30 years now, and I've seen plenty of super-stressful workplaces.
> Before you accuse Israel of discrimination, you should consider that 20% of Israelis are Arabs (compare that to 12% of Americans being black) and that Arabs had legal equality in Israel decades before blacks did on America.

Why should that be considered?
Why in the world is this API surface even available, and why aren't Google / Apple / handset manufacturers scrambling to patch this?
> Hispanic, but didn't know it?

The flip side of this is that my son can legitimately (in the eyes of anybody who might question that legitimacy) claim hispanic heritage: his mother immigrated to the US from Mexico 25 years ago. I’m pushing him to study as hard as he can because I suspect that any college he applies to will accept him just to tick the “admitted a hispanic” checkbox on their annual diversity report, and I’m worried that he’s going to end up surrounded by people who have more academic achievement than he has and find himself struggling to keep up.
Every cup has a saucer, mate. You'll find someone.
I'm rolling my eyes so hard they could fall out of my head. You can only form an opinion about Shakespeare (or Mario (though the kids are into Fortnight these days, they tell me)) if you are exposed to them. Both things have enormous cultural importance and are part of the human experience and all people deserve to be able to engage critically in culture.

Shakespeare very well could be trash. The Bill of Rights is by and large a shockingly hypocritical document. But both are part of our history, along with a lot of other stuff about which we could say all sorts of things visa vi what ought to be in a curriculum. But my point is that humans deserve to know their history and their culture and that takes resources and time and energy which are, in the final analysis, justified by the inherent dignity and rights of people.
I did that and relocated from SF to a cheaper part of the country. How does working on a beach help?

I'm expected to be online during core work hours and available for calls (in a quiet location with good internet).

I feel like I've optimized working as much as humanly possible and I'm still going insane. My job pays well, has good benefits, has good coworkers, my opinion is valued, my work is appreciated, my boss is fine, I learn new things every day, I now do 12-8 instead of 9-5 by switching time zones, and I make sure to be done with work when the office is done with work. I keep telling myself all these objectively good things, but I feel like I'm wasting every day for a paycheck. I store it all away and invest it, as if there's going to be a future, but I'm fully expecting this to kill me long before I'd have enough funds to quit.

I must be doing something wrong though, because if everyone felt like I do, society shouldn't be able to function.
I think there is a difference between knowing where you are going and being prepared.

I've read in other articles that the father was expecting a rope to be pre-anchored which makes me dubious of their level of preparedness.

> Typically, he said, there's a rope going through climbing carabiners that have been bolted into the rocks.

> "This time, the rope was gone," Whitson told CNN.

If you know there is a rappel: Bring. Your. Own. Gear. Trusting a rope that is left exposed and potentially not well cared for is dangerous in and of itself, but to be aware of a gear requirement and just walk out in the wilderness expecting gear to be there (and in usable condition) is flabbergasting.

I am glad this mistake wasn't fatal though.
Why work? Why live? Why do anything at all?
There's a reasonable related article here [1]. It discusses two different studies on the effects of Seattle's minimum wage increases. The first is from Berkeley and based on limited data. It suggested there was mostly just a small reduction in employment with an overall positive effect. The other study was from the University of Washington and had access to detailed low level data on hours worked, salaries, etc. It found numerous very negative affects, many of which were worse than even minimum wage critics generally suggest might occur. This included an overall gross decline in overall wages due to declines in hours being worked - overall wages rose 3% while the number of hours worked declined 9%.

The reason I mention the Berkeley study at all is because this now led to arguments based on after-the-fact retrofitting. In particular increase supporters have now tried to argue that Seattle was in a unique boom phase and so the study was comparing against a local max, and thus there was actually no damage - but just Seattle 'regressing to the mean' if you will. But the Washington study also considered this possibility and contrasted it against other control cities within Washington that did not increase wages, and found that they did not experience the negative effects. And so on back and forth it goes.

And so who do you believe? Probably whoever you want to be right. This is why I'd suggest laying out metrics beforehand. If Seattle was in a unique boom phase before the minimum wage increases then this is something everybody could agree on beforehand. When you do after-the-fact analysis, you risk peoples biases getting in the way of things. And because of the complexity of systems such as these, it's always going to be pretty easy to prove X and also prove not X after the fact.

[1] - https://www.nytimes.com/2017/06/26/business/economy/seattle-...
People with disabilities can't use stairs, should we stop building those too?

It's okay to support a mode that only most of the population can use. There are still other modes, just like with stairs and elevators/ramps.
Prop 13 also plays a huge part in why vacant areas don't get developed.
And their own logging, hash map, and list utilities.

Admittedly, people seem to write string and logging libraries even in languages that do provide them.
It's mostly a philosophical conundrum, not a practical one.

For any given definition, there are a handful of possible "defining experiments" being carried out at a handful of national labs. Their deviations with respect to each other are constantly being monitored and metrologists are constantly chasing down error terms. Yes, they choose one standard to "bless" as the official definition, but it's their job to live below that abstraction and to maintain it. If their "blessed" definition started to drift with respect to the other candidate definitions they would notice very quickly and react appropriately. The fact that most of us entertain a single definition isn't a consequence of philosophical confusion as to whether or not one exists, it's a consequence of delegating the ongoing experiments backing our simplifying assumptions to a group of people who are very good at them.

For instance, the disagreement between solar time and atomic time is monitored so closely that the slowing of Earth's rotation due to tidal forces is a gigantic signal compared to measurement noise:

https://en.wikipedia.org/wiki/Leap_second#/media/File:Deviat...

If, say, Earth flew through a cloud of dark matter that somehow messed with Cs absorption lines, we would see Cs clocks drift with respect to Rb clocks, unlocked quartz clocks, Earth rotation, Optical Lattice Clocks, etc, etc. The event would not go unnoticed. Cs clocks would be demoted from their position as primary time standards and the next best candidate would be promoted.
> Obtrusive scrollbars: scrollbars that take up screen real estate. These do not overlay on top of the content, but appear next to it.

> Unobtrusive scrollbars: scrollbars that sit on top of the content. These don’t subtract screen real estate away from the container they belong to.

See, I would call "scrollbars covering content" to be obtrusive and "scrollbars outside of the content area" to be unobtrusive...

The main scroll bar in my browser should be completely off limits, and treated as part of the browser and not the page. Divs inside the page with their own scrollbars are another matter, but even then...
I guess it is available to the baseband, not the actual iser facing OS.
You should definitely find a new employer if your current environment is reflective of the comment that you were responding to. I can't even imagine working somewhere like that.
I wasn't saying _everyone_ needs to have a greater than 12 year education. I was pointing out that 12 years is an arbitrary number to place so much faith in. It was formalized in an entirely different historical moment.
I think it simply comes down to average speed. Have a click around https://app.traveltimeplatform.com/ and assume scooters are more-or-less the speed of cycles.
As with any SEO tactic that is viewed as shady or potentially underhanded within the community, those who ignore critics and “play to win” by aggressively chasing the opportunity see the best financial outcome.

Even if Google deindexes these subdomains tomorrow, tens of millions of dollars have been made in a 1 year time period from this tactic alone.

People say things like this and then wonder why SEO has a bad reputation.
It may matter how fast you're moving non-inertially and how massive nearby objects are. (General and Special Relativity)
And then, there might be advanced quantum effects we don't know about yet.
> but for the length of journey they're good for, why not just walk?

I use scooters occasionally and there is a sweet spot in the 30-60 minute walk range. A 30 minute walk turns into a ~6 minute scooter ride (assuming 3mph walking and 13mph scooter). If you're talking about roundtrip then you're saving over 45 minutes by scootering.

Sure, if it's a lazy Saturday and I'm just moseying around then I'll walk. But if I'm running to the gym and back after work then it's worth it to me to save those 45 minutes.
100 years ago, the industrial revolution was the only type of automation that existed.

50 years ago a computer was still potentially someone that did a math calculation.

25 years ago personal computers were just barely a thing.

If you can understand how a computer works, and build one and write programs for it in 12 years, then you probably don't have need of any further need of education.
Neat! I've been looking for something like this for when I do training sessions with people who are stuck behind firewalls, or aren't super okay with Putty. Having a point-and-shoot web based way of getting a remote session on a server is super handy.

I note you've said in the repo readme that you don't accept PRs. How do you feel about people distributing binary builds - for example in Linux distros?