skysight-inc/HackerNews huggingface dataset:
I'd ban default exports if and only if JS had a Java-like import syntax declaration.

import {x,y,z} from 'module'

^ this is an abomination
Kudos for such original idea to a simple alarm clock :-)
This is not a civil or substantive comment. Could you please take a look at the guidelines and then follow them? We're trying to do better than drive-by personal attacks and dismissals here.

https://news.ycombinator.com/newsguidelines.html
According to Cloudflare, over 10% of internet traffic flows through their network [0] of 6+ million websites [1] and 35% "market share" in DNS service [2]. They could slow down access to their network for Ajit Pai.

0: https://www.cloudflare.com/insights/

1: https://www.cloudflare.com/reliability/

2: https://www.cloudflare.com/
is 8gb of ram really enough these days? I know for my development and multitasking I'd feel underpowered with 16gb, but 16 is at least a decent baseline.
If you import stuff from many libs, chances are they're named the same and you have to rename them anyway
I take no pleasure in saying this - and I wish the author all the best - but this is a story of someone who had deeply naive and flawed view on the practical realities of running a business and making a game at the same time.

Let alone shortly after taking on a mortgage and without taking the time to have the business largely underway before quitting your day job. That includes accountancy, which you really do not need to pay for at your scale in this day and age.

Hindsight is always 20/20 etc., but surely grinding evenings and weekends to complete that last month's worth of dev, and seeing how that went with a regular income as a back-up, would have been an infinitely better idea :/
When I shake the tree all the leaves stay on, so default exports are probably fine.
Flowers for Algernon from David Keyes
Some different perspective. Example Debian with plenty of poorly maintained packets which broke original behavior (say linked against another library which is not recommended by upstream) or disable some features or outdated (not in sense of stable/unstable). Sending DD messages 'please fix, thanks' looks like is very reasonable (although some of them do not think so). Either your maintainer or not - even say one can do it 'better', one can't preempt or overload - it's not just fork the whole distro at github.
Nah. Intel are still selling new systems with SPS 3.0 on them, and those systems are still receiving updates, including security updates (I bought one in March, and it's had two firmware updates since, both with ME changes involved). I can believe that they aren't vulnerable to this one.
On the contrary, the flat earthers claim that all of those things can easily be done to prove that they’re correct. And/or they dispute the common arguments that appeal to results from those experiments.
Pure/function-only components will not have a name anyway
Hehe, yeah. It is a pain in the ass to try to cycle in anything other than sneakers though imo. Especially when you need to get off the bike and run up stairs fairly often. Better to be cold and wet than be on the bike in boots.

It was actually a good job most days. Certainly made me more fit than before. I think most work is like that right? Some crappy things and some cool things. But like you say, doing that for 20 years or more I am not sure about.

I did it for a year and a half full time and then part time for two years while working on a CS degree.
Yes,

from 'module' import {x,y,z}

would be nicer
Two of the three reasons listed involve refactoring and autocomplete quirks of Visual Studio Code, specifically. For instance, Webstorm has no such issues with default exports. It is smart enough to find all uses of a module and to track them down. The third reason is not all that common in my experience. Tree shaking is an optimization and often a premature one. It's also a technique primarily used for third party libraries.

My problem with this article is the advice is far too broad "ban all default exports" without being considerate of how others code.

For example, I prefer to keep my modules small, with only one export. I may export helper or unwrapped versions of higher order components for easier testing, but generally I want my modules small and single purpose.

Default exports are helpful constructs. Disagree with this article overall.
I guess that depends on whether your primary concern is getting a handle on the majority vote and the demographic involved, where poorer people voted for a mix of reducing immigration and returning legal sovereignty to British courts, or surfacing the opinions of those who voted leave despite those not being primary concerns and who are in the same income demographic as HN readers who seem to believe that people in their class don't vote Brexit. If you're not interested in the latter then I don't have anything to show you.
The good news is that a) it isn’t estrogen in soy but a chemical that mimics it in the body, and b) it doesn’t turn men into women.
Woody Guthrie knew
https://youtu.be/10A0HQPLTJk
I'm not a woman but I think you're misunderstanding. It's about fair representation, not special treatment because you're a woman. Assuming that's a promo video, it's under-represented.
And what is the issue with just telling them that it could take a lot of work, so probably not? Why does it bother you if someone says thanks? It does not put you in any obligation to do anything...

I do not understand your point of view. Should we stop saying thanks in our daily life? Because it does not really do anything for anyone....

To me the following two messages give off two totally different vibes:

'Hi, can you implement <Feature that takes a month of work>? Thanks!'

