skysight-inc/HackerNews huggingface dataset:
Remember the early web, when people used to look at existing websites to learn how it was done?

“View Source” used to be a career-starter for a lot of people, but has become largely useless today due to transpilation, frameworks, and other abstraction layers.

I’d love to see a browser extension provide an “Explain Source” context menu item, which sends you to a pane in Developer Tools that shows:

- an estimation which frameworks the page is likely using (a little like the bar chart that GitHub shows for languages);

- a list of dependencies that the website is likely pulling in, with links to their respective homepage and GitHub page;

- their version number(s), if detectable;

- language(s) in which the website was likely written; and

- a small internal API so people can contribute recognition rules for more frameworks and libraries via pull request.

The target demographic would be students of all ages (starting at elementary school), and other people who’d love to learn about web development but don’t quite know where to start.

And who knows, bringing back that explorative, hands-on philosophy may well help a single person get into web development – maybe on the other side of the planet? – and I believe that’d already be worth the effort.
Docs are 404, the Heroku app is nonexistent … is jasonette still alive?
"American" or "Association" football ? (Ironically, FA-aka-soccer fields do not have a standard size, only standard boundaries, so they would not be a valid unit of length anyway...)
Why can't Russians hack Starlink satellites?
Hmmm. I am happy for now but I will take a look on a spare device. Thanks!
A common theme I see, is tech venture capital types without any physics background complaining about the over regulation of nuclear energy. If there's one technology you'd rather over regulate than risk a catastrophic externality, it's nuclear.

I'm just imagining what a shit show it would be if the "move fast and break shit" Silicon Valley mentality was applied to nuclear energy. No thanks.

I would strongly prefer a cautious but ambitious government plan spear headed by physicists from the national labs.
Analysis of prehistoric faeces shows Stonehenge people had parasites
SEO is such a moving target you have to sell some snake oil to survive long in the business.
Vulkan. If they'd open their tech up, none of this stuff would be a problem.
I don't disagree. It's a rare model for a social media site, though, and so it's noteworthy.
That’s interesting, in my batch it seemed like 90% were from humans.
Yep I got 1/29 human created. Easier at that point to just guess robot every time which ruins the game
The OA, in particular, was one that I loved. It lived in this niche that I really like. Abstract supernatural horror? Lynchian stuff.

Dark was around the same time as well.

My perception of the untouchable Netflix was changed when they cancelled The OA. For one, I didn’t really trust them with multi-season serialized content anymore and, two I started to notice good content on other streaming service.

I sort of wonder if every faithful Netflix subscriber had an OA moment over the last few years? Where they lost faith in the service because of a poorly-handled choice for a show they enjoyed.

(By the way, if you dig the OA and Sense8 you might like Severance on Apple TV.)
For Go game scoring, just use an app. Our local go club no longer count in our Rank Competition. Take a photo as a record and you get the result as well. (First 10 free for some …).

Bridge if you pay the uk has a very good web site for learning.
History Maps: explore and create timelines and maps of world history
I scored 29/30, only missing one because there were so many machine generated ones I started to just click the machine button repeatedly. Then I checked more closely and got all the rest right.

The machine generated ones are usually easy to spot if you look closely, because parts of the image are just nonsense (e.g. weird patterns, things out of place, odd focus). Machine generated images clearly have no actual understanding of the real world.
i loved this one

https://imgur.com/a/hF6R5Sx
> In absolute terms coal and gas make up approximately the same share of Germany's capacity as it did in 2010.

You're being very disingenuous here talking about capacity. What matters is how much fossil fuels actually are getting burned:

https://en.wikipedia.org/wiki/File:Germany_electricity_produ...

Electricity production from fossil fuels went down from 360.3 TWh in 2010 to 328.5 TWh in 2021, which is a reduction of almost 10%, while increasing electricity export from 15 TWh to 19.3 TWh.

