Re: [chicagoboss] MongoDB Erlang driver

2014-01-08 Thread Kai Janson
I have no doubt in my mind that the official driver is a mess. Evan and I had some fun dealing with it. Long story short, the official driver is a prime example of poor engineering. The code that handles MongoDB's strong suit, ReplSet is pretty much unusable. This is ONLY true for the Erlang

Re: [chicagoboss] Big things coming for CB

2014-02-25 Thread Kai Janson
Yes of course! Please share what you have and share what you can share. That's fantastic news --Kai Sent from my non-google-device On Feb 25, 2014, at 10:26 PM, Karim Dahmani kdahm...@gmail.com wrote: Just a short 3 weeks ago, we were pondering whether to use CB or Zotonic, and I

Re: [chicagoboss] Please welcome Jesse Gumm to CB

2014-03-06 Thread Kai Janson
Welcome Jesse! I am glad you're onboard. Let's make CB version 1.0 and many more versions afterwards a reality! --Kai Sent from my tricorder On Mar 6, 2014, at 17:35, Evan Miller emmil...@gmail.com wrote: Hi all, There were vague intimations before, but I wanted to write and let

Re: [chicagoboss] Storing MongoDB with Objects

2014-08-18 Thread Kai Janson
Hi Jason, Try your saving without the transaction. --Kai Sent from my non-google-device On Aug 18, 2014, at 18:30, jason stewart jsjaz...@gmail.com wrote: I am trying to add an bson object to a field in my mongodb database using bossRecord Model -module(clientList, [Id,

Re: [chicagoboss] Re: Storing MongoDB with Objects

2014-08-21 Thread Kai Janson
:10 UTC+10, Kai Janson wrote: Care to share your model and controller code in question? Sent from my non-google-device On Aug 20, 2014, at 18:18, jason stewart jsja...@gmail.com wrote: I tried that with ClientList = clientList:new(id, Bill,b...@email.com,{{0,Field1},{1,Field2},{2

Re: [chicagoboss] Error: ChicagoBoss configuration with mnesia

2014-09-20 Thread Kai Janson
You are using the port number of the mock DB for mnesia. Also, make sure you start your app first, then execute mnesia:stop(), mnesia:create_database(node()). Theo Restkarten, all Seouls be good New ... Sent from my non-google-device On Sep 19, 2014, at 17:36, Graeme Defty

Re: [chicagoboss] src directories

2014-12-29 Thread Kai Janson
Try the lib directory Sent from my tricorder On Dec 29, 2014, at 22:08, aloharich r...@electricimp.com wrote: Searched a bit and looked through the docs, and feel perhaps I'm missing something basic: Is there a way to add additional/different source directories? I tried adding a

Re: [chicagoboss] Re: chicagoboss and jquery

2015-01-28 Thread Kai Janson
I usually stick CSS/JavaScript/images/staticstuff into their respective subdirectories in /priv/static/ --Kai Sent from my tricorder On Jan 28, 2015, at 17:08, Dmitry Polyanovsky dmitry.polyanov...@gmail.com wrote: you should put it into /priv/static directory On Thursday, January

Re: [chicagoboss] Development mode automatic recompile of source... the rules?

2015-01-11 Thread Kai Janson
The nofile message means it's in development mode and just reloading the code. Confusing, yes, but it is working. Sort of. I recall that at times it doesn't load the changed code. But the main issue is that it is in development mode and not production. --Kai Sent from my non-google-device

Re: [chicagoboss] Development mode automatic recompile of source... the rules?

2015-01-11 Thread Kai Janson
Also, show us the first few lines of the controller, please. That will make troubleshooting a whole lot easier. Sent from my non-google-device On Jan 11, 2015, at 05:53, emacstheviking obji...@gmail.com wrote: Even odder: I have two controller files, both in src/controller and one of

Re: [chicagoboss] Development mode automatic recompile of source... the rules?

2015-01-11 Thread Kai Janson
). I have spent more time digging around the boss source code to no avail. I even ran observer:start() and in development and deploy modes, the number of boss routes was the same (three) and looked to be correct. On Sunday, 11 January 2015 19:18:25 UTC, Kai Janson wrote

Re: [chicagoboss] Development mode automatic recompile of source... the rules?

2015-01-11 Thread Kai Janson
Sent from my non-google-device On Jan 11, 2015, at 16:45, Emacs the Viking obji...@gmail.com wrote: On Sunday, 11 January 2015 21:37:54 UTC, Kai Janson wrote: I just re-read your issues; the recompiling works ... as long as you don't add new functions. If you perform a code change

Re: [chicagoboss] Application hooks for gen_X modules.

2015-01-12 Thread Kai Janson
Hi, You can add and start extra modules in the priv/init/appname_01_news.erl script. If you need to stop a module a specific way then you can provide a shutdown sequence as well. --Kai Sent from my non-google-device On Jan 12, 2015, at 10:46, Emacs the Viking obji...@gmail.com wrote: Are

Re: [chicagoboss] problem with the rough introduction tutorial : 11:48:35.584 [error] CRASH REPORT Process 0.659.0 with 0 neighbours exited with reason: no match of right hand value {error,eacces} i

2015-02-11 Thread Kai Janson
A port number less than 1024 requires root access rights; meaning the project must be run by root. Not a good idea. --Kai Sent from my iPhone On Feb 11, 2015, at 6:57 AM, Roelof Wobben rwob...@hotmail.com wrote: Hello, I have done all steps of that tutorial to see hello world, But as

Re: [chicagoboss] Chicago Boss make error

2015-03-13 Thread Kai Janson
Which version of Erlang did you install? Which version of Ubuntu are you running? --Kai Sent from my iPhone On Mar 13, 2015, at 12:11, Darren Daly archery...@gmail.com wrote: Hi all, I am getting an error when running make on chicago boss folder. I am using Ubuntu. Procedure:

Re: [chicagoboss] Re: Has anyone tried to setup ssl on nginx working over cb app working with websocket?

2015-04-23 Thread Kai Janson
Hi Mert, How did you solve it? --Kai Sent from my iPhone On Apr 23, 2015, at 05:45, Mert Öztürk asksomethin...@gmail.com wrote: Hello, Thanks for all your support. I solved my problem. Thanks Mert 23 Nisan 2015 Perşembe 11:18:18 UTC+3 tarihinde Mert Öztürk yazdı: Hello Chan,

Re: [chicagoboss] Re: ChicagoBoss and Riak 2.0 with Solr beta testers needed

2015-04-17 Thread Kai Janson
I would be interested in your CMS as well Sent from my iPhone On Apr 16, 2015, at 22:38, Karim Dahmani kdahm...@gmail.com wrote: Hi Nick, There is one issue we found with it, after you create a record, it takes riak about one second to show it, in our example we used it for a CMS and

Re: [chicagoboss] Req:header(referer) is current url, not where the request originated

2015-05-26 Thread Kai Janson
In afraid that a bit more surrounding code is needed to understand your problem. The usage is correct. --Kai Sent from my iPhone On May 26, 2015, at 09:07, Caiyun Deng dcy.dengcai...@gmail.com wrote: Hi! Req:header(referer) is current url, not where the request originated. Do i use it

Re: [chicagoboss] Re: ChicagoBoss make error

2015-08-05 Thread Kai Janson
Looks like you have partially compiled project code. Try a make clean If that fails, remove the beam files from the ebin directories. --Kai Sent from my iPhone On Aug 5, 2015, at 11:24, Mert Öztürk asksomethin...@gmail.com wrote: Important to mention, i dont get the following error with

Re: [chicagoboss] Re: ChicagoBoss make error

2015-08-05 Thread Kai Janson
as undefined and it does not work. 5 Ağustos 2015 Çarşamba 20:29:41 UTC+3 tarihinde Mert Öztürk yazdı: I am using ChicagoBoss 0.8.15. Do i have to use 0.8.14? Thanks mert 5 Ağustos 2015 Çarşamba 20:22:35 UTC+3 tarihinde Kai Janson yazdı: You might want to downgrade the bson package

Re: [chicagoboss] Chicago Boss still relevant

2016-02-15 Thread Kai Janson
Thank you! I could not agree more. It's a fantastic framework after all!!! Sent from the trenches > On Feb 15, 2016, at 18:50, rlander wrote: > > Hey guys, just wanted to share a story. > > Some time ago I inherited the code base for a realtime web app written in >

Re: [chicagoboss] Hot Reload and boss_mq

2016-05-18 Thread Kai Janson
Hi, As far as I recall they should persist between hot code updates. Jesse? --Kai Sent from the trenches > On May 18, 2016, at 15:19, rlander wrote: > > Hi All! > > Are we supposed to lose all boss_mq messages and channels after a hot reload? > I'm using boss_mq for

Re: 回复: [chicagoboss] some questions

2016-09-27 Thread Kai Janson
Hi TX, The deep_post_param function is to get many checkboxes of a kind into your controller. Give it a shot. :) Sent from the trenches > On Sep 27, 2016, at 19:46, TX <2316134...@qq.com> wrote: > > Hi Kai, > > I am afraid this is not what I need. > > Thank you anyway. > >

Re: [chicagoboss] some questions

2016-09-26 Thread Kai Janson
I think you should be using 'matches' rather than 'contains' Give that a try. --Kai Sent from my non-google-device > On Sep 26, 2016, at 22:22, TX <2316134...@qq.com> wrote: > > 1. Fuzzy search > I saw in Chicagoboss's API that for db conditions > > {key, 'contains', Token} > The "key"

Re: [chicagoboss] Form Data Validation

2018-02-15 Thread Kai Janson
Yes, there is. I’ll have to go through my sources tomorrow but I’ve done it before. I think it was a combination of controller code and JavaScript. Thank you. Kai Janson Relator • Ideation • Learner • Individualization • Strategic Achiever • Futuristic • Belief • Restorative • Developer

Re: [chicagoboss] failed make chicagoboss

2019-10-23 Thread Kai Janson
You might need to downgrade your Erlang installation to what’s in the docs. Thank you. Kai Janson Relator • Ideation • Learner • Individualization • Strategic Achiever • Futuristic • Belief • Restorative • Developer On Oct 23, 2019, 13:06 -0400, Dimas Prawira , wrote: > I tried to comp