skysight-inc/HackerNews huggingface dataset:
> no one ever got fired for choosing react though.

Probably because they had already moved on to do the same thing at some other company for more money.
Could you give examples of what kind of behaviours generated a "we don't do that here" or "you can't dress like that there"? Dutch/Belgian and French culture are quite different, even between Dutch and Belgian there are enough differences to create some friction, and I'm asking for examples because I would never expect a "you can't dress like that there" from Dutch people, for example.

Uptight, surely, there are plenty of pockets of uptight cultures in Europe, even more in their largest cities. I consider Stockholm uptight as fuck but on the other hand I'd say that Malmö is pretty relaxed.

Using Europe as a single, homogeneous thing is the same mistake as calling the USA a homogeneous culture. There are traces of culture in both places that are quite orthogonal across many regions but there's so many regional differences that it becomes irrelevant.
That's a possible interpretation but a more common understanding is that it's an allegory of recent (at the time) Russian history where the old aristocrats were overthrown to be replaced by communists with lofty ideals, however those ideals quickly fell away and the society went back to something similar to what came before, just with a different set of assholes in charge.

I think if you read more of Orwell's writing besides just Animal Farm, you'd see that he didn't think this was the only possibility. He was a democratic socialist and humanist.

If he was saying it's the natural order of things under monarchy and under communism, that doesn't mean he was claiming it to be the natural order of things under all possible political systems. His political views had a wider scope than just this one short story.
It might have been more work to convert the model for the RK3588 NPU, even if Rockchip provides an SDK and an automated conversion tool that should help (the SDK includes a simulator for the NPU, so the converted model can be tried on a PC before being deployed on a board like Orange Pi):

https://wiki.t-firefly.com/en/ROC-RK3588S-PC/usage_npu.html
Worked in a couple open plan offices in previous jobs. Had to be antisocial and wear headphones at volume level 11 to ignore everyone from the the FNG to the boss to get anything done.

"But the collaboration!" What, you mean half the office bugging me because they don't want to read a manpage?
> Pushing for web standard technologies is inherently unbiased because that's just betting on the platform.

There's a ton of politics around web standards, and you can bet if Google manages to push through Web Environment Integrity, I will not consider people suggesting to use it "unbiased because it's a standard"
Germany != Western Europe.
Like others I disagree that you have to wrap _everything_ in useCallback/useMemo.

However saying you only need those for performance reasons is wrong.

There are cases where avoiding re-rendering (thanks to useCallback) is avoiding an infinite loop.

I created a codesandbox[1] to illustrate this. Wrapping the "reset" function in a useCallback solves the infinite loop.

If your initial reaction is: "you should not create logic like this" or "you're adding unnecessary stuff" please note that this is a stripped down version of a real use case, where things make more sense.

The point is that it's hard to come up with a rule as to when to use useCallback. The best I can think about is: "if you don't have direct vision on where your function will be consumed, wrap it in useCallback". For example, when your function is defined and returned in a hook or defined in a parent component and given to children.

The point is that any of those children/consumers could have this function in a useEffect and so list it as a dependency of this useEffect.

[1]: Warning, clicking "Start" creates an infinite loop in your browser. https://codesandbox.io/s/intelligent-rgb-6nfrt3
it is impressive that tests are being generated as part of the process, well done!
can you explain how does it work and when it won't work?
A cake is not alive, and giving pieces of a cake, is what sane people do.

Only gluttons keep a cake for themselves.
IDK, I think Vue is pretty incompatible with the rest of the JS/TS platform — e.g. its templating language is pretty custom, and components built for it won't work in say, Svelte. Same for most frameworks; Solid isn't more compatible, it's just different (arguably better? With the drawback of a smaller ecosystem, because it's younger, and because no one ever got fired for choosing React). Svelte has its own unique lifecycle system; etc etc.

