[Pharo-users] Logging in with VNC

2017-06-29 Thread sergio ruiz
Hey, all.. I need to be able to log in to my production image with VNC until i am comfortable with the command line interface. I know that every time i have had to do it, it seems like i used a different package. Which package is everyone using these days for remote GUI access? Thanks!

[Pharo-users] Running a headless server

2017-07-03 Thread sergio ruiz
Hi, all.. I have started looking at the zeroconf scripts, and i think i have most of this figured out..  I just have a few questions, to make sure I am doing this correctly. In order to run the current image headless, should I just do something like: ./pharo Pharo.image —no-quit & I can load

[Pharo-users] RFBSever not surviving disconnection

2017-07-04 Thread sergio ruiz
Hi, all..  I have installed RFBServer, and the issue that i am having is: Using the client “chicken of the VNC” when i disconnect from the server, i get to halts, and the following messages in the Transcript: RFB: caught ConnectionClosed: Connection close while waiting for data. RFB: caught Co

Re: [Pharo-users] RFBSever not surviving disconnection

2017-07-05 Thread sergio ruiz
Oooh! this looks interesting! On July 4, 2017 at 11:40:24 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: As alternative to RFB try remote dev tools  http://dionisiydk.blogspot.fr/2017/01/pharmide-pharo-remote-ide-to-develop.html. You can play with it in PharoCloud  http://docs.swarm.pharoclou

Re: [Pharo-users] RFBSever not surviving disconnection

2017-07-05 Thread sergio ruiz
Okay.. THIS is AWESOME! On July 5, 2017 at 9:34:27 AM, sergio ruiz (sergio@gmail.com) wrote: As alternative to RFB try remote dev tools  http://dionisiydk.blogspot.fr/2017/01/pharmide-pharo-remote-ide-to-develop.html. You can play with it in PharoCloud  http://docs.swarm.pharocloud.com

[Pharo-users] Problem with PharmIDE

2017-07-05 Thread sergio ruiz
Hey, all.. I am checking out PharmIDE.. This is BOSS.. but in testing, i lost connection to my remote.. and now, when i try to evaluate: remotePharo := PrmRemoteIDE connectTo: (TCPAddress ip: #[138 197 11 201] port: 40423). I get:  Error: Peer should not change id when it was already identif

Re: [Pharo-users] Problem with PharmIDE

2017-07-06 Thread sergio ruiz
Taking a look at this now.. thank YOU for an awesome tool.. On July 6, 2017 at 7:06:39 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: Thank's for feedback. Best regards, Denis peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL21xq

Re: [Pharo-users] Problem with PharmIDE

2017-07-06 Thread sergio ruiz
yes.. this is what i was trying to do.. the problem is, when VNC disconnects, it leaves the image in an error state, and i can no longer connect.. thanks! On July 6, 2017 at 7:09:11 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: But take care, IDE server has no security in communication pr

[Pharo-users] Updating my remote pharo to latest codebase..

2017-07-06 Thread sergio ruiz
Hi, all.. I think have most everything figured out on running and managing my remote image. I have been running i headless and using PharmIDE.. but i can’t figure out how to update a package to the latest version.. In my case, i have a few packages with source code, tests, etc. set up with a

[Pharo-users] installing iceberg

2017-07-06 Thread sergio ruiz
Hi, all.. I am trying to install iceberg, and am running into a problem finding iceberg.. looks like i am missing ibgit2.dylib' 'libgit2.0.dylib’ running macOS.. any ideas? thanks! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL

Re: [Pharo-users] installing iceberg

2017-07-06 Thread sergio ruiz
I am running pharo 6. i am running the 64bit version.. should i be running the 32bit version? when i try to run iceberg, I get an error.. but it is installed when i download.. On July 6, 2017 at 5:32:09 PM, Tim Mackinnon (tim@testit.works) wrote: there were some instructions in an email from E

[Pharo-users] Should I be running 32bit or 64bit pharo 6?

2017-07-06 Thread sergio ruiz
Hey all.. My questions about iceberg got me wondering if i should be running pharo 32bit or 64bit.. Thanks! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV http://www.Village-Buzz.com http://www.ThoseOpt

[Pharo-users] Cannot keep image running.

2017-07-06 Thread sergio ruiz
Hi, all.. I have install PharmIDE on this, and my project… and my project keeps dying.. I am getting the following stack trace.. any ideas?  OPTimedOutError [ self currentMilliseconds - startTime > aNumber ifTrue: [ OPTimedOutError signal ]. aBlock value ] in OPBasicPool(OPPool)>>waitUn

[Pharo-users] Pharo starts completely minimized

2017-07-06 Thread sergio ruiz
For some reason, every time i start pharo. like: ./pharo-ui Pharo.image it starts as a tiny box.. a completely minimized window..  any ideas? should i be starting it differently? Thanks! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-

Re: [Pharo-users] Should I be running 32bit or 64bit pharo 6?

2017-07-07 Thread sergio ruiz
I am running the remote (live server - linux) and my development machine(macOS) 64bit.. On July 7, 2017 at 4:51:05 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: It depends on you. 64bits makes linux installation easy - no need to thing about 32bits dependency.   peace, sergio photogra

Re: [Pharo-users] Cannot keep image running.

2017-07-07 Thread sergio ruiz
It is a teapot app..  i start it by doing something like: ./pharo Pharo.image —no-quit & after a few minutes, it becomes unresponsive, and in the terminal, i get a stack trace, and the pharo is no longer running.. On July 7, 2017 at 4:48:53 AM, Denis Kudriashov (dionisi...@gmail.com) wrote:

Re: [Pharo-users] Updating my remote pharo to latest codebase..

2017-07-07 Thread sergio ruiz
Sounds perfect.  Thanks! On July 7, 2017 at 4:46:17 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: So idea is to script updating peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV http://www.Village-Buzz

Re: [Pharo-users] Should I be running 32bit or 64bit pharo 6?

2017-07-07 Thread sergio ruiz
phone) Cheers, Alistair On 7 Jul. 2017 14:06, "sergio ruiz" wrote: I am running the remote (live server - linux) and my development machine(macOS) 64bit.. On July 7, 2017 at 4:51:05 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: It depends on you. 64bits makes linux installation

