skysight-inc/HackerNews huggingface dataset:
The only issue I have with optimization porn is that it often handwaves away the time and thought that went into finding clever optimizations. In some cases it's clear how a problem can be better optimized. In many cases, it's not so clear. It takes someone experienced in development, an understanding of software and computational complexity, and the insight to see optimization opportunities or have used them before.

I also live in scientific computing world where the author lives and many other scientists don't appreciate the complexity of these optimizations the author hand waves away. It's easy to after the fact say, "well obviously look at this.." and show after the fact runtime performance improvements, it's another story to explain how you arrived at this, the time thinking about the problem sitting at dinner and before bed, while exercising or having coffee etc.

My biggest gripe with developers in this regard is how clever people like to act. They have a challenging problem and often spend significant amounts of time, then pretend like it happened over lunch. This does happen but from my experience, it doesn't happen regularly, not as many like to portray. You often iterate through several other optimization approaches aor ideas that fail or are discarded.

It's similar to when you see obnoxious compressed mathematical notation in a presentation where the author jumps through something they spent years on like it's trivial. If it was trivial, it wouldn't have taken you years and although a solution presented and checked to a problem is much clearer now than before, it's by no means obvious. This gives other professionals irrational expectations of resource allotment (in terms of your paid time) to solve these problems and makes your life more difficult than it needs to be.

Imagine if after Einstein spent time developing special relativity he skipped it all, hand waved, and said, "well clearly e=mc^2..." no--absolutely not clearly, but that's amazing insight.
Disney and Integrators versus Aggregators
What change? I am not going to worry about some abstraction. You have to be more particular. In my case I change features on on need basis with no problems. Hence I have 0 issues with the monolith. Micro- services actually do not really make life any easier. All that immense cloudy push is driven by handful of very big corps who'd build architecture for scale that most of the businesses would never even dream to approach. So I'll let them worry about their problems and I'll worry about mine. I am not in business of transferring my money to cloud paying 10x and more comparatively to my current solutions.
> What Mars lacks is a source of power. The solar incidence may be too weak to support much of anything.

Says who? The solar constant on Earth is about 1360 W/m².

Due to the atmosphere, only about 1025 W/m² actually get to the surface.

Mars, just from applying the inverse-square law has an average solar constant of about 589 W/m². Due to the lack of clouds and thin atmosphere, most of that reaches the surface.

So basically you get more than half the energy per unit area than on Earth. Coupled with batteries or power-to-gas and even wind power, I see no major power problem on Mars.

It's not as if there's a lack of usable land for solar arrays or big stacks of batteries on Mars...
Oh yes, class scheduling is about the most political aspect of high school management. My dad is a retired high school teacher, and he served as a deputy director for several years. Part of the job is to make the schedules for everyone, and it was his most dreaded task every year.

Early in his career, it was done by hand, with large sheets of paper and moving cards around until all the pieces fit. Later, a couple of software companies came around, and they had this service where he would show up at an office, discuss the constraints with an operator, and choose among a handful options for the final schedule.

However, the crux of the problem was never the scheduling itself, but the accommodating of constraints which, given that teachers are in-class for 18-20h a week, but school is open for 30h/w, can get complicated pretty quickly. Some examples:

- Every teacher wanted to have one day with very light load, 1-2h max, so they could run other chores at home. Some people were very specific about this (i.e. they needed early Tuesday off), while others didn't care that much.
- Nobody could just have a no-class day, due to administrative and legal reasons.
- Having a gap hour without class was a big NO, because it adds to the time requirements without delivering actual teaching, so it was to be avoided at all costs.
- All things equal, senior teachers outranked their junior peers in terms of choosing class levels, lab vs lecture, etc.
- Some teachers had their own children attend the same school, and nobody wanted to teach their own kids (nor would the kids)

All in all, no matter how much time and effort he sunk into scheduling to everyone's liking, there was no perfect solution, and every single year there were aggravated teachers who would raise hell. He was called inhumane by someone who claimed the right to a free hour every morning to drop off her own kid, but only got her wish 4 days out of 5. He had peers stop talking to him over class level choices. The only reason he kept doing it was because the director was his close friend, and he asked my dad repeatedly. But he didn't wish that job on his worst enemy.
People obsessed with big O are super annoying. To them O(1) trumps O(n) even if it's a tiny little set of data where clearly the latter is actually faster (stopwatch time).
Algorithms are important but are especially powerful in combination of knowing computer architecture and programming language intricacies.

Many years ago I was asked to look at the program written in C++ that calculated Kendall-tau correlation matrix for a large amount of data. Basically Kendall Tau is a robust replacement for Pearson correlation and it had to be calculated for 0.5M^2 elements and calculation of each element needed calculation of Kendall Tau on two series of numerical data of length N. Both M and N were on an order of few thousand and naive implementation has the complexity O(N^2 x M^2). The program ran for 6+ hours.

