Forum Activity for @dannya

alt=
@dannya
01/06/15 10:39:48PM
584 posts

s3 and conversion server


Jamroom Developers

Hey Brian,

Just wanted to follow up on an earlier part of this thread regarding storage. I know you're still working on the cloud documentation, but I didn't see anything in there related to storage.

I'd like to be able to use S3 at this point. I was thinking to just create a module that will write write files from the /data directory to the s3 bucket. The questions are:

I know you have different plans giving Jamroom users more options for storage via XtremeFS. I've also been reading up on both s3fuse and s3fs. Also note that s3fuse is considered an alpha software. Neither has had any updates in a while. They both have a couple of bugs. And apparently you still have the same limitations as if you used the API. Not sure if its a good idea to use in production.

1.Can you recommend an easy way to hook into read/writes of the /data folder to using the s3 api?

2. Will using the s3 API cause problems for me scaling other parts of the cloud software?

3. If s3 fuse is easier/better/faster, can you make suggestions on how to best integrate it into JR so as to save my data there? I'm not clear on where the right hooks are; weather via api or fuse.

In either scenario, we need to consider that we don't want to write everything to s3, only data folder. Other files that have incremental changes are not suited for s3 because you have to read and write the whole file. This is the case even if you use mount since it is just a front end to s3.


I 'm getting ready to go into public beta and would like to settle on storage now so I don't have to move TB's of data later while in production. I think the s3 api might be a bit more work to implement, but it might not be too bad if its just for reading/writing media files.

Any advice appreciated
updated by @dannya: 01/06/15 11:50:32PM
alt=
@dannya
01/05/15 01:45:56PM
584 posts

Modifying email templates


Using Jamroom

Quote:
One thing we can add that might help though is to set it up so if HTML is detected in the message it sends it as HTML, otherwise text - that keeps you from having to worry about the send_as_html flag. I thought about that when looking at for my first response, so will try to get that in.
I think that's the core of my issue. When i was sending the default emails, and Mailchimp re-writes the links with their own (extremely long)unique url, the notification looks like a mess. One of the things I'm trying to do is simply hide the url of the link.

Beyond that, it would be nice to be able to include some basic Header (logo), footer (links and disclaimers), and some basic inline css (style, theme(skin) colors). It seems like html/txt would be the better option.
alt=
@dannya
01/05/15 01:04:57PM
584 posts

Modifying email templates


Using Jamroom

So for #3, I can just insert any JRFunction and it will insert it into the HTML. (I'm sure this was obvious but I had no idea the email templates worked that way). So what i want is:
<a href={$follower_profile_url} {$follower_name} </a> is following you.
Correct?

I'm surprised all the email templates aren't HTML (with failover to text) by default. Isn't html the default format of email for the past 20 years or so? Am I doing something wrong here?
alt=
@dannya
01/05/15 12:55:35PM
584 posts

Music identification


Off Topic

Didn't realize you used Audible Magic. And yeah it's absurdly expensive (I just told them so in an email)

Echonest deprecated its lookup api that used its open source echoprint as of today. http://developer.echonest.com/forums/thread/3650

I think the next best open source solution now is MusicBrainz AcoustID ( http://acoustid.org/chromaprint)
It's not the biggest catalog, but pretty good for an open source solution and the API looks pretty complete.
alt=
@dannya
01/05/15 12:45:11PM
584 posts

Display html in forum post


Off Topic

How do you disply html in a forum post? I'm trying to post an example and it keeps parsing out the html. I want to display the actual html
updated by @dannya: 02/08/15 10:12:31PM
alt=
@dannya
01/05/15 12:27:43PM
584 posts

Music identification


Off Topic

JR4 (or maybe 3) had a module that would check some database to make sure the song being uploaded was not an existing work. i.e. If you want to prevent people from uploading The latest Taylor Swift song, you would do a check.

I'm not sure if it checked metadata against an existing DB or if it included a list of blocked names.

Anyway,
Can you explain how it worked?
Is there anything like this for JR5?
updated by @dannya: 02/04/15 02:04:02PM
alt=
@dannya
01/05/15 12:24:58AM
584 posts

Modifying email templates


Using Jamroom

I have the the flag to send_as_html. Still having 2 problems

1. sending a test email from the the Communication--> email support--> tools--> test email
The HTML does not get parsed. Is that by design? Is it just for testing delivery settings?

2. Is there a "Master" template I can modify that will modify the header/footer/syle of ALL email templates?

3. URL's not being displayed as links

e.g. in new follower notification :

{$follower_name} is now following you:

{$follower_profile_url}

is displayed as

-------------------------------------------------------------------------------
admin is now following you:

http://email.MYDOMAIN.com/c/ZD1mNThkMiZpPTIwMTUwMTA1MDgwOTMwLjg3NjMuNTAyNzMlNDBjbGVhcnRyYWNrcy5jb20maD1mMjNiNjM2NzE0MWM1YWUyYjE4MTM5OWI2YTUwNDVhNiZsPWh0dHBzJTNBJTJGJTJGZGV2LmNsZWFydHJhY2tzLmNvbSUyRmFkbWluJnI9bGFiZWw1JTQwZGV2LmNsZWFydHJhY2tzLmNvbQ
-------------------------------------------------------------------------
I just want it to show up as:

Admin is now following you. (admin being a link)
updated by @dannya: 01/05/15 12:25:32AM
alt=
@dannya
01/04/15 08:58:58PM
584 posts

Proxima Alpha


Proxima

Confirmed. They are using existing DS
alt=
@dannya
01/03/15 09:14:48AM
584 posts

Proxima Alpha


Proxima

I will check with the developers on Monday to see if they used something else, but I'm sure it's using the JR core datastore, so the generic api module might be exactly what I'm looking for.
alt=
@dannya
01/03/15 09:04:16AM
584 posts

Proxima Alpha


Proxima

So, the main thing I need to know is how to add additional data services. I made some changes to the default JR schema, and I have added some modules that collect/provide additional data. How can I add those data services? As it is right now, if I use the api, I cannot access the whole data set.
  35