Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
David Bashford
@dbashford
so I'm down to 5 files to test and convert, but they are the biggies.
Daniel Bartholomae
@dbartholomae
Hi there, one quick question: Is it possible to create a mimosa module that does something with a file outside the watched dir (e.g. assets)? I would like to write a module that automatically copies all .coffee files from /app/shared to /assets/javascript/shared before they are compiled, but I'm not sure this is possible.
David Bashford
@dbashford
Check this out and see if its close to what you need? https://github.com/dbashford/mimosa-import-source If not then at least its a good place to start a conversation. =)
Daniel Bartholomae
@dbartholomae
Great, that's exactly what I was looking for! :)
David Bashford
@dbashford
:+1:
Ken Carpenter
@mindjuice
Has anyone come across this issue with mimosa-browserify? JonET/mimosa-browserify#21
It crashes every time I rebuild
Or rather every time mimosa rebuilds after noticing a file change.
David Bashford
@dbashford
Not a browserify shop here, so not something I've seen.
that module hasn't changed in awhile, what may have changed for you locally? or may the versions have shifted because they were not pinned?
Ken Carpenter
@mindjuice
I'll check to see if anything else has been updated recently...thanks. Every once in a while, it actually works properly, so not sure if I was just getting lucky before.
Anachron
@Anachron
@dbashford how's it going? =)
David Bashford
@dbashford
Good! Was actually just getting some mimosa core stuff done for the first time since last weekend. Work has been killing me. But am on trip to SF this week, will get to be productive via travel.
Anachron
@Anachron
Sounds great! Which IDE are you using btw? (I would guess TextMate) I'm trying out VIM, but it's still very hard for me compared to GUI-Tools like Atom.io.
David Bashford
@dbashford
I usually use atom. I'm not an editor power user though. I don't memorize all the crazy hot keys.
John-Henry Liberty
@jhliberty
Once you get the basic vim commands down and add a couple plugins its not too bad but I still find myself using something like sublime more atm
http://vimawesome.com/ has some neat stuff and I really like vim.pathogen to handle packages
Anachron
@Anachron
@jhliberty I made myself a crazy task and remap most of the vim shortkeys to be more clear and easier to remember. already have 100 must have key combinations, now I need to find out how to do each of them. Only the basics like next char and prev char are working so far.
ln for example is next-line, lp is previous-line and so on :)
Ken Carpenter
@mindjuice
How do you go about debugging problems with mimosa and dependent modules? I've only done printf debugging with node so far. I'm still having this problem: JonET/mimosa-browserify#21
hahahahahahahahahahahahahahahaha
@hahahahahahahahahahahahahahahaha
I keep getting this error, any advice for tracking it down? I'm thinking it's bc I'm using nvm and 0.12.2...
http.Client will be removed soon. Do not use it.
[Error: Module did not self-register.]
js-bson: Failed to load c++ bson extension, using pure JS version

node_modules/bcrypt/node_modules/bindings/bindings.js:83
        throw e
              ^
Error: Module did not self-register.
But basically server-reload is fubar, live reload works fine though
David Bashford
@dbashford
So that's server reload on 12.2? I can take a look.
David Bashford
@dbashford
Just pushed a new version with an updated file watcher. If the problem persists let me know and I can dig further.
hahahahahahahahahahahahahahahaha
@hahahahahahahahahahahahahahahaha
okay awesome I will check it out tonight
also, was curious, is there a module to do a PhoneGap build, if not I'm going to try and piece together something with the jade-static-export and see what I can do
David Bashford
@dbashford
i've never seen a phonegap thing
Anachron
@Anachron
@dbashford no more progress on Mimosa? Busy working?
David Bashford
@dbashford
Yah, pretty much. I've had to choose between the open source stuff and the product development stuff at my work. It definitely pains me not to be making progress on the tests. Been a ton of travel too. Killing me.
David Bashford
@dbashford
I would say, a day later, that I intend to be responsive if folks find bugs anywhere. I can drop into modules or mimosa core for an hour or two here or there to patch things up. Just need a delay on 3.0, which sucks given I am fairly close getting through the pain in the ass part.
Anachron
@Anachron
@dbashford awww that sounds rough. Well I'm spending some time on Rust and Arch-Linux too lately, so I'm not that busy with web programming.
Take your time, there is no hurry as for now. I may have to update a lot of libraries, but that's not your fault anyway.
David Bashford
@dbashford
Lately I've been itching to dig into other languages, if only to play. Go, Rust, Elixir, not sure where I'd start really, but been aching to break away from just JavaScript. And I have no desire to go back to java =)
Ken Carpenter
@mindjuice
Cool. I just started learning Elixir. Seems like a very interesting language. I've also been learning a lot lately about functional languages, functional reactive programming, category theory and more (read through SICP). I have also done more than my share of Java programming. I can't stand it now, and I stay away from Java and all JVM languages. :smile:
Anachron
@Anachron
I also come from PHP and JAVA, while I do have nice things to say about both, I do really enjoy Rust and am very curious about it's future. The safety and speed coupled with good concepts really make it delightful.
Go is just as flexible as JavaScript with better IO and Sync/Threads, but safety is it's price.
Elixir wad unknown to me, however, after a short introduction it seems less powerful than Rust or Go and a smaller Community.
Ken Carpenter
@mindjuice
IMO Go is much less "powerful" than Elixir and Rust. It's missing some key functional programming pieces and doesn't have pattern matching for starters.
Power in programming languages generally seems to come with more complexity, and Rust seems more complex than Elixir. Still, I would like to give Rust a try as well. It seems to have all the functional programming goodies I have recently come to appreciate.
Anyway, this isn't a forum for those topics, so I'll stop there. :)
John-Henry Liberty
@jhliberty
@Anachron that is crazy! How are you faring with that? (Sorry I didn’t realize you had messaged me =D)
Sam Armstrong
@DrSammyD
David Bashford
@dbashford
I get a lot of web traffic from one of his other posts: http://blog.keithcirkel.co.uk/why-we-should-stop-using-grunt/
Sam Armstrong
@DrSammyD
lol
David Bashford
@dbashford
I've seen a lot of talk around the NPM as build tool stuff
Anachron
@Anachron
This guy talks nuts. Honestly, the npm scripts looks really hard to understand (no syntax highlighting as it is in json file) and is getting out of maintenance very quickly, leave alone nearly impossible to do dynamic stuff with it.
For the smallest applications it may work, but everything in a respectable size won't, that's the whole point build-tools like mimosa, grunt and gulp exist.
hahahahahahahahahahahahahahahaha
@hahahahahahahahahahahahahahahaha
Agree with @Anachron , dude lives on the streets of SF probably
hahahahahahahahahahahahahahahaha
@hahahahahahahahahahahahahahahaha
btw, has anyone tried to integrate Mimosa with LiveStyle + Stylus + LiveReload?
David Bashford
@dbashford
I've not used LiveStyle before myself
hahahahahahahahahahahahahahahaha
@hahahahahahahahahahahahahahahaha
neither have I, was checking it out and was interested, Mimosa is good in my book :) for anything like that, I think you're looking at diminishing returns if you're talking about saving from the inspector back into the files, I mean the concept is pretty sexy, but at the moment its a bit of an edge case