skysight-inc/HackerNews huggingface dataset:
Try adding the `--module` flag [1]. JS now has two different grammars, script and module, and the `import` keyword is only allowed in module code.

[1] https://bellard.org/quickjs/quickjs.html#qjs-interpreter
There is only one French company affected as another commenter pointed out.
I ate two pounds of strawberries this week. I wonder how much fructose that is, comparatively.
It may have, but I doubt it was the primary motivation. Steve Jobs famously cared a lot about user experience, security and reliability. Remember that Apple under his leadership took a firm stance and loudly and publicly refused to allow Flash on its devices, despite the fact that many websites back then relied on Flash.
The Android ver on my phone is 4.1. Still runs just fine, but then again all I use it for are calls/SMS, so there's little scope to be exploited.
No, because these people are expecting full time work for 1/10 pay.
Try ./qjs -m examples/hello_module.js
It would have been nice if dropping them had been an option for me.
The problem isn't even one of over-simplification; it's that logic does not inherently possess values. Logic can only tell you whether a conclusion follows from premises, not whether those premises are correct. It can tell you whether an idea is consistent but not whether it is good.
Brendan Gregg has a post that provides an overview[1] of the various eBPF wrappers that's worth a look if you want to dive further.

[1] http://www.brendangregg.com/blog/2019-01-01/learn-ebpf-traci...
It is pretty nefarious. In traditional research and product development protocols, you would have people opt into something like this, and optionally pay them for it.

If Google gave out a hundred thousand Google Home units for free to test subjects, with informed consent, there would be no big deal. It would cost Google $2.5 million, and it'd probably be enough data.

If my web site policy discloses "I may randomly send a thug to your house to shoot your children," and you come, visit, click through the license which warned you, and then I shoot your family, that doesn't mean I'm not doing something super-evil.

Google seems to be doing something super-evil here. Their response -- plugging the leak -- seems equally evil. People have a right to know what's being done with their data, and at least under European law, Google has a legal and ethical obligation to disclose things like this in language people can understand.

GDPR is rather well-written here. It looks like Google is breaking it, and currently trying to shoot the whistle-blower.

Thank you whistle-blower!
Is there anything that Fabrice can't do? I mean, FFMpeg is almost a PhD thesis in and of itself, and he still manages to find time to make TinyC, QEMU, and now this. To say I'm jealous of his skills would be an understatement.
Japan's famous Nara deer dying from eating plastic bags
That's a bit harsh. How many HN highly voted articles have we seen about a dev excited about caching, bloom filters, CPU timing, arcane C++ trivia, fuzzing or other basic concepts without doing any original research of their own?
Store bought juice is just pasteurized. Exactly like milk. You can also apply UHT process and do either at home with basic tools.
Devil's advocate: go make a listing on Amazon for a product that already has other competitors selling. How are you going to "market" yours to the top?
Wow, Haskell is just as opaque as ever to me. I wonder if I'll ever be able to comprehend this language.
Definitely not impossible. Microsoft offers a pay-as-you-go Bing Search API (https://azure.microsoft.com/en-us/pricing/details/cognitive-...).

I can only assume ecosia share this data with Microsoft because doing so has allowed them to land a more lucrative deal.
> Those large tech companies can make money in France because the french government provides all that is necessary for a free, fair and functioning market. How could Google make money in France if there was no french police force, education system, market regulation, court system, contract enforcement?

Ignoring for a moment that this rationale can support any tax policy at all (including 100% tax rates)... This holds for all businesses, not just large tech companies. So why is the tax focused on the latter?
What should he do if he finds out about a vulnerability then? Does he need a new phone?
This is standard industry practice. I remember hearing about one of Upwork's constituent companies, oDesk, doing the same thing 13 years ago. You had to run their time logger program, which would periodically screenshot your desktop and take a webcam photo to ensure you were working.
How do you own it ?
> classical QM

There is no such thing as "classical QM". If you mean pre-quantum classical physics, this kind of "information capture" certainly is possible in classical physics, regardless of how complicated the system is. It's only in quantum physics that it becomes an issue.
My favorite part of that article is definitely "The MSM refuses to report on President Trump's war on pedophiles and on child sex-trafficking rings in spite of the recent avalanche of arrests which include the following:" where "the following" is a list of links to MSM articles.

Debunking yourself in your own story is... special.

edit: Here's a thorough debunking of the core claim.

https://reason.com/2017/02/27/trumps-fake-crackdown-on-sex-t...
> Your password doesn’t matter, but MFA does! Based on our studies, your account is more than 99.9% less likely to be compromised if you use MFA.

I'd be much more interested what that percentage is when you only consider people who use password managers. (Which is not to imply that MFA isn't good.)
I thought everyone had agreed that non-competes weren't enforceable (because they're basically a restriction on trade, and that's illegal)?

