skysight-inc/HackerNews huggingface dataset:
Optimization: Prototype before polishing. Get it working before you optimize it. - Eric S. Raymond, The Art of Unix Programming (2003)

The First Rule of Program Optimization: Don't do it. - Michael Jackson

The Second Rule of Program Optimization (for experts only): Don't do it yet. - Michael Jackson

Spell create with an 'e'. - Ken Thompson (referring to design regrets on the UNIX creat(2) system call and the fallacy of premature optimization)

The No Free Lunch theorem: Any two optimization algorithms are equivalent when their performance is averaged across all possible problems (if an algorithm performs well on a certain class of problems then it necessarily pays for that with degraded performance on the set of all remaining problems).

... quotes via https://github.com/globalcitizen/taoup

FWIW at my company we do embedded robotics, use ridiculously underpowered processors with very limited capabilities, and still prefer use HTTP as it is well understood, has good tooling and is easy for everyone to deal with, which reduces real world business costs vs. custom wire-level formats. I'd gently suggest that unless you have a really particular use case (real time stock market feeds where latency is paramount, very expensive or constrained link layer) it makes little sense to worry about this sort of optimization.
If anything, that should be more of an argument for autonomous cars being allowed once they reach only 1x of the safety of human-driven-vehicles.

Almost by definition, more pedestrians will die if we wait for the 4-5x safety threshold proposed in the article.
> Reminds me of the "Once Linux gets a desktop it will take over the world" debate from circa 1997-today.

Linux did take over the world, just not on the desktop. It was on servers and mobile, which now have more users than desktops or laptops (edit: servers via the web).

Technology gets its warts fixed when it grows along an explosive new market, especially if the market ends up being larger than the last.

Python is currently riding the data science wave, and that wave is growing. If that market expands to the point where large scale data-science type work wags the dog of VBA/excel, the clunkiness[1] will work itself out.

[1] - I don't actually understand what's clunky about Python in the context of the article. Seems like a reasonable direction in a complex market (reinsurance) driven by actuaries. I'd be surprised if newgrad actuaries/stats people aren't using Python?
ONS compares QALY costs in both cases. In essence QALY is a measure of how much people value their life relative to suffering from some condition. The weighting for QALY calculations is based on asking relevant questions such as whether a patient would rather live with their condition or undergo an intervention that may either kill or cure them.
Those other viruses could as well come from bats or be leaked. I’m arguing that precise knowledge of what happened a year ago might not be a priority to help us deal with what happens in the real world now.

Basically I see it as preparing to win the last war.
From the EULA:

7.2 Updating. If your Computer is connected to the Internet, the Software may, without additional notice, check for Updates that are available for automatic download and installation to your Computer and let Adobe know the Software is successfully installed.

10. Limitation of Liability. IN NO EVENT WILL ADOBE, ITS SUPPLIERS, OR CERTIFICATION AUTHORITIES BE LIABLE TO YOU FOR ANY DAMAGES, CLAIMS OR COSTS WHATSOEVER INCLUDING ANY CONSEQUENTIAL, INDIRECT, INCIDENTAL DAMAGES, OR ANY LOST PROFITS OR LOST SAVINGS, EVEN IF AN ADOBE REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, DAMAGES, OR CLAIMS. THE FOREGOING LIMITATIONS AND EXCLUSIONS APPLY TO THE EXTENT PERMITTED BY APPLICABLE LAW IN YOUR JURISDICTION. ADOBE’S AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS AND CERTIFICATION AUTHORITIES UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE LIMITED TO THE AMOUNT PAID FOR THE SOFTWARE, IF ANY.

So their argument would be that you accepted that the software would update automatically and that in any event you'd have no claim for loss. Does CFAA apply once you've already bent over?
> Forcing std::string as a container for core components of a networking API (specifically for an accessor) is an exemplary demonstration of a lack of seriousness in a library.

