skysight-inc/HackerNews huggingface dataset:
Is it possible for me to submit a site in HN?
t shows "Sorry, your account isn't able to submit this site". I am pretty sure I comply with the HN guidelines:
https://news.ycombinator.com/newsguidelines.html
You're jaded. Look at this as someone completing the exercise to understand reactive frameworks by implementing a toy implementation. Like when someone implements yet another lisp. Maybe you disagree with it getting to front page, but then don't upvote & move on. There'll always be some amount of front page content someone considers crap & it's best if we don't collectively fill every comment thread disparaging about it
It’s about execution cost, not size over the network.
The key to style guides is to not have so many rules. Agree on the number of spacing and where to put braces. Past that, it’s obsessing on form over function, which you cannot control simply by virtue of having many people work together on the same codebase.

You should worry more about how things are named, the number of abstractions used, and whether the code has any comments explaining the writer’s intent.
So, $0.02 as a parent...

The overriding goals are to (a) avoid overly alienating him from his peers' experience (e.g. don't be the only kid who can't watch some TV at home), while (b) teaching him to make good decisions himself and use things responsibily, by (c) introducing things at a measured pace.

Consequently, you're not going to keep a teenager away from porn. Not without causing more harms in doing so.

But! You can (and in my opinion should) absolutely moderate the speed at which it's introduced.

E.g. for now, at 10, he gets restrictions via VPN on his device. And you be frank with him about this! "Some websites aren't going to load" etc

But also you sit down with him and say "Look, this is how it's going to be, for now, because of your age. But when you turn 12, if you keep your grades up... I'll turn the filtering off for a couple hours a night."

IMHO, the problem isn't {thing}, the problem is {abuse of thing}. And the best way to empower people to avoid abusing a thing is to gradually build their skills to cope with it, which means measured exposure.

PS: Also, don't ever read his DNS logs. You don't want to know. Everyone, even children, deserve some secrets. The gold standard should be he-comes-to-you-with-questions, not you-go-to-him.
I think good software like good algorithms is made from simple patterns that do complex things.
Love the use of functions to craft components. Such an undervalued way of writing a UI.
The article makes a bunch of grandiose claim, but it never pins down an actual failure rate. It never compares it to other manufacturer. Some cars will have defects if you make millions of them.

The main claim seems to be that Tesla has higher defect rate, but it fails to make the case. Instead it veers into unrelated attacks on Musk.
Let them reinvent it. You are not required to learn it right now. If it really manages to become widely used you can learn it then. If not well the guy is spending his own time on doing something he likes.
This is where most libraries are going.

Svelte 5 builds upon these signals / derivations as well, and I guess a bunch of other libraries.

It would be time for them to get together and standardize on a signals library at this point that could be adopted to be a web standard and help interoperability between web components built with different frameworks.
The steering knuckle failure shown in the article is insane. I've never heard of such a thing happening and have never heard of anybody who has heard of such a thing happening on a vehicle from what I will risk calling a "real manufacturer". I am always flabbergasted that there's people willing to just be in a Tesla while they're moving, let alone buy one, but then again, the general public has no real idea of how automotive safety really works. Crazy stuff.
> The last thing you want to do is to throw a million of abstraction layers, frameworks, libraries, precompilers, transpilers, build steps, validation hooks, style checkers etc. into the mix. Each of them makes your project more complex by a certain factor. And not only do they add up - they multiply!

Know plenty of people who call this job security
Without industrialization, you never end slavery anywhere.
Netlify's disingenuous survey-based attack on Next.js (and eleventy, too)
Yeah. Easy to spot when your session expires - first they're still using login.live.com, just to redirect you to login.microsoftonline.com.
This is so hard in practice.

I just had a junior dev rewrite some of my code so that: a builder calls a constructor which instantiates a builder factory which builds a builder then that second builder creates the object.

This whole system only builds one type of object. He thinks that his solution is better because it’s more extensible.