After looking at C++ I realized that a lot of time is spent just copying data needlessly (a result of not knowing the difference between passing a vector and reference to it) and needless memory allocations and deallocations. I did a rewrite from scratch, keeping the tests, but not copying anything and allocating a minimum amount of memory only once, employing the cache locality, spreading the calculation with OpenMP and finally - realizing that Kendall Tau can be done in O(M^2 x Nlog(N)) I found that out on my own, just by squinting and realizing that calculation of Kendall tau for two series is essentially sorting, but later found out that e.g. scipy implementation uses the same approach.

The resulting program ran for 4 minutes on a 2-core and 4 threads.
That was my thought as well. It's a weird article, there's no shortage of stocks and 5-year time frames you can pick to dominate whatever you wish.
Yeah, it turned me off reading the rest of the post.

It started to sound like "I read one Wikipedia article on the halting problem, so I'm a computer scientist...Allow me to show you how I am smarter than all of my colleagues who are only scientists."
Okay I get what you mean now, I looked at it from a legality POV. I agree with you that plagiarism might not be illegal but still unethical.

Why do you not just pick a license that forbids uses not compatible with your ethical standpoint, and chose to just not enforce the terms should they be violated? This way, companies are likely to respect your intent and preference and you don't have to make use of a legal system you don't support.
apathy - neutral / "don't care"

vs

antipathy - negative / "hatred"
QML runs like shit in VMs. That's not Plasma's fault, of course.
What the hell is with last-mile providers and wanting to double-bill for every bit of traffic that goes across their network?
I suspect they're not using techniques like procedural generation, which can pack a lot of highly detailed graphics into a tiny space. It's the difference between a vector and raster image.
.... That's not how the law works.

You're trying to interpret a legal document like a computer reading a piece of code, and not even reading it correctly at that.
Europe's military as it is is enough to counterbalance Russia's. The US military presence in Europe is a relic from the cold war.
Sounds like transit scheduling in the SF Bay Area. I forgot how many times I've seen a Caltrain depart just as a matching BART train was arriving in the station, just because they're separate agencies who technically coordinate some schedules, but in practice don't have any system constraints to enforce synchronized transfers.
Investor’s Portfolio Optimization with Python Using Practical Examples
Flight Operations Aboard the Navy's USS Ronald Reagan
Enforcement of public domain is done through the legal system, as is all intellectual property enforcement (or unenforcement).
Also this from google forms

https://news.ycombinator.com/item?id=23004180

===

Lately getting these spam emails via google forms

https://imgur.com/a/ueO4001

Reporting as spam doesn't work. the bitly link takes to a .tk domain.

Anyone else facing this ?
I agree.

In fact, automation has been the hallmark of the western world, and in the US in particular.

