skysight-inc/HackerNews huggingface dataset:
It sure is easy moving the goalposts around when you have no grounds to base on. Please, please you have said this much and haven't still even once defined what true functional programming™ is?

> It's unfunctional by definition.

There you go, more self-fulfilling tautologies. And for some magical reason, it's me that are making nonsense claims? How is "higher-order functions make heavy use of closures" a nonsense claim?

I have provided a very clear and direct counter-example that falsifies your core argument. On the other hand, you have provided zero actual rebuttals. In case it isn't clear, calling mine "nonsense, circular and tautological" and yours "by definition" doesn't count as an argument.

> The pseudo-functional style is a preference for how to write programs, and therefore immediately defensible as valid

Is the word style even relevant here? You can call it style, paradigm, or computational model, it doesn't change your point.

> What's not defensible, though, is equivocating on the meaning of "function" while simultaneously trying to lump the pseudo-functional style in with FP.

Ugh, I'm guessing your definition of "function" is a special amorphous one that changes meaning to conveniently support your claims.

> The moment one starts making heavy use of closures and carrying around state is the moment one forfeits the right to be smug about how unclean OO is, given the equivalence of objects and closures and given that one is no longer actually practicing FP.

No, repeating your statements don't make them true. Once again, see my original counter-example with haskell. If you insist in ignoring it, then fine with me. I'm done here.
> The parallels with current political movements are astounding. Fake news, discrediting experts, ignoring protocols, validating xenophobia, using disasters to grab more power - we've seen it all before.

