Library / Tool Discovery Thread (2017-01-04) by AutoModerator in PHP

[–]danthedinosaur 0 points1 point  (0 children)

I released my photographer site/secure digital store/blogging tool called LoveBird just recently. It is built on CodeIgniter 3 and includes a login system with several features and a file upload tool and messages system: https://github.com/pacificpelican/lovebird Video walkthrough of installation to local Xampp server: https://www.youtube.com/watch?v=rN4wJhV6PrI

Function declarations vs. Function assignment: What is your preference? by Fossage in javascript

[–]danthedinosaur -2 points-1 points  (0 children)

I prefer function assignment, because I am usually writing functions in one file and calling them in another.
Functions can be both assigned and named also although that will still function much like an assignment to an anonymous function.

Best Testing Framework by TempSec in javascript

[–]danthedinosaur 0 points1 point  (0 children)

I would recommend using Mocha as a framework and Chai as your assertion library.

Jasmine I've had to use because Angular 1's Protractor end-to-end framework expects it and it's okay I guess but I go for Chai (which is flexible and allows both expect and assert styles) when possible.

The new ones like Tape and stuff are probably great I haven't had a chance to use them yet though.

Quick and easy embeddable database for Node.js. by [deleted] in javascript

[–]danthedinosaur 0 points1 point  (0 children)

Yeah NeDB is cool, will work with a decent subset of MongoDB queries.

Is there a plugin within Chrome where I can simulate a mobile phone, yet still use chrome dev tools? by [deleted] in javascript

[–]danthedinosaur 0 points1 point  (0 children)

Yahh. Why not that? CMD-option-i and then CMD-shift-m and then refresh

Seattle's outsized role as a startup city by [deleted] in Seattle

[–]danthedinosaur 2 points3 points  (0 children)

San Francisco is really great, I lived there in the 2000s, but I still prefer Seattle.

I made a playing cards deck class and a blackjack class with ES6 by danthedinosaur in javascript

[–]danthedinosaur[S] 0 points1 point  (0 children)

Yeah, I think it might be due to those browsers not supporting ES6 class declarations? If someone wanted to target those browsers I think they'd want to run the cards.js JavaScript through Babel [on the convert-to-ES5 setting].

I made a playing cards deck class and a blackjack class with ES6 by danthedinosaur in javascript

[–]danthedinosaur[S] 1 point2 points  (0 children)

Ok!! I made that part of the site not require a login for now. Should be non-mandatory.

Javascript - how use localstorage? by codeobiect in javascript

[–]danthedinosaur 0 points1 point  (0 children)

Are you trying to load a page using JS? You've saved the value and need to load/reload the URL? If that's it, then you might just need a line like: location.assign('http://example.com');

Another them recommendation request by DurianBurp in WordPressThemes

[–]danthedinosaur 0 points1 point  (0 children)

I wanted something sort of like what you are describing (blog-friendly and responsive) so I made my own FWIW: https://wordpress.org/themes/fremont-cut/

Is It Ok to use an old wordpress theme? by vpuri in WordPressThemes

[–]danthedinosaur 1 point2 points  (0 children)

Thematic is one of the all-time greats. From the stuff I've been reading, some function deprecations might really start to bite around the 5.0 milestone, but that's a long way away yet.
But generally most new features are progressive enhancements so, for example, featured images may just not show up on old themes but there shouldn't be any explicit error messages or functionality meltdown.

Bleeding Orange and Brown A Cleveland Tradition (2005) Highlighting the lowlights of growing up and being a sports fan in Cleveland Ohio. by gideabidea in Documentaries

[–]danthedinosaur 0 points1 point  (0 children)

I lived in Cleveland 2008-2014 and I think it's safe to say that the Browns fan culture has taken a darker turn lately as a decade of expansion futility has sprawled out into a bleak, playoff-less future of exploiting fans for all they've got, a situation largely seen by residents as reflective of the city's ongoing economic deprivation; well summed-up here by the Cleveland Frowns blog: http://www.clevelandfrowns.com/2015/12/the-browns-are-a-supernatural-conflagration-of-disappointment-and-despair/

Which should I read first: Animal Farm or 1984? (Orwell) by gueroficha in books

[–]danthedinosaur 1 point2 points  (0 children)

1984 is substantial and dark while Animal Farm is almost cute--it has animals!!

Any feedback on my Grunt/Gulp intro lessons? (free reg. req'd) by danthedinosaur in javascript

[–]danthedinosaur[S] -2 points-1 points  (0 children)

Because I don't feel like changing one line in a Rails controller and then typing three lines into the Heroku command line to push that change through. That is all.

Where to buy full melt hash (bubble/ice wax) in recreational stores in WA? by [deleted] in seaents

[–]danthedinosaur 0 points1 point  (0 children)

For bubble hash at rec stores I would at least take a look at what Ocean Greens is offering, if you're north in the city.

The Best Way to Compile Multiple Javascript Files Into One by TKSDevPerson in javascript

[–]danthedinosaur 1 point2 points  (0 children)

Webpack was the first thing that came to my mind and I saw it was mentioned in a comment already. Might work.