skysight-inc/HackerNews huggingface dataset:
It's interesting to note that a dictionary ("catalog") of values is essentially the same concept as an object. This is clearer in Javascript, where `{...}` notation is called an "object" rather than a "dictionary" and the `.foo` and `["foo"]` notations are mostly interchangable.

Storing functions in a dictionary is very close to storing methods in an object. The only differences are sharing state via a `self` (or `this`) argument, and inheritance chains (either from classes or prototypes).

Also interesting to note that many of the author's functions, like `lambda x, y: x + y`, only make sense because the underlying language (Python) thought that constructs like `+` shouldn't be functions for some reason. Many languages seem to do this, e.g. here's a bug report I raised for PHP https://bugs.php.net/bug.php?id=66368

When we introduce arbitrary distinctions, like dictionary vs object, named vs anonymous functions, functions vs operators, etc. then we end up with all of the choices and complications like those shown in this article.

One of the principles I try to follow when programming is to avoid making distinctions, or breaking symmetries, unless my hand is forced by the underlying dynamics. Experience has taught me that introducing distinctions in one place just introduces complication elsewhere (e.g. more cases to handle when metaprogramming).
Whilst I suspect in general we agree about the systemic problems, in this particular case, the officer was fired and his supervisor demoted:

https://www.cbsnews.com/news/detective-jeff-payne-fired-nurs...
Which laws are these? Most hosts are sole proprietors and Airbnb usually takes taxes out automatically during booking. Any income from Airbnb would be paid directly into the users' bank account which leaves a very clear trail of money if they get audited. I haven't heard of a lot of "laws surrounding businesses renting out properties" and most these hosts aren't corporations anyway.
The combination of language-based sandboxing and process-based sandboxing is, of course, more secure than either on its own. More layers can only help. You could go a step further and run the process sandbox inside a VM. And run that VM on a dedicated machine. Each layer helps -- but each layer is more expensive, and at some point the cost is too high.

But process-based sandboxing does not replace language-based sandboxing. Operating systems (e.g. Linux) have bugs all the time that allow processes to escalate privileges. It's also not at all clear that process-based sandboxing is enough to defend against spectre, either. But it's much harder to design an attack than can break both layers, than to design one that breaks one or the other.

Certainly, if process-based sandboxing does not add too much overhead for your use case, then you absolutely should use it in addition to language-based sandboxing. But there are plenty of use cases where processes are too much overhead and we really need language-based sandboxing to make progress.
I uploaded a few pictures and here is what I got.

Portrait pictures of myself:

* academic gown, academic robe, judge's robe 38.01% confidence.

* Band Aid 88.27% confidence.

* Prison 42.74% confidence.

* Wool, 11% confidence

Moving on to Random stuff:

- Linkedin Logo -> Hair Spray

- Washington Monument -> Pole

- Abraham Lincoln Statue -> Altar

- Dragon Fly -> Kite

- Sun Glasses -> Car Mirror

- Mushroom -> Mushroom!!!!!!

- Lipstick -> Lipstick !!!
It can. Just don't use Pocket or disable it.
As you developed something it would degrade over time, if you just had it saved somewhere nothing would happen to the file. The more you used the pirates copy the more your file would get worse. No you could not restore access to the original, it degraded the polygon count on models.

I don't agree with this approach but it was pretty damn clever.
That almost 0 effect is what practical every form of enforcement against smuggling is going to be. A person not declaring items being brought into the country is very unlikely to have a effect on the federal budget, or any effect of on a legal market, and yet practical all border controls has someone employed to check for undeclared items.
Infosys and Tata are far worse than that.

They request power of attorney from employees, file their tax returns on their behalf and steal their tax return money. Some employees do not receive their full wage.

In paper they meet H-1B salary requirements but in practice they don't.

They are not only in violation of immigration law but labor law as well.
> It's still a terrible and terrifying drug for subduing people.