'Can you implement <Feature that takes a month of work>?'
I disagree with your point even if it's exaggerated. I'm a HS grad with about a decade of experience. At least for the past five years, I can find a decent job at a startup making well into the six figures at will. Last time I got laid off, I had multiple competitive offers a little over a week later. This was all from cold online applications, and I was not living in a strong market like San Francisco or Boston. I have no LinkedIn or references and I don't network. Granted, I'm pretty good at this and interview _really_ well, but what I just described would be impossible in most other white collar-ish industries, and a total pipe dream for a HS grad.
I had to close within seconds of dealing with this web design, to keep my sanity.

Adding that to the pushing of one distribution over the others... way to utterly misunderstand your target market.

I doubt they'll be selling many. Morons, the bunch of them.
I don't think it says that.

They're saying that System76 works with Clevo and Sager. As in they give them specs and Clevo/Sager get back to them with prototypes. System76 develops firmware for the prototypes across several internal iterations and with some back and forth between them and the manufacturer.

This is a process that would take years, and depending on the contract it is very likely that Clevo/Sager would have all liberty to sell the chassis they developed from the specs System76 gave them.
What leads you to believe that this would affect anyone other than Ajit Pai?

I think, though, a more effective strategy would be to throttle the entire congressional netblock.
Any app that guarantees I will not snooze nor ignore it (as in my brain simply gets used to the alarm and I won't even have a chance waking up with it if I want to)? It might cost $5.000 USD, I'll buy it.
In the us, if u can get their home address, it's pretty easy to tell which of the one or two isp's are available to them.
Reinforcing good bedtime habits is a really interesting idea. Even if that can't guarantee a person is sleeping, it can force people to set their phones down for the night which is something at least I could definitely use. Maybe something like if a user moves their phone past a certain time, the star is destroyed. Going to explore the points option and a few others. Thank you for your feedback
"entire Internet is threatened"?

The polite term for this is "concept creep".

If the only way you can defend your position is by invoking apocalyptic rhetoric, you might want to pick another hill to die on.

Regardless of your opinions on net neutrality, a roll back to 2015-era regulatory policy is not an extinction-level event. Obviously.
In TS most of my export imports look like import * as something from "something";

which makes me cry :D
https://www.merriam-webster.com/dictionary/aptitude

maybe you're getting angry because you're assuming the I'm using definition of aptitude as "quickness to learn" and not "suitability". I was using the word to mean "suitability", and it's kind of unarguable that saying that a job is very stressful and a person has a low tolerance for stress is saying that to some extent they're unsuitable for the job.

He did say that men have a wider bell curve of abilities, here is the precise line which you can find on his site:

Among most psychological characteristics, including IQ, populations of men have higher variance than women even when the average is the same: there are more men on both the top and the bottom of the curve.

I'm going to stop replying now as I've had my fill of being called a stupid liar for the day.
As an aside, this would bother me more if the only two opponents he's chosen so far were not:

1) Nazis, generally
2) Forces trying to literally dismantle the Internet as it has been known for decades

These seem like extraordinary enemies against which extraordinary means are justified.
Comment: Industry 4.0 from the semiconductor industry's perspective
Right. Line sharing works for electricity.

When I first used DSL, I could choose among many ISPs. All delivered through the same legacy copper.
> a very known fact for all unix grey beards

The co-inventor of Unix, Ken Thompson, and the Unix team engineer and author of The Unix Programming Environment, Rob Pike, are both big advocates of static linking. They designed Go and made a big point of emphasising static linking. Pike: "Shared libraries are obviously a good idea until you've actually used them. Whether it's obvious or not that they're a bad idea is mostly a matter of how close you are to trying to get them to work." He wrote the first windowing system for Unix, which surely qualifies him as a greybeard.
Yeah there was a sizing thing to it too. It was for a specific build of headsets that didnt go out in huge numbers each batch, so buying in bulk was risky and the lead time from Taiwan was significant.

You can do a lot of chips in a day though, I did around 10k per day if I remember right, so there was still some profit.
There's little demand to hear someone who isn't a top talent perform music. You can just go to a concert hall and watch someone world famous play with several hundred other audience members, or buy a recording. There is a lot of demand for simple custom business applications, and many people without an obsessive interest in the field are more than skilled enough to provide the product.
Just want to say thank you for that article.
I don’t doubt that crappy food is cheap, but I would be interested in knowing what the cheapest bulk, nutritionally-complete foods you can buy are and where, especially when you factor in how crappy food just makes you hungry faster and eventually results in ridiculous healthcare costs.

