skysight-inc/HackerNews huggingface dataset:
> DFSG and the OSD are essentially the same thing, having been written both of them by Bruce Perens.

Right, and I knew this is what you were getting at. I guess my main point is that having a working guideline for acceptable licenses for a distribution makes complete sense (after all of the moral viewpoints have been debated to death you have to ship some code eventually), but using those guidelines as the basis of a movement doesn't really (at least not as much as basing a movement on an a set of ethical axioms). So I would say I favour the DFSG over the OSD purely because of what it is used for and represents, rather than because of the (almost non-existent) differences between the two texts.

But of course, I'm biased since I'm far more in the "free software" camp than I am in the "open source" camp -- purely because I think bringing it back to discussions of ethics is quite important (perhaps more than ever).
Copy/pasting has a nearly identical cost (aside from notifying the maintainer), except you have to catch all of them, you removed an easy upgrade path when other people catch the issues and you're spending vastly more time "code reviewing" every dependency you have rather than actually producing the software you're trying to write.

Don't know about you, but we have actual goals and I'd never meet them if I tried your method.
I understand the benefits of keeping front-end separate from back-end.

- Separate teams working on front-end and back-end independently

- Front end bundle can be served fast and cheap via CDN (only the naive serve static files with gunicorn/uwsgi right?)

- and much more

Knowing all that, I chose to mix up VueJS with Django solely to optimise for speed in a single person company. Thanks to this setup,

