skysight-inc/HackerNews huggingface dataset:
> functional programming ... is based on mathematics

Can we stop with this nonsense? I don't even know what "based on mathematics" means. All programming languages are formal languages, and all formal languages are inspired by mathematics in their design, and we can use mathematical reasoning to reason about them (although the form of mathematical reasoning can differ; pure FP strives to use equational reasoning, while imperative code uses assertional reasoning). While it is true that functional programs bear more resemblance to mathematical notation than imperative programs, but the majority of elementary mathematics cannot be directly expressed in FP in a similar notation -- or in any programming language with some computational complexity features (in the computational, "executable" part of the language; it can be expressed in the specification part, like a type system or a contract system).

E.g. x + 4 = 5 cannot be directly expressed in the computational part of the language, let alone f(x) = 5. Nothing that's nondeterministic can be expressed, either, such as x < 10, or x > y. Some of those can be expressed in logic programming (so it's even more "based on mathematics" than FP!), but at a cost in computational complexity.

But while glibly dismissing silly strawman arguments (which, I assume, some do make), the author contributes some silly claims of his own. For example:

> This has [the] consequence of reducing complexity, and thus reducing the number of bugs.

So, seeing as the author is so interested in precision and mathematics, I'd like to enquire where he pulled this fact from. But let me put this more generally: if pure functional programming has such obvious huge advantages over OOP with a big, real, impact and all, then a curious person with a scientific mind would ask what is the average difference in cost/quality that a company should expect when switching to pure FP? This should be a very easy question, because clear, obvious, large effects are easy to find (in fact, they're hard to hide) even over small samples. If a prediction of an easily observable effect does not turn out an easily observable effect, could there be something wrong with the hypothesis? And if the hypothesis makes a prediction of an effect that is hard to observe in practice, is it really so clear and obvious?
These are the most insane claims I've ever heard. The bullshit coming out of these insurers is ridiculous. "Synergy?" Are you fucking kidding me? And Americans love insurers? They love the companies that kill their fathers, mothers, families, and friends? Are you fucking kidding me? Even for the dumbest of the dumbest this cannot possibly be true. Politicians need to wisen the fuck up. These are the real murderers and thieves in our society that make traditional murderers and thieves look amateurish. These scum need to be eliminated from our lives, their companies eradicated.
I wonder if it'd be possible to check if only mouse events have occurred within the past 10 minutes or so. Then pop up a message saying "Stop browsing and get back to work!"
I created something similar years ago and it's open source:

https://stream.ht/

Try it out, you can pipe your terminal:

exec > >(nc stream.ht 1337) 2>&1

Or just pipe a file:

tail -F file.log | nc stream.ht 1337

Pipe htop (delay is required to see share url)

(sleep 5; htop) | nc stream.ht 1337

Doesn't require installing anything! Requires netcat which is installed on most *nix systems but you can use a plain tcp socket connection to pipe data too:

exec 3<>/dev/tcp/stream.ht/1337 && head -1 <&3 && exec &> >(tee >(cat >&3))
If you expected that, you would most assuredly be mistaken. Skin sensitivity is a thing that people experience on a wide variety of levels. Some men can shave every day and experience no redness whatsoever. Some can't begin to think of doing that without redness/pain/etc.
Or Jurassic Park for SNES, which didn't allow you to save.
What Should Cities Be Like in 2050?
Another obvious indicator on the path towards the nigh-oncoming recession or just a blip on the radar?

Personally I believe a recession is coming. I believe what we're seeing now are disparate pieces of information stacking up. Sales down here. Instability over there.

There's so much kindling laying around. It just needs a spark.
>No one is advocating for prohibiting people from peacefully expressing their genuinely-held political beliefs in ways that do not infringe on the rights of others in public

OK, but some people are arguing for an expansion of some of those "rights of others" to include not being offended by political speech.