I can’t make him see why it’s bad.
Would be good to have more data. Tesla reporting can be pretty skewed due to huge short positions on the stock and Musk being a total a@@ who decided to bet on fringe right.
hidutil stopped working on macOS 14.2 update
this is racist bro.
Funnily enough this is somewhat explored in an episode of Ghost in the Shell, where a professional sniper rejects an AI-enhanced rifle mount because its correction is in conflict with his aiming, even if following the correction exactly would have been a better shot. He preferred to have complete control of the aiming.
I've read the Go spec. It's short and sweet and doesn't include the standard library, though.

https://go.dev/ref/spec

Also the ecmascript-262 spec version 5.1, also known as es5.

https://262.ecma-international.org/5.1/

They were actually pretty interesting reads, and not too long. Maybe I should see if there's a PDF of the Node.js and Go standard libraries.
> The problem with doing something pointless for accolades is that you have to do so much of it, for so much longer than you expect. Time flattens out like a square stretched in both dimensions. First it feels like it's taking forever subjectively, because it's so damn boring, then it also drags out objectively because you are doing it so ineffectively, because it's so damn boring.
p.s. my site is https://futurehurry.com
not sure if it is related to my site
You probably severely underestimated how long documents are today.

Also reading something cover by cover is not enough to retain the information. Not even close.
For older people, definitely. I think UK speed signs may still be in mph! They certainly kept them long after we switched to kph in Ireland, and I think _that_ was only about 20 years ago.

Remember, there are still a lot of people who were _born before metrication started.
Be wary comparing benchmark scores between platforms. Different compilers for different platforms will make a massive difference to scores achieved, mostly due to the fact benchmarks typically do 'useless' work that compilers aim to detect and eliminate.
> Why would you use VPN?

Because you're underage and want to see porn. I've heard it's a thing that happens sometimes.

(This in reference to the stated goals of UK and various European national governments to age-gate)
Coming from living in third world countries where I had to ration data transfer, at speeds ranging equally from 50kbps to 1mbps, I appreciate these efforts greatly
Is there any law requiring disclosure of facial recognition?

Should there be?

I don't know if there is, but don't think so? I think there probably should be -- but also, it'll be just another fine-print fades-into-landscape thing. All the signs about video monitoring don't really matter much, we just assume there's video monitoring everywhere and don't even notice the signs anymore. I assume facial recognition will soon be the same, unless it is regulated beyond requiring disclosure.
AirBnBs are hotels. Perhaps they should be regulated as such?
Well-rated seller, too: "GOOD PRODUCT - CAN'T GO WRONG - QUICK DELIVERY - AAAAA+++++"
Are they pulling out the double-speak again?
Poor children's school struggles not about character, attitude or growth mindset
If the numbers don't go over the threshold for a year the regulation no longer applies.
Ask HN: What Should I Do with Broken Solar Panels?
As the title suggests, I used to have solar panels on the roof of my house, which were damaged by hail. The glass on top shattered, but the panels still appear to be in decent condition, with some bumps here and there. I'm wondering what I can do with them besides recycling. Can I repair them? Would that make for an interesting side project? Could I use them for other purposes?
Next step - de-decimalising the currency.

(If the Tories end up having to ditch Sunak and shoving in yet another weird PM, I _would not be surprised_).
Some quarters are clearly different than others.
"I am infinitely more concerned that I'll be shot." - for real? That is extremely illogical, given the facts. I realize this data is about deaths rather than shootings. But its still applicable.

This is a little dated, 4-5 years maybe. There are 30,000 gun related deaths per year by firearms, and this number is not disputed. The U.S. population is 324,059,091 as of June 22, 2016. Do the math: 0.0000925% of the population dies from gun related actions each year. Statistically speaking, this is insignificant! What is never told, however, is a breakdown of those 30,000 deaths, to put them in perspective as compared to other causes of death:

