cypherpunks
@cypherpunks@lemmy.ml
- Comment on They have a right to feel smug 2 days ago:
I am thinking of airtight windows! No other country can build such airtight and beautiful windows. - Angela Merkel in a 2004 interview, answering the question what emotions Germany arouses in her
- Comment on Woooow. So greaaaat 4 days ago:
when the LLM doesn’t have enough layers
- Comment on Is anyone NOT steaming their Music? 6 days ago:
i’ve gotten some cooked mp3s before. i don’t know if they got that way through steaming or what but i did need to uncook them before i eventually burned them 🤔
- Comment on proof of wormholes 2 weeks ago:
Tylenol is Acetaminophen
… which is what most of the world calls paracetamol.
- Comment on Foolproof advice 4 weeks ago:
🖖
also: username checks out
- Comment on 🦈🦈🦈 5 weeks ago:
here is the full res version of the image, via the author’s 2019 twitter thread… where there was also this important update two years later:
this other post “A Marine Biologist Ranks Shark Emojis” covers some of the same and also some other ones
- Comment on kansas can get fcked 1 month ago:
- Comment on Pandering to conservative Americans 1 month ago:
I bought some cheap Chinese 2-way radios. The packaging has a big American flag and a “Designed in U.S.A.” claim, which I suspect is bullshit given the company involved. Also, there are two Bible verses referenced. This smacks of pandering to a particular slice of conservative Americans. All I want is cheap radios for skiing with my kids next winter, not a reminder of my country’s socio-political bullshit.
This bullshit is not from the well-known Chinese radio maker Baofeng (baofengradio.com) but rather from a US company called “BTech” which has the deceptive URL BaoFengTech.com.
- Comment on Me too. 1 month ago:
- Comment on Terrible liquid coils 1 month ago:
also the maelstrom in question actually does exist: en.wikipedia.org/wiki/Moskstraumen
- Comment on Terrible liquid coils 1 month ago:
looking closer I see the earliest archive.org snapshot of this URL (from Feb 27, 2020, the day it was published) also says 1857 so it seems like the transposition to 1847 must have happened somewhere else - and yet the attribution to SciAm (external to the screenshot) was somehow preserved. @nymnympseudonym@lemmy.world can you shed any light on this mystery? where did you obtain this image (and know to attribute it to SciAm)?
- Comment on Terrible liquid coils 1 month ago:
apparently in 1857 “I have been informed by a European acquaintance” was sufficient sourcing for something to be published in Scientific American :)
somewhat relatedly, it’s 2025 now so you can actually link to a thing instead of just posting a screenshot of it: scientificamerican.com/…/that-giant-sucking-sound…
i wonder why this screenshot (and OP’s text which includes the fact that this comes from scientific american, which is not included in the screenshot) both say 1847 while the text on the SciAm website says it’s actually from 1857 🤔
- Comment on Do gangs that collect protection money actually do any protecting? 1 month ago:
2nd arrest made in alleged shootings at GTA movie theatres
article doesn’t say which of these theaters it was 🤔
- Comment on Could I just create my own drive format? 1 month ago:
NTFS, fat32, exfat, could I theoretically create my own filesystem?
Yes. There are many different file systems and with a bit of work you can absolutely create your own. Making one that is reliable and performs well, and/or is something you can actually use for the disk that you boot from, is a lot of work and generally involves low-level kernel programming - not exactly a beginner’s programming project.
However, you can also more easily play with implementing filesystems in a high-level language using FUSE.
If so would my computer even be able to work with most files or connect to other devices?
Your computer can use many different filesystems at the same time. You can also store a filesystem in a file on another filesystem, rather than dedicating a partition of a physical disk to it. So, yes, you can use a filesystem of your own design at the same time you are using other storage devices formatted with more common filesystems.
- Comment on Le Penguini 1 month ago:
- Comment on 1 month ago:
- Comment on Bird 2 months ago:
hmm, i see my first edit to this comment got federated to piefed but subsequent edits did not; the version after subsequent edits can be seen here on the lemmy instance i’m posting from
- Comment on Bird 2 months ago:
oops, i read my test closer and realized it will never pass as-is due to being cribbed from another test that was using
in
instead ofassertEqual
(and the expected string not containing the closing tags) but I trust it conveys what i mean to - Comment on Bird 2 months ago:
compare the rendering of the test output (which i also wrapped in backticks to tell the markdown rendering to render it as code) on lemmy vs on piefed.
Essentially, it is not possible to reliably identify the URLs in code (in a language that is not known to either PyFedi or its markdown parser), because they be adjacent to URL-valid characters which actually terminate the URL in whatever syntax is being used inside the code block. So, even though it is sometimes harmless to auto-linkify inside a code block, it is also often wrong and therefore should not be (and generally is not) done.
- Comment on Bird 2 months ago:
URL perfectly clickable from PieFed
PieFed W
that is not a W… i surrounded the URL with backticks, which means it should be treated as code and not made into a link.
cc: PyFedi developer @rimu@piefed.social
I had a glance at the source and don’t see a very quick fix, but I think the solution involves getting rid of the auto-linkification here and instead have that be done by the markdown library. This issue indicates that the markdown library PyFedi is using is capable of doing that.
Here is a test I wrote which I think should pass which does not currently :)
diff --git a/tests/test_markdown_to_html.py b/tests/test_markdown_to_html.py index 329b19be…108276c5 100644 — a/tests/test_markdown_to_html.py +++ b/tests/test_markdown_to_html.py @@ -37,6 +37,12 @@ class TestMarkdownToHtml(unittest.TestCase): result = markdown_to_html(markdown) self.assertTrue(“<pre><code>code block” in result) + def test_code_block_link(self): + “”“Test code blocks formatting containing a link”“” + markdown = "
\ncode block with link: example.com \n" + result = markdown_to_html(markdown) + self.assertEqual("<pre><code>code block with link: https://example.com/ ", result)
it currently produces this failure:====================================================== FAILURES ======================================================= _______________________________________ TestMarkdownToHtml.test_code_block_link _______________________________________ self = <tests.test_markdown_to_html.TestMarkdownToHtml testMethod=test_code_block_link> def test_code_block_link(self): “”“Test code blocks formatting containing a link”“” markdown = "
\ncode block with link: example.com \n" result = markdown_to_html(markdown) > self.assertEqual(“<pre><code>code block with link: https://example.com/ “, result) E AssertionError: '<pre[24 chars]ink: https://example.com/ ’ != ‘<pre[24 chars]ink: <a href=“https://example.com/” rel="nofoll[61 chars]e>\n’ E - <pre><code>code block with link: https://example.com/ E + <pre><code>code block with link: <a href=“https://example.com/” rel=“nofollow ugc” target=”_blank”>https://example.com/</a> E + </code></pre> E + tests/test_markdown_to_html.py:44: AssertionError
HTH, and thanks for writing free software!
- Comment on Bird 2 months ago:
For some reason this post caused me to search to see if there are types of birdseed which are not suitable for ducks. From a few minutes of reading, I’m relatively sure now that at least all common types of birdseed are fine for them. But, along the way, I found this LLM slop
https://plantnative.org/can-ducks-eat-bird-seed.htm
(URL rendered unclickable since it is spam) which strongly implies that ducks are not in fact birds:- “Yes, ducks do eat bird seed. Although bird seeds are specifically prepared to meet the nutrient demand of birds. But still, bird seed can be served as a snack to ducks in limited amounts.”
- “Bird seeds are loaded with nutrients and can be beneficial for ducks the way they are for birds.”
- Comment on SCOOP: Substack sent a push alert promoting a Nazi blog 2 months ago:
some more history:
April 2023: Substack CEO Chris Best Doesn’t Realize He’s Just Become The Nazi Bar
December 2023: Substack Turns On Its ‘Nazis Welcome!’ Sign
- Comment on Off topic 2 months ago:
could it be that sucking at eating popcorn is correlated with having subtitles enabled? 🤔
- Comment on Microwave Intensifies 2 months ago:
- Comment on Twitch's largest political streamer, Asmongold, shovels racist and xenophobic messaging to his audience of 52K+ live viewers 2 months ago:
(it’s either something like this, or OP elided the word “audience”)
- Comment on Twitch's largest political streamer, Asmongold, shovels racist and xenophobic messaging to his audience of 52K+ live viewers 2 months ago:
not only a racist but also a misogynist, a present-day gamergater, who is literally in 2025 still complaining that “video games used to be made for guys and now they’re made for everyone” 🤦
- Comment on poor jeremy 2 months ago:
en.wikipedia.org/wiki/Jeremy_(snail)
these two snails mated with each other instead, producing 170 right-coiled snails. One of the left-coiled snails later mated with Jeremy, producing 56 offspring, all of which also had right-coiling shells.
they also omitted this crucial detail:
Jeremy was named after the left-wing British Labour politician Jeremy Corbyn, on account of it being a “lefty” snail, but also due to Corbyn’s reported love of gardening.
- Comment on Which one are you? 2 months ago:
- Comment on You gotta see this one 2 months ago:
hey, “humorless if you want”, it’s a fake screenshot created for entertainment purposes
- Comment on IYKYK 3 months ago: