skysight-inc/HackerNews huggingface dataset:
Hi Paul,

How did the decision to create a whole new language take place? Was using existing languages a serious consideration and if so, what were the trade-offs that made you go in this direction?

I'm familiar with the basics of back-ends. Let's say you had a language that compiles each back-end point into a binary executable (each api point is a separate program). All you'd need is versioning via directories, symlinks to the active most up to date version and a router that looks up the executables in a dir and routes to them.

Making changes would involve changing the code, pressing "deploy" which pushes to github and gets the backend to pull, re-compile the binaries and update symlinks.

Given this setup - what does your approach do that's more than what I've just described? I'm assuming there's some fundamental problem my naive approach does not handle that made you go in the direction that you've just described.
>They pay taxes where they are located.

The sale can trivially be said to occur in a different jurisdiction or they can make zero profit because that money is owed to a another company that exists to facilitate them not paying taxes.

The only thing that they can't move is the customer which is why this makes sense.
The EU can't work together on this, because their motives are incompatible. France, Germany want the corporations to pay taxes in France and Germany for the business they do in those countries. Ireland's business is offering a tax cut to the corporations so the corporations don't pay taxes in France or Germany and Ireland get's a cut in return. Ireland has no interest in changing this, obviously.
How are you delivering it to the customer without using their roads, electricity, or "anything"?
Except that it’s not...not anymore. It’s primarily a computer that can take phone calls. How many people are still taking phone calls instead of texting, messaging, emailing, or connecting in other ways via social networks? How long is the Phone app used compared to Safari on your phone’s battery settings? For how many people is Phone at the bottom of that list? On mine it is.

Finally, your point is still completely irrelevant to why it needs to take over the entirety of the screen. It could still primarily be a phone without being intrusive when you’re doing “secondary” tasks.
As someone who has gone through the ipfwadm -> ipchains -> iptables history, I would generally be pretty meh about another firewalling change. But, I have high hopes that it'll give me the ability to do reasonable traffic shaping in Linux.

I once set up a FreeBSD box to do shaping for an ISP's entire DSL customer base, and it was a couple commands and worked brilliantly! By contrast, I've dabbled with Linux shaping for ~2 decades, and the best I've gotten is one recipe that works well for one limited use case. Maybe it's just me, but I've never been able to make it do my bidding, despite several occasions sitting down and giving it the old college try.

For other kernel paths, I'm really interested in using it to monitor for file modifications in the way that inotify is not very good. And I often resort to strace to figure out low level what is going on, it might be really good for that too.

Looks like an interesting book!
As an American whose taxes are heavily subsidizing these companies, I too hope that they pull out and are taught a lesson in paying taxes.
Apple has much less risk surface/device variant.
Firefox Mobile will continue to be Fennec in the short-term.

>when exactly is fenix supposed to replace fennec as Firefox for Android? Once the MVP is done, or when it reaches feature parity?

>We are currently finalizing the transition plan, however we know that Fennec will not be replaced for the MVP, we will make sure our existing users will get the experience they expect later in the year.

If they choose to use an experimental MVP which doesn't yet have feature parity, then sure - they won't have Web Extensions.
Yeah, that's the main reason. I can still use it as a laptop and I bring it with myself when I travel somewhere, but when I'm home, it's pretty much a desktop
Serendipitous! I've been agonizing over this very question for the last few months. I have a few rare and interesting stickers that I'd love to stick on my Macbook, but I haven't been able to find any transparent/color-matching covers that would let me keep them after I switch computers. Really hope this product gets sold! (Or that Graham makes a one-off for me. ;)
They are protected against certain kinds of discrimination, but no human discriminated against them. It was simply a dispassionate algorithm and an algorithm can't display malice!

Grrr... or that's what they, and probably the courts, would say.

