tag:blogger.com,1999:blog-48053297200653568812024-03-13T23:45:03.812+02:00Jack of all backends, master of Node (and Perl)Opinionated blog about programming, <strong>software developers</strong>, outsourcing, technical solutions, web development, tech lifestyle, etc.
Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-4805329720065356881.post-85242497652624252282020-05-18T18:04:00.002+03:002020-05-18T19:03:27.850+03:00The Knests stackThree non-stacked nestsTL;DRLet me introduce you The Knests Stack - a modern, typescript based, full stack boilerplate/hackathon starter template project, using the best tools of the moment (mid 2020) in the javascript ecosystem:Backend- PostgreSQL- Knex.js, - NestJS, - GraphQL (Apollo server), Frontend- GraphQL,- Next.js- React (with hooks and typescript), - Material-UI,Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-88496551334552945122015-12-26T19:57:00.000+02:002015-12-26T19:59:43.038+02:00The Perl6 Gold Rush BeganPerl6 has just been released, after 15 years of intensive development. Now it's the perfect time for any developer to become a star, or at least to position himself in a very marketable position.
What one has to do to take advantage of the opportunities is to:
Install Perl6 - Following the instructions from the previous URL I had Perl6 installed in about 6 minutes on my dev VM
Learn Perl6
Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-51424183168572455382015-05-21T13:30:00.000+03:002015-05-21T19:57:37.355+03:00Passwordless Login Done RightImagine you want to try the service offered by a site, but you have to log in to be able to do it. It is the first time you arrive on this site and of course you don't have an account. In order to get one, you have to sign up. Assuming the site doesn't offer you the option to sign up with facebook, twitter, google or other OAuth providers you'll most probably end up filling around Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com3tag:blogger.com,1999:blog-4805329720065356881.post-64483242161875101082015-04-26T21:30:00.000+03:002015-05-01T10:22:55.022+03:00Debian Upgrade From Wheezy to Jessie
You Only Live Once
This will not be such a YOLO experience, because the whole upgrading from Wheezy to Jessie (stable) went smoothly. I describe the whole process below.
I'm not such a great risk taker as to jump head first to the newest and shiniest things that appear. No, I'm using Debian as my main desktop OS for about a year now and I upgraded to Jessie from Wheezy sometimes in Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com2tag:blogger.com,1999:blog-4805329720065356881.post-39260852360893669412015-04-25T12:43:00.001+03:002015-04-25T12:43:05.737+03:00CPAN Pull Request Challenge is Not Really a Challenge
photo by +Darren Song Ng
What I mean when I say that CPAN PR Challenge is not really a challenge, is that contributing to well known Perl modules is much more accessible for the mere programmer than I expected. And I wouldn't had find out this without participating in the CPAN PR Challenge.
Since the day I started to use Open Source software for my day to day job, I couldn't Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-61451156476185500082015-03-09T19:54:00.000+02:002015-03-09T19:59:28.049+02:00The Creator of Perl is Coming to Romania
The Perl Bible I received from one of its co-authors - brian d foy. In 16th of March 2015 it will receive the signature of Larry Wall.
Larry Wall, the God of +Perl, is coming to the third anniversary of +Cluj Perl Mongers and you should come too if you have the possibility.
This is great, because this is the year that Perl 6 will be launched into production and it will become a huge Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-63475760714686913462015-01-29T20:25:00.000+02:002015-01-30T14:04:47.245+02:00Shock and Terror - Perl IS a readable language
As a fresh developer, one of the first things you'll hear about Perl is one of the
following:
Perl is unreadable
Perl is the only language that looks the same before and after is encrypted with
sha256
Larry Wall fell asleep with his head on his keyboard and when he woke up he
called the result Perl
You won't hear that Perl is the language that was behind almost every Web pageTudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com4tag:blogger.com,1999:blog-4805329720065356881.post-58538037349997642772015-01-18T18:43:00.000+02:002015-01-18T18:43:13.107+02:00Perl Already WonThis post is a response to the Yet Another Perl Rant article which appeared on hackernews.
Without being a special kind of paranoid or conspiracy theory adept, I can't help myself noticing that from time to time an article appears which tries to convince us that Perl is dead and there are no reasons to learn it.
TL;DR
Perl already won once - in the nineties it was the technology that powered Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com5tag:blogger.com,1999:blog-4805329720065356881.post-37448395158458119912014-09-08T16:01:00.000+03:002014-09-08T22:16:11.422+03:00Making a "Simple" Site is Damn HardIf you're somehow related to the IT field (you're a sys admin, a QA, a Project Manager, or even a programmer) you surely got at least one request from a relative who just opened a business, to create them a "simple" website. This term - "simple" - lies anywhere from some texts that don't need to be updated in the future, to online stores or web scale streaming platforms. How hard can it be? it's Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0Europe54.5259614 15.255118700000025-13.804102099999994 -149.97925629999997 90 -179.51050629999997tag:blogger.com,1999:blog-4805329720065356881.post-21700669374321140142014-04-23T09:00:00.000+03:002014-04-28T10:44:24.262+03:00Facebook Authentication in Perl with Mojolicious (Lite)Below is the minimum you need in order to have a web app that provides Facebook authentication.
Although there are less than 100 lines of code (including comments), this is a complete Facebook application implemented in +Perl , using the +Mojolicious web framework. It provides Facebook authentication and accesses user's Facebook username. Of course, with proper scope Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0Europe54.5259614 15.255118700000025-13.804102099999994 -149.97925629999997 90 -179.51050629999997tag:blogger.com,1999:blog-4805329720065356881.post-38316189259248994772014-01-05T21:08:00.000+02:002014-01-05T21:11:31.140+02:00Voting Rings - Bad or Good?Voting rings can be a low cost alternative to AdWords and Facebook ads to promote high quality content.
What are voting rings or voting cliques?
Reddit, in their faq section, answers to the question What constitutes vote cheating and vote manipulation? with:
A "vote ring" is a group of people who agree to vote on certain things together, either a specific submission, a user, a Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-50491723443676232192013-12-13T15:28:00.001+02:002013-12-13T16:08:48.261+02:00How to screw up a startup community
TL;DR
Organize meetings, social events and hackathons, pretend you want to help the community, then use the ideas you saw there to serve your personal purpose. In order for this to work, you have to keep for yourself everything that you work on until the launch day, while you encourage the participants to tell you as much as possible about their businesses. If they ask you something about what Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-1307587775387376572013-10-13T12:46:00.003+03:002015-11-10T18:48:51.118+02:00Why I'll never leave Romania as a software developerI am a +Perl software developer for since 2010 and I'm a paid software developer since 2006 years. I live in Cluj-Napoca, which is the second most populous city in Romania.
After about just 3 years after I become a paid programmer I started to have this feeling that I wouldn't have the same standard of living in another country as a software developer that I have in Romania. Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com2Cluj-Napoca, Romania46.777248 23.59988989999999446.603279 23.277166399999995 46.951217 23.922613399999992tag:blogger.com,1999:blog-4805329720065356881.post-62416818886023842722013-08-17T14:31:00.000+03:002013-08-17T14:48:32.866+03:00PRForge.com for promoting Perl
I got the opportunity to be present at YAPC::EU 2013 in Kiev and it was great. I even had a lightning talk in which I talked briefly about PRForge and presented a way in which it can help the perl ecosystem to increase its overall reach and audience.
Although I prepared my talk thoroughly beforehand (by repeating it more than 10 times in front of my computer's camera), when I Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-69548630781461707602013-04-16T09:13:00.000+03:002013-04-16T09:50:00.482+03:00Translate Perl Tutorials to Ronglish+Gabor Szabo, the editor of +Perl Weekly and the author of +Perl Maven had a great idea to translate good Perl tutorials in as many other languages as possible. We already have three Perl articles translated in Romanian
This as a great opportunity for you to learn +Perl by translating (if you don't already know). If, on the other side, you already know +Perl Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0Romania45.943161 24.96676000000002240.2916005 14.639611500000022 51.594721500000006 35.293908500000022tag:blogger.com,1999:blog-4805329720065356881.post-38295359195922033852012-11-26T07:02:00.000+02:002012-11-26T08:49:56.176+02:00London Perl Workshop 2012I am happy that I had the opportunity to be present at what I think is the second most important European Perl conference: the London Perl Workshop. I'll try to describe the short but intense journey in a way that will convince even more people to be present in the future.
We were 19 members of cluj.pm present at LPW - I think we were the second largest mongers group (after the london Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0London, UK51.5073346 -0.127683151.3492066 -0.4435401 51.6654626 0.1881739tag:blogger.com,1999:blog-4805329720065356881.post-15255648137179677462012-11-23T09:56:00.003+02:002012-11-23T11:04:09.287+02:00Repainting the MonasteryEvery time I search for something related to Perl, I stumble upon the Perl Monks site - I stay as little as possible on the site, because I can't stand how it looks - everything is too cluttered.
I feel like I am this guy
travelling 20 years back in time. My opinion is that everything that is more than 10 years old in IT is completely irrelevant and the Perl Monks site looks like it was Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com19tag:blogger.com,1999:blog-4805329720065356881.post-36387808399841887132012-04-14T11:26:00.000+03:002012-04-14T11:26:44.690+03:00Mojolicious Boilerplate EvolutionA while back I wrote about the awesomeness of Mojolicious with Bootstrap from Twitter.
I was then introducing the Mojolicious Boilerplate - a light github repository which is meant to give a head start to any Perl developer who wants to create modern, shiny, good looking (Bootstrap) web apps in simple, logical, easy to learn and really, really fast manner (Mojolicious).
I didn't knew if other Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com1tag:blogger.com,1999:blog-4805329720065356881.post-68610456124635090582012-03-29T18:19:00.000+03:002012-04-02T17:59:44.119+03:00The cost of technical debt: 3.61$ / line of codeWe've all heard of all kinds of metaphors regarding technical debt, but until recently, I never knew of any study that could put a price tag on it.
I guess I'm not the only one unaware of the existence of such a study because I've heard of developers almost crying (before flying away from there) because businesses are not keen on writing tests or refactor code, mainly because the cost of Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com1tag:blogger.com,1999:blog-4805329720065356881.post-34224300539855818672012-03-26T00:36:00.002+03:002014-04-26T23:57:50.759+03:00Perl Teasing Challenge
I am pretty new to Perl - will have 2 years in August 2012 - and I am in love with it. From those 2 years, I spent 8 months on a project which although was written in Perl, was in maintenance mode and I didn't have to code too much.
I feel guilty and some kind of selfish because I don't have a short list of stuff that, showing to other developers would persuade them into start using Perl Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-86860235696342978822012-02-27T13:56:00.001+02:002012-11-19T16:19:42.997+02:00Cluj.PM launch on 2nd of March 2012It's the first meeting in Cluj and I am happy to be one of the speakers. Especially because Matt S Trout (the creator of DBIx::Class) is holding two talks.
This is my first public tech presentation and I will talk about a (what I consider to be) a High Productivity Toolchain: Mojolicious and DBIx::Class in the backend/middlelayer and Bootstrap from Twitter Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0Stefan Octavian Iosif St, Cluj-Napoca, Romania46.772150891484841 23.58995318412780846.771471391484845 23.588719184127807 46.772830391484838 23.591187184127808tag:blogger.com,1999:blog-4805329720065356881.post-24599517971430987942011-10-16T09:37:00.000+03:002011-10-16T09:37:13.776+03:00The best programming language in regard of library availability, ease to find/install a new library and community supportI found a question on stackoverflow about
What is a comparison of famous programming languages in regard of those aspects?And I thought answering the more specific "Which is the best programming language in regard of library availability, ease to find/install a new library and community support?".
The answer is quire obvious:
Perl is hegemonic
it has a single point of access to ALL its Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-6621473873843314732011-10-14T10:21:00.000+03:002011-10-15T11:16:41.313+03:00MySQL `FORCE INDEX` best practices?Hi,
Almost everywhere I read the use of FORCE INDEX is highly discouraged and I perfectly understand and know why - there are immensely huge chances that MySQL knows better what indexes to choose than the (average) developer.
However, recently I have found a case where FORCE INDEX improved my execution times in the range of hundred of times:
JOIN on 4 tables
first Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com1tag:blogger.com,1999:blog-4805329720065356881.post-40982261504031887492010-10-17T16:49:00.000+03:002010-10-17T16:49:33.335+03:00PHP transform absolute path into relative path (string difference)The context
I needed to transform an absolute path, to a relative one.
IE: I had a $path1 = "/var/www/classifieds/Includes/configs"(this was the location of the php script that was executing), and a $path2 = "/var/www/classifieds/images/my_images". From those two paths, I needed something like $path3 = "images/my_images"which could be translated into something like "The difference between the Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0tag:blogger.com,1999:blog-4805329720065356881.post-6142906983291657972010-10-11T22:52:00.001+03:002010-10-11T23:52:49.833+03:00PEAR::DB - debugging the executed MySQL queriesThe context
Recently I had to import data from an XML file into a MySQL table - it was a table with 105 fields from which 71 were direct corespondents in the XML.
The approach
Taking in consideration that there are many fields and the fact that I am good programmer (to be read lazy), I had to automate this - so I found PEAR::DB and I loved the way it works with parameterized queries, sparing me Tudor Constantinhttp://www.blogger.com/profile/08876990355877669184noreply@blogger.com0