skysight-inc/HackerNews huggingface dataset:
Since you asked for simplest…

In a.js:

module.exports = (arg) => {
return arg * 3;
};

In a.test.js:

// require module to test
const testedFunction = require('./a.js');

// testing
console.log("Default export", "should multiply argument by two:", true &&
testedFunction(3) === 3 * 2
);

In package.json:

"scripts": {
"test": "for file in *test*; do node ${file}; done"
}

In your shell:

$ npm run test

A few things to note:

* Node.js has console.assert() but it is really noisy.

* console.group() could be used to… group assertions and indent output.

* This works for ES6 modules, too, with --experimental-modules and .mjs extensions.

If you want something serious but still lightweight, there's always https://github.com/MithrilJS/mithril.js/tree/next/ospec.
> Trying to get their "anti-vaping" curriculum in schools

I can agree, that seems suspicious.

> The "cool flavors" thing was a (now banned) tobacco industry trick, too

this is more along the lines of what I expected, and I strongly object to this argument for two reasons. the first is just that, as an adult, I don't accept that I should be prohibited from buying something that tastes good to me just because a child might also enjoy the flavor. the second is that having vape flavors that actually taste good makes it a much more effective harm reduction tool; after a giving it a chance, many smokers actually end up preferring the experience of vaping. if you ban all the good flavors, a good chunk of these people are just going to switch back to smoking.

also, I notice there are a lot of people that support the flavored cigarette ban of the 90s and are now railing against vape flavors. I never hear these people complain about sweet, fruity liquors. if strawberry vape juice is targeting children, who is strawberry vodka for? do we also need to think about banning sweet wines?
Knowing foreign-exchange marketplace
His books aren't cheap and I'm thinking he makes his living and supports his research from their sale.

I'm also thinking you have not read any of his books and really have nothing to say about his research or the circumstances of all the missing people that he is reporting on.
So, how long until all the progress they made while a private company is ruined?
They should sell something. Maybe you can buy a vote on where it goes. Even if scientist proposed their top ten picks and then people could pay to vote on them.

Or also naming rights would be a cool way to get funding. Or early access to the imagery.

Lots of stuff they could do.
I certainly don't blindly believe the BuzzFeed story either. Actually, I haven't even bothered to read it as I don't really care very much about the US president.

I find it bizarre that you think that being a liberal has anything to do with this.
They should be similar if they both rely on standard LLVM optimizations. I assume both have their own optimization passes on some mid-level IR but I personally don’t know whether one or the other has any particular language features that dramatically improve performance over the other. I’d like to hear more!
And SmartOS (née Solaris) has LX branded zones.

https://medium.com/@jmarhee/up-and-running-with-lx-brand-zon...
These features are all great but Atom has some big issues to fix that have been around for years. Things like the finder reindexing files every time the window loses focus: https://github.com/atom/fuzzy-finder/issues/88

Additionally the Atom-IDE packages and what will happen with them, many of them have PRs that have been merged in to fix bugs but never published to the package (for about a year now). Although Facebook dropped support for Atom-IDE it still has nearly 1 million downloads and largely works well but can no longer be contributed to since the repo is archived and the packages aren't up to date.
I thought the same way for a long time but there's some vibrant development happening in Austin from what I hear.

They also bought Strongloop[0] a while back, so the developers from aqui-hires have to go somewhere.

[0]: https://strongloop.com/
They'll go private again and emerge much richer. Financial engineering :)
That was my $0.02 as someone who majored in Physics. You just gave $0.04. Good suggestions.
Wow, that's quite an income for Wordpress sites. Well done! If you don't mind my asking a couple questions:

1. Are you based in an urban area like SF or NYC?

