skysight-inc/HackerNews huggingface dataset:
The issue doesn't arise because of parseInt() being able to take more than one argument, the issue is that map() is passing not only the value in the array but also its index as well as a copy of the full array.

I use map() all the time but I didn't know about that until I read this article. I wonder why map() functions this way in Javascript and if any other languages pass additional values like this in their own map() implementations.

I do think GP has a fair point of criticism - at least when I use map() I expect it to take each value in the array and pass it to the callback function. I don't expect it to take each value in the array, the index of that value and the entire array and pass all of that to the callback function instead.
Thanks for the good information! I hadn't read up on Qualified Immunity.

It always seems hopeless though when my prejudiced neighbors think the protestors are wrong and should be shot. These prejudiced people can be police, lawyers, and judges. Even outside the justice system they clearly perpetuate systemic issues.
If you want to understand the differences and similarities between Go and Java in any meaningful way, you've got to discuss something more than the vague idea of a virtual machine. That's all I'm really saying.

Here it seems specifically like OP wanted to say that they find ahead of time statically linked with cross compilation to be a more convenient model of code compilation and distribution.

With that in mind, we're now better equipped to compare and contrast, and discus the pros/cons.

When we restricted ourselves to VM vs non-VM, I didn't feel like we were in this meaningful zone.

And from that angle for example, we can see that Java offers ahead of time compilation, which can be statically linked as well if one wants too. One example is GraalVM native image. There were also some options before GraalVM that I think were all commercial. That said, I've yet to see a cross-compilation offering.

The JIT approach has benefits as well, the user doesn't need to select the appropriate package for their OS. The runtime distribution is shared between all apps that uses it. It's easier to offer debugging/profiling/measuring capabilities of the running application. The user can tweak certain parameters of the runtime or even choose an alternative runtime implementation. If runtime has any known security vulnerability, the user can upgrade it to a new secure version, without waiting for a new update of the app. Better peek performance of hot code paths can in theory be achieved. Just to name a few.

Another difference is Go has no intermediate representation. While Rust, C# and Java for example do. This intermediate representation is quite useful in allowing multiple languages to reuse the Java bytecode runtime. That's not as simple in Go, since Go is a harder target for compilation.

Etc.
do permissions in deno propagate to all dependencies recursively? like, if i grant filesystem access to a top-level script, did all its imports just inherit that permission, too?

if so, i can see this type of system being mostly worthless.
There's more variance with small-time landlords. With a corporate overlord you know exactly what you're getting: they are going to be firm about sticking you to the exact terms of your lease and will raise your rent by the maximum possible each year, but you can also expect any maintenance issues to be taken care of quickly and they aren't going to feud with or retaliate against you. With a mom & pop you might get someone really nice who never raises your rent, understands if you're a couple days late, and takes pretty good care of the place; but you might also get someone who is completely unresponsive, violates a bunch of tenant laws figuring you don't have the resources to call them on it, and nickle & dimes you on your deposit.
No, WhatsApp does not bring the same features. WhatsApp is very different. You can react to messages in iMessage, which is just one among other features WhatsApp doesn’t have.
How much of this coordinated FUDDing of HCQ was knee-jerk because Trump touted it, and how much of it was because progressives (the rich ones, especially) wanted a higher death toll, longer lockdowns, and more overall suffering to blame on Trump?

If they willingly buried a viable, cheap, unpatented, easy to produce therapy, then they have blood on their hands.
I started doing the above at a job where IT warned me that they could and would nuke my hard drive 'if needed' so anything not on the backed up network drive could just up and go away. It's nice because you can just copy the whole thing over to another computer.
but they do.

the 'problem' is that there are a dozen shoe factories, sorry, linux distributors, each with their own idea of what is home and professional.
I think the best reason is explained in https://news.ycombinator.com/item?id=23412067 - ie. how most social circles will exclude Android users. I imagine this is only be the case when only one or two people of the group are using Android though, so if even a few people in the friend group are in that situation you might see more WhatsApp/FB Messenger.
Did you read the article?

> “Well, I'm certainly not talking about any kind of scenario where tomorrow someone just flips a switch and there are no police. What I'm talking about is the systematic questioning of the specific roles that police currently undertake, and attempting to develop evidence-based alternatives so that we can dial back our reliance on them.”

Vitale offers a nuanced perspective, and your response is a barely-related strawman.
People working for the government should only be allowed to either have some certificates or nothing at all.
Countries ask their youth to die for them and they can't just ask people with knowledge that makes trading unfair to just restrict to "bad" options while they hold secrets.

