skysight-inc/HackerNews huggingface dataset:
Author of PySceneDetect here: Thank you all for the thought-provoking discussions, and the attention you've given my side project. There are some specific cases where PySceneDetect achieves great accuracy (like fast cuts or fades), and some where it's currently not so good at (like sudden flashes or large obstructions). That being said I do want to track these things and come up with solutions to improve the robustness of the content detection algorithm over time.

I'm most open to any feedback or feature requests/ideas/suggestions; feel free to checkout the issue tracker on Github, or create a new entry:

https://github.com/Breakthrough/PySceneDetect/issues

Some ideas being considered/researched for future releases:

- looking at changes to image histograms

- using edge detection to improve robustness

- camera flash / foreground object suppression

- automatic threshold detection using statistical methods (currently is just a heuristic)
Author of mini-async-log and its C variant here.

Some time ago I wrote a benchmark for different loggers, but it uses an old version of Nanolog.

https://github.com/RafaGago/logger-bench
Scott Manley has a lot of great content. He also does Let’s Play of Kerbal Space Program which is how I initially came to know of him. His videos on rocketry and Space Stuff are basically how I keep up to date.
Previous discussion in 2016:
https://news.ycombinator.com/item?id=13065601
I'm in the process of reading Adler's book now, and I've found it's pretty bootstrap-able. I've been able to apply the lessons as I go along, and I've even gone back to earlier sections and increased the "resolution" of my understanding so to speak by applying later techniques.
I use OneNote. Search is fantastic, I have a section for each year, and a page for each week. I tend to move sections into an Archive notebook when they are a couple years old, but there's no real need to do that.
I've recently been intrigued by the Leiden Theory of language evolution. It basically suggests that language is perhaps better conceptualized as a separate organism that has co-ecological niche which happens to be the co-evolved biology of our minds. This semiotic organism is made of our neural components in a similar way to how simpler biology is made of atoms and molecules.

http://www.himalayanlanguages.org/files/driem/pdfs/prague.pd...

It also has some hypotheses on how God is an invitable emergence from all language, as it is the base type:

> The Leiden theory explains religion as a disease of language and predicts the existence of God and other such parasitic mental constructs as artefacts of language. God is the quintessential prototype of the non-constructible set because it can mean anything. This makes God the meme almighty.

And so, in that viewing, everything contains elements of religion, because religion is just some sort of super-meme, like the catch-all mail filter when things don't yet match another category ;) (sorry, just read the other post on mail)
Exercises in Programming Style: sharing data among threads
Fry's is the new Radio Shack.

I felt the same nostalgia when Radio Shack started folding up, but then I went to one of the stores and realized they'd become a hollow shell of their former greatness - just hawking cell phones. Just as Radio Shack couldn't compete with Amazon, neither can Fry's.

We're going to have the same nostalgia about Best Buy when that shoe drops. I was in a Best Buy recently when I forgot my headphones on a trip, and I was dumbfounded at how bad the gear was. It's less about good gear now, and more about Beats headphones and gold-plated cables. The writing's on the wall.
Been almost 50 years since we went to the Moon. So.
If it costs $100m/year to run a single hospital, it will probably cost, what, 1/10th of that to maintain a fleet of self-driving high-speed ambulances?

The highways will need to be built on the state/federal level, most transportation is that way.
Yes but without the context it's a bit hard to know what's it talking about
What I got from the video is that we have hundreds of Hubbles around the Earth but only one of them is pointed outwards at the stars.
Age isn't really a disease.
The "cure" is to not waste your life.
That's not how the C++ object model works. Objects in C++ have clearly defined lifetimes. If you reinterpret_cast<int* >(someCharBuffer) and then dereference that, you have Undefined Behavior unless an int object is alive at that exact location.

You can do

int value[2] = {0, 0};
char* ptr = reinterpret_cast<char*>(value) + sizeof(int);
(*reinterpret_cast<int*>(ptr))++;

or (given knowledge about compiler padding):