The OP calling it "discrimination laundering" had it right.
I'm working on a matchmaker service for a certain niche industry that will be completely free. Hopefully it will catch on. Down with Upwork.
Yeah but in milk, calories are much more than just sugar. It's good protein and fats (good fats?). So sodas can't compete.
If you think it is not possible for race be related to job performance you must not have watched much NBA basketball.
For those interested in hearing more about Stanley Kubrick's late life, a writer who collaborated with him on a draft of Artificial Intelligence wrote about his experience:

https://www.ianwatson.info/plumbing-stanley-kubrick/

I was someone who worshipped Kubrick when I was in high school. Reading about the reality of working with him was eye-opening, though I still think he was a master of the artform right to the end.
For those who think this study says "all clear" for artificial sweeteners:

> Null results observed in this study regarding the association between artificially sweetened beverages and the risk of cancer does not support the hypothesis of an adverse effect of artificial sweeteners. However, caution is needed in interpreting this finding because statistical power might have been limited to investigate this association owing to the relatively low level of consumption in this population study (median=6.9 mL/d). Some experimental studies suggest a possible carcinogenic effect for some artificial sweeteners, but this point is debated.767778 In order to evaluate accurately these associations in humans, it will be necessary to distinguish the different types of artificial sweeteners (eg, aspartame, sucralose, acesulfam K), and also to take into account all dietary sources for these additives (eg, yogurts, candies) and not only artificially sweetened beverages.

It should be pointed out that the label "artificial sweetener" encompasses a wide variety of chemical entities, each of which can be expected to have its own risk profile.

For comparison:

> Median daily consumption of sugary drinks was greater in men than in women (90.3 mL v 74.6 mL, respectively; P<0.001, not tabulated).

And later (although the numbers seem to have been reversed):

> However, the median consumption of sugary drinks was lower in menopausal (88.2 mL/d) compared with premenopausal (43.2 mL/d) women.

So, the median volume of consumption was about 10:1 favoring sugar in this study.
You can’t make these changes in a vacuum. A massive disruption to the status quo like you’re suggesting won’t suddenly make us Germany or Sweden. Millions of people would undoubtedly suffer, our economy could tank, and there might be huge second order effects. Always be wary of systemic changes, you can’t transplant Germany’s laws and get Germany.
Ha! It really makes a difference. If I have my work and personal laptops and phones all in the living room simultaneously and the switch is on wifi, the cons desync and the network lags. Put them all on airplane and the switch on ethernet and absolutely no problems at all. It's pretty incredible.
I understand and accept the reality of path dependence.

At the same time, when I see projects like his, V8, HHVM, etc. I can't help but wonder where we could be if all of that engineering effort had gone into more carefully-designed languages.
Call for Change: People Want Stronger Privacy Laws
Only semi related:

If you are ever in Chicago, find time to go to the Museum of Science and Industry and pay extra to go on U-505, she's beautiful and if you like technology and engineering at all it's well worth the cost to walk through her. Even just walking into the cavernous room she's in, is an awesome experience itself.

About 3/4 of the way down this post I have a phone of her in the massive room https://www.ryanmercer.com/ryansthoughts/2019/3/4/21ad-after...
I'm not quite ready yet (esp. documentation is lacking), but I'm working on something to get the best of both worlds: https://freckles.io

