cypherpunks
@cypherpunks@lemmy.ml
- Comment on What's the main device to hammer in a nail? 1 week ago:
- Comment on same, honestly 2 weeks ago:
The bears definitely took notice of the drone. The animals’ heart rate skyrocketed when the UAV flew overhead, and their stress response was stronger when the quadcopter flew in windy conditions that masked the sound of its approach — apparently bears do not like being surprised. One bear started moving faster after the quadcopter flew by. And the bear that had experienced the greatest increase in heart rate — from 41 beats per minute to 162 — moved nearly 7 kilometers in the next 28 hours, encroaching into a neighboring female’s territory.
All in all, though, the bears weren’t stressed all that much, the researchers concluded.
🤌
At least there is this:
Ditmer’s team says that their results reinforce the NPS ban on drones in parks.
- Comment on Why don't cars have a way to contact nearby cars like fictional spaceships do? 3 weeks ago:
Is the communications holofilter ready?
Engage the overlay. Put them on screen. Commander Sisko disguised as Kobheerian Captain Viterian (Norman Large) by the USS Defiant’s Holofilter
- Comment on Dutch 3 weeks ago:
here is a previous thread about this image with a discussion about how accurate this is
- Comment on What do you call the beleif that gods are just higher beings on other planes of existence? 3 weeks ago:
Deep Space Nine?
- Comment on Exterminate 3 weeks ago:
Damnit, this is the The Scream dog all over again
yeah, no, there are still not designated toilets for you on this planet @dalekcaan@feddit.nl
- Comment on Exterminate 3 weeks ago:
😱 (in case it isn't clear to anyone, the dog-eared Scream is also shopped 😂)
- Comment on Why do seemingly all politicians (and no one else) do that hand gesture when they talk, the one where it looks like they're holding an invisible fishing rod? 3 weeks ago:
their fishing rods are invisible for you? including the hook and line? that must be rough. how do you avoid getting caught when you can’t even see them?
- Comment on I'd like to control my air-purifier with one of those power-socket-timer-switch thingies – Is there a way to "auto-press" those non-mechanical buttons? 3 weeks ago:
- Comment on LICK EM 5 weeks ago:
Obviously this is a bakery for giraffes
- Comment on They have a right to feel smug 1 month 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 1 month ago:
when the LLM doesn’t have enough layers
- Comment on Is anyone NOT steaming their Music? 1 month 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 1 month ago:
Tylenol is Acetaminophen
… which is what most of the world calls paracetamol.
- Comment on Foolproof advice 2 months ago:
🖖
also: username checks out
- Comment on 🦈🦈🦈 2 months 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 2 months ago:
- Comment on Pandering to conservative Americans 2 months 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. 3 months ago:
- Comment on Terrible liquid coils 3 months ago:
also the maelstrom in question actually does exist: en.wikipedia.org/wiki/Moskstraumen
- Comment on Terrible liquid coils 3 months 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 3 months 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? 3 months 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? 3 months 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 3 months ago:
- Comment on 3 months ago:
- Comment on Bird 3 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 3 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
ininstead ofassertEqual(and the expected string not containing the closing tags) but I trust it conveys what i mean to - Comment on Bird 3 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 3 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: AssertionErrorHTH, and thanks for writing free software!