Return to Level1Techs.com

Post your coding projects

programming

#21

dunno not done much with backups/raid yet :/.(to have better understanding of parity data etc)

just meant also in general, what would happen if a kernel panic happened or something during any given state of operation of your program or something like that how much data would you actually lose. might even be different on different filesystems/disk caching modes idk.

like if you were writing a 4gb file to a disk and the program got killed instantly or something in the middle, when you get into fragmented vs contiguous. would definitely have to have some sort of scrub to try and identify the shit i guess.


#22

I've been working on an ongoing project to automate my home network.

Hosted services used:

  • github free account (public repos only)
  • docker hub free account (public only with one free private repo)
  • chef free tier (up to 5 nodes)
  • afraid.org free dynamic DNS (no restrictions?)

Keyword here is free

So far I have a system where I can update a version number in a Chef role, and have the process kick off the following:

  • Fetch packer build resources from github. Repo contains a number of build json files, and a preseed file for building Debian VMs. The repo is intended to be standalone and useful outside of automation.
  • Call packer with provided resources combined with user data encrypted on hosted Chef, and any additional variables passed in from the chef role.
  • A qemu image is created with user, networking, disk and basic software configured. Chef client is configured to run in the VM to handle building services once it is running.
  • Create libvirt XML from a template with variables passed in from role
  • Define the XML and start the VM. Conflicting VMs (generally older versions) are shutdown and undefined.
  • VM calls chef-client to start services. Most services are Dockerized so are pulled down from docker hub and systemd unit files are written to start them
  • Some Docker containers further run chef-client internally (bad practice? so they say..) to react to config updates in roles and reconfigure the service internally. The containers are still stateless though and are all configured to rm on stop, and always start fresh.
  • I also threw in a system update recipe to nodes to keep all software up to date.

These processes generally all react to config changes, and run independently, so if I say, change a role variable defining memory allocation to a VM, the XML for the VM should get redefined, and the server restarted.
Similarly, changing the role defining container run options of a Docker service should cause the service to get restarted with new settings.

Topics I still have in mind include a ton of refactoring, figuring out hardware provisioning (cobbler?), setting up a logging server (thinking elasticsearch with beats), and doing builds with cloud-config.


#23

Not bad, if you've got Chef, why are you using docker? Wouldn't it be easier to use chef to configure non-containerized services?


#24

Yeah that would be the intended use, but I prefer limiting the scope of each process. The node chef process is only responsible for starting and stopping containers. Very simple. Each docker run and build are also only responsible for the single containerized process. This to me is easier.

I've also setup my Docker repos as automated build (free feature of Docker hub) so that a new container is built on their system every time I push a change to a linked github project. There isn't much additional management overhead from using containers.

Also for creating new services, I found that community Docker containers are often reliable and very easy to get working. Community cookbooks on the other hand... let's just say it hasn't been a great experience.

The last reason would be leaving options for migrating to something like CoreOS. Right now I'm not using it because I'm playing with NFtables, which they don't support, but would eventually want to move from Debian Docker boxes to CoreOS.


#25

Do scripts count?

If so, Office 2016 ProPlus has a bug in it that makes Skype For Business in the start menu point to Skype Call Manager during deployment.

I made a bat script to kill that shortcut and make a new shortcut to point the correct application. The script is set to be ran after the office 2016 is deployed.

To bad this is a Windows thing that I am posting in a Linux sub-forum.


#26

ye sure :p.

dunno why ended up under linux -shrugs-

any os, basically any scripts/programs whatever is fine :p


#27

added where it shows the multiplication for you.

and found a spot in auditing that was dumb that i redid for the calculation part that sped it up a bunch, like ~3700 segments/s over the same 26k segment list that before was like 1~2000/s

must have been from before i added some extra variables so was scanning down from the highest segment sublist to 0, instead of just on the counter of how many sublists there are and just checking each list once, instead of checking if theres a list at every single segment amount down from 25700(in the example)


#28

I can move it to "Software & Operating Systems" if you want


#29

ye, thats what was aiming for :p. the highest/most generic software one


#30

using VLC instead of MPV

ewww


As for my own projects, they're scattered around. Never actually finished.

  • There's a game engine (that no longer works)
  • Atleast 5 revisions of an Image Board in 3 different languages, 4 frameworks, and not a lot of progress
  • A pastebin (Almost done)
  • File hosting service

#31

lol had considered mplayer but not sure :p vlc been working out fine/features that are fairly nice eq, can force full screen/shut down when file finishes from command line etc.

might make a version that does mplayer or something wouldnt be hard :p


#32

Moved


#33

okie :p


#34

still not finished documentation stuff lol..

took an example pic of the mostly finished(needs re-audit) mkli
for the new mkli features, where can remove many non media(movie/music files..) from the list and update the number