This isn't really any different from frameworks in general: JQuery had its own massive ecosystem that assumed JQuery was being used; trying to use something from the Rails ecosystem in Padrino was unlikely to work well; Vim vs Emacs; etc etc. Frameworks accumulate ecosystems around them and have since pretty much the beginning of programming — I don't think React has nefariously trained ecosystems into the community; I think people tend to build libraries on top of other libraries they know, and React is popular, so it's the basis for more libraries (the ecosystem).
https://arxiv.org/pdf/2308.04430.pdf is interesting from that point of view. They've tackled it from the perspective of avoiding copyright content in training, but including it in inference but I think it ought to mean less hallucination because they also (claim to) solve the attribution problem.
Relatives and friends who are not mgmt are obvious failures or expendable :P
Neither Preact or Svelte produce web components by default or use features like Shadow DOM.
This blog post is heavy on opinions and short on practicality. I am not using a framework to achieve some platonic ideal of frontend development. I am using a framework to get work done in an ecosystem that makes it easier for me to get my work done and not have the bits rot.

I'm not going to migrate outside of React unless I were to get something out of it. I did not see anything someone would get from switching. I don't understand why people write these kinds of blog posts when they're so non-persuasive.
The other difference is that in capitalistic societies people can criticise the ruling ideology openly on public forums like HN and not be murdered for it.
Not a good analogy. Good music is timeless. People will be listening to Mozart and The Beatles in 1000 years. Most if not all software frameworks will, for all practical purposes, cease to exist in just a few years and be of no interest except to software historians.
If it makes you feel better, feel free to believe what you wrote. But it doesn't make it correct or accurate.
Convex is in a16z’s portfolio. https://a16z.com/2022/04/27/investing-in-convex/

That GitHub org is a16z.

Their other repos are also showcasing various AI toolings, often the tools are also startups they invest in.
That page does not load for me.
For example if a better DX leads to faster development or less bugs. Especially when the difference between the delivered UX will likely be performance related rather than a functional/visual difference. Nearly all technology choices make trade-offs like this.
Found the guy who only read the title.
Well, my thoughts are that if a C compiler can do all the heavy lifting I may as well take advantage of that. Transpiling to C also reduces, if not eliminates, any internal recursion in the expression evaluation. You also get decades of optimisations too, although I don't see there being much of that.
I don't really understand what you're getting at.
Can AI Enable Continuous Code Testing and| Continuous Code Review?
As someome going through something similar to Brandon but a bit less severe let me plant this thought in your process:

The initial covid infection can be a "death blow" for some people, especially if genetically at risk for long-covid (as proven in recent studies)

Just like Brandon I had a near fatal covid infection in 2020, I was on 24/7 oxygen for two months and never fully recovered.

I've stabilized but it is clear I am on a slow but steady decline over the past few years and if this slope continues, I could end up like Brandon.

So if I die in a couple years from Long-Covid, are you going to argue it's not long-covid that killed me or the original covid infection?

Because the damage persists and is getting worse even without active infection.

There are several papers on premature aging (aka radical aging) from covid->long-covid, the ultimate final outcome of that is organ failure and death many years, decades, before one's time.

Look at his twitter and you'll see some of his photos, he was not well and that's three years later after infection.

https://twitter.com/BrandonGilles/with_replies

Covid basically finds every genetic and environmental triggered weakness in the body and doesn't relent in some people. That's long-covid, at least one kind.
>>> ... transformative concepts that have the potential to redefine software development practices. By integrating automatically generated tests and code reviews into the development process, organizations can significantly improve code integrity, accelerate delivery, and stay ahead in the competitive software landscape.
Couldn't really make it collectible in the traditional sense, but an open source deck building game could be interesting.

I guess you could introduce collectibility by allowing artists to make limited runs of cards with alternative art.
Joy coded good bit of BSD, not just coded on. As I recall, vi predates the first BSD release; I believe Joy was working on AT&T Version 6 Unix, since that was the basis for 1BSD.
Yes, us poor tech workers who in almost any major city in the US make at least twice to three times the local median wage
Ask HN: Best practices for purchasing a Pen Test?
Hello,