Basically, you write your state-defining code in Ansible, using either modules, tasklists, roles, or a combination thereof. 'freckles' lets you wrap those up in re-usable, distinct, atomic units which you can combine for more complex tasks. Then you can use those directly via the command-line, or you can auto-generate (wrapper) Python (will do other languages later) classes from them (e.g. https://freckles.io/doc/interfaces/python#code ), for when there is more 'logic' to be implemented.

I reckon it's a bit like Pulumi, but it is less opinionated. Actually, it's probably more like it lets you create your own little domain-specific Pulumi, if that makes any sense. It also works really well as a wrapper for Packer and Terraform.

As I said, documentation is not quite there yet, but most of the important stuff works. Starting to look for people to try it out, if anybody on here is interested.
It is both, but it is the only correct reflection of the current reality. Trying to pretend it's the same language will only end in (further) confusion and disappointment.
You're right, privacy is not their selling point. But they do have many phrases like "We don’t store your searches permanently" and "We don’t sell your data to advertisers" in their website, which are technically true but I misunderstood that they don't store my IP either because of those. I came across the text I quoted in the parent comment months later when I came across a thread in r/privacy and I passed it on. StartPage and DuckDuckGo still makes money from ads and doesn't share user IP. It would have been great if Ecosia functioned similarly, and in that case many people like me who are concerned about sharing IP with Bing(or other services) can join Ecosia for search.
He's also much generous, and technically adept (he created a bunch of popular early Ruby gems).
It’s fundamentally an attack on public space and should be illegal. I’m sitting in a small public parkette right now within earshot of an establishment that has one of these things running 24/7. I don’t even know which one as I can’t locate the precise source of the sound. It emits a high pitched whining noise for about 5 seconds, at which point the frequency rapidly increases until it ends in a zap, followed by about 2 seconds of silence. This differential makes it impossible to ignore. It even permeates headphones. I like eating lunch here, as it’s close to my office and a nice space, but I often leave irrationally angry after being unable to relax in the midst of this omnipresent noise.

Sadly there doesn’t seem to be anything I can do about it.
Sure, here you go: https://ecosia.zendesk.com/hc/en-us/articles/206019452-How-d...

Like any other search engine, Ecosia earns money from clicks on the advertisements that appear above and beside the search results.

The advertisements on Ecosia are clearly labeled as Ads and are text links to websites that pay for each click by users. The ads are delivered to you by our partner Bing, who pays Ecosia a share of the revenue generated via these ads.

Ecosia earns a few cents for every click on an ad from Bing – or a portion of the purchase price made through an affiliate link. Ecosia then gives the profits from this ad revenue to planting projects.

We also make a small income on commission from our online store. All profits we receive go towards our projects – which means we can plant 20 trees every time we sell a t-shirt.
Surprising that a site like this operates on http.
If you just rely on the news media, you'd be convinced that drinking anything but purified water would kill you. Even though there's a lot of news stories about diet sodas, doesn't mean there's solid evidence they're bad for you [1]. A lot of journals won't even publish articles that have negative results (e.g. do not show a link), so you can't rely on the number of studies backing one way or another.

So, if diet soda isn't bad for you, is a surgary drink worse. Since the difference between the two is sugar vs. artificial sweetener, the question can be changed to "is sugar worse for you than artificial sweeteners". Again you probably won't find any definitive evidence one way or another. The actual settled science would just boil down to whether you're consuming too many calories.

[1] https://www.webmd.com/diet/news/20170505/diet-soda-health-ri...
Is it hand-written as a single file, though? I'm assuming the release is the output of some script that does concatenation.
Probably notice that your webcam light comes on only once every ten minutes, or that your network traffic is consistent with one picture every ten minutes.

Isn't this site for nerds?
Ask HN: Do you even trust your phone?
I have this Android device with a few apps installed (mostly the essential Google services, Whatsapp, Firefox and a few games), and I try to avoid unknown apps as much as I can. And even then, I don't trust my own phone to be secure. I have this huge worry because it's not receiving any updates from Samsung anymore (it's a GS6), so I kinda treat it as a semi-untrusted device: I will never install apps from banks/investment (lol Robinhood), I try to never do too-sensitive things from it. The only sensitive thing I keep on it is my main email, and it always worries me. I do use it for 2FA.

What is your take on this? Do you share the same constant anxiety that your phone may be insecure? Do you take any specific steps to help mitigating those fears and reducing the probability of being compromised?

News such as the Agent Smith one we saw today makes me even more nervous. Now I'm considering switching phones again, but the reality is that I simply do not need a new phone (my hardware works just fine!), it's super expensive, and I would end up doing this simply because of software updates for the OS.
Show HN: CircleCI Config Generator Powered by TypeScript
Be careful about taking meetings in public places
What data? OP's link is a silly TC article without any negative examples (failure rates of single vs pairs).
You probably make them money. But I don't know if they have some click fraud protection in play. I assume they do. But a click here and there probably works.
No, China is the protectionism King.
How many plugins does a site need?
I try to avoid painting with a broad brush wherever possible, but I was also trying to be sufficiently succinct. There is, of course, good to be found within the US government. Although, to an outsider, it feels like one has to look much harder to find that good now adays.
> Isn't the core issue there that the executor requires the future to have a lifetime of 'static?

Yes, and no. That is one of the factors. Another, and IMHO, bigger factor is that the lifetime needs to be 'static only as the task starts to execute. This is why Pin, etc, came into existence. This is due to self-referentiality.

> It's surely a huge undertaking, but wouldn't a more nuanced lifetime analysis solve the underlying problem here?

Yes, we're back in the realm of "open research question."

> What's required of an asynchronous borrow? The same thing required of any borrow: exclusivity.

Most borrows are not exclusive.

> That makes me highly suspicious that the need for it was taken as a given and never sufficiently challenged.

With respect, it is just as easy for me to say "This makes me highly suspicious that you have not investigated how all of this works and that's why you think it's easy."

> The core issue in that example is that the borrow needs to be held until some point in the future that can't truly be determined lexically.

Rust's borrows have not been lexical since last year.

That's fine, of course! It's not like getting into this stuff is easy. But the team working on this has a ton of experience; multiple PhDs, etc, etc. This is the most investigated feature of Rust ever. Again, yes, maybe it is possible, but it's not within the realm of a "just".

Additionally, none of any of the stuff in this comment this solves the original issues with do notation.

> it appears that one can't await on a plain function that returns an `impl Future`...

Sure you can: https://play.rust-lang.org/?version=nightly&mode=debug&editi...
Roman Arithmetic
Kind of. It's arguably more accurate to call it a fast battleship, as its armor protection was equivalent to that of a post-Jutland British battleship. At the time it was built, the Hood was both fast and heavily armored. Its armor protection scheme was somewhat dated by the 1940s.
Who is this going to affect? The business:

1) between Facebook/Google and advertisers based in France?

2) between Facebook/Google and any advertiser as long as the ads are shown to people in France?