struct XY { double x; int y; };
XY xy = {};
char* ptr = reinterpret_cast<char*>(&xy) + sizeof(double);
(*reinterpret_cast<int*>(ptr))++;

or even (placement new):

unsigned char* buf = new unsigned char[12];
buf += 4;
new (buf) int(0); // Create an int object in the buffer.
(*reinterpret_cast<int*>(buf))++;
delete[] buf;

But in each case an int object has had its lifetime begin before you can treat the bytes in memory like an int. Everything else is UB.
“If you want to build a ship, don't drum up the men and women to gather wood, divide the work, and give orders. Instead, teach them to yearn for the vast and endless sea.”
Hahahaha. You got me.
Can we save energy, jobs, and growth at the same time?
Given that spammers mostly use others' computers to blast their email out, I suspect that the price point that would truly throttle spam would be higher than the price legitimate users of email would be willing to pay. I'm not sufficiently knowledgeable in spam and black market economics to throw any actual numbers around.
Would you want that for them? The idea of immortal humans is extremely unappealing to me.
The idea is that ejection should only happen when there's no possibility of recovering. If it's still possible to attempt a landing then the pilot shouldn't eject.

I suspect that's why so many of the ejections in the article were at low altitudes.
I went to the Fry’s in Austin a few nights ago and knew something was up when the parking lot only had 10 cars in it. Normally there’s 50+. Walking into the store was eerie - no one inside, no one in line. The shelves, especially in the computer section, were totally empty. Where they once had stacks of graphics cards, they had nothing. They had a couple desktops and a few high end monitors. The TV section was similar, a few high end big (75” and more) TV’s and empty shelves. When I asked an employee what happened they said the trade war in China. (Not believable cause Sony and Samsung are not Chinese) Kind of sad, it was always a fun 1-2 hours every time I went there.
I like to think of my journal kinda like a sprint retrospective. What went well? What didn’t go well? What could I improve and how?

I also built a journaling system that works via email and sms to lower the barrier to writing https://somewordsfor.me
I wish Hacker News had a section called Daily Factoids .. this particular article is really interesting but isn't News.
Looks interesting!

Side note: here's another "Magritte" from 1983: http://reports-archive.adm.cs.cmu.edu/anon/scan/CMU-CS-83-13.... Is there a connection?
Alan Turing deserves it, but do they deserve him? Few people have done so much for their country and afterwards been so thoroughly betrayed by it.
I work in the industry and it's no myth. Even using expensive relay servers doesn't guarantee the big email providers will deliver your or mail or care much to explain why it isn't being delivered. Big email won't even respond to their own customer complaints that they aren't receiving email.
I don't know if it's satire or real, but I would say it's definitely religious.
May they live as long as they wish a happy and healthy life, and may they die when they are ready and have made the choice themselves.
> are they usually that messy looking?

They don't really look much like that. See:

https://www.bankofengland.co.uk/banknotes/current-banknotes

I'm hoping the fact that's just the concept art means it'll be reworked to appear more like the existing notes ...
https://hackaday.com/2018/12/19/thats-a-lisp-machine-in-your...
Calibration Fingerprint Attacks for Smartphones
The bubble in this case encapsulates the entire UK but thanks for your perspective from a different country.
Then how come we hear about foreign born professors stealing secrets from universities? Are those fake news? I am genuinely curious.
If I remember correctly, it is fine if there actually was an object of that type (or a "similar" type) in that location. So casting to char* and back is fine, casting to char and then to int-type to inspect multiple bytes is fine as long as alignment plays correctly, ...

It seems like the function only cast to T* if the input pointer hasn't been changed (the paths that do modify it return early), so there's a value there?
USA-224 and here's the video for those interested: https://www.youtube.com/watch?v=JRLVFn9z0Gc
The thing is, chrome follows the spec. If the website breaks with Firefox, then maybe the problem is with Firefox (a bug, an unimplemented feature) itself rather then Chrome.
I was in San Jose, and visited their store there (Which I believe is also their headquarters / central distribution point), and it was just sad. The CPU section / MB was completely bare. I hadn’t heard of what was going on, so I assumed that they were revamping the area or something.

