skysight-inc/HackerNews huggingface dataset:
> I wonder why map() functions this way in Javascript and if any other languages pass additional values like this in their own map() implementations.

Sometimes it's very convenient to be able to look ahead or behind the current element being map()'d to make decisions.
Apple is a net negative in my perspective. They contribute negatively.
> with relatively little pain

have you been paying attention to what's going on? I would not describe it as "relatively little pain"...
https://en.wikipedia.org/wiki/Cascading_failure
I was in exactly this same boat for a long time. I bought maybe a dozen iPhones through the years to upgrade friends and partners from Android just so I could iMessage them.

Turns out, most of iCloud is not e2e encrypted, critically, notes and pictures and contacts and backups. Apple (and by extension, US military intelligence and FBI/DHS) can read your private notes and see your nudes, and review your address book and message history. I knew I was going to need to switch eventually.

* iCloud device backup is on by default. This syncs all of your unencrypted iMessage history to Apple. It also syncs all of your conversation partners’ message histories, from their phones, to Apple. It is not e2e encrypted so it suffers from the Zoom Problem: Apple has the keys and can decrypt it, for themselves or the government via the illegal PRISM program.

* iMessage (despite being e2e) can be arbitrarily wiretapped by injecting a surveillance key because the client trusts the key list from the server blindly, with no UI notifications for the sender on key changes/amendments.

* I can’t run the client on half of my computers

* Signal works on ios/android and has desktop clients for all major platforms... and critically now supports iPads. It also has the nice property of being e2e without implicit trust in the server, although hopefully the TOFU model can be improved.

I switched. I am now signed out of iMessage on all my computers, and it’s great.

If I can do it, anyone can. I was in as far as one can go.
HS senior here. Maybe a little, but it's mostly status/class. It's the twenty-first century equivalent of wearing expensive clothes to school.
... or someone who poked out one of your eyes?

I mean you can't just blindly trust this guy.
Attacking other users like this will get you banned on HN. No more of this, please, regardless of how wrong others are or you feel they are.

https://news.ycombinator.com/newsguidelines.html
My bad, I saw things on fire in the streets and assumed looting. You're correct that doesn't appear to be happening this time.
The interest rate on government bonds is negative or basically negative through most of the world. Stock markets outside of the US have been struggling for a while now. There isn't really anywhere to get any sort of return these days, so the money ends up in the US stock market where it seems to get at least some sort of return.
So people don't use SMS outside the US? I knew WhatsApp was big in other countries, but didn't realize no one even uses SMS not iMessage.

What do people use in Europe?
Postmodernism is a stage of development after modernism not a definable philosophy of life. I would argue that strategies for dealing with uncertainty using statistics would be post modern era science and that sort of analysis is often required to comply with "objective law" which is typically defined subjectively using community standards and judgement. It sounds like what you're refering to is moral relativism.

Modernism used paradox as a concept, ie. one meaning or the other is true but both cannot be, post modern reacts against that allowing for multiple similtaneous meanings. These paradigms are are discovered in different fields at different times.
> If you disagree with this, think to yourself - would you want Trump supporters deciding what you're able to post on Facebook?

I've been thinking about this from a what-if perspective. In this scenario, you could imagine the staff wanting to block all LGBT content especially this month as that would be "dangerous to the standard family values"

This bizzaro FB would be upset that Bernie was spouting socialism and would point to historic examples of socialist dictators as a reason to ban him
I'm amazed to see the organization that invented wifi is still pushing the envelope after suffering so many budget cuts at the hands of the "Liberal" (conservative) government.
I wonder if exercism.io could have been used as well for this type of thing. Even their pitch is very similar to what's on exercism.io

> Learning through Exercism is quite different to other programming websites, with a focus on individual practice and mentor-based learning. Here's how it works. ...
Based on your comment, I assume these are all under the context of full time employment? Do you find the same barriers apply when attempting contracting (including factors others have noted in this thread)?
Yes, we do have herd immunity to the common flu. It's why, for most people with healthy immune systems, the flu is a real annoyance, but nothing more. For those with compromised immune systems, such as AIDs patients, the old, and the very young, the flu can be a disaster. But, once a young child gets the flu a few times, they develop herd immunity so that subsequent infections are less severe.

Once in a while a flu virus learns to trigger the immune system of those with immunity to flu viruses, and then flu pandemics happen, but that is a rare occurence relatively speaking.
I'd like to see someone develop a search engine that was optimized for finding web sites based on categories, such as non-commercial, enthusiast, blog, academic, companies, merchants, etc..

My favorite google flavors are google scholar and google news, which seem to more or less do what they say.