I'm currently the Tech Lead / CTO at a small 20-person startup that has seen quite a bit of growth this year.

We store quite a bit of contact information (names, phone numbers, email addresses), and have quite a few <18 year old users (we are a high school fundraising platform). We'd like to make sure we are doing our best to keep that information protected.

I think our biggest concern at the moment is a data leak.

We would eventually like to move towards SOC2 (likely through Vanta), so I'm not sure if there is a way to "kill 2 birds with one stone" here.

I inherited this project from a contracting shop, and although I'm feeling fairly comfortable with it at this point, I'm very much in a "I don't know what I don't know" situation.

Any specific recommendations for things to look for or things to avoid? Are most companies the same in that they're just going to run a set of automated scripts against your services?

Thanks for any help!
I always felt people thought windows 95 was amazing but it had significant support from the processor.

The earlier versions that ran on things back to the 8086 were more impressive, to me.
I have no sources but Turkey suffers from this problem a lot, and the solution is that the construction crews pretend they saw nothing and complete their contract
Recur Email. create your own newsletter
Modems used to be a dollar a baud!
You should probably look into Guidance [1](previously Microsoft Guidance but looks like it’s been separated from their main organization), which is a language for controlling the output of LLMs (so you can, among many other things, output JSON in a deterministic way)

[1]: https://github.com/guidance-ai/guidance
Thanks. Did any well known Google apps use GWT?
Where I used to live, there was a lake with naturist & 'textile' areas. Trash cans all around. During the summer, a cleaning crew would go round early morning.

After a hot summer day, the 'textile' area would be littered with candy wrappers, chips bags, beer cans, bottles (+tops), small trash bags, forgotten children's toys, the odd piece of clothing or towel, cigarette buds, etc.

On the nudist area: practically nothing. Despite often more crowded than textile area. A world of difference yet same lake & same day.

It's just different mentality of people visiting an area.
That's what made me so confused about the framing of the article, because it seemed like it was going to go the other way.

> Things you forgot because of React

Ah, this is going to be a back-to-basics, here's how great vanilla JS, HTML and CSS can be.

> I used to only listen to new music, updating my tastes with each week, and was never really satisfied. Then I discovered that there were certain genres that didn't update each week, and were timeless and satisfying.

Ok, this is definitely a back-to-basics, don't jump on the flavor-of-the-week

> React is old news now, here are a dozen new flavors of the week.

Wait, what..?
"I am confident those red berries you are describing are perfectly fine to eat"
There’s been a lot of good improvements since 8 for sure. Nothing individually mind blowing, but together they make the language a lot more agile and enjoyable to work with:

- Records (immutable objects, basically named tuples)

- Switch expressions

- Pattern matching and record patterns (coming in Java 21)

- Text blocks (multiline strings)

- “var” for variable creation instead of the full type name

- Virtual threads and other Project Loom enhancements

- Improved tooling, including jshell, a REPL built into the JDK
Don’t forget the players get their money too. I’m not sure how it works for the trading cards but, for the MLB at least, players get paid for their likeness used in video games.

As an interesting aside, Barry Bonds is the only player since the 70s to opt out of the collective player licensing agreement. He figured he’d make more if he / his agent negotiated his own deals. This led to him not appearing in a lot of the licensed games from that era. Normally he got replaced by a fictitious white guy who batted right handed to avoid any possible litigation since developers didn’t want to work out a separate deal with him.
I am hoping either HN mods replace my link or someone writes a proper post by human hand.

I kinda regret not taking a deeper look at that website first but at least the news is out and people are talking about it and remembering him.

I wish there was a way to archive all his posts but of course now that's even more impossible given twitter's degradation

https://twitter.com/BrandonGilles/with_replies
It's been like that for at least 3 decades - which is how long I've been doing such work. I disagree with your assessment of it being an "awkward teenage phase". The rate of churn is accelerating while nothing really new theory-wise has been added. I agree with the parent post:

