skysight-inc/HackerNews huggingface dataset:
Durov's View on NYT Article
Link to NYT's article: https://www.nytimes.com/2021/05/17/technology/apple-china-ce...
The origins of this post are about the lack of availability/viability/adoption/success with regard to backups. The gripe is that companies don't care enough about it. How would you go about increasing the adoption and success in data management/disaster recovery? Would you make it harder and more expensive, or would you make it cheaper and easier?
Can't we just write some --hella-strict flag and refuse to compile any of these corner cases?

> Does this Add operator have a Result type now?

Essentially yes. There could be other APIs which accomplish the same results but have different constraints, such as not being able to mutate strings without also creating a Result to be handled. Yeah you lose some ergonomics but even that feels more ergonomic than C.

I think Rust is in a unique position in that zero / extremely few panics is actually achievable, and easier to achieve, with less manual discipline, than C.
I mean, if you're serious, the answer is that Facebook didn't claim to have read your terms of service addendum, but you did say you read theirs, when you signed up.

I do agree with the sentiment though. IMO, if one party to a contract cannot have a reasonable expectation (!) that the contract was read by the other party, the contract should be considered invalid.
> Yes they do. They would not be able to be sued, if they were a common carrier, and they would be unable to engage in many forms of censorship.

If facebook doesn't moderate, they can't be sued anyway. Without section 230, moderation makes them liable, but if they choose not to moderate, they aren't liable.

You're suggesting that by opting into a common carrier status, they gain what?

> Common carriers are already allowed to do some forms of moderation/censorship. It is simply much more limited.

Such as? As far as I can tell, they're allowed to moderate forms of pornographic and harassing content which, to be clear, a non-common carrier would be legally required to remove anyway. The statues you're referencing basically say that a common carrier still has to do the moderation that everyone else is legally required to do.

> No it does not bring us back to that. Because common carriers are already allowed to do very limited forms of moderation, and that is what it would be a good thing to incentive facebook into having to follow.

Except, you're

1. Mistaken about the status of the moderation common carriers can do, as I explained just above and

2. Mistaken about the amount of moderation that people want. Both lawmakers and the average citizen want more moderation than a common carrier is allowed to engage in, which brings us once more back to my question: do you trust Cruz and Pelosi to develop a moderation framework?

I already know the answer. You don't. What you appear to want is a form of no-moderation absolutism that forces these companies to promote all speech that isn't harassment or pornography.

The problem with that is that, from a profit perspective, most users of those systems (and transitively, most advertisers) don't want to be associated with that kind of content.

The practical result would be a mass exodus from these platforms to other, different, new forms of social media that avoid being classified as common carriers (or do things to avoid the broad section 230 issues, perhaps by being even more highly moderated and small-group oriented or totally private, like discord). Maybe that's a win for some people, but if your goal is popular unmoderated platforms, that's not what you'll get, because that's not what consumers want.
From Set Theory to Type Theory (2013)
> an algorithm that takes 1/(randFloat()) time to insert an element to the data structure where randFloat() returns any possible floating point number with equal distribution, is still O(1) algorithm, even though there is no upper limit on how long it can take to execute.

According to the definition, if 1/(randFloat()) = O(1) then there must be a constant M that satisfies 1/(randFloat()) <= M * 1. But according to your own words there's no upper limit to 1/(randFloat()), therefore there's no such constant M, therefore it's not O(1).

