You can also have a type which does it. Raku has a Rational type for this.
Frezik
- 1 Post
- 426 Comments
Meh.
I converted my blog from WordPress to a static site generator using Gemini’s version of Markdown as the base format, and then hosted both HTTP and Gemini versions.
I later took down the Gemini version. The web site remains as static HTML driven by (a variation of) Markdown. No cookies, no JS, limited CSS. Even took out some old YouTube
<iframe>
tags and converted them to straight links to videos. Doing it this way does everything anyone would want out of Gemini without having to use a specialized client.We should be promoting some kind of browser extension that flags a site as having no cookies and no JS.
This has been mangled up by history. The important parts of the World Wide Web are having hypertext (basically links inside the document to other documents) and being networked (those links can take you to a completely different server). Apple’s Hypercard had hypertext, but it wasn’t networked. Usenet was networked, but had no hypertext.
This is laid out in Tim Berners-Lee’s original 1989 proposal for the web while he was at CERN:
https://www.w3.org/History/1989/proposal.html
Gopher has all the qualities he was talking about. Gopher was a different kind of World Wide Web. We decided against that particular route, and for mostly good reasons, IMO.
Sort of. It predated the web, so calling it a “site” is wrong. Just like you can have an email application that’s completely separate from your web browser, you can have a Usenet client that’s also its own thing. Of course, people made web-based clients as time went on.
Your ISP ran a Usenet server that connected to other Usenet servers. The biggest problem with this system was that your ISP would automatically delete posts past a certain age. Following old threads was a pain.
Google Groups started as a Usenet archive where messages were kept forever. Google bought them and turned it into what it is now.
Frezik@lemmy.blahaj.zoneto Technology@lemmy.world•The Discord Breach Might Be Worse Than We Thought, As The Hacker Is Said To Have Two Million Age Verification PhotosEnglish2·6 days agoIn this case, it’s the opposite for people in the UK. It’s illegal to not verify age.
Frezik@lemmy.blahaj.zoneto Technology@lemmy.world•The Discord Breach Might Be Worse Than We Thought, As The Hacker Is Said To Have Two Million Age Verification PhotosEnglish9·6 days agoThe issue here is that age verification is mandatory in the UK, and not just for Discord.
Frezik@lemmy.blahaj.zoneto Fuck Cars@lemmy.world•This is a huge win for public transit passengers in New York CityEnglish2·6 days ago. . . it doesn’t encourage enough people to use buses to offset it.
This is the assumption that’s wrong, and it turns the whole thing around. Induced demand for public transportation does work. When people see buses going by while they’re stuck in traffic, they tend to make a different choice.
Frezik@lemmy.blahaj.zoneto Technology@lemmy.world•[Technology Connections] Video projectors used to be ridiculously cool [34:39]English7·6 days agoIt might have had something that can shift its frequency.
What happens in most microwaves is you get a standing wave. The high and low parts of the wave are always at the same spot. You then get a hot spot at the peak (and trough) of the wave, and a cold spot when the wave is near the zero node.
By shifting the frequency, even just a little, you can shift the hot spots around and more evenly cook the food.
This is obviously more expensive, and these days you can get it in higher end residential microwaves. Way back when, though, it was only something you’d see in industrial models.
Frezik@lemmy.blahaj.zoneto Technology@lemmy.world•[Technology Connections] Video projectors used to be ridiculously cool [34:39]English12·6 days agoMetal is only a problem if it gets near the sides/top/bottom. There are even microwaves that come with a metal rack for the middle that’s suspended by plastic tabs.
Bigger size makes it easier to stay away from the sides.
Frezik@lemmy.blahaj.zoneto Ask Lemmy@lemmy.world•What's an uplifting fact that might counter the doom of our current reality?8·7 days agoHistorians debate just how fascist Franco really was. In fact, Orwell wasn’t even that sure when he wrote Homage to Catalonia, and he was quite clear that he went to Spain expressly to kill a fascist.
Frezik@lemmy.blahaj.zoneto Ask Lemmy@lemmy.world•What's an uplifting fact that might counter the doom of our current reality?741·7 days agoFascism doesn’t actually last that long. At some point, policies have to have some kind of attachment to reality, and fascists are incapable of grappling with reality.
Frezik@lemmy.blahaj.zoneto Technology@lemmy.world•AI may soon make Nobel-level discovery, scientists predictEnglish1·7 days agoThis one probably will happen.
The reason is that there are certain fields where you have to sift through massive amounts of data to find the thing you’re looking for. This is an ideal task for machine learning. It’s not going to replace real scientists, and it sure as hell shouldn’t replace peer review. It’s a tool with a use.
As one example, the longest known black hole jet was recently discovered using ML techniques: https://www.caltech.edu/about/news/gargantuan-black-hole-jets-are-biggest-seen-yet
Frezik@lemmy.blahaj.zoneto Programmer Humor@programming.dev•Every goto in the Linux kernel / Just another day on the linux-kernel mailing list10·7 days agoIIRC, this is because gcc optimizes goto very well, or at least it did back in the day. It also is a genuinely workable solution for error handling in C.
Consider if you need to setup three things, do something with them, and then tear them down in reverse order. If there’s an error on the second thing, you want to jump right to the part where you tear down the first thing. Using goto tends to make cleaner code for that in C compared to, say, nested conditionals.
Frezik@lemmy.blahaj.zoneto Not The Onion@lemmy.world•QAnon shaman sues Trump for $40 trillionEnglish27·7 days agoIs it even possible to hate this guy? He’s just too hapless and dumb.
Frezik@lemmy.blahaj.zoneto Programmer Humor@programming.dev•Working in a large corporation is a place where you get paid forEnglish19·8 days agoMy company used to do SAFe, which is supposed to be “scalable agile”. By “scalable”, they mean you take up half a sprint every quarter to do a big waterfall plan.
Too many in management believed their jobs depended on keeping this system. We slowly whittled them away until we stopped doing it entirely. Whatever you might think about “Extreme Programming” or “Agile” being primarily a way to sell books and overpriced training seminars, SAFe is only that. It has no other purpose.
Frezik@lemmy.blahaj.zoneto Not The Onion@lemmy.world•U.S. parole board can’t jail people because it doesn’t legally exist, suit saysEnglish14·8 days agoAhh, right, that dumbass shit.
Frezik@lemmy.blahaj.zoneto Not The Onion@lemmy.world•U.S. parole board can’t jail people because it doesn’t legally exist, suit saysEnglish48·8 days agoI’m a little surprised the judge merely “counciled” them not to jail too many people, as opposed to putting in a TRO until there’s an official ruling. The logic seems pretty clear.
Frezik@lemmy.blahaj.zoneto Programming@programming.dev•Hardware Stockholm SyndromeEnglish3·8 days agoSame. I’ve actively avoided using them because LLMs ruined it.
That particular one would have made piles of cash if she had done that.
It’s not entirely by choice. There’s a limited range of frequencies available.