I'm just listening to the "Rise and Fall of the Third Reich" audiobook; a bit dated now (written in the '70s) but also written by someone who was in Germany during the whole time. There are a lot of parallels, but according to him, there are a lot of key differences (caveat -- haven't independently checked these characterizations):

* Germany did not have a strong democratic history; unlike both England and France, which had strong movements towards democracy hundreds of years before, Germany was a functional military dictatorship up until the end of WW I. Hitler could openly say that democracy was a bad idea, and lots of rank-and-file Germans agreed with him.

* Germany had a very strong army that was authoritarian, more or less an independent political entity, and sympathetic to Hitler's aims

* Germany had a very biased judiciary. While leftists were sentenced to death for treason for simply reporting violations of the Versailles Treaty, Hitler ended up spending only 9 months in jail for actually attempting a violent coup. This wasn't just because Hitler was popular or charimatic: loads of nationalists / authoritarian rightists had similarly soft punishments.

The US has a strong cultural affinity for democracy; the military is not, at the moment, sympathetic to a dictatorship; and while according to some reports, some police departments are more sympathetic towards right-wing demonstrators than left-wing demonstrators, the judiciary is not.

In other words, we have a lot more institutions that would need to be subverted before we were in the kind of danger Germany was in the 1920s. Still, better to be aware of the dangers and do what we can to oppose them sooner rather than later.
I’m the city I lived, the street lamps turned on when they sensed someone in the vicinity and turned off again after some time.

So it’s not actually dark where you are and walking, it’s just dark where no one is.
Patterns of Regional Cerebral Blood Flow Correlate with Obesity in Adults
Suggestion for page styling: replace "overflow: scroll" with "overflow: auto" to get rid of unnecessary scrollbars in code blocks. Unless you like them the way they are, of course.
What would the reason for it being open-source anyways? Unless it's in a state for someone else to use it in their own space/context with separate data, etc, then making it open source is just a marketing/promotion tactic with the side-benefit of maybe having your code audited on some level. The rest is just negatives, tbh.
I think they are both close to it. China is more obvious about it, and their iron-fist approach is perhaps a little less scary than the west's "normalise the atrocities" approach. China is a somewhat stagnant regime, perhaps somewhat set in their ways, yet the west comes across as an accelerating regime, becoming scarier faster.

The key difference for me (at least based on my own anecdata from speaking with people from China) is that Chinese people are not blind to the problems within their politics and government. Especially, the youth recognise the oppressive nature of the regime.

In the West, however, there is a subset of people for whom certain populist political figures can do no wrong. These people are happy to tolerate any "eccentricities", and perhaps don't understand what they might be enabling. And, unfortunately, the enablers are not a small minority.

For example, one guy even claimed he could shoot someone on 5th avenue and not lose a single vote; his supporters applauded in agreement.
Is TikTok a Good Buy? It Depends on What’s Included
Are you going to build your own cell towers too?
That's entirely subjective though, after I worked a while on Mac, copy/pasting via Ctrl feels weird for a few minutes (and vice versa).

macOS has a handy setting though where you can reassign the modifier keys which helps to ease the pain when switching between platforms often:

System Preferences => Keyboard, on the Keyboard tab click the "Modifier Keys..." button in the bottom right corner.
It used to be fun, and in smaller communities still is. Even the politics used to be better. Now social media has destroyed the possibility of rational politics.
> It's strangely difficult to get up-to-date information about hospitalisation rates

Here's data for Sweden:

https://experience.arcgis.com/experience/09f821667ce64bf7be6...

Total number of confirmed cases for people in their 40's: 13687. Of those, 282 ended up in the ICU, and 44 ended up dead.

Since the number of actual cases is higher than the confirmed cases, the 2% hospitalization rate the above numbers result in is an upper bound.

And since the number of actual cases is probably at least a magnitude higher than the confirmed cases, the hospitalization rate for people in their 40's is probably somewhere around 0.2%. That's 1-in-500, not 1-in-20.

Note that these numbers completely ignore risk factors. There's also this page with data about risk factors for patients in Sweden: https://www.svt.se/datajournalistik/corona-i-intensivvarden/

Scroll down to "riskgrupper", and you can see that for men between 40 and 59, 22% were diabetic, 31% suffered high blood pressure, and 11% had some kind of chronic lung disease, for example.

So if you don't belong to any of these risk groups, the risk of you suffering long-term health problems from the virus is even lower than 1-in-500.
Hard to see Apple changing this, since the Mac has been using the Command key for shortcuts since 1984. You could even argue that the "standard" you mention of using the Control key actually came along after the Mac!
The Cult of the Tech Genius
The main shortcut to remember is ⌘⇧? (or ⌘⇧/ on some layouts) which focuses Search under Help. It searches through all menu items and pressing down arrow will highlight it and show its shortcut. Pressing enter will execute it, but I prefer to cancel and use the direct shortcut to build up muscle memory.
I'm struggling today as well with this shit:

I just wanna write a few small lines of a shell script which downloads stuff;

It is very very stupid through what loops you hvae to jump to do this with curl and bash script in a good way including readability and error handling.

Is a perl script really better?

Perl 5,6 and 7 did not make it very sane to me, managing and installing and working with perl is also less trivial then having a shell like bash, sh or dash available to you.

Something inbetween bash and go is missing, i like the approach of crush. I think thats the biggest misstake happening in bash: playing around with strings and auto expansion and substition etc. Its weird, its error prone, it doesn't have a proper clean well defined ecosysem.
CRRRRRISC then
It's called Glitterly - glitterly.app

I saw it on a ShowHN the other day and took a mental note to try it so I could give the founder feedback. It was very easy to use, definitely recommended.

Also check out this one (on ShowHN now) if you need something more feature rich: https://storycreatorapp.com
Copy this article into a text editor, search replace "Twitter" for "Reddit" and look at how absurd the whole thing reads.

They're both internet forums with 330M Active users, both have basically the same content and same level of discussion. Think we need to start being more honest about what Twitter actually is and stop pretending it's the real world.
What a brittle and fragile peace. If one country gets a nationalist leader in power, I'll lose access to all their goods because my leader is an idiot. Awesome
Or the US bungled the response leading to massive infection rates.
Blind SQL Injection at Fasteditor.hema.com
Because it's a powerful tool. You are your DNA, literally. And when a company has so many information about people, some other actor will want that information and becomes pricy.

Like instagram. Why did facebook paid 1 billion USD for a company that generated 0 revenue? For the amount of users and information they have.

And to twist a bit your question. Why is it so valuable AND sensible?

Because imagine in 10 years, you get a kid and he wants to get a job, and because you gave your DNA away to some random company, now owned by the biggest employer of your state, they do not hire him. The reason? He has 5% chance of developing a sickness which might drain the medical coverage of said employer.

We would be reduced to numbers and probabilities. Labels attached to our biology.
Why you have locked doors in your house? Maybe it better to help those who are looking for shelter or food instead of spending money on doors, locks, security cams, police, courts, jails, borders, army.
Beneath the Ocean, a World of Mountains
I hear you on switching between Windows/Ubuntu vs. Mac. Especially with Cinnamon which I used at an Alphabet company, the shortcuts were pretty much the same as Windows.

On the Mac, the preference for the Command key is stated explicitly in the human interface guidelines:

• Prefer the Command key as the main modifier key in a keyboard shortcut.

• Prefer the Shift key as a secondary modifier when a shortcut complements another shortcut.

• Use the Option key as a modifier sparingly.

• As much as possible, avoid using the Control key as a modifier.

https://developer.apple.com/design/human-interface-guideline...

We may like or dislike this, but Apple's preference is pretty clear.
I use Spark for Mac to make custom shortcuts. It's a must have for anybody who's aiming for optimal efficiency when in front of their MacBooks ~ https://www.macupdate.com/app/mac/14352/spark
Ask HN: I am desperate to create my own business
I've worked for 5 years as a Software Developer and I just don't wanna do it anymore. I have money saved for investing, and I am an okay developer (I believe I can create software that can serve many people).

What do I do? All of my ideas have failed before. I just wanna work on something that is of my own and that pays the bills. Preferably also have a positive impact on society while doing so. I want freedom.

I still absolutely love learning new technologies and coding.

Thank you very much.
Reflected XSS at Fotoservice.hema.nl
Haha, dB = database. My android keyboard is trolling me :/
AFAIK , tiktok's demographic (teenagers) is no way going to do the same things on facebook . It's probably going to be a new company (Franken-Vine maybe)
That implies the same data still exists, which I don't think is true for many breaches.
This is the best way to use twitter.

You get a clear stream of useful, relevant content. Unfortunately this also gets framed as a "filter bubble".

I want a filter bubble.

The problem in practice is that twitter actively fights you doing this. It tries to pour raw sewage into your nice clean stream and you can't stop it. You see what other people have liked, or what's popular or lots of other things I don't want to see.

At this point in time the biggest value of twitter is it's userbase, it's critical mass, people are on twitter, they're not on mastodon.
Hubble uses Earth as proxy for potentially habitable exoplanets
> HIBP was rendered obsolete ever since Chrome had that feature built-in.

A feature that many developers have to disable because you can't make Chrome ignore certain entries for localhost. For local development I have stuff that spins up a server of, let's say a CMS, and it uses the usual default credential "admin/admin". Yes Chrome, I know that this is an insecure password that has been breached, but this is a freaking development system, leave me alone...

The only way to avoid these messages is to disable the feature globally and that option is hidden deep in the extended settings.
> Snitch tagging: You may come across a conversation where people are discussing someone else and be tempted to reply by tagging the person discussed. This is snitch tagging and it’s frowned upon. [...]

Hearing about 'snitch tagging' for the first time (I have to admit I am not a frequent twitter user). Is it really frowned upon? I know the act of 'talking about someone and not tagging them' is called subtweeting and it is also frowned upon isn't it?

The takeaway for me is to stay away from threads like this.

Also the advice to 'let the third party know about the conversation privately' is interesting. I can see how it may help you evade backslash but from game-theoretical point of view it seems to me to be worse for the 'subtweeters' as it provides them with less information.
Instant Threat Modeling – #05 Voice Biometrics [video]
> you only need to trust the vendor to initially do as they say and not outright lie to you (e.g. by making the checkbox a no-op)

The cloud provider can't lie to you (assuming you know how to check, anyway). There are instructions available to your code to have the CPU perform cryptographic attestation regarding its current state. These instructions can't be emulated because they involve producing a cryptographic signature using a private key embedded in the hardware (which chains back to a root of trust for the hardware vendor).

Basically, you can ask the CPU running your code "are you in confidential mode?" and it will respond in the affirmative with a cryptographic verification that chains back to the hardware vendor. You do this before loading the encryption keys for your super sekrit data store over the network.
I think what Ubuntu wants to differentiate themselves with is their own Canonical stuff, at least on the server side (Charmed k8s, Juju, Snap) however I personally like that their installer is still much friendlier than others. One stupid example that shows to what lenghts they go is that during the server install you can provide a Github username and it will auto-populate authorized_keys to all the public keys in that github account.
Someone once told me that CNO fusion doesn't happen in our star because it is too small. I think he would be happy to be proven wrong.

If the CNO process is allegedly more efficient, does that mean a star with a higher mass might live longer than a smaller one that mainly use proton-proton fusion? Or is it even worse for the lifetime of a star?
https://www.youtube.com/watch?v=yybsSqcB7mE (Harvard Mega-Dish antibiotic experiment)
I still miss my old Nokia E7 phone with qwerty keyboard.
Show HN: Hacker News App iOS
Vue vs. React
What is your favourite framework for tackling frontend web development projects - Vue or React?
Chemists create the brightest-ever fluorescent materials
Yeah that's a good phone.

The thing I like about the Nokia is the chassis is aethetically gorgeous and a single piece of aluminium coated in unobtainium, isn't a mark on it after nearly 2 years.
You are literally asking for someone else to do the hard part of thinking of an idea for you. You can’t expect someone to give their good idea to you so you can make your own company. If you are looking to simply be your own boss become a contractor. There are many resources to help you do that.
> The choice was between Clinton and Trump, there was not really a sane option.

Yeah, that's not true. If you believe the last 4 years would have been the same or worse under Clinton, I don't know what to tell you - you're suffering from Clinton Derangement Syndrome and are utterly disconnected from reality.
Then you still need to upgrade Django.. (had seen so many sprint points spent on it.. :/)
I just published my first Java package on Maven Central via Sonatype OSSRH this week and when you sign up you have to verify your "groupId" (aka your namespace) using either DNS TXT records or with com.github.username where they ask you to create a repository with a given name to prove you control it.

So you could easily publish a package using the com.google namespace on your blog or whatever, but not on Maven Central.
Try using List feature of Twitter. It still is free from Twitter's other crap. Besides, it helps you organize account you follow and doesn't show you any ad (at least this was the case till recently).
> As food for thought... why hasn't Silicon Valley adequately considered a "slow-up" model that combines the traditional survival and sustainable growth focuses with the advantages of massive cash influxes and rapid iteration towards a viable product (even if that means pivoting)?

> I think the answer is clear: venture capitalists want a return, and a large one, before they die. Is a business model optimized for generating returns before investors die really a healthy strategy to have so much capital allocated towards? Especially when these businesses in particular (tech startups) can often have such a large impact on culture and society.

I think the answer is simpler than that: the VC investment model is predicated on jackpot payouts. Anything less than that is a failed bet from their perspective. That mentality permeates the businesses they invest in and pressures them to take risks they otherwise wouldn't, thereby increasing the odds of becoming such a jackpot. Even if the "slow-up" model was a net win for everyone involved, it's not the jackpot the VC was after. And the sheer existence of it being an acceptable outcome would act as a relief valve for that pressure and lower the odds of a jackpot payout for the VC.
>Plug-and-Play Optical Materials from Fluorescent Dyes and Macrocycles

https://www.cell.com/chem/fulltext/S2451-9294(20)30310-7
> This is the problem with a totalitarian state. Laws can be modified at will

Did you forget what TFA is about? It's about the president blanket banning two apps with no warning and no real justification.

> U.S. companies like Google and Facebook have been blocked from operating in China for several years.

That's the point. Facebook and Google decided not to follow thebrelevant censorship laws and are banned, Microsoft did and also turned over source code for security reasons (like the Huawei did in the UK). They aren't banned. Am I talking to a Markov chain? It honestly just seems like you copy pasted some response you had saved up without consideration for context.

EDIT: reply to reply below

TFA stands for The Fucking Article. Your account is 10 years old. There's no way you actually don't know what that stands for.

> Microsoft did and it still is in trouble.

They're "in trouble" after the country they're based in started ordering their companies to stop supplying critical parts/software to whichever random Chinese company the president feels threatened by at the moment.
Sounds harmless to try at home.

Anybody know how to make a 670nm deep red light?

Can an iPhone do it or would you want to buy an LED?
Hahahahaha, India operates according to open market system?

India was well known for silly electronics tariffs, government overregulation and favoritism, and tit for tat retaliation and mercantilism well before the US and China started their economic war.
Ok, I did do that[1].

Still no mention of "Chinese patent number CNyyyyy (being a registration of US patent USyyyy) has been violated by Chinese company XXXX"

Are you sure you guys aren't just making this up?

[1]https://www.theverge.com/tech/2019/3/22/18275884/apple-qualc...
Is the US about to split the internet?
Lots of fish get friendlier marketing names (all the Cods and Basses) Chilean sea bass predates googling.
> The real answer is to encourage and protect our ability to innovate while waiting for China to run out of things to copy.

When did you last visit China? That train has long left the station :-)

