skysight-inc/HackerNews huggingface dataset:
I have a bunch of open source projects; I'm getting quite good at giving my projects new homes because I don't want to maintain them anymore.

Speaking for myself, thanks is fine but I don't need it; thanks doesn't do anything for burnout. People using my software is enough thanks. The biggest thanks is someone contributing a useful bug fix or needed feature. Time and effort is the currency in open source.
Sometimes you don't care what the importing module names your thing, and it's the only thing your module does. Think of a super simple React component... I'm `export default function(props) { ... }`ing that every time. Is that bad?
when it works for containers, it would have worked just the same for shared lib, but with one less step.

containers: update the lib, rebuild.

sane software: update the lib.

now, to the complicated case which containers claim to solve, when the lib update breaks compatibility.

container: update lib, application dont compile, leave like that because we think we are not vulnerable anyways.

sane sotware: update lib, application break, have to fix application because shared lib will be updated no matter what.
Why we have banned default exports in JavaScript and you should do the same
Generally I don't necessarily think top companies are the ones using the newer stacks, with the exclusion of a few technology companies, but it's more so the newer companies that are.

Once a company builds a system, they don't want to spend to build it again. They'll bandaid the hell out of it. As long as it's doing what it's supposed to do. They're like farmers with these old beat to hell tractors. They're ugly and bitchy but they work, why spend $100K on a new one?
However we do live in a world where we have to prioritize because we each have finite time. The social issues of tech work will never be as dire as issues of poverty, child welfare or health care. Our privilege blinds us to this.
Still No Science Advisor at the White House – MIT Technology Review
> Except that NN does not prohibit it for traffic engineering purposes.

Not outright but it does restrict it specifically to prevent it from being a backdoor for this kind of edge provider discrimination.
I meant it as a hyperbole to demonstrate schools aren't the issue. They won't just happily push students through as they have high standards to meet.

Schools do have a bit more flexibility in scheduling and resource management that can allow them increases in capacity if so demanded.
The Verizon strikers would regularly blast air horns outside my home and office. Extremely annoying, and apparently legal. Made me lose my sympathy for them real quick.
Bad move. If this works it will show that preferential treatment is already possible, thus making the existing net neutrality meaningless.
I personally use Lineage on a Samsung Galaxy S5 and love it. It's far better than the stock roms. It offers access to newer OS versions (currently Nougat) and quicker access to security patches. Better battery life, a cleaner less bloated experience, and options for tweaking settings to your liking. There are some downsides though. Mainly reduced camera performance.
It’s a little disappointing they mention docker a ton of times when it’s simh doing the heavy lifting here (though it looks like a very user friendly way to package it!)—just a shout out to the azing project would mean a lot to some people.
Serious consideration is being given to driverless cars so why not similarly upgrade all trains for situations far less demanding than public roads?
Yes. But those odds are not impossible. If you make an effort to be smart about what you consume you can over come the odds. No effort? Well, that's never a formula for victory. I mean there are plenty of alternatives to soda. But people don't choose them.
I bought a copy today. As I suspect did a lot of others. Hope it helps some. I look forward to playing the game this evening.
Free Bitcoin Giveaway
Hi guys, I find a video on youtube what ask for my bitcoin address for a bitcoin giveaway. But i am afraid to du this for the hackers.Is it safe to share my bitcoin address?
The video is here:
https://www.youtube.com/watch?v=aM7hi14ohLs
This is a pretty aggressive tone, and it's kind of unwarranted. I did read it, and well.

Saying that women have higher innate neuroticism is saying that they have less natural aptitude for stressful jobs.

Saying that men have a wider bell curve in abilities is saying that you'll find less women at the extreme end of the aptitude curve necessary to work at Google (and be as good as the mean).