That said, I am not sure we can put the blame only on Amazon. I was in Microcenter the day after, and it was stupid busy - took 30 minutes to check out and was packed to gills. They crammed all of the good stuff of Frys into a much smaller space - mostly focused around PC electronics.
as Andrew Ng has pointed out these overly dramatic proclamations really do more harm than good by distracting people from issues that matter. No AI system we have is even remotely capable of any sort of high level reasoning and here we have CEOs going at it again with discussions about the singularity and that "love" is apparently the answer. AI at the intersection of snake oil and buddhist retreat.
"Proper" (haha, yes I know) agile is anti-dogma.

You throw out the rituals ("processes and tools", "plans") when they don't work. That's called a retro.

How do you know if you're doing it right? You'll have "working software". That's a pretty subjective idea, so you'd better have someone to help you judge that, i.e. a "customer".
Aah the entitled generation. Wait until they realize they need to create and not just consume. Unless we get Bernie in. Then we just wait for the government to give us everything.
But then why would the pilot hesitate to eject? They likely want to eject before they blackout, which is why I can imagine there could be a small chance to save the plane at human-intolerable g-forces.
Separate from any implementation specific extension, the various RxRS can be considered small or large, too.
That used to be true, but it has changed a bit over the years. One day in 2004, some team from Microsoft was supposed to visit for a long meeting. The Microsofties knew that they weren't going to get lunch at Amazon, so they ordered their own catered lunch to be delivered to the meeting room. Then they had to cancel for some reason, but the food was still delivered. Word got out and the Amazon employees on the 8th floor descended on the food like a swarm of locusts. They had never experienced free food at work before, nor would they ever experience it again.
Except for the time Steve Raichle showed up to promote his book, and set up some kind of barbeque equipment on the lawn behind the PacMed building, handing out free barbeque. People waited in line for more than 30 minutes, again because the concept of free food at work was totally unheard of.
Thank you.

The top comment elegantly makes the point that:

It would have been better for Turing if the government left him alone instead of chemically castrating him and driving him to suicide, then venerating him.

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

The fight for LGBTQ rights is far from over. As a reminder, LGBTQ individuals are at greater-than-average risk of homelessness.

https://streetlifesolutions.blogspot.com/2019/06/lgbtq-indiv...
Ask HN: Money system based on QR codes for the homeless?
Just entertaining an idea that has come up multiple times.

I don't go around with any cash these days, only phone and plastic, and the homeless don't have bank accounts.

What would it take to come up with a donation system that uses QR codes with an embedded RFID? You see a person with one, you scan it with your phone, the app opens on the profile and you decide how much to donate and if to do it recurrently. The person can then use their QR code and a secret PIN (or maybe biometrics?) to buy things in shops.

Some challenges I see:

- getting certified to hold money (FCC?)

- getting shops on the program

- procedures for lost QR codes and forgotten PINs

- people pretending to be homeless gaming the system

- transparency of the whole system
Naming things is one of the hardest problems in programming. No matter how much experience I get, I still run into problems where I can't think of a decent name for something on a regular basis.
> I don't understand how Mozilla has over a thousand employees

The figure is pretty much correct. To put things in perspective, though, only a fraction of those thousand people work on the actual browser.
And, of that fraction, an even tinier number work on the rendering engine.

The Chrome team, on the other hand, has pretty much the same number of people of the entire Mozilla (or MoCo, to be specific) but almost all of them work on the browser/rendering.
https://github.com/MateLabs/AutoOut/blob/9c3b1f4195aa96e829c...

Looks like it applies multiple algos:

{"model": "zscore", "params": {"threshold":3.5}},
{"model": "DBSCAN", "params": {}},
{"model": "OPTICS", "params": {}},
{"model": "IsolationForest", "params": {}},
{"model": "EllipticEnvelope", "params": {}},
{"model": "OneClassSVM", "params": {}},
{"model": "LocalOutlierFactor", "params": {}},
> Cole claimed that, as a result of burning fossil fuels, "the oxygen content of the atmosphere must start to decrease."