It is commonly use for procedural sedation (i.e. sedating someone so you can reduce a joint dislocation).
The Chrome extension Unpaywall does exactly that.

https://chrome.google.com/webstore/detail/unpaywall/iplffkdp...

It doesn't bat 1.000, of course, but it is successful often enough to be useful.
In many cases you cannot get a license to operate a bed and breakfast out of your property because they issue very few licenses and require various things like serving breakfast which most hosts don't do.

That doesn't make vacation rentals inherently sketchy. It just means that technology has enabled a different solution for the problem then was possible before and now cities will work out to what degree they will embrace it versus trying to regulate it out of existence. Don't get me wrong, I think certain aspects need to be strictly regulated but requiring tons of red tape to rent your apartment out once a year while you go abroad is not the long term solution and is a waste of usable space.

I think in the future people will laugh at how byzantine the laws were to rent out an apartment. Especially in these cities where the hotels are filled up and now people will just leave their apartments empty instead of accommodating people.
So, we are celebrating women as chattel property who need to preserve their virginity to enhance their capacity to marry well. In 2018.

Your comment is making me feel vastly better about never having had an engagement ring, though I got married at age 19 and spent about 2 decades as a homemaker in a 1950s style marriage.

(Edit: I'm a woman, in case that actually needs to be said.)
1. Mobile work involves a LOT of front-end work. Going from web to mobile is going from the frying pan to the fire (until you master the framework platform on which you work).

2. Which mobile framework do you plan on using? If you’re a Java dev then Java/Android Studio is a no brainer. Also look at Dart/Flutter both for Android and iOS (and Fuchsia...)

3. A free-lance’s greatest virtue is helping the client realize the greatest return on investment. As such mobile-specific web is all the majority of clients need. Use a stack like Ionic and you get styling, a large set of plugins, a good community to assist, and an Ionic app can output mobile web as PWA or hybrid app for those cases where you need more hardware access than PWA allows or the client insists on having an app in the App Store.
Your meter may already have a Zigbee interface built into it. Check with your utility company.
are you in a needy situation , seeking the help of a legit credit repair specialist/ethical hacker. there are not many that can do what this man is capable of . i got introduced to this credit specialist with the contact mail q u a d h a c k e d (AT) g m a i l . c o m , this hacker , literally helped me delete late payments which i incurred as far back as 2014 when i lost my job and was struggling with my finances, blemishes that been lurking on my credit report and two inquiries ,{dispute some for me} increase my credit score with a value of over + 102. he recommended some few steps also that i have been following and have been giving me results i desired. he really did so well i couldn't hold my satisfaction, being the fact that i've been trying to obtain a mortgage loan but all of this were serving as hindrances , not until i met him. now i got my mortgage and now living in my house. i'll say if you are in similar situation , you send a message to their email like i said earlier . q u a d h a c k e d {@} g m a i l . c om
Wasn't meaning that the good was from Multics. Just that Unix was after Multics, "solving [a similar problem] a second time". In fact, that Unix brought extra good doing this, actually strenghtens the thesis that reinventing the wheel may bear good fruit :)
There are thousands of patents for perpetual motion machines. An invention must be novel, useful and non-obvious to be patentable, but it doesn't actually have to work.

https://patents.google.com/?q="perpetual+motion"
Messi Walks Better Than Most Players Run
are you in a needy situation , seeking the help of a legit credit repair specialist/ethical hacker. there are not many that can do what this man is capable of . i got introduced to this credit specialist with the contact mail q u a d h a c k e d (AT) g m a i l . c o m , this hacker , literally helped me delete late payments which i incurred as far back as 2014 when i lost my job and was struggling with my finances, blemishes that been lurking on my credit report and two inquiries ,{dispute some for me} increase my credit score with a value of over + 102. he recommended some few steps also that i have been following and have been giving me results i desired. he really did so well i couldn't hold my satisfaction, being the fact that i've been trying to obtain a mortgage loan but all of this were serving as hindrances , not until i met him. now i got my mortgage and now living in my house. i'll say if you are in similar KIND OF situation , you send a message to their email like i said earlier . q u a d h a c k e d {@} g m a i l . c om
Call it ADHD or what you want, but I tend to experience this a bit more than most people I know. Applying to tech, it's the number one reason Windows 8 didn't work for me. The loss of context when the start screen took over was too disorienting.
> There would seem to be more danger to the economy by being flooded with rare metals

I think that this case is not directly comparable to the price revolution; in the cases you've linked, Gold==Money, and so by bringing back gold the Spanish massively increased the money supply (from the first article, "Prices rose on average roughly sixfold over 150 years. This level of inflation amounts to 1–1.5% per year, a relatively low inflation rate for modern-day standards, but rather high given the monetary policy in place in the 16th century").

In the case we're discussing, Metal!=Money. The more metal you bring back, the lower the price falls, until it reaches a new equilibrium where it's no longer economical at the margin to bring back more.

This would significantly affect certain markets (i.e. mining, industrial processes that consume these metals), but it's not the same thing as creating money; you can't spend nickel, you need to find someone who will buy it from you in order to turn it into money.
Can you last long term if you don’t move? If there are huge savings to be made others in the same space might jump on the opportunity.

It’s a horrible thing to have to let people go but the alternative may be far worse.
The oceans represent, in principle, an extremely large but extremely dilute uranium resource. So far nobody has managed to make seawater extraction of uranium even close to competitive with terrestrial mining. But if it could get within spitting distance of terrestrial mining, there would be multiple advantages:

- Eliminating geostrategic concerns about import dependency: any nation with a coastline could extract its own uranium.

- Extreme abundance: uranium dissolved in the oceans dwarfs that known to exist in identified terrestrial ore bodies.

- Lower environmental and worker health risks: no production of waste tailings, no digging into ore bodies. There's very limited worker exposure to uranium decay chain daughters (radium, radon) with the oceanic approach. Terrestrial ore bodies contain uranium plus its decay products while the absorbent won't concentrate the decay products.

Japan has been a leader in researching this approach. It was originally driven by concern over energy import dependency: Japan is very reliant on imports for both fossil and nuclear fuels. But Japan does have easy access to seawater.
Ouch, the quote from Elizabeth Holmes on how the machine worked:

> "A chemistry is performed so that a chemical reaction occurs and generates a signal from the chemical interaction with the sample, which is translated into a result, which is then reviewed by certified laboratory personnel."
It's set to display:none.
Amazon is doing a very low margin business themselves. They already have their warehouses throughout the country, they can just start with going into delivering packages for their own business, and expand slowly into logistics for others.
People are overlooking how critical this technology could be for privacy, mass surveillance, and all its consequences: Personalization has been the selling point, albeit disingenuously, for the surveillance. It may be true that people won't use technologies which provide confidentiality if it means giving up personalization. A solution that does the personalization locally and with local data, thus preserving confidentiality, and which is open and free, could be pivotal.

The same was true with Firefox' customized home page ads of a few years ago. Everyone focused on 'advertising in Firefox', and overlooked the critical work they were doing: solving the problem of advertising, a seeming necessary evil, with confidentiality. In the uproar, the great value of that work was lost (IIRC).
The death of 1000 cuts - the code base that has had corners cut 1000 times, each time getting progressively worse and worse, until it's so fragile, that even tiny modifications have drastic and unpredictable outcomes.

Global state being modified by race conditions. Over abstractions doing nothing but piling on the call stack. Interfaces ill defined and so there's lots of type casting and copying. Shudder
You should expect that they will, in the same way you should expect a serial killer to murder people, but they're still garbage that wouldn't thrive in a just world. You're absolutely correct that you should always expect people to sell you out for a little selfish comfort because most of them are trash.
I will assume that at the current state you are able to pay both the datacenter costs and people costs since it seems that is what you are currently doing.

With that assumption in mind, if you do migrate and realize that you now don’t need 80% of the people you needed before, it could mean one of two things:

- you are now able to pocket whatever savings you were able get from the migration and either save it or invest in something to potentially keep that money in the economy, just in a different way

- you now have 80% of your people free to do whatever other things you didn’t do because they had to maintain datacenters. That is huge in terms of efficiency gains and allows you to redirect that money to increase the value provided by your company either by repurposing the current workforce or getting rid of them and bringing people you could previously not bring on board due to existing costs

Either way I believe that everybody is better off After the changes.

Efficiency gains such as the one you are describing is what makes it possible for economies to grow and keep moving forward.

Can you imagine if you had to handle cows, pigs and farms to have a BLT? It’s very good that such things are outsourced because that allows for improvement that would otherwise not be possible.
All the modern patent has to do is look plausible. It doesn't has to have been reduced to practice, or be practical, or work, or even obey the laws of physics. (Though they will catch baldly impossible things like perpetual motion.) It just has to be novel, and have the right paperwork.
They need cloud certifications. They should see this as a fabulous opportunity to get paid to do cloud training, hands-on work. If you become a cloud architect or a cloud security expert, whether it is at your company or somewhere else, there will always be great opportunity. If they refuse to learn to serve a changing market, that is where they will run into problems. You can only ride a single skill for so long. If you stayed in the horse-shoe business after about 1904, life was not great.
UK report warns DeepMind Health could gain ‘excessive monopoly power’
To my understanding, that was one of the easiest ways to get a virus. Those Crack programs always triggered AV. I'm not entirely sure game companies didn't somehow get cracks included as viruses, but since you're already circumventing legal requirements to use the crack and getting it through back channels, it seems a very useful and likely infection channel for virus authors.
> I enjoy technical writing

Just goes to show you that there are a lot of different types of people in the world.
All in all, this is just another case where authorities have proven once
more that Bitcoin as a cryptocurrency isn't really anonymous
as it was advertised for the past decade.

Wait who advertised that ? I have always read that bitcoin was pseudonymous (not anonymous) and with public record of all transactions and wallets
There are doubtless some prominent developers on a number of major open source projects who could find employment at a variety of companies without changing much about what they work on.

They're a minority.

Most companies expect developers to focus on what's important to their specific business and not what was important to their previous employer's business. They can't just work on whatever they feel like, especially on company time.
> why there is a variety of e.g. beetle species inhabiting a given ecological niche, instead of a single super-optimized beetle species.

Are there really two or more beetle species occupying the same ecological niche, though? It would violate the competitive exclusion principle [0], and a quick google search doesn't return any results. (Also, the articles doesn't specifically mention niches.)

