skysight-inc/HackerNews huggingface dataset:
Just like the old Joyent "Slingshot". https://daringfireball.net/linked/2007/03/23/slingshot
> Why not enforce object types?

It would be incredibly painful to write idiomatic JS with constant narrowing required and would lead to huge performance issues.

Imagine you write some generic sort capabilities, sorting by label, createdDate, etc., and then you declare some types

interface SortableByLabel { label: string }
interface SortableByCreatedDate { createdDate: Date }
...

Then you implement a method

function sortByLabel(a: SortableByLabel, b: SortableByLabel) { ... }

I've written enough, I think you can see how easily this works today and how painful and un-performant it would be to do this if you had to narrow your objects or constantly write extra info into your types to allow them to not enforce narrowing, and then there's a whole can of worms around your "widen"-able object types being illegal to functions that require exact types, ...

Instead you can just write arrays...

interface MyInterface {
key1: Type1;
key2: Type2;
...
}

const myKeys:Array<keyof MyInterface> = [
'key1',
'key2',
...
] as const;

function operatesOnKeys(object: MyInterface) {
// don't use Object.entries...
myKeys.forEach((key) => {
object[key];
// TS is happy, and bonus:
// this will be type checked later if MyInterface changes
});
}

I think TS has some issues but this isn't one of them.
Flying has nothing at all to do with ground speed, or how fast their wheels are turning.

Planes can fly very happily backwards in relation to the ground.
There are plenty of videos of chickens and children getting along famously. The chicken running to greet the school bus, enjoying a cuddle, playing chase, enjoying being petted.

Heck, there are videos of lizards and fish enjoying being petted. Most every animal seems to enjoy being touched gently.
Dioxus desktop uses Wry (one of the libraries Tauri is built on) which requires WebView2 on windows. You can install this on windows 7 or include a bootstraper. All windows versions after 7 have WebView2 pre-installed. In theory, 32 bit machines should work out of the box although I haven't tested it.

Dioxus runs its test suite on modern versions of windows, macOS and linux
Food.net
It could be accounting for the scenario where old keys are stolen.

1. You login with your key

2. Google flags you as suspicious

3. Google removes the keys from the account because the suspicious actor used them to login and could have been stolen
Your comment about slashdot has nothing to do with the math problem described in the wiki article.
Feels like a variant of the “prompt injection” vulnerabilities that are so amusing in LLMs. Call it “knowledge graph injection”. Perhaps it’s a fitting penalty for the seemingly common practice of making support numbers difficult to find (or worse, nonexistent)
Disclaimer: I'm a complete noob about the history of the region and the languages involved.

I just figured out the best way to get an answer on the web is to post a wrong one first, so I went 5 minutes into the subject on Wikipedia and what I've concluded is that maybe it's actually the other way around.

Poland is like "Land of Polans" which were the original tribe of the region.

The Ш letter seems it is a prefix that comes from Hebrew, so maybe, Шпола also refers to Polans in some way.

I must emphasize again that this can be completely wrong.
Regardless of intent, it pointlessly and unconstructively derails the conversation into an uninteresting and well trod aside that has nothing to do with the topic
"I’m blown away that they know a buyer has a habit of doing this, yet continue to let them operate on the platform."

I agree it's maddening. The platforms also face the problem of banning someone only to have them open a new shop an hour later as someone new.
I was wondering if the implication was it was some sort of [straight] swinger party. With menage being the first part of menage a trois
I just signed up but I am not seeing any of my comments show up, this might have something to do with it.
Both your initial comment and the first paragraph of this one are so uncharitable to me that it’s difficult to respond but here goes:

1) Contrary to your initial claims, I made an ethical criticism of a a behavior not a person (and even explicitly clarified this in a sibling comment)

2) The discussion about SLAPP was an off-topic tangent to the primary conversation of the account suspension and the security risks the anti-doxxing rule addressed

Bringing the discussion from the tangent thread to the primary topic is an improvement, not a worsening of the discussion.

