skysight-inc/HackerNews huggingface dataset:
The way this code works, the drag motion updates some state. I can apply constraints when setting the state. Then the state drives the redisplay.

I wanted to separate the constraint system from the event handling system. Libraries like jquery-ui tie them together, so the event handling system has to know all the possible constraints. In jquery-ui, they support bounding box, axis, square grid, snapping to dom elements. But what if I wanted snapping to a hex grid, or a logarithmic scale grid, or a bounding circle? It's not supported.

In the code you'll see "state.pos = …". That's where the state is set. For constraints, I put "pos" behind a setter. Then the setter can apply the constraint, without the drag event handling code having to know what type of constraints are needed.

I should update the page to show some examples of constraints. I completely forgot to mention this aspect of the code recipe. (Thanks!)

I have some older examples of constraints at https://www.redblobgames.com/articles/curved-paths/making-of... and a prevent-collision example at https://redblobgames.github.io/circular-obstacle-pathfinding... . However I haven't tried drag-to-reorder or animated drop targets.
Yes. However, if you select on the first button press (which I think is the usual behavior?), then it shouldn’t matter if you get a corresponding button release or not.

Option B allows to implement an “incompatible” single-click action, with the trade-off that it must be bound to the button release, not the (first) button press.
It isn't that strange, stevia leaf has been used for centuries by the indigenous people of its home region.

That doesn't make it safe, but it's standard that traditional foods are regarded as safe to eat unless evidence emerges that they aren't.
There are plenty of apps like Figma and Google Docs that have a kind collaboration and version control that non-programmers are able to understand.
Trees also act as thermal sinks. They transfer surface heat down into their roots, where it is cool underground.
Pixsy is the worst. Cory Doctorow explains it in detail.

https://doctorow.medium.com/a-bug-in-early-creative-commons-...
Like you, I've managed to navigate myself through the minefield of various activist groups I also subscribed to, at least in concept...

It appears, to me, that one's alliances are teaching moments (months, years) that lead to a rather enticing, surreptitious, inward analysis of of the logic and values one considers primary.

>>There is simply no excuse to support an authoritarian, homophobic, violent, quasi-theocratic, terrorizing gangsterist regime like Putin's...

Not to pat each other on the back, but we are in agreement. To bring it down to a more simplistic, humane POV, follow the Golden Rule: do unto others etc... Russia has failed at the first 3 words of that written/said idea of reciprocity and is unfortunately, damn proud of it.
FWIW, you can disable that in settings (both the power button thing, as well as the auto-dial if you prefer to get to that page via buttons). At least, if the 8T is similar to other phones.
Messing with very complex systems and expecting that random odds benefit instead of doom you and all mankind is a bad bet.

And this kind of things gives another hint on how complex the system is, how many players influence and are influenced by it, including not even suspected ones.

We should take into account things that we don’t know that we don’t know when betting big.
Shortly after DALL-E 2 launched, social media was flooded with images from DALL-E mini that just showed weird combinations of things that shouldn't be combined. This is exactly what AI is good at, so it definitely doesn't need to be trained on child porn to produce it.
How can someone who likes viewing this look at a child on the street and not see them as a sexual object?

The thoughts/fantasies you harbor while viewing images on a screen do not magically turn off when you step outside. It sticks with you and shapes how you view the world.

It encourages the moral decay of our society and puts our kids (and the future of society) at risk.
> but we should question whether lifestyle choices that do not include or make it significantly less likely to have children are robbing us of important aspects the lifecycle and living a full life

I did question it and answered that to each their own, it’s an entirely personal choice
Maybe, but you would still need to test that 911 itself works.
True, but your chance of being shot while at school in France is significantly lower.
Libre software is more like plans to build a gas stove, and security bugs are more like it not having a safety control such that malicious visitors can leave on an unlit stove to fill your house with gas.

