skysight-inc/HackerNews huggingface dataset:
Nice, I'm building a plugin system for my webapp too! I gave up completely on security [0] though because my plugins want DOM access, and may possibly manipulate elements outside their specific control, so I was like "fuck it". Thankfully there's a clear difference between my webapp and website, so hopefully I'll be able to educate my users to not trust stuff on the app side. We'll see :|

Separately, how are you thinking about designing your plugin system? I built a PoC here [1] that basically revolves around combining a DI container with the decorator pattern. We start with an initial default DI container/object, then that container is passed to a plugin which wraps certain methods or adds new ones. That new container is then passed to the next plugin which wraps it, etc, etc. Actual implementation is here [2]. The only thing that sucks about my design is that plugins must call `.bind(this)` when wrapping a method. So basically plugins have unfettered access to my DI container. Perhaps I'm giving plugins too much power? :shrug_shoulders:

0: https://github.com/AlexErrant/Pentive/blob/main/design-decis...

1: https://github.com/AlexErrant/Pentive/blob/main/app/src/plug...

2: https://github.com/AlexErrant/Pentive/blob/main/app/src/plug...
Other solutions exists. XMPP has been around for a long time.
Your spark is "headed for the landfill" because it was a compliance car that was wildly unpopular, selling in very low numbers, and was plagued with problems. Even still, GM went to the effort to completely re-engineer the battery from using A123 cells to LG cells...and only just this year announced they were discontinuing availability for replacement batteries.

Someone will provide aftermarket battery servicing, if the market is big enough (it isn't, most likely. Protip: don't buy compliance cars for long term ownership...)

Nothing stops you from buying a used Bolt (or used EV from Nissan, Kia, Hyundai, VW, etc).

GM extended the battery warranties on Bolts that were recalled by something like 8-10 years.

And given GM probably sells more Bolts in a month than the entire production run of Sparks and has for years now, there's almost certainly going to be a large aftermarket scene for battery repair, just as there is for Priuses.)
Crazy right. Feel like a few days ago it was 1998.
Twitter at 1am on a Friday
Hi, lowly unsophisticated millennial here, what is RSS? (this is something 99% of my peers would say). Also, I don't have TV, I'm a cord "never" as it's called. Radio? The only one I have is in my car.. What station do I need?

Anyways, the answer is using those amber alerts on the phone. My local government has sent them for covid lockdowns and even bad weather.
wow this was fantastic. thank you!
It's only partially true. There's a reason people hide their cards in competitive games (like poker or bell curve-fitted tests) – it can put you a higher relative rating.

However, humans are complex and if you have a trust codex like "i am open to sharing openly only with others who respect this codex", it'll benefit the participants – iff the game is non-zero sum and has repeated interactions (such as most careers, especially in creative professions).

Such a meta-game is more fragile (trust can be eroded quickly), but can benefit everyone in an absolute sense. This game theoretical fundamental truth can be found in animals with symbiotic relationships, as well as codified in moral frameworks (eg the Christian golden rule).

Search for "evolution of trust" if you want to see interactively how it plays out, it's fascinating and highly applicable to social behavior and cultures.
ABI discussion is one thing. But if you into the discussion there is another - how to freeze the dependence … the more important question is transparency. It is like docker sort of where you build up your final based on certain before image (binary c is the problem mentioned most). Can we have a way to document it all or even optional download all for the production software then freeze it.

And testing document in a .sw_env_conf to keep the change vs the base.

If it is a re-runnable and readable doc we can trace it.

Sorry not solving the Abi but try to deal with the mess. Python is easy to learn and program. But running it is really. I document at least 7 Python version and control which one to use is itself hard.
Is Web3 Bullshit? – Molly White at Web Summit 2022
Sure you can when you are talking about staying in for the long haul. The market has always gone back up and if it doesn’t, we’ll have far greater problems to worry about than our 401k.
I’m both very surprised and somehow not at all surprised that there is Wi-Fi on a spacecraft!