3) between Facebook/Google and any advertiser as long as the ads are shown to French people?

If it is the first, then I don't really see a problem. FB and co can either stop doing business directly with French advertisers, or eat the tax, or increase the prices.

If any of the others, then how would one go about determining how much money to pay without infringing on people's privacy? What would stop FB from either declaring a token amount of "business done in France - as per the options 2 and 3" or even say no business happened? How would the French gov check that? Get the list with all ads shown by FB over a month along with who they showed the ad to so the gov can check if those people where in France or not?
Question: my brother just got a used pixel 1 phone. Will it stop getting security updates soon/already?
It wasn’t though. They state they didn’t find an association but take it with a grain of salt due to low statistical power. Therefore, we shouldn’t really say either way.

>The consumption of artificially sweetened beverages was not associated with a risk of cancer, but statistical power was probably limited owing to a relatively low consumption in this sample.
You can see the work log online that contains all the screenshots and most probably camera shots too (never had to use it so I'm not 100% sure).

I think the way to know that your camera is on is to look at the little LED next to your camera and hoping UpWork didn't find a way around it.
There's always skip http://www.skiplang.com/

> Skip is an experimental programming language developed at Facebook from 2015-2018.
es ist verboten "bad science"
A cheapo bike is not likely to be something that you want to use (and rely on) for your daily commute, though.
I would like to know that too, because currently all sources on the Ecosia Wikipedia page are either self-published or primary, so the article reads like an ad. If this really is working and we can all truly combat deforestation and global warming by watching Ecosia's ads, I'd like to know.

https://en.wikipedia.org/wiki/Ecosia
Really cool but you have to do the ligatures and kerning yourself.

They do provide a tool you can use to do that.
eshell: https://www.gnu.org/software/emacs/manual/html_mono/eshell.h...
I would rather these kinds of articles just explain the uncertainty principle in a wave mechanics context, without any quantum theory to obfuscate.

Or else just go "What if AB != BA?" and actually somewhat give people an entrance point to what is actually happening.
Thank you for pointing this out! This changes how I think about Ecosia.

EDIT: grammar
Jon Ronson has had such a varied career as a journalist.
This is absolutely true, especially in software where you’re more of an athlete, look at the ageism in our industry. We aren’t like doctors/lawyers making $XXXk in perpetuity and seniority guaranteeing job stability.
Samba 4.11 removes SMB1/CIFS protocol support by default
Unacceptable.

Btw what was the attack vector?
This tax is on sales and not profits, so won't it just become another line on the bill for French consumers? I imagine they'll just break it separately from VAT.

Retroactively they'll have to eat the cost though.
Not just you, so thanks for the informative post.
Also, Raku is a different language with a very different design, so Perl's bad rep ideally wouldn't apply.
Well, let’s compare tax rates the foreign companies pay with the local French companies. Something tells me that the American companies are making out like bandits compared to the French ones that have to pay all local taxes. I see this as as an attempt to equalize the competitive playing field.

This is just another example of Americans (and hey, I’m American) feeling they are permitted to do whatever they want, even outside of their own borders. It’s peak arrogance.
I took 10 seconds to Google your question and found this link:

https://support.google.com/nexus/answer/4457705?hl=en#pixel_...
The US has long been using their legal system to skew free market rules and favour their domestic markets and companies.

DoJ is constantly "exporting" US law around the world by methods that border blackmail or even sometimes taking hostages.

Fighting back has been long due. Though of course France should begin with EU free-riders, Luxembourg and Ireland...
> Can anybody explain to me how British & France culture felt about colonialism post-WWII? Especially for France [...] they resist Algeria separating. Why?

The First Indochina War is also relevant and an enlightening example of France's post-WWII colonialism. And it lead to the Vietnam War.

As for Britain, apparently at least some factions, such as Churchill and some conservatives, favored the continuing existence of the British Empire and its colonies. It's so odd, looking at it with modern eyes, that the people who fought against the expansionism of Nazi Germany themselves thought it was their right to keep an empire with colonies. It would seem the "free" world wasn't free for everyone.
That's a fair point. I think the distinction that I was trying to draw was between a company that primarily derives its value from the physical manufacturing of goods versus deriving its value from something intangible such as design, intellectual property, technological prowess, etc. In Tesla's case I don't think the company ever intended to derive their value simply from their ability to manufacture a car; rather it derives from their ability to develop novel car technology.

That being said, it does strike me that in the Marx era it was most likely easier to be successful as a regional provider of some commodity while globalization means that even a manufacturer is effectively competing against the entire world.
I quit caffeine. I can say it took about two weeks of hell, and then everything was better after. Had been trying for years before that.

You may or may not have tried cold turkey, but it’s worth a shot if your current taper doesn’t produce results. You could always stock up on oranges, and lemon slices for the water. Something to give you some sugar in food + flavour to the water. It’s hard to overdose on oranges, and it gets the sugar into a solid rather than a liquid form.

YMMV, but I’ve often found cold turkey a relief whenever I had long struggles with something before trying it. I’d marka piece of paper, and relax other responsibilities and focus on stuff like sleep and exercise etc during the period to cushion the blow.
Banzai!
It doesn't matter if you squeeze it fresh or make it from concentrate.

In either case, you're drinking lots fructose that's been separated from fiber. Without fiber, there is nothing to slow digestion of that fructose, so you end up with a massive glycemic impact. Alongside that, fructose directly causes leptin resistance, resulting in overeating.

Also beware of eating too much fruit all at once. Fiber can only do so much, and a stomach full of oranges will also lead to the same result.