• 65% of those deaths are by suicide, which would never be prevented by gun laws.
• 15% are by law enforcement in the line of duty and justified.
• 17% are through criminal activity, gang and drug related or mentally ill persons – better known as gun violence.
• 3% are accidental discharge deaths.

So technically, "gun violence" is not 30,000 annually, but drops to 5,100. Still too many? Now lets look at how those deaths spanned across the nation.
• 480 homicides (9.4%) were in Chicago
• 344 homicides (6.7%) were in Baltimore
• 333 homicides (6.5%) were in Detroit
• 119 homicides (2.3%) were in Washington D.C. (a 54% increase over prior years)

So basically, 25% of all gun crime happens in just 4 cities. All 4 of those cities have strict gun laws, so it is not the lack of law that is the root cause.
This basically leaves 3,825 for the entire rest of the nation, or about 75 deaths per state. That is an average because some States have much higher rates than others. For example, California had 1,169 and Alabama had 1.
Now, who has the strictest gun laws by far? California, of course, but understand, it is not guns causing this. It is a crime rate spawned by the number of criminal persons residing in those cities and states. So if all cities and states are not created equal, then there must be something other than the tool causing the gun deaths.
Government ID based webauthn sounds like it could work to solve a lot of problems (bots and spam too). Although it'd be hard to use the internet if you're required to present one for major services (which seems inevitable). There are a lot of reasons someone may not have access to a government ID (e.g. slow bureaucracy)

Maybe a nongovernment solution would work too, where certified service providers can sell keys that verify two booleans: is_human and is_minor.
I will, but I need to dig it out of my archives. It was from a time before repos. :)
Feels weird to seem to seriously represent your framework as being about size without including a comparison to preact - the obvious choice for a react developer looking to reduce their footprint.

Preact claims 3kb on their site, and for a 3-4x savings you're going to need to be fairly compelling. I don't mind paying a modest cost for 10x or 100x improvements, but (call it Stockholm syndrome) I like react syntax
>>we could collectively ask ourselves what we want and do that

>That is what democratic countries already do every 3-5 years

Not sure what country you live in but in Canada they just give you a list of 4 or 5 names of people and you choose one, there's no asking of people what they'd like to do in the slightest. In fact, it's even worse: the folks campaign with certain sales pitches, but rarely follow up on their promises.

It is fascinating how well done story telling can make people oblivious to what physically occurs.
Suicide as a metabolic disease, like a type of diabetes. I've seen some articles categorize Alzheimer's this way.
This often leads to extremely annoying codebase because languages trying to enforce styleguides without proper options just leads to inconsistency once any code in another language leads to the codebase.

Just have an options file which is checked in with the code and enforce whatever is set in there works much better. You still avoids all the useless discussions about formatting while also allowing to set sensible settings which are consistent with surrounding technology.
Not any law ever passed. Speed limits for example, in fact most traffic laws. Contract law, banking law, property law, a lot of criminal law, for example theft, assault. In fact I think the argument can only be used on laws that ban things for sale or consumption.
Bah! I knew it! :)
I thought this was a joke at first. It sounded like "open source something something"
Is it really doing any sloshing though? Isn't it "just" using a plane as the surface of the liquid? And then adding a bunch of other effects, like bubbles, to give the impression of sloshing?
> jsx

I don't agree, this syntax for html is much nicer than JSX when you get used to it. Converter from HTML at https://www.solenya.org/convert
> My 2018 Model S has 110k miles on it, mostly Supercharged, with no maintenance except tires and washer fluid. I drive it like I stole it, not a garage queen. Similar reliability from our X and two more recent Ys.

Is there any mass-market car that doesn't meet this bar (110k with no work other than basic maintenance)? Sometimes one model year of some random car will have a really bad engineering problem that gets recalled, but this seems like the minimum expected.
I had a little dig into this in January - Christmas and New Year are the only bank holidays that get tinsel (now lights), everything else gets red, white and blue bunting: https://twitter.com/MattEason/status/1610240761047531520