https://ag-energiebilanzen.de/wp-content/uploads/2022/03/STR...
Bond Investing in Inflationary Times, by Larry Swedroe [pdf]
Completing my daily spiritual practice everyday has always been a source of happiness and bliss for me.
Some kind of vulnerability tracker for dependencies. You type `gradle somecommand` and it will walk the dependency graph, incl all transient ones, and show you which dependencies currently have an active vulnerability affecting them and the version that fixes it.
I still largely stand by my point. But there are definitely subjects that Dall-E is worse at and would give the game away. I guess it depends what you mean by cherry-picking - it's certainly not the case that most Dall-E output would be easy to spot - more that it has some specific failure cases.
Find a way with entr[0] and an http server to tell the browser to reload the currently viewed file if it changes.

Today, entr allows you to restart a command when a file changes.

A web server allows you to serve local files to your browser.

If you use npm, lots of libs allow you to serve your web ui, and make the browser reload the page when something has changed.

But this is tied to npm, and even to the framework you use (eg: angular has its own way).

It would be cool if we could have a way to do that for any tool/language. Like, could a tool tell the browser to reload, because that tool was restarted by entr due to a file change?

This would allow live preview on any kind of files, or maybe even program output in the browser without having to press F5 every time.

[0]: https://github.com/clibs/entr
XCodeCode? :)
Towards Oberon Exception Handling
My gut feel is that the .Net ecosystem is probably more complete than the Rails ecosystem, but part of that is because there's a larger market for commercial components. Like you say, tradeoffs.
You could try AppCode (personally I ended up preferring Xcode despite all its pain points, I can’t really get on with Jetbrains tools, but YMMV!)
It's surprising how many times the question you are answering gets asked and people still don't get it.
Get a free app and 9x9 should not be hard. For the real 19x19, need a teacher I think.
We are all blade runners now
In UK universities at least, circa 1990 we had computer labs/rooms which were home to dumb terminals, or if you were lucky, Atari STs running a terminal emulator. Some of us brought our home computers to university, they were mostly Atari STs and Amigas - I actually lugged my Amstrad CPC6128 and colour monitor to campus, but never used it for course work as there was no networking in the dorm rooms. Some new-build rooms had it by 1990, and a few people had PCs linked to it by then, but only used as terminals to the mainframes and minis on the campus network.

One person on my course caused a minor stir by bringing a "laptop" to a lecture to take notes in about 1991 - the keyboard was so noisy that they only did it once!
While others are replying with ‘this or that already does this’, I totally feel you. All the log viewers I’ve worked with (latest ones being DataSet and Kibana) have some holes in their UX. When that compounds with badly configured log pipeline it’s really painful.
Honestly, how? They provide the parts at a reasonable price and even provide the actual tooling they use to get something as close to OEM repair as possible. There are a lot of things faulty at Apple, but this is not one of them.
2021 is very similar to 2019. Only 2020 had extraordinary low energy use:

https://ag-energiebilanzen.de/wp-content/uploads/2022/03/STR...
Noone says you don't have to use nuclear. People say that building nuclear against climate change is an inferior intervention to fix climate change.
I thought it is totally normal to have sleep wake cycles? This is not science obviously but my Sleep Cycle app gives me lower scores when I don’t have these cycles, compared to when I have several (3-4) such cycles.
> Blog posts are making the rounds listing all the challenges with SPAs: history, focus management, scroll restoration, Cmd/Ctrl-click, memory leaks, etc.

I guess? Like, who is implementing all this BS themselves? Every time I've written a SPA, my framework and/or routing library handled all this crap for me. None of these "challenges" were ever problems for me, and this sounds like another case of programmers creating an issue where there actually isn't one.

If you use a proper framework or routing library that changes the history state of the URL, it's pretty much impossible for users to tell whether something is a SPA or an "MPA". So who cares?
Russian roulette is only dangerous while you’re playing. In fact, it’s honestly risk free unless it’s your turn.
Except this is the problem with looking at patches in Github, as opposed to as source code. Github shows you such an utterly minimal view of the overall flow of the code that it's impossible in a lot of cases to tell what the intent was or why - you don't even have function-level context for it.