3) Your implication that I “cruised over the entire” context of the thread of more than 1000 others comments to make snap posting is false on two counts. There were fewer than 1000 comments at the time and I actually had read over a hundred and already commented elsewhere first.

4) My position isn’t even close to extreme. Funding someone who is regularly de-anonymizing and broadcasting people’s real-time location coordinates against their wishes, despite being fully aware that doing so presents a security risk is morally reprehensible to many, many people—an important bit of context you yourself seem to have worked hard “to ignore”, in your own terminology.

You’ve made repeated made long-winded, meandering complaints about my critical 3-sentence comment, but at the least you’ll have to grant my comment didn’t make untrue assumptions about the other poster’s process of reading the thread, their frame of mind, their good faith in approaching the discussion, their reasoning process or their opinions.

I criticized only the specific course of action the commenter said they were planning.
Supply-Chain Security: Evaluation of Threats and Mitigations
Sure. I’ll quote from Wikipedia and modify it.

“In combinatorial mathematics, the ménage problem or problème des ménages asks for the number of different ways in which it is possible to seat a set of couples, labeled “A_n” and “B_n” accordingly, at a round dining table so that the A and B alternate and no two couples are sat next to each other such that A_n = B_m”.
In all the thousands of years of recorded human history there has never been a time where you could find enough people who actually believe the Earth is flat to fill a room sufficiently large to constitute “popular” opinion.

That is, not until after the advent of the Internet and YouTube… both of which, ironically, depend on the Earth being non-flat to function.
> working through the holidays to avoid spending time with their kid . . . is a form of child abuse.

Wow. I couldn’t disagree more. This is some weird holier-than-thou helicopter parent stuff.

I watch my kids all day on the weekends and on the holidays. Plus I’m with them for at least four hours a day between drop offs, dinner, and homework/after dinner activities.

The post is about “extended” time off with the children - e.g. the week between Christmas and new year’s day. No definition of “child abuse” encompasses sending your kids to daycare for that week.

In most cases sane parents who have their young (<5-6 year old) kids in that week are going to wind up putting them in front of the TV or other electronics for part of the time anyway, just for their own sanity. In that case they are better off at daycare for that time.

Beyond that, it’s much better for the kids to have a couple of extra days of daycare and parents who are enthusiastic to see them, rather than a few days off with parents who are pulling their hair out trying to find non-tv and non-electronic ways to entertain them for something like 10 straight days.

Come on.
> to hopefully make a change in life, like going out to see real people.

I’m fascinated by this narrative on the “real” people outside. I wonder how having more people working remote could change that cultural landscape, and how much time it will take for people to go over the dichotomy of “real” vs “online”.

There are wonderful people with tons of insight and many things to share in the “outside” world. But thing is, they are also online and will share their life philosophy or their new hiking gears in reddit threads as well.

Went to a cafe last week and after a bunch of talk with the owner, he went to ask for my Twitter account and who I was following in the same cultural sphere. And it’s not like we stopped being real the moment we moved our focus to what happens online.
If your pictures are not RAW but compressed (say jpgs) then the corrupted photos will really jump out at you - half the picture is there, but then noise. I used to make sure I was storing jpgs not RAW, but then learned that wasn't always a good thing, several times over. Dunno whether damage happened in RAM or on HD, but I strongly suspect RAM.

The bad habit that nailed me was probably this one: I would ball up a whole bunch of photos in a big .zip; (to enhance copying speed and maybe privacy) then next year unzip that, add that year's selected photos and zip it again. Year after year. That added up to a lot of trips through RAM in which one bit flip could take out an image. Bugs in compression software aren't impossible as the villan, but that's not my bet.

Solution: I now zip up a few years together and copy each chunk I don't ever rezip old large chunks. No new errors noticed.
Show HN: Predicting the Greenest time to use electricity (AU)
Hello all, I built this for fun this year. It may be able to help:
- reduce your carbon footprint,
- eg. see the best time to charge your EV
- eg. hook up a smart heating/cooling system?
- learn more about how the renewables transition
Currently limited to the Aus National Electricity Market, sorry...
Feedback and questions appreciated!
There are easy ways to scam on eBay as a seller - you just have to know what is and is not covered by eBay's Money Back Guarantee for buyers and make sure what you are doing purposely deprives buyers of that protection.