(In practice on most systems there would be an upper limit since a float can't be infinitely close to zero, but let's act as if that wasn't the case.)
What you'd described would require each USB device to cryptographically sign its communications with an unique key. AFAIK USB doesn't have this, but thunderbolt does (it's called "secure connect"). Even if it does get implemented though, it probably won't help much because most users can be social engineered into trusting the new device.
Why?

HN readers seem like the best folks to beta test a product on as they can give a lot of actionable feedback and have context on what good systems should look like.

And we typically like helping fellow hackers/entrepreneurs/etc.
There are still things that Emacs can do that Vim can't do, I think.
Yes. I have a couple of relevant books checked out from the library, actually.

But I wish I hadn't sort of defaulted to reading way too much pop science over the decades. Diminishing returns set in long ago.
That was the idea.

The truck manufacturer has been out of business long enough now that seeing a surviving example is relatively rare.
But we can't produce anywhere near as much beef as we currently do if it is entirely grass-fed and finished. Not without an unfeasible increase in land use footprint. Hence the conversation necessitates a large reduction in livestock production regardless.
Having a go: US parents say Peppa Pig is giving their kids British accents
This is our exact challenge. I do well, work in the bay area, but the down payment, not the monthly, is the main hurdle to homeownership.
s/sacrafice/sacrifice/
That's the point of running these tests though. Take a system down (by turning it off, and putting it safely in the corner). Then bring up a new machine to replace it. Go through the steps you think would be the proper procedure, then document the shit out of what didn't work and what needed to be done. Write that up so that it becomes the new procedure. The next time you run this quarterly test, you start with the latest procedures. Updating accordingly, rinse, repeat.
You're not a very smart one.

I don't own libera.net. Andrew Lee does.
> Glue isn’t some kind of computational waste; it’s what holds our systems together. Glue development is software development.

My take is: glue code is just “obvious” code, as opposed to the less obvious code.

The problem is that it’s not really obvious. That’s how you get “write-only” code. What’s obvious to one person isn’t to another, or even to that same person later on. This is why Java, a very verbose (“full of glue”) language, is so popular.

People say “an ideal programming language would have no glue code, it would all be inferred by the compiler”. And it’s true that a good language and libraries can remove a lot of trivial boilerplate. But not all of it, because some of that “boilerplate” isn’t so trivial.

Like, casting floats to integers. The cast is glue code. C and other languages truncate the float, so it gets floored if positive and ceiled if negative. But do you want that, or do you want to round the float or ceil it always? Or is casting the float to an integer an indicator that you’re using the wrong variable?

—-

I think in the future, we will create AI to write a lot of ”glue” code fast, like GitHub copilot. Also, proven-equivalent (or heuristically 99% predicted equivalent) large-scale refactors. But even in the ideal scenario where we eliminate low-level glue code, we’ll just consider higher-level code “glue code”. Because, all code is glue code, to convert “what I want” to “what computer does”.
Mathematically speaking, isn't it true you can compute the coordinate transformation (with your choice of map projection, perhaps ignoring the poles)? The real problem is that your metric / notion of distance has changed, so you can't simply compute distance as sqrt((x2-x1)^2 + (y2-y1)^2) and expect it to map neatly to a circle on the globe.
Generally they spam you with a letter or email or popup window or something when terms change. You make it sound kind of like keeping your software up to date, which is an interesting way to look at it.

Perhaps in the future legal aspects of life will be just another kind of software updating, with the govt rolling out emergency patches and big annual feature packs.
Possibly because:

> The machine I am using is MacBook Pro, 2019 (2.4 GHz Quad Core i5, 8GB, 256GB SSD, Big Sur 11.1)

Given the target schema, 100M rows with only 8GB RAM risks hitting swap hard.
A more colorable tactic is that you send a notice to their registered agent of addendums to the contract on your website, with possible future updates.

Certified mail to their registered agent is considered “received” by the corporation in most contexts.
I used Black 2.0 and Black 3.0 and kinda prefer 2.0 for most things - easier to use.

My favorite project was making a weird edge disappear in the apartment. Notice how the edge and white draw the eye away and create visual noise:

https://photos.app.goo.gl/UydkPpEZJUL3jtaF9

When I applied a regular black on the top and 3.0 in the edge, it blends in with the dark window framing, even during the day:

https://photos.app.goo.gl/gqjco8jWN5gsKTWf6
Came here to post the author's demo page as well: https://codeparade.itch.io/webcam-fractals

I had trouble understanding how I might make 1/f noise with my synths, and now I do not.
$6400/month is insane. $10 per dose is still like...10-60x times more expensive than covered drugs for me.

Also,

"Addiction is a biopsychosocial process and people without genetic and psychological predispositions to addiction are usually able to use these chemicals safely."

makes me think of Sackler and opiates. I just have a bad feeling about this.
I cycle at the higher end of my aerobic threshold to get around and my bike is single speed so I have to go anaerobic on hills. Do you cycle at a more leisurely pace or do you maintain constant nose breathing even during strenuous exercise? If the latter, I would probably caution you of the health effects of that too.
I'm not sure if it comes from a plugin or not, but that's one of the options I have in VSCodes language dropdown, JSON with comments, and it's exactly what the name says, it's json, but it doesn't die on // style comments. It also kicks in if I name the file with .jsonc as the extension.
Boston Dynamics Dancing Flawlessly
> How do these "established and widely accepted scientific claims" explain why oil wells are filling back up?

Rocks are variably porous. It wouldn't surprise me at all to exploit a well until production is low, wait a period of time, and find there's small amounts of newly accessible oil there. Oil could maybe get squeezed out of the surrounding rock by the pressure differential crated by removing the oil in the first place.

I don't know if that's true though, it's just a theory of mine. The success of fracking lends some credence to it.
What does that phrase mean as far as a framework goes?
What the hell is the point of having rights when someone can coerce you into signing them away?
Out of curiosity, why would showing a printed image of the user's face not have worked as well? Or, say, playing a video of the user's face from another device in front of the webcam? Does the biometric software look for glint or other characteristics of a replicating medium?
I wish there were FLAC (or other lossless) recordings, seems that the site only links to YT videos.
Dang. Everybody else! That's a lot of people. You must have done a great deal of work to check with them all, so clearly I have to yield. I had no idea the entire rest of humanity was so passionate about corporate branding guidelines.
Where are you finding these guys?
They’re giving feedback on the experience. Nothing was broken, just confusing.

Using HN for feedback is pretty core to YC’s value for batch companies and has been going on for quite some time
Fyi if all properties increase equally in value and municipal costs remain the same, so do your taxes.
> The use of such military weapons by civilians (or civilian police) against civilians become more obviously ban-able.

Not sure it would stop the police part.
https://en.wikipedia.org/wiki/Militarization_of_police
> As an example of the benefits of this approach, one service increased its time in TCMalloc from 2.7% to 3.5%, an apparent regression, but reaped improvements of 3.4% more requests-per-second, a 1.7% latency reduction, and a 6.5% reduction in peak memory usage!

This is the stuff of performance nightmares. Anyone thinking about optimization often will get single-tracked into the performance regression there and maybe not necessarily see the improved overall performance (requests per second).
More like the many-to-many threading model of the Solaris implementation of the JVM
This is why I really like cribbage. There's a major element of randomness based on the cards you're dealt, but lots of opportunities for strategy in how you play them. New players have a chance but more experienced players tend to make better choices with what they have.
A bunch of states have ended the benefits, and it turns out the free market didn’t magically correct itself.

https://www.google.com/amp/s/www.cnbc.com/amp/2021/06/23/end...
Show HN: Reasons to use tsParticles and not Particles.js
That’s surprising to hear. All the professors I’ve known (a bunch, mostly in Math and Engineering), while they all have some problem at some level, are all very hard working. They definitively work every work day, and often much more.
Interesting. I thought Windows Hello was implemented with dot matrix hardware like on iPhone, but clearly it isn't. It's illuminated infrared camera tech.
The journal made a mistake, an unintentional one. It got corrected and we should just move on.

As for the author, instead of outing him and humiliating him, he should at least be commended for trying hard on a hard problem-- you can't do that without dedication and zeal.

So why so snarky?
> Many homeowners have taken advantage of Covid related forbearance on their mortgages. Expect a lot of foreclosures once they expire (begining now)

I've seen no evidence that this is true. Do you have a source?
Both Vim and Windows Terminal Focus Mode Are Hard to Exit
See also https://news.ycombinator.com/item?id=27886889 from earlier today

Edit: also https://news.ycombinator.com/item?id=27792366 from earlier.
Fairly common in civil contacts (pre-nups, acqui-hires, partnerships, etc)

As i understand it, in many states it does not preclude a jury trial, but serves as a gate for the trial ... should mediation fail, a jury trial will still happen.
Vaporware. It's been on the "cusp" for 50 years.
In this case GPIOIS, GPIOIBE and GPIOIEV are basically three registers that between them determine how interrupts work for each pin. Do you want edges or level triggered? Both edges or just one? High levels or low? Order likely makes no practical difference whatsoever.

The data sheet actually suggests a particular course of action if you desire edge triggered interrupts but that recommendation doesn't match what either driver actually does here. Real world experience suggests that "Follow the exact steps from the data sheet" is a worthwhile diagnostic step when the driver doesn't work but probably not worth doing if your driver works. AIUI this driver works.

It sounds like the worst thing that can go wrong is you eat one spurious interrupt because something happened to the GPIO pin you cared about while you were meddling with the interrupt handling. Confusing for a tightly coded embedded system, but probably unnoticeable in the Linux ecosystem.
When you work with the old systems, you are always afraid to shutdown the machine, because more often than not, it will not boot up. And if you petition to replace it with a new machine, you may very likely hear the phrase "We are planning to move the app to cloud, so no need to build a backup in the meanwhile".
The solution became immediately obvious to me after reading your comment. This leads me to believe that the question isn’t testing for math ability nor intelligence. It just requires you to realize the trick. Maybe it tests for creativity / lateral thinking ability?
SpaceX test fires massive Super Heavy booster for Starship for 1st time (video)
Taxes are a function of municipal costs and the value of all properties. If they all go up equally in value and costs remain constant then your taxes should not increase
There are many options between incompetence and being actually 'in bed with', which I read to mean 'knowingly cooperating with', the criminals.

The first example is that it's simply more profitable for them to turn a blind eye unless one of the relationships becomes a public problem. They wouldn't be actively aiding and abetting the crime, but neither are they stepping up to ensure that it isn't happening on their systems. It's being complicit several steps beyond incompetence, but not the same level as active cooperation.

And, considering that Amazon has no shortage whatsoever of funds and skilled people to prioritize anything they want to prioritize, I'd say more than sufficient time has passed that they're at least at something resembling this sort of willfully ignorant stage.
That was my initial reaction. "kiki" sounds like hard, sharp things clattering against each other like rocks or broken glass, and "bouba" sounds like something flexible and bouncy.
Show HN: Kvrocks release 2.0.2 with the cluster command
California messed up, many places had completely incorrect pandemic mitigations. LA keeping people indoors in dense mixed unit housing was suboptimal.

Which specific point would you like to discuss?

I dont feel the same way you do about this conversation and I thought we were at the point where you reply about the other countries that would have been following PCR cycle guidelines too, unless that was considered a fallacy you were referring to.
The last few sentences of the article capture how I feel about the whole thing:

> Programming is ultimately about gluing things together, whether they’re microservices or programming libraries. Glue isn’t some kind of computational waste; it’s what holds our systems together. Glue development is software development.

Unless you're programming in assembly, aren't you always essentially writing glue code? Your language has some number of predefined assembly instructions which you can call in different ways and connect to fulfill your needs.
When a jury ruled that Monsanto "caused" cancer, companies across the USA shuddered at the lunacy of the nonscientific verdict, and vowed never to allow a jury to rule on such decisions ever again.

Prevents those "lets stick it to that big company" decisions too.
Facial and fingerprint authentication is the most successful and practical security feature protecting billions of computers which would have been unprotected otherwise. It should not be dismissed like that, and I’m glad the work is being done to find and fix vulnerabilities.
People forget (if they were even there) what was reasonable at the time. My first Linux was a 386sx with 5MB of RAM in the late 80s. It ran pretty well.
> I don't want to hire the "hardcore nerds" that gatekeep expertise behind ridiculous rates and tribal knowledge, fwiw.

I guess you never worked with lawyers (the top ones) or surgeons.

Easy to whine online, harder to raise money, hire the "hardcore nerds" and ship something!
Graph theories are used for all of your cited examples to explain how they work. They are well studied group homomorphic feature kernels in algebra.
Where are you getting 16 hours from? He doesn't say when he wakes up, presumably around 5-6 a.m., which puts him at around 12 hours.
If only there was a reactive handlebar
Unfortunately, the risk/reward equation is confounded by people who interpret any kind of public health measures as a slippery slope towards fascism.
Thank you. Worked really hard on the benchmark :)

No, it's not synced. When you use CalDOM without its reactive features, it's just a wrapper around the native DOM Element (similar to jQuery).

_("button").elem === document.querySelectorAll("button")[0]

Regarding capturing events of future elements: You can achieve this by setting an event listener to the parent.

Eg:

_("body").on("click", e => {
if( e.target.matches("button") )
//Do something
});
Yes but it would take more work. Prolog is tailor-made for solving logic and constraint problems like Sudoku out of the box; Lisp is not.

That said, it's relatively easy to write a version of Prolog in Lisp and then just use that to solve the problem. Both pg and Peter Norvig show that in their Lisp books.
People are really trying to push this “traffic violence” thing lately and it feels like an organized campaign. Why?
> is that pressure, high expectations etc. do have a devastating effect on teenagers' mental health and mental wellbeing.

Having grown up in the South Bay and then having moved to Europe myself I think that lots of parents in the Bay Area really don’t understand this, and props to you for doing so (even though you aren’t a parent). Sure plenty of kids end up being extremely high achievers. Plenty of kids also crack under the pressure and spend their formative years hating themselves.

Sure it’s a cultural thing, but it’s a cultural thing that actively hurts children.
So is extensa support although probably not for this one specifically.
Catchy umbrella names for a set of security-related products/services cause more harm than good, see Google Titan. When just one facet of that gets compromised it sows doubt about the whole thing due to clickbaity titles.
Soil liquefaction on a grand scale, is the theory that I have heard.
Yes, of course, unless someone deliberately crashed, it was unintentional. That doesn't mean nothing wrong happened. Likely multiple preventable or fixable issues happened that led to said accident.
Governments know how to design roads to prevent crashes and slow down drivers in areas where there is speeding. Is a crash on a known unsafe road an accident?
I don’t think there are many of them in the states except for maybe a few penthouses.
The New York Times also covered this trend:

>‘Scared to Death’ by Arbitration: Companies Drowning in Their Own System

https://www.nytimes.com/2020/04/06/business/arbitration-over...

or https://web.archive.org/web/https://www.nytimes.com/2020/04/...
I mean, that's a whole nother kettle of fish. At that point they have you in the hook for indefinite blackmail, because after you pay they still have the days. Is that actually common, though? I think most of these ransomware cases are simply pay-to-decrypt.
thankfully basically everyone is forced to speak english
Every single time I read about how safe and secure FOSS is, I think about this small issue: https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/issue...

Yes, I know it's a decade old, but it's a great example of „open source is better/safer/whatever”.
Deep Learning over the Internet: Training Language Models Collaboratively
"What if it shuts down tomorrow?"
I think there's a real meaningful difference between glue code and business logic, even if your business logic is created by encapsulating low level operations that are hidden by your PL, the total reductiviness to "glue" is not helpful
Keeping the drivers as hostages doesn't stop the airstrike.
you dont have to deal with them if you dont want to. i do not see the coercion.
i should finally start my esp32 project

actually i work 9h a day i dont think i have time ;_;