Compare to if you simply checked out main and the PR, and ran a meld across both directories - changes would be highlighted, but now you have to read the code in context.
I disagree, the post is itself a waste of time and energy because this is a problem that basically nobody cares about or is even aware of. It's not a real problem.
How does it compare with the FOSS Zotero? Linux users don't get DEVONthink so we need to make do with other resources. I have been trying to pick a reference system for my larger note-taking flow using mochi.cards
I don't know if they have videos beyond 8 (the highest available to me in unity) but I founds Mads Torgersen own walkthroughs very good and succinct.
https://m.youtube.com/watch?v=VdC0aoa7ung

Edit - sorry c#9 seems to be available in unity now
Also maintaining fullscreen play during video changes (playlists) is only possible in SPAs. In an MPA, every page re-render would require user interaction to go back into fullscreen again.
If the financial analyst does not have a (possibly piecewise) software function to at least test with backtesting and paper trading, do they even have an objective relative performance statistic? Your notebook or better should also model fees and have a parametrizable initial balance.

Here's the awesome-quant link directory: https://github.com/wilsonfreitas/awesome-quant
IIRC it is studied that cars behave more dangerously around bikers with helmets while they give a wide berth to unhelmeted bikers.
But does this mean nuclear is uneconomical?

Nuclear energy costs about $170/MWh, coal about $100 and solar/wind about $50/MWh.

For comparison, the average price of electricity in the US in 2021 was $140/MWh.

It's almost guaranteed that in 2022 it will be much higher, because the jump in price of both natural gas and coal.

[1] https://www.eia.gov/todayinenergy/detail.php?id=51438
Can we also talk about light pollution? Birds aren’t sleeping either.
I sometimes do. But outside of the cultural hurdle, movies aren’t planned that way so depending on what service/app you watch you‘ll need to remember where you stopped.

Rewinding until a point where you can get back the context can also be a PITA, and for many movies stopping somewhere in the middle lands you in the flat part which makes it extra dull to resume watching.

All in all, I’ll often end up dropping a movie if it was 3h30 and there was 40min left to watch, it’s just not worth it in general.
Seems unreachable using Brave. Continually redirects.
This assumes that the risk primarily originates from the riders, not from other traffic participants.

Is there any data to substantiate this?
The greasy spoon chronicles: a day in the life of the Hope Workers Cafe
"it is studied" Source please? This sounds like absolute bullshit. I've known so many people who have been killed or permanently disfigured because they didn't wear a helmet while biking in a large city. Cars don't give a fuck about us.
I never understood why Netflix is assumed to be more convenient. There are illegal streaming websites with better UI and user experience than Netflix.
I don't imagine that constitutional amendments are fully implemented with immediate effect in areas that are congenitally hostile to them is why. It is not exactly news that the South did everything they could to resist the Fourteenth and Fifteenth amendments for over a century. They still failed - and why did they fail? Because those amendments were eventually used in a renewed federal effort to bring the South into the compliance with their most basic standards, an effort that was put on hold for decades. You can't expect history to happen overnight, sometimes it takes time.
You just talk to them.

"Them" are only potential customers until they pay you money.

Since "them" are not giving you money, you've got nothing to lose from rejection.

Good luck.
Exactly, if it's not something that can be isolated/determined to ONLY affecting the app itself, it shouldn't be done, and if you really really want to do it, there should be a big fat warning, but I really wouldn't..
That would be great.
You could also recommend extensions to be installed if a website uses a certain framework. For example, the react Dev tools extension can be used to view the source of react apps in a more intuitive way compared to the rendered html file.
I remember being jealous of those doing Cybernetics at Reading (UK) as one of the big manufacturers donated a PC to every student on the course.
This is exactly why I got off the MS merry-go-round. The strategy seems to be to keep developers constantly chasing the Next Thing so they haven't got time to explore alternatives.