There's a 'bunting' property in https://www.gov.uk/bank-holidays.json which drives whether the bunting is shown for any given bank holiday
That's just wrong.

1. It's tautological that you can't make money without some form of sales. And it's tautological that if you're employee you cost money. Sure you can sell anything even a rock (see "Pet Rock"), but if the company is making money by selling software, then yes, the software makes money, otherwise your company would have its sales trying to sell rocks.

2. Games aren't for automation. They're for players to have fun. People have also written software as some form of art. You are not in a position to dismiss them as devoid of purpose.

3. There's more to "practice" to become good at software. There are specific tricks, approaches and attitudes to become good at it.

4. "risk management, cost analysis"... What are you talking about? There are people who write great software who don't deal with this crap (because they can offload this to somebody else). Heck even great companies sometimes do this (by offloading risk to investors). You're delusional if you think "risk management, cost analysis" is needed to be excellent "with absolutely everything else". Was Michael Jordan a master at cost analysis? Was Einstein an expert in risk management?

I'm surprised you have the audacity to write with such an absolute and authoritative tone. If anything, being good at software is to recognize edge cases and situations outside of the stereotypical scenario. It seems you've done the opposite and generalized your personal experiences into some kind of absolute truth.
Sedans have a sloped rear window. In theory, laminar airflow is sufficient to clear any debris from it.

SUV/CUV have a nearly vertical rear window. This creates a pocket vortex where dust and water stick to the glass and there is no airflow to blow it off. And the Ioniq 5 is considered a CUV.
Thanks !! Will check these out
>It's the generation of F* you, I've got mine

Which generation exactly?
This is unacceptably huge compared to the similarly named Vanilla JS.

http://vanilla-js.com/
About once in a month, I google something and find a StackOverflow question about the exact thing... which is asked by myself years ago.
Or japanese pixel porn
the individual I'm addressing likely has affiliations with the [Black|Jewish|Asian|Sikh|American Indian|etc] community, or is a previously mentioned group member himself, potentially being a vocal advocate or sympathizer of extremist causes.

yep this comment is awful no matter what group gets painted with hate speech. sit down clown.
Logseq is similar to Obsidian but open source. It also can sync through a Git plugin/extension.
I’ve mentioned this elsewhere, but schools have made this extremely difficult and if a parent is not a technology professional or has a no- computer accommodation at school (which requires a 504 or IEP), they’ve already lost and likely have no idea what their child is accessing.

I have a child who is happy to bypass rules and restrictions as a past time and with firewalls, screen time limits, frequent history reviews, physical lock boxes, and school accommodations he still frequently accesses content that is not appropriate. It requires hours a week to manage as well as effectively being constantly on call while my child is at school to approve time-based access to online resources.

I have another child who is a rule-follower and could be given a phone with unrestricted access and who would only use the approved apps and sites without any additional guard rails.

At least in our school district (and many others around the US), every student is given a computer that parents have no control over and which has filters managed by organizations with different priorities and values (and competency) than every family’s.
> Docking was HARD.

Haha, I have been there too!

https://www.youtube.com/watch?v=ugDMZMoUK6U
I agree in general - sRGB and other SDR technologies are a hack to deal with tech limits. Removing those limits instead makes lots of things easier.

> Most professional photographers and serious hobbyists shoot in RAW format, which has always been a "HDR" format in all but name, typically capturing about 12 bits per channel instead of the 8 bits typical of SDR.

While RAW captures do have a greater dynamic range than your typical 8-bit sRGB image, they are still fairly limited compared to lighting conditions in the real world. There are plenty of scenes you won't be able to accurately capture in a single exposure even on high end cameras.