Too many search engines seem to have crowded out the web search function with widgets for ads, local properties, wikipedia, media companies, etc..
I once laser engraved a few hundred digits of pi onto an apple pie for Pi Day, using a 400W CO2 laser in the student machine shop at our research lab [0]. By using higher power at faster scan speeds you can get depth rather than burning. I also once tried slicing slab bacon with it, with the goal of cooking it while cutting. I was pretty sure doing so would win the internet, but I aborted the attempt when it became clear the water content was too high and the grease would make a significant mess.

There's a group in Japan that had done a number of experiments with laser cutters and food, including using computer vision recognition to identify and then only cook the fat in a slice of bacon [1].

[0] https://guavaduck.com/laser-pie/

[1] https://fukuchilab.org/projects/laser-cooking
> practically impossible to reliably detect

I call the opposite, it is extremely easy to detect and track their orbits, a single personal computer can probably track them all and calculate the potential strike point over points in orbits.

Any attempt to deviate from an existing low earth orbit is extremely energy intensive. It also can't strike anywhere - it can be more than 24 hours before its in position over the location it wants to be.
I think the real problem is it's just such a one-sided market in so many places due to market capture by property owners, plus just outright over-representation in lawmaking. If there were a lot more landlords desperate for any renters they can get to avoid going bankrupt on their units, there would be more options for everyone.

As for public housing, there used to be housing projects in the city I live in. The murder rates within those blocks were probably higher than in any country in the world.
You've missed one zero, 1 light-ms = 300km.
If their budget is reduced, the police will choose where to cut services in such a way as to inflict maximum fear in the population, to cause their budget to be restored.

They will, for example, say they cannot investigate the rape of a white woman, supposedly because lack of funds. But they will have plenty of funds to harass poor and non-white people for maybe smoking pot, but mostly for being poor and/or non-white.

