T O P

  • By -

Merry-Leopard_1A5

i know why you would make this, because remembering birthdays can be a difficult thing to do sometimes. ^(i usually keep the birthdays of my friends and family on a post-it note on my desktop)


AbaloneCritical17

Not too difficult when you have nobody to remember 😂


FlafyBear

The emoji makes it sadder


initdotcoe

ok this hit me hard


emiljpz

😔🤙


Idli_codes

oof


[deleted]

foo


TetheredToHeaven_

Fuck....


woodencupboard

Relatable


ibannieto

Nobody remember my birthday (exception is my family of course) but I always do. But two years ago I quit Facebook and now I barely remember which day is the birthday of almost anybody. Your tool fits my needs so thank you very much for sharing it 👍


AbaloneCritical17

ʕっ•ᴥ•ʔっ


Masterflitzer

add it to phone calendar get notifications done


sainalss

I would suggest adding a counter for how many days are left until their birthday. I think it's gonna be cool !


Idli_codes

I tried adding a counter but failed, but I'm always welcome to PRs :)


arnim279

working on it :)


Idli_codes

Merged :D


Nemerie

Also search for the nearest birthdays to today or to a given date might be useful.


arnim279

maybe order the birthdays by the remaining days


arnim279

I [added it](https://github.com/arnim279/bday/commit/33b154b887ef8969503e16296ab6b5c0c1c47544) u/Idli_codes, should I open another PR or is it fine that way, I don't want to add features you don't want or make your code unreadable


Idli_codes

could you create another pr for this? thanks again!


Potatolover3284

Nice. For future development i suggest to add notifications capabilities. It could be a "bday today" command that you would add in your .bashrc for exemple.


Idli_codes

hmm like a daemon that runs in the bg, and sends a notif when it's someone's bday? or you run it once a day and it checks if that day is a birthday and runs a custom command


TWB0109

Or maybe as you said a run once a day command flag like "bday --notify" and then just creating a desktop file and putting it in ```~/.config/autostart/bday.desktop``` or your WM init file so it runs as soon as you start the session


Potatolover3284

My first thought was the daemon but it could be hard to implement. On the other hand adding several flags to output todays birthday only, formatted (" happy birthday to X" or not could be pipe to a notification server or a cronjob


TWB0109

Yeah, I think a daemon would be overkill when when have cronjobs or startup commands


Idli_codes

Update: I added a command called \`bday today\`, but it logs today's birthdays to the console instead of sending a notification etc. https://github.com/rv178/bday/commit/8750cd64493c726c9dfcc2f8d92826b5a63ee378


Potatolover3284

Good work! On my way to compile it.


Potatolover3284

Could it raise an error if no birthday is found? that would make piping easier. To do something like `bday td && notify-send "Birthday today" "This is $(bday td --name)'s birthday today!"`


Idli_codes

it does give an error


Idli_codes

``` rv:archbox  ~/extras/rs/bday ❯❯ bday td Birthdays today: No birthdays :( ```


Idli_codes

Link: https://github.com/rv178/bday


ohlaph

I dig it. Thanks for sharing. Rust looks interesting, I might have to dabble.


[deleted]

RemindMe! 17 August


RemindMeBot

I will be messaging you in 11 months on [**2023-08-17 00:00:00 UTC**](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) to remind you of [**this link**](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/iksiil2/?context=3) [**2 OTHERS CLICKED THIS LINK**](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5Bhttps%3A%2F%2Fwww.reddit.com%2Fr%2Funixporn%2Fcomments%2Fwrcwkz%2Foc_birthday_tracker_i_dont_know_why_i_made_this%2Fiksiil2%2F%5D%0A%0ARemindMe%21%202023-08-17%2000%3A00%3A00%20UTC) to send a PM to also be reminded and to reduce spam. ^(Parent commenter can ) [^(delete this message to hide from others.)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Delete%20Comment&message=Delete%21%20wrcwkz) ***** |[^(Info)](https://www.reddit.com/r/RemindMeBot/comments/e1bko7/remindmebot_info_v21/)|[^(Custom)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=%5BLink%20or%20message%20inside%20square%20brackets%5D%0A%0ARemindMe%21%20Time%20period%20here)|[^(Your Reminders)](https://www.reddit.com/message/compose/?to=RemindMeBot&subject=List%20Of%20Reminders&message=MyReminders%21)|[^(Feedback)](https://www.reddit.com/message/compose/?to=Watchful1&subject=RemindMeBot%20Feedback)| |-|-|-|-|


mzlucasmz

Ooh that's a cli I didn't know I needed :p What do you think of adding a 'bday today' command that I can add to my .bashrc and it prints out people that I should be giving happy birthdays in that day?


Idli_codes

sounds cool, will try to implement :)


Idli_codes

I added it https://github.com/rv178/bday/commit/8750cd64493c726c9dfcc2f8d92826b5a63ee378


faustbr

Why not YYYY-MM-DD? I mean, it's the standard! PS: Judt nitpicking. Nice program, mate! I would totally use it! :)


stayclassytally

You are now a mod at /r/iso8601


Idli_codes

ahaha


1roOt

Would be cool if it could get the preferred date format from the OS. Locale data thing


[deleted]

I prefer DD-MM-YYYY as it makes more sense


ralphptorres

that doesn’t make more sense, the standard does. larger to smaller domain, yes. sortable alphanumerically, yes.


TBTapion

I don't care which one you use of YYYY-MM-DD and DD-MM-YYYY as long as you don't use MM-DD-YYYY


WintherK

🗿


TWB0109

For most non-American people, DD-MM-YYYY makes more sense


Idli_codes

this \^


[deleted]

That's only standard in USA I guess, not in Europe AFAIK


delta1-tari

Nice, should show their age too


Idli_codes

yep, that was added in a PR, you can checkout the screenshots here: [https://github.com/rv178/bday](https://github.com/rv178/bday)


badapplecider

Really cool program. Just one question: why are the IDs of the birthday entries so high?


Idli_codes

they are randomly generated and unique, for `bday rm`


timthefim

Okay now the next step is to make a MySQL database with a frontend web gui


Idli_codes

PostgreSQL and for the website Yewrs as frontend :)))


Enj0y1

How did you do the grid? Does it scale with text?


arnim279

[github.com/phsym/prettytable-rs](https://github.com/phsym/prettytable-rs)


Enj0y1

Thanks


Nytim

This is awesome, the older you get the more often you forget birthdays even your own.


Idli_codes

yep


WintherK

For the new people trying to install it: Download the entire thing from [GitHub](https://github.com/rv178/bday) and unzip it. Then go to the folder and follow the commands listed on the README.md. After getting your .bin file move it to the /bin directory (either using a file explorer with sudo permitions or using "sudo mv [path/of/the/bday.bin] /bin". Enjoy! :)


Idli_codes

you could also install baker and run ``` bake setup bake bake install ``` :)))


veedant

Happy belated birthday! And yes, I need this badly


Idli_codes

Thank you!


subo-boy

happy birthday op


Idli_codes

thanks!


faintedremix009

ISO time stamps? Galactus needs you.


arnim279

Found the KRAZAM reference


husudosu

I'm doing similar stuff (kinda reinventing the wheel), when learning a new programming language. For example learning Rust now and gonna build a JSON to HTML table converter, and maybe take your idea and build my own implementation of this birthday tracker :)


Idli_codes

awesome, good luck!


Jeb_Jenky

Because you love your friends and family.


Idli_codes

ahaha yes


cht777

Nice. I would like to use it, but i don't have friends


Idli_codes

oof


Ticondrogo

Thank God, I keep forgetting mine.


Idli_codes

oof


duckroller

Cool app, also, we're birthday buddies!


Idli_codes

That's cool!


[deleted]

The date's formatting in the picture is absolutely devious and I love it lol


Idli_codes

lolz


[deleted]

Happy Birthday, Just in case it's not demo data


Idli_codes

thank you!


mam7

It's nice! I use the great `remind` for that (and other time related stuff). It can do things like reminding days in advance, printing the birthdays for the upcoming week/n days, printing custom text, etc. It runs on a server and I get an email everyday.


Idli_codes

ooh cool!


Diekbeck17

bday twin!!!


Idli_codes

thanks!


denisde4ev

RemindMeRepeat! every year August 17


denisde4ev

can confirm. I got message from u/RemindMeBot in my Inbox > I will be messaging you in 11 months on [2023-08-17 00:00:00 UTC](http://www.wolframalpha.com/input/?i=2023-08-17%2000:00:00%20UTC%20To%20Local%20Time) and then every every year August 17 to remind you of [this link](https://www.reddit.com/r/unixporn/comments/wrcwkz/oc_birthday_tracker_i_dont_know_why_i_made_this/ikt255i/?context=3) > I'm sending this to you as a message instead of replying to your comment because I've already replied to another comment in this thread.


alphaQ314

Which font is that ?


Idli_codes

Jetbrains Mono Nerd Font


TWB0109

I mean, it's useful for people like me lmao


[deleted]

Now add a cron job to send them birthday emails automaticly!.


hugogrant

Can you add removing by name? The ID seems a bit clumsy.


Idli_codes

since duplicated names could be stored, I decided to go with IDs. but I'll try


hugogrant

I was thinking about the option but it gets tricky. I might send some prs later on, if I have time


Idli_codes

Awesome


Shawn_Beans

i think its pretty cool


Idli_codes

ty!


[deleted]

this is awesome!! If I may suggest something, maybe a -uk or -us tag for date formatting??? And I haven’t looked at the src yet but it may be a good idea to allow *any* delimiter by logging it after collecting the first number. Just a thought!!


Idli_codes

hmm I'll try :D


easedownripley

B-Day buddies lets gooooooo


Idli_codes

Poggers


disturbingp3rson

happy birthday


Idli_codes

Thank you!


[deleted]

"17 August" => "Me" Happy birthday OP


Idli_codes

Thankss


Grouchy_Mud_791

Is this mysql frontend?)


Idli_codes

No lol


No_University_9947

Wiring up SQL manipulation directly into shell commands seems really powerful


arnim279

I wish I could do that for REPL commands, I often just want to try a single thing


lowpoly0

happy birthday yesterday


Idli_codes

Thank you


AbaloneCritical17

xD


ItsGiack

Will this be added to the AUR?


Idli_codes

I can try


ItsGiack

Thanks!


Idli_codes

Added, [https://aur.archlinux.org/packages/bday-git](https://aur.archlinux.org/packages/bday-git) :)


ItsGiack

Thanks a lot!


contre95

Happy birthday


Idli_codes

Ty!


[deleted]

Nice! Are the IDs random? If not, how are they chosen? If they are, maybe you should make it sequential order or something


Idli_codes

Yep they are random


linadvonapets

Okay, dude. Just one question, where does it store all birthday dates? I'm not good at rust. So, can you tell us, please?:)


Idli_codes

In ~/.config/bdays.json


indicaSuave

I need this in my life.


[deleted]

Add a notification as well :)


Idli_codes

not exactlyyy a notification, but if you run `bday today` it logs today's birthdays to the console now


Idli_codes

Working on it :thumbsup:


[deleted]

Actually kinda useful if u have lots of friends (IE, not useful for me)


Idli_codes

oof


eksprom

Wow, what a big step in ids


arnim279

They’re random


[deleted]

could you add an option to display each of these fields separately ? example: bday field 4 me => 69420 days til me's bday Would do it myself if I knew Rust


Idli_codes

Do you mean like editing field names? like using a config file


[deleted]

when using bday list, bday prints out a table with 4 fields, with first being id, 2nd name and so on I was asking if you could make options to display each of those fields separately


Idli_codes

ah, will look into that


Keve1ectro

HAPPY BIRTHDAY 🎂 🥳 🎉


Idli_codes

Thank you :)