Show newer

I am doing advent of code in

And I am pretty confident that my code is clumsy and can be improved significantly.

If any of you would like to point out anything about my mistakes/style/whatever, I would be grateful.

github.com/korjavin/aoc_2022

Some surprising statements and behavior out of @Raspberry_Pi over the last day. I wonder if they're planning to discontinue everything except their products oriented at OEMs.

@cmdevans asked a good question. What is the first programming language you would recommend for a new learner, and why? I'll tack on a poll for the lolz but I think a reply really is in order, especially if your answer is very unique. (And because polls only allow 4 choices, apparently.)
#programming

@derickflorian

There are absolutely servers on that list that deserve a personal block! I like the idea, in general, of there being a variety (a small variety, probably, to avoid needing second-level lists of lists) of shared Blocklists of various kinds. There just needs to be a certain amount of pressure to be open and transparent (and accurate) about list criteria, and I'm happy to be a small part of that pressure now and then.

In the short run it would be excellent if the list could be updated (if it hasn't already been) to say something correct in the qoto entry. Even for the sake of the list itself: since a brief glance at qoto will show that "no moderation, free speech" is inaccurate, it undermines the credibility of the whole thing.

@LouisIngenthron @freemo @toxomat @PaulaToThePeople @SecondJon @shelenn

@LouisIngenthron

The problerm is they **cant** learn about it, not easily... They are on a server where all dissenting voices are silenced, so they will never heard about it on network.

They could look at the block list, but since they are blatantly lieing about the evidence they will again be unable to discern the truth.

These people go out of their way to engineer it so their lies are the only thing anyone hears.. if you even try to discuss it or look into it you get attacked.

@derickflorian @toxomat @ceoln @PaulaToThePeople @SecondJon @shelenn

@derickflorian @PHolder Definitely ok to post your AoC solution on reddit: reddit.com/r/adventofcode/

Pay attention to the formatting conventions.

Each day will have a megathread for solutions that opens once the leaderboard is filled.

It's also a great place to get hints!

@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.
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. senate.gov/legislative/LIS/rol #RailroadStrike #MAPoli

@derickflorian @PHolder

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: ibm.com/docs/en/i/7.4?topic=fu
- 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: en.cppreference.com/w/c/algori. 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!

Doing Advent of Code again this year. The #TWiT community discussion can be found here twit.community/t/advent-of-cod . 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 👉🏻 iamdeveloper.live/schedule?seg

"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"

techcrunch.com/2022/11/29/tele

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

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.