Giter VIP home page Giter VIP logo

bostonlocaltv's People

Contributors

afred avatar amsterdamos avatar awead avatar bennettm avatar caseyedavis12 avatar cbeer avatar foglabs avatar foo4thought avatar jasoncorum avatar joshuaswilcox avatar khristian avatar mccalluc avatar muraszko-wgbh avatar peteonrails avatar singlesoliloquy avatar sroosa avatar tomeara avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bostonlocaltv's Issues

Remove all of jetty/ from the repo

It's looking like rake jetty:config_solr is working for us, so let's go ahead and get all of the jetty/ dir out of revision, instead of keeping the configurations around, which was causing some issues.

Bug, couldn't find jquery-ui

Not caught by rspec test, so we need one in there that would have caught this.

Occurs after merge of branch fix/rspec-cleanup into master

Test streaming a really big video

Find out what one of the largest, if not the largest, video that will be on News is, and test streaming that.

Try it locally from a browser using a local HTML file that contains a <video> element.

Gemfile weirdness

Gemfile is borked in some weird way.

Blacklight gems are pointing to github, which is not good, since everything else is so far behind. We don't want to fast forward too much at once, and introduce a ton of bugs.

Here's what I've tried that does NOT work:

1. Pin to semantic versions specified Gemfile.lock.

gem 'blacklight', '3.2.0'
gem 'blacklight_advanced_search', '1.1.2'
gem 'blacklight_range_limit', '1.1.0'

Results: Trying to start Rails server (in development environment) results in error:

gems/blacklight_advanced_search-1.1.2/lib/blacklight_advanced_search.rb:46:in
`config_defaults': You have a nil object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.find_all

2. Pin to git revision specified in Gemfile.lock.

Results: The server starts, and some pages work (e.g. homepage). But trying to filter by collection results in:

NoMethodError in Catalog#index
Showing /Users/andrew_myers/.rvm/gems/ruby-1.9.3-p327/bundler/gems/blacklight-90be0ebab652/app/views/catalog/_results_pagination.html.erb where line #4 raised:
undefined method `total_pages' for #<struct current_page=1, num_pages=1523, limit_value=10>

Test concurrency of streaming media from mlamedia01.wgbh.org

  1. Grab a big list of media files from mlamedia01.wgbh.org
  2. Write a script (bash, ruby, whatever) to concurrently stream videos.
  3. Continually increase the number of concurrently streaming videos until it breaks. This will be a useful number in understanding the capabilities of the media server.

decide where video should live

We need to figure out where to put the video when we ingest it. Here are a couple of options:

  1. Same machine, different directory. Not a good long term solution, but if it's trivial, we could start here.
  2. Same machine, streaming http server. This is similar to how splat serves content for openvault. I'm a naive as to how it works. It may have been set up this way b/c splat is shared, in which case, we won't have those requirements for News.
  3. hosted CDN. I tend toward this type of solution, since I don't know much about high capacity, high availability, content delivery. I'd just as soon pay the pros to handle it for me. But, there's surely some legal issues here.
  4. Remote machine that we manage. If hosted CDN is a non starter for legal reasons, then this would probably be the next thing to consider. But this then puts the onus on us to set it up to be as performant as what we would find in a hosted CDN.

Method to add videos and images to group of solr docs.

something like:

# given list of partial solr docs
updates = [
  {
    'id' => '10001',
    'video_s' => 'path/to/video',
    'image_s' => 'path/to/image'
  },
  {
    'id' => '1002',
    'video_s' => 'path/to/video',
    'image_s' => 'path/to/image'
  }
]


updates.each do |update_doc|
  doc = Blacklight.solr.find({:q => "id:#{update_doc['id']}"})
  doc.merge! update_doc
  Blacklight.solr.add doc
end

Blacklight.solr.commit

or something like that.

Sidebar content for user actions pages

I think we should have some type of introduction on the users/sign_up and users/sign_in pages in the sidebar, also we need to think of what content we want if any on the users/edit page

Convert WHDH IDs in Solr index

The ID syntax has change from things like BPL_ASDFASDFAS to 321_BPL_ASDFASDFAS, where the numeric prefix is the can number. K. Colbron had told the WHDH people to put it in there. Not sure why, but assume it's for a reason. Would rather trust that, than assume it's meaningless

separate Contributor from Contributor Role

this is two fold, since they are getting merged prior to being inserted into the Solr index.

  1. Preserve separation of Contributor and Contributor Role in Solr Index
  2. Fix all references to that Solr field so it displays correctly.

Need algorithm to generate URLs to videos and thumbs on media server, and store them in Solr index during ingest.

I think we would want something like this:

  1. Videos and thumbs are named the same as the URL slug for the record. E.g. if the slug for a record is "bob-shaw-reports-in-dorchester-june-3-1989", then the video should be named "bob-shaw-reports-in-dorchester-june-3-1989_video.mp4", and the thumbnail would be "bob-shaw-reports-in-dorchester-june-3-1989_thumb.png". This would make is easy for a human to browse the media server and identify which videos and thumbs belong to which records.
  2. We need a way to make sure the slug for the record and the names of the video files and thumbs match up.
  3. We need a way to get all the videos up on the media server, and named the correct thing.

audit rspec tests

Currently there are 28 failing rspec tests.

Set the keepers to 'pending'. Nuke the rest.

verify that we can find all the solr docs that will have videos.

In most cases (i hope) the solr ID is the same as the source id of the originating database (typically a one-off Filemaker db from somewhere).

These IDs are being entered into Artesia, so that when the digital metadata is exported, we'll can look up the solr doc with those IDs.

However, I noticed that some of the IDs in the solr docs are small integers, and they don't look like they will match any original ID from Filemaker dbs.

So... I'd like to make sure we are able to look up all the solr docs we need to.

Fix 'record not found' flow

When accessing catalog/foo, where "foo" is a non-existent solr id,

in development, it raises an error and gives you a stacktrace

in production, it shows you a page that says you are being redirected, but it does not redirect you. Follow the link, and it takes you to the home page, with a flash msg that says the record could not be found.

Should probably show a more friendly 'record not found' page. And I'm not a fan of the fact that it takes you back to the home page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.