skysight-inc/HackerNews huggingface dataset:
Bureaucratic inertia. I've been hoping for years that it'll be certified. They've talked about Curve25519 and Curve448 for a while but no movement so far. My insider sources tell me there's opposition, but I have no clue why... either the NSA prefers weaker crypto or (more likely) industry wants the status quo because they fear competition from open source superior products like WireGuard among many others.
I don't understand how or why. What's the "parsing stage"? You have an associative array, a key, a value, and a function to associate the k, v pair to the array. You're moving from

let m' = (k, v) : m

to

let m' = insert k v m

What there would make the code "nowhere near as elegant"?
In the world of database backed web apps a related pattern is asking the database for some rows for a table, and then asking the database from some more rows, based on each row you just got. Rather than joining it together into one query.

Makes it into production but falls down eventually!
Except that with a prompt for a specific API, you can get specific on when it's appropriate. E.g.

"This website has asked for permission to use the Audio API. If they aren't actively doing audio processing, this may be an attempt to identify and track you. If you haven't been presented by the site with a good reason why to allow this access, and it's not immediately obvious (such as for a music service), consider whether you want them to have access."

This accomplishes a few things. First, it's very clear about the implications and when it's obvious it should be allowed. Second, it gently suggests the default behavior for people should be to deny unless needed. Thirdly, it communicates to sites (through users the appropriate way to ask for permissions if hey have a legitimate reason, which is to let users know why they need access. Lastly, if sites lie to users about why they need access, they can be called out on that. People don't like being lied to.
On iOS it's still a userspace client, as I understand it, and the additional battery drain was very noticeable for me.
once you start noticing these things, confirmation bias kicks in and you can never stop noticing them. it's important to be aware of the Chinese robber fallacy (https://slatestarcodex.com/2015/09/16/cardiologists-and-chin...)

in an era where news is constant and instantaneously accessible, it's easy to find an almost limitless source of examples to support basically any narrative - and humans have a tendency to prefer narratives in which their ingroup is the victim. the plural of anecdote often turns out to be a victim complex. I think it's important to try to avoid this tendency. Those who are truly intellectually honest know that there's no battle between the evil aggressors and the blameless victims, there's a bunch of shitty people and nice people doing nice things and shitty things and mostly responding to local incentives.
Ohhhh... damn. Obviously :)
The Runaway Train of Cognitive Enhancement
> They have derived gravity through quantum mechanics?

Sort of! The problem is that the solutions of the existing quantum field theories are not renormalizable so infinities arise in the solutions. The whole point of quantum gravity is to find realizable solutions.
Not a physicist by any means, but from the article it talks about gravity in the context of the graviton (as one plausible solution to the problem mentioned). Which is still hypothetical, so it's not like they've proven gravity from first principle or anything.
Wikipedia regularly misrepresents the intended use of donation funds when asking for money. They should be upfront that they are looking to keep it running for so long with such and such strategy.
as a developer, the use of `repo` in the title confused me for a bit
Yeah, I definitely sense some saltiness in the parent comment. While he is right that it is totally possible to encounter such a workplace, i would argue that if you control for the gender disparity in the workplace, it becomes just as likely to encounter such a situation, but with genders switched. And even then, neither of those two scenarios are more likely than just straight up a regular workplace where a boss straight up doesn’t care about your gender and promotes based on the usual “business impact, performance, team impact” metrics.

I realize this is just an anecdote, but my previous team was over 50% women (the boss was a female as well), while my current team is much more male dominated, and i have noticed pretty much zero differences when it comes to promotions and the breakdown of those when it comes to gender. Talking about my old team, it had the typical subgroups, like high performers who got promoted fast, slightly slower performers, people who were temporarily in a performance rut (who eventually got out of it), etc. And I observed no anomalies in gender disparities between all those groups, as they were pretty gender balanced and (imo) very fair, given my knowledge.
But I don't want israel to be safer.
wouldn't that be stealing by defintion though?

Get something for nothing.
What about privacy? Will this extension send a query to a server, identifying each video opened on YouTube?
> Imagine the pandemonium and social unrest that would happen if we wiped out half of the economy that produces weaponry.

Take look no further than what has happened to USSR. Double digit of USSR economy was military economy, with most of it being so irrational, unreasonable and wasteful that it would've made F35 program a model of prudence and cadence in comparison.

In my hometown we have a patrol boat that did cost the exchequer 160 million Union's roubles (almost $220M) just because it had a "super secret laser pointer" (12081 Aquilon) installed to blind enemy sensors. In real life, it can barely pop air baloons a kilometre away.
If this gains wide adoption it just becomes a part of the decision for sponsorship agreements. I can guesstimate if the viewers from a specific youtuber use this tool by how quickly data appears after a new video. If I estimate that 20% of viewers skip the sponsorship segment then the sponsorship is worth at most 80% of full price.
If you're building a library or framework, then just assume that worst-case performance will be encountered by your users, because you can't predict their use cases.