I detect a similar strategy with Apple and the app store: make it so that the long tail of small developers can't invest in more than one platform by moving goalposts so frequently you spend any spare cycles you have trying to keep up.
There was one study about that, which was... not very robust science. It relied on self-report of the biker (and if I remember correctly, it was just a single one, so not enough data).
Messenger has E2EE and disappearing messages now as well.
German government was perfectly aware how Russia used money they receive for energy resources. Chechen wars, Georgia 2008, annexation of Crimea and war in Donbas 2014. Moreover, sanctions against Russia imposed in 2014 were very weak and many German companies found ways to continue to export to Russia military equipment. For example, transmissions on many Russian tanks got many German components. And Russia also has used the money to corrupt politicians in Germany.
"riders wearing helmets take greater risks"

That's why I've glued 3-inch shards of broken glass to my steering wheel.
> on the internet

The GP didn’t limit advertising to the internet.

Imagine you’re a law firm advertising on radio, billboard, bus stop benches, AND Instagram/Facebook.

Do you really know which half is converting?
Helmets are trying to reduce an already tiny risk.

We live in a world of safety fanaticism.
I own server API SDKs at Mux, and we use OpenAPI to drive our generated ones. If you use OpenAPI and generate client SDKs from it (rather than expecting end consumers to do so -- there are usually enough rough edges in the base SDK that I find it worth doing so) it's pretty easy to pack these in by editing the README templates on a per-platform basis or the like.
TypeScript stuff:

1. A tool for debugging TypeScript (in VSCode) that shows the provided and expected types, and how they are different, in a way that is easy to read.

Instead of having a bunch of nested paragraphs in plain text, show it in two columns, each displaying how a normal person would write a type declaration. Maybe even use color (highlighting?) to show which parts are different.

2. A tool for VSCode that lets you expand (into a modal or whatever) types that are abbreviated when you hover them
So much talk of Netflix but nothing about YouTube TV which is 3x the cost
What did the tweet say?
I was curious, since I have been watching the "100 Films To See before You Die" and so many older films seem to clock in under 90 minutes (to be sure there are plenty of exceptions).

Just a handful of films under 90 minutes:

"Toy Story", "High Noon", "Rashomon", "This is Spinal Tap", "Frankenstein" (and "Bride of"), "Umberto D", "My Neighbor Totoro", "Run Lola Run", "Duel", "Rope"...
Is this true?

Anecdotally I bought a very fast electric scooter last year, but initially I didn't have a helmet. It took about two weeks to finally receive a helmet that fit me, and I didn't take it at top speed until then. I definitely feel much more secure riding with the helmet on...and take more risks than I would without it.
Then you need three of them or to refurbish the first one twice to reach the equivalent of a 50 year lifespan. At which point construction costs again smaller than operating costs.

It’s the same thing with steam turbines, they last a long time but not 50 years. So initially they are part of construction costs but eventually they are part of maintenance costs.

Essentially 50 years is used because cooling towers, buildings, plumbing, etc can last at least that long so decommissioning early is a waste. But eventually repair or replacement gets too expensive.
I haven’t looked through the entire thread but the challenge of recovering from a PoW 51% attack is that the attacker still holds ASIC mining power and can re-attack each new fork. The same is not true in PoS where the attacker’s funds can be targeted and effectively depleted in a fork, leaving it prohibitively expensive for the attacker to continually attack each new fork.

See the “spawn camping” description and defence in my prior link.
I'm getting this as well
I think what they are suggesting is that you charge by feeding air, with its very low percentage of CO2. Then when you discharge you are releasing concentrated CO2 which you capture and do something responsible with.

So it is an electrical storage device which incidentally is a CO2 concentrator.

Responsible use of the CO2 might be as simple as dumping it and the waste heat into a greenhouse to grow vegetables.
Tether isn't readily convertible?
https://researchportal.bath.ac.uk/en/publications/bicycle-he...
At my scale, I know that when I go mountain biking, when I have an helmet, I go faster and take much more risk than when I don't have an helmet. I don't have any data point about road biking, because I never wear a helmet. But thinking about it, I would also take more risks with more protective equipments
The Russo-Ukrainian War’s Dangerous Slide into Total Societal Conflict
Their Supreme Court has been over it multiple times and the answer is always their law is supreme.
How dare those guys drive on roads with cars!

