skysight-inc/HackerNews huggingface dataset:
Is defer commonly used for memory management in Zig? I'm not very familiar with Zig, but it seems pretty onerous to have to write defer { free(mything); } after every allocation that's supposed to be scoped.

I don't think it's valid comparison to Go, since that's a garbage collected language.
I don't know if this is a reputable source, however it claims in the USA 40% of men raised in the bottom fifth end up in the bottom fifth. That is about 4x as likely as a man in the top fifth.[0]

This is much lower than I expected.

[0] - https://www.motherjones.com/kevin-drum/2012/01/social-mobili...
Yes. The problem with CO poisoning (or, Nitrogen) is that it is painless, and people actively resist that. Some people want it to be about retribution rather than justice.
Cool language!

Total bikeshedding: why the double semicolon? It's one of the few parts of OCaml that nobody likes.
Tbh, I like this move. I hope they will merge Atom with VS Code and shutdown VSTS in favor for GitHub.
Did the new researchers check to see if the parents were aware of the marshmallow test or had ever tried it with their kids?

My guess is that at least some of the parents would have heard of it since it is very well-known. These days, it's even in kid-focused apps [1] that are designed to help with emotional development. I know many parents who have tried it with their kids to see how they'd do.

It's likely that knowledge of the marshmallow test correlates with education and income, so this could be part of the reason for the effects the researchers saw.

1: https://eqtainment.com/
Crafty crayfish removes own claw to escape China hotpot
> Laws like the GDPR are red tape and are poison to start-ups.

Because I can demand them to properly delete my account, and they must properly disclose data breaches, and because they can't just sell their recording of my activity to whomever they feel? That's poison?

> Most websites have anti-scraping techniques in place if you are not Google-bot.

Do you have sources on this?

> Self regulation is the way to go

How will a voluntary group enforce their own regulations? Especially on the Internet?

Can you name successes in self-regulation? And in the last 10 years?
Linux support was the best thing Microsoft have done for .NET.

It's now a viable option.
And edge uses blink
It's all down to cars. In two ways, one of them less facetious than the other:

1) Automobiles have a vast amount of land space dedicated to them. And the land that is not physically occupied by parking lots and roads is subdivided, separated and made inaccessible[1]. And this trend is continuing[2]. It's why other large mammals (bears, moose, wolves) face significant problems in reproduction. Add to this the noise and the light pollution and even if you did not fear that your neighbor, reaching back to pass an organic fruit-leather to the fruit of his loins, would mow down your child, the available outdoors is just not what it was.