>If a person's "genuinely-held political beliefs" involve racism, sexism, homophobia, etc., and if said person "genuinely believes" that the appropriate way to exert their opinion upon society is to discriminate against the people they hate or even inflict violence upon them

I'm not talking about anyone actually discriminating against anyone or inflicting violence on them. I'm talking about people merely expressing their beliefs, which may include advocating for discrimination or the use of physical force.

>If a person's genuinely held political beliefs lead them to enact discrimination or violence upon others then they have placed themselves outside of society

Right, if they've broken the laws against such behavior, they've placed themselves outside of society. However, advocating for, for example, changing laws to allow such behavior is not currently against the law, and I don't think it should be.
The fee is being added on the wholesale/commercial side (bulk senders), not the consumer side. See https://support.twilio.com/hc/en-us/articles/360008372654-Co... or you can google "Verizon $0.0025" to find announcements from several other service providers.
Developer’s Toolbox: Singleton Design Pattern
I suspect that it's because the feature was designed before most people had smartphones and it's easier on everyone to just provide the notifications in the Voice app.

Especially with the great Android integration (Voice is used for calls from the system dialer, etc.) getting a transcript text is redundant because you're getting text via Voice anyway. I bet the transcript texts are just rarely used anymore.
No back button to correct the wrong answer
It's worth noting that a lot of children held separately were brought into the country not by relations. Beyond this a huge number of those children have been reunited. Note that this is separate from those children separated from parents that are being charged and prosecuted, much like any other crime. Also, most of these policies were started under Obama or previously. Personally, I think that illegal border crossings should be prosecuted.

On the flip side, I also feel that work visas should be granted under a very few limitations centered around having a job and place to live lined up along with English proficiency and/or enrollment in an ESL program. This should be combined with requiring that a company with work visas employ no more than 25% of staff on work visas and that the average pay matches the company's average pay as a whole. Under those conditions the issue could mostly self-regulate in terms of the rate of immigration vs. a sustainable level.
"Mandatory" is the key thing, though. The system doesn't work if all the healthy people opt out until they have a crisis and show up uninsured at the emergency room.

See: https://www.kff.org/health-costs/issue-brief/how-repeal-of-t...
You don't need to own a car to take weekend trips to the country or even a quick trip hauling some gear: just rent one. Here in the US, we have "Zipcar" which lets you rent a car on the spot for a short term; in Europe, I saw "Car2Go" which is probably similar.

>As a visitor, I rarely have a rental car in SF for example. But it means I am going to be pretty much staying in the city rather than taking a hike somewhere for half a day.