This seems insane. Even if the data supported this, anyone from the PR department should have seen how much bad press this generates from a mile away.
But what is your overall safety. Like can you still get seriously injured being careful not wearing a helmet
Unlikely in the average but catastrophic to the individuals who lose the bet. Often society has to pay for the consequence to the victim.

Which reminds me I need to get a helmet for my youngest, even though she's only a rider.
Is this really true?

Are there no honest people to work with out there?
You can see my @ in my HN profile.
I know me, I was already going as fast as possible on a city bike. With a helmet I'm safer when actually having an accident.
builtwith.com?
Good idea. But now I'm imagining devs as sommeliers, picking out floral notes and hints of oak.
A lot of places suffer from not believing they have the capacity to use the right tool for the job if it's not in the tech stack they already have. Similarly, people over-index on having a comfortable implementation path for feature X in technology Y, whereas technology Z, if they cared to look at it, would halve (or better) the implementation time.
Bascially, the joys of free, open, not schizophrenically regulated market mechanisms and competition, unlike the U.S. healthcare system, which despite many common claims to the contrary is a shitshow of protectionism, half-assed regulation regimes and all sorts of bizarre half-measured meddling.
Interesting. Can it sense when the grid is present, and can it match phase?
It’s political correctness gone mad!
This is a pedicab service. A cynic would assume that Pedal Me is mandating this (and thus putting their drivers at risk) because passengers are more nervous about taking a service where the driver wears a helmet and they do not.
Oh, is this how it's called?

I usually follow this locality of behaviour in the following situation: imagine you have several features that all of them require an object of type A, another of type B and one of type C. Usually, specially in languages with packages, it is very common to put all A objects inside a typea package, all B inside typeb and all C in typec. I prefer to put app A, B and C objects of a single feature in the same package (or if possible in the same file). This is not always desirable, depends on the context and the number of features, but I prefer it.

A different example, instead of:

var a = init()
var b = init()
var c = init()

do(a)
do(b)
do(c)

I prefer

var a=init()
do(a)

var b=init()
do(b)

var c=init()
do(c)
Monkeypox Virus Spread; UK Confirms Community Transmission of Monkeypox Virus
> if a string literal contains only UTF-8 characters and you assign it to a byte array or span, it gets encoded as UTF-8.

I write a bunch of C# for my job, but am far from an expert in the language. My reading of this statement is redundant, which means I feel sure it's trying to communicate something the authors thought was "obvious" and is not.

* A string literal - so, realistically some Unicode text, right? All the other encodings anybody was actually using can transliterate to Unicode, so, they are just Unicode (with a different encoding)

* contains only UTF-8 characters - UTF-8 is an encoding of Unicode, so, this just means Unicode again

I'm guessing actually C# can write something that's not Unicode in a String for some reason? But what that might be is unexplained:

Can you... emit arbitrary bytes? But how when your native encoding (UTF-16) isn't even byte oriented? What does that mean?

Maybe you can emit the rare Unicode "non-characters" like U+FFFF ? But, you can express those just fine in UTF-8 so who cares?

Or perhaps it's as simple as C# lets you write literals which are sequences of 16-bit code units but aren't UTF-16 ?
Riding on roads isn't like mountain biking where you mostly control the amount of risk you take on. Riding on roads puts you at the mercy of other people's choices. I feel the need to wear a helmet anytime I'm riding on a road for that reason.
Is there a way to fight risk compensation?
Has this happen at a supermarket in PA, however, down the road at another store CC was non-issue. Perhaps only a supermarket issue?
I’m a new parent and will be doing this. The past year we have made sure the kid doesn’t get any screen time and it’s been pretty easy. I like the mental break it forces on me from being in front of a computer all day.
Fair enough, although it relied on video data, not self report, and included over 2300 cars. Perhaps it would have been different for different cyclists.

Here is a study investigating this methodology of studying car behavior and ultimately concluding it is useful: https://www.sciencedirect.com/science/article/abs/pii/S00014...
instant hot-reloading Rust compiler
This sounds like fuzzing. Do you want fuzzing?
Good headphones can also make a difference.