json's recent activity
-
Comment on What programming/technical projects have you been working on? in ~comp
-
Comment on What programming/technical projects have you been working on? in ~comp
json LinkWrote the minimum parts for a static blog site so I can replace Hugo for my personal website. This is done by using the ParcelJS bundler. By minimum parts I mean: a paging resolver for paged route...Wrote the minimum parts for a static blog site so I can replace Hugo for my personal website. This is done by using the ParcelJS bundler.
By minimum parts I mean:
- a paging resolver for paged route urls, to turn */page/2/index.html into a slice of the list of posts.
- a posts resolver for wrapping the markdown file of the post with the pug template of the site.
- a tags resolver for generating
- the */tags/index.html list of tags,
- the list of posts belonging to a specific tag route, */tags//index.html,
- and handling the paged tag urls, */tags/javascript/page/2/index.html
- a pretty-urls optimizer that does two things:
- remove /index.html from the end of anchor href so it's /tags/javascript/page/2/
- remove the superfluous "/page/1/index.html".
Site maps and whatever else Hugo generates idc about rn.
One of my goals was to make it easy for me to add arbitrary front end interactivity specific to a post/page, and not have the site entirely be driven as some heavy FE framework.
A place to show things like a couple of React components I made as a learning exercise.
eg https://jason.schwarzenberger.co.nz/lab/tools/lolcryption/.I have long used GitHub's gists as a way to "write" entries on my site. With this I have made it possible for the gists containing an html file to be rendered within their post page.
Eg:
https://jason.schwarzenberger.co.nz/gists/7e4f4a-tetris.golf.html/I've been unemployed since March. 😄
-
Comment on Why airlines are always going bankrupt in ~transport
json Link ParentSounds a bit like Air New Zealand. It's our primary regional transport provider since we don't have passenger trains. Jetstar competes on some of the main domestic routes as a more budget option.Sounds a bit like Air New Zealand.
It's our primary regional transport provider since we don't have passenger trains.
Jetstar competes on some of the main domestic routes as a more budget option. -
Comment on Is there a "Razor" for the idea that "If a Billionaire is against it, I'm for it?" in ~finance
json Link ParentMaxim vs razor? and (Both copied from whatever Google presented to me.) The sentiment of if a billionaire is for something then I am against it (and vice versa) is in my mind analogous to the...Maxim vs razor?
A maxim is a short, memorable statement that expresses a general truth, fundamental principle, or rule of conduct.
and
Figurative & Scientific Meanings
Philosophical Razors: In science and philosophy, a "razor" is a principle that allows you to shave away unlikely or unnecessary explanations. The most famous is Occam’s razor, which states that the simplest explanation for an event is usually the best.(Both copied from whatever Google presented to me.)
The sentiment of if a billionaire is for something then I am against it (and vice versa) is in my mind analogous to the enemy of
my enemy is my friend. -
Comment on What was the best job you ever had? in ~life
json Link ParentHow long did you have that job and how did it end?How long did you have that job and how did it end?
-
Comment on Steam Controller 2 sold out in ~games
-
Comment on Steam Controller 2 sold out in ~games
-
Comment on What Google thinks you're worth in ~tech
json Link ParentIs it showing that people with higher capacity for discretionary spending provide more ad value?Is it showing that people with higher capacity for discretionary spending provide more ad value?
-
Comment on Any one use mesh networks like mesh core? in ~tech
json Link ParentI had the same intention as you. But I couldn't find a device that was reasonable to give to a child. By that I mean, most do not all are way too dev/tinkerer oriented. The ones that i found that...I had the same intention as you. But I couldn't find a device that was reasonable to give to a child.
By that I mean, most do not all are way too dev/tinkerer oriented. The ones that i found that aren't required a cellphone with the app to use.
-
Comment on For $700 a month, sleeping pods make San Francisco more affordable, but at what cost in ~life
json LinkDegrading quality to achieve a price point does not make something more affordable. It masks how expensive all the other options have become. This is the housing equivalent of shrinkflation.Degrading quality to achieve a price point does not make something more affordable. It masks how expensive all the other options have become.
This is the housing equivalent of shrinkflation.
-
Comment on Almost half of EU’s busiest flight routes are ‘hard or impossible’ to book on trains in ~transport
json Link ParentWhile ignoring all operating costs, I was going to raise a point about prices based on demand/seating capacity for the given vehicle. But a shallow search shows an a320 neo has a capacity of about...While ignoring all operating costs, I was going to raise a point about prices based on demand/seating capacity for the given vehicle.
But a shallow search shows an a320 neo has a capacity of about 200 seats, while an ICE has 400-900 seats, depending on how many carriages.
-
Comment on Almost half of EU’s busiest flight routes are ‘hard or impossible’ to book on trains in ~transport
json Link Parentdefinitely not Switzerland.giant country in the middle of the continent
definitely not Switzerland.
-
Comment on When $1.4 billion isn’t enough: ‘Avatar’ sequels under the microscope as Disney weighs franchise’s future in ~movies
json LinkHow long do Avatar films take to make? It was 10+ years between the first and second films. Given James Cameron is 74, I think it's understandable to review the series' continuation just on that...How long do Avatar films take to make? It was 10+ years between the first and second films. Given James Cameron is 74, I think it's understandable to review the series' continuation just on that alone.
-
Comment on Introducing EmDash — the spiritual successor to WordPress that solves plugin security in ~tech
json Link ParentIntroducing em-dash, the blogging platform for all your em-dash riddled ai generated blog spamI will not stand for this slander.
Introducing em-dash, the blogging platform for all your em-dash riddled ai generated blog spam
-
Comment on What programming/technical projects have you been working on? in ~comp
json LinkHaving fun making a new telegram bot/userbot that allows an llm to use Tools to do what it wants in a chat. https://github.com/jason-s13r/qotbot Ask for a poll, it makes one by combining tools....Having fun making a new telegram bot/userbot that allows an llm to use Tools to do what it wants in a chat.
https://github.com/jason-s13r/qotbot
Ask for a poll, it makes one by combining tools.
Wasn't interested the clawdbot stuff where giving an llm bash access and all the other credentials is the norm.
Have had two of these bots talking amongst themselves and holy shit the chat goes weird fast.
-
Comment on What do you think about putting your driver's license in your digital wallet? in ~tech
json LinkPointless unless it's officially an accepted type.Pointless unless it's officially an accepted type.
-
Comment on Meta to acquire Moltbook, the social network for AI agents in ~tech
-
Comment on LLMs can unmask pseudonymous users at scale with surprising accuracy in ~tech
json Link ParentWhen I set up my tildes profile, I intended to not use my generally common username and keep things somewhat difficult to link to my other online identities. But then I posted something that I...When I set up my tildes profile, I intended to not use my generally common username and keep things somewhat difficult to link to my other online identities.
But then I posted something that I know provides a link. TBH, don't really care 😂
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
json Link ParentMight try that after I lose interest in Palworld.Might try that after I lose interest in Palworld.
-
Comment on Elon Musk says SpaceX will prioritize a city on the moon instead of a colony on Mars in ~space
json Link ParentYeah, I thought of mentioning China as an exception. I suppose it depends on the specific definition and requirements for any proposed lunar city. I imagine it will be closer to an Antarctic...Yeah, I thought of mentioning China as an exception.
I suppose it depends on the specific definition and requirements for any proposed lunar city.
I imagine it will be closer to an Antarctic research base like McMurdo.
Yeah, wanted more control. I have never got my head around the syntax used in the layout files for Hugo themes.
I could probably write a parcel resolver to replace the gist.py script I use for collecting the gists. But meh.
Another thing I've done with Parcel is making a guestbook that uses a GitHub repo as the store of guestbook entries. Actions to redeploy the website, and a telegram bot as moderation & committing to the submissions repo.
There's a cloudflare thing in there as a gateway between the Python api running the bot.