I'm in DC, and I've frequently gone on hikes outside the city and seen people drive to the trailhead in a Zipcar.
It would help if there were examples of input and output—images of Sketch files and HTML pages that were generated (without manual fixes, if that's an option in your offers).
> I tried to use Google maps to find good buffalo wings in Brooklyn. But, the top suggestion didn't even have buffalo sauce on the menu! Just soy!

That says more about Brooklyn than Google Maps.
I assumed the article was satire. The OOP solution is overly complex garbage compared to the simplicity of the functional solution.
Apple Maps uses Yelp for restaurant listings.
I just discovered this theory and I've been reading the sources, both in English and in French and frankly I'm not convinced. I don't find the photographic evidence presented in the paper particularly convincing. It really reads that the type of stuff you read on conspiracy theory forums, extrapolating wildly based on cherry-picked and very limited material. Besides I think the counter-argument that the people in Arles would've noticed if Fernand Calment suddenly started pretending that his daughter was his wife seems rather pertinent.

Apparently the theory gained traction thanks to this article summarizing the research: https://medium.com/@yurideigin/jaccuse-why-122-year-longevit...
There are so many leaps of logic in there that it's hard for me to take seriously. I like in particular that they use this photo to argue that Yvonne was taller than Jeanne when their posture is completely different: https://miro.medium.com/max/1050/1*VBI9NRmZ58XcZXif_6cgzw.pn...

I think the best argument in favor of this theory is that apparently Jeanne asked for some family documents to be destroyed which does seem highly suspicious, although it's also quite plausible that there were some other family secrets she didn't want to be made public especially since at the time she was becoming famous worldwide.

Meanwhile Jeanne was apparently able to name old professors and maids of hers, things that her daughter would probably not have known or remembered.

I wouldn't rule the theory out entirely but it's rather flimsy at this point IMO.
Really need a back button for this. I don't so much want to know if I qualify, but what do I need to do to qualify which means some of my answers change
Seems more anti-OOP than pro-functional.
The USB 3.0 controller on the Pi 4 is connected via PCIe.

https://blog.hackster.io/meet-the-new-raspberry-pi-4-model-b...
For exactly this reason I've had a medium business (~30 employees) switch from Box to Dropbox.
> Those same people oppose all sorts of existing social programs too, and those programs continue to function anyway.

Sorta, barely.

When I was unemployed a few years ago, it took me months to get basic state medical coverage in Kentucky. I had to spend hours waiting in line at the office because the phone service simply didn't work, and then had to jump through endless bureaucratic hoops.

As a single guy who's fairly bureaucracy-savvy, I eventually managed it. If I'd been a harried and undereducated single mom, I might never have made it through.

That was the second time I had to sign up for Kentucky Medicaid. Five years previous, it was a breeze. Then a Republican governor cut funding to the bone, and now it's awful. That's not an accident.
You underestimate the willpower of many.
File manager nnn v2.6 released with many new features
It was only a 1400 Eur fine, as it was a first offense a there was only one affected person.

But misuse of the available databases for fun and personal gain seems to be quite rampant in the police force, for example they looked up the personal data of a pop star during the night of a concert 83 times recently [1].

Will be interesting to see whether some guards will be put in place (and more officers fined) to combat this behavior.

[1] https://www.baden-wuerttemberg.datenschutz.de/lfdi-baden-wue...
tmate is awesome for pair programming
I'm thinking this could do with a [satire] tag :)
> The hypergrowth demanded by investors when you take on $1.7B in funding is what's the challenge.

This.

The local pizza joint is probably a great family operated business with a enough profit to support the owners + employees (but probably not enough profit to support the owners, employees AND investors).

If you take that same pizza joint and give them $10m from investors, the pizza joint will attempt to franchise their store to a dozen new locations, and they'll probably fail in the process.

Some companies simply aren't meant to be billion dollar companies, yet raise money as if they will be.
This is at least the third sarcastic take on FP vs OO that I've seen, and possibly the worst.

It's hard enough to communicate the differences without crap like this in the mix.

edit:
The two posts before did not pick up on the sarcasm.
> "we should therefore break the First Amendment and let government censor"

I never said any such thing. Please don't misrepresent my comments.

> we're talking about CDNs. Not ISPs.

I'm actively discussing both. Legislation regulating who can censor what must necessarily start with ISPs before we can even think about regulating edge providers.

> Bing?

You can't move to bing, because you're not the one searching for your website.

> So's me telling my kids to be quiet and eat their dinner. It's thankfully 100% legal.

I'm saying it shouldn't be legal for corporations to suppress speech in this way.
I appreciate your focus on open-source here since this feels like a really sensitive security scenario.

I mean, personally, I love the idea of just scanning all of my paper documents into a massive electronic database, but I'd really need to be able to trust the software. If something's closed-source, I'd be worried about everything from spyware to malicious bugs that might intentionally introduce errors (e.g., social-engineering attacks, or simple trolling) to unintentional bugs.

Not that open-source is a magical fix to everything, but it's a vast improvement over closed-source solutions.
I had to install their app to get in line at a local restaurant.

There is no food on this planet that I need to eat so badly that I would allow the Yelp app anywhere near one of my mobile devices.
Some American web sites simply stop EU citizens from accessing their pages from Europe (nevermind that not all European countries are EU countries) "for legal reasons regarding GDPR." So just because an EU citizen can access a web page that is hosted in the USA (or other place in the world), then EU law applies, apparently. I think that is dumb. When you visit the USA, American laws apply. Should be the same for web pages. Just my opinion. Yes, I might be a little salty for not getting to see that American web page because of GDPR legalities lol! Also, it would seem, that simply having a web page in the EU is now a liability. Well, that's one way to define progress I guess... Look, I get that there are some good things about the GDPR, and that computer privacy is important, but this is just getting too excessively authoritarian for me. I guess my biggest gripe with it, is that I never voted for it. Literally. I'm Norwegian. So it was just shoved into my face, and I had no say about it. In fact my country voted against the EU, but yet here we are. Sigh. I got two choices: Accept it or accept it. And bear the consequences if you don't. Double sigh.
It’s also not hard to imagine a situation where developers happily implement it. Developers can get invested in their employer and rationalize their decisions just like anyone else. Management will provide plenty of help in doing so.

I’m sure there are some who say, “this sucks but I can’t afford to say no.” But I bet there are a lot more who say, “cool, this will help us make money.” Developers aren’t uniquely virtuous.
> I had to consider the idea: how would those books have affected me if all characters looked nothing like me?

FWIW: Several of my role models - if you include people who are not alive, people I've only read about - are not white males.

I guess in my case it was more important to relate to their background and their skills (or lack of ;-) than who their parents were, and where they grew up.
Avoiding refined sugars and grains will go a very long way towards this, which is likely a large part of the longer lived combined with modern medicine availability.
That made some faint sense when he said it, though even that is easy to overestimate as many tasks of the day required more skill than Marx probably appreciated, but is gibbering lunacy if you want a 21st century technological society.

Only a few people are honest enough to say they want socialism and would be perfectly happy to live an 18th century life to have it.

Example: You could just pick up and be a farmer tomorrow, right? https://www.youtube.com/watch?v=ywBV6M7VOFU Certainly not at a 21st century farmer level. (Consider your criticisms of that idea carefully, for instance "yeah but those practices aren't sustainable" will just get you "sustainable practices are going to be just as challenging or even more so" in reply, along with the fact it's not really a relevant point; M(r/s). I Decided To Be A Farmer This Week isn't going to come up with breakthrough solutions in sustainability, either, as they will be far too busy.)
She explains it here:

https://www.newyorker.com/magazine/1998/10/05/comment-6543

tldr: It's complicated. But to over-simplify: the Clintons had black friends, seemed to genuinely believe that black people were just as qualified for prestigious/important jobs as anyone else, and Bill Clinton had both a personal background and expressed himself in ways that resonated with many black Americans.

None of that had ever been even a little bit true of an American President before. And it was a big deal.

All of that is easy to forget, now, after we elected an actual black person President. But man, the 1990s were a different time. Lots of things are bad (really, really bad) now. But lots of things have changed in the last 25 years, too.
The take home point here is this:

"But if Tesla ultimately succeeds, it won't be because it's easier to achieve full autonomy without lidar than with it. It will simply be because Tesla began large-scale data collection from cameras long before other carmakers.

In short, the fact that Tesla backed itself into a corner by promising customers full autonomy without lidar doesn't prove that other companies won't find lidar helpful to their own self-driving efforts."

A great summary. The only thing it misses is that lidar is getting more and more like a depth camera. SPADs can sense ambient light and create 2D images that are perfectly correlated to 3D images, making it possible to apply 2D algorithms to 3D data [1].

[1] https://www.ouster.io/blog-posts/2018/8/31/the-camera-is-in-...
Keep in mind early GTA was a different beast, especially in the eyes of the rampantly vocal suburban moms whose understanding of videogames consisted of frogger and tetris, if they were particularly savvy. How should they react when they see their 8 year old beat a policeman and a dozen civilians to death with a three foot purple dildo on the living room tv, then get head in an alley in a stolen car?

It really does seem outrageous on paper, but we know now that M games are no worse than a kid seeing an R rated movie.
> How would one go about finding the right block size?

From our IT guy who figured out the problem......

"If it's 4K native, then a multiple of 4K is a good starting point. If it's not then a multiple of 512 is ok. If it's SMR based then it's more complicated and depends on whether it's host managed or drive managed and the number of conventional PMR zones. The second part of the equation is alignment. If there's a partition table or logical volume mapping, then the partition or logical volume's offset needs to be a multiple of the native geometry otherwise the block size doesn't really matter because everything will be misaligned but it might be possible to use math to figure out a block size that cancels out the misalignment."

Sooooo..... consumers are hopelessly screwed and better hope Dell or Apple got it correct out of the factory.

More info from other IT guys.......

"These days I think parted gets it right most of the time, at least for individual spinning drives. SSDs are a bit weird because they tend to not want to share the erase block size, but I think the recent-gen ones tend to have enough firmware magic that it's OK.
...
parted also has a flag for alignment type (--align optimal) which is supposed to choose an optimal multiple of physical block size."
I'm pretty sure, left to my own devices, my life would be a series of weeks largely focusing on one or two things each. Some of these might last as long as a month or two, for bigger projects. Focused programming for a couple weeks, then a week of working on my house, then a week of garden building & set-up, then a week of working on music, a three-week run of research and writing, and so on.

What sucks is spending 50ish weeks a year doing 40 hours/wk of the same damn thing. I don't hate hard work—I love it—I hate lack of autonomy to choose what to work on, in a very broad sense. Work is nice, jobs are fucking awful.
Assumption would require razing whole city, with costs to all other users, especially pedestrians. So no, it is not going to happen.

Even with new laws requiring buildings to provide underground parking places, it won't be enough.
It's never enough.

The suburbs exist in Greater London area too, just as they do near Warsaw. They have similar style to American ones, but more nearby services and are built in clusters.
That makes them much more accessible to foot traffic.
I didn't refer to absolute anonymity, but to an anonymous design (anybody can register, without an email even). The point is that it's far easier for INS to troll a place with real identities like Facebook. I don't think the NSA's resources are about to be spent on determining the commenter's Vietnamese parents' identities. If parent were threatening a mass shooting, that would be another story. But as they say, technically correct is the best kind of correct, so kudos.
> So-called “functional” programming has no proper mechanism of abstraction since it is based on mathematics (which obviously is inferior and has no applications in the real world apart from academia).

It’s tough to read on after that.

Edit: Okay, I missed the irony that becomes clear later on.
These migrants have to stay somewhere(in a EU country), be fed and taken care of for a long time. Is you or your country willing to do that?
It seems that Frontex does a good job at stopping shaky boats taking dangerous journeys, thus less people die so I'm not sure why this bothers you. Securing the border seems a sensible thing to do especially after the terrorist attacks, however as far as I'm aware once the people reach the border they are treated humanly(i.e not put in cages, separated from children etc).

People who come here for economic benefits should be returned(unless they have skills that can bring a positive contribution).

Everyone is responsible for its own life especially when the risk is known.
They could be. I'd argue the real problem is competition. A person buys their car insurance. The purchaser is the customer, there are lots of competing companies, and prices are good as a result.

In health care typically your employer is the customer. The doctor and/or hospital also are customers. The insurance company is itself a customer.

Unlike - say - car repair you don't get a good estimate up front so it's hard to shop. Many times there aren't many good alternatives anyway. If you don't like a choice one of the actual customers made it doesn't matter because you have no real purchasing power anywhere in the system.
As a long-time customer of both (OneDrive through work and personal, Dropbox for personal)my personal reason for why I haven't consolidated on one is:

- Dropbox "just works" in 99% of my use cases

- OneDrive's synch usually works, but when it doesn't it is because of non-obvious and inconsistent reasons which take time to troubleshoot