skysight-inc/HackerNews huggingface dataset:
for (let elem of arr) {}

is actually quite a bit slower than

for (let i = 0; i < arr.length; i++) {}

because the people who built the JS spec decided that there should be a brand new heap object created every iteration. At the time, there was thought that escape analysis would let them optimize away this object, but from what I can tell, ten years later, engines are really bad at it. Escape analysis is a heuristic, and it needs to be conservative.

And yes, this isn't a micro-benchmark. At least in my application, performance is mostly bounded from GC pauses and collection, not slow code execution. Anything to reduce your GC pressure is going to be a good improvement... but note that modern frameworks like React are already basically trashing your heap, so changing out your loops in an already GC-heavy codebase won't really do much.
The WeWork Arc
> Back in '97, Microsoft invested 150m into Apple as well as published office on macs. This was very likely an effort to keep a competitor alive to pretend windows was not a monopoly.

> Mozilla is in a much worse position than Apple was in '97.

Indeed. In fact, Apple was in no short or medium term danger when they got the $150 million from Microsoft. They had at the time around $1.2 billion in cash reserves.

Getting Office on Mac was probably far more important to Apple than the cash. The deal guaranteed Microsoft would support Office on Mac for at least five years.

Microsoft got more out of it than just looking a little better to antitrust regulators. Part of the deal was that Apple would drop its lawsuit alleging that Microsoft had copied large parts of the look and feel of the Mac GUI. That had been going on for many years.
Its a walled garden. Cryptocurrency is federal, nation level politics. Many people have been beaten up over currency. It is a massive power to be able to force the the rest of the world to use your money for international trade and only you have the right to print that money.
This is just political theater. Purdue is responsible for what? 8% of the opioids that were pumped into the medical industry by Big Pharma. Max. (And that's being generous.) That means 92% of the problem was not sanctioned at all by our "Justice" Department. So they slap the hands of one of the small fries come election time, and we're dumb enough to keep voting for them. Both sides engage in this nonsense too, that's what's so disheartening.

There is obviously too much money up there to go after the big guys. I get that. But at some point, man, can't we strap on the gloves and try to do the right thing? For once? This whole "Justice" Department action is a slap in the face to communities dealing with the opioid crisis out here in flyover country.
If it is a common package, you could use Guix to retrieve binary library packages for your architecture. (It will build from source if there is no pre-built package).
Ask HN: What's your favorite data science Slack community?
> Think of it being well-written, but turning far more metaphysical.

Agreed, that's a fair characterization.
Lets say 1.
Also the irreversibility is a huge liability as scammers can just run for the hills and you’re left holding the bag.
Tldr: "I enforced my rights and some people lost access to a useful thing in their own language."

Bravo dude.

Look, it doesn't have to be dramatic. Make things you love and put them into the world, let the karma take care of itself, don't waste time begging for credit. People who are worth getting respect from will respect your work. Rude people won't, but why do you care about rude people anyway?
one seems about right
It's not the number that OP is arguing, its this:

> Their assets give them undue and unsupervised influence over a very big chunk of what's happening online. This gives them ability to control big part of collective human consciousness, across languages and borders.
This podcast series has been golden so far, thank you.
The ideal outcome of this lawsuit is Google being forced to open up their vast amounts of data obtained by being the 90+% market monopoly.
Only then can other search engines even begin to compete.
Important distinction: civil unions and not marriage "in God's eyes".

"In the 2013 book “On Heaven and Earth,” Pope Francis did not reject the possibility of civil unions outright, but did say that laws “assimilating” homosexual relationships to marriage are “an anthropological regression,” and he expressed concern that if same-sex couples “are given adoption rights, there could be affected children. Every person needs a male father and a female mother that can help them shape their identity.”" https://www.catholicnewsagency.com/news/pope-francis-calls-f...

Still a good step forward, but far from where we should aim to be.
Most of these templates are poor choices for a developer. This book has an excellent section on what you should look for in a developer resume template: https://thetechresume.com/
Some of their engineers have made PRs to the OpenTelemetry JS repository, but it wouldn't have been mature enough (or even existed) when much of the work described in the blog was underway.
The fines and punishment will be less than they made. Nobody will go to jail - and the cycle will repeat. The Sacklers paying $225M to destroy tens and possibly hundreds of thousands of lives and communities is like me paying $50 for burning down a city.
Yeah, and I also remember when real parity checking was replaced with a special pseudo parity-pretend chip on many SIM modules. It was so designed to especially fool motherboards into thinking that parity was actually enabled and working when it was not.

Yes, even the memory business had its sleazy carpetbaggers.
JS and Python has essentially same data model with everything being at least conceptually built out of dicts.

And well, most JS implementations do not have GIL because they are not multithreaded at all.
> ...the resolution in today’s announcement re-affirms that the Department of Justice will not relent in its multi-pronged efforts to combat the opioids crisis

> The criminal resolution includes the largest penalties ever levied against a pharmaceutical manufacturer

Jeez the DOJ surely sprinkled a ton of 'self-congratulating' language in this for simply doing their job.
They all feed off each other and that's a problem. When iOS was taking off, Google was legit worried about their search dominance being threatened. That's why they paid Apple top dollars to replace Bing as the default search engine on iOS. Same reason why they bought Android to make sure Apple doesn't get to dictate terms. Also the reason why they built Chrome. All of this made sure they have the most eyeballs and the data to train their search models better and better and better. If you look at history of Standard Oil, you'll see a similar pattern. Antitrust regulations were invented when people saw how this perfectly logical combination of actions could accumulate so much power.
Does Google give a boost to its own products in the search rankings?
We're probably talking different GPU coding techniques... I'm not talking about things like annotating C++ code to run on a GPU, I'm thinking shaders where it's very hard/impossible to have side effects outside of what that shader is run on.
LinkedIn will scan the browser to identify extensions
I have a similar story. When I was in college I got a repetitive stress injury from practicing piano too much. I ended up becoming a programmer but I have followed ergonomic practices religiously in the 40 years since then. My kids make affectionate fun of my perfect posture. But I have worked with the computer keyboard for going on five decades and have never come close to suffering a repetitive stress injury.
This is another case of people blaming the victim. The monopoly case against Google is there to show that it has stifled competition, including Firefox. Don't get distracted by the fact that Google is paying Firefox, in fact they're causing much more damage through their monopolist practices than whatever amount they're paying.
I saw that photo in color and missed it by +2 years. In color, at least, it's very obviously 'retro' and the phrase on the sign is not particularly 60's. I got two others within a year or two, but it was because I recognized the events. One I really flubbed was the two little boys on the junk pile (mine was color), which I guessed was related to the Fall of the Berlin Wall. Since the color average was '87 and the black-and-white '85, I'm guessing that's what most people thought regardless of color. The most difficult one for me was the 'street parade', which could have been many, many moments. In all cases, regardless of color or black-and-white I wasn't using whether the photo was color or black-and-white to determine the date. I was first trying to guess the possible events, and then trying to rule them out based on clothing, style of cars, architecture, etc. etc.

I think a bigger problem is where to initially put the selection knob. The knob on the picture of the two 'hippy' women was placed around '64 (if I remember correctly), confirming the bias in my brain "60s == hippy". I suspect most people link the selection knob mentally as a sort of 'caption' of the photo, even though they know consciously it's the selection tool.People are also probably slightly less likely to move a slider further than closer.
From Justice with Love
With these things you can't replace anything. The website has to be whitelisted or you live with the fact that the libraries can't be replaced and the site is broken.
Law’s official motto is also “In God We Trust”, can you define God?
If I were the US authorities, I'd start asking/demanding Google to stop SSO across Search/GMail/Browser.

Just because I am a GMail user does not automatically mean that you can trace all my web search.

In addition, I'd demand removing Captcha-alike when using VPN services, to avoid them from tracking my IP.

I mean, even if you are not logged-in, they can still correlate IPs across products.
The divisions are arbitrary.

A search engine is a number of components - e.g. a crawler, an index, and a user interface.

Why should one company be able to own all three of these? Why not just one? Perhaps crawling should only be able to be sold as a wholesale commodity.
The chart inside says "Google captures over 92% of world-wide search traffic" - which I assume would include mobile or any other device (speaker etc).

If yes, then the headline is misleading.

(Mobile only headline is fine - 95%).
Space is not a legitimate block delimiter.
There are quite a few markets where IE11 is about dead already, I think - the question is, how many?
Original title: Jeff Bezos Uses the Disagree and Commit Rule to Overcome an Uncomfortable Truth About Teamwork.

The rule (which I tend to apply myself, though I didn't have a name for it) works pretty well for me as long as I have had a chance to express my objections, and feel they were understood. That caveat is critically important to me. It's okay if my concerns are dismissed, it's okay if I don't agree with the reason they were dismissed, but there has to be a reason (even if it's just "my gut tells me you're wrong" or "we don't have time to discuss this").

Some people have accused me in the past of just wanting to be able to say "I told you so", and I must admit that there is some element of truth in that (it's not a good look, but I'll own that I am a flawed human trying to become a better one), but mostly it's so if a bad decision is made, we have some data on why we made a bad decision (eg. "we consistently underestimate the work involved in building an in-house solution", or "most of our decisions made under time pressure are wrong"). And anyway, often being able to say "I told you so" is more than enough, I don't actually need to say it.

Anyway. If my objections are heard, I can and do happily "Disagree and Commit" all day long, because I might be wrong. That's how I'm wired.
It sounds like it comes with a forked Ubuntu and future support incl security patches is up to the hw vendor.
Yes that's a hurdle. But even without that, it seems hard to design a good system. If most of the doctors treat the very sick cases (among those diagnosed with X) with drugs Y+Z currently rumoured to work, how do you disentangle the causes of their poor outcomes?

More generally, how do we know it isn't mostly garbage? That seems to be the consensus about most pre-20th-C medicine, and those guys weren't idiots, they were just trying things out and sharing ideas...
If there is a single miner, he/she controls the entire network and movement of money on it. Either he takes everyone's money.

Or everyone abandons a now worthless currency because it just became e-money controlled by a single entitu.
Yeah like the way Pinterest’s takeover of Google image results was an effort to make the search engine as good as possible /s
The libraries of Decentraleyes are completely outdated
I found the following talks by Armin Romacher very informative on these topics (C API, why python is more difficult to speed up than JS).

https://youtu.be/qCGofLIzX6g
https://youtu.be/IeSu_odkI5I

I wish these were the things Python 3 addressed, rather than Unicode. I guess it's much more obvious in hindsight than back when Python 3 was designed.
I love the DSS Slack community!
I don't know why, but I've often thought about the situation the Josh finds himself in. IE - having to find a different way of building software if I couldn't use a keyboard and mouse due to medical condition.

The solution I always imagine is paying someone or having my employer pay someone to strong style pair program with me. Perhaps a student, junior developer or even someone unfamiliar with software development entirely.

For those unfamiliar with strong style, this rule sums it up: "For an idea to go from your head into the computer it MUST go through someone else's hands". Like the standard driver / navigator pair programming technique but with the navigator never touching the keyboard.

In the case of someone completely unfamiliar with software development I imagine that there would initially be a dramatic high / low skill gradient between us, with the person essentially transcribing. However given the intensity of the practise I think this gradient would level out quite quickly.
One is plenty. Especially if "OS" is in the list. Microsoft in the 90s, and Apple and Google today have all used their OS supremacy to quash competition... quite often in extremely questionable ways.
Scientists reveal how diabolical ironclad beetle can bear weights
because the net would have to control the actuators anyway, but it's not a given that an actuator can move controls as fast as an human would be able to. putting the human in control of the actuators instead of sensors on controls solves that issue.
I think we're in agreement, but perhaps I wasn't precise enough in my phrasing.

I mean we know what they do chemically, but as you said we have no idea what serotonin does. (Which is not true, but it's so complicated that what we know just makes us exhausted thinking about how truly complicated it is.)

> We don't know whether the brain chemistry changes we see in depression are the cause of the disease, or just the way 'sadness'/'lack of motivation' looks like neuro-chemically.

Indeed. Though it's always both. And probably asking whether we could, let's say take a pill every day as prevention seems unfathomable, because so far - again, just as you said - we don't really know what is depression. It's basically too much of feeling down. Feeling down when you shouldn't really be feeling that down, at least somehow "compared" to other people. So it's hard to know when prevention should start and when it's just normal case of the mondays.

However, just as with the nurture-nature conundrum it seems natural to treat it as one thing very tightly coupled with the other. Which makes it likely that any kind of treatment and understanding has to always handle both in a lockstep. (Even if there are a lot of subgroups, some are more susceptible on the chemistry side, some more on the cognitive side, some are simply resilient enough to deal with it with some light touch counseling, some got a very bad ticket in life and need a whole support network to keep the darkness at bay, etc.)
It's impossible to impose moderation in any language and you don't need unicode characters to write stupid code. Java programmers were writing HelloWorldFactory classes way before Julia existed.
I think for shared_from_this() I have a different use-case in mind: an object of some class wants to register with some other class. I.e. think about something like

auto self = shared_from_this();
document.onclick([self](){self->doit(); } );

I'm not sure there is a way to express that in C++ without use of enable_shared_from_this.

It is very easy to accidentally run this kind of code from a constructor where shared_from_this() is a 0-ptr.

make_shared also only helps in 95% of cases. E.g. it does not allow specifying a custom deleter, which is a use-case that is allowed by the shared_ptr<> constructor. It also won't fix any of the problems WRT shared_from_this() being called in the constructor.
I wasn't suggesting that most non-technical people know much detail about why a company like Google might not be their best friend (I know they don't). I was addressing the idea that some people think "being big is bad in and of itself", and that I don't think that most people see it that way.

I spend a lot of time with non-technical people, so I don't think that perception is tainted by a tech bubble.
Then government shouldn't have allowed them to buy YouTube back then. So Google might ask -- why it was legal to acquire YouTube back then, but now it's illegal.

We need to seriously reconsider SEC rules for approving acquisitions.
tl;dr Darwin didn't know the sea level goes up and down due to glaciers forming/melting
Well its not like no-one ever steals actual money/gold/whatever
Interesting! Maybe I'll look into a voice trainer.
And like things made out of duct tape, I’ve never found anything made using python that actually functioned well.
It seems reasonable to argue that fighting Google's browser monopoly justifies Mozilla helping enable the search monopoly for limited periods of time through default search agreements.

Or you could reasonably argue that the default search payments Mozilla takes are way less harmful to competitors than other things Google does, like scraping data from third party sites and presenting it above search results.

I'm not sure if I agree, but you could definitely argue these things.

Interestingly, Mozilla never comes right out and makes these arguments in its blog post. I guess maybe they imply them. I honestly am not sure if this is because any statement on this has to be heavily vetted by lawyers, or if, as some people will surely suggest, they are afraid of offending Google. (I don't really think they are? But maybe I'm wrong....)
> the meaningful technical definition of a monopoly

Note that the legal standard of consumer harm is not only uniquely American. It's a creature of the post-war judiciary, arguably, on the basis a specific reading of the Sherman Antitrust Act of 1890's intent [1].

[1] https://en.wikipedia.org/wiki/The_Antitrust_Paradox
Good question.

These are questions we possibly should have asked in the 60s or 70s with the Automakers.

Heck, let's think about THAT for a moment. When we look back at history we see that the big 3 took a number of anticompetitive actions over the years while managing to usually avoid government action through careful planning. (GM at times would hold back products in those decades, knowing if they went over a magic number of market share it was bad news.)

But look at the RESULT. Look at 2008. Look at the future of self driving cars and the future of the trucking industry.

By letting large monopolies run unchecked, they embed their ways of dependence into society such that impacts can be felt for generations.

Maybe its not about the number but what the damage is.

Edit: hit reply early, sorry.

The big 3 managed to get taken down by the factors of the oil embargo and the growing Asian auto industry, but we still felt the effects I listed above.

And, to that end, its worth restating that GM specifically tried to 'avoid' fitting the government definition.
Microsoft netted about $550 million from that $150 million investment in Apple.
Anyone know about the status of the Kobol Helios64? So far it seems the best possible option hardware-wise for a compact ZFS capable NAS, although obviously very different in price from the Odroid HC4.

https://kobol.io/
I think none mentioned here the fact that prolog and prologue are two different words.

Prolog is a made up word, an abbreviation for "programmation en logique". Prologue means the introductory part.

So why the confusion?
I believe prolog is an excellent name for a logic PL and prologue is too for a web framework. Why change it?

https://en.wikipedia.org/wiki/Prolog#History
Yev here -> I should add that we have a Q&A webinar going live tomorrow with Andy the author, you can join the Q&A here: https://www.brighttalk.com/webcast/14807/446738?utm_source=T....
If Andy is watching this thread, I'd love to hear if he explored this topic previously.

For what it's worth, a bunch of server OEMs sell top-loading storage servers, eg. https://www.servethehome.com/dell-emc-poweredge-xe7100-100-d...
ORMs ultimately serve no purpose.

If your data model is small, they save you very little work.

If your data model is large, they collapse and you have to abandon them.

There is no middle ground.
I’ve come across this many times- mainly during ediscovery exports for IT clients. Best info I could find is that gmail does NOT support exact phrase matching , at all. (ie in the search “cat dog” , the quotes are ignored , so “my cat my dog is green” is returned as a match , unfortunately)

This very much limits ediscovery flexibility and is unbelievable for a company that specializes in search
This is a great play by PayPal to get everyone's BTC. If they act as a traditional bank and allow one to get BTC in, but only pay $currency out, they may do well for themselves if the above is their play.
We used Twilio, Airtable and Zapier to feed 250k people during Covid
It's worth noting however that the Odroid C4 (which has the exact same chipset as this NAS) currently has official Armbian support with a 5.8 kernel