Not that it matters anyways as they probably still take advantage of things through other people. I'd be pretty good to have a way to really prevent that as this is a problem probably in every country.
For that business it might not be a good formula but public education seems to be the biggest thing missing. I've talked with employees who could very very easily run the show themselves if they simply got organized and made a [much smaller] bid on the contract their employer was bidding on. They also know their managers share in the huge profits, drink coffee all day and never show their face(!) If the people doing the work ask for anything there will be a huge deliberate delay or it won't be done as a reminder not to ask for things. Do it again and you will get punished. They are on a first name basis with employees working far away because of the sheer amount of improvisation. If you need widgets you will have to get them from someone.

The employees all know they could run the business but they cant picture themselves doing it. Their arguments are "It's to complicated" but struggle and fail to explain how. It might still not be a good idea but that they draw a blank is the ultimate hurdle for now.
> That's like saying television networks are required to give you a show for your free speech

Wasn't that the idea of Public Access Television?
If your snark needs another snarky reply, it would be this:

“Looks like you have never used Telegram.”

This game can go on and on, but WhatsApp is nowhere close to being the best messaging app feature wise.
I agree it's fine, and needs to happen. Let's not pretend that it enforces any accountability on the officers involved in this suit. (Which is what the quote says. As interpret it, anyway.) It's just a tiny part of what needs to happen.
Just out of curiosity, what keeps you from speaking out (besides a strong feeling of group think).

Have you actually experienced firings / ostracism from people at the company? While I do feel like your points would be contrarian (and may get shouted at), I'm wondering what the actual repercussions would be.

Most of what I've seen (in regards to dissenters) have been relatively spirited debates and strong digital dissension but no strong tangible effects.

I'm asking this in good faith as someone who sits on the other side of the fence on this issue (though like with most things am not 100% assured of my decision).
Is the goal to have this also work for electron executables?
They are still responsible, as far as our laws are concerned. The government derives its power from the people, and one of those powers is the power to tax.

Not every tyrannical decision is made by the majority, and not every majority decision is tyrannical.

We make collective decisions, and we live with the consequences. Every election presents us with such a decision. Moreover, voting is not the limit. If you truly believe a particular candidate is bad, you are free to share your ideas, donate to his opponent, or perhaps even run against him yourself.
For niche markets this does happen, and for mass consumer markets the economy of scale comes into play, as the local market is so much smaller than the global market, or the English market, or even the local market of California (I mean, the state of California is economically larger than many countries, and doubly so for the premium market targeted at wealth individuals) that the local adjustments aren't sufficient to outcompete the much larger investment available due to a larger market. But for the larger markets this definitely does happen.
You had me with the FDSA example, but I wonder if that's because I'm also already biased towards Dvorak. Been typing with it since 2016 and loving it so far. Even "ls -l" doesn't bother me anymore - makes me wonder if QWERTY typists have under-developed pinky coordination.
> Can't they?

For every single grocery store in the world to starve the population of people who do not vote for decreasing their taxes?

No, I am pretty sure that society would do something about that, if this happened.
> This site requires JavaScript to run correctly. Please turn on JavaScript or unblock scripts

