smores's recent activity
-
Comment on I hacked ChatGPT and Google's AI – and it only took twenty minutes in ~tech
-
Comment on Here are your choices for a self-hosted ebook server in ~books
smores LinkKinda sad that Storyteller didn't make the cut. Its library management features are still a little nacent, but it has standalone ebook and audiobook support (both on the server and in the apps),...Kinda sad that Storyteller didn't make the cut. Its library management features are still a little nacent, but it has standalone ebook and audiobook support (both on the server and in the apps), as well as support for auto-aligned "readaloud" books (a la WhisperSync).
-
Comment on new Date("wtf"); How well do you know JavaScript's Date class? in ~comp
smores Link ParentYou could check out the Odin Project's full-stack JavaScript course. It might feel a little basic if you're already a competent Python developer, but it will cover all of the web development...You could check out the Odin Project's full-stack JavaScript course. It might feel a little basic if you're already a competent Python developer, but it will cover all of the web development fundamentals (HTML, CSS, DOM manipulation, server-side JavaScript, etc). And it's free!
It notably doesn't cover Typescript, but I think it's not a terrible idea to get started with plain JavaScript anyway, since Typescript only provides static analysis (just like Python's type hints). Once you've worked your way through Odin, the official Typescript handbook is a great way to pick up Typescript. Plus, you'll have a real project to try adding it to from Odin!
-
Comment on new Date("wtf"); How well do you know JavaScript's Date class? in ~comp
smores Link ParentI'm not unbiased here, as over my career I've become almost exclusively a Typescript dev, but I completely agree. Would I have a better time if I got to do what I do now, but in OCaml or Gleam?...I'm not unbiased here, as over my career I've become almost exclusively a Typescript dev, but I completely agree. Would I have a better time if I got to do what I do now, but in OCaml or Gleam? Yeah, probably. Would I want to use Python, Ruby, Java, or Go instead? Noooo way! JavaScript has been a really nice programming language to write and read since ES6, and it's only gotten better.
-
Comment on new Date("wtf"); How well do you know JavaScript's Date class? in ~comp
-
Comment on new Date("wtf"); How well do you know JavaScript's Date class? in ~comp
smores LinkFor all of the non-JS devs in here completely baffled by how monstrously bad the JavaScript Date interface is... We know haha. TC39 has been working on a new set of APIs for time in JavaScript for...For all of the non-JS devs in here completely baffled by how monstrously bad the JavaScript Date interface is... We know haha. TC39 has been working on a new set of APIs for time in JavaScript for ten years. It's rolling out across the ecosystem now, actually. It launched in Firefox last year, in Chrome last month, and is being worked on actively in Safari. Last month's Chrome launch means that it will likely be available soon in Node.js as well. Deno actually unflagged it two years ago. Seems like Bun is lagging behind a bit but I imagine that they'll race to catch up once Node.js releases it.
Anyway, all that to say, there are a lot of really smart and passionate folks that are trying very hard to make JavaScript better, and Temporal is going to end up being one of the better date and time interfaces across programming languages. And it should start being more broadly available by the end of this year, which is huge!
-
Comment on new Date("wtf"); How well do you know JavaScript's Date class? in ~comp
smores Link ParentThis is very common in JavaScript. Almost no browser APIs throw errors, instead we get undefined, NaN, and Invalid Date. I think that the underlying principle is that JavaScript was first designed...This is very common in JavaScript. Almost no browser APIs throw errors, instead we get
undefined,NaN, andInvalid Date. I think that the underlying principle is that JavaScript was first designed to allow some minimal amount of scripting on top of the DOM, and it's "better" for website viewers if the date widget shows up but reads "Invalid Date", then if all of the website's interactivity breaks because of a Date math error. -
Comment on US Food and Drug Administration declines to review Moderna's mRNA flu shot in ~health
smores Link ParentDefinitely not. We can barely get people to get annual flu vaccinations now, and they're free and everywhere. Only like 45% of Americans get vaccinated for the flu every year.Would Americans not just start to buy flu shots from other countries off the internet or something if the good ones aren’t available here?
Definitely not. We can barely get people to get annual flu vaccinations now, and they're free and everywhere. Only like 45% of Americans get vaccinated for the flu every year.
-
Comment on Scheme-rs, an embedded Scheme for the Rust ecosystem, gets its first release in ~comp
smores Link ParentI actually think that might be getting close to being merged https://github.com/helix-editor/helix/pull/8675 (fingers crossed). That's based on Steel, which is a separate embedded Scheme...I actually think that might be getting close to being merged https://github.com/helix-editor/helix/pull/8675 (fingers crossed). That's based on Steel, which is a separate embedded Scheme interpreter for Rust haha.
Edit: just realized that Scheme-rs and Steel are both maintained by men named Matt P, which... Is confusing.
-
Comment on What do dreams mean? in ~science
smores Link ParentNot that kids can't be stressed, because they totally can, but falling dreams are also very common as you are falling asleep. This is not because of stress, but because the way REM "locks" your...Not that kids can't be stressed, because they totally can, but falling dreams are also very common as you are falling asleep. This is not because of stress, but because the way REM "locks" your muscles to prevent you from moving can feel like falling, and a brain that isn't quite asleep enough yet can register this and experience a falling sensation, which affects your dream. I think this is maybe even more common when you're very tired, as this will lead to dropping straight into REM from wakefulness, rather than doing a short cycle first. Also younger kids can have different sleep cycles than adults, not sure exactly if or how that impacts things!
-
Comment on Supporting Markdown search for LLMs in ~tech
smores Link ParentWell.. yes, sure (not all markdown parsers support this and it's almost always limited). But I'm responding to the premise of this post, which talks about providing a Markdown version of an...Well.. yes, sure (not all markdown parsers support this and it's almost always limited). But I'm responding to the premise of this post, which talks about providing a Markdown version of an already-HTML version of your website. If you want HTML, you can just serve your normal website haha
-
Comment on C'mon, professors, assign the hard reading in ~humanities
smores (edited )Link ParentI was also pleasantly surprised by the author's thoughts and strategies here. I was impressed by their thoughtfulness to see that students have a lot of time-consuming responsibilities, and so if...I was also pleasantly surprised by the author's thoughts and strategies here. I was impressed by their thoughtfulness to see that students have a lot of time-consuming responsibilities, and so if they were going to assign large quantities of reading, they needed to avoid also assigning significant amount of non-reading work.
In addition to the benefits you mentioned (which I agree with!), when forced to choose between the concrete, graded essay homework, and the unprovable, indirectly assessed reading homework, students will almost always choose the essay. It's a rational choice, even! It takes some humility to see this scenario and say "to fix this problem, I will have to change the environment that creates it", instead of "sucks, do both".
-
Comment on Supporting Markdown search for LLMs in ~tech
smores LinkThis seems.. fraught. It's true that HTML is more verbose than markdown (and that much of that verbosity is unnecessary information for an LLM unconcerned with style or functionality of a...This seems.. fraught. It's true that HTML is more verbose than markdown (and that much of that verbosity is unnecessary information for an LLM unconcerned with style or functionality of a website). But it's also true that HTML has much more semantic information than markdown — something that I would expect to be beneficial to LLMs. Markdown has extremely limited semantics (basically headers and not-headers), compared to the wide array of useful semantic elements available in HTML.
It seems that perhaps a better strategy would be for LLM agents to have HTML pre-processing steps that clean up HTML before actually tokenizing? Strip out styles and scripts, remove class names and non-aria/semantic attributes, and maybe even only provide the LLM with the contents of the header and main elements, if they exist.
Markdown is neat, and useful in many contexts (like the Tildes comment box!), but it is not a good semantic document format. I think it would be a shame to run toward it's use for representing documents on the web, especially if that means running away from HTML.
-
Comment on C'mon, professors, assign the hard reading in ~humanities
smores LinkWhen I walked into my American-literature class at Case Western Reserve University last fall, I looked at 32 college students, mostly science majors, and expected an uphill battle. As my colleague Rose Horowitch has reported, “Many students no longer arrive at college—even at highly selective, elite colleges—prepared to read books.” One-third of the high-school seniors tested in 2024 were found not to have basic reading skills.
Yet by the end of the semester, as we read the last sentence of Toni Morrison’s Song of Solomon, I regretted ever doubting my students. I am now convinced that I was wrong to listen to the ostensible wisdom of the day—and that teachers of literature are wrong to give up assigning the books we loved ourselves. There may be plenty of good reasons to despair over the present. The literature classroom should not be one of them.
-
C'mon, professors, assign the hard reading
32 votes -
Comment on Apple TV picks up rights to Brandon Sanderson's Cosmere books for adaption in ~tv
smores Link ParentHoly cow, these are fantastic! That shardplate is WILD — you said you made the Bondsmith set yourself?? It has so many pieces haha. I love the scale of Nightblood, too! Really the whole Szeth...Holy cow, these are fantastic! That shardplate is WILD — you said you made the Bondsmith set yourself?? It has so many pieces haha. I love the scale of Nightblood, too! Really the whole Szeth cosplay is really spot on
-
Comment on Apple TV picks up rights to Brandon Sanderson's Cosmere books for adaption in ~tv
smores Link ParentSurely I'm not the only one that's, like, very interested in seeing these cosplays?Surely I'm not the only one that's, like, very interested in seeing these cosplays?
-
Comment on Alternative to Spotify? in ~music
smores Link ParentPersonally I use Plex as my music server and Plexamp as my player. It's available on all platforms, is very pretty and performant, and works super well. It's a really good overall music...Personally I use Plex as my music server and Plexamp as my player. It's available on all platforms, is very pretty and performant, and works super well. It's a really good overall music experience, in my opinion!
-
Comment on RCS — SMS via the internet — is good, but it doesn't matter in ~tech
smores Link ParentAs I wrote that, I did realize that Graphene's sandboxed play services might actually let you use RCS haha. Well, good to know, thanks for the correction!As I wrote that, I did realize that Graphene's sandboxed play services might actually let you use RCS haha. Well, good to know, thanks for the correction!
-
Comment on RCS — SMS via the internet — is good, but it doesn't matter in ~tech
smores Link ParentYup. This also means that it's not possible to use RCS on most (any?) non-stock Android OSes, like Graphene or CalyxOS or iodeOS. It really sucks! The spec is "open", but so much of the planning...Yup. This also means that it's not possible to use RCS on most (any?) non-stock Android OSes, like Graphene or CalyxOS or iodeOS. It really sucks! The spec is "open", but so much of the planning and design happened in closed-door conversations with Apple and Google engineers that there's no meaningful way for anyone to build an RCS client based on that spec.
Not overnight, on demand. When you ask Claude or ChatGPT about a real-world fact that isn't in their training data, they often make an ad hoc web search and try to summarize the results for you. You can see this happening, there will be a visual indicator (Claude shows a little loading indicator that says something like "Web search...").