Two examples that I've seen play out repeatedly in recent history:

List a pre-sale item that is 60-90 days out, with no intention of actually shipping anything. By the time the buyer realizes they've been had, it will be past the time they can file an eMBG claim and eBay will tell them "too bad."

Or list hot items like a Steam Deck or MoonSwatch under "Specialty services" or "Business and Industrial Equipment" instead of the correct category (again with no intention of actually shipping anything)...if some poor sucker doesn't notice and buys it any way, once again eBay will tell them "too bad" because those special categories are exempt from the money back guarantee.

Sure in both of those cases, buyers can resort back to a chargeback with their payment method, but eBay absolutely allows the scam to happen and typically does nothing on their side to prevent it proactively or assist the buyer after the fact.

And then of course there's the perennial favorite - send an envelope with a piece of paper to an address in the same zip code as the buyer so you have tracking with a delivery scan and any "item not received" claim will instantly be closed in the seller's favor.
I think it's okay here because we have threaded conversations. You can just collapse a thread that annoys you to tune it out.
I would consider the suggestion that four powerstations being hit on the same day is just "vandalism" to be highly speculative at this point.
Probably the word menage meant something sexual? I'm still confused why he/they/she would be upset by OP's comment
I'm glad to see more and more of these types of results. The typical pattern for the past few years at many consumer internet companies is an A/B test, with some positive short-term metrics and no long-term validation. Any qualitative resistance to the short-term engagement metrics is dismissed, and the change is rolled put. Product managers and software engineering teams parade these metrics wins, get promoted, etc. User experience degrades one a/b test at a time, while "engagement" improves.

Glad to see someone is thinking about qualitative user experience and correlating it with long-term metrics.

Source: ran an engineering group at a "data driven" consumer internet company that fell victim to these tactics.
There are 2.7 million developers in the US. Most do not work at any company doing adTech. Most are “Dark Matter Developers” writing line of business apps working in “the enterprise”
Still in the first part, but just for his explanation of his constraint solver in lisp macros it's worth watching.
I claim that tv is designed is keep you watching.

"Next time on.."

"Tonight at 11, what will your kid gay"

Also people used to watch so much TV is was a regular news item (youtube that). Remember the saying "TV will rot your brain".

Yes, more stuff on your phone, easier access but these are levels what threshold did it pass to become an issue?
Apple Arcade Has Grown Quietly in the Shadow of Nintendo, Xbox and Playstation
bit flip hard to detect - true for RAW, false for .jpg or other compressed files.
Disclosure: did my first Ironman this past year, had more than a few <1 hour and even some 4+ hour rides on a Peloton when the weather didn't cooperate. I am more of a serious rider now, but started with near zero road biking experience.

It is a basically designed stationary bike with above average classes and <60 minute fitness exercise. It does not act as a great substitute to road biking and because the front bars don't adjust, your "fit" can only be so good. That being said, it gets the job done and the music, classes, etc. are all very well designed.

Based on what you are looking for, this is not the right bike. The Peloton "free ride" capabilities are very basic and doesn't do what Zwift and other trainers do where they let you "bike" the virtual course and provide feedback. It also isn't great if you are going for more than 60 minutes as it is designed for spin classes, not over the bars, leaned in road riding.
Yeah, ./ was fun. Sometimes I'm curious if there's a way to marry the best of ./ and the best of HN into something even better.
The next thing you know, some people will carry around a small notebook in their pocket or even a small pocket diary.
Totally cool to enjoy life at the edge of a pond or lake. I say this as someone who enjoys being in fast water. We have to respect each other’s preferences. Anyone who tells you otherwise needs to respect boundaries and diversity.