2. How long did it take you to build up your clientele?
I gave the links in https://news.ycombinator.com/item?id=18942546 . Essentially, the exception being thrown changed in 23 and 25, and 35 was actually incorrect to begin with, but no one realized it until browsers started implementing Shadow DOM.
>It seems like it worked this time (it's not over yet). But they can try again next time. And again if it also fails. Will the response in opposition be as loud?

It has to be in a democracy. Everyone is free to keep arguing for what they think are good ideas, and those who think they're not need to also keep at it. The struggle never ends, that's the civic duty of the people. Having said that, I think you might be missing one important strategy in this:

>They can try as many times as they want but they only have to succeed once, while we have to succeed 100% of the time. This fundamental imbalance is worrying.

Please correct me if I'm mistaken, but you seem to be implicitly assuming that opposition consists solely of attempting to maintain the status quo. In that scenario you're right that it's more difficult to keep the balance from shifting away from neutral over time. However, instead opposition can fight to actually actively move things farther in their preferred direction, and then even if they lose a certain amount of the time that still won't be disastrous. It's not necessary to win every battle if they're not purely defensive, just some of the time. I don't just oppose further efforts to maximalize IP, I want much (though not all) of the current bits reversed and brought back into more historical balance. I support efforts to reduce the terms back down towards 15-30 years (or alternatively to introduce dynamic pricing/terms), to completely eliminate math and business method patents, better fund examiners, etc. That's where the battle has to continue.

Remember, you can flip your logic around there: we only need to get any given bit of overlong or incorrectly granted IP put back into the public domain once. Maximalists "have to succeed" at preventing it 100% of the time yes?
You are pretty much right, GNU/Linux as mass market desktop has lost its opportunity.

ChromeOS market share is irrelevant outside North America, just check the worldwide market share in your favourite source.

Only Android/Linux has really taken off and even there we still don't know what are Google's plans regarding Fuchsia. It might pretty well be that some future Android version will get a new kernel, announced at Google IO.

It is now quite common to attend Linux conferences just to watch the presenters using macOS with a Linux distribution running either on a local or remote VM.

Assuming WSL keeps improving, it wouldn't surprise me to see similar sessions being done from a W10 laptop.
I see that race relations in the Midwest are about the same as they were 25 years ago when we moved out of there, thus continuing to validate our decision. I’m white as snow, but even a white guy wishes his racist peers would STFU once in a while. Fuck, dude, get a hobby. If you’re going to obsess about something, make it constructive. Go join CrossFit like everyone else and endlessly go on about that instead.

The disappointing thing is that I thought once our hateful, redneck parents died off our generation would be the one to leave our hateful ways behind. Nope, I’m in my fifties, and a small subset of my Midwestern peers didn’t learn a damned thing.
Would it be different with a taxi company?

Would a taxi customer be able to obtain anything from a taxi company beside the money paid out by the insurance? Does it matter who pays for the insurance, company vs driver? Aren't a lot of taxi driver insured themselves?

I don't see technology to call the ride (an apps vs phone), or work arrangement (cab might be an employee or a contractor to a large company vs an "independent worker" makes a difference. Would a taxi company bear more responsibilities? How?
'Missing link' in human history confirmed after long debate
Are you the one who gets to decide which ageist (, sexist, racist, etc.) employment practices are legal because they benefit a party you see as more deserving?
I'm a pilot - the bug masher kind flying general aviation. I use a pi with a couple USB digital radios and wifi to read adsb weather and other aircraft locations when flying, adding it to the moving maps on a tablet. The stratux project (http://stratux.me) started off as a bit of interesting hacking on reddit, and really took off into a mature bit of software/hardware. This does almost everything the $800+ stratus does for pennies on the dollar.
Do You Take This Robot … (Sexy Robot)
> the services that Grab/Uber/Lyft/other “ride sharing apps” provides is for 99.99% of consumers a direct, possibly cheaper, replacement for a cab service.

I think that, reading between the lines, this article is talking about that point. I know cab services are crappy most places, but ride sharing apps are cheaper precisely because they’re trying to build a market without any regulation and they’re undercutting cabs in part because cabs cost more. The business innovation of ride sharing apps is in externalizing the costs of ride sharing, from the maintenance costs of cars onto the drivers, to the lack of unions & benefits, to the “disruptive” startup mentality where Uber justifies breaking laws because it’s good for business, to lower regulatory oversight and fees.
"> Generating three centimeters of top soil takes 1,000 years, and if current rates of degradation continue all of the world's top soil could be gone within 60 years, a senior UN official said on Friday.
https://www.scientificamerican.com/article/only-60-years-of-...

Ridiculous claim made by "UN official". Sad state of modern journalism. Are we 6 cm away from discovering Roman artifacts in any of the fields across Europe? Or we have to dig a bit deeper?
If the language doesn't matter, why do you use R and not GLIMMIX in SAS?
No, government agencies may not accept targeted donations due to anti-corruption law.
I’m not sure they messed up. Go read the Special Counsel’s statement. They say the “characterization” was wrong, not the facts. And when specifically asked, no one in the Administration has actually denied the allegations that Trump directed Cohen to lie.
> Whatever the key to self-reflection turns out to
be, it clearly will involve the processing of internal symbolic representations.

Clearly?
For ETH the big one is the DAO where they had to fork it to recover

There's also other smaller bugs like coinbase and parity wallet
Ask HN: Best iOS ad blocker?
Is there a uBlock Origin alternative for iOS?
DL is a subset of ML is a subset of AI. No fallacy or conflation.
23andMe told me that I was a quarter Italian. Seemed to have mixed that up with what I actually am: 50% middle eastern. For a while I wondered if there was some funny business in the family, but then my sister got the "right" percentages. This seems like a pretty huge error to me.
> But all in all, I am actually quite happy with my Pixelbook purchase. If the hardware/firmware experience could improve a bit, then it would have been a very, very good purchase despite all the hates from Youtube reviewers.

How do you forgive something like that? The LTE on my Lenovo X1C 6th gen fails randomly (with recent driver updates, it’s just once a week). I’m never buying a Lenovo again, basic functionality like that should just work. Laptops are solved technology. They should not have bugs like this.
1Blocker? Crystal? Perfect Browser? Adblock? Adguard? Firefox Focus? Purify? Wipr? Blockbear?
This seems to be an OCR'd and updated version of the original memo [1]. I checked, some of the prose is different, and it gives me the impression of having some OCR or copyediting errors in it. For instance, see the weird dispersal of quotation marks in the vicinity of dragon theme in the phrase "a bevy of whimsical characters aligned with the Dragon theme" in the second paragraph on page 2. For that reason I am thinking if I do read this I'll read the original.

[1] https://dspace.mit.edu/handle/1721.1/6239
802.11-2016 is a 3000+ page (very dense) technical standard, you'd need bigger backing than a crowdfunding campaign to create an open hardware+open software solution for it.
Find the salary on glass door now double that :)
> Beware though: success depends on more than just being able to build nice websites. You have to know how to sell yourself, manage customer expectations and a whole slew of soft skills to position yourself as a trusted advisor and expert. You need to understand your customers business, their challenges and pain points, how their customers think and behave, etc. Etc.