just did append option, which just does the single >, instead of dual so it pipes to end of the file so you can do multiple directoies into a single file, (as the ls arguments to get it to show full path make it no work recursively)

as if i did the normal operation it would have never shown the other documents/would have had to manually ls the document folder to see that it removed anything


#35

messing with some rng tuning for character creation for a stranded island survival minigame thing am working on :p.

normally would just edit the post since last was mine also.. but is also to bump the thread >.>


#36

another bump i guess :p.

doing some more tuning of the rng and the weather stuff

(is old pic has some new stuff going on, and isnt outputting all the data have stuff for like.. if you have an amputated limb it marks that all the toes/fingers the large joint(like wrist or ankle etc has an issue/is marked that its not in normal condition)

really long thing of an entire years worth of the weather stuff

date = 189, gen = female, age = 50, weight = 260#,
bloodsugar = 50%, pee = 44%, poop = 86%, starvation = 3%, dehydration = 32%,
stress = 21%, morale = 70%, rain = 5%, rt = 0, avg temp = 90f, dtemp = 89f

date = 190, rain = 5%, rt = 0, average temp = 90f, dtemp = 95f
date = 191, rain = 5%, rt = 0, average temp = 90f, dtemp = 96f
date = 192, rain = 5%, rt = 0, average temp = 90f, dtemp = 98f
date = 193, rain = 5%, rt = 0, average temp = 90f, dtemp = 92f
date = 194, rain = 5%, rt = 0, average temp = 90f, dtemp = 77f
date = 195, rain = 5%, rt = 0, average temp = 90f, dtemp = 97f
date = 196, rain = 5%, rt = 0, average temp = 90f, dtemp = 86f
date = 197, rain = 5%, rt = 0, average temp = 90f, dtemp = 80f
date = 198, rain = 5%, rt = 0, average temp = 90f, dtemp = 105f
date = 199, rain = 5%, rt = 0, average temp = 90f, dtemp = 91f
date = 200, rain = 5%, rt = 0, average temp = 90f, dtemp = 81f
date = 201, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 202, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 203, rain = 5%, rt = 0, average temp = 90f, dtemp = 81f
date = 204, rain = 5%, rt = 0, average temp = 90f, dtemp = 102f
date = 205, rain = 5%, rt = 0, average temp = 90f, dtemp = 80f
date = 206, rain = 5%, rt = 0, average temp = 90f, dtemp = 99f
date = 207, rain = 5%, rt = 0, average temp = 90f, dtemp = 97f
date = 208, rain = 5%, rt = 0, average temp = 90f, dtemp = 102f
date = 209, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 210, rain = 5%, rt = 0, average temp = 90f, dtemp = 76f
date = 211, rain = 5%, rt = 0, average temp = 90f, dtemp = 84f
date = 212, rain = 5%, rt = 0, average temp = 90f, dtemp = 98f
date = 213, rain = 5%, rt = 0, average temp = 90f, dtemp = 79f
date = 214, rain = 5%, rt = 0, average temp = 90f, dtemp = 105f
date = 215, rain = 5%, rt = 0, average temp = 90f, dtemp = 79f
date = 216, rain = 5%, rt = 0, average temp = 90f, dtemp = 77f
date = 217, rain = 5%, rt = 0, average temp = 90f, dtemp = 93f
date = 218, rain = 5%, rt = 0, average temp = 90f, dtemp = 79f
date = 219, rain = 5%, rt = 0, average temp = 90f, dtemp = 93f
date = 220, rain = 5%, rt = 0, average temp = 90f, dtemp = 86f
date = 221, rain = 5%, rt = 0, average temp = 90f, dtemp = 80f
date = 222, rain = 5%, rt = 0, average temp = 90f, dtemp = 98f
date = 223, rain = 5%, rt = 0, average temp = 90f, dtemp = 102f
date = 224, rain = 5%, rt = 0, average temp = 90f, dtemp = 92f
date = 225, rain = 5%, rt = 0, average temp = 90f, dtemp = 97f
date = 226, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 227, rain = 5%, rt = 0, average temp = 90f, dtemp = 78f
date = 228, rain = 5%, rt = 0, average temp = 90f, dtemp = 84f
date = 229, rain = 5%, rt = 0, average temp = 90f, dtemp = 99f
date = 230, rain = 5%, rt = 0, average temp = 90f, dtemp = 95f
date = 231, rain = 5%, rt = 0, average temp = 90f, dtemp = 79f
date = 232, rain = 5%, rt = 0, average temp = 90f, dtemp = 95f
date = 233, rain = 5%, rt = 0, average temp = 90f, dtemp = 90f
date = 234, rain = 5%, rt = 0, average temp = 90f, dtemp = 91f
date = 235, rain = 5%, rt = 0, average temp = 90f, dtemp = 101f
date = 236, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 237, rain = 5%, rt = 0, average temp = 90f, dtemp = 75f
date = 238, rain = 5%, rt = 0, average temp = 90f, dtemp = 93f
date = 239, rain = 5%, rt = 0, average temp = 90f, dtemp = 103f
date = 240, rain = 20%, rt = 0, average temp = 90f, dtemp = 84f
date = 241, rain = 20%, rt = 0, average temp = 90f, dtemp = 82f
date = 242, rain = 20%, rt = 1, average temp = 90f, dtemp = 97f
date = 243, rain = 20%, rt = 0, average temp = 90f, dtemp = 92f
date = 244, rain = 20%, rt = 0, average temp = 90f, dtemp = 85f
date = 245, rain = 20%, rt = 0, average temp = 90f, dtemp = 81f
date = 246, rain = 20%, rt = 0, average temp = 90f, dtemp = 89f
date = 247, rain = 20%, rt = 5, average temp = 90f, dtemp = 82f
date = 248, rain = 20%, rt = 2, average temp = 90f, dtemp = 91f
date = 249, rain = 20%, rt = 0, average temp = 90f, dtemp = 89f
date = 250, rain = 20%, rt = 0, average temp = 90f, dtemp = 76f
date = 251, rain = 20%, rt = 0, average temp = 90f, dtemp = 76f
date = 252, rain = 20%, rt = 4, average temp = 90f, dtemp = 76f
date = 253, rain = 20%, rt = 0, average temp = 90f, dtemp = 103f
date = 254, rain = 20%, rt = 2, average temp = 90f, dtemp = 90f
date = 255, rain = 20%, rt = 0, average temp = 90f, dtemp = 103f
date = 256, rain = 20%, rt = 0, average temp = 90f, dtemp = 97f
date = 257, rain = 20%, rt = 0, average temp = 90f, dtemp = 90f
date = 258, rain = 20%, rt = 0, average temp = 90f, dtemp = 83f
date = 259, rain = 20%, rt = 0, average temp = 90f, dtemp = 77f
date = 260, rain = 20%, rt = 0, average temp = 90f, dtemp = 90f
date = 261, rain = 20%, rt = 0, average temp = 90f, dtemp = 88f
date = 262, rain = 20%, rt = 0, average temp = 90f, dtemp = 88f
date = 263, rain = 20%, rt = 0, average temp = 90f, dtemp = 78f
date = 264, rain = 20%, rt = 0, average temp = 90f, dtemp = 85f
date = 265, rain = 20%, rt = 0, average temp = 90f, dtemp = 90f
date = 266, rain = 20%, rt = 0, average temp = 90f, dtemp = 77f
date = 267, rain = 20%, rt = 3, average temp = 90f, dtemp = 89f
date = 268, rain = 20%, rt = 0, average temp = 90f, dtemp = 82f
date = 269, rain = 20%, rt = 0, average temp = 90f, dtemp = 101f
date = 270, rain = 30%, rt = 0, average temp = 90f, dtemp = 102f
date = 271, rain = 30%, rt = 0, average temp = 90f, dtemp = 77f
date = 272, rain = 30%, rt = 0, average temp = 90f, dtemp = 104f
date = 273, rain = 30%, rt = 0, average temp = 90f, dtemp = 85f
date = 274, rain = 30%, rt = 1, average temp = 90f, dtemp = 76f
date = 275, rain = 30%, rt = 1, average temp = 90f, dtemp = 93f
date = 276, rain = 30%, rt = 2, average temp = 90f, dtemp = 91f
date = 277, rain = 30%, rt = 1, average temp = 90f, dtemp = 79f
date = 278, rain = 30%, rt = 0, average temp = 90f, dtemp = 103f
date = 279, rain = 30%, rt = 1, average temp = 90f, dtemp = 81f
date = 280, rain = 30%, rt = 0, average temp = 90f, dtemp = 80f
date = 281, rain = 30%, rt = 0, average temp = 90f, dtemp = 91f
date = 282, rain = 30%, rt = 0, average temp = 90f, dtemp = 86f
date = 283, rain = 30%, rt = 0, average temp = 90f, dtemp = 103f
date = 284, rain = 30%, rt = 2, average temp = 90f, dtemp = 97f
date = 285, rain = 30%, rt = 0, average temp = 90f, dtemp = 94f
date = 286, rain = 30%, rt = 0, average temp = 90f, dtemp = 87f
date = 287, rain = 30%, rt = 0, average temp = 90f, dtemp = 84f
date = 288, rain = 30%, rt = 0, average temp = 90f, dtemp = 93f
date = 289, rain = 30%, rt = 5, average temp = 90f, dtemp = 93f
date = 290, rain = 30%, rt = 0, average temp = 90f, dtemp = 96f
date = 291, rain = 30%, rt = 1, average temp = 90f, dtemp = 95f
date = 292, rain = 30%, rt = 0, average temp = 90f, dtemp = 98f
date = 293, rain = 30%, rt = 0, average temp = 90f, dtemp = 86f
date = 294, rain = 30%, rt = 0, average temp = 90f, dtemp = 90f
date = 295, rain = 30%, rt = 3, average temp = 90f, dtemp = 102f
date = 296, rain = 30%, rt = 0, average temp = 90f, dtemp = 105f
date = 297, rain = 30%, rt = 0, average temp = 90f, dtemp = 91f
date = 298, rain = 30%, rt = 1, average temp = 90f, dtemp = 96f
date = 299, rain = 30%, rt = 1, average temp = 90f, dtemp = 101f
date = 300, rain = 20%, rt = 0, average temp = 85f, dtemp = 75f
date = 301, rain = 20%, rt = 0, average temp = 85f, dtemp = 81f
date = 302, rain = 20%, rt = 0, average temp = 85f, dtemp = 98f
date = 303, rain = 20%, rt = 0, average temp = 85f, dtemp = 84f
date = 304, rain = 20%, rt = 0, average temp = 85f, dtemp = 83f
date = 305, rain = 20%, rt = 0, average temp = 85f, dtemp = 85f
date = 306, rain = 20%, rt = 0, average temp = 85f, dtemp = 95f
date = 307, rain = 20%, rt = 0, average temp = 85f, dtemp = 75f
date = 308, rain = 20%, rt = 0, average temp = 85f, dtemp = 83f
date = 309, rain = 20%, rt = 0, average temp = 85f, dtemp = 83f
date = 310, rain = 20%, rt = 0, average temp = 85f, dtemp = 76f
date = 311, rain = 20%, rt = 0, average temp = 85f, dtemp = 92f
date = 312, rain = 20%, rt = 1, average temp = 85f, dtemp = 98f
date = 313, rain = 20%, rt = 0, average temp = 85f, dtemp = 72f
date = 314, rain = 20%, rt = 0, average temp = 85f, dtemp = 90f
date = 315, rain = 20%, rt = 1, average temp = 85f, dtemp = 76f
date = 316, rain = 20%, rt = 0, average temp = 85f, dtemp = 99f
date = 317, rain = 20%, rt = 2, average temp = 85f, dtemp = 71f
date = 318, rain = 20%, rt = 0, average temp = 85f, dtemp = 75f
date = 319, rain = 20%, rt = 1, average temp = 85f, dtemp = 100f
date = 320, rain = 20%, rt = 2, average temp = 85f, dtemp = 88f
date = 321, rain = 20%, rt = 0, average temp = 85f, dtemp = 89f
date = 322, rain = 20%, rt = 0, average temp = 85f, dtemp = 92f
date = 323, rain = 20%, rt = 0, average temp = 85f, dtemp = 90f
date = 324, rain = 20%, rt = 0, average temp = 85f, dtemp = 77f
date = 325, rain = 20%, rt = 0, average temp = 85f, dtemp = 98f
date = 326, rain = 20%, rt = 0, average temp = 85f, dtemp = 82f
date = 327, rain = 20%, rt = 0, average temp = 85f, dtemp = 81f
date = 328, rain = 20%, rt = 0, average temp = 85f, dtemp = 95f
date = 329, rain = 20%, rt = 5, average temp = 85f, dtemp = 78f
date = 330, rain = 20%, rt = 0, average temp = 80f, dtemp = 67f
date = 331, rain = 20%, rt = 0, average temp = 80f, dtemp = 92f
date = 332, rain = 20%, rt = 0, average temp = 80f, dtemp = 93f
date = 333, rain = 20%, rt = 0, average temp = 80f, dtemp = 79f
date = 334, rain = 20%, rt = 0, average temp = 80f, dtemp = 66f
date = 335, rain = 20%, rt = 2, average temp = 80f, dtemp = 79f
date = 336, rain = 20%, rt = 0, average temp = 80f, dtemp = 71f
date = 337, rain = 20%, rt = 0, average temp = 80f, dtemp = 93f
date = 338, rain = 20%, rt = 0, average temp = 80f, dtemp = 85f
date = 339, rain = 20%, rt = 0, average temp = 80f, dtemp = 73f
date = 340, rain = 20%, rt = 0, average temp = 80f, dtemp = 84f
date = 341, rain = 20%, rt = 0, average temp = 80f, dtemp = 69f
date = 342, rain = 20%, rt = 0, average temp = 80f, dtemp = 67f
date = 343, rain = 20%, rt = 1, average temp = 80f, dtemp = 69f
date = 344, rain = 20%, rt = 0, average temp = 80f, dtemp = 91f
date = 345, rain = 20%, rt = 2, average temp = 80f, dtemp = 90f
date = 346, rain = 20%, rt = 0, average temp = 80f, dtemp = 88f
date = 347, rain = 20%, rt = 0, average temp = 80f, dtemp = 76f
date = 348, rain = 20%, rt = 1, average temp = 80f, dtemp = 90f
date = 349, rain = 20%, rt = 2, average temp = 80f, dtemp = 89f
date = 350, rain = 20%, rt = 0, average temp = 80f, dtemp = 88f
date = 351, rain = 20%, rt = 0, average temp = 80f, dtemp = 84f
date = 352, rain = 20%, rt = 2, average temp = 80f, dtemp = 93f
date = 353, rain = 20%, rt = 0, average temp = 80f, dtemp = 69f
date = 354, rain = 20%, rt = 3, average temp = 80f, dtemp = 88f
date = 355, rain = 20%, rt = 0, average temp = 80f, dtemp = 89f
date = 356, rain = 20%, rt = 0, average temp = 80f, dtemp = 89f
date = 357, rain = 20%, rt = 0, average temp = 80f, dtemp = 92f
date = 358, rain = 20%, rt = 0, average temp = 80f, dtemp = 75f
date = 359, rain = 20%, rt = 0, average temp = 80f, dtemp = 71f
date = 360, rain = 20%, rt = 0, average temp = 80f, dtemp = 87f
date = 361, rain = 20%, rt = 0, average temp = 80f, dtemp = 78f
date = 362, rain = 20%, rt = 1, average temp = 80f, dtemp = 94f
date = 363, rain = 20%, rt = 0, average temp = 80f, dtemp = 84f
date = 364, rain = 20%, rt = 0, average temp = 80f, dtemp = 86f
date = 365, rain = 20%, rt = 3, average temp = 80f, dtemp = 70f
date = 1, rain = 20%, rt = 0, average temp = 80f, dtemp = 76f
date = 2, rain = 20%, rt = 0, average temp = 80f, dtemp = 69f
date = 3, rain = 20%, rt = 3, average temp = 80f, dtemp = 68f
date = 4, rain = 20%, rt = 0, average temp = 80f, dtemp = 95f
date = 5, rain = 20%, rt = 0, average temp = 80f, dtemp = 85f
date = 6, rain = 20%, rt = 0, average temp = 80f, dtemp = 86f
date = 7, rain = 20%, rt = 0, average temp = 80f, dtemp = 95f
date = 8, rain = 20%, rt = 0, average temp = 80f, dtemp = 82f
date = 9, rain = 20%, rt = 0, average temp = 80f, dtemp = 89f
date = 10, rain = 20%, rt = 0, average temp = 80f, dtemp = 81f
date = 11, rain = 20%, rt = 0, average temp = 80f, dtemp = 93f
date = 12, rain = 20%, rt = 0, average temp = 80f, dtemp = 95f
date = 13, rain = 20%, rt = 3, average temp = 80f, dtemp = 90f
date = 14, rain = 20%, rt = 0, average temp = 80f, dtemp = 86f
date = 15, rain = 20%, rt = 0, average temp = 80f, dtemp = 87f
date = 16, rain = 20%, rt = 0, average temp = 80f, dtemp = 78f
date = 17, rain = 20%, rt = 0, average temp = 80f, dtemp = 90f
date = 18, rain = 20%, rt = 0, average temp = 80f, dtemp = 83f
date = 19, rain = 20%, rt = 0, average temp = 80f, dtemp = 70f
date = 20, rain = 20%, rt = 0, average temp = 80f, dtemp = 73f
date = 21, rain = 20%, rt = 0, average temp = 80f, dtemp = 65f
date = 22, rain = 20%, rt = 0, average temp = 80f, dtemp = 78f
date = 23, rain = 20%, rt = 0, average temp = 80f, dtemp = 75f
date = 24, rain = 20%, rt = 1, average temp = 80f, dtemp = 91f
date = 25, rain = 20%, rt = 0, average temp = 80f, dtemp = 67f
date = 26, rain = 20%, rt = 0, average temp = 80f, dtemp = 82f
date = 27, rain = 20%, rt = 0, average temp = 80f, dtemp = 66f
date = 28, rain = 20%, rt = 2, average temp = 80f, dtemp = 78f
date = 29, rain = 20%, rt = 0, average temp = 80f, dtemp = 93f
date = 30, rain = 30%, rt = 0, average temp = 75f, dtemp = 72f
date = 31, rain = 30%, rt = 0, average temp = 75f, dtemp = 90f
date = 32, rain = 30%, rt = 3, average temp = 75f, dtemp = 75f
date = 33, rain = 30%, rt = 0, average temp = 75f, dtemp = 65f
date = 34, rain = 30%, rt = 0, average temp = 75f, dtemp = 65f
date = 35, rain = 30%, rt = 0, average temp = 75f, dtemp = 66f
date = 36, rain = 30%, rt = 0, average temp = 75f, dtemp = 70f
date = 37, rain = 30%, rt = 0, average temp = 75f, dtemp = 83f
date = 38, rain = 30%, rt = 2, average temp = 75f, dtemp = 77f
date = 39, rain = 30%, rt = 0, average temp = 75f, dtemp = 76f
date = 40, rain = 30%, rt = 0, average temp = 75f, dtemp = 76f
date = 41, rain = 30%, rt = 0, average temp = 75f, dtemp = 73f
date = 42, rain = 30%, rt = 0, average temp = 75f, dtemp = 76f
date = 43, rain = 30%, rt = 0, average temp = 75f, dtemp = 85f
date = 44, rain = 30%, rt = 0, average temp = 75f, dtemp = 81f
date = 45, rain = 30%, rt = 4, average temp = 75f, dtemp = 61f
date = 46, rain = 30%, rt = 1, average temp = 75f, dtemp = 65f
date = 47, rain = 30%, rt = 2, average temp = 75f, dtemp = 63f
date = 48, rain = 30%, rt = 0, average temp = 75f, dtemp = 63f
date = 49, rain = 30%, rt = 0, average temp = 75f, dtemp = 64f
date = 50, rain = 30%, rt = 1, average temp = 75f, dtemp = 65f
date = 51, rain = 30%, rt = 0, average temp = 75f, dtemp = 67f
date = 52, rain = 30%, rt = 3, average temp = 75f, dtemp = 83f
date = 53, rain = 30%, rt = 1, average temp = 75f, dtemp = 76f
date = 54, rain = 30%, rt = 0, average temp = 75f, dtemp = 86f
date = 55, rain = 30%, rt = 1, average temp = 75f, dtemp = 76f
date = 56, rain = 30%, rt = 2, average temp = 75f, dtemp = 84f
date = 57, rain = 30%, rt = 0, average temp = 75f, dtemp = 86f
date = 58, rain = 30%, rt = 1, average temp = 75f, dtemp = 88f
date = 59, rain = 30%, rt = 0, average temp = 75f, dtemp = 72f
date = 60, rain = 40%, rt = 0, average temp = 75f, dtemp = 89f
date = 61, rain = 40%, rt = 3, average temp = 75f, dtemp = 60f
date = 62, rain = 40%, rt = 4, average temp = 75f, dtemp = 71f
date = 63, rain = 40%, rt = 0, average temp = 75f, dtemp = 77f
date = 64, rain = 40%, rt = 0, average temp = 75f, dtemp = 84f
date = 65, rain = 40%, rt = 1, average temp = 75f, dtemp = 81f
date = 66, rain = 40%, rt = 0, average temp = 75f, dtemp = 89f
date = 67, rain = 40%, rt = 3, average temp = 75f, dtemp = 85f
date = 68, rain = 40%, rt = 0, average temp = 75f, dtemp = 82f
date = 69, rain = 40%, rt = 3, average temp = 75f, dtemp = 71f
date = 70, rain = 40%, rt = 0, average temp = 75f, dtemp = 68f
date = 71, rain = 40%, rt = 0, average temp = 75f, dtemp = 68f
date = 72, rain = 40%, rt = 1, average temp = 75f, dtemp = 87f
date = 73, rain = 40%, rt = 0, average temp = 75f, dtemp = 76f
date = 74, rain = 40%, rt = 0, average temp = 75f, dtemp = 71f
date = 75, rain = 40%, rt = 0, average temp = 75f, dtemp = 75f
date = 76, rain = 40%, rt = 0, average temp = 75f, dtemp = 84f
date = 77, rain = 40%, rt = 0, average temp = 75f, dtemp = 62f
date = 78, rain = 40%, rt = 3, average temp = 75f, dtemp = 60f
date = 79, rain = 40%, rt = 2, average temp = 75f, dtemp = 82f
date = 80, rain = 40%, rt = 0, average temp = 75f, dtemp = 61f
date = 81, rain = 40%, rt = 2, average temp = 75f, dtemp = 70f
date = 82, rain = 40%, rt = 1, average temp = 75f, dtemp = 83f
date = 83, rain = 40%, rt = 0, average temp = 75f, dtemp = 72f
date = 84, rain = 40%, rt = 1, average temp = 75f, dtemp = 61f
date = 85, rain = 40%, rt = 0, average temp = 75f, dtemp = 79f
date = 86, rain = 40%, rt = 0, average temp = 75f, dtemp = 78f
date = 87, rain = 40%, rt = 0, average temp = 75f, dtemp = 65f
date = 88, rain = 40%, rt = 0, average temp = 75f, dtemp = 80f
date = 89, rain = 40%, rt = 0, average temp = 75f, dtemp = 86f
date = 90, rain = 50%, rt = 0, average temp = 80f, dtemp = 90f
date = 91, rain = 50%, rt = 0, average temp = 80f, dtemp = 90f
date = 92, rain = 50%, rt = 0, average temp = 80f, dtemp = 87f
date = 93, rain = 50%, rt = 0, average temp = 80f, dtemp = 66f
date = 94, rain = 50%, rt = 0, average temp = 80f, dtemp = 88f
date = 95, rain = 50%, rt = 0, average temp = 80f, dtemp = 94f
date = 96, rain = 50%, rt = 1, average temp = 80f, dtemp = 65f
date = 97, rain = 50%, rt = 0, average temp = 80f, dtemp = 93f
date = 98, rain = 50%, rt = 1, average temp = 80f, dtemp = 86f
date = 99, rain = 50%, rt = 0, average temp = 80f, dtemp = 82f
date = 100, rain = 50%, rt = 3, average temp = 80f, dtemp = 83f
date = 101, rain = 50%, rt = 0, average temp = 80f, dtemp = 90f
date = 102, rain = 50%, rt = 1, average temp = 80f, dtemp = 89f
date = 103, rain = 50%, rt = 4, average temp = 80f, dtemp = 78f
date = 104, rain = 50%, rt = 3, average temp = 80f, dtemp = 88f
date = 105, rain = 50%, rt = 1, average temp = 80f, dtemp = 74f
date = 106, rain = 50%, rt = 3, average temp = 80f, dtemp = 89f
date = 107, rain = 50%, rt = 0, average temp = 80f, dtemp = 72f
date = 108, rain = 50%, rt = 0, average temp = 80f, dtemp = 68f
date = 109, rain = 50%, rt = 0, average temp = 80f, dtemp = 82f
date = 110, rain = 50%, rt = 1, average temp = 80f, dtemp = 77f
date = 111, rain = 50%, rt = 0, average temp = 80f, dtemp = 73f
date = 112, rain = 50%, rt = 1, average temp = 80f, dtemp = 70f
date = 113, rain = 50%, rt = 0, average temp = 80f, dtemp = 78f
date = 114, rain = 50%, rt = 0, average temp = 80f, dtemp = 92f
date = 115, rain = 50%, rt = 1, average temp = 80f, dtemp = 72f
date = 116, rain = 50%, rt = 2, average temp = 80f, dtemp = 66f
date = 117, rain = 50%, rt = 1, average temp = 80f, dtemp = 67f
date = 118, rain = 50%, rt = 0, average temp = 80f, dtemp = 76f
date = 119, rain = 50%, rt = 2, average temp = 80f, dtemp = 80f
date = 120, rain = 25%, rt = 0, average temp = 85f, dtemp = 77f
date = 121, rain = 25%, rt = 0, average temp = 85f, dtemp = 74f
date = 122, rain = 25%, rt = 0, average temp = 85f, dtemp = 76f
date = 123, rain = 25%, rt = 3, average temp = 85f, dtemp = 76f
date = 124, rain = 25%, rt = 2, average temp = 85f, dtemp = 96f
date = 125, rain = 25%, rt = 1, average temp = 85f, dtemp = 77f
date = 126, rain = 25%, rt = 0, average temp = 85f, dtemp = 93f
date = 127, rain = 25%, rt = 0, average temp = 85f, dtemp = 71f
date = 128, rain = 25%, rt = 0, average temp = 85f, dtemp = 86f
date = 129, rain = 25%, rt = 0, average temp = 85f, dtemp = 83f
date = 130, rain = 25%, rt = 3, average temp = 85f, dtemp = 79f
date = 131, rain = 25%, rt = 0, average temp = 85f, dtemp = 82f
date = 132, rain = 25%, rt = 0, average temp = 85f, dtemp = 98f
date = 133, rain = 25%, rt = 0, average temp = 85f, dtemp = 100f
date = 134, rain = 25%, rt = 0, average temp = 85f, dtemp = 87f
date = 135, rain = 25%, rt = 0, average temp = 85f, dtemp = 75f
date = 136, rain = 25%, rt = 0, average temp = 85f, dtemp = 72f
date = 137, rain = 25%, rt = 0, average temp = 85f, dtemp = 96f
date = 138, rain = 25%, rt = 0, average temp = 85f, dtemp = 92f
date = 139, rain = 25%, rt = 0, average temp = 85f, dtemp = 97f
date = 140, rain = 25%, rt = 0, average temp = 85f, dtemp = 99f
date = 141, rain = 25%, rt = 0, average temp = 85f, dtemp = 74f
date = 142, rain = 25%, rt = 0, average temp = 85f, dtemp = 97f
date = 143, rain = 25%, rt = 0, average temp = 85f, dtemp = 92f
date = 144, rain = 25%, rt = 0, average temp = 85f, dtemp = 78f
date = 145, rain = 25%, rt = 1, average temp = 85f, dtemp = 88f
date = 146, rain = 25%, rt = 0, average temp = 85f, dtemp = 76f
date = 147, rain = 25%, rt = 0, average temp = 85f, dtemp = 89f
date = 148, rain = 25%, rt = 0, average temp = 85f, dtemp = 91f
date = 149, rain = 25%, rt = 0, average temp = 85f, dtemp = 96f
date = 150, rain = 5%, rt = 3, average temp = 95f, dtemp = 110f
date = 151, rain = 5%, rt = 0, average temp = 95f, dtemp = 97f
date = 152, rain = 5%, rt = 0, average temp = 95f, dtemp = 100f
date = 153, rain = 5%, rt = 0, average temp = 95f, dtemp = 86f
date = 154, rain = 5%, rt = 0, average temp = 95f, dtemp = 87f
date = 155, rain = 5%, rt = 0, average temp = 95f, dtemp = 104f
date = 156, rain = 5%, rt = 0, average temp = 95f, dtemp = 80f
date = 157, rain = 5%, rt = 0, average temp = 95f, dtemp = 103f
date = 158, rain = 5%, rt = 0, average temp = 95f, dtemp = 87f
date = 159, rain = 5%, rt = 0, average temp = 95f, dtemp = 105f
date = 160, rain = 5%, rt = 0, average temp = 95f, dtemp = 86f
date = 161, rain = 5%, rt = 0, average temp = 95f, dtemp = 110f
date = 162, rain = 5%, rt = 0, average temp = 95f, dtemp = 107f
date = 163, rain = 5%, rt = 0, average temp = 95f, dtemp = 108f
date = 164, rain = 5%, rt = 0, average temp = 95f, dtemp = 93f
date = 165, rain = 5%, rt = 0, average temp = 95f, dtemp = 86f
date = 166, rain = 5%, rt = 0, average temp = 95f, dtemp = 90f
date = 167, rain = 5%, rt = 0, average temp = 95f, dtemp = 83f
date = 168, rain = 5%, rt = 0, average temp = 95f, dtemp = 82f
date = 169, rain = 5%, rt = 0, average temp = 95f, dtemp = 85f
date = 170, rain = 5%, rt = 0, average temp = 95f, dtemp = 82f
date = 171, rain = 5%, rt = 0, average temp = 95f, dtemp = 106f
date = 172, rain = 5%, rt = 2, average temp = 95f, dtemp = 82f
date = 173, rain = 5%, rt = 0, average temp = 95f, dtemp = 107f
date = 174, rain = 5%, rt = 0, average temp = 95f, dtemp = 86f
date = 175, rain = 5%, rt = 0, average temp = 95f, dtemp = 91f
date = 176, rain = 5%, rt = 0, average temp = 95f, dtemp = 109f
date = 177, rain = 5%, rt = 0, average temp = 95f, dtemp = 108f
date = 178, rain = 5%, rt = 0, average temp = 95f, dtemp = 86f
date = 179, rain = 5%, rt = 0, average temp = 95f, dtemp = 99f
date = 180, rain = 5%, rt = 0, average temp = 90f, dtemp = 82f
date = 181, rain = 5%, rt = 0, average temp = 90f, dtemp = 102f
date = 182, rain = 5%, rt = 0, average temp = 90f, dtemp = 91f
date = 183, rain = 5%, rt = 0, average temp = 90f, dtemp = 100f
date = 184, rain = 5%, rt = 0, average temp = 90f, dtemp = 104f
date = 185, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f
date = 186, rain = 5%, rt = 0, average temp = 90f, dtemp = 87f
date = 187, rain = 5%, rt = 0, average temp = 90f, dtemp = 77f
date = 188, rain = 5%, rt = 0, average temp = 90f, dtemp = 83f

rt is just place holder, its 0 no rain, 1 is sprinkles/light shower, 2 normal just rain, 3 light storm, 4 heavy storm, 5 like tropical storm/hurricane gonna put in tsunami probably

dtemp is that days active high temp probably gonna have it set that it has a 10% swing for the low temp(for the coldest it gets or if it starts storming to drop down to that temp)
and only be around the max temp from 12-4pm or something

the temperature is relevant because going to put in risk for heatstroke, there's dehydration etc. if your character is older/overweight, has a health condition, you will be at significant risk at very hot temps if you do alot of physically demanding stuff, dehydration and stamina will be effected faster if its hotter


#37

I've been playing around with tracking how much time I spend on websites. You can find the code here if you want https://github.com/chris373/TabTime I might make a post sometime on creating an API using the Hug library with Python. It's pretty neat.


#38

just minutes spent since you ran the program/began tracking?


#39

It records how long you have a tab open until you switch to another tab or close it. It records each of those as separate events. Right now I don't have any of the UI stuff setup to search between certain times, but it's all in the database. It's still a work in progress.


#40

I had made a front-end to launch emulators and to organize ROM collections, but it can be used to launch any program. It is developed in C++ and it uses GTK3 as graphical user interface.

It does not try to compete with Emulation Station or any other front-end, it is not designed for an HTPC. It is intended to be used in an everyday not specific purpose PC.

I put it on GitHub in case someone is interested:

https://github.com/ramzeto/janl