Also lets be very clear here - software bugs aren't capable of causing much damage by themselves. If I set up a lone machine running a decades old full-of-holes Linux distribution on a publicly accessible IP, the absolute worst that can happen is its bandwidth being used to create denials of service. It's those who create real-world reliances on inadequate software systems that deserve most of the blame for damages.
They also report on people who die in accidents who weren’t wearing seat belts or when kids aren’t secured in car seats, or when people hop barriers and try to walk across 10 lane highways at night and then get smeared by a semi.

This isn’t some pro-car blame shifting conspiracy to report on how someone died unnecessarily when easy safety measures are available or were bypassed. The car driver can still be at fault for the accident, but the pedestrian/cyclist/one-wheeler/whatever can still assume risk exists when near traffic and take easy and reasonable precautions. I wear a helmet when riding on bike paths away from cars because you can still get bumped or make a mistake or have mechanical failures and fall and die if you hit your head wrong.
> As impressive as GPT-3/4 has been at writing, what's more shocking is just how bullshity-y human writing is..

Yeah. Most people have focused on what LLMs can do, but I think it’s equally if not more interesting what can they not do, and why?

When we say LLMs can generate text we’re painting brush strokes as broad as a 10-lane highway. Apparently we have quite limited vocabulary about what writing actually is, and specifically what categories and levels exist.

For instance, it’s fun (and in my view completely expected) to see that courteous emails, LinkedIn inspirational spam, corp-speech etc, GPT outperforms humans with flying colors, on the first attempt too! Whereas if you’re asking for the next book of Game of Thrones or any well-written literature it falls flat – incredibly boring, generic, full of platitudes and empty arcs and characters.

We have to start mapping the field of writing to a better conceptual space. Currently it seems like we can’t even differentiate between the equivalent of arithmetic and abstract algebra.
Arguing that Google is better than Microsoft at managaging backwards compatibility and keeping things alive would be silly at best.
Regulatory capture is a well-studied phenomenon.
Why do you take umbrage with a such a relevant fact being disclosed?

Helmets save lives, and isn’t it literally their job to inform us of such facts?
No surveillance and iPhone don't go together
Thank you, the hn title character limit wouldn't allow the flag.

Actual title of the document is "Moneyball Military: An Affordable, Achievable, and Capable Alternative to Deter China".
Yet, on other topics, people have “trust science” drilled into them, and are made to feel like heretics when they’re skeptical. They can’t win.
I don't think generative model requires an image of a victim to create an image of a victim. It could take an image of a nude non-victim child and transform it.
I believe some places you provide emergency services the number you will be calling from to test, so they can handle it appropriately.

Ultimately with a system like 911, you will always have to do final testing on the real deal. Because this is just too serious to get wrong.
I don’t think I have a strong opinion on whether computer generated CSAM increases or decreases actual child abuse (could see it going either way or even different ways depending on the time scale).

That aside, sometimes we have laws that exist not just for their direct good or bad effects but because they exclude someone we think should be excluded. And if you’re picking people to exclude, people who constitutionally want to rape your kids doesn’t seem like the worst choice.
Thanks! One of the big changes when I went from Java applets and Flash applets to HTML5 (around 2011–2012) was that I wasn't limited to only the diagrams being interactive, but I could make the rest of the page interactive too. I can change text and sample code. I can also embed widgets into text and sample code. An example is [1] where you can see the draggable numbers in the text and in the sample code, and those will change the diagram.

[1] https://www.redblobgames.com/articles/probability/damage-rol...
> Philippines is the world's largest source of ocean trash [...]

Here's a nice (well, actually horrifying) visual of the problem:

https://www.visualcapitalist.com/cp/visualized-ocean-plastic...
2 wheel scooters are pretty compact too, no? Not sure how good they are on various terrains.. maybe they can make the wheels a bit bigger
It’s unjust if you believe force is only justified in response to force, which you do not. Glad we cleared that up.
suprised that cs peirce is not brought into this debate. he provided a coherent (almost scientific) theory of consciousness - sadly, he remains a forgotten philosopher due to his fragmentary writings.
It's a common thing in the electronic music industry to release stems as a part of a remix contest. Dozens of remixes get uploaded to Soundcloud, the authors of the original track cherrypick a couple of them, package them into a "(Remixes)" EP and release it on their label.