Those skills are hard won. Sounds like you could create a great course and monetize it.

(Not talking about udemy etc, talking about a high end course with sensible price points in the hundreds or more)
Then why use it at all? Would you sell out your beliefs for a cup of coffee?
Wow, do you ever plan to replace fly by wire electronics with a Pi?
You mean TAI, not UT1.
I didn't mean it didn't matter, just that it is not at the forefront. The real reason is the open source licensing, the huge number of quality or advanced packages for stat analysis and graphing.
I think “sites” fat-fingered with auto correction
Is it really that fragile that it can't run Pinhole for even a year?

Or it has to do with the experience of the user?

Did you've Powerbackup? How did it corrupt your card?
You’ve got to enter the atmosphere and come to a stop before you can deploy a drone on another world I would think (Venus notwithstanding).
Uh. No? The people working at a business matter more than that business. This just is not that hard to noodle out.
I didn’t get the sense that the article was about taxi vs ride sharing, I don’t think her point depends on ride sharing being worse than taxis. They should both bear some responsibility, in my interpretation of the article.

> Would a taxi company bear more responsibilities? How?

I don’t know about Singpore, but I think the answer in many cities is yes to some degree, and the reason is that taxi companies are more established and have more regulatory oversight today. In some places the taxi company owns the car, and licenses the car and the driver, where ride sharing apps benefit from hiring people who use their own car. That is, after all, the main reason why ride share apps are currently under-cutting taxis.
2-factor authentication generally keeps you logged in, instead of forcing you to re-do the authentication every day.
1. Windsor, Ontario, Canada is where I am based and most of my clients are, though I do have customers here and there all over North America. One is based in Nunavut, Northwest Territories, Canada. Now THAT is far north.

