@derickflorian > One thing I was wondering is ok to post solutions to the challenges or no?
Sure. I post my on a forum that supports hiding behind spoiler tags, but by the time the first hour or two has past, the hard-core coders have already gotten the top prizes and us regular folks are just plodding along. The Reddit for AoC has guidelines for the posting of code, and they follow the stats to see when all of the top 100 have be claimed.
https://www.reddit.com/r/adventofcode/
#AdventOfCode
Thank you Senator Warren for voting against an unfair contract for our railroad workers. Senator Markey, I am very disappointed that you supported imposing a contract that doesn’t allow for sick leave. https://www.senate.gov/legislative/LIS/roll_call_votes/vote1172/vote_117_2_00372.htm#top #RailroadStrike #MAPoli
Remembering IBM error code books though. You'd look, you'd index, you'd eventually get to the "right" binder, and on page 1062, find that the reason for error 5078 is that "Error 5078 has occurred"
Minecraft Build
My daughters and I used to play #Minecraft 🎮 every day together. School started, work changed, life changed. I miss those times. I just ran across this old build in a beautiful lush valley.
Very appreciative for the gentle encouragement of @PHolder to embark on the Advent of Code Challenge. I complete the first day of challenges using C.
One thing I was wondering is ok to post solutions to the challenges or no?
TIL:
- IBM has easy to understand C documentation that's less opaque than the Linux documentation for me. Example: https://www.ibm.com/docs/en/i/7.4?topic=functions-fgets-read-string
- sorting an array is not that easy. the function I used was qsort() and you have to implement a comparator. I adapted the comparator from here: https://en.cppreference.com/w/c/algorithm/qsort. The only difference is I used uint64_t for everything(not sure if it was the best choice but it had all the room I needed).
- To read a bunch of numbers from a file I couldn't get fscanf) to work well because it skipped over blank lines I read in as uint64_t so I couldn't figure out where each set of numbers ended. I had better luck with a combo of fgets() and stroull().
I actually really couldn't believe I finished it. The satisfaction of eventually getting something working in C is real!
@PHolder I did both parts of the challenge! Thank you for the nudge! I learned a ton doing this set of challenges.
@dev_Paul Nice, I remember you doing this last year. I am jumping in this year. I bet you I took a full 2hr longer to solve this in C :). I was extremely tempted to run back to Python.
Doing Advent of Code again this year. The #TWiT community discussion can be found here https://www.twit.community/t/advent-of-code-2022/13520 . I'm coding in #Java again this year, @leo is doing #Lisp. I tried to entice @derickflorian to do it in C, which is is learning, and I will be hoping to "C" his results ;)
#AdventOfCode
Looking forward to hanging with @Enaughton this Friday at 6pm UTC on iamdeveloper.live!
From janitor to software engineer. Emmett tells us about his journey from working in an ER to landing in tech, and how the current job search is going.
Reminder 👉🏻 https://iamdeveloper.live/schedule?segmentID=2baf6d20-bb4d-4376-b80b-d8acd56e8e45
"Telegram has disclosed names of administrators, their phone numbers and IP addresses of channels accused of Copyright Infringement in compliance with a court order in India"
Python events?
Where do you get your source for in person or online #Python? Have any events you’d like to shout out?
Boost for reach plz
Transphobes act as if trans healthcare and standards of care just appeared out of nowhere when they were refined over decades with the simple goal of reducing the number of deaths and enabling people to live happy, healthy, functional lives.
@ceoln i love the onion dome supported by sand tentacles. Thanks for offering these up. My phone has a new lockscreen!
Some stuff I've been doing in #Midjourney lately. #AIArt
Free Desktop Wallpapers! https://ceoln.wordpress.com/2022/11/30/free-desktop-wallpapers/
@trinsec Haha, I need to practice dodging and awareness in general. I am so proud of myself for being able to turn around/escape before being killed when the enemy attacks when not in my field of view.
Is there a way to receive phonecalls over LTE (not VoIP) on conventional PCs?
Connecting to LTE is easy, but recieveing SMS and calls dont get that much documentation.
When I research I only get boted articles and ebin hax0r stuff.
I just wanted to recieve calls on my pc so I wouldnt have to deal with phones anymore without resorting to dumbphones (I still need WhasApp)
Just broke into software development. Currently struggling to grasp C!