The poor certainly are being screwed over, though. Food companies make processed food delicious and prevelant, and it affects the poorest among us the most.
I respect your opinion. I disagree.
Git – Command line vs. GUIs
What is "vegan propaganda"? Someone asking you to please stop unnecessarily abusing animals and polluting the Earth is propaganda to you? This takes a truly mediocre mind to think.
I read it. I thought about it before posting. I complain a lot about the same issues in other HN postings. I think corporate America has lost its collective mind and that daily working life is mostly trying to stay sane in the face of absurdity. But here's the thing: I don't feel sorry for the author. Not even a little bit. Not even after having gone through some of the same issues myself. I don't because working for a living isn't supposed to be enjoyable or fun, it's supposed to put food on the table and a roof over your head. Whether you're in tech or someplace else, that is the point. The world owes you NOTHING. You have to find a way to create value. That's pretty tough when millions of others possess the exact same skills as you do.

Software development is a "lucky" field for those who have the brain power to complete the work. There is no "lowering the bar" in this field, not really. We try and try and the results speak for themselves. Some few have the aptitude and can learn and expand, most will never be able to. There's no amount of social engineering that can fix that. It is astounding how technology breaks with all human wishes and desires and becomes its own thing, not to be dominated, only harnessed.

I have always been against affirmative action for minorities or for women for the very reason mentioned in the article--how demoralizing is it to know you got in via a quota versus being able to actually hack it? I'm all for giving anyone a try out, but they have to measure up in some way and have an improvement arc and I have run into this as a mentor time and again--who to expend more energy on because they have huge potential and who to counsel into project management or some other area (which by the way, those other areas have value, they aren't all worthless, so don't read into that). My own company is going through yet another "diversity" initiative this year. It's Cultural Marxism, identity politics, find root because the social engineers enjoy tinkering. The end result will be negative for the company, wait and see. If they survive, it will be because intelligent people innovated, not because bars were lowered or outcomes were tinkered with.

This is getting long, so my best advice is this: If you don't want to be a developer, don't. You will find some other kind of work to do that suits you. The pay differential is real, but I think that is more a comment on how bad other career paths are doing overall versus how "privileged" software developers are--demand better pay and better working conditions and stop going along to get along. If the world's biggest social engineers got their way, we would all be serfs on plantations, paid in company script and completely redundant. That some of us aren't that means there is hope for humanity.
Your comments don't scale well.

Projects have dependencies from teams with various skill levels and external dependencies over most of which you have little or no control. For this and many others reasons "refactoring to simplify" often isn't an option. Similarly, tree shaking doesn't just apply to the code from your project. Also, what about the time when you first start on a project? Or maybe you're only working on a project for a short time? Wouldn't it be nice if the experience was good regardless?

The author makes a good suggestion for consideration. Anytime we find a principle which is likely to lead to an overall improvement at scale it's worth considering, especially when it comes without much if any a downside. I'm not necessarily agreeing that this is the case here, but just don't think your comments add much.
Yes, I'm just nitpicking his example code. It might pass the wrong impression to people who never saw Rust before.
They're doing April Fool's Day in November now? God help us.
That's what stood out for me about all the StationX except for the Spitfire: they have nVidia GPUs. Having dicked around with nouveau and nvidia/dkms with various nVidia chips I will never buy anything with closed-source/binary-blob. It's just not worth my time.
I think they get their display name from the variable name
:). Yeah I grew up on Blizzard games, so it has been cool to get to work for a company I respect and admire.
Can you clearly state a non-vague example of the "sugar and carbs" misinformation being perpetuated there?
How the village feast paved the way to empires and economics
I do tell them i) whether it is on the roadmap ii) what would need to be done.

The reason it bothers me because it sounds like an order to someone who is delivering a service for you, e.g. 'Can I have another drink? Thanks!'? That's not a 'thanks'.
It’s disappointing that Electron is the only runtime with security vulnerabilities.
Limited options for ISPs. They can map a home address to likely possibilities, then use their vast cleartext MITM capabilities to narrow it down based on traffic content. Chilling really. I'd rather some hacker group take on the task.
Fisker files patents for solid state batteries, 500mile range, 1 minute charge
The undefined state might be in the GPU driver handling the heads-up display, or maybe in the sound subsystem. No need to shut down the system at the kernel level for that. Report the issue to the userland, so that it can decide whether to initiate a safe halt at the sidewalk or emergency lane.

After telling the kernel to shut down immediately you don't have that option any longer.
Or
import module.x

etc.
I'm not a .Net developer but:

> MineCase is a cross-platform, distributed Minecraft server application developed using .NET Core that uses the Orleans framework.

Orleans seems to be what makes this distributed I think, following the trail leads me to: https://dotnet.github.io/orleans/

> Orleans is a framework that provides a straightforward approach to building distributed high-scale computing applications, without the need to learn and apply complex concurrency or other scaling patterns. It was created by Microsoft Research and designed for use in the cloud.
What exactly is "my attitude" please?