2. Several years. First couple were tough. I took a 66% pay cut on Year 1 from my role as a senior developer at a Fortune 50 company.

I should add - I’ve never met about 30% of my customers in person, and interact with them strictly by phone. I’m presently sitting in Mexico on vacation, and met one of my clients for the first time in the airport in the way here.
Perhaps it would not be different. But maybe this whole time it should have been different, and the centralization provided by ride share apps like Grab now make it feasible for it to be different.

So I don’t buy this argument, and I think it’s a dangerous one. The hyperbolic, oblivious version of what you’re saying is: “well, when there were many taxi companies, it was a Wild West with no tracking and little accountability, why should that change now that the tech lets you call a cab from a phone?”

The technology we use to hail cabs provides new business opportunities, and those are actively being pursued. But also the centralization of these operations also provides new regulatory opportunities — perhaps we should be taking advantage of those too!
I am not a web developer by profession (I'm a marketing director and entrepreneur), but I freelance 2-3 sites per year on the side. Most of these sites are fairly simple sites for small businesses and organizations. I make more money doing this (per hour) than most other freelancers I've met, and it's because I offer what my clients can't get with Wix/Squarespace: effective, high end design. I'm a decent web developer (most of you on here would destroy me, but I do what I do well), but I'm a really good designer, and I understand how to impart a site with a certain brand and professional gloss due to my marketing and design background. Anyone can launch a website these days, but not anyone can create a tool that changes perceptions and increases conversions.

So you have to offer something more than just a website. You have to have a portfolio that shows that you can create a site that puts their business/brand above their competitors in the eyes of their customers. Most importantly, to make this viable, you have to find clients that understand and appreciate the importance and value of this and have the budget to spend on it. Forget building sites for restaurants, mom and pops, and other cash-strapped businesses. You have to build relationships with the companies who make big money, and then give them a tool to make even more. Then the payment you're asking become an investment, and investments are easier to stomach than costs.
You're in luck: https://www.dsogaming.com/news/classic-half-life-gets-esrgan...
Sorry, I tried to say 2 things:
1. Your simple solution: add a 5 second delay after each failed attempt per username OR ip address.
2. It seems that sites that do account lock-outs don't suffer from DOS attacks, for some reason.
Does it?

COICA -> PIPA -> SOPA -> CISPA -> CISA tells another tale.

Sure it's the USA, but the problem is not unique to the USA. It's a part of all major political systems today. If a government is determined to get a law passed, often at the behest of special interests, they'll just keep reintroducing it and slightly changing it until they win a war of attrition. Like somebody else mentioned they have to win once, you have to win every single time.

Perhaps a balancing of powers would be public referendums enabling laws to rolled back. x signatures triggers a referendum and if a supermajority (70% perhaps?) votes in favor of a rollback, a law is undone with an e.g. decade long prohibition on the reintroduction of any materially similar law. Would be quite a remarkably democratic system that could enable the citizens of a nation to remove unjust, inappropriate, or simply obsolete laws. And just to ensure that citizens and their representatives are on equal footing, so long as the signatures are repeatedly reached - these referendums could be called each and every year.
Yes alcohol is bad.

Then again, it seemed like it was the only drug that helped with my panic attacks, and generalized anxiety.

Benzodiazepines(mainly Klonopin) helped a bit, but dealing with MD's is tedious, and expensive, and there's nothing more irritating than a doctor whom forgets to fill refills, or wants to see you for another expensive office visit before the script is written. (I happened to run across a ethical doctor, but I'm definetly in the minority. And I only found him after seeing utterly useless "professionals".

I knew after my breakdown that if I wanted to make it to middle age, I would only use alcohol when absolutely needed. Meaning very light drinking during social events, or none at all?

I tried to only use the poison when absolutely needed.

As my grandfather said, "Moderation in everything!".

(I think I'm Shadowbanned. Up, or down vote me. To lazy to go to incognito mode on my laptop. By the way, I belive shadowbanning because you refuse to kiss a moderator's ass is childish, petty, and un-American. It's mean girl, middle school tactics. It's not clever, it's weaselly, and weak. At least tell the person that got their panties/ego in a bind to get lost?)
Do they stay after 2 years? They seem to be in the auditing and shareback business. Probably the right way to return cash to shareholders but not a high growth tech company. (And if the accusations are true, not an ethical one either, though the bar may be low)
> There's no reason these guys would be significantly more likely to screw you over than literally any software vendor.

No reason? Compared to literally any software vendor? The fact that their entire business model revolves around shady if not illegal practices designed to circumvent others' terms of service isn't a reason?
Hardware(PCB) EE here. Worked with non- degreed PCB level systems integrators at a not so glamorous FAANG. Perhaps the entry requirement at the Mother of all FAANGs might be a BSEE min and MSEE maximum.
>This then becomes representative of your experience... Whatever's on your CV, and whatever you can say about what you've learned over the years, becomes totally irrelevant in the face of that.

Don't think this is true. At most tech interviews, the algorithms portion is more of a technical bar. It's usually the CV, years of relevant experience, and performance on the architecture/system design interview that determines what leveling you are.

>To that extent I'd much rather see the formation of a professional body that offers a trustworthy credential

Every company values different things from their candidates, so I don't think a formal interview process will ever go away. That said, there are companies like Triplebyte that try and standardize the interview process - they usually don't ask algorithm questions either. It's not quite a certification, but they'll fast-forward you through the interview process at companies that use them.
sites

On a qwerty keyboard o is next to i, r is next to t.
> They also bought Strongloop[0] a while back, so the developers from aqui-hires have to go somewhere.

That would be somewhere else.

Strongloop is in SV, there's no shortage of opportunity for the devs who worked there.

Unless they got some serious golden handcuffs, in which case I'm sure some will stay for the 3-5 years these last.
Am I the only one that skimmed the story so fast that I didn't notice the MS associations?

I could tell it wasn't going to be a super deep dive or deeply technical just from a look at layout/style of the post -- but it wasn't supposed to be super deeply technical right? Kind of just like a fun post.

They were extremely helpful in making the "conclusion" bits on the end of every section very obvious though (I aim to write like that as well, to save readers time), so I basically only read those, and skipped to the bottom where they unveiled and clicked the button...
I guess it's not what you want to hear, but that probably is a hardware problem. It may work on other OSes, but if it's not behaving correctly, then it's probably not a well-behaved USB device. And there may be software workarounds--but it's probably ultimately a hardware problem. So you should probably complain to the manufacturer and tell them to get with it and either fix the mouse or upstream a Linux driver that works around its bugs.
Get out to networking events, local business chambers, local community organiations, etc.

For example: One of our oldest business associates, who has passed over a lot of work over the years, we met volunteering for the local seafood festival.