skysight-inc/HackerNews huggingface dataset:
As an Italian I would like to point out that there is a lot of political clash about this.
This ecosystem has bred a lot of leftist politicians over the year and this has continuously been exploited by the right to attack the “coops” as “coperative rosse” (red coops), which - in the Right’s view - leverage political networks and contacts to gain subsidies and tax exemptions on social activities.
I personally do not agree, but it is true that Emilia Romagna has historically been one of our most socialist/communist regions.
Please note that in Italy “communist” is not an insult (unless you use it like that as Berlusconi does), but it technically just referred to being a voter of the historical Communist Party (recognized as one of the most important elements of our democracy until the 80s).

In regard to Retail, this has led to a long-term spat between Mr. Bernardo Caprotti, the CEO of Esselunga until 2013, and COOP, the Retail cooperative mentioned in the article.
Esselunga is a large retail chain, particularly popular in the center-north.
In 2007, Mr. Caprotti wrote a book called “Falce e Carrello” (literally sickle and shopping cart, a play on falce e martello, Italian for sickle and hammer) which became sort of a bestseller. In the book he accused COOP of unfair market practices to block the expansion plans of Esselunga in the so-called red regions, with Emilia Romagna as the central stage for these accusations.
Although Caprotti passed away in 2016, a lawsuit brought by COOP against him is still ongoing. First and Second grade had opposite results so far. The case is now being examined by the Italian Appeal Court, which will have a final say on the case.

I’d just like to add that the COOP’s supermarkets are probably the best food shopping experience you can think of. If you’re visiting Emilia Romagna, just get into one. You’ll see that the stereotypes about Italian food quality and variety are true!

Edit: toyg’s comment, below, has a great take on the critical points of the COOP system. (Just to clarify: Caprotti’s accusations were driven by opposing ideology and personal grievances, but they weren’t completely unfactual)
The prison as a monastic/craftsman environment would be closer to reality. Programming, poetry, pottery ... the craft that is mastered is broad. The monastic side of healthy food, exercise, and solitude by choice (a few hours of solitary as a privilege). You raise inmate seratonin and they become functional members of society again.
It would be drastically harder to get out of the gravity well on the planet. Even if the strength of gravity at the surface was the same as Earth’s, the field would be stronger farther out than Earth’s —- 11x as much due to the geometry. It would take 11x more energy to escape the planet, though low orbit would be practically the same difficulty.
The title of the question says something else & the description says something else.

Anyways I'll try to answer the title "Benefits of front-end JavaScript frameworks"

I wanted to know the same question a year ago so I tried making a site in Vanilla JS. Here is the demo [0] & here is the code [1] & my thoughts when I wrote it [2].

I tried making the application with Vanilla JavaScript without any frameworks & it sucked. I had to do routing. I had to maintain state & the code organization in a single JavaScript file was terrible.

That's why there are frameworks like React/Vue/Angular that help us make it simple. It handles the client state, routing for you & a lot of complex logic. Try making the same application I made using Vanilla JS & then try making it in any framework. It won't require more than a week but you will know why you require a Framework instead of doing it on your own.

In short, if you're not using a Framework, you're building one.

[0]: https://deadcoder0904.github.io/AMA-reader
[1]: https://github.com/deadcoder0904/AMA-reader
[2]: https://100dayz.js.org/2016/12/02/AMA-Reader
> But they need to give out some tickets every once in a while or else the law becomes meaningless.