According to a linked page the Wi-Fi is for cameras installed on the ends of the solar arrays

> The cameras affixed to the tips of the solar array wings communicate with Orion’s camera controller through an on-board Wi-Fi network. Flight controllers will vary the positioning of the solar arrays to test the Wi-Fi strength while the arrays are in different configurations. The test will allow engineers to optimize how quickly imagery taken by cameras on the ends of the arrays can be transmitted to onboard recorders.
My wife doesn't like it--some lessons she wants to write stuff down (it helps her to learn) and sometimes she doesn't have the time for that or even the ability (if we are out somewhere.)
Has anyone built software that killed people? This is different from regret but similar in the sense some people regret this, others don't.
You can migrate a lot out of your setup.py into the pyproject.toml nowadays (https://setuptools.pypa.io/en/latest/userguide/pyproject_con...).
True, true. The marked chooses the cheapest product that can somehow satisfy the current needs.

Nothing beats "free & good enough".

But it blocks now any meaningful progress. That's a pity.
Something that could read the screen at any point in time, across apps and flag/filter NSFW images, all running with a local model and no outgoing internet connections would be pretty neat.
I understand this isn't super complex semantically, but even as someone who has used Linux full time on all of my personal desktops/laptops for 10 years now, I don't think I could write shell code like that within an order of magnitude of the time it would take me to google and find a project to do this. Maybe I'm just an outlier, but my perception is that most people don't have instant recall of advanced shell scripting features, if they're even aware of them at all. Off the top of my head:

* I think I remember that `set -e` means to exit early on error, but I don't know enough of the sharp edges to ever feel comfortable using it given how the few times I've tried I inevitably end up having it set for my entire shell session instead of only within the script and not noticed until my shell exited some time later when I made a typo
* I recognize `${DEBUG:-0}` as the syntax to use the value of `$DEBUG` if it's set and `0` otherwise, but I can never remember it without googling
* I'm guessing `trap _cleanup EXIT` means that `_cleanup` should be run when the script exits, but it's not clear to me whether `EXIT` is some special keyword, and if so what other values would be valid there
* I don't think I've ever seen anything close to the left hand side of the `&&` in the cleanup function. Presumably it means to make sure the directory exists before trying to remove it, but I have absolutely no idea why `tmpdir` could possibly be unset or why it would even be a problem if it was even independent of the fact that I would have thought that the `-f` flag to `rm` would make it ignore the directory not existing
* is the final `;` in cleanup necessary? If I got a syntax error without it, I don't think it would occur to me that it would be needed
* I've never seen `??` in a path before. I'm guessing it means to try to expand `.*` but then not fail if there's nothing? I don't think I would have even thought of the edge case of the expansion not finding anything being a failure

Could I write a script that does maybe 80% of this fairly quickly? Yes. Would the remaining 20% mostly be not thinking of edge cases and then getting frustrated when using it? Probably. Would I give up at this point and just try to find some other tool to handle it for me rather than doing it myself? Almost definitely.
Ask HN: What are the funnest data sets you’ve played with?
Trying to battle test our startup product to help users prepare data for data science, looking for some interesting data sets to play with. Ideally something publically downloadable, non controversial and under 1 GB.
AFAICT they're much more widely available in Europe. Hyundai has no trouble meeting US CAFE standards without electrics in the mix. OTOH in Europe they get to sell a couple more gas cars for every electric they sell.

(not a European, just what I heard)
I don't really have anything that I regret, as I have learned something from every project, but I have a number of projects that didn't do as well as I wanted; either from a performance/features PoV, or from the perspective of how they were received.

In some cases, something that I wrote some time earlier, and had "let go of," proved valuable, at a later time (that has been the case for the app that I'm writing now). In other cases, it took years longer for something to "catch fire," than I initially expected.
ever heard of ActiveX? you know, arbitrary code installing and running in your browser and available to be scripted by javascript? sorry. I'm not solely responsible, there were many of us. but still sorry, pretty responsible. we were young. code-signing as a means of validating origin was a great idea. it needed additional infrastructure to keep track of originators and to prevent abuse, though, and that wasn't perfectly thought through or executed. live and learn.
I don't see how anyone can call the Twitter debacle an accident, so I have to conclude Musk does what he does intentionally, though possibly without a clear purpose. He alone has almost absolute control over the company.

What does Musk stand to gain by tanking Twitter? I don't know. Nor do I know what he thought he might gain by buying it. His explanation -- that he wants to save free speech for all humanity -- sounds so delusional and self-important I took it as either insincere or narcissistic. Given his history I settled on narcissism.

I don't doubt that if Twitter fails Musk will blame lazy and disloyal employees (or former employees), sabotage, the "woke left," spineless advertisers, greedy bankers. He won't see fault in his own actions, ignorance, failure to plan or set a course for the company. He already blamed "activists" for scaring off advertisers.
In order to do that, people are going to have to go to the ballot boxes and vote. And when they do that, they're going to discover that there are no good options there. Then they're going realise that they have to create those options, and there's no grown-up to do it for them now. Then it dawns on them that they are not even members of any political organisations, nor are they in a union. It's like they've lived their whole lives without ever even having used their rights to freedom of speech, freedom of association, freedom of assembly, freedom to join political organisations, freedom to create political organisations, freedom to stand for office, or even considered using them before in any meaningful way, so it's like a nation of infants contemplating the idea of taking the wheel of a car. It's terrifying.
Trump is too much of a narcist (I'm saying this as someone who acknowledges his good points) to not tweet and reach a global and elite audience that he seeks validation from (it's the reason why he continues to watch cnn, ready NYTimes)
I would be more inclined to believe this was Musk pointing out that the vast majority of people were ok with Trump being on twitter and he has the backing of the users of the site.
Elon is creating a PR storm around twitter so news companies keep talking about twitter, this is driving user engagement.

Everyone is talking about twitter, this is no accident.

Musk is trying to shed the maximum amount of people as possible before things break. Then he will rebuild the staff with new people under a new culture and vision. Similar to Japanese plan to population replace islands it took over during WWII.

This is a huge PR play, and so far its working. Twitter stories are everywhere.
Any paper on this specific initiative? This sounds like a slam dunk for any population center needing district heat.
Yes, "full" internet access is a hard to define term and this simple test doesn't cover all possible cases. But it will work in probably 99.99% of cases and honestly I think that's good enough. If it doesn't work you end up with a little "no internet connection" icon in your taskbar and that's about it. You can still use the connection, so I don't think it's a big deal that this test isn't 100% accurate. It's still more useful to the majority of users to have a slightly inaccurate test than to have no test at all.
So why is the RSSI thing worth having?
value types where the only possible way to represent them is with a single "canonical form."
But IEEE754 allows not only NaNs, but also "negative zero" and denormals

Unicore strings also have normalization forms. Not to make an argument, just a reminder.
> They literally borrowed at 10% in order to extend 5% auto loans to their customers.

how could that possibly make any business sense to do?
You can agree that something is wrong, but disagree strongly about why it's wrong. To show standing, you have to have injury, causation, and remedy. You might hear about people bring civil cases for violating civil rights instead of wrongful death. This is a legal tactic to get the best changes of a desired outcome. You can see the nature of what NCLA is after in the claims for relief on page 25 and relief requested on page 33. The claims of violations of 4th and 5th amendments and CFAA (counts I, III, and VII) and relief Requested c-g are what I think you're missing. Privacy violation? Fine. Injunctions? Declaration it violated MA common law? Costs, expenses, and fees? Fine. The rest is seeking strategic precedents. It's a part of why they only seeking nominal damages of $1.
I believe Figma does this. Considering the lack of options it ain't so bad. Other options include running an iframe, or using something like `ses` library. I do both depending on the plugin. As always the biggest pita is sharing instances of anything at all sigh.
>"Russia's nuclear arsenal, as big as it is on paper, might be all duds."

And what's your proposal? Start nuclear war hoping that your guess is correct?
I assume public services can be injected into streaming services, or at least the larger ones. You know full well what RSS is as you know what Google is. You can find feeds of news services unless they all have given them up. Apple News can also be used - it might not be RSS but iPhone users probably know what that is. And I'm sure there's a Google/Android counterpart.

If you wanted to hear or read news, you know how to do that. If not, yeah, you'll be surprised from time to time.
IPFS probably isn’t the platform for anyone worried about censorship: it gives searchers the IPs hosting specific files which they can either pursue or block depending on whose jurisdiction they fall under.
Mek here with the Open Library team. In the past two years we've imported about 8 million modern books, including options to import your Goodreads books.

The community has merged 25,000 duplicate works and cleaned data for another 200k+

We also have a massive search improvement (exact edition search) slated to launch this month which is already on testing.openlibrary.org

If you decide to give it another try please let us know what you think and where we should focus our efforts to improve the experience for you!
I think 5mph is pretty typical on a standard 15 amp circuit (pulling 12 amps per code). That would get 40 miles of charge in 8 hours.
Yet another reason not to do it. Still, if your floats are always integers under a certain size, it works fine to use floats as hash table keys.
non-trivial issues?
This may be a lost cause, but I don't think a beginner language should have mutable data at all. The only reason we really need mutability is for speed - our programs have to run on actual machines and for a long time we didn't have efficient ways of working with immutable data structures. It's a lot easier to reason about immutable data. And any non-programmer is not going to expect mutable data - from the beginning when they started learning math all the way up to MS Excel wizards, all the data has been immutable.

Mutation is a deep magic that learners shouldn't start with. It's pure premature optimization. Also everything should be expressions, no statements, why force people to learn extra syntax? Thank you for listening to my TED Talk.

...but thank you for making this tool! I love the IDE - simple, clear, and self-documenting!
I'd be lying if said I wouldn't enjoy watching an ego-fueled shit-slinging battle between Musk and Trump. But that's wishful thinking, more likely is that Mr. T. gets a pass on his egregious behaviour and Mr. M. turns a blind eye to it or even holds it up as an example "free speech" to earn more brownie points from his legions of muskrats. I would not be surprised if others on the left are not shown any such leniency.

Actually, now that I think about it a bit more, the whole thing is like an exercise in controlled opposition like on Russian media.
Both social and technological aspects are ultimately intertwined. The way technology works necessarily shapes the way it's used, and users in turn shape the direction that technology evolves in. Fediverse architecture encourages different kind of usage from centralized platforms and it will evolve in a different way based on the direction the users take it in.

One difference we see already is that Mastodon has instances focused on specific topics. There are instances focusing on art, news, tech, functional programming, and so on. Federated approach is showing itself to be much more conducive towards smaller communities focused on niche interests.

Meanwhile, I contest the claim that Fediverse is being centralized. In fact, server admins actively ensure that this doesn't happen by closing registration when too many users end up flooding to a particular instance.

Furthermore, the fact that servers are maintained by volunteers via donations means that there is a limit on how many users each instance can support in terms of cost. Once again, this creates incentives towards further federation to amortize costs.

Finally, the terms of success need to be defined to talk about success in meaningful terms. I would argue that Fediverse is already successful because it has millions of users producing content, it has lots of developers working on the tech powering it, and a sustainable model for running servers.

At this point the Fediverse has shown itself to be sustainable and will be around indefinitely. It will likely outlive every commercial social media platform that's around today.
yeah, the instances should not hold the identity, that should belong to the user.
Egg nog in French is "chicken milk"
Well, those trucks would kill a lot more pedestrians if their brakes didn't work, so...
Whether or not you can find information on how anemic animals behave when confined to cages doesn’t change the fact that this suffering does occur. The obligation is not on me to painstakingly hold your hand through understanding how fucked up the treatment of calves raised for food is.

I understand this topic perfectly well, which is exactly why I don’t support the insanity that is animal agriculture.
IIRC, the Mayo Clinic invented the medical checklist. Like, people actually read the checklist and make sure that they tick off all the boxes they are required to tick off.

That's why they are number one. Because they actually use checklists.
Cars are usually at home for quite a bit longer than 8 hours and since can charge close to 4 miles an hour. The small difference is important, since average mileage is about 30 miles a day. If you average charge more than you average drive you'll probably use fast chargers less often than you'd use a gas station.
Witness pages 97 and 101. https://bibliotheque-numerique.citedulivre-aix.com/viewer/35...
How did your best and worst story go when it comes to this?
I got 50 to 60 miles of drivable range overnight on Level 1 last winter. Adding 12 kWh overnight can get you from Seattle to Everett and back, or to Kent and back.

Just make sure to drive an efficient vehicle, a Mercedes or Hummer EV ain't gonna do much with 12kWh.
Amber Alerts ride on https://en.wikipedia.org/wiki/Emergency_Alert_System

To your point, it’s ideal for emergency alerts, with SMS and email fine for less urgent comms.
Oh right, yeah I might move to consulting around that time ha.
Beautiful, I'm going to use this in my next programming class!
Not trying to be snarky here, but did it surprise you that a system built to obfuscate financial transactions would be used for illegal activities?
Micropayments for Content
Marco Arment who was the cofounder of Tumblr, wrote and supported Instapaper by himself before he sold it and now is the developer of the excellent OverCast podcast player for iOS had a similar question. Why does it take so many people to write a podcast player when there are not any noticeable differences in features between his - that he writes by himself - and theirs?
> Cloud "Barrett, be careful!"

> "Attack while it's tail's up!"

> "It's gonna counterattack with its laser."
> That's because Rust is tiny and new.

Dozens of other languages that are tiny and new do not have good packaging story.
Rust does, because it cares about developer experience.

> Wait until you have Rust packages which include and wrap hundred of thousands of lines of very old C and Fortran code like numpy has.

I don't know about Fortran, but C is basically legacy at this point, it doesn't change much and even if it does, there is one some-c-lib wrapper package that takes care of all those issues, Rust apps rarely depend on some C dependency directly.
Using a DSLR as a webcam is pretty straightforward with other Linux distros: https://www.crackedthecode.co/how-to-use-your-dslr-as-a-webc...

I've been using this for ~2 years now, and it's been rock solid.
Doesn't meet the quality threshold.
DEF Con 18 – John Curran – IPv6: No Longer Optional (2013)
This technology may sound bad but it helpes enable events like the world cup that entertain many around the world
The infinite implied speed is of course because the Euler equations are just a rough approximation of what is happening, right? Much like Newtonian physics was an approximation?

There’s a real causality bound of the speed of light
There's a couple different ways.

1. Build the artifact that you depend on, publish it on "pypi or something" referenced by both the version of the library and a hash that uniquely identifies the build. This is the approach taken by conda, for better or worse.

2. Only allow one canonical build of a library you depend on so that the "version" becomes a unique identifier for the build. This is the approach taken by distribution package managers.

3. Create metapackages that describe ABI constraints that are required by packages and must be satisfied by the underlying system. For example, a "cxxabi" package could be provided by the underlying system, and the packaging tools could automatically add dependencies on "cxxabi" at build time, based on either an exact pin to the library built against, or in some cases, a relaxed dependency by inspection of versioned symbols used by the binary.

4. Statically link all your dependencies and/or vendor all your dependencies. These are used by quite a few pypi packages that depend on standalone C libraries to avoid most of the issues altogether.
Central PA .... Shouldn't be too different from your seasons.