skysight-inc/HackerNews huggingface dataset:
Essentially, sure. On the other side of the power equation, disrupting unions is a way to maintain the company's power. It's just a question of who you think should have how much power in that dynamic.
> Collective action doesn't work when free-riders can benefit from the work of the collective.

Can you elaborate on this comment?
So the basis of your argument is that you posit that device manufacturers are wiretapping their customers phones en masse (committing a felony)... but somehow this is a story about Facebook?
The Unix Philosophy and a Fear of Pixels
> CVS is not maintained for more then a decade

Have you considered CVS may have been finished for over a decade? OpenBSD has been using it for a long time, and it clearly meets their needs, or they'd chose from one of the many other choices.

In my own experience, it's nice to use finished software, step off of the upgrade treadmill, and get to the end of the learning curve.
C++ basic_string::c_str always returns a null-terminated string. C++ is the solution to numerous C pitfalls.
> Is Oracle legitimately trying to kill the Java ecosystem or is it just a happy accident? They're almost going out of their way to unravel almost everything Sun stood for and what Java was meant to be...

How does one come to such conclusion after corporate open sources a project?
Thank you for the reply!

> CF Workers is based on the Service Workers API, which is a W3C standard that has existed in browsers for some time.

> Unfortunately, many competing edge compute and "serverless" products have chosen to invent their own, proprietary APIs, rather than use a standard. My sincere hope is that this will change, and in the future, we'll see a convergence on Service Workers. It fits this use case very well, and it's already a standard.

That's really nice to hear. After the fallout the Github acquisition produced the last days one cannot stress enough how important standardized APIs are for migration operations. I know that vendor lock-ins are profitable business models, but I feel like the damage it does to flexible architectures and data-owning produces more costs in the long run.

> While Cloudflare does use V8, we do not use Node.js

Was this ever an option?
Did you consider using other languages besides JavaScript? Like Python or Elixir?

> And in any case, we aim to win by building a better (larger, faster, less-expensive) network, not by trapping people.

Even though I agree with you (as written above) I wonder how Cloudflare aims to do this. To me, it seems like Cloudflare does have way too much websites behind their services. Given that Cloudflare has a history with policing [DS] customers, trust is also an essential feature I'd give top priority. I would therefore argue that decentralization should also be a feature for resilient networks, though it's difficult to implement in your case.

Btw, does Cloudflare have any serious competitors besides CDN providers?

Thanks again for your reply, very interested in your expertise!

[DS] https://blog.cloudflare.com/why-we-terminated-daily-stormer/
Seems like an oversight to not promote this change. The way Cloudflare completely crippled the user experience of using Tor, plus the subsequent condescending and poorly handed PR responses I saw on HN and elsewhere, was the reason why I completely stopped using Cloudflare and stopped recommending it to people.
I wonder why they are submerging these instead of just making them a floating barge.

I can't imagine submersion is significantly better for cooling, the energy density very likely already requires a circulating water system, and the added issues dealing with the pressure at depth seem risky.

Possibly there is a benefit not related to cooling. Perhaps weather/waves? Things are probably alot calmer 30ft below the surface. The tossing and turning on the surface may place additional streses on things like HDD spidles.
How to Value Privacy and Still Get Data from a Decentralized Network
You're saying that a single statistic, like a "mean" or "average" is only one representation of a distribution. Many other aspects of the distribution are important, such as the variance or the mean conditional on some other factor.

Inflation is a vague concept. When people try to measure inflation, they're using filters and aggregates. Criticism that those filters and aggregations are distorting the view (for political purposes) is valid and a frequent motivation to publish academic papers.
Why are laws that way? On the face it seems like overstepping.

I can see how union gains might be naturally extended
to non-union (safety improvements in a factory, say), but I can also see that the union could negotiate for higher wages to cover the cost of running the union, which avoid free-riding concerns.