- Authentication is handled via Django sessions (didn't have to spend time on JWT tokens)

- I don't need to setup deployment pipeline, monitoring, testing for 2 applications.

- Keep working on a single codebase and quickly iterate (slightly debatable, but still).

While the setup is not ideal for everyone, it certainly has advantages that I value at my current stage. If you're curious this is the application: https://reviewnb.com
Not having an agenda is one thing. Not having an idea about what the meeting's result should be is another.

While the former is still unfortunate, it can easily be taken care of within the meeting collaboratively. The latter is harder to come up with in an ad-hoc fashion, but it's still possible.

I agree that in an optimal world, every meeting is planned appropriately beforehand and meetings that aren't necessary do not exist. In reality, that's not the case. So you have to deal with that.

Just complaining will not help.
This is hacker news, I think someone can be forgiven for using hacker lingo.
I'm not particularly happy that social media companies are deciding on tripling down on shady behaviour. They're always heavy-handed and go around banning, silencing and censoring even unrelated stuff. It's gotten to a point where people in my circle of friends are moving on to alternatives because they had enough of dealing with their private communications being scrutinised, dissected and used as a reason to censor them by very fallible bots. I understand the challenges and issues involved in this whole kerfuffle --- but in the end if your users are unhappy and leaving your service, you're failing on delivering on your promises.

I wish I was smart enough to think up an instant solution to this, but I'm not. All I know is that there has to be a better way out of this than just a black and white solution. Society should be able to develop a way to integrate social media into itself and use it non-destructively.
Hash functions are so powerful in so many algorithms and optimizations
It was on the list of anti-Soviet literature for a long long time before that, and possessing it could get you into real trouble.
It's because you won't believe us anyway. Women making TRUE accusations have their lives ruined constantly. Why would we bother? You're not going to do anything about it.
Hey HN! Here's some back story..

The project:
Ever had a question like “When can I buy that?” or ‘Can I afford that vacation 6 months from now?”. The answer to those questions is ZenQalendar. ZenQalendar is a smart budget calendar which makes future predictions based on your spending habits.

Me:
A month ago I successfully launched freshjobs.io on here
(https://news.ycombinator.com/item?id=17793024), here's my next project!

I’m on a mission to learn to code by making 6 projects in 6 months (this is 3 out of 6), with my final project being at the end of the year in December. The dream is to live from these projects by that time and help people across the world by building things that are truly helpful to those people.

All feedback and bug reports are much appreciated. Go easy on me, I am still a total newbie dev!

I vlog my journey here: https://www.youtube.com/lukehero
I post regular updates here: https://twitter.com/itsLukeHero
I do a write up after each project here: https://medium.com/@lukehero
> You can’t really though, because traditional banks are regulated, and if anyone tried to do that Theyd be investigated by the FBI and the Secret Service then any fraudulently created currency would be destroyed. Further it’s not a core tenet of Fiat Banking that more can’t exist so follow on effects would be limited. If anyone introduces new bitcoin none of that happens, all holder is just lose because decentralization.

Unless a hacker finds a flaw that lets them siphon off bitcoin without anyone noticing, all the holders would have to do is fork the chain with flaw fixed. Bitcoin is just an P2P shared accounting book, after all, and if someone is able to write an illegal entry in there, the entry can be scrubbed and rewritten. As long as over 50% of the miners believe it's the right thing to do, it becomes the new official record. This actually has happened before and played out exactly as I just wrote: https://en.bitcoin.it/wiki/Value_overflow_incident

If a bank is hacked, who can say really what will happen? Because of secret courts and shadowy government agencies, all you really have is blind trust. Could you go and audit the US Dollar and be sure that there isn't more being created than what the government tells us? It would take you years even if you could, and even then, I'd bet you dollars to donuts that if the government was doing something they didn't want you to know about, they'd block you from finding out.

Bitcoin can be audited by anyone at anytime. Just download the blockchain, and run a program to process it, and you'll know immediately. In fact, the official client does exactly this, and won't accept a blockchain that doesn't pass its internal audit.

> It’s almost like in the thousands of years of traditional currency people have thought of this and implemented mitigations. It is fascinating to watch bitcoin replay the entire history of traditional banking in fast forward.

In the thousands of years of traditional currency, no one was able to create a currency that limited the number of coins created in a way that anyone can publicly check, shared with the ability to transmit very quickly and anonymously large sums across the globe.

This makes cryotocurrency unique, and the old traditional ways of handling money do not apply to it.
I remember having my mind blown studying the Ukkonen algorithm, for string search prefix trees.
Especially the fact that was built from the naïve implementation O(N^3) brought down to O(N)
In ideal world all functions should be pure and be a dependency and all code should be just pure functions.
It's the js bundle that is large.
There's nothing actionable in the news if you live in Russia. But if you live in a democracy, I hope you'll take your responsibility as a citizen seriously enough to pay attention to what's going on, from time to time, lest your community meet the same fate.
I guess we won't need IPv6 that much.
I have not seen many Soviet movies but https://www.imdb.com/title/tt0091341/?ref_=nv_sr_1 is amazing in many ways. Also I can't help but wonder how it could be made. I find the last decade of the Soviet union incredibly interesting, probably because I was a child at the time.
We carry a small makeshift ones always. But almost all our travel is exclusively on city streets with speed limit of 25mph..
You meant "anecdotes", right? Autocorrect, probably.
Very nice.
I'd consider pinging the guys of OpenBSD to suggest upstreaming this interesting, user friendly, syntax into SSH itself.
Perturbation theory[0] is an algorithmic way to find approximate solutions to problems you don't know how to solve. The idea is to perturb a known solution to a closely related problem. It is pivotal in quantum mechanics.

[0] http://www.cmls.polytechnique.fr/perso/paul/6paul2.pdf
Argue based on merits of your point vs. trying to fit families into stereotypes you believe. We are proud to live in the city and are happy with our lives.
Seems backwards, your friend should be the one making 200+
What about PrimeReact? https://www.primefaces.org/primereact
I am French and I applaud at any initiative to help the part of the French economy not under the government control (circa 45%)!

1. But even if my browser is set to English, I see French on https://embauche.beta.gouv.fr/ and most of the issues on the Github repository are written in French! What signal do you want to send?

2. As one can find on "https://embauche.beta.gouv.fr/" the employee gets only half of what the employer pays.

Contrary to what is stated on the same site, one employee does not get much benefit of what the employer pays for her retirements and healthcare, because:

* if she is hired now, there is a good probability that she will have only a little retirement pension in 40 years, even if the law does not change. (probably close to the minimum salary, at least I hope so). So all this considerable amount of money will be wasted in the state and the "sécurité sociale" deep pockets.

* It is the same for the health fund: What makes the French health system seems free for workers, is that they have a mandatory mutual [0] which pays for most of the costs. The "Social security" pays around of 10% of most usual costs, the mutual fund pays the rest...

Most French companies are trying hard to use other schemes for paying better their employees, for example because they have some company investment fund, but "shut...".

[0] This website is provided by the URSSAF, the French social security contributions collector"
Peter Thiel associate named as ambassador to Sweden
Learning Huffman Coding in SICP was an amazing thrill--and all these years later it's still up there in bang-for-the-buck neatoness.
Learn how you can kickstart your chatbot journey.Join our upcoming webinar
Did you try it on mobile? It actually does seem to use the native selector and not the custom one for me
Most companies I've worked for (including a bank) you'd be gone the next day. Monitoring is so rampant right now. It's disgusting.
> I doubt GV really cares if the valuation is 59B or 100B

There is no VC that doesn't care about a 70% difference in returns.
There's two disturbing aspects to this: one where parenting is replaced with TV, and one where it's impeded by TV — a woman was watching something on her phone, and didn't notice her toddler running onto the road.
You don't "agree" on a convention, they have different use cases. Sometimes you'll want to merge a bunch of class names so you use array-style. Other times you have class names that have prop dependencies so you use object style and finally you'll want to merge in some always-on defaults so you have string style. You'll often need to combine them, depending on use-case.

That's a whole lot of complaints for 50 lines of code.
Counting sort. It's extremely elegant and has odd complexity properties that make it interesting.
This is amazing. I wish such site was available in french when I created my company, you should consider it.
I've read/skimmed two academic books commenting on The Master and Margarita and it lessened my enjoyment.

There was lots and lots of "Woland is obviously not the devil, unlike everyone assumed" and much lofty discussion that I couldn't follow at all.

I'd strongly advise to leave that out, but read a more conventional commentary like the web site linked somewhere in this thread.
there will always be some popular misconceptions.
We the programmers sometimes get too caught up on extracting seemingly common code that we don't stop for a minute and think "but does it really make sense to extract it?".

It's a very classic problem and it's something that code reviews and pull requests for anything you do are such a good idea -- provided that your team is not a total echo chamber of course.
it("should work with booleans", () => {
expect(classNames({a:true, b: false}).to.equal("a b")
})

Shouldnt this just equal "a" though? See, already a bug in your homegrown solution!
That's a minor thing but when I press the back button on one of the documentation pages it takes 6 seconds to go back (first it changes the title of the tab then it seems to wait for 6 seconds, probably parsing and running several MB of JavaScript). Sometimes the tab titles is blinking and displaying "Evergreen" and "Components - Evergreen" very quickly during these 6 seconds.

You'd think in 2018 going back to a page would be a solved problem, but apparently each new framework needs to re-solve this in a new orignal way.
I built that a few weeks ago! It can be a bit fiddly in places and I found strange that they don't supply any kind of "grease" and advise to use candle wax on some axles and gears which not everyone has, and it's not specified on the box.

Also, as mentioned for the Hurdy Gurdy model, it's never going to keep time correctly...
I don't agree with Hanging punctuation. I want the bullet points to be indented. Probably because that's what I'm used to.
Also there's no real benefit of compact text on the web, you are not wasting paper.
Appreciate your response, but what's so incredibly difficult to open-source all the things when you're running AGPL software? You choose not to, which is fine, but it's still just you wanting to monetize other's work without giving anything to others to run yours, in turn.
So much this. It's 30 lines of code. The remaining code is comment fluff and 15 lines dedicated to the various types of export utilities (AMD, NPM, window). Seriously this is such an odd package to start these arguments with.
Working backwards a bit:

> Parenting choices can be a way of harming people.

Sure, but the clarity of the information on which choices are likely harmful outside of fairly direct, physical harm is often far less than the shakers would like to pretend; it wasn't long ago (in fact it still happens even though the recommendation of the AAP has since caught up with the science) people were being shamed for providing early exposure to various nuts (the evidence note suggests the old advice that shaving was based on produced a huge surge in nut allergy prevalence, rather than mitigating risk.)

> People who harm people should be shamed.

And shaming, anyway, isn't all that effective (and certainly not a harm free) method of correction even when based on correct premises; when based on faulty premises it's an unmitigated harm.

So shamers generally deserve, by that standard, to be shamed; by a reasonable harm minimization standard they need to be corrected.
Yup. Applying Russian multiplication to matrices is surprisingly effective for evaluating recursive relations (it can evaluate the nth Fibonacci number in O(log n)) Karatsuba is also a nice 'proof-of-concept' algorithm (it shows that it is possible to do better than O(n^2) at multiplication in the simplest way possible) that's also very practical - and it has a nice anecdote behind it :)
Master and Margarita is high school material here as well and most did not even like it, let alone consider it special.
Meanwhile, http://curacaochronicle.com/region/jamaica-just-planted-its-...
Bill was waking up from a hangover due to the previous night. He awakes to Paul waving the magazine saying, Bill! Bill!
> a concept my intuition told me was impossible and showed that it's possible in a really simple, elegant way

I agree but, to be fair, the key ingredient ("discrete logarithms are hard") is not simple at all.
Ask HN: In todays 'Kafka Era', how many are using RabbitMQ for messaging needs?
Yep, there are many scenes where you have to know the zeitgeist to understand the gravity of situation. Like when NKVD finds 400 dollars in the janitor's apartment. It's set up like a sitcom scene but the guy's going to die.
I love the idea of how essentially we have never met and we're shouting across a crowded room but no one else can understand our conversation.
Because it benefits the party with bigger pockets in court.
Not the OP, but FYI there's a body of research in the wild that suggests ties between the late 20th century fall in IQ with the rise of TV in households.

The gist of the explanation is a combination of decreased parental interaction, owing to kids learning less words when their parents aren't talking to them and hardly learning any words at all when watching TV, and the constant interruptions owing to the TV's sound and animations, which distracts toddlers as they're playing (including when they're not actively watching, like when the TV is on while a parent is ironing or cooking), leading to a decreased ability to concentrate that might ultimately be tied to an uptick in attention deficit disorder.

I'm admittedly no specialist in the matter so I can't speak for how accurate and reliable the research is, but I thought the explanation convincing enough to rule out any TV being turned on in the household while our toddler is around.
I'm currently reading a book on brain hemispheres. Apparently experiments have shown that the left hemisphere will completely and blatantly reject obvious evidence even if the right hemisphere 'has a clear counter proof'. Sometimes I think our industry suffers from an abundance of left hemispheric dominance.

I have two monitors on my desk. If I am stuck on anything I drag my emacs from one side to the other and look at the same code there. It works pretty well!
JPEG is not a good choice for UI/typography screenshots. There are ~1MB of JPEGs at quality 50 on the page. By using PNG8 not only you can halve that size but also preserve original quality. Example:

[1] PNG24 199 144 bytes
[2] JPEG 94 699 bytes
[3] PNG8 47 155 bytes

[1] https://user-images.githubusercontent.com/3129436/47068394-d...

[2] https://user-images.githubusercontent.com/3129436/47068393-d...

[3] https://user-images.githubusercontent.com/3129436/47068392-d...
Electric scooters in particular.

These things look pretty amazing. https://www.gogoro.com
Photos of the actual user would, of course, be subject to all the other GDPR requirements around that user's data, but random other people that happen to be in those photos should have no impact on the GDPR scope unless you're attempting to identify them. From [1] on consent:

"Recital 51 notes that photographs will qualify as biometric data only when they are processed “through a specific technical means allowing the unique identification or authentication of a natural person.”"

So Facebook trying to match your face to tag you in a photo counts, but the usage in this weather app doesn't appear to.

[1]: https://iapp.org/news/a/top-10-operational-impacts-of-the-gd...
Would you continue to live in San Francisco if ride sharing were banned?
Off-topic, but is academictorrents being spammed by some authors? There are a lot of single PDFs on there, for which torrents don't seem particularly necessary. Search for "biofield energy healing" for example.
I think he might be talking about trivial dependencies, like leftpad, classNames, arrify, etc. In the case of trivial dependencies, rolling your 30-line "util.js" file to remove 3 dependencies is definitely worth it. No one is suggesting you roll your own diffing algorithm.
> or if we're waiting at the Doctors office or on a road trip

I wonder if that robs them from the experience of ever being bored. And if that might influence them.
I did, and it doesn't on my Android phone.
How to black box test a Go app with RSpec
Just wondering how long does a tiny conference last? One-day or two days?
> The study found that 99.7 percent of non-duplicated comments were against a repeal.

Out of 800k unique comments. They used 'machine learning', so I wonder what the threshold for 'uniqueness' was. e.g. two comments with one word difference are each unique?

In any case, Pai should burn for this or they should completely do away with the comment system if it will continue to be abused by the ruling administration like this.
It is interesting to compare this result to the results on domain randomization on synthetic data...
Completely off topic but The Atlantic's GDPR notice is the least intrusive and most compliant I've seen so far. Good job.
What I like about Dijkstra's algorithm is not that you can calculate the shortest path between two nodes, but that you can calculate the shortest path from one node to every other node, and do it one pass in O(n) time. I'm not sure it's at all obvious that it should be possible to do that.
It highly depends on the kind of company (and possibly country) you work in - I work in a startup in the UK and it's nothing like that.
Graphql subscriptions, aka pubsub with marketing.
I think GP really meant newspapers, not newspaper comments. If they didn't, then I believe they should have.

I remember when I first consciously decided to stop reading mainstream news. I was in high school then; I had my Firefox configured to put RSS feed from national newspapers as a drawer of bookmarks under the address bar (oh, the days you could do that in a browser...). Took me a while to realize the reason why I feel so sick in my stomach on mornings and evenings was that just looking at the headlines disturbed and depressed me. I unsubscribed from the feeds, killed the bookmark drawers, and after a short period of FOMO, I started to feel better.

The "Newspapers with a certain quality, a long-term perspective and in printed form" are few and far between. If you can find those, by all means, stick to them.
You actually sound diplomatic.

Wanna hear something harsh? Most programmers I ever worked with for 17 years of career do not deserve the right to touch a keyboard; they should work on farms. That would be [somewhat] harsh.

You are on point with everything you said. Ego, strong opinion enabled by a secure job position where no amount of professional failure will ever get you booted (because you are isolated from the business outcomes), echo chambers of fellow bros who think like you, and plain old fear of change is what drives most humans -- and programmers aren't an exception.

IMO it's high time some formal certification and legal liability to be introduced to our profession. Also, pick 5 imperative and 5 functional languages and make them "official". People love their religious language wars but it has to stop at some point because billions of bucks are being wasted on 25-year old egos.
I genuinely don't understand why anyone, anywhere, would trust Facebook with anything. They've been nothing but unethical and misleading from the start. I'm not saying this to be hyperbolic - it simply seems like a poor business decision to get involved with them.
A repair job seems like a much closer analogy to a typical software development job than a factory process. My work is mostly identifying and fixing problems and installing custom-designed modules onto machines made by others. If you prefer working more end-to-end, that's also not hard to find in the consulting area.
For similar reasons, I really like the A* pathfinding algorithm. If you implement it on a grid with obstacles, draw the grid on screen, and update it as the algorithm runs, it's both beautiful and very intuitive to watch.