It's like an initiation step for bedroom producers. You build up your reputation by having a couple of remixes released by an actual label, your remix gets played by DJs associated with that label, you start to develop relationships with the industry people in the process... It's an entire ecosystem based around free stems.

This on the other hand is aimed at DJs who use vinyls to layer on top of different drums, but it's the same principle. They want their tracks to be sampleable to other artists.
> With an 95% confidence interval which doesn’t include zero, doesn’t it mean that it’s statistically significant?

That’s explained here: https://xkcd.com/882/
The board would completely disengage and the nose would drop. The best I can explain the feeling is that it felt like I’d go from tapping the gas to pushing the clutch all the way down. There would be no ‘pushback’ from the board beforehand. Sometimes it’d happen even when starting from a standstill.

From what I remember, the blue power light would be on, but it would take restarting the board for it to engage properly again.
> And the thing is, none of iPhones I had my hands on (since 4S maybe) have never failed me as phones. When I need to place or receive a call, the call is placed or received. No shenanigans with sound, microphone, connections. If there is a connection problem, I can be 100% sure it's the carrier.

Just saying, I've used only Android phones since 2009 or so, and I've never once had a problem with the phone functionality. It's not like this is some problem with Android in general.
It literally says it comes from the Deep-Sea Debris Database, it doesn't spoonfeed it by listing the specific reference, but a search for "mariana trench" and I can see a large variety of debris, including

Plastic bag/sheet (Several), Unidentified debris

Can

Beverage can

Other plastic product (Several)

etc
I've been using Azure SQL database since 2011 and it has been cheap during all that time.
>the future more valuable than the present to pay off that debt.

Your comment seems to imply something negative about debt, when in fact it's exactly the answer you're looking for. Debt allows people to build things now at the expense of future earnings; it pulls forward technological advances.

Surely there are better ways to organize society, but easy debt is not inherently terrible.
Let me make it clearer then: Children are the ultimate victims of sexualizing children.
To be fair, some of the things currently piquing people's interest are suitable for offline "massively parallel" processing ala GPUs. Source separation and timbral transfer would be the first two that come to mind.
I’m not aware of any. What I meant to say is that I don’t known if that convention of cancelling drag&drop with Escape is as established on Mac and Linux as it is on Windows. But using the Escape key to indicate cancelling (e.g. a dialog) is pretty universal in GUIs, I would say.
CSAM markets will get flooded by fakes: no one will know what's real and what's not, and the fake abuse will be easier and cheaper to make. So real CSAM will have plausible deniability, but there's no reason outside of exhibitionist motivations to even produce it. Genuinely not sure how that shakes out in terms of net CSAM production (I suspect the exhibitionistic motivations are significant, though even then, if no one is watching your CSAM because they're all watching the fake CSAM, does it still scratch the exhibitionist itch?), but it seems like the inevitable end point, regardless of what laws are passed.
"The study introduces the concept of a “jagged technological frontier,” where AI excels in some tasks but falls short in others."

D'oh.
Thanks for posting this. I’m going to check mine as soon as I get home.

https://bike.shimano.com/en-US/information/customer-services...

For quick reference the affected model numbers are DURA-ACE and ULTEGRA branded cranksets with the following model numbers: ULTEGRA FC-6800, FC-R8000 and DURA-ACE FC-9000, FC-R9100 and FC-R9100-P.
Whitey on the Moon (2014)
I think you need to learn by heart what each of the 5 position values means. After that, the tricky part is understanding what the width/height/top/bottom/left/right values are relative to i.e. the containing block and how that works: https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_...
here is a more recent paper where I am one of the authors: http://www.vldb.org/pvldb/vol9/p828-deng.pdf
Thank you, you express it much better than I can. "Diabetic-Friendly Shoes" from the above list immediately had me thinking in half a dozen different directions at once.
Good question. In much the same way that cancer patients literally have to poison themselves with chemo drugs to fight a greater ailment with sporadic success rates, I'd argue that if there was no other alternative and that the road I was on would lead to a violent death, then... yes?
High-strength, lightweight nano-architected silica
Hardly scary when its all solvable by raising taxes on the rent collecting 1%. The US and its fears are a real joke.
Where do you draw the line?