Also it's worth pointing out that using 12-bit RAW formats doesn't mean that there is 12 bits of useful information per pixel. At some point all you are doing is storing more precise noise. This is even more of a problem for phones with tiny lenses and image sensors - which is why they often take many exposures and magic them together into one image.
The ultimate 'fuck you' would be for sites like PornHub to split into multiple entities to go under the threshold of 45 million average users per month. That would be nice.
I think you misread the title. The framework is 0.9kb, not 0.9mb.
It's worth pointing out that UK house prices are higher than the US, despite incomes being ~30% lower or so, _and_ homes being significantly smaller.

The base demand for housing compared to supply in the UK is that much worse.
> Depends. I'm certainly not advocating testing implementation details

Then it is otherwise impossible to explicitly test a third-party dependency. As soon as you state an explicit relationship, then the tests become tightly coupled to that dependency. If down the road you switch out that library for a different one, your tests will break as they explicitly reference that library. This is not where you want to be.

Well written tests will have no concern for what libraries you use. As before, they will only test the outside user interface. How that interface functions under the hood does not matter. As long as the user interface conforms to what you have documented, who cares what libraries you have used? The fact of the matter is that nobody cares about how it is implemented, they only care about the result.

> be that documented, hinted at, undocumented

Only the documented. Anything undocumented will never be considered. As stated in another comment, this is provable by taking it to the logical extreme and assume a program is completely undocumented (no tests). When no tests run, nothing will be tested.

Only the interfaces that which you have documented will be validated when you run your test suite, and they will only be validated for what you have documented as being true.
After seeing everything that was touch on the one I drove I was thankful at least the turn signals and wipers were physical.

Can't imagine trying to drive safely without those.

The layout of the touch UI was better on the Tesla. I question the I5 design teams sanity for making HUD controls and seat warmers take 5-6 touches to access.
No, I'm not switching between apps. I'm closing it properly, lock the phone, unlock it and reopen the app. There is a ~0.2 seconds sync in the beginning, then the document appear and if I tap in the document then write a character, it appears in the document. About half a second before I can tap in the document and get a cursor after cold start.

If I wait ~3 seconds after typing I can see that the change has been persisted to the sync servers and it appears in my Obsidian desktop application.
Actually, salt mines are subject to collapse of the overlying rock, which can create sinkholes at the surface as the collapse propagates upwards. So putting them under lakes means you're not risking destroying someones home.

How do I know this? There's a major salt mine under Lansing, New York (just north of Ithaca) that's doing most of its expansion under Cayuga Lake for just this reason.

https://www.cargill.com/industrial/winter-road-maintenance/c...

(Cargill has another mine under Lake Erie, and deliberately flooded a mine in Louisiana recently. They're trying to get out of the salt mining business, though.)

There's a freight spur line on the west side of Ithaca that is the sole remaining rail connection to the city. Its sole purpose these days is carrying salt from that mine (it used to also carry coal to a power plant up the side of the lake, but that plant was shut down.)

https://en.wikipedia.org/wiki/Ithaca_Central_Railroad
Couldn't not read that in Tina's voice from Bob's Burgers.
That's what was reportedly said by the developer in the video. I mean, if you did want to sneak in your own piracy backdoor I doubt you would publicly confess to it after any amount of time.

That being said - going through an entire Sony Playstation certification, mastering and physical product distribution cycle in the year 2000 is a pretty intense (expensive, slow + outrageous consequences for everyone involved) way of getting around copy protection.
… What do you _mean_ by this? Are you claiming that Reuters made it up? Or just that it is insufficiently deferential to Dear Leader? Like, this is investigative journalism; almost by definition it is adversarial.
A lot of perl cluthiching in this article. Just remove the csam identified and reupload the dataset
EV school bus rollout off to slow start despite billion-dollar subsidies
The observed world looks materialistic, but such appearance is not required by idealism, and you will need to somehow explain this fine tuning.
StarVector: Generating Scalable Vector Graphics Code from Images
Good luck telling your boss/client that you don't write C#/Java because "the document is too long to read cover to cover."