Advanced materials research, Aerospace and Chip Fabs are pretty much the only areas where technological areas where I currently see US having a lead
That doesn't really help because it just swaps the keys; it doesn't remap the shortcuts, so most shortcuts are still wrong which ruins flow.
This is nonsensical. Even if China bans American social media apps for no reason, that's no reason for us to copy their authoritarian, speech-suppressing tactics.

That being said, China levies rules on foreign companies that are levied across all companies, and some foreign companies don't want to play by those rules. That's totally different from an outright ban based on "national security." Just think about it, how is Wechat/TikTok supposed to even comply with US demands? It's clearly a political move. Plus, Wechat users in American know they're being watched by the communist party, whereas Facebook users don't even know how much they're being watched by the US government...
> White men have zero power in today's society.

Look around. Who's in charge? It's still white men. It's going to be white men for at least another decade, I reckon.

> They get discriminated against all the time

They really don't.

> You aren't the majority, by the way.

Oh, when it comes to privilege I am and that's why I understand it.
So basically, they want a piece of the cake and their argument is pretty much made up?
While I think there are differences, the similarities are striking enough to be of concern. For example, the deployment of a paramilitary-like force in Portland makes me think back to what I've read about the early days of the SS.

With respect to the biased judiciary, the way the courts are being stacked in the US may well result in something similar. The AG appears to be already fairly biased (compromised?).

Yes, there are differences still, even in the situations I describe above, but the similarities are worrying.
My favorite Mac shortcut is now option-command B, which I connected to an automator app which changes my external monitor brightness. It calls ddcctl which is a command line script which communicates over the displayport connection to control the monitor. This is a huge improvement over the annoying on screen monitor menu!
Trump's set an ultimatum whereby tiktok's American operations will have to be sold to Microsoft or it gets banned.
I just tried this in Firefox and instead of focusing search in the menu bar, it took me to the Firefox help page on mozilla.org.