kevinfiol
kevinfiol on Hacker News
Well, it does technically in that to "run TypeScript" all you have to do is strip the types, and execute the remaining JavaScript. This is what Node does, but it doesn't do any typechecking. You can always include TypeScript as a dependency to do the actual type checking for you.
Deno from my understanding included a version of the TypeScript compiler as part of its build. Node doesn't do this. I'm not sure what Bun does, but I wouldn't trust it for anything more than a hobby project.
I'm not the person you're responding too, but the negatives of recommendation algorithms on major social media platforms are well understood and documented in the media these days. I think this has urged a lot of people to reject them wholesale and find alternative ways to consume content (myself included; I only use YouTube RSS feeds to watch videos these days). Some downsides to recc algos include: monopolizing your attention for profit via ad revenue, incentivising addictive or compulsive behavior, subtle (or not so subtle) political radicalization or echo chambers, among other stuff.
If you don't find any of the above to be a problem, you don't have anything to worry about, of course.
It sounds like you're not a tinkerer in the sense that the parent post used the word.
I agree generally. At least, I have a better time using LLMs when I treat them like StackOverflow or Google, where I'll ask a question non-specific to my code, and figure out how to fit the answer into my project. When I give them access to a codebase, cognitive debt is incurred far too quickly. I know people online will say I'm just not using it "right" -- I do not really believe them.
This looks cool, but standalone usage doesn't seem to be documented anywhere. The README for the above package says "For full exposed APIs, see src/index.ts."
So while Vue is not gatekeeping their reactive primitive library, they aren't exactly advertising it like Preact in a way that the average library author (like Mador's author) might even be aware of it.
Also as someone who has built React applications for more than 7+ years, I'm also still not sure what React's reactive primitive package is. Googling or asking ChatGPT has turned up nothing.
Fair, although I'm aware of preact/signals-core, what are React/Vue's standalone reactive libraries?
It's not that weird of a presentation, just different ergonomics for the same problem.
preact/signals-core is great, but since HTML elements have no way to subscribe to signals, you have to handle that yourself:
import { signal, effect } from "@preact/signals-core";
const $ = (s) => document.querySelector(s);
const counter = signal(0);
effect(() => {
$('.counter').textContent = counter.value;
});
$('.increment').addEventListener('click', () => {
counter.value += 1;
});
vs mador:
import mador from "https://cdn.jsdelivr.net/npm/@marsbos/mador@latest/dist/mador.js";
const $ = (s) => document.querySelector(s);
const [read, write] = mador({
count: 0,
});
read(".counter", (el, count) => {
el.textContent = count;
},
(state) => state.count,
);
$('.increment').addEventListener('click', () => {
write((state) => { state.count++; });
});
Anyways, I love projects like these that try to make working with the web easier with minimal tools.
Because important information or information I care about is at times exclusively posted on Twitter, like news from my local municipality. I am not a Twitter/X user, so having Nitter as an option is important to me.
I replaced Dropbox and other cloud storage providers with Syncthing on all of my machines. It's not the equivalent, but I was surprised by how little I missed the cloud storage itself -- in the end, I just needed a way to have my files synced between devices automatically.
Are you referring to my comment here:
https://news.ycombinator.com/item?id=49454431? Can you explain how I'm promoting communist symbolism or crucifying innocent folks for "swastika art"? What part or what did I suggest was not truthful?
Is there an official Bluesky or Mastodon? Especially after the Nitter cease-and-desist, I have run out of patience for Musk's propaganda machine.
I don't think they have to worry about that since they are self-hosting.
> when's the last time you've seen a coworker brag about using vim
Are you suggesting these people have increased or decreased in quantity? I feel like I've met more vim/neovim/tmux/theprimagen/tool-rewritten-in-rust geeks with every new job.
Has anyone used the Repository Mirroring Feature [1] to mirror repos across self-hosted Forgejo/Codeberg/Github? How effortless is it? Ideally, I'd like to only ever push repos/branches to my self-hosted Forgejo, and have those changes automatically reflected on Codeberg/GH without thinking about it.
[1] https://forgejo.org/docs/v15.0/user/repo-mirror/
Hey, just want to say thank you for your blog. I've learned so much about Docker, dev tooling, and engineering from reading it over the past 7 years.
Congrats to the Zed team! I've been using a combination of Zed + Gram [1] (which I predict may lag behind this 1.0 release in features/fixes). They are both nice, fast editors. However, I switched to Sublime Text 4 again recently and... I'm surprised to see how much clunkier Zed feels than Sublime. I can't put my finger on it, but Sublime, although lacking in features, feels considerably more polished and performant.
[1] https://gram.liten.app/
To be fair, Github has several magnitudes higher of users running on it than Codeberg. I'm also a Codeberg user, but I don't think anyone has seen a Forgejo/Gitea instance working at the scale of Github yet.
Where did you get the impression that it's controversial to pay for YT Premium? Most threads I've seen on this topic are composed of roughly half of the comments endorsing YT Premium, while the other half endorse adblocking from a privacy/autonomy perspective similar to the opening paragraph of the uBlock Origin manifesto [1].
What minor controversy I have seen is a small minority that argue either 1. You shouldn't pay for YT Premium because it enables user-hostile business practices or 2. You shouldn't use ad-block because it's effectively "stealing."
[1] https://github.com/gorhill/uBlock/blob/master/MANIFESTO.md
I'm going to assume you no longer live near family, or are not close to them. I was severely depressed for over a year where I lived alone (across the country from my parents) without pets after a painful breakup. Getting a remote job and moving back closer to my parents/cousins/grandmother helped the most, but other things that help(ed):
* Going to restaurants with bars (like diners or sushi bars) where I could attempt to make small talk with servers
* Regularly going to the gym. Cliche, I know, but at least 3 times a week at the same times and I started becoming friendly with other regulars who had similar schedules. If you get friendly enough with someone, don't be afraid to ask if they wanna get food or beer after.
* Volunteering (cliche as well, but it helps) at the same place once a week. I volunteered for a high school bringing near-spoiled produce from local supermarkets to their horticulture club. There's loads of ways to get involved, but maybe start with your city/county's website to look for volunteer opportunities, ideally ones where you see the same people every time. This lets you build trust and community with folks who are often from different walks of life.
Ha glad to see I'm not the only one irked by that.
It always amazes me how successfully this was swept under the rug and how few people I talk to know about this. The Jack Smith public hearing [1] was so damning, it is unbelievable how quickly the media and the public have moved on. In my mind, this disqualifies this president and his supporters from ever being taken in good faith. Not only did he put
your representatives in danger on January 6, he actively did so in order to undermine the election.
[1] https://www.youtube.com/watch?v=z56_LJtERCI
It's been a while since I've tried it, but post-1.0 release of Bun still seemed like beta software and I would get all sorts of hard to understand errors while building a simple CRUD app. My impression from the project is the maintainers were adding so many features that they were spread too thin. Hopefully it's a little more stable now.
> Kamala Harris's threat to tax unrealized gains just prior to the election is probably why we have Donald Trump in office today
It was not a good policy and was unpopular with many Democrats, but I think there were several other more major contributing factors to why as Trump won (ex. general displeasure with inflation post-COVID, high emphasis on the asylum crisis/trans issues, plus only having 4 months lead-up time after Biden's withdrawal).
At least in the U.S., from my observations, it's mainly a right-wing phenomenon and borne from the same culture that brought us the likes of Glenn Beck, Rush Limbaugh and Hal Turner. As a teenager, my friends and I would laugh at this stuff and assume by the time we were having kids, Fox News and similar right-wing, vaguely racist, puritanical media would be diminished to a point where it was hardly noticeable. We were clearly very wrong.
I'm surprised to see this is built on libSQL -- a while ago, I was told on the Turso Discord that libSQL was deprecated in favorite of the new `tursodatabase` packages. Is there a Bunny Database specific NPM package for the libSQL fork?
This reflects my experience. I also experienced very bad memory leaks when using libSQL for large write jobs. Haven't tried tursodatabase yet, but my impression by the confusing amount of packages in the Turso ecosystem is it's not ready for primetime yet.