I mean, I donβt even want to print my own types, just the tuples and random lists Iβve created along the way, you donβt need to derive anything to do that in Rust or Elixir
04.12.2024 19:02 β π 0 π 0 π¬ 0 π 0@zedutch.bsky.social
Computer Science Engineer by day, Indie game developer by night. Sometimes also a musician around dusk. He/him.
I mean, I donβt even want to print my own types, just the tuples and random lists Iβve created along the way, you donβt need to derive anything to do that in Rust or Elixir
04.12.2024 19:02 β π 0 π 0 π¬ 0 π 0Something like elixirβs IO.inspect or Goβs fmt.Print would be ideal
02.12.2024 10:09 β π 0 π 0 π¬ 0 π 0Dear OCaml people, what is a good way to print the value of any variable, like a list or something? Iβm having trouble finding out the value of stuff in the middle of a bunch of List.map or List.filter expressions. Ideally Iβd like something simple that I can just pipe the value to to print it
02.12.2024 10:09 β π 5 π 2 π¬ 4 π 0Yes! I have the exact same issue. I tried using stdlib last year but everyone kept saying that I should use Base instead as it contains a lot more useful stuff, so thatβs what Iβm trying this year. But it does make things even more confusing
02.12.2024 08:26 β π 0 π 0 π¬ 0 π 0And before someone points it out, I have since learned that Elixir has Enum.frequencies so I didnβt even need to build that frequency map by myself π
01.12.2024 21:01 β π 0 π 0 π¬ 0 π 0Day 1 of #AdventOfCode: check!
First Elixir, went very smooth, then rewrote in OCaml. That was quite a bit harder, but I did manage to get there in the end!
Feedback welcome, especially about making things more idiomatic (or easier in the case of OCaml, I really struggled)
github.com/zedutch/aoc-...
Yes, and I have joined the leaderboard! I will try to only use functional programming languages this time, although the first day was already pretty hard in one of them π
01.12.2024 20:54 β π 0 π 0 π¬ 0 π 0I had the same issue in the Bluesky app but it worked fine when I opened in my default browser (Arc, although Iβm not sure if theyβre using their own engine or just Safari under the hood right now)
01.12.2024 20:53 β π 0 π 0 π¬ 1 π 0I did it in elixir first and then rewrote in ocaml. The original solution took about 10 minutes, the ocaml version about 2 hours. I had written more ocaml than elixir before today, mind you. OCaml really has an issue with good and clear documentation, thereβs so much stuff you βjust have to knowββ¦
01.12.2024 20:51 β π 2 π 0 π¬ 1 π 0I went with Elixir for #AdventOfCode day 1 in the end. Will probably try to do the first few days with OCaml as well as I find it a very interesting language. And who knows, I might end up switching to it as the main language for this yearβs aoc!
01.12.2024 06:49 β π 2 π 0 π¬ 0 π 0It's Dec 1st in UTC so time to unleash the Unofficial #AdventOfCode Participant Survey! π
If you participate in AoC, consider filling out the survey (only once!) at forms.gle/iX1mkrt17c6Z...
Feel free to reshare! ππ
Isnβt that just Frogger? π
30.11.2024 10:01 β π 0 π 0 π¬ 0 π 0Iβve tried OCaml for a bit 2 years ago but I found it very hard to find decent documentation for the stuff I needed. Maybe you might be able to provide me with some good resources to look at? I seem to remember there was some external library that everyone basically uses as if it is the stdlib?
30.11.2024 10:00 β π 2 π 0 π¬ 2 π 0#AdventOfCode starts tomorrow and I havenβt decided yet which language I want to use this year. Currently hesitating between Elixir, Ocaml, and Gleam
30.11.2024 06:50 β π 19 π 0 π¬ 5 π 0They didnβt though, read it again π
18.11.2024 19:46 β π 1 π 0 π¬ 1 π 0PRESS IT!
18.11.2024 19:43 β π 1 π 0 π¬ 0 π 0I actually had to force-quit the app to resolve this. Even though the βnew messageβ screen was working correctly, the timeline was still broken after I got back to it
18.11.2024 19:42 β π 0 π 0 π¬ 0 π 0The iOS official bluesky app after rotating the phone to watch a video. The lay-out is messed up and shifted over to the side
Uhm, hello @bsky.app ? Seems thereβs some issues with rotating the device on iPhone π
18.11.2024 19:41 β π 1 π 0 π¬ 1 π 0If you use something like allegro, SFML, SDL, or raylib you can still create games without an engine without having to build all those systems from scratch. They all contain basic versions that you can just use or adapt to your specific game, not hard at all!
18.11.2024 19:34 β π 1 π 0 π¬ 1 π 0- Most boring open world
- Worst graphical fidelity to fun ratio
This reminded me of this great post from a long time ago: www.kalzumeus.com/2010/06/17/f...
17.11.2024 22:23 β π 2 π 0 π¬ 0 π 0Name validation is always stupid and unnecessary π€¨
17.11.2024 22:20 β π 1 π 0 π¬ 1 π 0Thereβs been a very noticeable increase in new followers over the last two daysβ¦ Hi yβall! π
I make video games and music and random other stuff. Currently Iβm still obsessed the new Factorio expansion but I will be getting back to game development with Odin very soon
Please delete this before they start automatically uploading all 3D models rendered on their gpus π
17.11.2024 15:24 β π 2 π 0 π¬ 0 π 0Thatβs me as well! I have to admit that I have used engines before as well, but most of my published games are engine-less and Iβm currently working without an engine again ^_^
17.11.2024 15:20 β π 1 π 0 π¬ 0 π 0@bsky.app is the first Twitter-alternative where I actually completely forget itβs not Twitter while scrolling. None of the others ever had that effect on me, they always felt worse to use for some reason
17.11.2024 11:31 β π 1 π 0 π¬ 0 π 0Have you ever checked if thereβs a hitstop duration that does feel okay to you? Or is just 1 frame already too much?
09.11.2024 23:21 β π 0 π 0 π¬ 0 π 0Then again, if there ever was a game that could do with a decent tutorial, itβs probably that one. I learned everything the hard way but not everyone has hundreds of hours to learn how that game works π
09.11.2024 23:18 β π 0 π 0 π¬ 0 π 0I can do the same thing! Iβve never met anyone else that does that as well. Granted, I also havenβt asked a lot of people π
09.11.2024 23:13 β π 2 π 0 π¬ 0 π 0Bad news: I didnβt do any #gamedev work today
Good news: the new #factorio DLC is amazing
Bad news: I probably wonβt do much gamedev work in the following days either
These things may or may not be related, no way to tell reallyβ¦