skysight-inc/HackerNews huggingface dataset:
> "I threw the code together in minutes and was too lazy to spend another couple minutes figuring out POST."

So it's not the vendor's problem then. They provide you with two ways to make a request. You have a choice to do it right, you didn't.
I think that is considered idempotent in the REST-sense of the word: you can multiply a number by two as many times as you like, the result will be the same (and no state is mutated).

I looked it up, apparently there's a formal definition "denoting an element of a set which is unchanged in value when multiplied or otherwise operated on by itself", which does not seem to describe the REST usage very well, though.
Disguising access patterns to protect sensitive data in the cloud
The Wayback Machine has always had a policy to delete things if requested, so there's no real change there. The most common way site owners do that is by changing robots.txt. In line with the Oakland Archive Policy [1], the Internet Archive respects robots.txt retroactively, so a site owner can get archived versions deleted just by excluding them in the robots file. Besides that, they respond to DMCA takedowns, one-off removal requests [2], etc.

[1] http://www2.sims.berkeley.edu/research/conferences/aps/remov...

[2] http://archive.org/about/faqs.php#2
After years of struggle, our IT-department recently managed to conclude the migration of all COBOL applications from machines running on Unisys 2200 to Java EE running on GNU/Linux. As a Java developer working with the latter, the final months were wild. The old COBOL greybeards (some 70+, convinced to stay until migration was finalised) certainly didn't go gently into that good night, literally throwing insults at us, leaving meetings, wishing us bad luck etc. We could never be sure they had given us all information about their stuff, out of spite. I hope I don't finish my working years like they did.
I don't disagree or agree really. I was just interested in the fact they had any kind of policy on it at all.
So why not wait until a regulatory authority gets in touch raising concerns, and then delete?

You don't want to hire a lawyer until absolutely necessary, but you're willing to delete everything way before absolutely necessary?
Deprecations and Removals in Chrome 67  –  Web  –  Google Developers
Researchers 3D print electronics and cells directly on skin
Then you call Apple. A guy comes and picks your mobile up, and then another guy comes and gives you a new mobile.
I started paying before they were bought, I might even have paid twice and I loved it. Would happily paid for a few famuly members as well.

Also there should be a huge possibility to increase revenue by selling API access (think appointment reminders etc as well as the whole bot ecosystem).

When Telegram started they talked about price and I think I remember being unconvinced. I wanted to pay. As we (used to) say here on HN: if you're not paying you are the product.

(Of course now we have learned that some companies charge us and still sell our (meta)data and advertise to us.)
It seems it was not in the aforementioned book after all, which btw was a good read.

https://en.m.wikipedia.org/wiki/Allegations_of_CIA_drug_traf...
>- Background tasks

That's bad
Programming is easy people
Your microbiome is considered an ‘essential organ’
>> I imagine we'll probably develop some AI pidgin language that provides more formality that as long as we follow it AI voice interactions become less annoying (but you have to spend a bit of time before to formulate it).

That's what Roger Schank is advocating against in his article: artificial intelligence that makes humans think like computers, rather than computers that think like humans.

Personally, I think it's a terrible idea and the path to becoming like the Borg: a species of people who "enhanced" themselves until they lost everything that made them people.

Also: people may get stuff wrong a lot of the time (way more than 10%). But, you can always make a human understand what you mean with enough effort. Not so with a "computer" (i.e. an NLP system). Currently, if a computer can't process an utterance, trying to explain it will confuse it even further.
I've read the Diamond Age, and the first book in the Three Body Problem series. I don't think the tech will play out like in Diamond Age, and the book I mentioned was indeed 3BP but since I haven't finished the other two books my final thoughts have to wait. (Only thing I didn't like so far was the sudden FTL comms at the end...)

I think your best metaphor is either cracking root access to the Matrix or simply becoming God. Very far removed from the "trusting trust" scenario. But also removed from physical systems. Using that sort of metaphor instead of "matter lock" will insulate any criticisms from hard science. It also reduces the existential concerns to the same level as the question of "what if we're living in a simulation?"