im not super experienced with c++, so please forgive the maybe obvious question, but why is that?

(im guessing it has to do with allowing control over where allocations come from?)
Solution for this is to make flask or django apps. Easier to make user interfaces, and solves packaging / user experience problems.
What did you sell it for if you don’t mind my asking?
> The govt still funds crackpots to argue against Chinese people originating in africa, to call greco-roman and egyptian history faked, and don't even get me started on their insistence on 5k years

Wait what? The Chinese government does this? Who do they claim faked Greco-Roman and Egyptian history, and to what end? And what is 5k years supposed to be? The age of the earth or something?
Which implementation of protobuf is 20x faster than Google's?
Related note about something I've been working on: https://JuliaActuary.org

It's basically packages to support actuarial work written in Julia, which addresses a lot of the issues of Python/R (environment management, runtime speed, rich cross-package compatibility).
Well, transmitting a megabyte also takes a full second at 8 Mbps.
Wow, that's a really nice (and extraordinarily rich) landing page.

One thing I hadn't known about before was Github Discussions (beta): https://github.com/home#home-community
https://PlaceFlare.com I learnt a lot, I was building it for ~3 years, I spent on it about 500 usd :) now I’m working on https://SimpleLocalize.io and it’s way better. Currently MMR is not impressive but it’s getting better
Thanks. Data was manually added to dogfood the UX. It's improved a little from that.

Programmatically importing data is actually my next "big" goal. It'll be hard to maintain quality though when I start on this route.
I worked on porting a company's Flash library to Canvas, Animate is not that helpful here, it spits out an IIFE that calls into their CreateJs library but you just can't fire and forget because Canvas demands a lot of hand-tuning if you're doing anything other than banner ads to get the same performance profile and Animate won't help you do that work. This is particularly a problem with static images, text, opacity IIRC. Literally every tip you see on MDN for Canvas performance you will not get in that Animate Canvas output.

Jus as an example, Flash is able to redraw only whats needed on the screen whereas Canvas doesn't do this and works like a game where it blows away the whole screen every frame (assuming you're calling clearRect), hence why its best practice to use multiple Canvas elements, off-screen Canvas elements, etc but again, Animate doesn't do that work for you.

And up until the EOL of IE11 next summer you have to manually alter the output to make use of blend modes, which people use a lot of in Flash, if you want full browser support, which is pertinent in domains like healthcare.
You’re not taking into account ICU capacity. Many hospitals are basically full NOW, if the case rate, say, doubled you’re going to have marginal cases dieing because they don’t have access to basic care like oxygen.
Who cares? Say he pays 50% in taxes on his 200 Billion in amazon shares. That's a drop in the bucket. I mean the US spends nearly a trillion dollars a year on military/defense. How about instead of whining about people using their tenacity to achieve financial success we actually bitch about the government's horrible mis-management of funds. They don't need more money from taxes, they need to learn how to use the money they have effectively, otherwise no matter how many billionaires you tax it won't move the needle on improving quality of life for our country.
USB-C cables that support high current (> 3A) have a chip inside that communicates with the power source to let it know it can carry high current. Only then does the source advertise the higher power profiles to the consumer.
Same thing happened to me in my first job. Turned out the old guys turned down the position and I was the only one dumb enough to do it! :)
The Gospel of Wealth – Andrew Carnegie ( 1901)
Input events don't need network linearization. Instead, every input event "happens" on an explicit frame. Each network-broadcast input-event message looks like "during frame N, player P {was/wasn't} holding down button B." Nodes can receive and apply such messages in any arbitrary order, and the result will be correct. It's the frame-counter in each message, not the order each message was received, that determines how history will be rewound and altered.

Keep in mind, every node is running the same deterministic simulation. As long as nodes achieve eventual consistency in their "input movie" somehow (a gossip protocol, say), then every node will end up on the same VM state. You don't need a leader to declare what the consensus state is; presuming trustworthy peers(!), there is a single "objectively-correct" consensus state that every node will converge upon once all nodes have all messages.