There will never be a time that working at Google or whatever the Google equivalent is isn't stressful and doesn't require off the end of the bell curve ability (which he's saying will be much rarer in females).

He also explicitly refers to a risk of lowering the bar.

Here: https://firedfortruth.com/
What happens when the highest bidder rents up all of the infrastructure?

I believe your suggestion is already practiced with phone carriers. The infrastructure is finite & there are physical bandwidths limitations, at least currently.
The joint declaration from the unions (scanned, italian, pdf): http://www.cgilpiacenza.it/imgportfolio/14/img_6/img_767969....
Done incorrectly, this can sound passive aggressive, but I suggest adding a short notice in your README:

- Feature requests should follow ((list your rules)). All requests that don't follow the rules will be ((closed|ignored))

- ((The maintainers of this project)) will only add new features ((at their leisure)). If you cannot contribute a pull request for ((feature X)), make a feature request ((following the rules on item 1)) and wait. Please do not be impatient.

- If you can implement ((feature X)), please do so and open a pull request.

My personal experience is that dealing with third-party code, merge conflicts and waiting for responses can be even more draining than writing code, so there's that.
Wow, thanks for this comment. It's hugely enlightening.
Its almost like female humans are the ones who desire masculinity in men to be happy more than the men need masculinity to be happy.
Really mind boggling.
> That savings was originally for a downpayment for a house, but now gives me a landing pad where I can take some time to really do what I love.

Saving up and taking two years to do my own thing made me appreciate the old saying "time is money" like nothing else ever has, I literally bought time to do what I want with that money. It ran out before I figured out how to turn it into a sustainable business, but I still had the best two years of my professional life so far.
It would be helpful to link to something like this in case someone isn’t familiar with the difference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
This reminds me of the Linux kernel build bot.

Hi X,

I love your patch! Yet something to improve:
Aren't closed shops illegal?
I don't either understand why they strike, but that's because they released their statement as a scanned pdf without ocr and I can't read italian: http://www.cgilpiacenza.it/imgportfolio/14/img_6/img_767969....
Riiiight... who knew that Clevo and Sager relied on System 76 to design and develop their systems (/s). It's a good story, but I don't believe it for a minute.
"All distros covered " = No distro really fully covered.

The world doesn't need another random laptop which you might be able to install Linux on. What's needed is a Linux laptop that just works(tm) - all the time, every time, with the most common peripherals.
It's all about getting the most out of the employer when you are negotiating coming on. The raises after that first salary are typically negligible, especially at large companies.

Always ask for more when you first come onto a company, that's your baseline for the rest of the time you are there.

I was on the left side of that bell curve until I learned that.
If we could easily build our own internet then there would be no need to regulate the internet at all.
Ok, I did, so here's the answer in case anybody else is confused:

The feature under discussion is "associated type constructors". Rust already has associated types in traits (I didn't know that part and was confused), and what this feature adds is that it allows us to associate a first-order type constructor to a trait.

Since the type constructor is first-order, and first-order type constructors are already present in the base language in the form of generic types, the implementation is simplified to the point that it can reuse the existing infrarstructure for type inference.

---

Apart from that, the reason for this implementation choice seems to be that it's required for precise lifetime management. Almost all datastructures in rust seem to be parameterized with a lifetime argument, even if they have no further type parameters. Since there is no such thing as a second-order lifetime (i.e., a "lifetime constructor" T : (lifetime -> lifetime) -> lifetime), first-order type constructors are enough to handle all issues that pop up because of lifetime management.

---

That actually seems like a very pragmatic design. The only problem I had while reading this RFC is that the combination of "multiple-inheritance" in traits with their built in namespacing leads to some really ugly syntax, e.g., "<T as Foo>::Bar<'a, 'static>;". Is this already idiomatic rust?

There's several more things that confuse me in this RFC, but this is probably the wrong place to discuss these things. Incidentally, what is the right place to talk about this?
> union members overwhelmingly voted for Republicans in the last two election cycles

There's a lot that's skewed in your comments, but that's just flat out wrong. Union households voted for Clinton over Trump by 8%. That's less than Democrats often get, but the idea that union members prefer Republicans is divorced from reality.
> But this is ignoring the whole debate: proponents of net freedom don't consider fast lanes to be a problem.

“network freedom” was the FCC’s original name for net neutrality before it shifted to “open internet”; because it protected end-user freedom. Using “net freedom” to refer to the abolition of that protection is, well, about as honest as the rest of the anti-neutrality effort.
I know the origin of the problem, this thing supposed to resolve, but the majority of the HN doesn't. Could you please describe it?
Interview with Bob Martin (Uncle Bob)
You'd think Cloudflare would have learned from the Stormfront incident
Surely there are drawbacks in refactoring, as unless your editor supports bulk renaming references you will have to rename every single import and usage. Whereas with a default export you have no such issue.
How much truth is there in it?
Did they lie about their experiment?
Author here. Development is indeed on hold for now. However, Crystal core team has plans to build a DSL into Crystal to allow for creating Ruby native extensions.

There are some technical limitations with how I handled defining functions, which has also become obsolete with recent changes to Crystal. However, there is another approach (macro based) demonstrated at https://github.com/spalladino/crystal-ruby_exts. The macro approach is what is needed.

At time of first development, this was just an experiment and I didn't feel like redo-ing it this way. Now that core team has plans for similar functionality, I'd rather not finish a half baked solution that distracts from what theirs will likely be.
That’s a good example, especially considering that farming has ludicrous capital costs while programming has very low capital costs.
Inspiring the Next Generation of Open Source – The Linux Foundation
> The company said salaries paid to its workers were among the highest in the logistic sector and that it also provided some benefits such as private medical insurance or money to pay for training programs.

Not a criticism of either Amazon or the unions but I would really appreciate it if news sources would verify these claims one way or another. Obviously as a wire service, that may not be Reuters' job but whether Amazon's claim here is true or not makes a massive difference to what I glean from the article.
As useful as Ancient Greek?

Comment from Cambridge University:

"What careers do those with a Classics degree go on to?
Few degrees offer the same opportunities for acquiring advanced skills in languages, analytical thinking, essay-writing, visual analysis, critical sensitivity, spotting a biased source at a hundred paces, and so on. No wonder that Cambridge classicists are amongst the most employable graduates in the country. Our students have gone on to law, journalism, film and television, banking, consultancy, marketing, museum and gallery work, teaching and academia. In the Guardian’s last two University Guide to Classics, Cambridge came top in the country for ‘Career Prospects’.
AFAIK it's bad practise to export components like that, as they won't have a displayable name in devtools etc.
It's not directly comparable, as in Germany the workers have much more power in companies to start with. You need fewer strikes if your representatives in the company board can affect the decisions before they are announced.
To be honest, I'm not sure if this kind of thinking is conducive to getting good work done. If someone is smart, self-motivated, and so on, you can mostly count on them to work hard on important stuff given a bit of direction. The "work sucks, do your job" attitude is, in my experience, one way to get workers to check out, stop caring, and start maneuvering politically so that they can do the minimum amount of work necessary to not get fired. If you add to this that the threat of firing means little to a lot of younger folks with ability and a network, since they have very few financial liabilities and can easily find another entry-level job anyway, you risk easily creating a bunch of unmanageable low-effort workers. The worst part is that managers seem to kick into "just do it" mode when things are most precarious for the organization.

This seems to be common in other industries with liquid job markets and little financial benefit to staying in one company over another, ex young people in low-end retail jobs who live at home
I'll preface this by saying I'm not a huge fan of ES2015 modules. Everything ES2015 provides (syntactical sugar) could be achieved with CommonJS exports. If you don't want to export an object and only a single thing, you can enforce those restrictions via code reviews, linting tools, etc. rather than bloating the language spec. And the backwards compatibility is very poor with older CommonJS (the weird __default stuff). This is what happens when you try to bolt on features from other languages that make no sense with javascript.

The next point is regarding IDE's. Honestly, I don't understand the obsession with designing a language around tooltips in an IDE. I personally use vim and once I know a code base I rarely need to look stuff up. If your code and internal APIs are that complicated where you can't remember basic function signatures, its time to refactor and simplify so you can fit all that stuff in your memory without the need for hints.

To the point about refactoring: I really doubt named imports are going to save you much time here at all. How much time do you spend figuring out the import/exports from a file vs. refactoring what the actual code is doing? Unless you're talking about some kind of formal AST automation (which could benefit from being more explicit)?

The next comment is about tree shaking. Better known as "dead code elimination" and its been in uglifiyjs and closure compiler for 10 years but somehow the webpack folks thought tree shaking sounded cooler, even though they don't even implement it and just shell out to uglifer. My argument here is that if your code is so messy and is in need of good shake (no pun intended, well...err), you have big problems. I cringe when I see people trying to layer on tools to paper over technical debt. You should actually go through the source and remove what isn't needed or used anymore.
Commercial game development is expensive.
Author went from indie dev to a company, just for a single game and risked all his savings for phantom success.
He could of avoided all of this, just stay indie.
It still sucks if you are passionate about it. Coding was a hell of a lot funner 20 years ago, before the dark times, before the MBAs.
Saving if you mean they are even less incentivised to increase their capacity, because less capacity means more people will purchase those fast lanes?

Don't you understand that the capacity issue was artificially created to push this agenda? There was blog article from level3 showing the capacity issue was coming down to enabling another port[1], perhaps purchasing extra transciever that costs just few thousand (level3 offered to even purchase one for them if they can't afford it)

[1] https://web.archive.org/web/20140907021805/http://blog.level...
Tools for analyzing performance in Linux with bcc/BPF
Go packaging philosophy goes against that. but go is also released in a good enough state and things are being done right on the fly.
>" The anti-union FUD campaign in the US has contributed significantly to the erosion of middle class wages over the past 50 years."

That's quite a claim, do you have any data to back that up? That just sounds like another claim intended to politicize things in some binary fashion - left vs right. Which is ironic because it is this same FUD tactic that politicians use to get people to react with their gut rather than their brain. You seem to be propagating this divisive tactic.

There are many reason for a shrinking middle class in the US - loss of the manufacturing sector, an aging population, the decline in marriage rates, a more unequal income distribution and changing demographics such as an increase in racial and ethnic diversity.[1]

Also the majority of of union members are now in public sector jobs and not private sector jobs.[2]

The past 50 years has overall seen an increase in the public sector union jobs, trending slightly downward recently.

Public-sector workers have a union membership rate (34.4 percent) more than five times higher than that of private-sector workers (6.4 percent).[3]

[1] http://www.pewsocialtrends.org/2015/12/09/the-american-middl...

[2] http://www.nytimes.com/2010/01/23/business/23labor.html

[3] https://www.bls.gov/news.release/pdf/union2.pdf
Unions and expensive pensions contributed significantly to the bankruptcy of General Motors. If not for a government bail out we'd barely have an American auto industry.
My sentiment exactly.
Ask HN: Why is comment throttling so aggressive?
I wrote five comments (well, it was five at the time) on the NN discussion ( https://news.ycombinator.com/item?id=15754287 )

All comments were relevant, on point and upvoted. Then a submitted a sixth and I get the "you are submitting too fast" slap in the face.

Why is comment throttling so aggressive on Hacker News?

Shouldn't the throttle at least take into consideration the quality of the comments (using upvoted as a proxy) instead of killing the discussion?

And what's with the unreasonable length of the ban? It takes hours before you can start commenting again, which is totally unreasonable.
How petty of them.
How does it feel to be a junior developer
That'd be cool, if there were competition. Which there isn't, in most of the US.
Is there any way I can disable the play-a-game-to-unlock feature? I kind of just want cool stars in my phone.
Seems really nice, congrats!
I'll give it a try and give you some feedback in a few days
'That Sugar Film' is incredibly dishonest.

The guy claims he gained about 15kg over a one month period by substituting sugary foods into his diet while keeping his caloric intake the same. That's a massive claim which you'd expect to be backed up by pretty rigorous testing, yeah? Not even close. He doesn't even count his calories.

The whole time I was watching I was waiting to see the numbers. Spoiler alert: there aren't any. Halfway through the 'experiment' he states that he's never counted calories before, proceeds to do it just once, and then claims that his intake appears to be the same as it was before. To embark on a project like this and only measure your caloric intake once throughout the entire thing is incredibly disingenuous behaviour.
I spent $1300 on a System76 laptop about 5 years ago and have been extremely satisfied* with it.

* Except for the Nvidia hardware, which never really worked right. I'm using unaccelerated (?) Nouveau drivers as the least bad option.
"Every small little detail that the buyers wanted I took a look at it and did my best to serve their needs."

"The buyers" are mostly "one buyer", if he even bought the game at all, right?

That's devastating. You need to prioritize features, you cannot do every little thing probably not even the reporter really cares about.

And "DO NOT GO FULL TIME UNLESS YOU CAN AFFORD A HUGE HUGE FAILURE! MAKE SURE YOU CAN SURVIVE SELLING CLOSE TO 0 COPIES."

That's not a "huge failure". That's expected. Many more than zero would be a huge success. Not the other way around.
This is what the company says, not necessarily the whole truth (how many employees got these benefits?).

Besides, things like "private medical insurance" are meaningless in Northern Italy, where the regional health service is either free or very low-cost and delivers excellent levels of care. I'm surprised they are even mentioned as important benefits; either the person speaking to reporters is not Italian, or they are trying to target the story to non-Italian audiences.

More meaningful benefits in Italy would be guaranteed bonuses ("tredicesima", "quattordicesima") or short hours.
Yes, we've updated the title here. We would've done it even if the article hadn't because “Elon Musk builds X” is indeed clickbait.
What is his 'equally effective way'?
Good point.

I think there is essential difference between "100% need it but only 1% is going to buy it" and "Everybody wastes time playing games they enjoy, somehow magically 0,00003% of them will end up playing my game." Or maybe it's just the same fallacy over again.

Do you have any resource of making good market analysis?
Actually I think Prince's point is to do it _after/if_ it is passed. The issue isn't that it is possible today (all techies already know this), the issue is that after this you'll have to no legal recourse to equitable treatment once this is passed.
Instead of doing that I am just going to oppose all unions everywhere and try and prevent them from getting any power at all.

Why? Because as soon as they get a foothold, it is done. Over. Can't get rid of them. There are literally rules where they can fire you for trying to end the union.

If it weren't for attitudes like yours, I wouldn't be opposing unions. But your attitude DOES exist, so my only option is all out war.

Fortunately, the rest of my industry (tech) agrees with me and does not support unions. And fortunately, union support is going down massively all across the US.
I recently took a 4 month sabbatical and money is certainly freedom. I appreciate it more.
Right. When I last checked, you can get as low as Windows 3.1 from MSDN.. but not 2000.
Just acknowledging a problem exists takes practically zero time.
would like this for MSDOS 5.0..
Price's Law suggests that the square root of the number of workers in a particular domain constitute half the productivity. This means if a particular office has 100 coders, 10 of them make up half the total productivity. So the top performers are doing ~5% of the total work each, while the regular performers, on average, are doing 0.5%. So statistically every place with 100 developers has ten 10x coders whether that's Google or anywhere else.
Lol, just a simple tweet. Move on people.
Google’s Dr Fernando Pereira on Natural Language Understanding and Machine Learni,
this is a silly argument, no matter the medium there is room for original creativity, people didn't stop painting because they ran out of colours...
I've been in tech for seven years and never been drug tested.
would like this for MSDOS 5.0 so I can play some commander keen