@someodd@fosstodon.org
@someodd@fosstodon.org avatar

someodd

@someodd@fosstodon.org

Haskell.

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

someodd, to random
@someodd@fosstodon.org avatar

I made an and room for (like ).

Same room, two protocols!

XMPP

xmpp:@irc.xmpp.someodd.zip?join
Or https://conversations.im/j/%23smallnet@irc.xmpp.someodd.zip

IRC

irc.someodd.zip 6697 (SSL)
Or
ircs://irc.someodd.zip:6697/smallnet

someodd, to haskell
@someodd@fosstodon.org avatar

Please share with me your wisdom on packaging and distributing software made with #Haskell.

someodd, to haskell
@someodd@fosstodon.org avatar

Could I get some love, please?

I feel I'm developing lots of software in for and cool things.

A showcase of some of my projects: https://www.someodd.com/showcase

My GitHub (please follow, star): https://github.com/someodd

someodd, to random
@someodd@fosstodon.org avatar

Would you mind replying if you remember me or my projects, or our interactions?

I know it's been a while before recent.

someodd, to random
@someodd@fosstodon.org avatar

Anyone have Matrix, XMPP, or an IRC server? I wouldn't mind getting to know some of you people better.

You can maybe contact me via gopher: gopher://gopher.someodd.zip:7070/

someodd, to haskell
@someodd@fosstodon.org avatar

Okay, productivity set-back: I can't figure out how to get library working with

I usually get sdlExceptionError "Couldn't find matching render driver" or "Couldn't find matching GLX visual."

someodd, to random
@someodd@fosstodon.org avatar

I'm kind of making an SDL2 version of Hypercard in Haskell, but very game focused.

That being said, I want to allow people to script a little bit on top of the format.

The obvious choice is something like Lua, but I actually want something weird, kinda obscure, but not horrible to use, and kind of friendly.

I want people to feel a certain weird charm and limitation or something working with this software.

Please reply with a language like that.

someodd, to random
@someodd@fosstodon.org avatar

I forgot about @dillo! I might try it this weekend. Apparently it has a Gopher plugin?

someodd, to haskell
@someodd@fosstodon.org avatar

I don't think left vs. right associativity in Haskell is entirely intuitive/consistent, though I may be over-thinking it.

Getting back into writing and I made the mistake of thinking something like (x !! y !! z) would be evaluated like ( x !! (y !! z) ), probably due to function composition.

someodd, to haskell
@someodd@fosstodon.org avatar

After much failure with trying to get my project running with , I find the workaround is to use an environmental variable to set SDL_RENDER_DRIVER=software and skip using drivers entirely, I guess?

someodd, to haskell
@someodd@fosstodon.org avatar

challenge I can't quite figure out:

For ANY arbitrary data type:

  1. Using record syntax
  2. May have child nodes in a field by itself, or in a Maybe, or list!

... recursively through the potential tree find all fields that end in "Foo" and get the fields corresponding value (fields ending in "Foo" are always String).

Example:

child = Child {childFoo="world",a="test",b=8}
parent = Parent { x=Just child, pFoo="hello",zig="to"}

solution parent == ["hello", "world"]

someodd, to haskell
@someodd@fosstodon.org avatar

I don't understand why nixpkgs GHC 9.0.2 can seem to access base versions BEFORE 4.15, but the ghcup installed version cannot.

Help people!

someodd, to haskell
@someodd@fosstodon.org avatar

Please reply if you're willing to alpha test, code review, or otherwise check out my first private release of my hypercard-like game engine ().

I will open source it, but it's very messy, though, I feel like that's just superficial messiness, and the architecture is something I'm kind of proud of.

Yes that's right, I think I can push out a Christmas release tomorrow!

someodd, to haskell
@someodd@fosstodon.org avatar

developers who use

When you use nixpkgs do you neglect the regular cabal setup (like cabal freeze)? Do you not pay much attention to people who aren't using nixpkgs for your project? Or do you try to make it work well without nixpkgs too?

someodd, to random
@someodd@fosstodon.org avatar

Is there an rss feed for crucial debian announcements like the recent ext4 corruption update problem?

Also, is there a CLI (not TUI) RSS reader that I can have dump to a log? Getting last n items?

someodd, to random
@someodd@fosstodon.org avatar

What are your favorite ATOM/RSS feeds? Please feel free to share your own, too!

someodd, to haskell
@someodd@fosstodon.org avatar

people: please correct me if I'm wrong.

Haskell is my favorite programming language, but today I think I came across something where it stumbles on itself.

I feel like this problem could be easily solved using introspection or dynamic typing.

I feel without the approach I'm about to lay out it'll increase the effort to maintain the code.

How to walk an arbitrary tree of data types, even nested in Maybe or lists, collecting the string value of fields ending in Asset?

someodd, to random
@someodd@fosstodon.org avatar

@dillo I tried to sudo apt-get install dillo -- it basically works, Although, when I tried to install the Gopher plugin, I noticed to get this plugin working, dpid should be running or the like. I'm running Debian Sid. For me this is in:

/usr/libexec/dillo/dpid
/usr/libexec/dillo/dpidc

Am I supposed to do something to get plugins working/have dpid running?

someodd, to random
@someodd@fosstodon.org avatar

I'm just thinking about how if you properly package your software for easy installation especially on a variety of popular operating systems, you're really putting yourself ahead of the herd, I think.

I feel like generating a Debian package for a cabal/Haskell project should just be one or a few commands, yet it generally has been very involving for me, even if I also have a nix flake. Tips?

someodd, to random
@someodd@fosstodon.org avatar

I think it took me a long time to feel good about my development speed in Haskell because I kept trying to do things "the old way," basically a not very functional programming kind of way. I was very stuck in the mindset (sorry if I butcher these terms) dynamic typing, imperative and procedural programming. I haven't felt like I have made progress overcoming this until this project where I set out to put the architecture in the way of types, first. It was amazing to me how in doing so the rest..

someodd, to random
@someodd@fosstodon.org avatar

I'm thinking about pivoting from to

I'll still support my IRC server, but probably end up making my main thing.

I want to look into more before I start a server.

someodd, to random
@someodd@fosstodon.org avatar

There's maybe too much focus on elegant and good code, systems that support better correctness, when in reality what works best are systems that have an okay degree of correctness assurance and mainly prioritize iteration and prototyping.

Does Haskell lose this battle?

You shouldnt be attached to code. You should feel able to delete and reiterate without too much hesitation. Does Haskell encourage too much "correctness scaffolding?"

someodd, to random
@someodd@fosstodon.org avatar

I am very grateful for the community.

Thank you @fosstodon for making my favorite space on the web--I find it to be an actually worthwhile social media space filled with many similar minded, helpful, and warm people.

Here's to more free and open source software in 2024!

someodd, to firefox
@someodd@fosstodon.org avatar

Using nightly from their deb repo instead of the default firefox-esr in ! It seems very nice.

someodd, to random
@someodd@fosstodon.org avatar

I come back to a project that was working and find it's hard to get going again (can't even compile fully)

Going back to some years old Haskell projects and quickly learning to consider ease of longevity by using things like "tested with" or whatever and cabal freeze and nix lock. Weird to me that I have to do so must work figuring out which ghc to use and getting it to compile again.

Any tips for best practices going forward?

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