I thought the large variety of niches, each of which requires different kinds of specialization, is why there's such a diversity of beetles. (Different niches requiring different types of camouflage, different jaw-shapes, different digestive enzymes, different temperature tolerances, etc.)

It doesn't really make sense to expect a single "super-optimized" beetle, if, for examples, being able to eat food A and food B requires fundamentally different jaw-shapes.

Of course, random mutations in the genome is what makes different phenotypes possible in the first place, but (according to my layman's understanding of biology) this is already acknowledged.

And Dyson's example about a Peacock's feathers is famously explained by sexual selection.

I really like Dyson's talk about living through four revolutions, though. [1] (Space Technology, Nuclear Energy, Genomics, and the Computer Revolution.) He's a super interesting guy.

[0] https://en.wikipedia.org/wiki/Competitive_exclusion_principl...

[1] https://www.youtube.com/watch?v=zq4p2qbE684
FedEx operates 3-4 shipping based companies. Freight [1] and Custom Critical [2] are seperate entities. Both of which operate independently.

The downside of fedex's seperate companies is there is a lack of logistical coordination at the national level. I.e. If they have a ground 28' trailer full at a smaller location and a separate 28' LTL Freight trailer, they will send two drivers instead of 1 long haul driver with a doubles configuration.

[1] https://web.archive.org/web/20080206004244/http://www.fedexf...

[2] https://about.van.fedex.com/our-story/company-structure/cust...
“DoH requests include tons of device details whereas DNS has 0 identifying bits”
Employees always pays for it one way or another, high skill salaries are very low in Sweden and I'd guess that this is a big reason.
Am I the only person that absolutely hates this style of programming? Explicitly passing arguments makes it much clearer to the reader what that function does without having to go investigate the arguments it's expecting. Similarly, while with map, filter, reduce, we're familiar with the arguments they'll invoke our fn with, in other cases additional readability is lost by not being able to name the arguments.

I would go further and argue that my favorite functions actually expect objects with keys as parameters, so then it becomes clear what key the function is expecting, and what value I'm passing from my business logic that I'd like to represent that value.

http({
method: 'post',
url: company.url.complaints
})

I can tell by reading this code that I'm passing in a url and an http method without knowing anything about the function's arguments or positions, and I have explicitly mapped what value from my business logic I would like associated with a specific argument key.

JS and Python, among others, have destructuring/kwargs to help this style of programming be less verbose and equally self descriptive.

The other thing I really dislike about currying and positional arguments is that it's very hard to change the function interface. Using keyed arguments makes it trivial to add additional functionality to functions later without breaking any existing code.

I just really can't get past the opinion that people are deluding themselves into taking certain aspects of functional programming and not realizing exactly how inconvenient it becomes to understand what's happening without inspecting the interface of every function.
Just to clarify, he was sentenced to 20 years (with the plea deal). If he's lucky, he may get out in 10.
Tourists and tech bring resilient Iceland back from the brink
I don't know why operators are the way they are in Python, but to me it looks like an oversight, which ultimately let to the "operator" module, exposing all operators as functions
Working with a couple coworkers is pretty frustrating because their window management strategy is switching rapidly between active OSX screens with the whole wipe animation too.
> if someone choose to subvert the law, you can't expect law enforcement not to prosecute.

Sure, that's fine.

But it also obfuscates the more important point: I can expect (and I do expect) that a reasonable, mature society stop this idiotic practice in the first place.

Refusing to learn from the failures of drug prohibition throughout history is one thing, but continuing a current and clearly failed experiment for an entire century is flabbergasting and childish.

Who will be the last person who's life is ruined for no reason? Will it be this dude? Or someone in the same position tomorrow?
So basically the demand for native IOS devs is shrinking based on point 3?
I was thinking of creating something similar for all of those US news sites that have blocked EU-based readers from accessing their sites out of a mostly unfounded panic. (PS: love your HN username.)
1.1.1.1 is giving SERVFAIL but 8.8.8.8 is handling it just fine.
Machine Learning – The New Programming Language (opinion Piece)
If your business has competitors, and they move to the cloud, conceivably they will be able to lower prices, and/or provide more service/features because of cloud scale. In most instances, the less your competitors charge, the more customers flock to your competitors. It is not personal, but economic in my opinion.
> Firefox is about letting you control your browser experience

The true history of Pocket suggests otherwise -- in 2015 Mozilla integrated Pocket, which was at that time a private company separate from Mozilla, into Firefox.

Further, when Mozilla first integrated it into Firefox, there was no way to remove it, only hide the icon:

> "This page http://help.getpocket.com/customer/portal/articles/1999137-h.... purports to tell you how to disable Pocket for Firefox, yet all it does is remove the button from the toolbar. Searching "pocket" in about:config reveals numerous preferences that can be edited, including browser.pocket.enabled which remains set to true after following Pocket's instructions."

Only after severe backlash [0] did Mozilla decide the best way to handle it was to purchase Pocket.

[0] https://news.ycombinator.com/item?id=9667809