skysight-inc/HackerNews huggingface dataset:
In general I really like React but after spending years tinkering with JS and seeing my codebases rot away faster than I could keep up due to ecosystem/tooling churn (I started in 2014 when React was ES5 and still using mixins), I started replacing my frontends with regular server-side rendered ones. I enrich these with vanilla JS and some smart things like using async fetch and the history API to seamlessly replace content when clicking links. There are of course solutions like HTMX or Turbolinks that do similar things but it's really easy to make something simple work with just JS.

With some of these tricks the resulting application feels very similar to a real SPA. Of course if you're really building an application in the sense that a lot of the computation and state handling happens in the browser you will still need to use JS, but even then I would just go with vanilla JS in most cases. That said my experience is from building mostly CRUD-like apps alone or in small teams, so I can see the benefit of more complex toolchains in larger organizations.

But yeah, browsers and JS offer so much out of the box, most people don't seem to realize how easy it is to do cool things without relying on frameworks.
This one from Dan Boneh at Stanford is a good intro to cryptography (you can see that it's old as "crypto" (in the URL) was the abbreviation for cryptography still back then...)

https://www.coursera.org/learn/crypto

https://crypto.stanford.edu/~dabo/courses/OnlineCrypto/

(Part two has been going live anytime now for ages... but it's still not there: https://www.coursera.org/learn/crypto2)
What’s a limit?
github supports 2FA using authentication challenges, those work without phones or phone numbers.
form the outside looking in... It looks like America treats its people like each and everyone one is a resources to be exploited and consumed.

not just by those that are in power, but by everyone.. its like they are raised to think that its their right to exploit and consume anyone in their path.

Quite frightening on a huge socioeconomic level. It worries me enough that the few times I've left Australia I made sure that any of my stops did not land in America.
Creation?
In principle, reactive and callback-style libraries could eventually use Virtual Threads as backend as well, but I expect for them to fall out of fashion. After all, they were introduced because the existing threading support in Java did not adequately support massively-concurrent applications.

There will surely be new frameworks that will take advantage of Virtual Threads and will eventually require to run on the first Java LTS version with Virtual Threads support. Other projects might offer Virtual Threads as a backend, maybe even by default, but will continue to support traditional backends for the foreseeable future, e.g., Apache Tomcat.
... the only way we know that these super massive black holes can form is by smaller black merging.

The main way supermassive black holes in the centers of galaxies grow is by accreting gas, not by mergers with other black holes. (But you can still have potential problems with not being able to accrete enough gas in a short enough time to explain early SMBHs, unless the initial "seed" BHs are larger than those formed by conventional supernovae.)
GCC? Which supports more hardware, and has better ISO C and ISO C++ compliance than clang, since Apple and Google decided to refocus on their language stacks?

Emacs, for those of us that can't put up with vi?
> As a parent dealing with their midlife crisis and raising two children...

Geezer reaction: If only this was ~1945 - ~1965 America, I'd say to find a nice little Protestant church* and start attending. An enormous number of such churches were either founded to meet such needs, or grew enormously during the baby boom.

(Not to say that any such churches were perfect. 50% of 'em were below average! But if you lived in a good-sized town, you'd probably have at least a few to chose from.)

*Assumpion - Roman Catholics, Jews, etc. would mentally translate this to "Catholic church", "synagogue", etc.
July wasn't record setting in Switzerland, but still 1-2C hotter than the long term average 1990-2020. So no, not cold.

https://www.meteoschweiz.admin.ch/ueber-uns/meteoschweiz-blo...
Fake Claim That OpenAI Has New $1B Investor Mysteriously Appears on LSE Website
Well, I work for a Fortune 100 company and our standard is Vue, so, yes, using React could potentially get me fired ;-)
> many are happy to contribute without caring about the end use of the information

Would we really call this "informed consent"? ... or it more likely that contributors either haven't read the licence agreement or have read it but haven't properly understand what it actually means?

> This is sharing, under very open terms [..]

Kind of like one way sharing? You give, they take?
It can tutor them to do what? You do realize, if AI is capable enough to "tutor" someone, it can simply do their job, for 1/1000 the cost.
People are downvoting me for pointing out facts that I have observed that are contradicting the NPR narrative? I thought hacker news was better than this. Very disappointing.
I get the desire for something like this from the perspective of a founder / early investor. The question is does doing this become a form of poison pill that VCs will then look down upon in later rounds.

Maybe this would be better suited for the calm company crowd?
Further etymology is related to “to divide, cut up” so portions of people. Parts of a whole. Also see: demon, daemon, daimon for a kick.
You need tools adequate to the task, but the task isn't necessarily what other people think it is. In this case, I'd bet the tasks are to learn what's going on inside a database and become better at programming in Python, not to write a high-performance production-ready database implementation.
I am wondering now if true communism has ever been tried. I am thinking of the top of my head it might be a Kibbutz you find in Israel?
I believe this actually is one of the hypotheses about black hole interiors, though I forget the name. Nothing to do with terrestrial storms or vortices, though; a black hole doesn't have to have any rotation at all.
Even now so many people suck at the most basic Google searching. I consistently get easily Googlable questions from some family members - and I’m not talking about geriatric or illiterate ones. And I take my time to explain how they can just look it up (without being rude).

So I’m not sure if AI tools will help for these types of people without basic skills of logic and inquiry. And I don’t mean that in an insulting manner, I’m not even close to being the sharpest tool in the shed. But you really do have to have baseline IQ and knowledge to be able to make use of these tools.
On what basis do you call individual homes "ideal density"? I like to have a lot of amenities within 5-10 minutes of walking. That is not quite achievable without apartments.
That gist looks like a bit of a list of strawman arguments to me. Most of those have never occurred to me, but lets look at one that has

"Stale closures in Hooks are confusing"

Seb gives an example under that section that they call confusing. I don't understand why. The syntax makes it very clear when the values are checked - if its in a closure, its clearly at the time of the click - if its not in the closure, its clearly at the time of rendering, so no, they are obviously not equivalent.

The problem with React hooks is that they behave very differently from all normal JS code. In normal code, most functions that contain closures in them run once and the closures run zero or more times (depending on the consumer of those closures). In React, the render function runs many times, but the inner hook closures run a different (could be smaller, equal or greater) number of times, where that number may depend on the number of times render runs or the number of times other closures run.

You can easily create a mess this way; React realized this, which is why the official documentation recommends not modifying state from within useEffect. But current frameworks (e.g. Remix) already do this, and this already causes problems with batching (see https://twitter.com/oleg008/status/1680290734644002816). Additionally, dependencies between multiple useState and useEffect calls can easily be non-obvious - they may be embedded within custom hooks.

In a mutable / signal based framework that really pays attention to all these details (like MobX) there is a consistent way to how things work based on a relatively simple dependency tracking mental model (MobX based signals can be implemented in about 50 lines of code if we're willing to forego the nice proxy syntax). So not only is state management way easier, its also on average less prone to these kind of issues.

In essence, React state managements makes things harder with the promise of making state easier and more consistent to manage long term, but doesn't really succeed in delivering on that promise. At least not when compared to more newer interations of mutable reactive state management (like MobX) which support all the goodies (automatic dependency tracking, automatic batching, automatic disposal of unobserved state and computed values etc)
OK... and these AOT compilers work identically to JIT compilers in every way, with no caveats other than needing to specify the architecture in advance.

Right..?
They killed the unicorn by cutting it up so everyone gets a piece (scroll to end): https://nextwave.partners/about/our-story
What happens when you test the real-world efficiency of hybrids and EVs?
Milk-V Meles (yet another quad core C910 RISC-V SBC)
Think of what he did to his parents too… Two bright Stanford professors/lawyers now with black marks on their careers. Silver lining is they surely have enough tucked and hidden away to live very comfortable once this blows over. Albeit in disgrace.
I'm right now only finding this one, not sure if some older tweets are gone. I remember him as someone who does more anti-marketing than furthering discussions.

https://twitter.com/slightlylate/status/1595328476956876800
> No one ever got fired for choosing react

Well, the current top commenter says:

> I lost my last job because of it and all associated technical debt.

But I don't think a tool should be blamed there :)

But as someone that just learned (learns) react, the useThis and useThat stuff is confusing and lots of details to know how to write it so it doesn't do useless re-renders. It takes time to read and practice all of that.
Even in the USA we have taxpayer-subsidized "bootcamps" for all sorts of valuable skills. They're called community colleges, and they get a bad rap, probably because of our university-focused work culture. Doing coursework at a community college is a great way to try out a field you're not sure you're committed to yet, that's more structured than self-study. And it's going to be cheaper than a full university and certainly more so than a private bootcamp.
Despite all the negative fuss about it - I love the Kindle Scribe. It feels and sounds like paper and works great for work note taking and journaling. Oh, and I can read books on it too.
useState is basically a local [observable] variable slot in a closure, but defined at runtime in React. That’s why it cannot be conditional. React is an ugly attempt to pretend you’re in a powerful functional language while it’s javascript and you run its core manually and follow the rules for “…reasons”.
I have Supernote. It has some pretty nifty organization features that the Remarkable doesn’t have- you can create a table of contents as well as tag and star pages. It makes it easier to find the notes you need.
I live in Europe and it has been a colder than normal summer. Two/three weeks ago kind of felt like autumn already and we got pelted with hail at the end of July. Have I just been feeling the weather wrong or something?
Other origins are available: https://gitlab.com/, https://codeberg.org/, ...
> 'affluenza'

Nice term. Logan's kids on the TV series "Succession" definitely exhibited that affliction.
LLMS allows for building systems that take user requests in text: "book the next flight to Egpyt" and convert them into a system message: `{"action": "book_flight", "destination": "Egypt", ... }`

However, anyone who's tried to build a system like this on GPT or other LLM soon learns that they don't always do as they're told, and it can be hard to get them to return valid JSON or correct instructions translation reliably. Sometimes, they make stuff up that has nothing to do with your system.

OpenAI has a solution to this with their new function calling API, by introducing models fine-tuned to return JSON, but they still can't make guarantees.

Outlines seems to be a neat approach to constrain an LLM to return JSON, or any grammar, reliably.
I'd be frustrated with React too if I worked in team where these things are not well understood.

You don't need to read "multiple articles" about these things, they're explained clearly in the docs

- https://react.dev/reference/react/useMemo#memoizing-a-functi...

- https://react.dev/reference/react/useCallback#how-is-usecall...

- https://react.dev/reference/react/useEffect#specifying-react...

To answer OP's questions, useCallback is

function useCallback(fn, dependencies) {
return useMemo(() => fn, dependencies);
}

As for useEffect, everything that might change between renders, eg props used in the effect, must go in the dependency array.
It still means that on private trackers
How about a local wikipedia dump, with precalculated embeddings? Then you can perform a similarity search first and feed the results to the LLM.

It’s less likely to hallucinate this way.
> Most bosses regret how they mandated workers return to the office

hmm, why would they want us to think that...

fortune is just a PR for shitty execs.
As an atheist, I've been thinking a lot about this in the context of the factors that made me atheist in a way that would've been not just repugnant, but downright unimaginable, to the previous 20+ generations of my family.

I think the individual rational case for abandoning religious institutions is really compelling. Goodness without gods is obviously possible, and villainy with them as well. The religious machine consumes time and resources and the benefits it yields are ill-defined and diluted by its many harms.

However, theology and religion represent the state-of-the-art of a millennia long effort to establish meaning in the human condition.

Today, many academic disciplines look down upon theology when it was, until very recently, the core of what it meant to be a scientist or thinker - especially in Christian/Muslim/Jewish traditions. It's crazy how many in the social sciences, much less the physical sciences, have never engaged with the religious canons that underpin their disciplines. Not so much the bible stories, as the exegesis that gave birth to academia.

Even for the average person, the Church served as inexpensive frontline mental health care (esp. for bereavement, anxiety, and guilt), a social safety net, a source of community, and a source of simple, generally reasonable, heuristics to evaluate daily decisions. These are all things my "enlightened" post-religious life struggles to provide me.

It's totally fine for society to evolve away from religion. I think faith is in inevitable peril as our understanding of the world grows. However, we may be throwing out the proverbial baby with the bathwater by making the assumption that it is possible to simply skip out on something that sat at the core of most human lives for millennia with no ill effect.
I'm curious why, as a contributor to both Red Hat and SUSE, you don't recommend SUSE Desktop[1] more often (ever?), considering that their pricing is competitive with Red Hat. Is there a technical reason, an especially positive experience with RHEL support or maybe something else entirely?

[1]: https://www.suse.com/shop/desktop/
Not a front-end dev, but I think (correct me if I'm wrong) the usual way of SSR were things like returning a plain HTML web page in Spring/ASP.NET/whatever and that the main invention of Next as far as SSR goes is that you can write your server's HTML docoment in JSX.

So I would say the author's point (if I was asked about it) would be that these other new front-end frameworks support similar things, instead of sending plain HTML over the wire.

Am I wrong?
Genuine question from someone who's only worked in CSS-in-JS or SCSS preprocessors for the past ten years -- what would you choose for styling?
Nice achievement.

How many users would realistically be able to use it at the same time when running on such a device? I am interested in its scalability.
Alarm raised over broken authorization in Mozilla VPN client
> For example, Philips made LED bulbs sold in Dubai [0] that last many times longer than the ones in the US.

I have an early U.S. Philips bulb that has been burning continuously since December, 2010. It cost about forty bucks, as I recall.

It's in a dark entryway where it's a real pain in the butt to change the bulb, so I was happy to pay that if it meant not getting out the ladder several times a year.

You're right -- the ones made now don't last nearly as long.

On the other hand, they don't cost forty bucks, either.
"SQLite stores the schema as plain text in the sqlite_schema table. The DROP COLUMN command (and all of the other variations of ALTER TABLE as well) modify that text and then attempt to reparse the entire schema. The command is only successful if the schema is still valid after the text has been modified. In the case of the DROP COLUMN command, the only text modified is that the column definition is removed from the CREATE TABLE statement. The DROP COLUMN command will fail if there are any traces of the column in other parts of the schema that will prevent the schema from parsing after the CREATE TABLE statement has been modified."
Seems like that, but when I see your nickname, I feel funny, lol
Beneree is seeking for Exclusive Beta Testers!
It happens to be the one the universe runs on? So there’s a physical quantum computer that exists? Where?
:(

The architecture community lost a great guy! I will miss him!
Amy Boyer ?
SBF is going to be nailed to the cross as an warning to others.
The case is a slam dunk, there are mountains of evidence, plenty of eager witnesses and prosecutors who would love to add his scalp to their collection. There's no way he's getting off on a technicality.
NASA Nearly Lost the Voyager 2 Spacecraft Forever
Whereabouts are you? I remember in 2008 I visited and it seemed like the whole continent stank of diesel but it's much better now, or my sense of smell has weakened. I'm in the Netherlands and there's not too many cars on the road compared to many other places, though.
That's not my experience.

Even the cheap LED bulbs last far longer than incandescent ones.
CSS Selectors: A Visual Guide
You may be interested in the work of Alain de Botton who makes many similar points.

https://www.alaindebotton.com/religion/
Location: Tokyo, Japan

Remote: Yes

Willing to relocate: Not at the moment may be next year.

Technologies: TypeScript, JavaScript, Node.js, React.js, PHP, PostgreSQL, MySQL

Résumé/CV: https://www.linkedin.com/in/chathuras

Github: https://github.com/chathuras

Email: chathuras at <no sp@m> gmail dot com

Experienced Full-Stack Software Engineer skilled in leading development teams and delivering innovative solutions. Expertise in JavaScript and PHP technology stacks.

Previously led a team in a US based company. Currently working remotely from Japan for a Japanese Corporation. Looking for any full-stack, front-end, back-end role.
I agree with most of it, but I still had to chuckle at the "don't understand what's happening under the hood" part. The browser and JavaScript are themselves very high level, so it's funny how e.g. not using React would make you understand more what's going on under the hood. It's a pretty deep hood.
The author is delusional. Full stop.

We did not treat each other "better" in the past than we do now.

> The corporate culture was professional, dignified, and respectful

Sure, with all that normalized sexual harassment in the workplace, it was definitely more respectful, dignified, and professional. The author probably worked in the "golden years" of the term "postal", too.

Of course, it is fair to not want to be treated like a child, and one would hope the royal you could speak up and say something.
It is amazing to vote in Ireland where it isn't rare for a candidate that nobody loves but most people can at least somewhat tolerate wins because of 2nd or 3rd preference votes.
Perhaps if democracy was an American invention your comparison could hold some water, it doesn't really make any sense otherwise. Democracy's practiced by the majority of nations worldwide, I don't see what the prison population of a single nation has to do with that.

The reason myself and others are so dismissive of Marx's ideas is because time and time again, any time those ideas have been forcibly implemented amongst a population, the result is bloodshed and subjugation. Every. Single. Time.

Many of us have grown weary of tankie types trying to shoehorn pro-Marxist viewpoints into these conversations and are pretty quick to identify the dog whistles ("But, but, America!") when we hear them.
I’m always surprised why people make this argument.

Is this argument “it’s normal and not man made?”

Is the argument just normal grammar Nazis stuff, intentionally latching on to the ability to redirect context?

Is the argument that earth will be fine, implicitly dismissing we should care about our species sustainability?

Why oh why I wonder.

“Just a reminder, “Just asking a question” and “I find this interesting”… are basically smokebombs people throw into a conversation- but why?

“Just asking a question” here…
i like aurelia because it has a minimal footprint on my code.

i set up routing with the views available and i write a class for each view. there is practically no boilderplate code. (eg what is $scope in angular is simply the class object itself in aurelia)

any class level function and variable is automatically made accessible from the html template. classes and templates are linked by sharing the same name: welcome.html, welcome.js, export class Welcome ...

while in angular you have to declare everything explicitly, aurelia mostly just figures it out by itself.
Are you curious about the­ phrase "female de­lusion calculator"? You're not alone. This unusual and controversial e­xpression has caught the attention of many web­ users. So, is the female delusional calculator really accurate?
‘It gave us some way to fight back’: New tools aim to protect images from AI
Marx is not the same as the ussr nor Stalin.

For instance if you were to read Das kapital, its very much a dry economy book and not some crackpot ranting about capitalism bad.
Third world countries are the biggest polluters from ruining their rivers and in emissions.[1][2]

but the biggest thing that makes me made is people posting misinformation on the internet while acting righteous about it.

[1] https://www.cgdev.org/media/developing-countries-are-respons...
[2] https://www.conserve-energy-future.com/most-polluted-rivers-...
Feels like this would make a total mess of a cap table. It’s effectively equity in all the ways that matter for minority preferred shareholders, except that it isn’t represented on the cap table and it’s got baked in pari passu treatment, which growth investors (rightfully so) won’t like. Even convertible notes mess with cap tables in ways I’d rather not repeat, as it prevents accurately valuing employee equity grants. Also, none of this would be eligible for QSBS, which is a knock against it for the investor.

Additionally - what is the purpose of repurchases if they don't also reduce the exposure the company has to claims on liquidation? Noting that "repurchase" is probably dangerous nomenclature - if these were to actually be interpreted as equity repurchases by the IRS, it could endanger QSBS status for all shareholders.