Re: [Pharo-users] ZnURL and parsing URL with diacritics
Pharo Smalltalk Users mailing list wrote > OK. Thanks for examples. But in my case, the bad URL (with diacritics) > comes directly from the Zomato.com REST API (they probably do not read > specs), so I'll end up with a few "hacks" with strings. Sven actually found a trick to handle this case and then forgot he he [1]. Just in case you still have the issue: 'http://myhost/path/with/umlaut/äöü.txt' asFileReference asUrl. 1. http://forum.world.st/Umlauts-in-ZnUrl-tp4793736.html - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] ZnUrls with Non-ASCII characters
Sean P. DeNigris wrote > I ran into this issue again. I found a few other threads where this came up before over the years, but seemed unresolved. Just after I posted I found one from 2014 [1] where you shared a trick that worked! Namely, 'http://myhost/path/with/umlaut/äöü.txt' asFileReference asUrl. 1. http://forum.world.st/Umlauts-in-ZnUrl-tp4793736.html - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] ZnUrls with Non-ASCII characters
Sven Van Caekenberghe-2 wrote >> 'https://en.wiktionary.org/wiki/prêt#French' asUrl => >> https://en.wiktionary.org/wiki/pr%C3%AAt#French >> ? > > It would probably be possible to write a more lenient parser as opposed to > a strict one. I have not yet given that idea much thought. I ran into this issue again. The problem is that I got the URL from an outside source, so I don't have the luxury of constructing it bit by bit. The non-ASCII stuff this time is in the query, but I can't turn it into a URL to parse it to safely separate out the query :/ - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Re: [Pharo-users] Using GitHub's APIs to query repo metadata with Pharo 7
Christopher Fuhrman wrote > https://fuhrmanator.github.io/Using-GitHub-API-in-Pharo/ Cool! Thanks for sharing :) - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
[Pharo-users] Using GitHub's APIs to query repo metadata with Pharo 7
Another blog entry, this time for my experiments with GitHub's API to get metadata about repos. It's probably not so esoteric, but I documented what I did in hope that it will be useful. https://fuhrmanator.github.io/Using-GitHub-API-in-Pharo/
[Pharo-users] Revisting: Spec - Tutorial Series
Hi, I managed to update my tiny tutorial on Spec to Pharo 7.0. Can you folks please take a look and let me know if I'm doing something unidiomatic/wrong - it's been quite a while since I coded in Smalltalk? http://www.bahmanm.com/2013/11/spec-part-i-basics.html https://www.bahmanm.com/2013/11/spec-part-ii-layout.html Thanks in advance. Bahman
Re: [Pharo-users] Fw: Re: R: R: UDBC ODBC
Hi Pierce, Glorp has a notion of database platforms, and currently there are MySQLODBCPlatform, OracleODBCPlatform and SQLServerODBCPlatform. (I've not used any of them so no comment on whether they are even functional in Pharo 7 and whatever combination of OS/database product/versions.) Pragmatically, what gets used gets supported. What database product are you connecting to from which OSes? I'm interested in connecting to SQL Server from Windows. I checked Glorp and as I understand a database platform includes platform specific elements like data types, specific SQL sentences and such, but for the connection you need a corresponding driver. Best wishes, Tomaz
Re: [Pharo-users] Fw: Re: R: R: UDBC ODBC
On Fri, Mar 22, 2019 at 09:46:35AM +, Tomaž Turk wrote: > Do you possibly know (or anyone) if this implementation can be used together > with Glorp? Glorp has a notion of database platforms, and currently there are MySQLODBCPlatform, OracleODBCPlatform and SQLServerODBCPlatform. (I've not used any of them so no comment on whether they are even functional in Pharo 7 and whatever combination of OS/database product/versions.) > And more generally, are there any intentions and guidance in the > Pharo community of how to proceed toward a stronger support for database > connectivity - specifically, whether to put our efforts into Torsten's UDBC > ODBC or Diego's ODBC ... Pragmatically, what gets used gets supported. What database product are you connecting to from which OSes? Pierce
[Pharo-users] [ANN] Next Pharo Sprint: March 29
We will organize a Pharo sprint / Moose dojo March 29, starting at 10:00am. (Local Time Paris). Goals of this sprint: - Pharo 7 backports, Pharo 8, - Check issues from old Issue tracker Remote Sprint: Remotely, you can join us on Discord. During the sprint, we synchronize local and remote Pharo sprinters: http://pharo.org/contribute-events We have added a (right now empty) Board to coordinate the work: https://github.com/orgs/pharo-project/projects/9 Known Local Sprint meetings Lille/France: It will be at the Inria Lille, Building B, third floor (RMoD offices). As the building is not open to the public, please contact us before if you plan to come
[Pharo-users] R: Fw: Re: R: R: UDBC ODBC
Hi Tomaz, sorry, but I have not knowledge about your questions. I use ODBC because I have integrated an application written in Smalltalk/V (that has no connection to WEB) with some extensions into Pharo for WEB applications. So, it is easy to expand my local application into WEB, referencing to a single DB. Lorenzo Da: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] Per conto di Tomaž Turk Inviato: venerdì 22 marzo 2019 10:47 A: Any question about pharo is welcome Oggetto: [Pharo-users] Fw: Re: R: R: UDBC ODBC Hi Lorenzo, thanks - I'll see what I can do over weekends, I'll have some regular time to seriously look into it in a couple of months. Do you possibly know (or anyone) if this implementation can be used together with Glorp? And more generally, are there any intentions and guidance in the Pharo community of how to proceed toward a stronger support for database connectivity - specifically, whether to put our efforts into Torsten's UDBC ODBC or Diego's ODBC ... Best wishes, Tomaz -- Original Message -- From: "Lorenzo Schiavina" To: "Tomaž Turk" Sent: 21. 03. 2019 15:40:35 Subject: R: R: [Pharo-users] UDBC ODBC Hi Tomaz, you are right; it does not work with Pharo 7 (I do not know why); I use it with Pharo 4. This one is a remake of Diego Gomez. I have the idea to port it to Pharo 7, but at present I have not time do it. Please, keep me informed if you port it in Pharo 7 or you are able to use it. At present, I find it quite good for may needs. Ciao Lorenzo
[Pharo-users] Fw: Re: R: R: UDBC ODBC
Hi Lorenzo, thanks - I'll see what I can do over weekends, I'll have some regular time to seriously look into it in a couple of months. Do you possibly know (or anyone) if this implementation can be used together with Glorp? And more generally, are there any intentions and guidance in the Pharo community of how to proceed toward a stronger support for database connectivity - specifically, whether to put our efforts into Torsten's UDBC ODBC or Diego's ODBC ... Best wishes, Tomaz -- Original Message -- From: "Lorenzo Schiavina" To: "Tomaž Turk" Sent: 21. 03. 2019 15:40:35 Subject: R: R: [Pharo-users] UDBC ODBC Hi Tomaz, you are right; it does not work with Pharo 7 (I do not know why); I use it with Pharo 4. This one is a remake of Diego Gomez. I have the idea to port it to Pharo 7, but at present I have not time do it. Please, keep me informed if you port it in Pharo 7 or you are able to use it. At present, I find it quite good for may needs. Ciao Lorenzo