CameronDev

joined 2 years ago
MODERATOR OF

Aeroflot: You guys have landings?

[–] CameronDev@programming.dev 3 points 1 day ago (1 children)

Contact the app dev, its their problem.

[–] CameronDev@programming.dev 2 points 1 day ago (1 children)

Good point, I have highlighted the irrelevant bits in purple

As soon as I work out tiktok, I will create a reaction video where I stare blankly from the bottom corner.

[–] CameronDev@programming.dev 21 points 2 days ago* (last edited 1 day ago) (1 children)

Actually, (and I wasn't aware of this until you mentioned it, so thank you), it does support serverless connections:

https://github.com/rustdesk/rustdesk/wiki/FAQ#i-only-use-rustdesk-for-a-few-devices-on-my-local-network-with-no-internet-connectivity-can-i-still-use-rustdesk-with-direct-ip-access

So I think between cloud server, self hosted server and direct IP, OP should be covered.

[–] CameronDev@programming.dev 43 points 2 days ago (3 children)

RustDesk (rustdesk.com) is open source, and similar to TeamViewer, and has paid plans, including a paid self hosted option.

[–] CameronDev@programming.dev 3 points 2 days ago (4 children)

I dunno how to make this any clearer :D

[–] CameronDev@programming.dev 7 points 2 days ago (6 children)

Here, does this help?

[–] CameronDev@programming.dev 9 points 4 days ago

I have just finished all the watch dog games, looks like they'll be a sequel after all!

[–] CameronDev@programming.dev 2 points 4 days ago (2 children)

"Attempted Manslaughter" is an curious term, manslaughter implies a lack of intention to kill, but attempted implied intent. Is this a weird translation? From the article seems a clear "Attempted Murder", but maybe thats not how the German system works?

[–] CameronDev@programming.dev 4 points 4 days ago

Not even a threshold, its a much more smooth transition, thats just the best picture I could find.

KSP will definitely help. Chuck your SATs into orbit, and you can see the orbits slowly decay away, almost imperceptibly. Its fun too :)

[–] CameronDev@programming.dev 2 points 4 days ago

Yes, but I beleive that is quite a significant amount of energy to reach. Only a few spacecraft have left earths orbit. Fewer still have left the suns orbit.

[–] CameronDev@programming.dev 6 points 4 days ago* (last edited 4 days ago) (4 children)

There is no orbit altitude that requires more energy to maintain than a lower altitude.

Zone 1 requires more reboosting that 2, which requires more than 3, which requires more than 4. I dont know the exact relationship, (someone else might know), but we can consider it linear for simplification. The further away from earth, there will be less atmospheric drag, which means a longer stable orbit.

The travel distance doesn't really change anything, it doesn't affect the orbit stability.

Think of it like this spring. Your satellite can start at any point, and with no additional energy, Itll follow the path all the way down to the middle (earth). Start low, and itll reach ground quickly, start high, and itll take a lot longer. There is no energy required to stay on the spiral path. Once the sat is low enough, you may want to reboost, which is when you need to use energy to jump up to a higher point on the spiral, at which the path continues.

 
 

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.

6
Visualisation Megathread (programming.dev)
submitted 5 months ago* (last edited 5 months ago) by CameronDev@programming.dev to c/advent_of_code@programming.dev
 

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 5 months ago* (last edited 5 months ago) by CameronDev@programming.dev to c/advent_of_code@programming.dev
 

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

Happy new year!

 

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 5 months ago* (last edited 5 months ago) by CameronDev@programming.dev to c/advent_of_code@programming.dev
 

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

 

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 5 months ago* (last edited 5 months ago) by CameronDev@programming.dev to c/advent_of_code@programming.dev
 

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 ›