My SIL, divorced with a young daughter, started dating a man. My wife (her sister) googled him and discovered he was a convicted child molester.

What if I was hiring an accountant? Should I be able to google him and find out he had been convicted of embezzlement?
I was specifically referring to branching workflows, not version control in general.
Ah, ye olde moral decay! Won't somebody stop them from thinking of the children!

Just contemplate the long, long history of moral decay panics and what they were panicking over. That's why that is no longer taken seriously.
Oh, I see. I misunderstood. Perhaps the fault lies with my ideological bent, or with the English language.

When you said "The alternative is to just say 'too bad' and let companies get away with this shit" there were no pronouns or whatever indicating the subject of the verbs "say" and "let". I assumed the subject of the sentence was a broad "we, as a society, over the next several decades", whereas I'm now realizing you meant "one, as an individual caught in this particularly tragic moment."

Thank you for clarifying.
Yes, 0 rather then 0.0000001.
You can set timezone = 'UTC' in your postgresql.conf, don't need to change it for the entire system.

And personally I wouldn't really consider that "breaking", that seems far too strong. Although it can obviously a caveat.

(Personally I do prefer to set the system time to UTC though, so it doesn't matter if the server is in Singapore, Germany, or the US – it's always the same. Also makes migrating things to different machines or moving VPSes to a different data centre a lot easier.)
I used to use an electric skateboard in the 2010s - very early on in the e mobility movement. Though I knew (and still know) how to skateboard I found it to be pretty dangerous due to the speeds you’re now capable of. Unlike long boarding where you’re forced to learn to slide in order to stop anyone can go 20mph+ and get themselves killed.

The one wheel in a sense is worse because inherently there’s no way to use it without electricity and people overestimate their ability to travel on high speeds on it.

That’s why I ended up going with e-bikes and escooters. I think the nature of the motion lends itself to be inherently safer.
It's crazy disturbing and uncomfortable topic and it kinda remind me of the the interview with a company that creates realistic dolls that can be "hurt", they bleed etc... that changed my opinion about this topic. Do I wish that this stuff did not exists? Yeah, but if somebody find this as a safe ventil for his disturbing urges without inflicting any harm or trauma on others? I would say that this is worthy.

And I am not buying the argument about the this could enable people to move to the "real" stuff we have the same arguments in case of violent video games, movies and music.

But Jesus live and people are sometimes disturbing.
I can certainly think of people who prefer writing in an esoteric language for everyday purposes.
I know this is late but I did a PiHole for years as well. But then I needed another solution for being out of the house, and my housemate later complained they wanted to see Facebook ads…

And like the other poster my gateway didn’t work with a a pihole so I had to change each clients’ DNS (which reverting for the housemate was a solution).

It was worth it but ultimately I needed more than just a pihole, sideloading my iPhone every week with custom YouTube apps, trying to find a custom twitch app to sideload, having to use Yewtu.be on mobile, etc. None of the apps like Adguard blocked ads in other apps well enough from what I experienced.
But why is happiness later better than happiness now?

So it only matters how you feel about it at the end?

IMO the journey is more important than the end.

I’m just asking open ended questions here. I don’t have any answers.
Within Russia the Russian state and media is very open about this war being about conquering all of Ukraine. It is only Russia's external propaganda targeted at Westerners that bring up the lies about NATO and "liberating Eastern Ukraine from Nazi Kiev".
Ask HN: SaaS pricing pages with high prices and not “contact sales”
Are there examples of SaaS services and pricing pages that simply show their high prices up front? I'm talking about $500+/month minimum and isn't a "pay for as much as you use" pricing chart such as AWS or GCP.

