@hal_canary@mastodon.sdf.org
@hal_canary@mastodon.sdf.org avatar

hal_canary

@hal_canary@mastodon.sdf.org

software engineer 🤖.
Durham, North Carolina, US 🇺🇸.
father, husband 👧👦👩🐶🐶🐉.
he/him 👨.
UTC−05:00 🕔.

9E4B56B252BA5544135A6146BDA20B3DBA 🔑

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hal_canary, to technology
@hal_canary@mastodon.sdf.org avatar

when I was a child, you could watch TV and never be interrupted by your TV crashing.

#technology #electronics #engineering #computers

serpentroots, to golang
@serpentroots@hachyderm.io avatar

One thing that frustrates me about is the lack of support for PERL regex. I understand why they did things differently but my patterns are always failing to compile due to a ?=. Then I have to go and read how to do a lookahead equivalent Go-style. Every single time.

hal_canary,
@hal_canary@mastodon.sdf.org avatar

@serpentroots

they just copied https://en.m.wikipedia.org/wiki/RE2_(software) syntax.

That way they can compare their implementation's speed directly to RE2.

hal_canary, to pens
@hal_canary@mastodon.sdf.org avatar

I still love this fountain pen. https://amazon.com/gp/product/B07ZQN1VWM

The top screws on!

kevinctofel, to minimalism
@kevinctofel@hachyderm.io avatar

The end of is my reminder to swap the warm weather wardrobe with the cold weather ones.

Going to take at least 40, maybe even 45 seconds to switch ALL of my short sleeve shirts with the long sleeves. 🙄

hal_canary,
@hal_canary@mastodon.sdf.org avatar

@kevinctofel

I keep wearing short sleeves. I prefer it indoors. I wear a sweater or a coat over that outdoors.

in fact, I wish pants had the same easy, stylish option.

devinprater, to accessibility

Super hot take here. The fact that on some platforms, we have to convert EPUB books for them to be accessible to us in a convenient, easy way is just fucking sad! Like I'm reading on this list for Linux users how people are just converting EPUB's to txt cause fucking a11y is just super easy and simple and after all it's just text /s. Yeah that's why we need fucking OCR to read screenshots of text right? Like fuck! I'm super glad we have two good enough EPUB readers currently being maintained--please remember the currently part--on Windows. Bookworm works with almost any standard EPUB book, and Thorium works even with EPUB's that were made for Kindle devices and I think it's the only one that shows descriptions of images, but I could be wrong. Bookworm was made for the blind, by the blind, and Thorium was seemingly made for the education market so tries super, super hard to be accessible. Mac has Voice Dream Reader, and the Books app if you want to be frustrated with pages repeating themselves at the end of chapters, and Linux has ... EBook-speaker, which is useless for Braille readers or people who want to read with their screen reader. Maybe there's a Firefox addon, or maybe some book reader in Elementary OS or one of the more friendly distros that's accessible. Lol or maybe Epy is still the best option, even now for braille. And no one knows about that. I doubt even the maintainer knows how useful it has been for blind Linux users. And that sucks, so much. Cause everyone is, and will, recommend Calibre, and that's barely accessible as a book manager on Windows, let alone Linux. Reading books though? Nope. Especially with Braille. And y'all wonder why we love our phones or glorified MP3 players that cost $400 or so? Because they work, practically all the time, and with practically any EPUB. Jesus tell me the new Sense Player and Stream support EPUB.

#accessibility #reading #books #EPUB #EReader #linux #foss #windows #blind

hal_canary,
@hal_canary@mastodon.sdf.org avatar

@devinprater

There isn't a good reason for web browsers not to support EPUBs well. easier to parse than a PDF, and most browsers do that!

Well, easy if you already can render HTML.

hal_canary,
@hal_canary@mastodon.sdf.org avatar

@devinprater

I've also found that Kindle will accept a single HTML document in a zip archive. that's a much simpler format; maybe we can start with that.

GhostOnTheHalfShell, to climate
@GhostOnTheHalfShell@masto.ai avatar