> That claim was incorrect and debunked as early as 1970 by climatologist Wallace S. Broecker writing for Science in June 1970.

Broecker in 1970 article[1] explains that a slight decrease in O₂ concentration is a definitely a non-concern compared to increase in CO₂, yet, unlike the article claims, still projects about 0.2% decrease of atmospheric O₂ for 1970-2000 period.

This is what I don't like about debunking articles. If debunking, at least they should get their facts straight.

[1] https://science.sciencemag.org/content/168/3939/1537
I have not - I'm speculating. As are the posters that claim the law is fine. But "Austin-based attorney J.T. Morris, who specializes in First Amendment cases" shares my concerns.
It’s not like it’s too late, especially with the US pursuing 19th century solutions to 21st century problems. The level of understanding possessed by the US presidential candidates for the 2020 elections is a little worrying. For starters, we have a number of folks who want to break up big tech without a corresponding plan to break up the oligarchies held by the big telcos.

The article alludes to a major Chinese shortcoming: that it thought it could own semiconductor manufacturing by owning the equipment. A lot of US nationalism is centered on how the US leads in terms of culture. It would be precarious to assume that we should really be so advantaged, or more broadly, to pin your success on the failure of your competitor.
Do retros allow you to throw out agile and retros?

In practice I find retros to be a special place where engineers can vent their discontent and nothing will ever be done about it.
Having the option is better than not having it
> His work shortened the WW2 by atleast 2 years.

And was then pushed to suicide by the intelligence agencies of the country he saved hundreds of thousands of lives for.
The solution is simple. If you are a developer, then use Firefox as your browser. And make sure that other people in your organization test for Chrome ;)
I always considered Alpine to be that slim OS image that is used as Docker containers. I have never considered it as a serious bare-metal host. May be it is indeed better than void for that purpose.

I wrote about void because it “felt” like the philosophy of BSDs in the Linux land. Which is quite a draw for me. Binary packages, up-to-date kernel, and a sane init system felt fresh and in KiSS realm.
He's a piece of shit but it does make me wonder if society will be so utterly fucked in 50 years that he'll be remembered as a hero
I was unaware of his story growing up, but he plays an extremely small role in one of Feynman’s autobiographies, IIRC supplying the car Dick used to visit his wife in the hospital. Feynman wondered later whether the trunk held classified materials.
100 years ago rural American living was much more like those Bavarian towns. Where do you think all of those relatively densely packed small downtowns dotted across the country came from?

What changed was the car and development policies.

Anecdote: My father grew up in the 1950s in a very rural area outside Chicago, the type of area where you gave a 10-year-old a rifle and let him wander around rabbit hunting. He once visited my house in San Francisco, from rural Georgia, for my son's first birthday. He remarked how the shops near my house, in the Outer Richmond neighborhood, reminded him of the downtown area he worked as a teenager. The downtown he grew up near is now nothing like when he was a kid. Now it's hollowed out and less dense and lively.
Are you just speculating, or do you live in the UK?

From what I’ve heard, £50 notes are used more rarely than $100 bills are here in the US.
By Fox News politics I mean opposition to stuff like the robust welfare states and strong labour unions you mention.
Neat. Your code actually contains the issue I was curious about. Why do you log at level ERROR? As I understand it this causes glog to synchronize the output stream after every message.
What are good places to buy electronic components now?
List of Optimization Software
I love the car analogy. Once something becomes your lifeblood, tinkering is much less fun.
For the crime of being gay.
Yes, both look very interesting!

Here's another one: the Magritte meta-description framework for Squeak Smalltalk, often used with the Seaside continuation-based web framework:

http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial?ch...
If they could pay for it then rural hospitals wouldn't be failing.
Either way, it's incredibly disconcerting. Buying things online should be a choice, not an obligation.
> casting to char and then to int-type to inspect multiple bytes is fine as long as alignment plays correctly