So for example, I almost always use associative arrays (maps) instead of lists. I actually really wish there a MAPP language because I view the map as a potentially better abstraction than the list in LISP, but I digress.

I also tend to use atomic operations instead of locks. Some good starting points for that are understanding how compare-and-swap (CAS) works, and also how functional programming with higher order functions and immutable variables works because that mindset greatly simplifies threading with no shared mutable state for the Actor model. Lazy evaluation is another good one. Also vector languages like Gnu Octave and MATLAB are good because they favor a level of abstraction above the bare-hands programming of C-style languages like C++ and Javascript so you tend to see that most algorithms are embarrassingly parallel at some level (especially the things we tend to think of as computationally expensive like multimedia processing).

Also (this may be controversial) but I think that poor performance can be politically motivated. For example, I run Safari with Javascript disabled so I can have thousands of tabs open (it's disabled as I write this). But when I disable Javascript in Chrome, performance grinds to a halt. You can try it right now on the Mac by force quitting Chrome with a bunch of tabs open and relaunching it from Terminal.app with:

open -a "Google Chrome" --args --disable-javascript

Or manually with:

https://www.computerhope.com/issues/ch000891.htm

I don't know what causes it, but my guess is that Google either wrote some of the loops under the assumption that Javascript would always be on, or they had a blind spot in their implementation because so much of their business model depends on ads having dynamic behavior.

So when you're in a meeting and someone shouts down your concern about edge case performance because they don't see that as a priority, graciously humor them and then write your code the right way because you know that it doesn't take any longer than doing it the wrong way. You might catch some flack during code review so have a good excuse handy, something about trying it the other way but running into problems. Often I'll write the easy imperative solution in a comment above the simple functional solution or even put both solutions under a preprocessor directive or feature flag to leave it up to the team lead/project manager and have our keisters covered if/when something melts down.
You seem to be missing the crux of the issue I was trying to address — even today, loading 50.000 items into a frontend application would be a very, very niche edge case. 10 years ago even more so. Tacking on arbitrary reference points from Wikipedia doesn't change any of that.
Do virtual credit cards like Google Pay do something similar to this?
Hypothetically could some one or group file a lawsuit or request an injunction to get a stay of the deletion date?
this is somewhat off topic... but can you imagine how much money mint's data is worth? I once read this story about a guy who worked in the fraud department for citibank(?) and he had access to all the transactions. He used that live data to see that purchases at Chipotle(?) were down X percent and shorted the stock before they released their quarterly earnings report. He got thrown in jail and I don't remember exactly why. He wasn't really entitled to that data.

However, Mint/Intuit certainly obtains that data legally. They could make trades on that information, couldn't they? That is essentially like printing money. Maybe they already do and it is just a secret? Idk.
You use incentives to relocate people or encourage companies to support remote work. Can you imagine how much people years are being wasted on workers paying landlords or mortgage bond holders for inflated housing assets just to be in a certain spot? For knowledge work? Where you're just moving bits? It's almost as bad as the collective time spent working to pay for the depreciation of personal vehicles that sit idle 95% of the time.

Make Existence Less Expensive. Or, keep paying exorbitant real estate rents and mortgage payments while complaining, and being permanently behind financially unless you strike it rich with RSUs or some sort of liquidity event.
And people who were CEOs 25 years ago were in school 25 years before that.
Introduction to Gate
Anyone able to speak to the ease of use/maturity of OpenPose? I've been considering a hobby project for video-based analysis of tennis matches and it seems like it'd be the perfect tool.
I like the reasoning here but don’t you think that senior leadership only communicating once a quarter (your example of 100+ employees) seems a bit out of touch and all the risks that entails?
Military spending is less than a quarter of the budget. Medicare/caid is 55% more than the defense budget, to say nothing of social security or other domestic spending. These may not be the right allocations, but domestic spending is hardly "austere".
I’ve used “circuit python” which as explained is a fork of micro python.
It’s very easy compared to c. Enjoyable even.

but I often wonder about battery life compared to the lower level languages.
Can't argue about this particular use case. For this cloud is good. You can rent super-duper hardware for few hours and be done with it.
To be fair, the Republicans elected the one candidate that seemed the most opposed to handouts to foreign governments. There are a lot of Rs that don't like those either.
I did something similar last year with https://www.gwern.net/Long-Bets . The even-odds restriction is a major one, and I think sabotages all of LB's goals. Why do prediction markets like PredictIt do more in a week or so than LB has done in almost two decades? It's hard to say that LB has been more of a success in getting people to put their money where their mouth is or bringing more rigor to public discourse (compare how often PredictIt or other betting markets are cited in political analysis to how often LB is cited... ever).
I've been using it and it's made my YouTube experience much better.
I think for LA and NYC they start from a much bigger employment base and there are different trends in "tech", some going up, some going down. Like in LA a lot less manufacturing and aerospace (did you know LA county was #1 in both for a while?) and more VC style tech. NYC probably has similar trends I wouldn't know as well.
A World of Deepfakes
This reminds me somewhat of Deep C (2011), a great read for C/C++ programmers: https://www.slideshare.net/olvemaudal/deep-c
Biofuel sparks hundreds of farmer machinery repair complaints
While I'm not partial to ads, it costs money to make content. If you don't want to pay for that content, it seems unseemly to deny the content creator the income stream they've created, instead of just not viewing the content.

Of course ads are getting more and more obnoxious, so there's a lot of gray here, especially as I'm finding mobile sites almost unusable thanks to advertising.
I didn't mention pointers regarding bits, I mentioned addressability - a bit cannot have an address (in any language I'm aware of), though of course you can have any number of ways of accessing it.
>I think it's time to create incentives for companies to move to cities that actually want to grow. where jobs go, people WILL follow.

Nothing is stopping other cities from creating incentives. Some cities have even tried. Of course, some cities have certain undesirable features that make in infeasible to attract companies without going to ridiculous lengths which local voters would not approve of.
Because Intuit wouldn't make money if that happened.

https://www.propublica.org/article/inside-turbotax-20-year-f...

https://priceonomics.com/the-stanford-professor-who-fought-t... (and lost)
Mypy can apply to tests as well. I don't have any noticeably buggy Python programs and have written more than I can count. All this tooling is a great help but is no substitute for minimum of competence and attention.

It's when you want to add features to a codebase you don't understand, when these features shine.
That or a money laundering scheme.
There are sometimes reasons why you don't want to join, such as large data parent row sizes that get repeated a lot in if there's a lot of child relations.

But that should be two queries. One for all the parents, and one to get the children with a sub-select (or at worst a manually generated parent id list), and then you can join them manually (if actually needed and you can't just use the data sets as they are).
Be careful with that logic: While prefixes are supposed to be regionally-allocated, they can and DO move around occasionally. You could find yourself in a situation where you are referencing outdated geolocation information, resulting in a potential violation of GDPR.
Python Tips and Tricks, You Haven’t Already Seen
> for a reason

Not really, the 8MB limit was added back in '95 from a previous limit of "essentially none"[0] with a justification of

> Limit the stack by to some sane default: root can always increase this limit if needed.. 8MB seems reasonable.

Developers don't generally think about their stack size, especially for single-threaded programs[1] so the defaults need to be a sweet spot of not unnecessarily big (such that you can catch unbounded recursion) but not so small that you'd segfault more than a very small fraction of all programs.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/history/hist...

[1] which would be why e.g. OSX has a large main thread stack (8MB) and a relatively puny secondary thread stack (512k).
The author has his email (and twitter handle) in his about page (https://jamesmunns.com/about/)
NASA Launching RiTS, a ‘Robot Hotel’ to the International Space Station
Yes, nobody is disagreeing with that, and in rare cases only private will be possible, but other greener options are almost always available. The greenest one usually being: not flying at all.
It does require payment though, via ads/google red/paid promo's/patreon, you're just choosing to ignore it because it suits you?
You'll get blank stares and resistance whenever you throw a bunch of jargon at people that they don't understand, though. It makes people feel insecure.

You can't expect new programmers who sound like primarily front-end devs to learn all the hot new stuff and all the old stuff, too.

If you want someone with that kind of knowledge, you need to hire a senior dev with 20 years of experience.
this is the opposite of how science works. until grand unification is proven, the four forces simmetry is a nice and convenient hypothesis
P-99: Ninety-Nine Prolog Problems
Maybe you should treat all your users' privacy and data with proper respect, regardless of what country you think they're in.
I thinks so but the database is downloadable so you could always send in a patch.
Programmer for Flash Crash Spoofer Renews Motion to Dismiss Enforcement Action
Convincing the USG to raise Chapoly to the level of AES, thus essentially defeating the purpose of standardizing AES in the first place.

The more productive approach is to work on convincing stodgy enterprises that FIPS is a bad thing (which it is).
Developer Tools to Increase Your Productivity
> Am I to infer that Apple censured this story in their News App?

I mean, I guess that's possible, but it seems much more likely that this is just a bug. The Apple News app can be weird sometimes.
AFAIU Apple doesn't touch much of the individual channels. They editorialize the main feeds by hand. If it's gone from Ars' channel then Ars must have removed the article from Apple News for whatever reason, possibly even by mistake.
In my city, they've been making a strong effort to do exactly what the article recommends.

My observation is that it absolutely does change the character of a neighborhood. Whether that change is bad, neutral, or good depends entirely on what sort of character you prefer. But there's no getting around the fact that greater density means that the area will be very different.

Personally, none of this scares me. I consider it unfortunate, but it's also probably inevitable.
60mg every 3 days. That's was the protocol I followed with auto-prescribed ketamine.

Then I wanted to try every NMDA antagonists existing other than ketamine, like memantine, used as alzheimer treatment, but also ephenidine, diphenidine, methoxphenidine and later MXPr, all present in research chemical scene.

Then I heard about dextromethorphan (DXM) on a drug forum about anecdotical experience on its potential as antidepressive and even read a scientific paper about it. It is used as composent in cough syrop worldwide and, according to country laws, available without legal restriction or not, mainly because it is reputed for its potential of abuse for its dissociative effect.

In Belgium, it is supposed to be unrestricted for possession and use and so I bought 100gr of it on Alibaba for 80€, transport comprised...

The molecule seemed promising because it could act as antidepressive in 2 complemental chimical processes, that you can fine tune with the ingestion of pink (or is it white ?) grapefruit and other citrus having the same chimical properties, leading to the greater degradation or not of DXM while digesting, the product of degradation also having anti-depressive properties on its own, but in a different way.

The package get unfortunatelly blocked at French custom border. Now it seems I'm blacklisted in european custom as most of my order from China is systematically blocked.

Here are some ressources :

https://www.vice.com/en_us/article/9kzkje/dxm-cough-syrup-an...

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6398352/

https://sci-hub.tw/https://doi.org/10.1016/j.mehy.2011.02.00...

https://mhc.cpnp.org/doi/full/10.9740/mhc.2019.03.076

Edit : Typo and removed an irrelevant reference.
As a layman reading this, it’s funny. Because I do not need gravity proven to me from first principles ;)
It was literally stated in the IEEE article

"The potential for employer-mandated enhancers should force us to reflect deeply about the importance of work, the relative value of enhancers, and illusion of choice."
>Getting someone to loose weight is a lot like getting someone to stop doing drugs. If they dont want to do it, you are pretty much screwed unless imprisonment is an option. You yourself stick to your diet or you dont.

Right, so the question is, how can you design such a study where control calorie intake and get people to adhere to it? The only way you can do it is to lock them in a facility where their intake and exercise are strictly controlled, which is either too expensive or not ethical or both. It is basically impossible to conduct such a study, let alone being able to issue effective recommendations based on it if your hypothesis is supported by the study.
There are purpose-built databases for this purpose such as Dolt (https://www.dolthub.com/), itself purportedly derived from noms (https://github.com/attic-labs/noms). Because it's baked into the database, you can do complex things like diffs and merges, but it requires that you run everything on that RDBMS vs. something standard. Generic diffing from two arbitrary data states of any database is pretty challenging, even if you have all the transaction history.
I've worn the Gunnars brand for... at least eight years. I don't wear them every day, but they help me with eye-strain and related headaches. I couldn't judge the effects on sleep as I have insomnia anyways.
Afghanistan papers reveal US public were misled about unwinnable war
It means things like sponsor spots where the YouTuber starts talking about some random mobile game or VPN provider you can tell they don't really care about
Teaching yourself about structural racism will improve your machine learning
This is off topic, but...

When I saw this pop up on HN, my first thought was:

A lobotomy for most of them...

And in my experience, from a customer point of view, I don't think I'm too far off track.

I was nowhere near this cynical when I was younger.

((waits for the chorus of downvotes and "OK boomer"))

:)

On topic...

Read Tom Sawyer.
See also:

Extendible hashing—a fast access method for dynamic files

https://dl.acm.org/citation.cfm?doid=320083.320092
The shocking persistence of virginity tests
> This is either a reason you love Signal (raises hand) or can't stand Signal.

Eh? Why either or? (and why are there people who can't stand it?)
> Yes, most people are in some form. Of course they don't realize it, they just want free and cannot think through the consequences of what they are asking for.

I see people say this about other people all the time, but I honestly have yet to meet someone who legitimately expects health care to be 'free'. They all realize that it just means paid by taxpayers. Which tax payers? That varies...
The poorer outcomes aren't due to the quality of US healthcare but differences in the people of the US. The US is bigger than most countries so people need to drive more and thus are more likely to get into car accidents. The opioid crisis has caused the US life expectancy to decrease but that has nothing to do with the quality of hospitals. Better hospitals and medicine don't prevent people exercising less, eating more fast food, etc.