Back then, i want to receive a notification directly to my phone whenever "an event" happened on my server. So, i did this :
1. Create a Telegram bot by using BotFather (/newbot), get its HTTP API access token.
2. Invite that bot to a group, make it as a administrator.
3. Invite @RawDataBot to that group. It will tell the group's chat_id.
4. Done. If we want to trigger the notification, just send HTTP GET to https :// api.telegram.org/botBOTTOKEN/sendMessage?chat_id=CHATID&text=URLENCODEDTEXT . Replace BOTTOKEN with your bot's HTTP API access token , CHATID with the group's chat_id, and URLENCODEDTEXT with the notification text body (url encoded).
Thank you for making this open source. At least, by using this, now i can self-host everything without having to rely to Telegram anymore.
I had the same problem with Venlafaxine (Effexor XR). My psychiatrist had me switch to Duloxetine (Cymbalta) and my problems went away (but it worked as well as Venlafaxine for GAD and depression). FWIW I'm in my mid-40's but I had this problem about 10 years ago (when I switched).
> It's currently a file share on a Windows Server box
I see. I don’t know if the following will really be helpful since there may be some nuances that will differ a bit. But if that installation of Windows has WSL then hopefully the following might be helpful.
In summary, my idea is as follows: If you have enough space on the server for it, you could create a new top-level directory next to the one that you currently have for your music, and then create a script that loops over all of the files, transcoding them to flac with ffmpeg and adding metadata with a flac metadata edit tool. (ffmpeg can edit flac metadata too, but I think a dedicated flac metadata edit tool will be more straight forward to use).
So on KDE Neon Linux and other Ubuntu based distros, here’s what I’d do, and hoping this might be somehow useful even though you are using Windows:
First install ffmpeg, lltag and mediainfo if you don’t have them already:
sudo apt install ffmpeg lltag mediainfo
Then let’s say that the directory hierarchy for your music was at /data/Music/ so you’d have "/data/Music/Steppenwolf/For Ladies Only/3. Shackles and Chains.wav" etc.
Then I’d create a new directory next to the Music directory and name that one "flacs" for example:
mkdir /data/flacs
Transcoding and tagging. For now we include only artist name, album name and track names, extracted from the directory names and file names in your hierarchy, omitting other metadata such as for example the album cover art. But since we retain all of your original data, you can at a later point delete these flac files and do a transcoding and tagging run where you include more metadata (or do a run that keeps the transcoded files and only edits the metadata of them if you'd like). The idea for now is to do something simple as a first step, and then you can refine it in the future.
origdir="/data/Music"
flacdir="/data/flacs"
find "${origdir}" -mindepth 1 -maxdepth 1 -type d | xargs -I{} basename '{}' | while IFS= read artist ; do
mkdir -p "${flacdir}/${artist}"
find "${origdir}/${artist}/" -mindepth 1 -maxdepth 1 -type d | xargs -I{} basename '{}' | while IFS= read album ; do
mkdir -p "${flacdir}/${artist}/${album}"
find "${origdir}/${artist}/${album}/" -mindepth 1 -maxdepth 1 -type f -name '*.wav' | xargs -I{} basename '{}' | while IFS= read trackwav ; do
tracktitle="${trackwav%.*}"
ffmpeg -i "${origdir}/${artist}/${album}/${trackwav}" "${flacdir}/${artist}/${album}/${tracktitle}.flac"
lltag --clear -a "${artist}" -t "${tracktitle}" -A "${album}" --yes "${flacdir}/${artist}/${album}/${tracktitle}.flac"
done
done
done
And now if we look at one of the transcoded files with mediainfo:
mediainfo "/data/flacs/Steppenwolf/For Ladies Only/3. Shackles and Chains.flac"
Then we see among the lines of the output the following, showing us that we have successfully tagged the transcoded file with artist, album and track title:
Album : For Ladies Only
Track name : 3. Shackles and Chains
Performer : Steppenwolf
And likewise for all of the other files. All transcoded to flac and tagged with artist, album and track title.
And your original wav files and other data remains unchanged where they were, so that you can do more detailed tagging etc in the future.
It's not quite the same, but CSS grid does make creating those kind of high level layouts much, much easier with `grid-template-areas`:
.header {
grid-area: hd;
}
.footer {
grid-area: ft;
}
.content {
grid-area: main;
}
.sidebar {
grid-area: sd;
}
.wrapper {
display: grid;
grid-template-columns: repeat(9, 1fr);
grid-auto-rows: minmax(100px, auto);
grid-template-areas:
"hd hd hd hd hd hd hd hd hd"
"sd sd sd main main main main main main"
". . . ft ft ft ft ft ft";
}
Fun fact: in Windows, the location of the Desktop is dynamic and can be changed via SHSetKnownFolderPath. This allows you to display the contents of any folder in the desktop.
Years ago I made a gadget that sat on the top right corner of the desktop[1]. It contained a stack of buttons, one for each folder that I was working on. You could add more folders by dragging them on the gadget.
It's liberating not having to keep a file explorer window to access the current project, and you can easily access it with the Windows+D hotkey that minimizes/restores all windows. Use it to open files, or drag stuff to/from other open applications.
> According to him the Red and White spacemen started as Cosmonauts and Astronauts. Later they became red pilots and white explorers, yellow were introduced as scientists, blue as security/soldiers, black as spies. Pete and I decided Mech Pilots should be a new colour. Green!
This is absolute gold dust information! I always wondered what the colour coding (beyond the original white/red) was.
OK, this is a long-shot as I am not your typical Hacker News member.
I'm a Wintel Architect with speciality in Identity and Access Management, however I am happy to do any type of hands-on WinTel management. I only work remote, so give me remote access to your systems, and I'll give you 110% of effort and skill. Big or small, if you are looking for a guy to manage your WinTel systems, I'm that guy!
Location: London
Remote: Yes. (Remote ONLY)
Willing to relocate: No.
Technologies:
Anything sitting on Windows Server.
SQL, SharePoint, Active Directory,
Identity Manager. Basic Linux Management.
.NET programmer.
See my Website for full list.
Résumé/CV: http://www.mattowen.com
Email: matt@jaruzel.com
Search can no longer be relied upon to return standard results. Using the book index as a synonym, when you pick up a volume of the Encyclopedia Britannica, you know that the index is the same as it was when the book was printed. It's not been secretly updated based how many people looked up each section in that volume globally. You know that if you are the first ever person to look up Early Chinese Pottery that if the entry isn't indexed, then it's not in that volume, and it's not because the index decided that it wasn't a popular enough topic and removed it from the index. I know Google don't actually remove non-popular items from their indexes, they just bury them behind results pages of more popular 'relevant' results. To the lay person, the result they are looking for may as well be removed.
I appreciate that Google and Bing spend millions of dollars trying to purge their indexes of spam, but they also seem to spend millions of dollars creating adaptive results based on an unknown list of parameters and variables that are opaque even to the search organisations themselves.
It's time a new search player stepped up with a proper mature indexing concept that allows for deep hierarchical filter searching based on a semi-static system that only removes results from search when they actually go offline, and doesn't prioritise social media posts above everything else.
We need to bring the internet back to the primary function of an information resource first and foremost. The clickbait-ad-selling junkie that it has become is creating a closed circle of idiotic users consuming and creating yet more idiotic content, like a fish eating its own tail. What's more, Google and Bing are the primary enablers of this whole problem.
I don't know how to fix it, but somebody has to do something before the internet becomes nothing more than an ad-ridden gogglebox in the same way television has already become.
https://wordnet.princeton.edu/download/current-version#win