We can see it right now, in that they teargas, shoot with rubber bullets, beat and arrest completely peaceful protesters and people just on their own porches but do nothing about looters. It is obvious why: looting makes protestors look bad (especially if news coverage cooperates with the police's narrative), makes people scared and proves that police are necessary.

Of course, the mafia can also provide safety if you obey them and pay them. Might even be a better deal for some populations than the current police.

If you want police that work for the population and are not an occupation force extracting tribute through use of force, you need to do more than reduce their budget. You need to punish the offenders (jail, not layoffs) and replace the people in charge (their union bosses and informal leaders, not just the nominal chief of police who might have little actual power).
Do they need to re-enter? Could they not be directed out into the void?
The language has finally achieved "meh" status if you can use only the latest version and ignore at least half of it completely. This may or many not still make it very bad or entirely fine depending on one's perspective.
"If riots aren't covered" the clause won't be in any contract to begin with.
Hey, thanks for sharing these! I will definitely check them out. And yes, zsh is the default shell on Catalina, although bash and other common ones are available and easy to switch to.
GDP is not an absolute measure.
I understand that Trump is a bit of a special case, but I find it kind of worrying that getting in trouble on one platform can consequences on a platform owned by a different company entirely. Especially when you consider some companies don't put much work into preventing accidental bans.[0]

[0] https://9to5google.com/2019/11/09/google-account-bans-youtube-emote-spam-markiplier/
We're barely 3 months into this and your calling it a failure? could it be done better: yes, it is failure? no.
"no arguing", "can not argue" Yes, you very much can, and we'll see in a few years what the "correct" choice was.
Hey here's one question that usually starts interesting discussion. You can probably add it to your list:

- What would you do if you did not have to work for money?
Those are all easier to face problems with even smaller markets and worse logistics. Do they have an underground refinery they take it to with 100 ft. tall fractional distillation towers, etc? Most things that people want are legal because most people want them - law is defined by community standards. There aren't many things besides drugs. They would have to start smuggling medicine or other things that people actually want to replace recreational drugs.
The mentor feature is basically useless, there are way too many people using Exercism for mentors to be able to contact each and every one of them. Your best bet is to just do the exercises themselves and search for any errors.
Do you mean software security issue one could exploit given physical access (which sounds a much minor issue than hardware obsolescence in this world of overproduction and waste) or risk of physical harm due to, say, fire hazard or similar?
We always get immunity to each flu, or we'd all be dead.

So we will get herd immunity to COVID-19, or all be dead. And that hasn't happened in the last million years.

There is no vaccine yet, so the only sure thing is herd immunity. The US is especially vulnerable because we have so many patients in so many locations - testing and tracing isn't going to work in the US. The horse left the barn on that one.
I use the term "holographic" for a reason. The HUD appears to be projected at a distance of, say, 20-30', and is positioned low on the windshield so that it essentially overlays on the road. You do not need to refocus your eyes on the windshield. Focusing on the road also focuses on the HUD projection.
Yes, I realize that the phrase "difficult to imagine" is fun to pounce on. There's a big difference between "flight" and "general intelligence"; namely that the former is like Justice Potter Stewart's definition of pornography and the latter is... not.

Anyways, maybe what I'm suggesting is that if you can point to something and say "that is a (artificial?) general intelligence", then I suspect you will also feel compelled to say "that is (artificial?) life".

Definitely wandering off into the weeds here, but why not: I see evolution as a computational problem. In its most primitive, there is no computer, but any specific problem can still be solved with luck and memory. If you have a structure that recognizes a solution, then you just wait until you randomly bump into it. The challenges of evolution in a given environment are specific to that environment, and thus memory without a computer can go a really, really long way.

If human intelligence is general intelligence, it is still the logical progression of this chain of memory and (later on) compute operations. I can reason about the abstraction of general intelligence, but it feels like any concrete general intelligence will proceed through essentially the same steps. The general intelligence must reside in a concrete existence, and whatever form this takes I feel very strongly that it will be recognizable as what we call "life".
Your argument fails when you consider Whatsapp - the biggest messaging platform, where you need to add people's number in your contact to be able to see their names.

I agree with power of defaults though. Only reason iMessage took off, and so did other Apple services.
"We are just human beings temporarily living in this world." I just don't get it why people are still ignorance to the logic of life. can't they see that we are all just equal no matter where we are, what we are? how close minded are some people? It's just sad.
Good linter will warn you that you are using parseInt without second parameter.
Would this happen IF we had free guns for the populace who want them who pass background/mental evals (make owning a gun a right for all).

Then we democratize gun ownership. Next we create UBI so nobody has to steal to put food on the table, and guarantee jobs for anyone who wants one, and healthcare for all.

you end the poverty and almost-poverty and you stop a lot of the reasons behind WHY people loot when there's an opportunity to do so.
Na I don't think any tech can replace face to face interaction.
A Founder’s Reflection on Lack of Diversity
Some helpful tips and actions start-ups can take now to take a stand and improve diversity.
What you are describing is the London Metropolitan Police which are regarded as one of the worlds best managed police forces, where the average bobby are unarmed and where the code of conduct focus on public service.

It;s also worth noting that when the UK faced a similar problem with an undiverse militarized police force in northern Ireland they did this https://cain.ulster.ac.uk/issues/police/patten/recommend.htm and launched a bunch of investigation(the Stevens enquiries) into past crimes of the Royal Ulster Constabulary.

The problem in America blocking any meaningful solutions to genuine problems is the collective denial the American middle class have towards past sins and current systematic problems with the American way not that it's a new problem that have never been solved before.
I just copied and pasted an example, I didn't write it myself. It's true that order of letters do matter more as words get longer. The point is that we don't really read letters. We read words.

So I would even argue that written English is basically like Chinese since in both cases you have to recognize the word/character and memorize its pronunciation and meaning. In both scripts you get hints of pronunciation, but in both cases you kind of have to do a lot of memorizing. In the case of English it's because it has no consistent rules or predictability. But then the words aren't really logographic, so I guess we're stuck with the worst of both worlds. No meaning, and very unreliable pronunciation hints.
In relative metrics, the US is still worse off by an order of magnitude. :(
Deno is on my list of tools to play with. It's sandboxing capabilities are the main selling point for me because it will allow executing semi-trusted/un-trusted code on private data sets. If I know that the code can't access the network or do anything fancy with the file system then I can treat the untrusted code as a pure function and know that the output will only depend on the input. This is a very desirable property and I'm looking forward to the type of code and data sharing it will enable.
https://pubmed.ncbi.nlm.nih.gov/28486114/
Or get a gyro ball and avoid the wrist problems altogether.
I read something different from that same graph. Assuming the French lockdown does not get rid of the virus/sickness completely, the "cases" line shows the speed at which the virus burns through the population. Sweden will have gone through its population long before France has, and will France be able to keep functioning under strict lockdown for all those months? Or even years, at the present rate?

Assuming we'll all contract COVID-19 anyway, eventually, it makes little sense to adopt strong restrictive measures on personal liberty to slow the spread down to a crawl. Sure, you have to impose some restrictions in order not to overload hospitals and whatnot, but anything beyond that is just extending the suffering (both making living harder and ensuring it will go on for a longer duration), is it not?
If M is the set of all imessage users and S is "has received a blue dot spam message", then:

gkoberger said:

∃m∈M ¬S(m)

then mmlgr said pardon me, but:

∃m∈M S(m)

and then you were like:

∃m∈M S(m)≡¬∃m∈M ¬S(m)

but I've got to tell you:

∃m∈M S(m)≡¬∀m∈M ¬S(m)

∃m∈M ¬S(m)≡¬∀m∈M S(m)

∃m∈M S(m)≢∀m∈M S(m)
It will be painfully obvious within the decade that this is exactly what's happening right now. Corporations are AI optimizing a single metric. They only use humans so much as they need them to improve the metric. As they get better, automation improves and humans are needed less and less. There's a reason so many feel like cogs in a machine.
You can inline the JS to achieve this. ublock will allow you to prevent inline JS execution but NoScript didn't last I checked
Try airing a show called Happy Nazi Fun Time on public access. See how that works.
I love this interview. It seems to say that police are being too violent because their role is to be violent and that their role has been stretched to handle too many situations.

While saying we should shrink the police departments, the author seems to say we should do it to help the cops who are being overburdened with things they shouldn’t be asked to do.

I like the approach because it’s not saying cops are bad, but rather seems to say their behaviors are hurting people and they may be hurting as well and proposes solutions that may help everyone.

Really grateful I read this tonight.
Yes that's it, thanks!
I have been using vim for about 2 decades so I can empathise with not having the familiar key bindings and speed of moving around.

A good Smalltalk environment does let a developer navigate the image [1]. On many systems that means it allows you to poke at everything about that Smalltalk system, not just your own code, but 3rd party libraries, as well as the Smalltalk system itself, including what we normally consider the text editor or IDE.

It's true that you lose access to vim [2], but you trade that it for the image as well as wonderful code browsing capability in the sense of looking up a type definition, senders and implementors of a message, stepping into any code, live debugging and editing during debugging, etc.

So Smalltalk is a tradeoff. If one can give up vi and work with the paradigm, it is really really great. [3]

[1] The Smalltalk image is a wonderful and beautiful concept. There is one glaring downside to it for most Smalltalk systems. It creates a divide between the image and the rest of the world.
[2] Since you can redefine how any code in the image work, it's possible to define a few shortcuts so you get a very limited set vim functionality, but it's not feasible to reproduce the vi environment (even if we want to invest the effort) because the paradigms are different.
[3] One can say that's generally true for everything. "Once you can accept X, you get Y", but the argument is that Smalltalk is really great once a developer does that.
guess there's a lot more hot air to work with
1 death is a tragedy, thousands of deaths is statistics.

That "3 hours" mean that you're likely to loose one of the relatives or friends who are in high risk group. Suddenly a month of lockdown is worth to give your loved ones years or even decades.
"If I want to be taken seriously?" Was that bit of petty oneupmanship really necessary? I assure you, Alex, I'm completely unconcerned with whether you take me seriously.

You were probably just trying to show off. But in case you weren't, here's how JS works.

In JavaScript, if you're passing in a function as a parameter, the normal way is to use an arrow function. Like this: `array.map((element) => yourFunction(element));`. This gives you explicit control over which parameters are passed in to your function and how.

As a shortcut, you can provide a function name rather than an arrow function. If you do so, you're saying that you want all parameters to be passed to that function. You're expected to know what those parameters are and how the function you're passing in will use them. If you don't know that, well, you're programming blind and bad things will sometimes happen. Maybe don't do that.

As with many things in JavaScript, it's better to be explicit than rely on the shortcut.

Edit: Just to be clear, here's the correct way to map an array of strings to an array of numbers in JavaScript: `array.map((s) => parseInt(s, 10));`
Honestly this seems like a feature of the social circles involved. I can't really imagine being, or even wanting to be, around people who are so shallow they won't have someone in a group because they can't change the chat name, or at least, people who wouldn't be willing to move to other types of software to accomodate people in the group. It seems like basic human decency that when someone in the group says "I can't xyz" you go "ok what can we do instead?". I'm not sure I can imagine caring so little about other people, and I definitely do not want to be around people who don't.
> that the same amount of people would die regardless

Maybe "be infected", not "die"?

Otherwise there's little reason to flatten the curve (meant to allow for better treatment).
Tobacco companies. Humans can be enticed by short team pleasing at the expense of their long term destruction.
https://www.statista.com/statistics/585152/people-shot-to-de...

I don't know if this includes deaths by things like choking or beating.

If this is correct, death by cop is actually pretty rare. Not bitten by shark rare, but maybe in the magnitude of fatally falling off a ladder rare.

Which of course isn't to say harassment or abuse by cop is also rare. Nor to say there isn't racial disparity because the chart clearly shows there is.
> I still can't tell what their plan was

If they win (seems unlikely?) they expand fair use. If they are destroyed, then they become a poster child for the excesses of $150K statutory damages.
Oh, that's what you meant... Ok, maybe. I think "intelligence" is a lot easier to draw a definitive box around than "life", though; life is more one of those things that I know it when I see it, whereas intelligence can persuade me all on its own.
how is inflicting debt different from looting? And are you suggesting China has a positive track record on environmental issues?