The issue I would expect is that mandatory membership (or at least mandatory partial-dues for partial benefits, as is common in some municipalities) is required because the union simply wouldn't work if half the labor force opted out and the employer could simply hire all non-union workers; and the Law decided that unions deserve a right to exist, similarly to how the Law decides that a State or City government is mandatory for all residents.
Being a monopoly is fine. The problem starts when a company abuses it's monopoly power.

It doesn't make any sense to say a company that has achieved monopoly status can abuse its power as long as they acquired their monopoly legitimately.
Yes, snprintf does the right thing.
This is basically how you use Phabricator locally. Phabricator looks at patches to do code review, but the "arc land" CLI command takes your feature branch, squashes the commits, rebases onto master, and pushes that. So local development can use feature branches and the main repo has a normal git history. (Github added support for "squash and merge" maybe a year or so ago; same idea)
A Biotech Entrepreneur Aims to Help Us Stay Young While Growing Old
I don't use it, but I know that I see a lot more job postings in my area for C# coders than Java coders.
The equilibrium that I would like to see is the opposite: no forced membership and no requirement to represent non-members. I imagine after the impending Janus SCOTUS decision, this is something unions will have to push for as a last-resort (versus what they seem to want, which is forced membership and required representation).
> I have bought this up multiple times before. There are a lot of impressionable minds around here being exposed to lot of half baked/frustrated/misguided thoughts. Many times the upvotes mechanism just amplifies and reinforces these thoughts.

So people should only be able to see vetted information? Who decides whats not a "half baked/frustrated/misguided thoughts"? Seems like a slippery slope.
Even strncpy() man page warns about this. Correct behavior is:

strncpy(buf, str, buflen - 1);
if (buflen > 0)
buf[buflen - 1] = '\0';
>how the western tech community idolizes China

Could you elaborate? Most of the people I know in tech are actually on the paranoid side.
358 points and 199 comments. Yet Zuckerberg lying to congress is only 25 on HN. Is Sam et, al,. putting their finger on the algoscale?
Some would say it already is... One Rich Asshole Called Larry Ellison...
WTF slide brought be here.
In the world where Python and Ruby exist - calling javascript best dynamic language is nothing but heresy.
As much as I love firefox, I'm sad to say that the executives who run Mozilla Corp are of a self-serving variety.

Not in terms of material greed so much as in terms of craving social status. It's apparent in their meetings if you watch and listen.

What I mean to say is, the people in charge of the purse strings are chasing after ego boosting "social good" type stuff over improving the tech and improving the internet. Stuff that will grab a few headlines and make them feel warm and fuzzy when they tell people about "their" company at dinner parties.

The rank and file employees are some of the most awesome people on the planet though.
Oh sorry my mistake. The link to the git subdomain from the post, goes to a project called “sway” - I misunderstood that to be the name of the tooling.

Well being python surely can’t hurt with HG integration (also python)

I’ll definitely look into this more now. I’d seen a reference to it from lobste.rs (maybe your profile, or a what-are-you-working-on?) and thought it looked interesting but never got a chance to dig deeper.

Edit: how could I forget, I saw it from a post about scdoc
It would take some serious, consistent and repeated reports of .NET doing very well on Linux servers in production for that to happen. C# is a really nice language, it's just being mostly stuck in the peripheral environment that's the issue. We need highly visible success stories.

As it stands right now, if your company is developing on .NET for the most part you are locking your developers out of the entire *nix ecosystem...from server licenses to command line tools to open source libraries to databases.

Combine that with how difficult Microsoft makes it to get your data out of SQL Server even for things like Elastic Search and you're in for a world of licensing hurt down the road.

I honestly still don't understand how anyone chooses a stack that locks you out of so many options and imposes so many constraints.

I get that Microsoft is improving...but they have a big hole to climb themselves out of.
I don't think they were implying that there are uncallous governments, just emphasizing that particular feature of the Chinese government.
>"At 5σ, you lose a lot of the downsides of standard p < 0.05 hypothesis testing because the p value is so low."