deleted_by_author

  • Loading...
  • hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @GhostOnTheHalfShell

    How can one build on permafrost in a way that is resilient to thawing?

    hal_canary, to random
    @hal_canary@mastodon.sdf.org avatar
    dismantl, to random

    deleted_by_author

  • Loading...
  • hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @dismantl

    before reading my article, I'll share my a priori opinion.

    • Use Rust where performance is important.

    • Use Go everywhere else.

    melroy, to golang
    @melroy@mastodon.melroy.org avatar

    I try to learn Golang, just because. To load a go module locally I need to manually update my go.mod file via go mod edit -replace command. Result: replace example.com/greetings => ../greetings. I hate Go already.. I hate it. Don't get me started on enums/unions. Error handling: err != nil ;). Ps. Hello world binary contains debug symbols by default and is 4MB.
    I think I stick with C, C++, I even dare to say JS with Bun and whatever not.

    Should I really give Go another try?

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @melroy

    yes, depending on your use case!

    When your full executable is already several megabytes in size, adding on the runtime code doesn't make much difference.

    Unions are difficult to get right. I hope that typed unions are someday added to the language, but only if it can be done right.

    Enums are okay, but sometimes you need to use the stringer tool to generate additional code.

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @melroy

    it actually reads better to me than the C equivalent.

    Especially since you can say "x is a pointer to an array of three integers" by

    var x *[3]int

    hal_canary, to golang
    @hal_canary@mastodon.sdf.org avatar

    question:
    Has anyone used the golang.org/x/mobile/app package to create an app? It doesn't seem to provide any text support, so you would have to provide your own code to go from text to GL drawing commands! And the same with widgets and scrollbars and such.

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar
    hal_canary,
    @hal_canary@mastodon.sdf.org avatar
    scalzi, to random
    @scalzi@mastodon.social avatar

    These are not the End Times, but they certainly are the Uncomfortable Middle Times for sure.

    https://www.nytimes.com/2023/08/17/world/americas/canada-wildfire-evacuation-yellowknife.html

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @cstross @scalzi

    I want the normal way of building a city, town, or villiage to be to have competent engineers design it to be resilient to all sorts of natural disasters. That may mean:

    1. No building in low-lying areas, or only building on tall piles

    2. Having a well-defined border, surrounded by a wide, well-maintained, fire-break.

    3. No building on slopes prone to landslides.

    4. No building directly on a coast prone to hurricanes.

    5. The entire community has an evacuation plan.

    SinclairSpeccy, (edited ) to debian

    30 years ago, on August 16, 1993, Ian Murdock kickstarted the Project, a game-changer in open-source tech.

    Despite its first version releasing on September 15, 1993, let us fast forward 28 years and see that Debian stands as a testament to the power of community-driven innovation. From its humble beginnings, it has evolved into a robust distro.

    Before that, SLS was popular but bugs and maintenance issues led Murdock to make Debian.

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @SinclairSpeccy

    2023–1993=30

    ramankhutu, to random

    He's an
    [ \frac{e^{\pi}-\pi}{2}
    ]
    but he thinks he's a 10.

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @ramankhutu

    Why not just type “(exp(π) – π) ÷ 2” ?

    Private
    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @nomadave @actuallyautistic

    I found it too painful to watch.

    publicvoit, to linux
    @publicvoit@graz.social avatar

    If "#!/usr/bin/env foo" is the preferred (for portable scripts) in order to find "foo" independent of its path, why isn't the recommended shebang "#!env foo" which would not assume a path for "env" either? 🤔

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @publicvoit

    the shebang requires an absolute path, iirc.

    b0rk, to random
    @b0rk@jvns.ca avatar
    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @b0rk

    Also, DNS is a foundational part of the internet, down there with the internet protocol itself! We all should understand it. I know I don't really.

    mmu_man, to python French
    @mmu_man@m.g3l.org avatar

    Of course you can write scripts that run in both and 🙂

    cc @dimitri @libreoffice

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @mmu_man @dimitri @libreoffice

    What about just calling python -m pip install FOO in the except clause?! I've done that for personal scripts.

    passthejoe, to linux
    @passthejoe@ruby.social avatar

    deleted_by_author

  • Loading...
  • hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @passthejoe
    especially. They've been putting out a good package for years, keeping the release process boring and predictable.

    preslavrachev, (edited ) to golang
    @preslavrachev@mastodon.social avatar

    As a Go developer, you’d love to see one of those ergonomic improvements make its way in future Go versions:

    Simpler anonymous … syntax.

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @preslavrachev

    neither are needed at all!

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @preslavrachev

    I would like to see more functionality added to the standard library. many of the things in <https://pkg.go.dev/golang.org/x> could be promoted.

    landley, to random
    @landley@mstdn.jp avatar

    Um, they kind of are better than everybody else? That's your judgment, not theirs. You wanted to be like them, so you took what they had away from them and gave it to yourself instead, and now it's a scarlet letter.

    It was a mark of distinction when they had it, and a mark of shame when you have it, and all that has changed is who it marks. (Well, that and you tried to pay for admiration. Strange how often that doesn't work.)

    https://mastodon.social/@rodhilton/110236967251370928

    hal_canary,
    @hal_canary@mastodon.sdf.org avatar

    @landley

    the point of the checkmark should have been just to validate that the owner of account was who they say they are. Twitter should have just charged a one-time fee for that service, then each checkmark would have just said "@Johnny is operated by John Doe of Bismark, North Dakota" or "@FooBar is operated by the Foo Bar Corp. of Delaware".

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • lostlight
  • All magazines