skysight-inc/HackerNews huggingface dataset:
I've found webcomponents to be really good at encapsulating anything that doesn't directly query application state.

Specifically there are two type of components that really thrive as web components (as opposed to react):

1. Highly interactive components - Components that implement complex interaction management (but sort of agnostic to application state) are ideal web components. You don't need to mess around with `useEffect` or `useMemo`. You get really tight control of rendering and state updates.

2. Highly internally stateful components - Components that track a lot of state that doesn't escape the component, work great as web component. You get strong encapsulation without a framework requirement.

React conflates two concepts that I think are better when separated: templates, and components. Templates provide a "re-render the world" approach, and components encapsulate state and interaction patterns. Conflating these two things causes the standard useEffect and useMemo headaches. It also means that any consumer of your component, must also use your templating system (react's render function).

The `lit` library does this separation extremely well, allowing you to implement components using templates if you want, or not. And consumers do not care how the internals are implemented.
I bought a mikortik router aimed at small offices and can't complain about it's reliability. A general suggestions is to shop in a higher category than home use.

The idea is there's a categorisation of products that goes: home, office, enterprise, industrial. Reliablity and price goes up accordingly. Take this with a pinch of salt.
Oh that's so clever, to use the water that is there anyway as a means of affecting the dynamics of the pipe. Whoever came up with that was on another level.
please make sure to not leave even a single bit of trash. Hiking trail i visit frequently got taken over by gender reveals, birthday parties and now is full of trash from these parties.

Park service just put a big sign and called it a day.
> This issue blows it way out of proportions. The code is still freely available, Github just doesn't want to give away resources for free because it's a for-profit company. If you're mad at a for-profit company for not giving away things for free, you're simply delusional.

GitHub is still giving away resources for free, they've done it forever because it was their business model: attract as many people as possible through open source repositories, a fraction of which will then use their non-free services (and more recently, also to train AI models).

Now that they're so dominant (and owned by Microsoft) they can afford to worsen the services, but people have every right to be pissed about it and push developers to move their repositories.
Typescript (which is 99% of current JS above toy scale) has a company behind it.
Yep, can confirm this works great in the M1 Air. I've been running mine this way since I got it way back in 2020. Greatly lengthens the time you can play graphics-intensive games before thermal throttling starts to occur and your frame rate goes choppy.
To be honest:

> But I had lost something, too. I had lost something which could never be restored to me while I lived. All the grace, the beauty, the poetry had gone out of the majestic river!

This is something that, a little, keeps me from learning more about music. I love the magic of music, it's a mystery to me. How the writers, composers, performers manage to, by design or no, affect me the way that it can.

I mean, it's just folks banging or blowing on things. I listen to music that's popular with "musicians". I went to a concert once, and while waiting to get inside, someone asked out loud "Who here is not a musician?" and I seemed to be the only one to raise their hand.

I can not say why the music appeals to musicians. Apparently it's very technical. Which, means, of course, that those literate in the art can appreciate it on that level. But, also, perhaps, those literate in the art may not be able to well appreciate other styles. "Oh, that's to XXX, it's not YYY".

The point being, as you get more knowledgeable in an art, there's a tendency to become more critical. And I guess maybe you'll know "why" you're more critical. Where as ignorant me doesn't know why I like or don't like something, just that I do.

And I think I'd rather just stay ignorant and enjoy music that I do on the face of it, without diving deep into the how or why.
I'm a standard nerd; I have a warm personality towards people but overall, you know, I'm basic to look at. I feel like my attractiveness would be a neutral overall.

By some dint of cosmic luck, my wife and I's baby girl is astonishingly cute - as verified across multiple countries of travel and countless unprompted compliments paid to her from all types of people. She's got a winning smile and looks that consistently warrant the phrase "she looks like a doll". People get distracted from what they are doing when they see her and trip over things - it's absurd. It's not merely a "oh, every parent thinks their kid is cute" thing.

When I'm carrying her I get to experience this second-hand charisma boost related to being good-looking. It's incredible, people are more friendly, more helpful, and much more pleasant. So I would not doubt for a second that attractive people get a helpful boost!
It sounds like the common thing that someone in the Frontend space would say, that a technology less than 5 years old says the technology is old.

I prefer the terms stable, mature, or hardened.

People use React/Angular because large products are forced to have a way to organize things across multiple developers and time. Now don't get me wrong I think these JS bloated websites are an abomination that have largely made the web worse and not better, especially since UX "engineers" feel a compulsive need to change the layout every 6 months and now even simply scrolling through a page involves 50 web requests, and takes a full 3 minutes to load the next page... but I digress.
You can instantly see when the codebase is Java Coder Go or Python Coder Go, they bring their baggage to the language and it shows.
I have a weird gap on icloud, and the photos are on google photos thankfully, and other periods it’s opposite

they are both supposed to have all

dangerous
AI and Online Gatekeeping
This article into reimagining online content moderation, tackling the issue of gatekeeping that often stifles diverse voices on platforms like Wikipedia and social networks. We propose a future where intelligent AI agents, controlled by users, navigate and filter content, enabling a genuinely pluralistic exchange of ideas. This system would allow for the free flow of contributions while AI agents facilitate meaningful collaborations and sift through the clutter of noise and marketing. It's a vision that seeks to democratize digital discourse, ensuring that every idea gets a fair chance to be heard and evaluated on its merit.
I saw it happen today.

Someone was discussing on a forum and found a news article about the issue. They posted a link to the article.

But it was a 2010s style "synonym spin" spam site, not the original source of the article. The spam article was obviously garbage to me, but that poster was happy to share it.
Are there benchmarks for Biome anywhere? How much better does it perform than prettier exactly?
Drinking Distilled Water
Many people comment the reasons without acknowledging that part as well:

> By matching all the tests, the Biome project also found a lot of bugs and questionable decisions in Prettier that we will be able to improve upon.

For me, this means that they have another implementation for sanity checking their own.
No. That is not how it works in Sweden. You are doing the same mistake that Tesla is doing.
Syntax IMO. I know it's obnoxious, but the reality is most people read C like languages, not Lisp.
Thank you for posting this. Sourcegraph is now a sponsor on Open Collective.
A scraper won't be using search. Only crawling links. If they required login to browse a repository that would stop bots but also cause a 1000x greater riot.
I think computers are that way to me. Others imagine the marvels of AI or the world-spanning internet and speak in romantic ways. To me, just modems and signalling and database and linear regressions.
Looking at the speed of the trains is a bit depressing. USA had so much potential to built the best high-speed railway network...
> When you are talking about systems then mass is not a sum of the parts but a proxy for total energy of the system

And which kind of mass is a proxy for the total energy of a system? That's right: relativistic mass, not rest mass. And this is the sum of its parts, as it should be, because energy is always conserved. Relativistic mass and energy are the exact same thing, up to a constant factor of c². Isn't energy a useful concept?

Furthermore the history of physics has often revealed what we thought of as atomic particles to actually have systems underneath. In the course of time, it seems more likely to me that we will do away with rest mass than with energy, in which case all mass will be relativistic.
Honeybees cluster together when it's cold – but we've been wrong about why
In a former life I often bemoaned the amount of boilerplate shovel code I was having to write to move data between my underlying data models and the user interface's displaying them. So much repetitive and simple 'pick up this number, format it to two decimals, put it in this display box'. Then technologies came out featuring data binding, and patterns like MVVM to keep me from having to write all that shovel code. Instead I could just specify bindings directly in the declarative UI layer, bind it to my data object (or view object) and be done. All I had to do was learn the binding language, understand how the binding engine worked, understand the corner cases and details like the difference between one and two-way binding, etc.

Eventually the code taught me that typing, proofing and and maintaining shovel code is often easier than understanding and maintaining the magic incantations of a more 'elegant' solution. My eyes can quickly scan over boilerplate and glean what it is doing pretty quickly. But magic - magic takes understanding - and I only have so many ready spell slots.
No. A better language would make things safer for the average dev.

You don't give the new guy at work the saw with all of the safety features removed. Or maybe you do, but you're not doing it for his benefit at least.
I am curious what could the HN imagine as not being good about this proposal
Prettier is very opinionated about line length which gofmt isn't. That's the only complaint I have and it's bad enough I just refuse to use it. Add one character to a line and enjoy a ten-line diff.

Edit: See a contrived example of something gofmt doesn't touch (the behavior I want): https://go.dev/play/p/cKMKnFwT8tq
I have mixed feelings on this, partially from personal experience. In general, I'm against bans and believe primarily in personal responsibility and accountability (this probably betrays my political leanings).

However...

(Sorry, I'm about to rant, and I apologize to anyone who's about to suffer reading through this.)

Having fairly recently watched my father pass (1.5 years ago) from the effects of COPD acquired as a direct result of cigarette smoking, the 8 months in hospice care, his struggle for every single breath, and the personal tribulations this placed upon my mother and I as his caretakers, I can say for certain there is nothing good to be had for anyone from this (and that's before the effects of second-hand smoke). During his life, smoking ruled every habit, every trip, every moment of his life. You literally couldn't go anywhere without having to break somewhere along the line for him to smoke. And it wasn't just COPD: Atherosclerosis, aortic aneurysm, high blood pressure (and the litany of medication to treat it), poor health, poor quality of life, etc.; some from smoking, some from the greatly reduced exercise tolerance resulting from smoking and subsequent sedentary life. But, I also know that banning it will never happen because our governments, too, are addicted—the revenue prospect is too great and too appealing.

I admit I should have no part in this debate because of my personal experiences, and I certainly recognize the influence emotions play as a consequence, but of all things that "should" be banned, tobacco is probably one of them.

I have a friend who's smoked off and on most of his life. He's about my age (early 40s) and is already seeing some of these effects. Addictions are powerful, and there's very little you can do until they decide they're ready to quit. He knows what happened to my dad. He knows it'll happen to him.
piezoelectric cooling has left a history of ruins because it doesn't account for condensation, particularly in small, consumer-grade applications where drainage paths are hard to design for. You need one drop of water in the wrong spot. Not a game I'd play with a metal-cased laptop, personally.
> You can make large fans quiet, people do it all the time

This is unintentionally funny, because the law of fans is that the smaller they are, the louder they have to be to achieve the same cooling.

Air moved is a function of blade size and speed (and shape and count and more, all applying to big and small fans ~alike) — and those two are indirectly proportionate. The smaller the blade, the faster you have to spin it. The faster you spin, the more turbulence you make, the more sound you get.

Biggest hack for silent active PC cooling is to use upsized fans spinning slower (see Notcua).
Exactly. Code is read WAY more often than it's written.

Go is verbose, that's true. And if the speed of writing code is the biggest hurdle in your productivity you're either a true 100x coder savant or deluded.

Go is boring, boring is good when you need shit to work every time. And especially when you can't pick the top1% geniuses to work on it and might need to bring some rando up to speed to the project AND language quickly.
They had a voting system. By having mods decide what was and what wasn't a 'good' question undermined the whole point of the voting system. Mods should use their powers to filter out hate/spam/trolling/egregiously off topic issues not determine relevance/usefulness. As others have pointed out SO was a site with great answers but awful for asking questions. This is why ChatGPT is eating SO for breakfast.

Even if a question was super similar to one that was previously asked has value in exactly that it might be phrased slightly better and be a closer match to what people were Googling.
You need an e-mail for GitHub as well, but in addition a GitHub account
Another way to model that is for each shopkeeper to have limited amount of cash-on-hand and inventory, so after a certain point they can't offer you anything for yet-another Magic Sword except junk-items or store-credit for said junk items.

Skyrim kinda-sorta did this, but the campaign didn't have any hard limits of "world ends in X days" to stop people from just waiting for an economic reset, and there were some other ways to glitch things.
> The allocator gets address space.

The allocator gets address space from the OS.

> The OS doesn't just shove things into your process in general. It can't return a 52 bit pointer out of nowhere. My first draft mentioned OS explicitly but it's not really the OS that's making the decisions.

Of course it’s the OS making the decision. You ask the OS for memory and it returns whatever it wants.

The allocators acts as bridge between the application and OS and can do cool stuff but if the OS returns a 52 bits pointer there isn’t a thing the allocator can do about it that would result in a working 48 bits pointer.

> It does show that, but that decorrelation is neither necessary nor sufficient to solve this problem.

It absolutely is necessary, since the entire subject is to not break applications requiring a smaller address space for their tagging scheme to work even as the system and other applications migrate to larger ones.
Competition is good for the consumer (i.e. the users). For example: when clang and LLVM came along, gcc got significantly better.
I think it’s relative to your own value system. If a man dies rescuing his family from a house fire, that’s a loss for him in some sense but in that man’s own value system, it’s a win because he values his family’s lives over his own. The word “spite” implies a certain pettiness that usually indicates that you don’t actually value satisfying the grudge more than what you’re losing so you’re just being stupid. My mom always used to say, “don’t cut off your nose to spite your face”. But if you brood and premeditate on a resentment until you wholeheartedly accept it and are still willing to make personal sacrifices to satisfy it, that’s less “spite” and more “revenge”, and it becomes evil.
I’ve been self hosting images with https://github.com/immich-app/immich and I‘m really happy. Decent mobile apps, even has good face recognition and H/W accelerated video transcoding. Can be served either with Tailscale or, as I did, with a reverse proxy on a cheap Hetzner box.

Good backups are a must obviously, I have a backup server on a separate VLAN that syncs ZFS snapshots daily, and daily incremental encrypted backups to Google Drive w/ Duplicati. I‘ll have to reconsider Gdrive now obviously.
About half of the problems in Compfiles have complete solutions. They are marked by the checkmarks in the list at https://dwrensha.github.io/compfiles/index.html .

As far as I know, based on published systems like LeanDojo [1] and Magnushammer [2], computers today can only solve a small handful of the very easiest of these problems (like maybe Imo1959P1).

[1] https://leandojo.org/

[2] https://arxiv.org/abs/2303.04488
No that's not actually true at all. The website always worked with text-only browsers, cloudflare or not. Thoroughly tested with the likes of w3m and dillo.

Virtually all of the traffic that was intercepted claimed to be modern Chrome or Safari or similar, which should be capable of "executing the latest bleeding edge javascript functions".

The primary reason why anyone gets shit from bot mitigation is IP reputation, this is far more important (and effective) than looking at browser characteristics.
> How to Sync Google Drive and OneDrive?
> Can we do this directly on cloud without an "on-prem" (at home) component doing ths sync?
> I have a valuable repo of documents that is a few hundred MB and grows slowly -- need to have a Plan B in case MegaCorp decides one day they don like my nose.

No, I don't think so.
At some point you have to have some computer involved somewhere.
If you have a valuable repo of documents that is just a few hundred MB
and grows slowly
I would recommend you look into something like tarsnap
You already have your data locally.
Assuming your repo is less than 1 GB in size and you don't change your data too often,
I think your expense is only USD 0.50 a month.
based on
Storage: 250 picodollars / byte-month of encoded data
($0.25 / GB-month)
Bandwidth: 250 picodollars / byte of encoded data
($0.25 / GB)

Prepay fifty dollars and it should last over eight years at fifty cents a month.
I don't use tarsnap but if your documents are valuable,
it might be worth the cost.
If you are into those kind of generalisations you could easily argue that's not very different from working at FANG where a lot of people only care about their own career and care very little about creating good products.
We as a sysops / platform engineering have decided on Go and Python as our languages as well. We'll be sending the dudes to 1-2 more python courses over the next year or so, and follow that up with a few go courses as well.

We decided on that order, because the mortal part of python[1] can be picked up with less theoretical knowledge and requires less effort and knowledge to become useful imo. Like, if you know json.load, csv.load, some loops and other basics, some comprehensions, you can already do a whole bunch of useful things. And if you're a bit careful about your versions and dependencies, it can be easy to get this running on servers as well. Though you can still make your life a living hell with dependencies in python if you want to.

And later on we want to offer Go for two reasons. First - we have to support some stuff on-prem on a variety of operations systems. Here, go's simple cross-compilation saves a lot of time. And a lot of our stack is written in go - consul, vault, terraform, ... being able to read this code, or even write providers, plugins and such later on will prove useful. Go just requires a bit more programming experience in my book to actually get into, as well as to start understand larger projects.

1: I mostly mean python not touching meta classes, multiple inheritance, monkey patching, binary patching and such. Darkness lies down that path.
Your original argument wasn’t about minimum voting age; you claimed the law would backfire due to the current generation.

The point is to eliminate cigarettes over a long time period and many generations, so I don’t see how it would backfire. How would there be more smokers in 2093 if the minimum age to buy cigarettes is 85?

If you want to change your argument, that’s fine, but my comment was in response to your original argument.
I can comment on Caltrain only, the location is available via the 511.org API.

I built a project that predicts how late trains are based on their current location vs historical averages and posts the data to Mastodon. https://caltrain.live.
I’ve been studying this for my research. The current conclusion so far, related to perception of flow, is that with keyboard interactions, you’re consistently and progressively closer to your goal. As for the mouse, regardless of timing to achieve the goal, there’s generally a lot of waste, that is, the energy spent does not reflect a step towards the intended goal, because you are moving into space generically and non-deterministically. Mouse interactions are prone to failure/cancellation, since the goal is achieved only at the last instant, one diversion and you are back to square one. Hence the class of actions that must be faster on the mouse are the ones where the goal is immediately and progressively achieved by spatial input, such as scrolling, drawing, etc. since energy is directly translated into effects. Mouse is obviously suited for continuous input, and keyboard for discrete inputs. For all classes of actions apt to be broken into discrete steps, keyboard control will provide consistent and reproducible results. Further, those chunks can be optimized and compressed with mnemonics, whereas mouse actions cannot be compressed. There’s no one versus the other, as both devices are complimentary. With that said, performing discrete interactions with the mouse is a poor use of the tool, regardless of anyone’s preferences. That’s a fact.
I mean.. sure https://xkcd.com/927/
Pinecone Open-Sources AWS Reference Architecture with Pulumi
It's the learning curve.

There is a very DIY approach with composition, with lots of library choices. This makes it tough for beginners and intermediate programmers to jump right in and be productive.

That plus functional programming, plus immutable defaults, plus Lisp, filter out developers who don't have a lot of experience, dedication, or a mentor.

The more I learn though, the more I love it.
I work on Lit, which I would hesitate to call a framework, but gives a framework-like DX for building web components, while trying to keep opinions to a minimum and lock-in as low as possible.

It's got reactivity, declarative templates, great performance, SSR, TypeScript support, native CSS encapsulation, context, tasks, and more.

It's used to build Material Design, settings and devtools UIs for Chrome, some UI for Firefox, Reddit, Photoshop Web...

https://lit.dev if you're interested.