The only one that comes to mind for me is HubSpot [0]. But I'm sure there are many more.

[0] https://www.hubspot.com/pricing/marketing/enterprise?hubs_content=www.hubspot.com%2F&hubs_content-cta=hsg-nav__link-active&products=marketing-hub-professional_1&term=annual
They don't have that preference because of American free speech principles; they have that preference because software is generally better in the States and there aren't European competitors.

You can make all kinds of arguments about what the root causes of that are, but none of those are the actual reason Europeans use US social networks.
By definition , most people must be average programmers. everyone cannot be 'extraordinary'. I am pretty sure that you're probably average too unless you're better than 99% of the programmers.
And at a managed service at that?
Kinda matches the destruction caused by humans beings in the countryside in northeastern Brasil as well. Most of the trees for the somewhat arid climate were felled and droughts that were every 20 years started to become more and more common until now it’s an eternal drought where very little actually grows as it barely rains.
The exact same thing could be said about all pornography. It is a very interesting discussion to have.
The increase in humidity is actually a different effect - evapotranspiration from trees is included in climate models (along with their response to increasing CO2 concentrations) [0].

The effect in this article is more to do with the particulates that form from the chemical emitted from trees. The article doesn't make it clear, but an increase in tree particulates (known as aerosols) would actually cause less rain.

Almost all cloud droplets form on an aerosol particle, so the cloud droplets in a cloud with more aerosols are on average smaller (as the water is spread out over more droplets). These smaller droplets take longer to grow large enough to form rain, an effect which is thought to decrease the amount of precipitation in some regions (although by a small amount).

This effect is also included in climate models, but the sources of aerosol (such as from trees) are more uncertain [1], producing the uncertainty in future climate projections.

[0] - https://gmd.copernicus.org/articles/4/677/2011/gmd-4-677-201...

[1] - https://www.nature.com/articles/nature12674
The problem is that every concept is novel to someone that doesn't know anything.
"Isn't the primary reason to worry becuase our global economy is founded on debt? Debt only works if the future is more valuable than the present by at least the interest rate on the loan writ large across the global economy."

Yes, but very few people know this.

https://ourfiniteworld.com/2011/02/21/there-is-no-steady-sta...
> For the newer Onewheel GT, Onewheel Pint X, Onewheel Pint, and Onewheel Plus XR, a software update with a new warning system is the remedy.

Recall just means “fix needed”. It doesn’t necessarily mean they all get returned to manufacturers. (I’d have gone through half a dozen cars if that was the case.)
"Trawling" and "Trolling" are both fishing terms, and trolling fits here just fine.

=====

https://dictionary.cambridge.org/us/dictionary/english/troll...
trolling noun [U] (FISHING)

the act of trying to catch fish by pulling a baited line through the water behind a boat:
Sure. That's why the banking system is the epitome of the scientific method.
No, the IP is just that of a random paying user on that particular flight.
Who's the person who crawls into the tiny box and makes sure the dialer UI is doing the right thing, given that is what our primary concern is?

We've been talking about the cost of making a screened room. "Turnkey" ones cost about $20-50k, but you're going to pay contractors a fair bit beyond that. Not to mention whatever equipment you're putting inside.

https://www.ramayes.com/Refurbished_Radio_Frequency_Shielded...
For the same reason as has already been cited on this thread, that is the same argument as videogames violence etc.

Do you not have any kinks?

I have a fair amount and the ones I like in porn, I don’t like in real life. The ones I like in real life I don’t really like in porn.

So, specifically concerning your first sentence, which in my opinion is intended as an argument, even though it’s just a question and doesn’t offer any backing, the answer is no.
> I see it all the time when cyclists are hit by cars and they want to blame the death on not wearing a helmet instead of the person who actually caused the killing, the driver.

If someone died in a car accident, would you consider it relevant if they were wearing their seatbelt or not?
Can you please name and shame the orgs doing the trolling?