And good on you, others will either agree or disagree with you. But I do wonder, why should you be allowed to stop union efforts if others aren't allowed to force you to join? And with whom would you...organize to stop union efforts?
Nowadays the easy part is "to create it". This part depends on the devs, team and can be fixed by $company.

The other part which the company has no control is to sell the game and create a big user base.
Those are the concerns around the ME. But those motivations aren't necessary to explain the presence of the ME. Occam's razor and all that.
Ask HN: Best commits you remember?
I'm curious what are some best commits you know - funny, beautiful or just very good. It's always good to read good code, as well as share it, so if you know some great commits please share it with us here!
Simh is very easy to use, no containers needed, too.
I'm a 40 year old male and have worked as a Front End Developer & Designer for the past 8 years who is scared about having to give up my IT career. I lost my last Govt IT job due to being bullied and harassed by a peer who I reported to management. Managements response wasn't until they went hostile, put me on a PIP and made my bully the judge of my performance.

I wonder has anyone ever faced something similar and or what would you do besides moving on/getting another job because I've been on 15 interviews and oddly haven't received any offers(anomaly for me).
2017 Black Friday Blast
That's a good point. You got me convinced. There are better ways to deliver such a message!
Yeah, I hear you... Their design is far from "drop-dead gorgeous" for my taste.

I was just pointing out that you're not really tied to Windows.
How about one of these, requires you to solve a puzzle to turn off.

https://itunes.apple.com/us/app/mathe-alarm-clock/id82353291...

https://play.google.com/store/apps/details?id=com.wroclawstu...

Otherwise I also remember some friends back in the days having an alarm clock that shoots away a thing in the other corner of the room, requires you to fetch it to disable the alarm.
> * sender anonymity

Not really. Adversaries know that senders are Debian developers. They're numerous, sure, but N << global population.
Ultimately it boils down to the fact that there's basically no interesting difference between an immutable reference to a primitive and the primitive itself in Rust. It can't dangle. The immutability can't be casted away. They just have a different ABI if the references don't get completely optimized away. You could do pointer equality checks on them if you really want?

Swift has taken the observation further and is investigating ways to avoid ever having a immutable+shared-reference-to-primitive vs primitive distinction in the language, while still introducing this distinction for types where it is interesting. (e.g. reference counted classes or atomics)
Yeah. There should be a rule against this. /s

Seriously, this is just part of the "innovation" Ajit is promoting. There will be nothing to stop Comcast from throttling sites for political reasons. CloudFlare will not be the only one to shape internet traffic for personal gain.
Having and enforcing personal boundaries will change your life. People will respect you for it too, not turn you away.
Google is a terrible offender too. I'm on the Android Beta channel, and they recently updated my Google Now. Turns out that they decided that every score in a basketball game was worthy of a vibration. Also that that my commute to work was 30 minutes... on a Saturday. And that the weather was 40 degrees. And that I was near a business. Had to go in and turn each of them off individually. None of that was wanted, just show me the passive notification and I'll get to it when I open my drawer. Let me know I CAN turn them on when I open it for the first time, but don't assume I want that.
Xdpyinfo, if nothing else?
So basically some anti competitive bullshit that is further hampering the already struggling French economy. I am so thankful that I live in the us.
Estimating tasks can be dangerous
I'd also say that if you are not paid you approach the work differently. Like you can take your time with certain things maybe. A lot less stress, I'd imagine. (Depends on the project obviously. If you get yelled at by Linus, you probably should be more careful!)
I've dabbled a lot with Go. I've found it _very_ effective to a wide variety of problems I don't really have most of the time.

If I wanted to implement RAFT I would probably pick Go. If I want a simple REST/GraphSQL server then Node.js is so much easier. `async/await` is nicer for me than goroutines and I find my code easier to reason about.

Full disclosure: I'm a Node.js core team member and a Go fan. Part of my reasoning might be how much nicer Node.js got these last couple of years.
Still Windows 2000 was more oriented to servers (which btw was the main business for the NT line until XP). You could easily mistake an XP for 2000 if you removed the skinning.
Open Quicktime, then 'File' > 'New Screen Recording'. It allows to select a region of the screen. Sharing has a couple of default, the one for iphone generates small *.mp4 files.
I feel like we need a permanent solution to this so that we don't have to panic and raise awareness every year. If we create a fund to protect Net Neutrality and "out-lobby" the ISPs in Washington would be great. If we just donate 10% of our internet bill every month we can definitely become a force they can't out-lobby without going bankrupt.
Where did I say they couldn't? I just take it as a sign they don't understand the medium.