Every time an input-event message is received from the network, the receiving node just rewinds to frame N, and recomputes it (and all frames after it) with an input-movie where player P {is/isn't} holding button B. (And then, only if that explicit message wasn't already what was predicted during run-ahead.)

Note that this is also exactly what happens when the local node produces an input-event message — that's what run-ahead is!
China clamps down in hidden hunt for coronavirus origins
In general I agree although I think it's fair to separate the protobuf wire format from the proto3 schema format which had a canonical json representation.
I'm on mobile, but do also consider https://JuliaActuary.org (something that I personally have contributed to).
Yes, there is a very classic chicken-and-egg problem here.

The platform/idea really doesn't work unless masses of people are trained, as you suggest, to recognize 0xABCDEF as discoverable on 0x.co.

We'll see ...
Why do that unless you have to?
“ Victim-rights trump criminal-rights.”

In Baltimore, the police ARE criminals. Again and again, that department has shown itself to be corrupt from top to bottom.

The victims are the citizens of Baltimore who are falsely accused of crimes and imprisoned on trumped up charges.
Anyone that can recompile the code can also easily figure out a patch for client side. There are easy to use tools that assist with this.
I don’t agree with you that it is safe to say if people could make 2-3x more money they would take the opportunity. It is equivalent to saying people who become teachers, who make far less than most professions of similar educational requirements, would jump at an opportunity to make 2-3x the pay or are somehow incapable of performing comparable functions. It’s just not true.

I should probably clarify that there are some federal agencies that hire engineers as federal employees. For example, NSA, NASA, JPL, etc. To your point, they do have better success when it comes to engineering. However, they are also agencies that have a primary mission/function which requires it. For other agencies, it’s not all that easy for them to justify career engineering employees when the roles are tertiary functions. It’s not to say they don’t have them, but it is to say that they have far less of that expertise. That is why entities such as 18F and USDS exist though, to help fill that role.

While it seems like you are not keen on giving it a try, I highly encourage you to give government work a shot even if only on a temporary basis with somewhere like USDS or 18F. Only way to help make positive changes to the way government does business is through people with the drive and talent to do so. There is plenty of opportunity to influence those types of changes, even at lower ends of the employment hierarchy.

Appreciate the conversation and you offering your perspective!
It came down to IDE, workflow and data.table.

RStudio is an absolute killer solution from the get go.
Package management in R is simple and robust.
Shiny is the new Excel pivot table on performance enhancing code.

Python has more contributors, more users. It also creates a lot more noise. Business people may feel like it is a a programmer tool. R feel more approachable.

In the end, both are great solutions but we decided on R because we believe in the people contributing to the ecosystem, mostly RStudio. Somewhere down the line, there might be a transition to julia.
Aren't GPL-incompatible licenses generally considered poor choices even if they're FOSS, since they lead to the ZFS-on-Linux problem? (And trying to sidestep the issue with permissive licenses just leads to proprietary forks.)
What do optimization algorithms have to do with performance optimization? I mean, sure, you can use either to improve the other, but NFL has nothing to do with performance optimization.
I can only speculate but I'd guess the issue is that the trees and mountains casue a lot of multipathing, theres no wifi stations or cell towers at all to cross-check, and the traffic volume is so low, you can't really fall back to statistical methods. That doesn't even get into the fact that there's often a labrynthe of private roads that all technically have the same name, typically given by rhe nearest large creek or stream. Google seems to have a REALLY hard time differentiating the gated private driveways from the more "arterial" ungated sections of these roads.
> Listen to your potential new client. Let them speak. Let them feel seen and heard.

The post seems to be talking more about from a sales / client relationship development perspective.

Your reply seems to be more about internal comms on a team.
Their other conclusions are all pretty sensible. E.g. Does the MMR vaccine cause autism? Ans: no https://www.rootclaim.com/claims/does-the-mmr-measles-mumps-...