People do publish technical details on both MNT and non-MNT... To use an older reference I would bet that if you ran your idea by someone who has read Drexler's Nanosystems they could point something out at some layer that forbids your idea in principle at least insofar as current understanding of physics, chemistry, and biology go. If we (or some other species) can create machines that can move along a spatial dimension outside our normal 4D space-time but project itself back inside at will, sure, that's one way we're screwed, but that AFAIK has no real basis yet, it's the same concern as if we (or some other species) can root the Matrix...
Even the ipad changes gestures regularly.
No! GDPR is about personal data, which is well defined in the regulations and does not include blog posts. The right to delete data (or "be forgotten") is nothing to do with GDPR.
If the original post contained personal data, it is a different issue but if that was put out into the public domain, it is a hard problem to solve.
There is big difference in law and regulation between intention and real-world effects. For instance, making marijuana illegal has the intention of decreasing drug addiction and dependence but has the effects of disproportionately encarcerating youth aka "criminals" under the new law for drug consumption, and thus limiting their opportunities in the socio-economic system.

If you look into it I think parent is most likely correct with his predictions since they are easily verifiable i.e. big coorps do have massive teams and monetary funds to deal with this legislation, startups and one-man shops do not. This is completely ignoring the deontological question of what should be the case, where I think most would be in agreement.
Speaking as someone who occasionally gets roped into supporting a COBOL application at a large financial institution, I genuinely don't get the "we must replace it because it's old!" mentality. If it's still the best tool for the job then why move away? Just train people up and build tools to work with it on modern systems, just like Micro Focus and COBOL Cowboys (both mentioned in the OP) are already doing. As an added bonus, you can make a lot a money in the process too.

"The guy who wrote it left and nobody knows what it does" is a poor excuse with a self-documenting language like COBOL. How much sense do you think your tangled mess of Java will make in 50 years?
Like many aspects of culture, we may have to rely on pirate outfits to archive and preserve things, until the original parties are no longer interested in fighting about it either way, or a long enough time passes that the archived history increases in value and decreases in personal stakes.
>* some Google apps for iOS don’t seem as good as their android counterparts. YouTube app keeps getting buggy updates, Inbox still doesn’t support full iPhone X screen.

Google is simply sabotaging iOS with all of that. There's no way Google can't afford to pay developers to fix that. They just want to annoy people. My solution was to quit as many Google services as I could.
What they do is load a page with a form redirect to do the POST, I believe, so link loaders won't follow it and you'll be safe.
I agree. Frustrating and clunky as the iPhone might be at times, it's relatively reliable and stable.

I'm quite happy to use Android on a tablet. It's far closer to a "traditional" operating system in terms of the amount of control you get over everything.
What a large number of people fail to realise is that the GDPR applies to any person (natural or legal; a data controller and/or data processor) that holds personal data on a EU citizen or EU resident, regardless of where the data controller (or data processor) is. Obviously EU law can only be enforced in the EU but if you are a business then any funds in the EU that belong to the data controller can be frozen or used to pay court levied fines. Or if an infringing data controller travelled to the EU (or a country with an extradition treaty and similar criminal code) they could potentially be held if a court decides that the behaviour was criminal in nature (some EU jurisdictions are more strict than others).

The only way to completely avoid the GDPR is to not hold personal data of EU citizens or EU residents.
IBM is shit. Company of lies.
GDPR doesn't change anything in this respect. Copyright law applies.

Why would the owner of the copyright make a complaint to the data protection authorities of the EU who might choose to do nothing when they could directly file a copyright infringement case? I suppose you could add insult to injury, but the data protection agency is likely to rule that the issue is one of copyright infringement.
Yep, exactly the spot I was in. There's definitely been some passing phases of anxiety over whether I've made a huge mistake. :-) But my digital world hasn't collapsed yet, and things are looking good.
Well you don’t seem to validate the existing password prior to authorizing the change.