FYI, I read the whole article without JS fine, thanks for making the site work without it even if it says it doesn't.
Presumably this "oil smuggling" (couldn't it simply have been buying and selling?) took place before the current steep drop in the price of oil...
If it’s of any solace, SMS is not reliable anywhere in the world. It may seem reliable sometimes in some places, but that’s mostly a facade.
Props to the author for ditching Google. I just want to point out that there are a LOT of non-Google analytics options out there; leaving Google Analytics really isn’t too hard if you’re willing to take the leap.

Plug: those who want a modern client-side analytics tool that’s free, self hosted, and open source might consider Shynet [0]. (Disclosure: I maintain it.) It’s a bit simpler/cleaner than Matomo, but exists in the same category.

[0] https://github.com/milesmcc/shynet
Bank may not be an US entity is what it appears. Also the bank is supposed to do due diligence. Careful reading of the judgement, indicate that none of the liabilities from the transaction are possibly active, ie, all payments have been made and the matter closed, with no issue of defaults, etc. The question being considered is the 'risk of reputational damage to the bank', which does it sound like a criminal matter?
I'm cheap so I have multiple small SSDs rather than a single 8TB+ one. The OS lives on an NVMe SSD which has not much else on it. Largely because my "home" directory is actually a toilet where every misbehaving application dumps piles of "special stuff", so 500GB of SSD gets filled up fairly regularly.

I have a 2TB disk of mostly music, which is mostly FLAC. Music is in classical/vocal/pop folders then artist/album subfolders except that classical is mostly composer/album. A scary amount of that is stuff I have ripped+scanned myself, because even the modern artists so often give me the choice between stupid plastic trinkets or compressed garbage. Buying 320kbits mp3 and discovering that it sounds upsampled from 128kbits is a mistake you only want to make once.

I have a 2TB "work" disk with virtual machine images, code repos, whatever it is that piles up when I work. And that disk is a bit full. It's mostly organised by employer/project, then yyyy-mm within project folders if necessary.

I have a 2TB disk called "stuff" with photos, documents, ebooks, calibre library (yes, I store them twice. Ebooks are small and Calibre has lost the plot before), software installers I've paid for or that I think might vanish, personal websites, all that stuff. Most are in relevant folders then for docs and photos there are dated subfolders. Sometimes those are in year folders because at times I've take an awful lot of photos (photos/2009 has ~800 subfolders). There is also docs/tax/{year} for obvious reasons, which have everything from photos of receipts to hours-worked spreadsheets.

It's all backed up onto legacy disks with one copy in the office I used to work in (still my employer, but covid) and one in the shed. A couple of those disks have working files and original RAW files for the photos as well, but that's a 6TB disk by itself.
There are no server logs on GitHub pages, Netlify, etc.

Analysing server logs also makes it harder to filter bots, and won't include some useful metrics like screen size.
What you’ve said has nothing to do with languages. Claiming X devs are better than Y devs is just your bias. Other languages can be more domain specific, have more frictions around using package management, and have less nr of developers.
> It’s true, but GA also does a pretty good job at filtering out bot traffic for example

Surely you jest. I had to quit using GA because the tech behemoth with all it's tens of thousands of software and algo experts couldn't figure out how to filter out referrer spam from their analytics.

Such a simple problem you'd think they'd solve it in a day. I gave them 2yrs and they still couldn't solve that problem so I left.
It's a demand for accountants, lawyers, and law enforcement that focuses on egregious offenders and systemic injustice, eliminating the root causes of crime. Not tear gas and tanks.

You were speaking about crime in the 70s and 80s. That probably has a lot to do with the War on Drugs [0] (have we won yet?), brought to you by the same administration who gave us Iran-Contra [1], which largely introduced the US (LA specifically) to crack cocaine [2]. I believe every single person involved with that scandal was pardoned. Oliver North even had his own show on Fox News and became president of the NRA!

[0] https://en.wikipedia.org/wiki/War_on_drugs

[1] https://en.wikipedia.org/wiki/Reagan_administration_scandals

[2] https://en.wikipedia.org/wiki/War_on_drugs#CIA_and_Contra_co...
GoAccess reads metrics of a server you have access to. So if you are distributing from a CDN or for instance GitHub or some other hosted solution, then you have no logs to read from.

Also usage of javascript doesn't make one page non-static. Static is usually referred to a page that is rendered in full before a request comes in so the content does really change based on the request. More simply, content doesn't change dynamically based on the request. Having javascript to generate metrics doesn't make the page dynamic.
I'm pretty sure they could afford the name, if they really wanted it that much.
It would be worth more if there were more accessible consequences for police officers and departments who violate it.
Do you think tear gassing groups of peaceful protesters, as we're seeing as a daily occurrence in videos from protests across the U.S., is effective in preventing looting?
> You haven't armed the populace, you haven't set up civilian watches

Isn't that reinventing the police, just with a different name?
@michaelmrose 'In my experience most people serve their own interests'. yes, and that includes renters...
Yeah I mean there will little tiny things different on each app, but it's not a big deal breaker for many. Whatsapp is the biggest IM on the planet for a reason. People could easily ditch iMessage in favour of Whatsapp if they wanted to, but for some reason Americans don't do that.
I've seen a lot of shady insurance practices of trying to get out of paying claims, but that "pandemic insurance won't pay for coronavirus because sars-covid2 is not specifically mentioned in the policy" takes the cake. The policy actually specifically says that it covers "flu and sars and other types of coronaviruses".

The fact that they are trying to waste people's time and money to litigate that out where they most certainly will not win is just unconscionable.
The tyranny Athens imposed on others it finally imposed on itself. -- Thucydides
A few things here immediately reminded me of an article I recently read about how, regardless of whether or not SARS-CoV-2 was "created" in a lab, the knowledge and tools for such genetic engineering have reached the point where it would have been no great feat to do so.

> Progress is driven by peak knowledge, not average knowledge.

The cutting-edge researchers are already building on their work from two years ago, and in many cases that work has not even been fully digested by other leading figures in the field, much less industry commentators or science journalists. Anyone who is moving the needle of peak knowledge in modern applied sciences is by definition an outlier, and it will take everyone else a while to figure out what they actually accomplished.

> The future uses different tools, and can therefore easily do things that are very hard now, or do with difficulty things that are impossible now.

The second point seems extremely salient for genetic engineering. From what I have read, processes that required the full resources and expertise of a cutting-edge lab 10 years ago can now be performed by grad student technicians in a few hours with kits manufactured by biotech startups.
For those who also want to subscribe by RSS, here's the URL:

https://hnblogs.substack.com/feed
Save your pitch for someone with a weaker filter for nonsense.
to give an example of where that difference between hamburg and munich could come into play:

munic can not decide to put linux into its schools, because as a decision that would have to happen at the state level, that is bavaria.

but hamburg can.
so if the hamburg transition is successful, that may translate into more Free Software in schools, which will be a model for the other german states.
Doesn't seem to limit them?

Using something like Caja https://developers.google.com/caja/docs/about might work, using object capabilities rather than ambient privileges. Not sure if Deno helps at all there though.
Amid pandemic, investors bet on India's Jio and its giant-killer playbook
I thought the state theory of hypnosis was disproven. How does the brain state you describe differ from the beginning stages of sleep?
Ah, makes sense. I didn’t factor in the possibility that a small landlord might not raise rents (though I assume it’s less of a factor in SF given rent control).

I move around a lot so rents getting raised aren’t as important to me.
> SMS spam

That's just SMS though - unless you mean blue bubbles being spam. I haven't received any of those, but if you do there's always a "report spam" link at the top of the conversation for senders you've never seen before.
When you have a 'bully pulpit' as powerful and far reaching as Facebook now provides to the president then it is totally reasonable to want to hold them accountable (given you disagree with their stance).

I don't exactly understand what is objectionable about protesting the decision making of corporate entities given the immense power they hold?

This is like saying you shouldn't boycott BP for their oil spill, you should just complain to your congressperson. I don't understand why you can't complain on both fronts?
Here's the actual paper which has a lot more information including possibilities for improving the process. https://www.cell.com/cell-reports-physical-science/fulltext/...
Absolutely have been saying this for years. It’s ridiculous for iMessage to be a walled garden. How would it be if emails from iPhone could only go to other iPhones? Yet shrink the email and put a blue bubble around it and that’s just fine.
Interesting. What happened next? Did they survive with no police, or did they rebuild it from the ground up?
Does the title comply with HN rules?

BTW to use an artificial language to understand real life is like asking a Catholic priest for marriage advice.
BBM was released on Android and IOS in 2014 (six years ago), but it never caught on. It's still around in the enterprise space, but barely.

And the company name was never sold to a different manufacturer. BlackBerry allowed TCL and an India-based company (I can't remember the name) to sell BlackBerry-branded phones running BlackBerry software, but that's all.
I worked on a library to do this for my own analytics thing[1]; adding a CLI so you can filter bots from logfiles isn't too hard: just need to parse the log lines to a http.Request{} with the correct fields filled in (mostly User-Agent, but also looks at IP address).

One of the signals is from various JS properties though (navigator.webdriver, window._phantom), so you'll miss out on that. I have some other ideas as well.

Either way, it's better than nothing?

https://github.com/zgoat/isbot
If you're interested in our science, here's the RCT our app is based on: https://onlinelibrary.wiley.com/doi/10.1111/apt.13706
How to Build an Aspirational Product
Yes... it would actually be quiet amazing to have different libraries in different sandboxes with defined communication channels.

The browser actually does something quite a bit like this with iframes. Iframes are sandboxed and can only communicate through postMessage. There's more to it but at a simple level it looks like this.

Chrome nowadays even runs iframes in a separate process! Finally... https://www.chromium.org/developers/design-documents/oop-ifr...

This is actually quite impressive because it presents a decent illusion to JS that all frames are running under the same thread.
It's not going to fit in a twitter thread, for sure, but I didn't find it hard to read and parse, even with the short attention span I have these days.

I think the author is just writing in a frame of mind where he has dealt with a lot of people arguing with him, and he feels the need to stem the tide of common counterarguments to each point he makes before he moves to his next point. To me, that's actually less distracting then when an author ignores an important counterargument and leaves it unaddressed while continuing their point.
Nobody seems to mention Signal, which does offer sms fallback, at least on Android (don't really know on iOS).
For example our content on HN (although a portion of them are advertisement, not that that hard sales.)
How bullshit insane our brains are: sensory and motor systems edition. (2018)
Tom Clancy mentioned it in "Red Storm Rising"! No one believed then.

It may not have been a very debugged capability, but neither were Soviet AWACS. To this day, A50s are hardly too useful, and in the Soviet times, they were a joke.
My mid-30s colleague went back to Tinder in recent years and he mentioned he got questioned by his target market about not having a blue bubble. They were all Asian (but mostly Chinese) women in their late 20s who moved to Australia.
You don't need a fire alarm for something that doesn't exist and is complete science fiction at this point. We would be better off building asteroid defences as long as we are talking about far-fetched threats to humanity.
Zemmelweis is a physician and scientist, not a politician with zero background in science.