Your tone made you sound kind a little angry. If that’s true, might want to delve into why. This kind of content is inevitable since people who enjoy fast water naturally output… about outputting.
I think you are the only one of the few people that perceives it as hostile. The rest of us are legitimately curious. If it's a big problem for you, you could collapse the comment thread or report it and see if Dang will take action.
> However, I guess you're right, very few business will care enough to use anything else.

The mold author previously stated that they had several $BigCorp businesses asking about a macOS version and that they were eager about it. I don't have more details other than that (I don't even know which companies), but it seems there is some interest.
> The primary use case for mold is giant projects with massive executables.

Ok, so what’s the point of contention here? Large projects from large companies with lots of money stand to benefit from mold.
You've seen these heat-powered fans, right?

https://ecofan.caframobrands.com/
That's V.22bis - V.42 would get you a nice 33600 which I was often having up and until 2007 or so.
I have done this. It feels slightly naughty.
It's super easy: provide a valid FedEx tracking number to the proximate area code that is eventually marked as delivered, address and content don't matter. That's it.

I ordered a drone, tracking showed 3 pallettes of 50lbs each, PayPal did nothing. If you're not the shipper, FedEx won't disclose the destination address despite having the tracking number and PayPal won't lift a finger no matter how often you tell them that's not your actually your zip code or that drones don't weigh 150lbs. Afaik it's FedEx specifically.

That's when I was done with PayPal. I was not happy when ebay introduced their own payment system with forced KYC but PayPal is worse.
> We're finding that it's a great replacement for C++, C, […]

So far this makes a lot of sense.

> […] C#, and Java. It even fits to replace or compliment scripting languages like JavaScript, Python, Ruby, etc.

Well, I see you found a new hammer.

I for my part would say that Rust is overly complex for most things where C# or Java, and especially any Scripting language, would be a good fit.

But that's the cool thing about a hammer. You can use it use it for everything! Even eat soup with it. ;-)

> Based on pace of development, you might see Rust fill out before Zig or especially D fulfill your dreams. Especially if you want actual memory safety.

But you know that D has a GC by default? You can't be "more memory safe" than that.

So I really don't get the remark about D here.
Yes, it is impressive, but that refresh rate is really too slow to be acceptable in this day and age. They should really pick a less demanding style of UI.
Out of curiosity (and I mean this sincerely), could you explain how if I were to copy and paste this post as a response to this post it wouldn’t apply equally?

Aren’t you kind of just pointing out your personal feelings about a different cause of outrage? It certainly does not have any bearing on this mathematical problem or sequence.
It's about damage. Specifically the damage caused by (mis?)directing resources (capital, labor, intellectual) towards "fast water", in an explicit search for wealth.
Is had a coworker remark they can read at almost twice the speed after gpt3. They used to be at 20 wpm now 55.
We lived 400m2/4300ft2 plot in a workers cottage 20 mins from city center with -

2 dairy goats
Aquaponics - plate fish, crayfish, a few other experiential food sources snails and fingerlings
Normal garden beds
Bees
Fruit trees
Bamboo hedges for food / thatching
Chickens and ducks with duck pods
Insect farms, again experiential food but also for the poultry
Prep-ing cupboards, sun drying racks, that sort of stuff
Lawn (because you need a good lawn for mental health)

We had a lot of room to continue. For instance we never used the meter space under the house. Solar 20% of roof, but the rest was only used occasionally at parties when you'd grab a ladder and have beers up there. Obviously we used external mass agriculture to feed our animals on a lot that size, but you'll find a lot/most homesteaders do that in some way.

This only answers your title. We did move from this to land, which I no longer consider homesteading even though we now have no municipal water/sewerage and more of the above we are now proportionally less productive work to output.
Shotspotters are actually kind of crap it turns out, also requires shots to be fired.

And we're not going to have drones operating 24/7 over every single substation in America, there are way, way too many of them.

Tech based solutions probably look like cameras, alarms systems and better physical security.
> Eh, we're saying similar things, but you're wrong in a fundamental detail - and you're making it really confusing for everyone who doesn't understand what is really going on.

Which detail?