Good CSRF protection on GET requests is also near impossible to implement as GET is intended to be a “safe” request as in a request that does not modify a state but this isn’t something that is actually practiced.
Using graphene to squeeze light into a space smaller than its wavelength
RU trollin? Couldn't get that to work.
It was sarcasm. I explained my position.
Yale plays quantum catch in new research – YaleNews
Lots of possibilities. One simple example is maybe Apple thinks they have a 'special case' problem that other 5G modem suppliers aren't going to solve.

Also, theory is all very well but the timespans matter and aren't general. Someone has to physically be the first person to do a new thing. Apple's experience with the original iPhone was that competition caught up eventually. But in the years it took the competition to set up R&D, supply chains, yadda yadda, Apple could cement a dominant market position and turn crazy profits. They might see similar opportunities in other communications technologies (although not on the same scale).
Ask HN: Why is bandwidth so expensive?
I've been creating video content lately and quickly realized how expensive video hosting ia due to bandwidth.

I'm curious why bandwidth is so expensive.

Also, do you think bandwidth costs are likely to rise or fall in the future?
Changing robots.txt does not delete content from their archives. If you remove the robots.txt file, the content becomes viewable again.

There's no scenario where they can respond to the vast scale of GDPR violations that their archive likely represents, when it comes to manually removing content. There are only three possibilities: avoid the EU as much as possible, dump the archives and start over with an entirely different approach, or shut down. Besides that, these laws are going to get a lot more strict and difficult to comply with, not less strict, over time. This is merely the beginning of aggressive regulation of the Internet. Regulation of the Internet will only move one direction from here, in the direction of increasing burden and ever greater regulation. It's hard to imagine Archive.org's archives surviving what's coming.
Cloudflare: Introducing Certificate Transparency and Nimbus
E-recycling innovator is going to prison for trying to extend computers' lives
Although I've got to say, the headphone jack might be the last straw for me ... my iPhone SE could be my last iPhone if a reasonable alternative materialises ...
...it's slack.
Wasp Insect Survival Nest Sim
Wasp Insect Survival Nest Sim is a new adventure game for all the animal, hornet and insect game lovers, where you can play horns and survive in the jungle. Establish your new wasp colony, find workers for colony, search your queen and protect them from predators while playing this thrilling simulator.
It seems that scala-meta is alive (http://scalameta.org), but is now about developer tools (e.g. code formatting plugin used by IntelliJ). The macro part of scala-meta was spun off to https://github.com/scalacenter/macros, which is archived and points to Dotty macros as the way forward.

I'll be watching Dotty macros with keen interest, as I have found the current scala macro system very useful despite it remaining experimental. One thing I couldn't do with current macros was provide any kind of generic wrapper around macro methods in the same library, due to the separate compilation pass requirement. I hope this is what staging will address.
Show HN: Ballerina – Cloud Native Programming Language
Either way, I'd encourage trying out multi-GPU training. The latest NVLINK is pretty impressive, and reducing your iteration time for free (because linear pricing) is pure goodness.
"Targeted" is someone complaining to their national regulatory authority.

Who will likely do nothing based off a single report.
This is the review I'd really like to see. I'm not interested in "first impressions" or "1 month in". I'm interested what happens after a year, two or even three years.

I have an iPhone 6S+, and it works almost flawlessly - animation is still good, very few app glitches, and even the original battery is in decent shape.

I'd like to hear how Androids from that era fare compared to iPhones from that era - because I plan on having my next phone for at least this long.
System - > Gestures -> Swipe fingerprint for notifications
Android phones got rid of hardware buttons in favor of SW ones. Making the entire interface gesture based isn’t the only option.
Critical window for learning a language
Coinhive really? Are they forfeiting their absurd commission? Not to mention the shadiness of their whole operation.

Time for an open source implementation.
> When you install FB or any other app you get a nice list of things the App is allowed to do, if you do not want the app to do those things you should not install the app.

This is actually a fairly recent change to Android. It did not used to provide you with these choices. It demonstrates that user privacy is a bit of an afterthought with Android.

For Apple, these kinds of user choices have been there since the start.
Maybe it'll be a thing when passenger-carrying drone-style aircraft (hex- octo- deca- copters, whatever) become a thing.
Neural networks and things like that look like "goal oriented" programming...
Microsoft has gotten slammed in the past for this sort of thing by the IRS:

https://corporate.findlaw.com/human-resources/employee-or-in...

The IRS' concerns aren't exactly the same as the state law concerns, but the lists they use to qualify contractor versus employee seem pretty similar, just with the CA state law test being more simplified (though IANAL, the more simplified CA state law list seems no less likely for companies to run afoul of with this sort of relationship).
Relaxed theme – Now available for VSCode
NYC Data Science and Mobile Dev Jobs at  RentHop (YC S09)
For the love of god, please stop spreading these misinformed views.

1. Nobody in Europe will be blocking anything.

2. The Wayback machine will continue to operate.

3. GDPR is generally pretty well-written legislation, based on extensive experience by privacy regulators across Europe.

There are some questions about exactly how the rules will evolve in practice. The thing to bear in mind is that privacy regulators are interested in compliance, not in punishment.
Just hitting Esc on the keyboard should also work to stop the redirect/load.
I don’t know about puns being the lowest form of humour, but the bun is the lowest form of wheat.
big coorps do have massive teams and monetary funds to deal with this legislation, startups and one-man shops do not.

That applies to literally every piece of legislation. Yet we don't decide that small restaurants should be exempt from food hygiene laws, or that small construction teams should be exempt from health and safety laws.
OK, but aside from discussing "should", I'd like to find information about "is" first.

My impression is that what I describe basically is the system right now. But I'd be interested to find ways to understand better whether this impression is true.
I'm not sure I understand the question. As it is now, the vast majority of my transgressions in real life disappear into a memory hole. What makes the internet so special in that regard? You want there to be a permanent digital record of people's mistakes, why? So that those best at hiding their defects can get ahead? Why is that desirable?
Why mouse? Click the link and press escape. You youngsters with your mouses.
Pull-up bar is the best lifehack ever. Just doing a few every hour or two (even if it's just negative) gets your strength way up, balances out the regular gymrat chest/front-shoulder focus and makes you look way better in a short amount of time (lats and bi's).
I doubt it. GDPR is the obvious next step in the war on GPC (memory specifically). archive.org exists to fix that. If they fall because some other country has no 1st, they fail. Other people have copies.

Who exits next?
Try the other way in a couple of months
Did you read the article the poster is reffering to, though?

It specifically mentions that the kind of "missing paradigm" looked for is not one of the declarative ones we currently have (SQL, Prolog, etc) because those fall into the Evaluate + Consequent combo.

So, he gives 3 paradigms:

FunctionalProgramming -> Evaluate + Mechanism (list of instructions)

ImperativeProgramming -> Execute + Mechanism

LogicProgramming/ConstraintProgramming -> Evaluate + Consequent (i.e. towards a consequent (result) based on constraints) [this is where declarative falls).

So, the "goals oriented" language he defines as the missing: Execute + Consequent pair.
Hopefully this will simplify Scala for newcomers and especially speed up onboarding when handing over codebases written by expert developers.
The argument is that "is" is entirely irrelevant, because as far as anyone is concerned, under the law, these people have been convicted of drug crimes. There is no way to tell, short of actually attempting to convict them of something else, whether they're guilty of something else under the law - and so, following the principles of most sane countries, they're by definition innocent of those other crimes.

If the prosecutors wanted to convict them of something else, they should've followed the procedure to do so - to refuse to prosecute and then to claim that people are actually guilty of something they've never been tried for is something dictatorships and fascist states do.
What best practices do I teach to complete beginners to Python?

I am teaching adult beginners and it would be best to avoid the messy parts in the beginning.

I thought I could get by with just pip and briefly touching on virtualenv.

I sin myself by avoiding all the mess by cloning a full bare bones Lubuntu virtualization whenever I need a clean project.

Theoretically Docker should suffice but it is yet another layer of complexity.
Totally valid question -- it was indeed a throwaway remark but is pretty bitter in tone now that I think about it.

To delve into what I was thinking a little bit I think it came off so bitter because I've been in too many orgs where group-thinking squashed dissenting possibly-correct opinions, where half the room is wondering "this seems too complex, why are we doing this" but everyone goes with it. Reading through the twitter comments had a bunch of people were trying to gloss over the misuse and it might have triggered me.

The more reasonable response is definitely to articulate and explain why a GET is NOT fine in that case so everyone learns, but once this starts happening a lot I mark it as a red flag in my head -- it's either a culture clash or I'm too close to being the most experienced in the room (in that specific area), and that means there are less people to learn from and staying for too long might lead to stagnating. The "leave the org" bit is hyperbole, but I worry about this kind of thing if I experience it.

In the end though, it was meant to be a humorous post so the remark is overblown.
There's no scenario where they can respond to the vast scale of GDPR violations that their archive likely represents, when it comes to manually removing content.

"GDPR violations". What's that, exactly? As far as I know, you only have to remove personal data upon request, no preemptively. So I don't see how they are "violations".

Will a lot of people make these requests? Possibly, but where's the evidence of that? People have been able to use copyright takedown requests (e.g. under the DMCA) forever, yet the Archive is still around.
GET must be safe and idempodent. In the context of http, idempodency basically means that you get the same result for each request with the same url and the same set of parameters.

Toggle should be implemented as post, since it’s neither safe, nor idempodent.
It was mostly a snark. Yes, you're absolutely right, JWST service life is propellant-limited, not to mention its limited liquid helium supply for the first phase of the mission. And they are not using pure ECMAScript either, it's a heavily customized version.
The typical operation applied to sets of functions is composition, so idempotency of a function f is the condition that f(f(x)) = f(x) for all x in the domain of f. I don't think that applies meaningfully to GET.
Finding the longest straight line you could sail without hitting land
Building successful online communities: Evidence-based social design
> What would you say to tomorrow’s codec implementers?

> Standardize an interface to export and import the encoder’s and decoder’s internal state between frames!

Can't this be achieved using sandboxing/emulation/VM techniques?
> For instance, making marijuana illegal has the intention of decreasing drug addiction and dependence

That’s not right, is it?

Didn’t that Nixon aide admit the drug war was a ruse?[1]

1. https://www.vice.com/en_au/article/xd7jkn/a-former-nixon-aid...
Bitcoin Price Dips Below $9,000 but Tron and Verge Continue to Record Gains
The biggest moments in history come alive in tiny detail
I dispute your example. If you call f(2) and it always returns 4, it's idempotent and side-effect-free. If you call f() and it returns 4, then 8, etc, it is neither.
I've managed to destroy my Pixel 2 a few days ago, and for the time being switched to an iPhone 6.

Some of the difficulties I'm having are due to habits or not knowing how to do stuff in iOS, but all in all, the Pixel 2 and latest Android are so good, iOS really feels like a step backwards. It used to be more polished than Android, but that's not true anymore as well. It just feels clunky and primitive compared to the Pixel.
It still needs to have a business purpose. 50 engineers + salaries/insurance + server costs for billions of users. Yea, not cheap.
Old conversations actually used to be the worst offender for some users - it included all media sent or received in those conversations which could be really hard to track down.
Ok WHY then, has nobody tried said better way. Why won't anyone invest in it? The point I'm trying to make is that it's unproven. Maybe you're willing to pay a small amount (and what amount is that exactly). What about the rest of the world?

I think people "want" there to be an easy solution to this and are just pointing out problems without considering whether such a solution even exists.