This technique looks reminiscent of "superforecasting".

Caveat that their conclusion hinges on their assumptions, and we would expect that about 2/10 of their 80% predictions would actually be false if we could score them all.
If people have children without regard to their finances, humanity won't go extinct, but there is likely to be increased suffering and anxiety along the way.
As an aside: I particularly enjoyed the film Outbreak (Kevin spacey notwithstanding), it's a not totally unrelated plot to the linked theory. It's on Netflix!
But they should be, because research and reasoning indicate that Chinese wet-markets are uniquely dangerous in their propensity to create, or spread, novel viruses.

See "Infectious diseases emerging from Chinese wet-markets: zoonotic origins of severe respiratory viral infections" [2006]: https://pubmed.ncbi.nlm.nih.gov/16940861/
If your attempts to prevent cheating rely on a "trusted" client, you're going to have cheaters whether or not your code is LGPL. The only right way to stop cheaters is to run game logic on the server.
Sorry, coming in late, but gotta object here...

My Subaru has no problem detecting stationary objects. It uses stereo cameras, for which object detection and locating the object is a thoroughly solved problem, whether the object is moving or stationary. No magic needed. It just works. For example, there is a sharp turn near my home with prominent turn signs along the curve, which puts them directly in front of you as you approach the turn. Those stationary signs quite reliably set off my collision warning if I'm approaching them too fast.

Tesla has the problem because it uses radar for object detection. The radar can tell them the presence of an object, but cannot tell them the object's location. An overhead sign or overpass or whatever looks the same as an object in the road. So to avoid countless false positives, they need to ignore signals from stationary objects because they chose to use radar. It's a self-inflicted problem that other vehicles do not have.
No, for many reasons. Workbook calculation performance, advanced, complicated spreadsheet incompatibility, worse UI/keyboard shortcuts, slow UI, different language than VBA for custom functions (It isn't necessarily worse, but it's the same thing as trying to convince a department to switch from language X to Y including rewriting every application that's written in X. Also, every person you've ever hired was familiar with X, and has no experience with Y.)

R/Python/SAS etc. are a much more compelling alternative to Excel than Google Sheets (to say nothing of the actuarial modeling software packages that are used already for more rigorous/complicated problems).

If an insurance company decided to move all of their MS Office users to Google Docs/Sheets etc, my money is on the actuarial department paying for Excel out of their budget without a moment's hesitation.
data urls encode things in base64 format so bloat up the file. Also the user agent can't just seek over them, requiring it to parse the entire included base64 content. There are better ways, but sadly nothing cross platform:

* https://github.com/WICG/webpackage

* https://en.wikipedia.org/wiki/Webarchive
So you think that I'm not open to conflicting realities, got it. I am not speaking in absolutes I am simply responding to you. Now you know. I led with an "educational moment" because it still remains accurate that the amount of energy is not a strong argument without referencing the source of the energy. It's not controversial for you to disagree with that, a reality still was and now is with mining included that energy producers opted to not transport some energy across long distances and miners are overwhelmingly using that because it is economical for both parties. You read something else that I didn't say or imply. You keep referring to that, which I was willing to ignore. It's clear snark is important to you, now you got your reaction so I hope you feel satisfactorily accomplished in that regard.

Now let's talk about your unique points than the original person I replied to: places have had decades to send more power over power lines and they didn't. You tell me why that is. I assume there were financial reasons and related impracticalities. But admittedly I have never asked and only react to the reality that energy producers have been receptive to the additional use of their energy for the aforementioned reasons I listed. Their output hasn't changed and to them it is a more efficient use of it. Are they lying? Are they ignorant of alternatives? Just lazy even though their laziness would therefore predate crypto mining?

Either way mining on premise is an immediately applicable economic incentive that simply got you to notice that you didn't like it.

