HNHacker News
TopNewBestAskShowJobs

muzzammildotxyz

35 karma · joined June 26, 2017

Website: https://muzzammil.xyz

GitHub: @muhammadmuzzammil1998

Twitter: @mmuzzammil1998

submissionscomments
muzzammildotxyz··on Show HN: A program to email log files using Go
Please take a look at this:

https://github.com/muhammadmuzzammil1998/Log-mailer/commit/f...

muzzammildotxyz··on Show HN: A program to email log files using Go
https://golang.org/pkg/encoding/json/#MarshalIndent :D
muzzammildotxyz··on Show HN: A program to email log files using Go
That's great! :D Thanks!
muzzammildotxyz··on Show HN: A program to email log files using Go
Yes, it was a great experience. Just made it to see if I could :)
muzzammildotxyz··on Show HN: A program to email log files using Go
Just made it to see if I could :)
muzzammildotxyz··on Show HN: A program to email log files using Go
actionscripted, you are a wizard! How did you guess that? :D
muzzammildotxyz··on Show HN: A program to email log files using Go
Well, you caught me. I copied and pasted that line from Go Source comments :D

But hey, you can use 1h4ms6ns as intervals :D

Maybe I should parse days... Thanks for the Idea.

muzzammildotxyz··on Show HN: A program to email log files using Go
Yup
muzzammildotxyz··on Show HN: A program to email log files using Go
what @weavie said. :)
muzzammildotxyz··on Show HN: A program to email log files using Go
Or maybe it's just that good :D

jk...

muzzammildotxyz··on Show HN: A program to email log files using Go
Gee, thanks for the boost in confidence. :|
muzzammildotxyz··on Show HN: A program to email log files using Go
Just made it to see if I could :)
muzzammildotxyz··on Show HN: A program to email log files using Go
I just made it get the job done and email was the easiest way to do it. Also, I get emails pretty quickly, there isn't even a delay of 5 minutes.

Thanks for the concern :)

muzzammildotxyz··on Show HN: A program to email log files using Go
Yes, these are valid concerns. 1) I don't know how to encrypt logs and send them. If you can help please open a PR on GitHub or walk me through it :)

2) How else should I store it? Should I encrypt the json file with a master key?

3) This is correct but I just wanted a quick way to do it :) Thanks for the concerns.

muzzammildotxyz··on Show HN: A program to email log files using Go
No, I meant the readability in .json file. Should I care for that anyway?

Also, great website! :D

muzzammildotxyz··on Show HN: A program to email log files using Go
Thanks for your suggestion. :)
muzzammildotxyz··on Show HN: A program to email log files using Go
I concur. :D
muzzammildotxyz··on Show HN: A program to email log files using Go
Thanks for the suggestion :D

I am not shipping it to any distro or something like that. I was using this for myself and just made it open source.

Thank you for taking your time and reviewing this. As for /r/golang, I will look into it. :)

muzzammildotxyz··on Show HN: A program to email log files using Go
Thank you for taking your time to review my code. Yes, it is a beginner's project :D

1) How do I format the JSON for readability or should I ignore that?

2) Thanks for that. Didn't know about it. Any ideas on how I can fix that? Maybe I can check if it is a file and not a directory and ask for input again for y/n?

muzzammildotxyz··on Dyslexia
That was really good, can you please explain how did you do it?
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
https://github.com/muhammadmuzzammil1998/OctoCSS/commit/246c...

Its fixed :) Thank you for noticing that.

muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
Yup.
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
It is the minimalistic approach. :D
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
That, sir, is truly <em>THE</em> minimalistic, easy, and with cross-browser compatibility approach I have ever seen. Thanks :)
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
Yes it looks good with the animation... If I knew about this one I probably would not have wrote OctoCSS... Thanks anyway... :)
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
Thanks, but I knew that already and didn't like it. So I thought an OctoCat would send the same message as "Fork me on Github" :) That's why it does not have any text.
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
Please feel free to contribute.
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
I'll fix that thanks.
muzzammildotxyz··on Show HN: Minimalistic “Fork Me on GitHub.”
Please feel free to contribute. I'll fix that thanks.
muzzammildotxyz··on Show HN: OctoCSS, Minimalistic “Fork Me on GitHub”
Yeah... I know, Sorry! :D
Page 1 of 2Next →