> disproportionately composed of young and/or new and/or self-taught developers who "discover" new paradigms constantly
Nice one, thank you. Added to my 'read later today' list, the abstract looks very interesting.
Like if someone defrauded you and gave the money to politicians and the politicians gave the money to charities they were affiliated with instead of returning it to you I'm sure you'd be happy with that.
It's been my experience over a long lifetime that the vast majority of people who live their lives thinking they're better than everyone and feel the need to tell people how superior they are, aren't.
Teach Me Kubernetes
Doesn’t the ESP32 have internal pull-up resistors, thereby making that extra resistor unnecessary?
And you almost always can, it's just harder. Things are much easier with too much overhead. It's the same as computing performance. Working with 64K of RAM is hard, because you spend so much time on performance. Add 10,000x the overhead and you don't end up with 10,000x more powerful software, you end up with Electron and senior developers who don't know anything about performance testing.

I worked for a company with maybe ~800 people in the IT division (IT in this context means software, DBA, security, help desk, actual IT, everything). Our reporting structure over the entire department, for each group, was something like Manager -> Sr. Manager -> Director -> Sr. Director -> VP -> Sr. VP -> Executive VP -> CIO -> COO -> CEO. We had about a dozen programmers, all one team. 12-14 people reporting to one manager. One manager reporting to one Sr. Manager. Two Sr. Managers reporting to one Director. I am not one of these "managers are worthless" people, I was a manager before and it was a lot of work. But you could have nuked half the management in the entire IT department, and probably 90% of the SVPs and EVPs, and after the dust settled work would have continued at exactly the same pace if not faster.
Don't let them paste passwords (2017)
I enjoy my Remarkable 1 even though it can be a bit sluggish from time to time (fixed in Remarkable 2).

It's great to read some A4 pdfs even though one need to zoom when reading academic papers due to the small font used.

The e-ink screen is great to read under the sun but it really lacks some backlight to use it during evenings. I can read some paper books but not use the Remarkable unless I can have a direct light on it, but then there's a bit of shining.
Plain old CSS.
Are Company Values Destined to Be Hot Air?
Toothless, saccharine company values have been annoying me for 20 years. I finally took the time to write my thoughts up.
The word you’re looking for is “uniparty”
Out of fear that they would come for me. I was not a kind God to these sims (under the impression they were toys), and their behaviours have shown me that though forgiveness is one of their capabilities, they do not wield it often.
Ask HN: Startup ideas that you'll never do?
There are a lot of reasons to not do a startup, maybe it creates a lot of value but you don't see a good way to capture that value. Maybe it's just outside of your area of expertise.

So what ideas do you have that you'll never act on?
You can't drop a column which is still in use, I fail to see the issue with that.

I might see lamenting the lack of CASCADE but I've come to be less than fond of that in postgres, I don't consider that a feature.

And since mysql does not have DROP COLUMN ... CASCADE does it just... destroy any dependent when you try to drop a column being depended on? That sounds like the opposite of a feature.
Almost by definition the only “huge winners” at the roulette table are the people who keep putting it all on black and let it ride. Because the people who take their winnings off can’t ever get the huge payouts.

And some people seem absolutely unable to understand the probabilities involved. It seems to almost be a requirement for startup leaders.
From the OP:

> Our method blows other libraries like Microsoft's guidance out of the water.

Come on man, it was just a few paragraphs.
I got the Remarkable 2 and really liked the feel of writing and the build quality. But it has since landed on a shelf. The main reason for me is that it feels write-only, the notes I take disappear into it and I find it harder to search them than in notebooks. That's a pity because I think this is something where a digital device can excel. My wishlist would include:

- On-device OCR. I don't feel comfortable using it for anything sensitive as long as everything gets sent to the cloud. Come on, mobile processors get more powerful each year and AI has improved in leaps and bounds since the release of the Remarkable 2.