Best case scenario then is that it gets you into action to implement a solution nobody else noticed was applicable. Society might be getting somewhere because of you, that's so exciting.
Confusion due to a lack of awareness of an unambiguous standard is not synonymous with ambiguity.
We dont have public transporation cause we are half as dense and it would be a huge money pit. We know other countries do this to and its ruins they local budgets like spain.

The solution for this problem is also not forcing businesses and people into idea that in the real world makes little of no since.

Cause with this 25% hike many of those driver will lose their jobs when less people take uber. I know since uber pools been taken away I personally hardly ever uber unless its 100% necessary.
Linear types! Wonderful. And QualifiedDo is elegant and convenient. I imagine many libraries will begin to take advantage both of these extensions.
Have you checked cl-emb?

https://common-lisp.net/project/cl-emb/
You're welcome. And you might like to see ''sys/queue.h'': https://github.com/openbsd/src/blob/master/sys/sys/queue.h
A bit more than 3 months, but shit hit the fan even before the official date on which you couldn't leave. Being part of one of the central services on board a ship and dealing with guests and crew alike, there were major signs of incoming instability for 2-3 weeks before that. A LOT of shit never made it to the public or the CDC but was known internally. Hell, I could even go full Snowden and reveal the shit they did.
Has your computer or phone ever glitched? Have you ever suffered a Malware attack? Every single way that computers are vulnerable, machine driven systems are vulnerable. We just saw the SolarWinds hack that was installed through malicious software updates. That could happen in an autonomous driving system as well.

Humans are still far better at dealing with unforeseen circumstances than computers. An AI is trained on a dataset and can overfit for certain parameters.
Benchmarking OpenBLAS on an Apple MacBook M1
I'm coming at it from someone who does regular budgeting and subscribes to software for that. Big communities built around that so there is potential also.

The pricing comes off as aimed at those planning big one-off trips not regular annual vacation. Those one-off trips are nice, but would be more sporadic and wouldn't you prefer a regular annual subscribing user over a one-off?

It generally costs more to gain a new customer.

At $35 for 6 months, that would be $70 annually if I wanted that. As what I'd consider an "add-on" product, it's far too much. Maybe something like $4.5/m or $45/yr.
Minimum wage by ruins a lot of poor young people ability to gain skills. And everytime its raise poor people especially poor young boys with no skills take the brunt of the pain.
You think Kalanick was pushed out because of the one self-driving crash, and not the sexual harassment scandals, theft of medical records, or threats to journalists?

(Of course it wasn't any of those - it was because the self-driving program wasn't anywhere close to working even ignoring all the safety problems. You can do all those things - the only thing you can't do is waste investor money.)
AFAICT, hardware acceleration is enabled here (even tried to force-enable it in FF, on Linux), and the CPU load is still 55%.
Where Year Two of the Pandemic Will Take Us
Just last week I finished a course on Quantum Computing on coursera[1].

I found the idea of true randomness and multiverse really fascinating. However, I could not understand the following and would greatly appreciate if someone could help me out:

-- The need for complex numbers in describing a quantum bit. Why do we have to use complex numbers when the system is very much real? What is the real world interpretation?

-- The fact that an n-qubit quantum computing system is significantly powerful than classical system because of 2^n states. But, a classical system with n-bits will also have 2^n states, isn't it?

[1] https://www.coursera.org/learn/quantum-computing-lfmu
For some limited definitions of prove maybe. https://en.wikipedia.org/wiki/Russell%27s_teapot
I'm going to say no. I am most people I know uber way less because uber pool is gone. I don't think making uberx way more expensive will do anything but drive people away from those services unless necessary.

I bike a lot more though which is good.
> lockdowns are QALY negative because they harm the young to save the old/infirm.

You seem to be framing this that the opposite is QALY positive and we should not lockdown. Harm the old/infirm to "not harm" the young.

As other comment state, this is a "pick who suffers" exercise. Sadly, we can't save everyone. We can only do our best.