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
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
Something like elixir’s IO.inspect or Go’s fmt.Print would be ideal
Dear 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
Yes! 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
And 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 😅
Day 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 😅
I 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)
I 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”…
I 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!
It'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? 😅
I’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?
#AdventOfCode starts tomorrow and I haven’t decided yet which language I want to use this year. Currently hesitating between Elixir, Ocaml, and Gleam
They didn’t though, read it again 😅
PRESS IT!
I 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
The 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 😅
If 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!
- 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...
Name validation is always stupid and unnecessary 🤨
There’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 😅
That’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 ^_^
@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
Have you ever checked if there’s a hitstop duration that does feel okay to you? Or is just 1 frame already too much?
Then 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 😅
I 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 😅
Bad 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…