Re: [Pharo-users] Cannot keep image running.

2017-07-07 Thread sergio ruiz
Correct.. it looks like the root of the problem is:  OPTimedOutError On July 7, 2017 at 9:40:21 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: And the error which you show is on server side? peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessag

Re: [Pharo-users] Cannot keep image running.

2017-07-07 Thread sergio ruiz
Yes! i tried just sending over a regular save..  let me rebuilt it, and send the correct gig over.. thanks! On July 7, 2017 at 11:07:34 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: How you saved image?  Doing it from remote playground will lead to such problem because evaluation expect

Re: [Pharo-users] Cannot keep image running.

2017-07-07 Thread sergio ruiz
Hey, Denis.. Thanks SO MUCH for all of your help over the past few days.. I think I have my PharmIDE all set up correctly now, and it’s doing just fine.. Thank you for all your work on this project.. i will evangelize for sure! On July 7, 2017 at 11:07:34 AM, Denis Kudriashov (dionisi...@gmai

[Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-10 Thread sergio ruiz
Hi, all.. I am finally ready to work on the persistence end of my project. I am having a little bit of an issue, though.. I have very simple set of models: Customers Orders LineItems more.. The Customer has a variable called ‘orders’ which is just an OrderedCollection of Orders. The trick

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-11 Thread sergio ruiz
If you are not using blocks directly then the reason could be related to sorted collection which is usually created with sorted block. Here you also need convert sort block to message send with two args. i’m not sure i understand what is going on.. it seems to be hung up trying to save SsStat

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-11 Thread sergio ruiz
Oh! i forgot to mention.. this method belongs to Order..  so that part is working just fine.. On July 11, 2017 at 10:41:20 AM, Denis Kudriashov (dionisi...@gmail.com) wrote: So to be able serialize such object you need to replace #guarded block with message send like: guarded:( MessageSend re

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-12 Thread sergio ruiz
OH!  okay.. this is making sense now.. I think i just had to look at it for a minute.. Let me try that .. Thanks! On July 11, 2017 at 2:53:35 PM, Ramon Leon (ramon.l...@allresnet.com) wrote: On 07/11/2017 10:05 AM, sergio ruiz wrote: > Oh! i forgot to mention.. this method belongs

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-13 Thread sergio ruiz
Okay, got it.. I tried this.. but what happens when i change this to message sends (it does save) is that the state machine no longer works. The reason for this being that when he state machine is initialized, it’s initialized with the result of the message send, I think this needs to be a bloc

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-13 Thread sergio ruiz
Hmm.. let me try that.. I think it might be wiser at this point to find a more suitable persistence model. i was just looking for something that would work for a week or so until i needed to make this production ready..  looking at how this project is moving now (it’s done, and ready to start d

Re: [Pharo-users] Using SandstoneDB for persistance. Getting error.

2017-07-13 Thread sergio ruiz
What is happening is that when the StateMachine gets set up in order initialization, the guarded condition is set.. when you pass a MessageSend to it, it just evaluates to the value of that message send on initialization.. When you pass a block to it, the block is evaluated every time the call

[Pharo-users] Peristence with SandStone or Voyage -> Bypassing the saving of a variable.

2017-07-13 Thread sergio ruiz
So, I tried using mongo voyage for persistence of my Models, and when trying to the SsStateMachine, Mongo Voyager had problems figuring out what to do with my state machine..  So, it occurred to me.. the state machine really does nothing but guide the order through its journey. By the time the

Re: [Pharo-users] Peristence with SandStone or Voyage -> Bypassing the saving of a variable.

2017-07-14 Thread sergio ruiz
Oh! good idea.. i’ll take a look..  i ended up throwing them into a temp variable.. then saving.. then bringing it back.. thanks! On July 14, 2017 at 2:20:42 AM, Sabine Manaa (manaa.sab...@gmail.com) wrote: have a look at VOTransientDescription I also have attributes which are not persistent

[Pharo-users] Checking in on source/dependency management

2017-08-09 Thread sergio ruiz
Hi, all.. I am just checking in on source and dependency management.  I have been using Pharo 6 for a bit now, and i know that there has been a lot of talk about going to bit for source code management.  I am wondering how far along that is, and if there is a package we can start using to work

[Pharo-users] [Github Repo] I just pushed template to quickly start Pharo / Teapot

2017-08-14 Thread sergio ruiz
Hi, All.. Just wanted to let everyone know that I just put together a quick little project using Pharo and Teapot to build a template for a REST server. I have been experimenting with this a lot lately, so i build this so I could quickly start up and play with a new idea. Have a look over at:

[Pharo-users] [Ann] Blog entry about using Pharo / Smalltalk to build a bot

2017-08-15 Thread sergio ruiz
Hey, all.. I just released a blog entry entitled: "Why I chose Pharo Smalltalk to build my Bot project" which can be viewed here: http://www.codeandmusic.com/why-i-chose-pharo-smalltalk-to-build-my-bot/?utm_content=buffera7148&utm_medium=social&utm_source=facebook.com&utm_campaign=buffer I wou

[Pharo-users] How to find where pharo is killing processor power?

2017-08-16 Thread sergio ruiz
hey all.. my current pharo implementation is running super serious processor power, but it shouldn’t be doing much. how would I go about tracking this inside the pharo image? Thanks! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBa

Re: [Pharo-users] [Ann] Blog entry about using Pharo / Smalltalk to build a bot

2017-08-18 Thread sergio ruiz
Oh! I like your approach.. Let me quickly clarify my situation. In that section of the article, I was referring to my workplace. In my case, no one else in the dev department knows smalltalk. In a great many workplaces, devs don’t really want to learn a new language / framework without going of

[Pharo-users] [Raspberry Pi] Accessing GPIO pins on Raspberry Pi?

2016-05-27 Thread sergio ruiz
Does anyone know if it’s possible to access the header on Raspberry Pi vi Pharo? I am mostly interested in running a 16x2 LCD from pharo at this point. Thanks! peace, sergio photographer, journalist, visionary #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV http://www.Village-Buzz.com htt

Re: [Pharo-users] [Raspberry Pi] Accessing GPIO pins on Raspberry Pi?

2016-05-27 Thread sergio ruiz
> > The raspberry pi slave seems to be disconnected so do not know the > status: > Library: > https://ci.inria.fr/pharo-contribution/job/WiringPi-ARM-AutomatedBuild/ > Pharo code ( probably on Pharo 3 or 4). > http://smalltalkhub.com/#!/~jeanbaptistearnaud/WiringPi great! i’ll take a look at thos

Re: [Pharo-users] [Raspberry Pi] Accessing GPIO pins on Raspberry Pi?

2016-05-27 Thread sergio ruiz
does anyone know if if pharo 5 runs on raspberry pi yet? if so, i can poke around and see if i can get WiringPi to install on pharo 5. thanks! > On May 27, 2016, at 1:56 PM, sergio ruiz wrote: > >> >> The raspberry pi slave seems to be disconnected so do not know the >

[Pharo-users] How much abuse can Teapot take?

2016-06-06 Thread sergio ruiz
I am currently planning a mobile (iOS) app that will rely on a REST server for handling offline tasks (sending emails, processing reports, etc). I would LOVE to use Pharo/Teapot for this, but I want to make sure that this configuration would be up to the task. I can’t really guess how much traf

[Pharo-users] GUI Applications

2016-06-06 Thread sergio ruiz
It would seem to me that in order for an ecosystem to really take hold on the part of the users, it’s really important that it’s efficient and easy to create a GUI based application. Can anyone comment on the current state of libraries for creating and distributing GUI applications? Thanks! -

Re: [Pharo-users] GUI Applications

2016-06-06 Thread sergio ruiz
is there one GUI framework that is being used more than the others, or that is more mature? Thanks! > On Jun 6, 2016, at 3:51 PM, Alexandre Bergel wrote: > > You are very right. Pharo offers several GUI framework, including Spec, > Glamour. > Check for Deep Into Pharo, a book which talk abou

Re: [Pharo-users] GUI Applications

2016-06-06 Thread sergio ruiz
Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On Jun 6, 2016, at 2:56 PM, sergio ruiz wrote: >> >> It would seem to me that in order for an ecosystem to really take hold on >> the part of the users, it’s really important that it’s efficient and easy to

Re: [Pharo-users] GUI Applications

2016-06-06 Thread sergio ruiz
Great! Thanks! I will take a look at this.. > On Jun 6, 2016, at 4:12 PM, Johan Fabry wrote: > > the standard way to build UIs in Pharo is by using Spec. There is a video of > me presenting it at the Pharo Days 2015 that gives you a first overview > https://www.youtube.com/watch?v=OL23s9ZUIR0

[Pharo-users] question on message passing.

2016-06-07 Thread sergio ruiz
I have a feeling this is wrong, but I am not sure how to make it work cleanly.. This: |s| s := (((PipeableOSProcess command: '/usr/local/bin/mpc status') output) findTokens: Character lf) first should i have all the parenthesis in there? is there a cleaner way to do this? thanks! peace

Re: [Pharo-users] question on message passing.

2016-06-07 Thread sergio ruiz
> On Jun 7, 2016, at 2:36 PM, Peter Uhnák wrote: > > (PipeableOSProcess command: 'mpc status') output lines first > > (also +1 for mpd :)) got it! thanks! you might like this project.. this is going to run on raspberry pi.. the reason i am doing mpc status is to get the first line, and send

Re: [Pharo-users] question on message passing.

2016-06-07 Thread sergio ruiz
> > I have a (almost complete) MPD client in Pharo, talks the protocol directly. > As well as a simple web UI to control music selection/playback. > wow! this sounds like a good building block for what i am doing. i am building a standalone/headless player that just uses buttons to select tag

Re: [Pharo-users] GUI Applications

2016-06-08 Thread sergio ruiz
whoa! chronosmanager is way awesome! i am going to start using it for my task/pomodoro timer! > On Jun 8, 2016, at 7:34 AM, Dimitris Chloupis wrote: > > Its also the best solution for custom designed GUIs which is what I used for > my ChronosManager project you can find in Catalog Browser.

Re: [Pharo-users] question on message passing.

2016-06-08 Thread sergio ruiz
wow! on it! thanks! > On Jun 8, 2016, at 4:53 AM, Sven Van Caekenberghe wrote: > > Sergio, > > Here is my code: https://github.com/svenvc/mpdclient - the README.md should > get you started. peace, sergio photographer, journalist, visionary #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2d

Re: [Pharo-users] [Raspberry Pi] Accessing GPIO pins on Raspberry Pi?

2016-06-14 Thread sergio ruiz
> > Thanks, > > Steven. > > > Le 2016-05-27 20:11, sergio ruiz a écrit : > >> does anyone know if if pharo 5 runs on raspberry pi yet? >> >> if so, i can poke around and see if i can get WiringPi to install on pharo 5. >> >> thanks! >>

[Pharo-users] Keeping data with an application

2016-11-01 Thread sergio ruiz
Hey, all.. One of the things that I find SUPER necessary when developing an app is to be able to grab data from somewhere else and quickly and easily work on it from my machine. For instance, when I get a bug report that smells funny, the first thing i sometimes do is run a script that grabs t

Re: [Pharo-users] Keeping data with an application

2016-11-01 Thread sergio ruiz
Okay.. is Voyage ready to rock and/or roll? is today your birthday? for some reason, i got a notification of several things on my machine today.. one of those being your birthday.. if so, happy birthday! if not.. happy un-birthday! On November 1, 2016 at 2:16:57 PM, Dale Henrichs (dale.henri

Re: [Pharo-users] Keeping data with an application

2016-11-02 Thread sergio ruiz
For this project, I want to make progress based on feedback from users ... there are lots of different directions that could be taken from this starting point and I want to be driven by user feedback ... so if you are willing to provide feedback I am willing to work with you ... i think that

Re: [Pharo-users] Keeping data with an application

2016-11-02 Thread sergio ruiz
Hmm… i need to look at this ..  i can just burp out all my objects with ston and suck them back in on the local machine.. On November 2, 2016 at 10:25:51 AM, p...@highoctane.be (p...@highoctane.be) wrote: Keeping data in image with a STON export would be good enough: peace, sergio photo

Re: [Pharo-users] Keeping data with an application

2016-11-02 Thread sergio ruiz
Looks like I might stick with STON.. I am not really worried too much about execution time or anything.. Need to look at one more thing.. If a user has say.. many stations.. meaning that they have an OrderedCollection of Stations.. I need to check how that gets serialized, and what happens when

Re: [Pharo-users] Keeping data with an application

2016-11-02 Thread sergio ruiz
Yes, I will do this.. i bet i can even serve it up via http, and pull it directly from my working image.. Thanks! On November 2, 2016 at 12:24:48 PM, p...@highoctane.be (p...@highoctane.be) wrote: Hum, use this instead: Usage: "Saving" self persistAsSton: someDataStructure toFile: 'persist.

Re: [Pharo-users] Keeping data with an application

2016-11-02 Thread sergio ruiz
The funny thing about STON is that, as a professional developer, I am so used to the whole world being a “hey, look! we have this too!!” world, that I never looked into it at all.. I should have knows that that Pharo/Smalltalk community would, instead of “me too” would say.. “look, here’s a cle

Re: [Pharo-users] Keeping data with an application

2016-11-03 Thread sergio ruiz
I have a few projects that are more loosey goosey on timelines.. this one, people are wanting to see this info pretty soonish.. On November 3, 2016 at 2:23:39 PM, Dale Henrichs (dale.henri...@gemtalksystems.com) wrote: I like the play around part:) Ping me when you find the time! peace

[Pharo-users] Streaming MP3 playlists

2016-11-10 Thread sergio ruiz
Hey, All.. Was wondering what the state of streaming audio was.  I am building a radio API for use in a mobile player using Teapot, but I thought it might be cool to build and actual player using spec and pharo. Any suggestions on where to look for something like this for pharo 5? Thanks! ---

[Pharo-users] Modeling a join table

2016-12-13 Thread sergio ruiz
Hello, all. This question is not as much a question about smalltalk as one about modeling in smalltalk. I am currently writing an API using Teapot that will be serving up data about internet radio stations. I want to be able to let users tag the stations with arbitrary tags. Using a relational

[Pharo-users] GitFileTree in Pharo 5

2016-12-14 Thread sergio ruiz
Hey, all. I am trying to install GitFileTree from the Catalog Browser. I get a warning that it’s not tested with Pharo 5. I go ahead anyway, and it just hangs. Has anyone else installed it on macOS? Is there a different package I should be using? Thanks! peace, sergio photographer, journ

Re: [Pharo-users] Modeling a join table

2016-12-22 Thread sergio ruiz
Are you going to use relational database to store this data? Or you goint to use image saving / object-oriented DB for persistence? i’d like to use voyage.. so i can use MongoDB for persistence.. 1) Are there strong asymmetry in queries? Which kind of queries are more frequent: "give me tags

[Pharo-users] Just a comment on Pharo 5.0..

2017-01-16 Thread sergio ruiz
Of all the great things i have seen added to pharo over the past years, the absolute coolest i have yet seen is the addition of a hotkey sequence for “Save Image”.. Thank you guys so much! peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM

[Pharo-users] [NeoJSON] creating custom maps

2017-01-27 Thread sergio ruiz
Okay, I am having the worst time with this.. i have a class called RadioStation that for now, just had  few text instance variables. all I really need to do is turn this into JSON.. i can do it with something like: String streamContents: [ :stream |    (NeoJSONWriter on: stream)       prettyPr

Re: [Pharo-users] [NeoJSON] creating custom maps

2017-01-30 Thread sergio ruiz
This works perfectly! one more question.. how would i go about changing the default behavior in this case for NeoJSONWriter’s writeNil instance variable?  Thanks! RadioStation class>>#neoJsonMapping: mapper mapper for: self do: [ :mapping | mapping mapInstVars ] peace, sergio pho

Re: [Pharo-users] [NeoJSON] creating custom maps

2017-02-01 Thread sergio ruiz
Looking at this now.. thanks! On January 30, 2017 at 4:41:59 PM, Sven Van Caekenberghe (s...@stfx.eu) wrote: The default is not to write out nil/null properties. If you want to change this, make a writer and set #writeNil: to false. For an example, see #testPointWriteNil  peace, sergio p

[Pharo-users] [Voyage] Accessing ObjectID(_id) when retrieving objects.

2017-02-01 Thread sergio ruiz
Hi, all.. I am working on a Teapot REST interface, and am getting ready to implement the create, read, and update methods for the objects, and I need a way to refer to the objects. I figured that since Voyage was already creating _id through MongoDB, I could just pass that on when I retrieved t

Re: [Pharo-users] [Voyage] Accessing ObjectID(_id) when retrieving objects.

2017-02-01 Thread sergio ruiz
Perfect! this is what i needed.. i don’t want to manage two sets of IDs.. Thanks! On February 1, 2017 at 9:37:43 AM, Norbert Hartl (norb...@hartl.name) wrote: You can ask every voyage object for its id. Just do  anObject voyageId you get an OID object which you can ask for its #value to get th

Re: [Pharo-users] [Voyage] Accessing ObjectID(_id) when retrieving objects.

2017-02-01 Thread sergio ruiz
hmmm.. can you query for an object with that voyageId? On February 1, 2017 at 9:37:43 AM, Norbert Hartl (norb...@hartl.name) wrote: You can ask every voyage object for its id. Just do  anObject voyageId you get an OID object which you can ask for its #value to get the numeric id. Norbert

Re: [Pharo-users] [Voyage] Accessing ObjectID(_id) when retrieving objects.

2017-02-01 Thread sergio ruiz
Got it.. Smalltalk is one language where it ALWAYS seems that there is a more clever way to do anything than the way i am doing it.. I’ll try this.. Thanks! On February 1, 2017 at 10:43:36 AM, Norbert Hartl (norb...@hartl.name) wrote: MyClass selectOne: { '_id' -> (OID value: 16r) } asDictio

Re: [Pharo-users] [Voyage] Accessing ObjectID(_id) when retrieving objects.

2017-02-01 Thread sergio ruiz
Yes.. smalltalk doesn’t impose a whole lot of style limitations on the developer, and most of the code i run into is very high quality.. so, using all the available code, you’re really just learning good practices from a bunch of smart people… the language is really inconsequential.. On Februa

[Pharo-users] Persisting data in the Image

2017-02-06 Thread sergio ruiz
Is it enough to create a collection on a class to persist data and keep it away from the GC? something like: class Person>>people ^ where add: and remove: would remove them from the collection.. peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG

Re: [Pharo-users] Persisting data in the Image

2017-02-06 Thread sergio ruiz
Got it.. not just a method.. Thanks! On February 6, 2017 at 3:08:37 PM, Sven Van Caekenberghe (s...@stfx.eu) wrote: You need to put the collection in a class variable (or in some global variable).  peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMe

[Pharo-users] [Metacello] Adding existing metacello project to my new project

2017-02-08 Thread sergio ruiz
okay, i have finally decided to spend some time figuring out metacello.. for those doing the same, i would say, do this first: http://sleepycoders.blogspot.com/2013/10/dead-simple-intro-to-metacello.html then, use the “deep into pharo” chapter as needed.. anyway.. i am having a little bit of t

Re: [Pharo-users] [Metacello] Adding existing metacello project to my new project

2017-02-08 Thread sergio ruiz
I think i’m doing it wrong.. this is all i could find in there.. https://github.com/Pharophile/PechaKucha/blob/master/packages/ConfigurationOfPechaKucha.package/ConfigurationOfPechaKucha.class/instance/version10..st On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli (g.cote...@gmail.com) wrot

Re: [Pharo-users] [Metacello] Adding existing metacello project to my new project

2017-02-08 Thread sergio ruiz
Hmmm.. gonna have to toy with this.. this is giving me other errors.. namely that baseline is no longer defined.. On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli (g.cote...@gmail.com) wrote: spec         baseline: 'Voyage' with: [ spec repository: 'github://pharo-nosql/voyage/mc'; load: #(

Re: [Pharo-users] [Metacello] Adding existing metacello project to my new project

2017-02-08 Thread sergio ruiz
found it..  load: #( 'mongo' 'tests')  should be: loads: #( 'mongo' 'tests')  thanks! On February 8, 2017 at 10:22:17 AM, Gabriel Cotelli (g.cote...@gmail.com) wrote: spec         baseline: 'Voyage' with: [ spec repository: 'github://pharo-nosql/voyage/mc'; load: #( 'mongo' 'tests') ]; import

[Pharo-users] [Teapot and Voyage] sending over the voyageId

2017-02-09 Thread sergio ruiz
I am working on the U of the CRUD part of my Teapot/Voyage REST interface, and found that I cannot get the voyageId to be delivered as part of the REST response.. in order to do RUD, I will need that in the feed. the problem is that NeoJSON uses the instance variables to JSON encode the objec

Re: [Pharo-users] [Teapot and Voyage] sending over the voyageId

2017-02-10 Thread sergio ruiz
Forgot to mention, i have this on my class.. neoJsonMapping: mapper mapper for: self do: [ :mapping | mapping mapInstVars ] will dig into this a bit more today.. thanks! On February 10, 2017 at 2:04:14 AM, Norbert Hartl (norb...@hartl.name) wrote: NeoJSON is not bound to use instVars

[Pharo-users] [Data Modeling] approaches to data persistence

2017-02-14 Thread sergio ruiz
Hey, all.. I have  been working on creating a REST interface using Teapot. In learning how to handle exceptions, I have been following along with the library example.  One of the things i noticed was that, in the library example, they are modeling that data a little differently than i have been

Re: [Pharo-users] [Data Modeling] approaches to data persistence

2017-02-14 Thread sergio ruiz
, 2017 at 11:01 PM, sergio ruiz wrote: Hey, all.. I have  been working on creating a REST interface using Teapot. In learning how to handle exceptions, I have been following along with the library example.  One of the things i noticed was that, in the library example, they are modeling that data

[Pharo-users] [State Machine] Implementation for pharo

2017-02-16 Thread sergio ruiz
Hey, all.. Just checking in to see if there were any projects out there that included a stage machine. There is one that I’ve been using in Ruby for awhile that I really like. I would love if we have something like that available.. Thanks! peace, sergio photographer, journalist, visionary

Re: [Pharo-users] [Data Modeling] approaches to data persistence

2017-02-16 Thread sergio ruiz
Funny you should mention that. i ended up removing all the voyage stuff, and just using objects.. as soon as i am ready to go live, i am going to use gemstones.. is there a quick and easy setup for heroku or digital ocean? On February 15, 2017 at 12:15:48 PM, Dale Henrichs (dale.henri...@gemta

[Pharo-users] Data Encryption

2017-02-20 Thread sergio ruiz
I have been tasked with throwing together a small web app that will hold the passwords to different projects for my company. I would like to use seaside to do this, but the biggest requirement is that we need to be able to either: - encrypt the entire database, so that if the machine was compromi

[Pharo-users] [Versionner] Including remote packages

2017-02-21 Thread sergio ruiz
Hi, all.. I am creating a configuration using versioner.. as part of this configuration, I need to include packages (which don’t have a configuration) from a remote repository.. i initially brought the class in from monticello, and included it, but i ended up with a configuration line that goes

Re: [Pharo-users] [Versionner] Including remote packages

2017-02-22 Thread sergio ruiz
Ah, yes.. actually, i am making something like: ConfigurationOfPrintBot Where the package PrintBot lives on smalltalk hub..  what i really need to do is get Versionner to reference the REMOTE version of the package, and not the one i have loaded into my image. to solve this, i just edited the

Re: [Pharo-users] Data Encryption

2017-02-22 Thread sergio ruiz
Gotcha! thanks! for whatever reason, they want something written from scratch.. in house.. On February 21, 2017 at 11:15:55 PM, Alejandro Infante (alejandroinfant...@gmail.com) wrote: Here is a collection for reference. If one of these is suitable you can skip the  implementation and just dep

Re: [Pharo-users] Data Encryption

2017-02-22 Thread sergio ruiz
We are looking to encrypt the entire database.. On February 21, 2017 at 11:15:55 PM, Alejandro Infante (alejandroinfant...@gmail.com) wrote: As for single username/pass encryption (not the whole DB), and assuming you want two-way encrypt (that you want to decrypt), I have used both, Rijndael an

Re: [Pharo-users] Data Encryption

2017-02-22 Thread sergio ruiz
Right.. we’re looking to encrypt the entire database AFTER doing the business as usual password encryption.. On February 21, 2017 at 11:15:55 PM, Alejandro Infante (alejandroinfant...@gmail.com) wrote: Hi! If it help I’m using NaCl to do secure the passwords. You should not store the password

Re: [Pharo-users] Data Encryption

2017-02-22 Thread sergio ruiz
OH!  Sorry.. they don’t want to do the crypto stuff on our own.. just the CRUD stuff of managing the passwords.. but those were some really good links! On February 22, 2017 at 9:19:05 AM, Alexandre Bergel (alexandre.ber...@me.com) wrote: are they aware of Schneier's Law... * https://www.schn

Re: [Pharo-users] Data Encryption

2017-02-22 Thread sergio ruiz
Hi, Alejandro.. yes, they are looking to encrypt the entire database.. you’re right, i think securing the OS and running over SSL is sufficient.. BUT.. i do appreciate you writeup on NaCl.. I am DEFINITELY using this on my next project.. Thanks! On February 22, 2017 at 9:19:05 AM, Alexandre

Re: [Pharo-users] Data Encryption

2017-02-23 Thread sergio ruiz
Now that i think about it.. this will contain a list of passwords for servers, etc.. each user will need to access about a dozen company passwords.. trying to thing about how to keep this buttoned down.. On February 22, 2017 at 9:19:05 AM, Alexandre Bergel (alexandre.ber...@me.com) wrote: If

[Pharo-users] [Verssioner] Committing changes -> "SubscriptOoutOfBounds: 1"

2017-02-23 Thread sergio ruiz
For some reason, when i use Versionner to commit my changes to my configuration, I consistently get: "SubscriptOoutOfBounds: 1” If i make changes to my project, and just run Kommmiter… instead of getting my remote (for the changes to my project classes) i get a “New Slice” and cannot select th

Re: [Pharo-users] [Verssioner] Committing changes -> "SubscriptOoutOfBounds: 1"

2017-02-24 Thread sergio ruiz
I am using pharo 5.. oh! is there a way i can start using the git versioner now? thanks! On February 24, 2017 at 7:53:58 AM, Offray Vladimir Luna Cárdenas (offray.l...@mutabit.com) wrote: in which verison of pharo are you? Yes versionner will be deprecated because we are migrating to git and

Re: [Pharo-users] [Verssioner] Committing changes -> "SubscriptOoutOfBounds: 1"

2017-02-24 Thread sergio ruiz
Hi, offray.. yes, this is exactly what i did.. thanks! On February 24, 2017 at 7:53:58 AM, Offray Vladimir Luna Cárdenas (offray.l...@mutabit.com) wrote: I'm using versionner right now (and was starting to understand it, so kind of sad to know it will be deprecated). The workaround I found t

[Pharo-users] [Modeling with Pharo] How to model a simple human interaction.

2017-03-04 Thread sergio ruiz
Hey all.. I got my first paying gig that i am able to use pharo with, and i am on the last leg before calling it complete. Here’s what I need to do.. This application accepts SMS text messages. It allows the user to send images via MMS and place an order to a print house for those images..  it

[Pharo-users] [State Machine] Looking for some examples.

2017-03-06 Thread sergio ruiz
Hey, all.. Just wondering if anyone had any resources for examples of using StateMachine package in Pharo.  I am looking at it, and looked at the tests, but am not finding a really clear example on how this works. Ideas? Thanks! peace, sergio photographer, journalist, visionary Public

Re: [Pharo-users] [State Machine] Looking for some examples.

2017-03-07 Thread sergio ruiz
2017-03-07 1:14 GMT-03:00 sergio ruiz : Hey, all.. Just wondering if anyone had any resources for examples of using StateMachine package in Pharo.  I am looking at it, and looked at the tests, but am not finding a really clear example on how this works. Ideas? Thanks! peace, sergio

[Pharo-users] Convert Markdown to Pillar?

2017-03-07 Thread sergio ruiz
Just wondering if this is possible. Just about every stand alone editor allows users to edit or export to markdown. I tend to do everything in a standalone editor when getting written material ready for publishing to the web. I don’t have any beef with pillar, i just want to be able to write us

[Pharo-users] Easy question about syntax.

2017-03-10 Thread sergio ruiz
I have a simple one, but i need to understand what is going on.. i have something like Tree with a class method trees ^ trees ifNil: [OrderedCollection new] i initially ran into trouble with it locking my image up because i wrote it as: trees ^ self trees ifNil: [OrderedCollection new] what

[Pharo-users] [Deploy Application] Where to host using Gemstone/s?

2017-03-22 Thread sergio ruiz
I am ready to deploy a live production application, and am exploring my options.. I currently host a bunch of other things over at Digital Ocean. I would like to use them for this project to, using a new droplet. Does anyone know if there is a quick and easy way to install Gemstone/s on the Digit

  1   2   3   >