It is only fine if there were the same exact int types at that address. Remember, UB usually isn't the reinterpret_cast but the dereference.
That’s poetic, but oddly terrible advice as we can actually build ships.

Longer lifespans is already a goal, but aging is unlikely to be “solved” in in the next 100 or even 1,000 years. People took much longer than that to figure out how to fly and we have been trying to solve aging for as long if not longer.

Consider buildings age as do diamonds. To fix aging we need to get bodies to do things like regrow teeth and replace the circulatory system. Growing extra lungs to replace lungs being filled with junk etc etc. When we start syncing redundant brains, that’s when we can start ending aging.
Another thing that happened is that not as many folks build their own computers. It used to be a rite of passage to build your own gaming rig, and your own linux servers.

Fry’s was indispensable because out of the ten to twenty parts that went into your machine, one would invariably be a dud. If you ordered on Newegg you’d have to wait for returns, wait for delivery, etc. At least this particular system-builder turned to Fry’s because turnaround was so quick with a physical storefront.
> it is fine if there actually was an object of that type (or a "similar" type) in that location.

That is correct. See my other nearby reply.

> So casting to char* and back is fine

Indeed.

> casting to char and then to int-type to inspect multiple bytes is fine as long as alignment plays correctly, ...

Only if the place in memory you are pointing to actually has a live int object. In particular, inspecting the byte representation of an object is fine (including copying the bytes elsewhere, which is why they could just use memcpy instead of reinterpret_cast).

See also http://eel.is/c++draft/basic.types#2 and surroundings.
Yes, i primarily use ff dev tools. And it has greatly improved in the last couple of years. But there are still some shortcomings. For example websocket frame debugging is just barely on nightly. Load time for a web app with thousands of unminified sources with devtools open is terrible. Plus a bunch of small annoyances. It's not so bad i won't use it. But it does make me wish firefox had the same resources for devtools that google does.
The Lisp Machine has an emulator ported to ARM64. Twenty years after it went bankrupt.
Are there any companies getting cross-team collaboration and prioritization right? I'd love to read more on how they approach it from a planning standpoint.
The grass is always greener. Earning those salaries usually means you're in the bay area, where the median home price is 1.5m USD and you most definitely won't get that 4th bedroom.
I think Obama will most likely be on a note at some point
Tell HN: Thank you for not redesigning Hacker News
I’m currently in a country with low speed internet and the entire ‘modern’ web is basically unusable except HN, which still loads instantly. Reddit, Twitter, news and banking sites are all painfully slow or simply time out altogether.

To PG, the mods and whoever else is responsible: thank you for not trying to ‘fix’ what isn’t broken.
If the US feels it's in a competition with China over STEM, why is it helpful for Chinese expats working in the US - especially those in sensitive STEM fields on behalf of US universities or tech companies - to feel persecuted?
Living forever seems inevitable to have unintended consequences, so it's hard to say whether it'd be a good thing or not. They could end up seeing it as a mistake.
I am not zoom, but I will try to fix it !
Please tell us all your worries about it
I think it's worth stating that Musk doesn't argue that Superhuman intelligence is a few years away or that we even know how to do it - rather, that it's inevitable eventually.

Musk: But even if the rate of technology improvements slowed down by 1,000, then okay, advanced 1,000 years, or 10,000 years, this is still very tiny.

The average person isn't thinking on the same time scales as Musk, so these prognostications are kind of waved away.

It's important to understand though that Minky, Turing, Shannon etc... all believed that in the long run computing machines would eclipse human capabilities and actively discussed and wrote about that possibility.

It's currently taboo to talk about it though because we all fear overhype and the next AI winter, also, it's not like we can really work on those issues right now anyway.
Yeah, it's all somehow connected. My sibling's first problems were with sleeping and insomnia, long before the first psychotic breaks (years). Even now it's hard to for them to keep a steady sleeping schedule.