2) Paedophiles and rapists are greatly facilitated by the availability of fast, relatively anonymous, convenient transport. The same characteristics that make said automobiles attractive to terrorists (when they're not actually directly driving them into people as a weapon that no one acknowledges).

1. http://blogs.discovermagazine.com/d-brief/2016/12/19/roads-i...
2. http://science.sciencemag.org/content/358/6362/442
> I think the video game industry is literally run like the movie industry except there is no union to help the people who make the actual magic happen unlike say the entertainment industry.

I know people in both industries and guess what. You are so utterly correct.
Well, he's arguing that he spent close to 10 years (in his 20s/30s ?) depleting his savings. But, yeah, "financial suicide" seems a bit strong. Lots of people get grad degrees and take jobs that don't work out (and don't save as much as they probably should) during that period. Of course, there have also been a couple of serious stock market dips during the past 20 years even for people who did save.

As other have said, "don't bank on the home run" is good advice but if the worst you do is to give something you really want to do a try when you're young and it doesn't work out financially, you'll probably still be fine.
Perhaps it is my internet addled reward circuits, but I personally prefer the shorter videos for learning because it helps me compartmentalize and break down topics for understanding.
I wouldn't call it dangerous. It's pretty obvious from the literary style that it's partly a diatribe against particular intellectual factions Russel didn't like. It's an enjoyable diatribe! But... the lack of objectivity should be pretty obvious to any modern reader. For example the part about Virgin Mary being direct retcon of Artemis is not really defendable. Although the larger idea of a continuity of worship of a mother goddess from pagan times is correct in the larger context.
Or the people who hire the lawyers.
HR people often know little about programming, and will just compare bullet lists of requirements with the resume bullet points. People with unusual skills don't get hired through the HR front door, they come in the side door.
> I'm guessing the problem - as with most small retail stores in Manhattan - is rising rent.

I think the bigger problem is jerks like me who go to bookstores to browse or use the restroom and then go home and order the books on amazon. Sadly, I just can't be bothered to carry the books home. I just can't.

> Ironically, that is resulting in plenty of retail vacancies.

Is this odd to anyone else? From the Manhattan mall to downtown to the UWS, I'm seeing as many vacancy signs today as I saw during the financial crisis 10 years ago. Strange to see so many vacancies in such a strong economy. Maybe it's that so much of economic commerce is going online. What's going to happen during a recession? Are all storefronts going to be banks and RiteAid/Duane Reade?
Not surprising. Microsoft has made a big deal of partnering with GitHub, showing off how well their Azure-based CI/CD products and services integrate with code hosted at GitHub. Not to mention that .NET Core and many companion libraries are hosted at GitHub, not on VSTS.
Microsoft has reportedly acquired GitHub
My blood boils. Truly. I would hope my kids would tell her to fuck off.
Was yours a fully industrialized factory farm? Family farms are a very different thing, and unfortunately they're a tiny minority in the industry at the moment.
The network activity on this page is ridiculous.
MS has had an 180 degree turn in policy since Balmer left.

Lately they released amazing open-source projects with VSCode being the most prominent one.
At least Facebook is currently heavily investing in Haskell (using it for some core infrastructure, and having hired some core GHC contributors).

MSFT is also contributing to Haskell by supporting Haskell-related research, and employing Simon Peyton Jones.

Jane Street Capital is also heavily investing in OCaml.

While these languages are occupying a different niche than D, they are more arguably innovative/ integrate way more research / plt theory.
part 3 in a series https://doisinkidney.com/series/Breadth-First%20Traversals.h...
Software and stealth: how carmakers hike spare parts prices
Atom and VS Code are both built on Electron. No need to kill Atom as it and VS Code are built for different purposes.
I am gonna wait and see. I know they messed up Skype really bad, but LinkedIN for example they havent touched and destroyed.
I will wait and see..
Facebook is working on probabilistic programming. Rather than develop it as a library, they're trying to provide language support directly. It was recently discussed at a conference; you could ask Erik Meijer for the details (https://twitter.com/headinthebox/status/993972303863070720).
The question was not whether delayed gratification is genetic or not. The question was whether not eating candy when stranger promiss you more candy for not eating it makes you more successful later in life.

The correlation was found weak.
You fill the form, you declare the cash.

It says in Terms & Conditions "if you don't register BLAH BLAH BLAH"

Choose a country that promotes freedom - Liberland, Blue Frontiers anyone?
A lot of kid grew up playing at home and reading books it’s not just a technology problem even if for sure it’s not making thing better

Introvert kids still had to socialize and learn to cope in school. Now that any negatove expression is heavily suppressed and everyone is interacting on social trough technology with a moltitude of aliases there’s little feedback a kid gets to correct his behaviour
Why do you hope for this outcome?
Step 1: Embrace.
“The children now love luxury; they have bad manners, contempt for authority; they show disrespect for elders and love chatter in place of exercise. Children are now tyrants, not the servants of their households. They no longer rise when elders enter the room. They contradict their parents, chatter before company, gobble up dainties at the table, cross their legs, and tyrannize their teachers."

-Plato/Socrates (though incredibly likely this is apocryphal)
Roguelike Hacking Simulator
I've just finished a proof-of-concept and I'm looking for feedback. The project is a "hacking" simulator with roguelike elements.

The world is viewed through a terminal and the user hacks through systems for some end goal (the first scenario is to hack your way through a network and assassinate a drone passenger by killing the drone's autopilot). The user discovers/purchases exploits (future) which can then be used on systems to gain control over them. One of the areas I find difficult is balancing measures vs. counter-measures, though this simple prototype doesn't get there yet.

Levels are defined by networks that have collections of interconnected systems that can be hacked, allowing access to systems deeper in the network (the target), bitcoin to steal, as well as exploits such as a "miner" to convert CPU-time to bitcoin.

It's developed in C on Linux (using ncurses). The image shows illustrates a sample scenario for stealing bitcoin from a system.

Full source is available at https://github.com/mtimjones/spectre.

I'm interested in thoughts about this, difficulty, other critiques?

Thanks,

Tim.﻿﻿﻿
probably. Note that my laugh goes bothways. I'm annoyed by the over paranoid life of today, but I realize that we were too candid back in the days. Society oscillates/
Do benchmarks for yourself. I've done this and on my pixel 2.

•	Google Chrome 66.0.3359.82 (Blink)

•	Google Chrome Canary 66.0.3434.0 (Blink)

•	Mozilla Firefox 60.0 (Gecko)

•	Mozilla Firefox Nightly 62.0 (Gecko)

•	Waterfox 56.0 (Gecko)

•	Opera 46.1.2246.127339 (Blink)

•	Opera Beta 46.2.2246.127570 (Blink)

•	Brave 66.0.3359.158 (Blink)

•	Samsung Internet 6.4 (Blink)

•	Samsung Internet Beta 7.2 (Blink)

•	Microsoft Edge 65.0.3325.109 (Blink)

I'm not going to post the giant table of results but Chrome has the most performance.
We are not yet up to Facebook power at weka.io but we fully use D and support some development of it. We have also released recently a library we use internally for user space threads and other support stuff, called mecca.

D is really nice and very effective, even for a soft real-time system like ours. Most of our code didn't do any GC but where we don't care too much we can make our life a little easier.
Is their a decent unofficial Reddit app?
I simply have little trust in MS. They did improve in some areas, but not enough to gain overall trust. They are still not on the same page with many FOSS efforts.

Company which actively pushes lock-in and patent aggression is not a good steward for FOSS projects.
Take a look at

https://eigenstate.org/archive/myrddin-dev/2018-Jan/0000008....

I think there are still going to be some changes before it stabilizes, but it's currently in master.
I wonder if they will merge VSTS or shutdown VSTS, or maybe just add CI and CD from VSTS to github
We still have Gitlab if MSFT decides to do anything malicious.
Cheap junk food is much more palatable than cheap healthy food.

> Most places have access to a Walmart which is as good nutritionally as any grocery store that ever existed.

Walmart tends to avoid the inner city. If you don't have a car there generally isn't one close enough to shop at more than once a week or so. Bringing home a week of groceries for a family on bus isn't a trivial task.

It's much easier to pick up some cheap food from a convenience store.

> Christ, even your typical gas station sells salad these days.

If you compare the per calorie price of that salad to junk food, it's much more expensive.
well, this may be too late, but it's a top 10 trending repo: https://github.com/upend/IF_MS_BUYS_GITHUB_IMMA_OUT

let 'em know.
And TypeScript <3!
saved the best reply for last. full circle. zing!
Tangentially related, but maybe microsoft could actually do that : why is github's search so terribly bad ?

If they had developed a good powerful code search (custom semantic engine for most used languages, complex queries, exact/fuzzy matches for syntax, use of history, etc) they could have become the primary way you interact with code you don't know yet.

As it stands now it's simply more efficient to clone and use plain old grep, it's really sad.
I'm worried. Consider what happened to Skype. Consider what happened to LinkedIn. I worry something similar will happen to Github. And I love Github.

At some point Microsoft told me I had to change my password for Skype. The "Reset your password" process failed 6 times in a row. I eventually had to create a new, Microsoft ID, to use Skype. I lost all of my old contacts and had to slowly recreate my address book. This is really one of the worst transitions I can recall.

Meanwhile, I act as adviser to a number of entrepreneurs, and the biggest trend of the last year has been "I want to do _______ for professionals, since LinkedIn isn't doing it." The lost opportunities for LinkedIn are very sad.
I feel a great disturbance in the Force. As if millions of voices suddenly cried out in terror and were suddenly silenced. I fear something terrible has happened.
I agree that the housing crisis is part of it, but from my experience, the major cause is digital technology. First, overwhelming amounts of information scare parents from allowing their kids to be so free. People get a false idea of how frequent predators or hit and runs happen, and over adjust. Second, children themselves are spending a large part of their lives in the digital realm, whether it be games or social media.
Alot of MSFT codebase was moved to Git in 2016 and this just makes sense. Wow.

Wonder how hiring/firing is going to be now at Git. They are pro-remote, while most MSFT positions are going no longer remote.
Probably less redundant work and overall a better editor/IDE?
From at least two angles this is great news for Gitlab.

But it feels a bit like the Atlassian / Trello arrangement, which has had little impact on users.

From recent behaviour I'd expect Microsoft to have a very light touch here.
Hey thanks for posting this, I've just switched to it from Materialistic, will see how I get on - but first impressions are very good
It's good that there is such an alternative as GitLab, because there is a slight but still not unsignificant risk that MS will not do the right thing. I think they will though since they are power users of their own product. I'm hoping they know this space.
If this is true, I delete my account immediately.

The last thing I want is my code to fall into the hands of MS.
Please provide evidence of this. The overwhelming, staggering, majority, didn't die gruesome deaths because they played unsupervised.
What different purposes? They're both text editors / lightweight IDEs focusing on plugin extensibility built on top of Electron. They're literally the same thing.
I wouldn't even go that far. We are a fear based society. Anything that could cause harm is bad. This is as far removed from being natural as one can get, imho.
Having seen a whole tide of articles like this recently, I wonder how long it will be before popular opinion and parenting practices trend back toward giving children appropriate amounts of autonomy.

I hesitate at the thought of raising children here (or at all) for a variety-pack of reasons, one of which is that I was rather over-protected as a child, and I'd rather not pass the results of that that on to my kids.

Any current American-kid-havers care to comment on how difficult it actually is to raise non-sheltered kids in the modern age? Is it a big problem or perhaps overblown for the NPR crowd?
There will probably be a decent amount of skepticism around this acquisition (with fair reason), but I'd like to think of this as an opportunity for Microsoft to demonstrate their respect and commitment to the developer community. I say this as someone who has been pleasantly surprised at how helpful BizSpark has been. Staying cautiously optimistic.
That's consistent with the children being phobic.
I've written less than 200 lines of Zig but have been kind of following its development on and off. My impression is yes, defer (and errdefer) are intended to be used for this purpose. I don't see the problem with it though.
The name is a bit of a pun. I wrote a presentation at DConf "D as Better C" and noticed what I'd unintentionally written :-)

https://dlang.org/spec/betterc.html

http://dconf.org/2018/talks/bright.html
this should be sent to the magit team (even if its mostly Jonas these days I believe)
But this is not about people recycling something wrong on accident, it's about companies not doing so on purpose because it saves them money.

GDPR was never about normal people, it was about companies. Trying to reframe it like it's about people is disingenuous. It is supposed to protect people, yes, but from people like you company owners and executives and others who think "screw everything, I'm looking at my bottom line".

You ignored the example with food, so I'm sure you already know this.
LinkedIn is kinda hard to make worse though tbh
what did they do with LinkedIn?? I havent noticed any change.

as for Skype, its completely ruined. I have it installed but I am scared to open it. Horrible GUI. Constant updates and generally just useless now.
Even more people!

Are we going to breed ourselves to the point we will live like caged chickens? Thats what the future looks like to me.

Having said that, are hunger issues down to lack of production or the politics of food distribution?
Why I'll never trust Microsoft ever again.

"postmaster@nsa.gov"

https://en.wikipedia.org/wiki/NSAKEY
I feel the same. It's not the end of free software, but the end of free software as we knew it (or something, still trying to rationalize).

Someone explain the extreme feeling of uneasiness penetrating our brains.
I think they're on step 2 now.

They already embraced it by adding 1k repos. They're now going to extend it.

We'll soon have an msgit, which is git with extensions that only github will support.
discussion of bloomberg article reported about here: https://news.ycombinator.com/item?id=17221527
So it looks like Github is going to be the next sourceforge! Onward to gitlab!
Personally, I can't wait for GitHub360 Professional for Sharepoint 360.
Why on earth would you assume that I think that?
Their search is really frustrating, I agree. I feel like they only index a small percentage of files, so results are always bad.
I'm so glad you asked this question. I rarely see people question assertions like this with regards to parenting or children's behavior.

Alfie Kohn's book, "The myth of the spoiled child", spends a lot of time pointing out that evidence behind claims like this are not only deficient of data, but are claims that seem to be made continuously throughout history of the latest generation of children.
This is sad news. Partially because I don't care for Microsoft, but mostly because Github was a neutral third-party without any priorities. I hope they don't discontinue Atom or apply their UX styling to the site/desktop app. Like Spotify, I felt safer that a company was just doing hosting in their domain (of music or code projects) and wouldn't try to shovel some other tech into it like Apple making Apple Music terrible on Windows. It's good to have more tech companies just doing their single thing well.
I've got a car for sale right now for $31k. It's not listed widely (just an enthusiast forum) and I've had a couple nibbles after about a month, one guy test drove it and seems really interested.

I also just changed the oil and am considering changing the differential fluid.

I've already put multiple hours into listing, uploading pictures, meeting the guy to test drive, responding to texts, phone calls, etc.

Because of the relative value of the car, I intend to meet the buyer at the BUYER'S bank to do the paperwork and see the cashier's check drawn in person (there are lots of cashier's check scams these days).

Assuming I sell it to the interested buyer, it's a fairly conservative estimate to say it'll take me 6-8 hours with the one buyer. If I list it more widely on, say, craigslist, I get to deal with finding time to meet a bunch of tire kickers, THEN finding the time off work or on a saturday morning to go to the bank to do the transaction.

In California, if the vehicle is 5-6 years old or more, the seller is also responsible for getting the car smogged; likely if you took it to a CarMax type place they'd take care of all of that stuff for you (just a guess though).

In the end, I am LIKELY to make, say, $5k over what a dealer would offer me, but there's no way of being sure that I'll get 1 cent over what a dealer would offer.

Ultimately it depends on the market. I only buy fairly unusual cars; my previous car took me 4-6 months to find, the car I'm selling took 4 months to order. I once took 6 months to sell a purple M3.

Done right, enthusiast cars hold their value well, but the target demographic is smaller so they take longer to sell.
Agree. And I had a similar issue with Skype.
Yes, serious chance of GitHub fading like SourceForge did.
Git != Github
Me too. I'm waiting for the official transaction to be done and i'm preparing a plan b in case i have to migrate everything.

More mitigation work is just what i needed. The skype one took years, many failures, and resulting in the use of several tools instead of one. Not a win.
This is about the Smart Citizen project.

https://smartcitizen.me/
I don't understand how GitHub has been unable to become profitable. Anyone know more and want to share some details?
If you've used GPL then you have nothing to worry about.
> what did they do with LinkedIn?? I havent noticed any change.

I think that's his point. He's saying that LinkedIn has the opportunity to do lots of interesting things, and appears to be squandering it.
Oh god, I hope not. Anytime a big company acquires almost anything, the quality level drops off a cliff. Microsoft with Skype is the obvious example, but so is anything bought by Google (like YouTube).

Add to this the bad experience we had with Sourceforge, and I definitely worry it could be all over for GitHub if this is true.
I worry about github too. BUT, at least with github most of the data is open. And they have a worthy competitor in Gitlab. Might be a bit of disruption if MS mess things up, but not a disaster.
Could you point to a few examples of support for "shock therapy and other exploitative economic policies" on the Economist?
Thanks. They seem to want to go after sharing platforms just shrugging when their community uploads videos, music, and warez, yet receiving all the commercial benefit, and I guess that's fair. But clearly this law needs more exposure, discussion and refinement. It also should be unbundled from the law about link previews for news snippets which is an entirely different legal issue.
Initial Version of Crypto Simplified Interface (CSI)