- Allow OCR without converting the document. You can either have a page as an image, or convert it to text. Why can't you OCR your text, keep it as an image, and have the letters stored behind the handwriting? PDF supports that without problems.

- Use handwriting in the UI. This is also big. Why do I have to use a crappy on-screen keyboard? I want to write a search term with the pen and then find the pages with the original highlighting selected.

Some nice to haves would be:

- Higher resolution. The e-Ink makes it look very crisp, but the resolution is actually quite low, and I cannot write as small as I write on paper.

- A more innovative UI. It feels a lot like Windows CE clicking on things with the pen. You could be scribbling circles to select pages, drawing crosses to activate checkboxes, and arrows to move things.
I was a kid in the late 1980's to early 90's. That was the height of the "Junk Wax Era." Baseball cards were so overproduced that stuff from that era is almost worthless. You can still buy sealed unopened boxes of complete sets of cards from that time.

https://www.sportingnews.com/us/mlb/news/ranking-junk-wax-er...

I mention this because I don't really trust anyone's opinion about how rare something is or price guides created by groups trying to get you to buy more cards.
"Zoom terms now allow training AI on user content with no opt out": https://news.ycombinator.com/item?id=37021160 (August 6th)

"Following pushback, Zoom says it won't use customer data to train AI models": https://news.ycombinator.com/item?id=37123572 (August 15th)
My perspective is that JSX is all that React has to offer. And lots of developers - myself included - were doing "JSX" a decade before React arrived. Because it, like, super obviously a good idea.
Come on man. Unemployment rate is a trailing indicator. If this technology is to displace jobs at scale it will take a few years at least for that to unfold.
Are you really talking about the couple thousand dollars that people received during the pandemic? In most of the country that might have paid your rent for a month or a few weeks of groceries or if you're fortunate maybe one luxury good.
One of my companies was purchased by IBM. It's now IBM.
Sure, to force chat gpt to role play I've found that giving it a character to play and then prefixing your query with underscores for meta-roleplay stuff works well.

Ie if the LLM is playing a character "Jack" and you are playing the character "James" your query might be "_only reply for your character Jack_ James: I pick up the sword and then turn towards Jack".

It can also be used to influence behaviour as LLMs often get stuck repeating (not word for word) the same events/description, ie greeting your character over and over again and not moving on, LLMs aren't great at having autonomy/agency in the flow of a conversation, I think this is best done by not providing the entire history of the conversation but instead distilling it to relevant information for the current query.

But that can also be mitigated manually by bumping their character with underscores ie "_Jack asks what James wants to order_ James: I return Jack's greeting and peruse the Tavern's menu board".
> One thing that strikes me is that years ago everybody was excited about ES5 finally adding classes, and now everything seems to be moving away from classes.

For me the key advantage is much less boilerplate, readability and portability. The problem with `Stateless` components up until the introduction of hooks is that if you wanted state you had to write your component as a class so you ended up with components written in two totally different syntaxes with one being much more heavy on boilerplate.

The last key advantage i see is it brought the "React Components" way of sharing to logic. Previously every piece of logic you shared had to be connected to a react component, so you ended up with many "Providers" that were just a div with logic. Now with Context and Hooks you can easily transport that logic without the use of a Provider (well you still need one with Context but that a slightly different story).
I'm still waiting for Web Based interfaces to catch up to where we were with Visual Basic 6 and/or Delphi decades ago. It seems like this is a hint to move in a better direction.

Today I learned what a Web Component was, and there's a lot more boilerplate and manual copying of properties than I'd like, but it seems better than digging around in the DOM with JavaScript.

You all have my sympathy. It would be so much easier if we could just run mobile code without having to worry about all of the side effects it could cause. (Including the extreme side effect of taking out our systems completely).
Once I’ve read and highlighted a paper I offload it to Zotero. Only thing I keep on permanently are notes.