Are they still a thing?
Spend a year working for a consulting company, to learn the ropes. If I were a business looking to have a freelancer build something for me, 'a fresh grad, with less than a year work experience, who has never done this sort of thing before' is not who I'd hire.

I have 9 years experience, and if I were to to go into freelancing (The kind where you solve problems for businesses, as opposed to the kind where you're a 9-5 1099 contractor), the first thing I would do is to take a job at a consulting firm, and spend my time there learning. Figure out what works, and what really, really doesn't.

That job is probably going to suck, but you'll have a much better idea of what to do, what your customers really hate about working with big firms, and your resume will look much better, when you can put down "I did the thing I want you to hire me for, in a consulting firm, for 18 months, I know how this works, and I can do it better."
This man is a wizard. You can also thank him for ffmpeg and qemu. A company I worked for once tried to hire him as a consultant because he had implemented an LTE BTS in software. Is there anything he hasn't done?

EDIT: tombert beat me to it[0] by a couple minutes.

[0] https://news.ycombinator.com/item?id=20413498
Deleted Tweets: Trump
Guile is an implementation of Scheme that supports Revised^5 and a good chunk of Revised^6.
From a cursory glance, it doesn't look like it's a bunch of files concatenated together.
> the main effect will be on the market price of Libra, right?

National central banks in the modern era have two functions: manage the money supply and make sure that the economy is running well. It's true that Libra would be the only direct impact, but then you have people who have debts in dollars and revenues in Libra, and if they can't pay back their dollar debts then their lenders are now short of dollars and can't pay back their obligations, and now we have a financial crisis.

Examples of this include 1997 in Asia: https://en.wikipedia.org/wiki/1997_Asian_financial_crisis
Watch out, you're going to have some purist chime in about how worthwhile the "theater experience" is because it's "shared" or whatever. I see these arguments all the time on /r/movies; the movie snobs really hate people who watch movies at home and don't go to the theaters and put up with rude patrons, overpriced concessions, 25 minutes of commercials, etc.
FWIW, LineageOS has official nightlies for that phone now (typing this from one of those builds now, actually)
code has been removed, DMCA takedown notices sent to github for forks with a note saying that they can change the license to comply with mine, or remove code as they wish.

thanks all for adice!
Not only that, what makes you think corporate tax is paid only by shareholders rather than customers and employees?

A business needs capital to get started -- otherwise the founders wouldn't have to give ownership stakes to capitalists. But the capitalists also have the option to put their money in real estate or bonds or companies that sell to other countries etc. A company has to beat the after-tax ROI of those things in order to raise the money it needs -- so if the taxes go up, the ROI goes down, and they need to squeeze somebody else for the rest of the money, like customers and employees. Which, when it happens to every competing business in your country, they can do since no one can undercut them for the same reason they can't charge any less or pay employees any more and still raise capital -- everyone now has higher capital costs. The capitalists can move their money to an investment in another country more easily than the customers and employees can move around, so who eats the cost?

Ah ha, you say, but what about the companies that are no longer raising capital? Facebook is an established business. They don't need to raise any further capital, so their capital costs are irrelevant and we can tax those foolish capitalists who invested in them without expecting us to raise their taxes just as they were starting to see a return on their high risk investment. Which is true, except that you just convinced investors that it's not worth investing in a prospective competitor and have thereby entrenched Facebook's market position. Oops.
For 170k euors spent in salaries they are able to hire 39 people. Seems quite less from the US standard.
The sustainability of Dark is super important to use. We're not fucking around with customers' livelihoods.

For our early customers, we have a handshake agreement that we won't leave them hung out to dry. If Dark was to shut down, we would 100% make sure they had the time and ability to port their app off. There would be a time cost to them of course, so it's not perfect.

As we get closer to opening up to the public, we'll be doing a bunch of work on the sustainability question so we have good answers to the "acquired or shutdown" problem. We imagine a legal framework to protect customers, but haven't got the details worked out.
I can't wait to mess around with this, it look super cool. I love the minimalist approach, if it's truly spec compliant I'll be using this to compile down a bunch of CLI scripts I've written that currently use node.

I tend to stick with the ECMAScript core whenever I can and avoid using packages from NPM, especially ones with binary components. A lot of the time that slows me down a bit because I'm rewriting parts of libraries, but here everything should just work with a little bit of translation for the OS interaction layer which is very exciting.
It clearly says founder/CEO in my profile and I still get these type of emails all the time. On the hiring side I see the other side of the problem though. Basically nobody has managed to adequately match supply and demand in the labor market. Huge opportunity, someone should go solve it
Non competes only matter if they're competing. At the price they are offering I'd spend about 1/2 an hour trolling stack overflow for random bits of code, push whatever I find whether it is relevant or not and call it a day. This kind of blind abuse is literally to encourage H1B abuse. They are just going to use this to claim they couldn't find a local resource and export the job. It's illegal and should be cracked down on harder than a fleck of marijuana in Texas. It's apparently a felony to have weed in Texas, why is it not a felony to commit employment fraud/H1b fraud? You're destroying lives other than your own in one case and just enjoying yourself in another.
I love chatbots, but I'm not sure creating a postcard is the correct application. There's so many question to answer. If this was a form there would be only 3 fields and could be complete extremely quickly.
> On second thought, there's a faster way to the goal. Just make smartphones listen all the time.

The good thing about trying this is people would definitely notice the increased bandwidth usage of their phone streaming audio in real time, all the time.
I thought California passed a law requiring businesses to allow you cancel your subscription in the same method you signed up. Maybe I misunderstand the bill as written.

https://leginfo.legislature.ca.gov/faces/billTextClient.xhtm...
I absolutely agree that they should be criticized for it, or at least explain their deal with Bing. If one can trust Google not to create ad profiles from Google Analytics data, one can also trust Bing to not use ecosia data to build user profiles. But for that to be a trust decision, we'd need to know whether they actually have any such deal with Bing.
You forgot LZEXE...
No, I don't trust my phone, but I'm not paranoid about it being used to spy on me.

I have an old iPhone 5s with only a few apps installed. No Facebook or Instagram, and Siri is turned off as much as possible.

Like you, I don't want or need a bigger or more powerful phone, and I won't be getting one until mine is obsoleted.

My desktop is a late `09 Mac Mini with the RAM maxed out and an SSD drive and it still works great for me. Can't run the latest Mac OS but there's nothing there I need or want.

I have several email accounts but only use one on my iPhone and I forward emails I might need to the iPhone when necessary.

My biggest problem with my iPhone is my sweet wife and daughter used my iCloud account to set her phone up and she downloads all kinds of silly apps that appear on my phone as soon as she gets them. I just delete them when I see them, but if I had known better I'd have insisted they set up an iCloud account for her.

Luckily I set up a separate email account for her on my mail server. Last I looked she had over 10,000 emails from crap she's signed up for and she never deletes any of them. Mixed in with those are emails that are important to her, so one of these days I'll have to clean that mess up too.

So for me these phones are a bit of a PITA, but not a source of anxiety.
Good to see a fellow stoic in the thread.
I believe the issues running Zoom were due to tightening of security in Catalina for screen capture.
The Sigma FP is the ‘world’s smallest’ full-frame mirrorless camera
Your domain is a predictable derivative of your hidden node's key, which is randomly generated. It's cryptographically impossible for the same domain to be created more than once.
This post is for those who have already chosen to use youtube. How about you help us out with a Reading recommendation or a ask HN?
Where did I ignore science? My whole point was that you need to provide scientific evidence if you want to conclude a substance is addictive, not just 1 data point from yourself. Otherwise I would just cite myself because I stopped drinking soda the day I decided to and my body couldn't care less, and now we're back at square one.
"The tech industry warns consumers could pay more."

Oh no, a cost increase on a free service?
There have already been individual subpoenas of this device data. Only question now is, constant feed for fishing or targeted for individuals?

https://techcrunch.com/2017/02/23/alexa-free-speech

https://nest.com/legal/transparency-report

Personally I'm okay with court-ordered disclosures scoped to single individuals. There's oversight. But I'm not okay with unlimited constant data feeds for dubious "precrime" sweeps.
fs/net and some other important pieces of Node.js are written as C++ addons for v8, hooking them would be very difficult I guess. Though Microsoft have been working on this for their ChakraCore engine. There was a conflict if I recall correctly, Microsoft suggested to add another abstraction layer to make hooking other JS engines easier but Node.js team refused it. I might not know that situation very well. But I have downloaded ChakraCore based Node.js once and it ran my project without problems, though the performance was about 5% slower.
that's the point the French are bringing up. French companies pay French taxes. Internet companies serve French markets, take French money, but pay taxes elsewhere, and often they pay no taxes because they can shop around to find a friendly tax haven that doesn't charge them taxes.

This is only possible because internet. So, they're imposing a tax on companies that serve French customers via the internet but aren't based in France, so that all companies pay tax again.

Does that make sense?
Found the infected neckbeard
So any website can make arbitrary requests to localhost or any internal LAN server? You could have a field day with just a little bit of internal knowledge on that one.

Do random malicious web pages in IOS still have the ability to open the app store too? Was that the genesis of all this nonsense, just trying to make the app store easier?
Gradually and Then Suddenly
Almost as crazy as naming the third generation of their gaming console “One”?
These are very strangely drawn circuits, particularly the power supply that powers this power supply; in that one, the circuit seems to almost be drawn right to left, at least for the low-voltage portion (which is tapped off the high voltage portion if I read things right).

This strangeness is probably - in all likelyhood - due to regional differences (east vs west schematic "standards"), plus the fact that we are dealing with power supplies, which are always messy and strange for non-trivial implementations.

Also something to keep in mind here - for the 60 volt power supply that powers this high-current supply, the AC input is 230 VAC, likely at 50 Hz (ie - European AC power standard). The circuit as-is likely won't work or will work poorly, without being redesigned for the US standard wall-power (120 VAC, 60 Hz) - or even if you use the higher US standard (220-240 VAC, 60 Hz).

Just something to keep in mind - that basically the initial input stage to the first power supply will need to be altered (and perhaps that weird low-voltage supply tap, too); everything after that will probably be OK, since it is DC after that point (albeit 300+ volt DC - so be careful!).
I didn't even know about that one!
Yeah this is just crazy. I think he and ludde together are responsible for like 90% of software I like and use very frequently. ;-)
Google is testing Shoelace, a hyper-local social network
I changed my title to simply "employee" on Linkedin and get waaay less cold calls/emails. Putting anything IT related seems to be carte blanche for recruiters to send you anything they have. CTO for Microsoft? Are you interested in this $5/hr. 3 month contract? Obnoxious
Author here. Was this in response to the article or the title? Because the article goes into great detail about this.

To answer, the whole system is based on feature flags (which are equivalent in this case to green-blue/canary releases). So yes, there is a massive amount of control for this; in fact, that's the whole point of the article.
What if this was the NBA? Are you telling me that race wouldn't be an indicator of work performance? Are you telling me that age wouldn't be an indicator of work performance? You're also assuming some malicious intent when you have zero context. Maybe stick to just talking about the topic at hand.
> So any taxation is justified?

Yes. We have income tax in the US. It's the same thing.

Google doesn't have to pay the tax if they're not operating in the country. It says right there that if their revenues are +$25m a year, they are subject to the tax. Conversely, the US can also levy taxes against French digital services, and maybe they should.

My guess is the cost of not operating in France is much higher than the tax to do so, so that would be a silly maneuver.

Tangentially, I find it hilariously hypocritical that the Trump administration is whining about unfair tariffs on digital services.
Brooks slapped everyone decades ago and it's still ringing in all of ours' ears.
Apparently the garbage collection algorithm is reference counting with cycle removal: https://bellard.org/quickjs/quickjs.html#Garbage-collection. Swift does pure reference counting, relying on the programmer to annotate references so that there are no cycles (which is untenable in JavaScript, due to the way the language is designed).
I would drink Mexican coke over regular coke. This is sucrose vs high fructose corn syrup.
Yes, that is the case if you are funding your non-profit from large donations.

But there is nothing stopping a non-profit from selling products and services to individuals and or soliciting small donations from lots of people.

So I don't agree that this is a legitimate reason to go for profit.
My first dev salary was about the same. But I had no experience at the time. I don't think its a bad thing - I'm fine with first-year devs with no experience making a low amount. BUT, if you want to keep people past a year or two you have to start paying them near market rate. Its too easy to get a job elsewhere.
Acquisitions by 2019's tech IPO companies show how and when to target an exit
Glacial melting in Antarctica may become irreversible
Pattern: Back ends For Front ends (2015)
Yes, this is true; forests hold a little carbon as long as the forest survives.
No, Microsoft. Your password doesn't matter.
PINs are encouraged because when a password is used, it is the user's microsoft account password. By not entering this password publicly, it increases the security of the microsoft account.