
like this
Rokosun reshared this.
TFed likes this.
reshared this
haha, i also though like this at the beginning, though i thankfully didn't go down that road, but i also spaced out on a silly mistake returning 0 instead of the last value in a utility function…
At least part 2 was trivial from my part 1 solution.
I thought my code is never going to terminate, but after around an hour or so it did, LMAO 🤣
Because I had to refactor the code many times for this one my current iteration doesn't make much sense, so I'll publish it later maybe after doing some cleanup, IDK...... It's all spaghetti code anyway 
Rokosun reshared this.
Update: I've made the code a lot more faster by following a tip by @sotolf. Basically now the program is doing a reverse brute-force by starting at the end point and working its way upwards. So now the code finishes running in about 2 minutes, but if you use the --opt:speed compiler flag in #Nim then it can finish in 20 seconds! For comparison, my previous code took 12 minutes to finish even with the compiler flag on!
Here's the Nim code - codeberg.org/rokosun/AOC/src/b…
How should regulators think about "AI"?
youtube.com/watch?v=eK0md9tQ1K…
I was watching this video by @emilymbender and she made a lot of great points there, highly recommend watching it if you're curious about #AI and the hype around it. I was a bit surprised when she brought up magic 8 ball because I've been jokingly calling chatGPT magic ball in my friend circles, but it's such a great analogy tho 😄
Also check out her podcast with @alex where they break down the AI hype - buzzsprout.com/2126417
How should regulators think about "AI"?
On Thursday 9/28, I had the opportunity to speak at a virtual roundtable convened by Congressman Bobby Scott on "AI in the Workplace: New Crisis or Longstand...YouTube
I just made a git repo for my #AdventOfCode solutions, so if any of you wanna see my spaghetti code you can find it here on #Codeberg - codeberg.org/rokosun/AOC
I'm using the #Nim programming language since I started learning it a while ago, still very much a beginner tho 🙃
P.S. Also check out @amin's private leaderboard for #AOC - alpha.polymaths.social/@amin/s…
like this
Rokosun reshared this.
@amin yeah, that's exactly how I'm thinking how can I represent the data, and then how can I get closer to what I want, or functions I need to do what I need. My way is just one way to do it, but it's the one I find the easiest to work with :)
Types are a bit daunting in the beginning but when you do they really help you think, and let's the compiler help you not do a quite big group of errors :)
This Mysterious Globe Perpetually Spins With No Batteries
youtube.com/watch?v=U-NII1Rdlc…
This is genius, not gonna lie.
#YoutubeVids #Educational #ActionLab #Science #Engineering
This Mysterious Globe Perpetually Spins With No Batteries
Checkout our sponsor, BetterHelp, for 10% off your first month: https://www.betterhelp.com/actionlabShop the Action Lab Science Gear here: https://theactionl...YouTube
Sidedoor - Cellphones Rock
Listen here: play.prx.org/listen?ge=prx_69_…
One fascinating fact I heard on this #podcast episode:
> If everyone in the country use their phone one year longer on average, it'd be the same as taking 636,000 gasoline powered cars off the road.
The episode mainly talks about the precious minerals in our phones and how they're extracted from rocks formed millions of years ago, not only do we have a limited supply of these minerals but it also can't be recycled properly.
Sidedoor | Cellphones Rock
Cellphones put the power of the world at our fingertips. With the touch of a finger, you can instantly connect with your doctor, have food delivered to your office or simply obliterate your niece at Words with Friends.play.prx.org
Tio likes this.
reshared this
Unsung Science: The Man Who Invented QR Codes
In 1994, Masahiro Hara got tired of having to scan six or seven barcodes on every box of Toyota car-parts that zoomed past him on the assembly line. He wondered why the standard barcode from the 70s was still used...Why couldn’t someone invent a barcode that used two dimensions instead of one that could work from any angle or distance, even even if it got smudged or torn?
And so, studying a game of "Go", he dreamed up what we now know as the QR Code — the square barcode you scan with your phone. It shows up on restaurant menus, billboards, magazine ads — even tattoos and gravestones. But even that, says Hara-san, is only the beginning.
Listen here: chrt.fm/track/22GG1/dts.podtra…
Podcast webpage: art19.com/shows/unsung-science
Roma likes this.
De Fiets is Niets
99percentinvisible.org/episode…
Today the Netherlands has a reputation as a kind of bicycling paradise. Dutch people own more bicycles per capita than any other place in the world. The country has more than 20,000 miles of dedicated cycling paths. International policymakers make pilgrimages to the Netherlands to learn how to create good bike infrastructure.
But none of that was inevitable. It wasn't something that magically emerged from Dutch culture.
In fact, in the 1960s and 70s, it looked like the Netherlands would follow the same path as the United States. The Dutch had fallen in love with cars and they were rebuilding their cities to make room for them. It was only because of a multi-decade pro-cycling movement that cars didn't take over the country entirely.
reshared this
Unexplainable: How to decode a thought
Can researchers decipher what people are thinking about just by looking at brain scans? With AI, they're getting closer. How far can they go, and what does it mean for privacy?
Listen here: podtrac.com/pts/redirect.mp3/p…
Podcast webpage: vox.com/unexplainable
Unexplainable
Unexplainable is a science podcast from Vox and Vox Media Podcast Network about everything we don’t know.www.vox.com
Rokosun reshared this.
I Volunteered for 25 Projects. Here's What I've Learned
videos.trom.tf/videos/watch/be…
Another wonderful video by @sober_pirate explaining the things he learned while volunteering for different environmental and humanitarian projects.
like this
Rokosun reshared this.
The Library of Alexandra
radiolab.org/podcast/library-a…
The story of #SciHub and its founder Alexandra Elbakyan in her fight against the global network of academic journals that underlie published scientific research.
like this
Rokosun reshared this.
scholarlykitchen.sspnet.org/20…
Guest Post: Think Sci-Hub is Just Downloading PDFs? Think Again - The Scholarly Kitchen
They’re phishing, hacking, and password-cracking to steal personal and research data from the world’s academic institutions. Andrew Pitts takes a hard look at Sci-Hub as, “Corrupt cybercriminals, not Robin Hood.”Scholarly Kitchen (The Scholarly Kitchen)
PDF files can contain malware in them which is why you should never open them if you get a spam email or something with an attached PDF. However I'd be very surprised if SciHub contains any malware like this person says because it's generally considered as a trusted source of information, without providing a valid source for that claim I can only take it as rumor or propaganda at best.
BTW, you can also use tools like @dangerzone to safely open potentially harmful PDFs - it's made for people like journalists who may need to open many PDFs as part of their work.
Eugene likes this.
Why Your Dog Has An Anti-Tick Pill And You Don’t?
youtube.com/watch?v=4QDDHjRZIZ…
Man I would absolutely love it if I could turn my blood into poison for mosquitoes 😈🦟
#YoutubeVids #Educational #SciShow
Why Your Dog Has An Anti-Tick Pill And You Don’t?
Visit https://brilliant.org/scishow/ to get started learning STEM for free. The first 200 people will get 20% off their annual premium subscription and a 30-...YouTube
Rokosun reshared this.
bbc.co.uk/sounds/play/w3ct3j6y
I really enjoyed this podcast episode because I've actually pondered about this question myself before, just like the 11 year old who called in and asked them. Considering the wide range of activities we humans can do just with the energy we get from our daily meals, it really makes you wonder how efficient we are as a species, compared to machines, other animals, etc.
like this
Rokosun reshared this.
Rokosun reshared this.
I Had To Break My Radiometer For Science
youtube.com/watch?v=u0cq_nEWdu…
Okay that was pretty cool, NGL.
forum.tromjaro.com/t/tromjaro-…
So.... um, yeah I had to code on my mobile 'cause my laptop broke, lol 😅 Not really the cleanest code ever but I'll improve it 🙃 Also just take a look at #Tromjaro and see how much it has grown over the years! I like how @tio pays attention to every little detail of how an average nontechnical person uses Linux, where they get confused, etc and try to improve/fix everything he can - what you end up with is not a perfect distro but one with a much better UX than most.
TROMjaro 12.08.2023 (big update, many changes)
This is a big and important update for TROMjaro, and we made so many little changes that I can only highlight the most noticeable ones. In essence, I want TROMjaro to be very user friendly from the get go.TROMjaro Forum
like this
reshared this
Watched it too. Very sad to see the state of the ocean declining rapidly. Like I said to @Dima before what I'd wish to see more is some focus on the why people exploit and do these bad things. I think that woman in the video that's kinda the "main" character, appeared in another of Dima's videos and she did great at explaining how if we do not help the people, these poor people will have to exploit the oceans in order to survive. I think she was saying that they are using dynamite to kill a lot of fish.
But this is something I rarely see in videos/documentaries, the focus on why these things happen. Dima said he will try to emphasize on that more in the future. I understand that you can get repetitive since it all starts from this trade-environment (mostly), but it is definitely worth adding the "why people do these bad things".
Anyway, Dima does a great job with these videos, from editing to highlighting these wonderful people who do wonderful things. Like he was saying, these are the heroes.
like this
@Tio actually i had to cut out few scenes out of the video, when Aylin (that woman) is explaining how everything is rigged by oil and gas industry and military exercises. Because she is protecting sea she is in a conflict with Turkish oil industry, they sued her for some kind of bullshit which his not truth, but anyway she got court right now. And before publishing i showed video to her and she liked a lot that part, but decided to ask her lawyer if it's possible to publish that. Because in that part of the video there were also cuts from Turkish media news outlets how they support basically destruction of an environment for a profit. And lawyer said that it has to be out of video 100%. Because if published she will had huge problems in the court. Imagine that!!! That's a fucked up world where you can't really point on the problem because you can be fined or even jailed. And Turkey is not the most "free speech" country in the world.
like this
Rokosun reshared this.
like this
like this
videos.trom.tf/w/p/fVpfZ9VfWrW…
In June 20, 2023, a documentary miniseries called TROM II was published on #Peertube, making it the first feature-length film to ever be released exclusively on the #Fediverse. Question is, were you aware of this documentary before?
Boosts appreciated.
TROM II: A Message to the Aliens (documentary)
We live in a world where everyone is busy, everyone is consumed, everyone seems confused. Money, social credits, ads, data collection, prices and billionaires.videos.trom.tf
- Yes (6%, 4 votes)
- No (93%, 56 votes)
like this
reshared this
For some unknown reason my @fosstodon account stopped working on #Fedilab, I tried logging out of the app but now I can't log back in, when I select the fosstodon instance on Fedilab and hit continue it doesn't open up the login page like it should. I even tried reinstalling the app from #Fdroid but the issue persists.
@kev @mike did you guys make any changes to the server these past few days? @apps do you have any idea what might be causing the issue here? 🤔
(I'm now forced to use the webapp)
Rokosun reshared this.
bignose
in reply to Rokosun • • •> I feel like these puzzles have more to do with math and geometry than programming itself
I think that's accurate, and I see it resulting from the attempt to make a puzzle that works for *any* programming language a contestant might use.
If they can't assume any particular library or framework, they're left with puzzles that require only the fundamentals of computing and data processing. That doesn't leave much outside of text, data structures, and mathematics.
glyn
in reply to bignose • • •@bignose I can't summon up much enthusiasm for AoC this year. I don't need to:
* Learn a new language
* Learn to program
* Write yet more string parsing code
* Wrestle with algorithms that are vanishingly rare in the real world
* Prove anything, to myself or others
* Invest time/energy I could usefully spend elsewhere
But I'm delighted others enjoy it at least as much as I've enjoyed it in the past. Plus it's a great spectator sport.
#AdventOfCode
Rokosun
in reply to glyn • • •@underlap @bignose
This was actually my first year trying out AoC, as a beginner to programming it was kind of a fun learning experience, but being a beginner also means I'll have to stop sometime as the puzzles get harder. Last day's puzzle was a bit too hard for me, maybe today's is better I might give it a try but I certainly won't put any pressure on myself 😄
Alexio likes this.