CameronDev

joined 2 years ago
MODERATOR OF
[–] CameronDev 3 points 12 hours ago (1 children)

Well, this is how we get zombie pigmen. So thats cool I guess.

[–] CameronDev 3 points 20 hours ago (1 children)

I think thats in the trailer, so no spoiler. Its not exactly OPs premise, but its close, its still a normie being helped by a larger organisation. Did you like it?

[–] CameronDev 2 points 1 day ago

Dont worry, this time will be different!

[–] CameronDev 8 points 1 day ago (3 children)

If its the CIA funding them, their called "Freedom Fighters" :D

[–] CameronDev 11 points 1 day ago* (last edited 1 day ago) (8 children)

I think I have seen something like this. Can't recall the name, but it was more like taken, with some agency funding some rando to collect their family.

Edit: I think this is the one: https://www.rottentomatoes.com/m/1000734-amateur

Edit2: Remade with Rami Malek: https://youtu.be/DCWcK4c-F8Q

[–] CameronDev 1 points 1 day ago

Fair point, they could accumulate grime or dust on the sensor. I have hardwired smoke alarms, no idea if they expire :/

[–] CameronDev 1 points 1 day ago (2 children)

Do optical smoke detectors decline? They dont have radioisotopes anymore, so should work reliably for years?

[–] CameronDev 4 points 1 day ago

Thicker and sturdier cables are going to put more stress on the connector and risk damaging that instead. You'll start seeing the connectors ripped off circuit boards instead.

Vehicles should have vehicle grade connectors and cables.

[–] CameronDev 1 points 2 days ago (1 children)

Why though? Couldn't you just not post a photo of them?

[–] CameronDev 3 points 2 days ago

My bike has a rubber plug that opens on its own :/

Plug is this: https://www.ebay.co.uk/itm/184996570700

It would still be better to have the charge point up on the top tube. Having it down near the pedals also risks it being damaged when using it to charge your phone.

[–] CameronDev 2 points 2 days ago

Mine has a shitty rubber lid that opens up on its own, but it is at least high enough on the frame that its away from the wheels and pedals. I also have an internal connector that is exposed when I remove the battery, but that is a pain to access, the battery is very hard to remove.

[–] CameronDev 6 points 2 days ago (4 children)

And its down near the back wheel and pedals. Thats gonna be real crunchy after a wet ride.

 
 

Seems like its been pinned there somehow, despite being 2 days old. Happens when logged out as well.

 

Hi All. This might not be for everyone, and is very rough around the edges, but I have written a tool to more easily test how custom addressable RGB effects work.

Simply copy the code portion of the lamba into a text file, and then build and run, and it will output on your terminal how the effect will look.

It is very rough, you need a C compiler, and a RGB/TrueColor capable terminal.

If it works for you, let me know, if it doesn't, also let me know.

https://github.com/cameroncros/ESPHome-ARGB-Tester

 

I dunno if this is appropriate for this community, so mods, please delete if not.

I have been writing a screen clone in rust.

https://github.com/cameroncros/PoorMansScreen/tree/better_screen (The main branch is how I currently use it, not at all screen-like, the better_screen branch is much closer to a screen replacement.)

It all currently works fine, albeit quite simple, and I suspect not following best practices. Please talk shit about my code so I can fix that :D

For my next stage of development, I would like to use some combo of vt100 and ratatui to wrap the shell in a border, or add a menu bar at the top or bottom to make it clear when the user is inside a "screen". Does anyone have any thoughts on how to go about doing that? I am very unskilled at ratatui.

5
Visualisation Megathread (self.advent_of_code)
submitted 4 months ago* (last edited 4 months ago) by CameronDev to c/advent_of_code
 

Visualizations are hard, and take time, so here is a thread to highlight the visualizations that we have found/created.

Please feel free to post your visualisations!

3
Final Leaderboard (programming.dev)
submitted 4 months ago* (last edited 4 months ago) by CameronDev to c/advent_of_code
 

Those of you running behind, keep at it, but this is the leaderboard as it stands at the end of 2024.

Happy new year!

5
Using LLMs to solve AOC (www.jerpint.io)
submitted 4 months ago by CameronDev to c/advent_of_code
 

A lot lower success rate than I suspected, I guess a lot of the scoreboard times were probably legit?

82
Preliminary Leaderboard (programming.dev)
submitted 4 months ago* (last edited 4 months ago) by CameronDev to c/advent_of_code
 

Well, that was a month. Congrats everyone who has reached the end, and thanks to everyone who has contributed solutions and advice.

Sometime in January I will create a megathread for visualizations. If anyone has any other ideas, happy to hear them, otherwise, take a well earned 11 month rest until next year :D

 

Day 25: Code Chronicle

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

7
submitted 4 months ago* (last edited 4 months ago) by CameronDev to c/advent_of_code
 

I am wondering if manual inspection is the way to go for pt2? Seems almost achievable with some formatting. Anyone been down this road?

13
submitted 4 months ago* (last edited 4 months ago) by CameronDev to c/advent_of_code
 

Day 24: Crossed Wires

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

 

Day 23: LAN Party

Megathread guidelines

  • Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
  • You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL

FAQ

view more: next ›