This has actually been shown to be a very bad idea. It is way better to punish immediately, even if lightly, every single transgression than to do it randomly but more severely. (Probably because we're all thinking "it won't happen to me".)

What you're saying afterwards is "the mundanes should not taunt their rulers". True in the world-as-is, but that reinforces a caste system. No. The cops and the judges are NOT nobility. They should NOT be treated as superior to the little people.
Soundboxing (https://twitter.com/jobjstauffer/status/904229973430591489?s...)
I’ve known depression through a relationship with a significant other.

Their worries were not solely based on rational issues. They would be depressed at a mall because it wasn’t in a city. Then depressed in a city because they felt removed from their comfort zone.

Depression is a mental illness and it sucks. Much of the medicine for depression causes depression to worsen.

I hope we unlock a cure in our lifetime.
> No matter how you slice it, exceptions are still a goto under the covers.

This is a poor argument; the same could be said for almost all control flow statements: if/else, while, for, break, continue, (early)return ... they're all implemented using "goto under the covers". Moreover, lots of C programs use goto to do their error handling!

Seeing "throw" statements as gotos misses the point: you can't really create spaghetti control flow using "throw" statements.
Instead, you can see them as "return on steroids".

It's true that "try-catch" makes it hard to know where your code is gonna "jump" ; but that's the point : as the "thrower", you don't have to know, and you don't /want/ to know.
Think about the standard libraries for Java, C#, Python, D ... they don't have this luxury.
If when using "throw", you're wondering "where's the catch", then you /probably/ have a design issue.
There's an important unstated property too, btw. OP reported an information disclosure bug in payment handling code. A bug in the core logic of what literally brings money in.

That kind of bug report is bound to get a very quick triage, followed by a very quick escalation.

But yes, even with that in mind: a 4-hour turnaround is damn impressive.
Autonomous AI robot in restaurant
Top online courses that you can take for free
Assuming the existance of something like early human hunter-gatherers, if the earth were the size of Jupiter, we would not have transitioned to living in cities yet. There would be no downloading.
Another issue: vertical boundaries of the national borders. If something flies 400 miles above the US, is it still in the US?
inb4 a lot of sources sleep deprivation is hurting your brain in a long term. Not sure what's better.
This particular series is more of a toy OS for learning purposes (and through which they can teach things). At least, that's my impression of it.

Redox (https://github.com/redox-os/redox) is a Rust OS project that's aiming to actually be a usable consumer OS.
Bright light in the morning, vitamin D supplementation (5k units) seems to show promise for some.
GitHub Pages is one of the highest causes for seeing TLS alerts for me.
This is almost universally a visually striking thing to identify. If you google for blown capacitors you'll see what I mean. I should also mention that "capacitor plague" is a different specific issue caused by poor quality components. I've seen a few different kinds of failures, but the majority of them are bad capacitors on the power board. The way these things fail (when it's due to a power issue like we see here), there's a loud "pop" sound, and that's a capacitor exploding, usually on the power board. It leaves black marks, soot, etc. I have very rarely ever needed to use my multimeter, although I do use my multimeter anyway, just to ensure I'm actually doing worthwhile repair work. Other things cause shorts on the boards which can damage something and cause someone to throw it away. I have opened up a TV and found one of those big, tropical, "outdoors-only" cockroaches that straddled the wrong traces. Heh I've seen some weird stuff but yeah, usually the problem is very easy to spot.
IPv6 support, it would seem.

GitLab Pages offers no IPv6 support. GitHub doesn't support IPv6 for custom domains officially, but you can easily work around that by adding 2a04:4e42::403 as the AAAA record.
Another way to host a Jekyll website for pennies (and with HTTPS) is https://www.netlify.com/
If by counterpoint you mean having melody on a different track (rather than just "beat" or added harmony) I'd say it's used way more than just in duets/canons. Most jazz (or accompaniment in general) would apply for example.

https://youtu.be/GhCXAiNz9Jo?t=1m22s Does this apply? (Franz Ferdinand - Take Me Out)

I think counterpoint is used more than people think.

Saying that we haven't moved "forward" from Bach is disingenuous, when Bach didn't even have straight 7th chords.
less dependence on GitHub, IMO - I'm open to arguments in their favor though, for sure
Ask HN: What is your best way to learn a new programming language?
I know the good old answer, practice.

But are there any tricks that work for you while learning a New Language or you just get better.

I want to learn Swift as my new language so how do I approach it.

I know a lot of different languages but they have basically same syntax (C, C++, Java, JavaScript) but it takes me a lot of time to get a good grip of it and I am not sure if experienced developers feel the same or do they learn it faster.

So what's the best way to learn it and maybe the fastest?
Events have clearly overtaken our regulatory frameworks. Political events are seeming to move towards nation state isolationism recently but reality is showing we need more supranational cooperation and regulations.
In my defence, I'll simply note that there's history here:

https://groups.google.com/forum/#!topic/comp.soft-sys.sas/oF...
Since you appear to be posting from a throwaway, care to share which company this was at? Having worked with plenty of Indians (and being Indian myself) I don't recall caste ever being a factor in anything at any company I've ever worked at. I'm not so closed-minded as to say it's impossible but it would be useful to get more information and context. At the very least so we know which companies have toxic cultures like this.
You can have everything you want in life and still be depressed. I find even people who have been there and overcome can forget this about depression.

Depression is a thing that happens to you, an ailment that occurs. Sadness about a sad thing is not depression, apathy because things aren't going okay is not depression. They can lead to depression if they go on long enough, but they aren't themselves a mental disorder. They're just emotions.

Depression is a mental disorder. An incorrectly operating subroutine in your brain that's flooding you with emotions that make no sense and shutting down others that you would normally feel given the circumstances.

You stop smiling at puppies, you stop crying for movies, but then you cry because you dropped your fork, and get annoyed that people you love are talking (okay, sometimes that's normal!).

Granted, your line of thinking is why I think some people stay at jobs they hate, stress themselves out with it, and then fall into depression through years of stress and apathy toward their health. But you could also suffer from depression while working a job you love and sleeping on stacks of cash every night.
>>> Green acknowledges the quandary. “You can detect a certain ambivalence about corporate crime,” he says. “You can see people wondering, ‘Why on Earth are you investigating blue chip, listed companies? Don’t we need those?’ But we’re one of the richest countries in the world. We have a responsibility to do business ethically.”

Damn, that's almost Stallman level of clairvoyance :-)
You can use cloudflare to get SSL with a custom domain for your GitHub pages

https://gist.github.com/cvan/8630f847f579f90e0c014dc5199c337...
As the old saying goes: "If the democratic elections really could make a difference they would have been forbidden by now".

American law for example reflects views and interests of small group of oligarchy, and not general public. It's been like that for quite a long time, to quote [1]: "The preferences of the average American appear to have only a minuscule, near-zero, statistically non-significant impact upon public policy"

[1] https://www.theatlantic.com/magazine/archive/2018/03/america...
Not everyone is a furniture designer, indeed.
The best you can build with this (very early stage) tech is useful contraptions.
ISOSPOROSIS IN AIDS AND AS a BIO-WEAPON
According to the latest comments and issues linked in that very issue, GitHub Pages has started slowly enabling HTTPS support for sites that have custom domains.
Try some from this list: https://www.xkcd.com/1963/
I can’t wait to build a sharp-edged star table out of cheap pine
OP here - thanks for all the votes! If you liked this post, check out my latest post here: https://www.josephecombs.com./2018/03/09/how-I-use-a-compute...
Don’t blame it on the researcher, it’s hackaday’s fault
I don't think it really is a free market. When the government is essentially mandating that the lowest bid weeks. A new method may be better and last longer, and be more fuel efficient on our cars. But to recoup your R&D it will most likely going to be more expensive than the lowest bidder. Even if, in the long run, it is cheaper.
Go to https://www.netlify.com/features/#dev-tools and check out the dependencies in the image there. I bet an exec said "hey we need a cool looking screenshot of code" and the dev whipped up the most useless package.json they could think of and screen-shotted it. Well, I hope that's the case.
> What will they even do with the messages if they stored them

You can still do metadata analysis on communication patterns between people, without knowing the content of the messages.
Giving up the principle of an impartial, unbiased, universally-enforced law JUST to do business with corrupt but wealthy nations is unfortunate and dangerous.

Hopefully the next leader of this anti-corruption agency will continue to be effective as David Greene.
That's a bad way to put it, not that I'm saying sleep deprivation is a good idea.

In the case of ketamine, the improvement might be produced by a metabolic derivative with fewer side-effects than ketamine [1]. And it improves the connectivity of the brain [2] [3], so most likely doesn't make the patient "less sharp".

For what it's worth, exercise can have the same effect [4].

[1] https://arstechnica.com/science/2016/05/understanding-ketami...

[2] https://www.ncbi.nlm.nih.gov/pubmed/25613382

[3] https://www.ted.com/talks/rebecca_brachman_could_a_drug_prev...

[4] https://elifesciences.org/articles/15092
Another way is travelling and getting hit by a considerable time difference.

It seems resetting your circadian rhythm can, in some circumstances, have beneficial effect.

I knew someone that referred to doing that as "degaussing".
When a 2G Calling App Is All You Need
It really depends on how you define picture. I guess you could argue that it is still a picture in the sense that it is captured using an array of sensors that are sensitive to some electromagnetic waves.

edit: Wikipedia defines photography as "the science, art, application and practice of creating durable images by recording light or other electromagnetic radiation, either electronically by means of an image sensor, or chemically by means of a light-sensitive material [...]

It could fit
If he’d never written anything else, the Chaconne alone would be enough to make him one of the greats.
How to change shipping address on amazon? Call 1.844.350.6444
how to change shipping address on amazon
amazon package never arrived
amazon package says delivered but not here
amazon missing item
amazon prime late delivery
amazon delivery attempted
amazon report missing package
That's quite like my experience. I started out with Emacs, but I learned Vim along the way and the key bindings are awesome. I use them in other editors, but often they conflict with the editor's defaults, or they're not emulated properly.
I don't use Vim exclusively (I couldn't get to customize it, couldn't get to learn vimscript), but the key bindings are great.
World-first firing of air-breathing electric thruster
Watch YouTube videos
Your code isn't really statically typed if every object might support its declared methods, or might instead be an unusable time-bomb. Much better that an invalid object never exists and code that needs that object isn't reachable.
It's a bit more complicated too - rather than the AAA ratings being completed unfounded, they often seemed to have justification (at least on the surface), as various kinds of CDOs were typically packaged with insurance baked in, to make them appear less risky to the ratings agencies' models. One big problem ended up being that a lot of those insurance payouts were theoretical, as the entity on the other end (often ultimately AIG) didn't have have the money to pay out when so many mortgages were defaulting.

But, yeah. The agencies didn't really have much incentive to be skeptical of their models.
This works, but it leaves all traffic between the CloudFront edge node and S3 unencrypted. In theory, that shouldn't be an issue, by why risk it?

A better way is to completely leave the "website" bits of S3 off, and leave that all up to CloudFront. You can create an Origin Access Identity, then grant that OAI access to read your S3 bucket (all automated in the wizard when you create a CF dist and specify an S3 origin). You then specify a default object in your CF dist, and bam, CF is using the S3 REST API over SSL to secure that CF-S3 hop.
The difference is that italian non-coops avoid talking about themselves as saviours of the proletariat
Very interesting. I'll check this out.
Any examples of organizations you could share?
computer "renderings" has a very specific meaning, creating images from 2D or 3D models.

I would call this a 'composite image.'
Isn't it pointless to ask why a chaotic turbulent system ended up this particular way? The author keeps repeating this question (or stating "nobody knows"), as if there's some fundamental and interesting answer to it.
My favorite combination for a static website is AWS S3 for content and Cloudflare for caching and SSL termination. I think Cloudflare offers more capabilities as CDN.
The FCC is renowned for going balls to the wall with enforcement. This is going to be really interesting to watch unfold! I am guessing that the FCC will use whatever means at its disposal to get what it wants here.
A miter saw with some janky robots sawing what looks to be a flimsy piece of pine... is going to threaten IKEA?

OpenSCAD and parametric design is cool and all. But this is asinine. That's the most charitable way I could put any of this nonsense.

> AutoSaw is a fun proof of concept and a glimpse at a potential future: One where a robotic wood shop is part of your local home improvement store’s lumber department. Ready to cut/drill/route pieces for you to take home and assemble.

First, you don't go to your local Home Depot for furniture-quality lumber. Second, CNC furniture already exists and is way more impressive than this demo[1] Third, CNCs are robots too.

I see this sort of devaluation of design and craftsmanship often in DIY and elsewhere from people that don't know much about what makes IKEA special and what woodworkers actually do. IKEA sells solid designs at affordable prices using low cost but mostly durable materials. Woodworkers, on the other hand, use high quality lumber, precision jointery, and careful finishing. The finishing alone can sometimes take as long as building the entire project. They carefully avoid knots and trouble spots, they know which way to cut and glue according to grain, and they know about wood movement. They know that hard and soft words are different, and they know that, well, there are different types of wood. Shocking, right?

I'll take a solid design by actual designers rather than some parametric customizable monstrosity. Flat pack or Eames. It really doesn't matter.

[1] https://www.opendesk.cc/
Thanks.

Agree, deep frying should be avoided greases up surfaces even with an extractor. And I'm a fan of minimalism too.
What factors other than some specific affinity to Microsoft makes a company choose Azure over AWS?

More locations, tho' every major cloud is opening more all the time. A much better hybrid story, tho' this may change once (if) AWS get their alliance with VMware working properly. Better layered applications (X-as-a-service) but that might be a matter of taste - AWS is more about giving you building blocks to build your things, Azure has the blocks but is better at giving you integrated "things" out of the box (e.g. IaaS vs PaaS). Per-second billing, generally better budget control.

I've a bit of experience with both Azure and AWS. There's nothing I could build in one that I couldn't build in the other, tho' depending on what that is, it might be more effort in one of them. For my own personal stuff, I use Azure, it's more fun :-)
Estimated Earnings of RVCJ and Bakchod Billi Facebook Pages?
And I'm at -2, but I'm pretty sure that's just the 4chan alt-right people who get annoyed at being called out. Shurg

You must be getting downvotes too, because I upvoted you.
Show HN: Secure data storage and sharing platform
So we've built this secure data-storage and sharing platform. Curious to hear what HN thinks :) https://onlyonce.com
Considering that heart attacks rise right after the time change, and other people have sleep issues, I would guess a lot of people have a problem with adjusting their internal clicks.
Wonder why there aren't class action law suits against banks and other companies that lie to the credit bureaus about people defaulting on loans? It is not "identify theft" that is the problem, it is banks libeling people and the credit bureaus passing the libel along.

You loaned money to someone and didn't even have their correct identifying information. Well that's a bit of a problem for you. You say that the fraudster used my name and other info to impersonate me. I can see you are in a bit of a pickle in how to get your money back. You are going to lie and say I defaulted on your loan to a credit bureau? Fuck you, asshole. I'm going to call the police and you are going to get a big fine and/or go to jail.

One can dream, anyway.
Mars at least probably isn't a coincidence, in terms of the element assigned, since it's visibly red to the naked eye.
Aren’t response time and throughout directly correlated with one another. If the former drops, the latter will increase, right?
MySQL 5.6 to MariaDB 10.2.13
Apart from fact that it is not an integer overflow, what you can see in system headers is not what you can do in regular program’s headers. System headers are part of toolchain and can rely on specifics of platform and actively use these to provide compliant values for you. When you’re on a different platform, a different set of definitions is provided (though most cross-platform standard library implementations try to abstract specifics deep into their internals and builtins, since it is useful for stdlib writers too).
> At a minimum, one could switch cell phone billing so that only the caller pays, not the recipient.

Are there any countries besides the US that charge the callee? It's completely unheard of in Europe.

I did spend some time in the US about ten years ago, and I do remember being very surprised at being charged for calls received, and even for texts received, although you have no influence on accepting them! Such a weird system.
Interesting. Didn't know that had changed.