> The rewards a miner collects do not depend solely on how often their hashes meet the difficulty target. Otherwise, every miner could keep mining prior blocks forever until they got a hash that matched, and collect the reward for that block. But that isn't allowed to happen.

Obviously you have to mine based on the current block. Nobody suggested otherwise.

It doesn't affect your odds of finding blocks because it only takes a fraction of a second to switch to the new one.

> The first miner [...] and everything on the 'split' chain gets ignored.

Nobody suggested otherwise.

> The algorithm bitcoin uses

Yes.

> There is no way any miner can change their odds here

Nobody suggested otherwise.

> (or 'try to meet the difficulty target')

That just means doing hashes and hoping you win.

> Removing half the hash power would double the chances (all other things remaining the same) of the remaining hashers winning, as there is now half the number of competitors randomly trying to get a winning hash, as the winning hashes are randomly distributed.

It changes the percent of blocks a miner wins.

It does not change the number of blocks per hour they win. And that's the only number that matters.

(Both expressed as expected averages, of course.)

> Unless someone [...] Just available hashing power.

Nobody suggested otherwise.
I’m fortunately WFH as well but installing a 240V outlet wasn’t too bad.

This is one of the things non North Americans don’t have to worry about.
If you follow the username link, you’ll see account age. Which more or less follows the pattern you’re looking for.
I wonder if, in the parallel universe where IBM implemented bus-mastering for MCA, they would still be in the PC market. Just about all the other PS/2 upgrades were adopted; VGA, PS/2 mouse/keyboard, 72-pin RAM.
Not to derail this too much… This sounded familiar, at first I thought I might have an old 2010 version of this on my DAW computer.

But now that I’ve looked, it’s a beta version of Mus2, which is used mainly for microtonal notation.
Poland and Germany were in diplomatic talks prior to the 1939 invasion, too, and Britain told them not to make concessions and that they would back them militarily in the event of any invasion.

"Give me your land and I won't kill you all" isn't much of a negotiation, is it.
It seems like it would be at least mildly complicated to reformulate, and a reformulation would be pretty fundamentally hetero-something. For example:

There are n pairs of people. Each pair has a type A person and a type B person. How many ways can they be arranged at a table such that the seats’ occupants alternate A,B,A,B etc and no one sits next to the person with whom they are paired.

If you are paired with someone of the same type, you don’t fit into the problem statement :). If everyone is the same type as everyone else, and everyone is allowed to sit next to anyone else except their partner, then the answer will be different.
Hi there, funny enough part of the motivation for me to build this was that I am a DJ and purchase a lot of music. I'm actually building an app right called Crates which is focused on DJs and music purchasers https://getcrates.xyz. I was thinking of integrating purchases into the app somehow, we will see!
The ethical dilemmas of renaming scientific principles that honour fallen idols
As others had already mentioned, having a username in green means it's a new user which was created [I guess] less than a month ago. You may also see a green username from a story one year old which means that this user was new when he submitted that story. There is also a list of submissions from the most recent users created [1], also known as noobstories, comments from the most recently-created accounts are here [2] known as noobcomments.

1. https://news.ycombinator.com/noobstories

2. https://news.ycombinator.com/noobcomments
Now if only the mainstream providers would stick 2.5 gbe onto the damn things.

If I see another box advertising 4000mbps wifi speeds with 1gbe ports I’ll lose it
Disingenuous to only look at a headline and derive a bogus conclusion that panders to a very unoriginal and mainstream conspiratorial narrative
You are making it sound like Guatemala have no historical institutions ...

The low hanging fruit is picked.
I don't know how it works in Vermont/Quebec, but there are many houses straddling the Belgian border here in the Netherlands. In those cases, the tax obligation is based on which country the front door opens to.
Yep this is really fair and good feedback :) For a first hacky iteration the 0,99 was an average iTunes track.
The interesting bit around cleaning is the relationships are between individual animals rather than being species wide. Some species of fish for example will mix in removal of parasites with drinking some blood and larger animals eating the cleaners also happens.