I don't see how this addresses any of the issues, it just makes it more expensive (ceteris paribus). As I already wrote:

"A more stringent significance level just means it costs more money or the data is much cheaper to collect. ...The way it works is simple, the null model acts as a strawman. The confidence in rejecting the null model is somehow translated into support for the researcher's favorite theory. How does changing the significance level address this problem?"

>"Nevertheless, I suppose what you would suggest is just setting limits to start with and looking for a bump there instead."

Exactly, and the more precise the limits, the more meaningful for the theory if its consistent with the data. At the extreme, theories that allow for any value at all (as I understand the case is for every possible observation under string theory) are not supported by the data no matter how it turns out.
Non-technical users read the hitjob published by the NYT yesterday and just assume Facebook lies and continue on their lives with absolutely zero understanding of the OSI model.
As an employee, you're already implicitly a member of an unofficial union whether you "join" it or not. Your employer will routinely treat you collectively, mandating extended hours during crunch periods, or changing the equipment they issue your team, or altering your health benefits package.

The only question is, does the employee collective you belong to have any collective bargaining ability or not?
Tim Cook: Steve Jobs put big emphasis on privacy at Apple
I think it's not genuine to describe the behavior of strlcpy() as "silently truncating". strlcpy() is documented as "If the return value is >= dstsize,	the output string has been truncated. It is the caller's	responsibility to handle this."
The pros and cons of unions and right to work have been endlessly debated. But the question is one of if you believe unions should be democratic institutions or if you think any number of employees should be able to opt-out OR opt-in without the entire workforce being onboard.

So for example, should unions be recognized that are just two people in a team of 50? Currently federal law says no, no matter what state you're in. You can't be in a union unless a majority of the voting bargaining unit says yes. Same for no. If a majority says no, no union for anybody.
Interesting how the "solutions" to the buffer overflow problems don't provide for all of the modern assumptions of programming with strings. I would love to know the history of the development of strncpy.
I think he still hates us ;)
Investing in African startups that drive financial inclusion
To answer the question raised in the title, biggest benefit is to assign an on-boarding buddy to the new employee. The second most recent new-hire in the same role is usually the best candidate.

For the question in the content of the post, figure out who to ask about each topic, don't just ask the one person who knows everything - that might not be the most efficient way to use their time.
I would suggest looking into the free rider problem.
https://en.wikipedia.org/wiki/Free-rider_problem

Imagine everyone gets a 15% raise if a union is negotiating for them because of the increased bargaining power but union dues are 3%. Now it's in the groups best interest to have a union because they all make 12% more money after the union dues. However it's in each individual's best interest to collect the increased raise from the union's negotiation but not pay union dues. Effectively free riding off the union.
the obvious place to start splitting is to make instagram and whatsapp independent again. it's crazy to me that facebook was able to purchase it's biggest (and in many regions, only) competitors in the social media and messaging markets.
Yeah, but when the union head starts paying themselves 300k and despite good living wages and benefits still maintain a large/expensive organizational structure and offices, etc... you still have to be a part of that union- you have very little sway to try to change anything.

Forcing people to join a union is not all that much better than preventing one in the first place IMHO.
Yes, mother, as the social mammal she is, believes in government. It's not clever to parrot a long definition as rebuttal.
Tenjin (YC S14) Is Hiring a Ruby Engineer and a Product Marketing Manager
I like to keep this kind of info on 4x6 index cards. Easy to reorder, toss, review. Group them into a few categories, like how to, questions, that's weird, diagrams of how things fit together, etc.

Then set aside time to go through them on a regular basis. Make scripts from them, checklists, docs...
FriendDA – a NDA that offers absolutely no legal protection
> with the exception of OpenGL ES 1.0's failure on the PS3.

Got a source on that one? I did plenty of work on the PS3 and never heard anyone complaining about that(the SPUs on the other hand, not many people were ready for massive vectorization).