Labor costs have always been high in the US and automation has been used since the beginning - for hundreds of years.
A Geohash (https://en.wikipedia.org/wiki/Geohash), a (decoding of a) recursive spacing-filling curve, would be much faster still: you literally slash a couple of characters of the tail of the hash to end up with your bigger cell, etc. It does mandate the way in which the grid/globe is subdivided though, which may not be suitable for the stated case.
until it ends up in a landfill because an hour later the author was bored lol
Seems pretty obvious to me. It’s one of the last remaining places where you don’t have a screen in your face. No wonder we suddenly have ideas there.
Windows Zero Day PoC
I've never seen it used that way. In WTF and FML, yes, but never in FTW.
Trying to get Bootcamp grads to learn CS is like pulling teeth. The worst thing I hear as an employer is, "I dropped out of my CS degree because the last couple years of classes weren't applicable to daily programming".

I've started Qvault to try to address the problem... We'll see where it goes.

https://app.qvault.io
I'm very concerned about the risk of catching it twice, as my wife has been do ill with covid once already - which developed into long covid, so have been following stories like this.

That said the distance between his first symptoms and his 1st positive test seem long, which means there could be a false positive. Talking with my wife she said that some in her group have had repeated positive tests for well over a month since first symptoms.

We will start to understand more now, back in March it was very hard (in the UK at least) to get a test if you weren't hospitalised.
Given the rise of "zero covid" ideas, which are unfeasible in the long run or even medium term (even with New Zealand's success, all it takes is an error... and of course, we all make mistakes), some countries are mistaking lockdowns for treatments.

OTOH, I'm not aware, at least in the EU (where I am located) of large pharmacological efforts sponsored by governments: most of the results have come, for good or bad, from the USA's Warp Speed or the UK. Yes, BNTech and CureVac are German, but they are exceptions, rather than the rule.

It isn't even proven that lockdowns can actually save lives, although the last study touching this among a whole load of other risk factors (from U of Toronto) can be now considered old (data up to early May).
The tagger's speed was probably enough for what the professor intended at the time. They probably knew how to optimize it, but didn't because they had no reason to.

I say this as a professor myself, because we do that all the time in my team: we create some software system (also in NLP, by the way), we do experiments to show that it improves whatever metric we are interested in or that it teaches us something interesting, we publish a paper with it, make the code available and then move on to the next paper. That's what we are typically incentivized to do. The time spent into optimizing a system that we are not going to take to production anyway is time not spent doing more research. Which doesn't mean that we don't know how to optimize.
I'm not a Londoner, I come from further south, in an area that has an almost "Received Pronunciation" way of speaking.

When I moved to the US, I discovered I used two bits of it really often. "Scooby", that you mentioned, and "Butchers". Butchers Hook -> Look, e.g. "If you can give me a couple of minutes, I'll take a butchers at it, see if I can see what's going on".

I had to break out of that habit fairly quickly, cut down on a bunch of confusion for folks. A coworker at the time half-jokingly commented that he didn't understand half the things I said, but always figured it out from context.
The US tech war against China acts as a massive subsidy for China's domestic semiconductor companies. I suspect that is why the Chinese response has been so muted.
Yes, well, I have many software projects that are well-known, so I am cursed with a good problem to have. I therefore must balance my ideology with pragmatism.

I was a little coy above. I said that I "release my code into the public domain to the extent possible." In practice, I dual license my code under the UNLICENSE (public domain, effectively) and the MIT. I do this because the UNLICENSE is unsuitable either because people are too risk averse for it or because public domain is for one reason or another not recognized in their jurisdiction.

I didn't elaborate on this in my original comment because it's not really pertinent. I think.

But yes, I can't put code out there without a license because I ultimately want people to use it. And I've made the mistake of using a license that people don't like to use before (the WTFPL). You do indeed get bugged quite a bit.
Harvard did due diligence before agreeing to release Open edX under the AGPL. That was a $30 million investment on their part.

I guess when you say "has absolutely not been evaluated by people who should care," it's because you think anyone short of Yale isn't a real lawyer. Those jokers and clowns from Harvard....
I didn't use to log into to watch YouTube and it gives fairly large thumbs up/down controls which I used vigorously - the "Don't show me this again" is behind the tiniest (i) icon.
The next level is "Google for the win", in which you realize that this particular part of your problem (nearest neighbor search) is so ubiquitous that there is library for it in pretty much any language.
There are not that many of those public stocks, but NVDA, TSLA, AMD and Bitcoin are among the clear winners of the past 10 years. Also none of them seem to be at their peek yet, as all these are in growing markets.
In places with, relatively speaking, rich social services programs are essentially jobs programs. The budgets are caseloads are never reflective of need, and most families would be better served with getting a check than meeting with a burnt/checked out social worker. Often times programs run by the state are so taxed that they are entirely incapable of meeting the metrics required by law.

Those trillions would have been better spent expanding government programs in: land preservation, social services, healthcare, stem, and infrastructure maintenance and expansion. Instead it's just sloshing around the accounts of people who neither understand nor care about the plights of the average American.
Which projects require SVP sign-off?
Teens' mental health did surprisingly well in quarantine
We added recently more documentation around plasmoids: https://develop.kde.org/docs/plasma/. I wouldn't qualify our documentation as great yet, but there is a currently a lot of effort in making it better.

There is also already a web view plasmoids, but it is probably included in the plasma-addons package.
I implemented webmentions for my static site back around the end of 2019. My solution for receiving on my static site was to just log POSTs and review them with my eyes. Then if someone has actually sent a webmention (as opposed to pingback spam) I just use curl to respond. There's no need to have anything automated at all.

ref: "A static, manual system for receiving webmentions (and pingback) with nginx" http://superkuh.com/blog/2020-01-10-1.html
Is it the general "algorithm" that's still in use? Or is it more like there's a collection of known slang phrases, that happened to have been generated that way in the past, that are known and used.

For example, what's the newest example in use? For that matter, do people still use it as sort of a "puzzle" for their friends? Or do they mostly use phrases that are known by all already?
> "It started with the loss of religious faith in the 19th century and peaked in the late 1930s, a period of dislocating social change and mass bereavement following one war, with another seemingly imminent."

It is hard to overstate this point. From our relatively comfortable vantage point, it can be hard to fully appreciate the deep psychological impact that the unprecedented loss of life must have had on so many for so long. Eveyone knew someone who had been killed, and even the tiniest villages have war memorials to those lost (there isn't a single "thankful village"[0] at all in Scotland for example). Arthur Conan Doyle, of Sherlock Holmes and later "spiritualistic study" fame, even said in a 1930 filmed interview that "it was only in the time of war that all these splendid young fellows were disappearing from our view and the whole world was saying what has become of them... have they dissipated into nothing ... it was only at that time that I realised the overpowering importance to the human race of knowing more about this matter"[1].

Also war related, there's an interesting story about the last person to be imprisoned under the Witchcraft Act of 1735. It was during the Second World War, in 1944. She was actually prosecuted under section 4 of the Act which covered fraudulent "spiritual" activity[2].

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

[1] https://www.youtube.com/watch?v=XWjgt9PzYEM

[2] https://en.wikipedia.org/wiki/Helen_Duncan
I've updated branch suggestions to now show both relative and absolute times. Cheers!
I think there were just a bunch of other features they wanted to give exposure (ML, speaker, etc), and the kid-friendly tools out there for it won't support Zigbee.

However I bet Nordic's examples for Zigbee on nRF52833 would work pretty much as-is (maybe just changing a few pin names) so you could get up and running pretty quickly.
I usually start with the comments to see if it's worth reading, often it isn't, but the comments were interesting all the same.
Reminds me of the halogen 'heating' lightbulbs I saw at a market in Hanover.

In the context of brexit, I'm generally pro-EU. But nobody's perfect, and the regulations around registering plants really felt like a very nasty anti-democratic power-grab. As someone obviously well-versed in it, what is your attitude?
Pleasantly surprised to see someone already mentioned this. With 10x as many people developing kidney stones in their lifetimes compared to having celiac disease, it would be great if foods came with an oxalate warning as needed.
I also used Dice C, starting with the free version that I got from one of the Fish Disks. I didn't have dialup access to anywhere but a local computer retailer used to charge NZ$5 for Fish disks, which were my main source of software in small-town NZ.

For a school project (fractals!) I needed floating point support, which the free version of Dice C didn't have. I wrote a letter to Matt Dillion and he very kindly sent me the 3 disks of the full Dice C by return post (about 4 weeks). I still remember what a pain it was to arrange an international money order to actually pay him.

That must have been 1991. My program very slowly drew a 320x256 Mandelbrot set in 32 colors - as I recall it took about 90 seconds on a A500.

By coincidence I was mucking around with Cuda the other day and wrote a short un-optimized program to draw a 2048x2048 Mandelbrot in 256 colors - over 80 times more data - in about 2 seconds. This 2 year old laptop is about 3680 times as fast as my old A500.
I agree that a liberal society and the profit motive create an environment that fosters creativity. Freedom of movement between jurisdictions is important too.

But people are down on corporations for good reason. They're a poorly-regulated entitlement.
I think you're making false equivalences.

To be clear, there has never been good scientific evidence that masks are ineffective against respiratory viruses. I think WHO, CDC and Fauci made grave errors at the time by making the argument that mask-wearing by the general public "doesn't work". The clear (and quite understandable) fear was that there would be a run on masks by the general public, so instead of telling the truth ("we need the masks for healthcare workers") they made broader and confusing statements about the effectiveness of masks that were not supported by the underlying science. This had the terrible effect, as your post shows, of making people even more wary of scientific pronouncements. Mine is not an isolated viewpoint. There was a good opinion article in the Washington Post at the time by an influential researcher where she argued the same thing.

Contrarily, the good studies that have come out about HCQ have nearly uniformly shown their potential danger. There is simply no equivalence between the scientific data that HCQ is harmful and the data (that never existed mind you) that mask-wearing is ineffective.
Makes sense AVO has a big seed
China did originate the virus as far as anyone can tell, they were not forthright with evidence, didn’t shut down travel globally and they seemed to push malign influence through the WHO.

It’s not hard to see they have lots of blame and that has nothing to do with the US administration.
I once worked on a construction defect lawsuit involving a radiant system with pipes embedded in concrete, and repairs were a costly nightmare whenever anything went wrong. Is putting them in concrete uncommon?
San Francisco Apartment Rents Crater Up to 31%, Most in U.S.
I was lucky enough to come upon a similar speedup in some code that was used a fair bit at first job; multiple order of magnitude speed up by applying some data structure knowledge.

I feel like base level algorithm/ds knowledge is getting higher so these will disappear, even if you don't know the exact solution your intuition will make you think "there's no way this needs to be so slow" and then you do some research/thinking.
Someone should dig out the relevant source code for you to fix it.

I'm sure a good PR will be well received :-)
Because it takes up less real estate and I know what app I’m looking for. I don’t have separate windows for all my Firefox tabs even though you could consider them to belong to 5 or 6 different categories.