Also X360 was DirectX based, I knew plenty of PC engines that ported straight over(although with a ton of pain when they realized they couldn't call malloc all over the place).
"There are a lot of ways. For one, an adversarial congress is a feature, not a bug. We've seen already that as congress has become more polarized, lobbyist dollars have moved from federal to state in droves."

No, that is most certainly a bug. The rise of ALEC in power is in no way, shape, or form a "feature".

"Disallow regulatory bodies from having effective power to make laws."

They already do not have this power. They have the power that Congress delegated to them. And now, you're asking that Congress be the one to take up things like air quality regulations, or food safety regulations. Which, to be honest, has the same effect as saying that you don't want those things regulated at all.
What about companies with offices accross the country where it would make sense to have an union per office? It can already be hard to be heard at "HQ" by being in another state imagine the heads of the union are in another state and unresponsive.
>Costs are the fundamental problem with the MTA (and D.C.'s WMATA), and those are union problems, not management problems.

Managerial corruption causing cost overruns like this does not even tangentially involve unions:

"The New York City subway system has continued to deteriorate, rankled by massive delays, misspent funds, and widespread claims of corruption. On Friday, the feds confirmed the corruption part by securing a 46 month sentence for a former employee who promised subway contractors future work in return for bribes."

https://jalopnik.com/ill-be-damned-feds-indict-new-york-city...
Using Regular Expressions to Find Cthulhu
> Why are laws that way? On the face it seems like overstepping.

To bust unions. Especially when you combine it with right-to-work legislature.

The end result is that theoretically, unions have a right to exist, as long as they don't actually do anything meaningful.
I think he meant that the mean is not the message. If you're an outlier, you don't care what the mean consumer price inflation is.
Somewhat surprisingly, you can relatively quickly move from the world of raw pointers and direct hardware interaction to safe abstractions (or at least single-point-of-unsafety, typically on construction, requiring that a pointer points to the right memory-mapped registers, etc). The series written by Phil Opp linked above does a great job of demonstrating this.
Show HN: Blasjs – Pure Javascript implementation of BLAS
GitLab is hosted on Azure
I'll take truncating errors in place of non-null terminating errors, thanks.

Can it makes things worse? Yes. But C is broken.
Why couldn't they pay union and non-union members differently? That would certainly allow free-market forces to entice people to join if it benefits them.
> I actually feel we're all a bit poorer as a result of DOS+Windows....

Agreed... I tend to think MS did a very good job incorporating a grab bag of ideas into their products, but a very poor job doing the work to really make it all fit together.

Just one recent example of many is this bit on getting a status bar display of cursor location working in Notepad:

https://blogs.msdn.microsoft.com/oldnewthing/20180521-00/?p=...

tl;dr - The edit control, around for over thirty years, has no way to listen for cursor movement events. So they (meaning Microsoft itself) had to work around it by using a hack built around the accessibility API's...

> Didn't know of that.

The only reason I knew it is that years ago, after moving from Houston Philly, one of my first consulting clients was down the street from a shuttered 'GMT Microelectronics' factory (and some of my colleagues mentioned something about a water contamination issue). I looked a bit further into it and it turned out that 'GMT Microelectronics' was the successor of MOS Technologies, and the plant had been shut down due to leakage of basement chemical tanks into the water table.

Ironic that I wound up down the street from the remains of the company that had made such an impact on my early life and eventual career.

To close the Apple/Commodore link, it was also engineers behind the Commodore SID that spun off another local area company - Ensoniq. Apple then chose an Ensoniq sound chip for the IIgs. There is thus a very direct lineage between the audio capabilities of the C64 and those of the IIgs.

(And in the PC space, Tseng Labs of ET4000 fame was also local... and there's also Eniac, and the Eckert-Maunchly Computer Corporation lineage that wound up as Unisys. There really is a lot of local computer history around here.)
Does anyone know why Fellowship of the ring sucked?(btw, I really liked a few parts, particularly Tom)

It seems so different from every other book Ive read(only hobbit-RotK).

Like did he add fluff in the forest because of publishing standards at the time?
Also, many days the system is outright not running at all, at least as far as displaying arrival times in the station, even on the L. This seems to be the case many weekends for some reason.
Other societies HAVE that opportunity they just didn't choose it and those who can't choose it are desperate to get invited to the club.

So not sure what makes you think other societies don't want the kind prosperity to their citizens we have in the west.

Not sure what you mean with providing healthcare for them as if it wouldn't be better they themselves were able to provide healthcare.

I would urge you to rethink your position. Not because I want to decide what you think but because it's not really founded in anything of thise world.
"We routinely see very well-moneyed campaigns lose."

We see it every so often, but I really don't think we see it often, and we don't see the very well moneyed campaign lose to a campaign run on a shoestring.
Cache coherence in application development is more important now than ever
Don't use `strncpy()` and `strncat()` at all, use

snprintf(buffer, buffer_len, "%s Stuff %s", str1, str2);

It's safe (C99, C++11) and easily extendible. Format strings are fun!
Not the fastest, but if the bottleneck of your program is concatinating strings, just do it manually.
I wish somebody worked on using that unwanted heat, like they do in swimming pool / ice rink combos, rather than finding ways to just disperse it faster in the environment.
> the union simply wouldn't work if half the labor force opted out

Can't you see how weird this is? 'The law needs to make people be members of a union, because if they didn't the union wouldn't exist and people wouldn't be able to be a member of it.' That's so circular!

Just let people be in a union if they want to be, and not if they don't want to be, and let the union live or die based on people voting with their feet like that.

If your union isn't effective because people aren't joining then you need to change what it is your union offers them.
Gitea requires peer review for pull requests, a healthy process that promotes quality. Cogs is managed exclusively by its BDFL.
> but I can also see that the union could negotiate for higher wages to cover the cost of running the union, which avoid free-riding concerns.

You'll have to explain why this gets rid of free-riding concerns?
The first is inefficient. The declaration statement writes eight zeros to dest. strncpy() writes len bytes of zeros to dest, then copies the string, stopping at fewer than len bytes if a NUL is found in the src.
Thanks for the detailed recommendations! I've read the documentation on virtual accounts but haven't wrapped my mind around them yet. I'll have another go at it.
That would be the Exclusive Representation rule.

https://www.flra.gov/exclusive_representation

The tl;dr of it is that if 50% + 1 of a workforce unionizes, the union bargains collectively for everyone. Even for free-loaders who don't pay union dues.

This is like being able to opt out of paying taxes, while still receiving all government benefits. If that were legal, then our public services would collapse by next week.
exactly, great points. the commenter seemed to infer the carriers are using network stack to access the data. that point is twisting the truth and omitting the key fact that facebook delivers this information via a well documented api.

facebook can't fool everyone every time.
Your "MS owns Git" argument is silly. By analogy, Facebook and Reddit must own HTML, because they are such popular Web sites.

OpenBSD could easily use Git if they wanted to, and they'd never have to touch MS code, or an MS Web property.
"Limits on funding speech are limits on speech."

I entirely disagree. Everyone has the same amount that they can give. Everyone has exactly the same rights.
I am most concerned about the data cable getting cut by ships. Don't know why nobody else here is concerned about that.
In addition to tlb's point, the article's description of strncat is not correct.

> As with strcat(), the resulting string in dest is always null-terminated.
> Therefore, the size of dest must be at least strlen(dest)+n+1.
By my understanding, global income inequality is improving but global wealth inequality is worsening:

The conclusion that I draw is that while people broadly in this position might accurately perceive that they are now in a more comfortable short-term position than they were, they are at high risk in the medium-term and long-term.
With water cooling and 400 watts per socket, why not?