Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jordic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
jordic
8y ago
Same opinion on redux.. but I will not pick django on the py world (I had done too much projects with it and think that there are better approaches (pyramid/flask on the sync world and aiohttp on the async side). Async python had made
92.
▲
by
jordic
8y ago
zope, the zca and plone. But so happy to jad discovered these awesome tools :)
93.
▲
by
jordic
9y ago
there is also a thirth option. A small pod listening for node changes on k8api, that whitelists ips on cloudsql. I have been using this since two years ago.
94.
▲
by
jordic
9y ago
i use docker for all the related services.. postgres, redis, solr, zeo... but i use virtualenv and pip. I also use setup.py for declaring entrypoints and coordinate all the services (i don't like too much the docker compose aproach). a
95.
▲
by
jordic
9y ago
python3.6 -m venv . && source bin/activate (this builds around the idea every project is a python package itself). pip install -e .
96.
▲
by
jordic
9y ago
last project i setup parceljs with yarn and is so easyyyy.. :) nvm is my day saver :)
97.
▲
by
jordic
9y ago
same here. Also I'm quite happy about the level of integration between pycharm and frontend things (eslint, babel, react...) I never have to switch editors again. I trend to have a bash script for sourcing node versions... setting the
98.
▲
by
jordic
9y ago
just for curiosity, how you type an equivalent of a ts union?
99.
▲
by
jordic
9y ago
The problem is that for spainyards Catalonia is just the old and rich colony. And they want to continue plunde it :( If you look at a map you will understand the reason for why spain wants to hide and prevent a referendum.
100.
▲
by
jordic
9y ago
I think you had studied only the Spanish history O_O. You need to look for alandulus, la marca hispana and països catalans at Google... :)
101.
▲
by
jordic
9y ago
Judges managing the top tribunal are choosen from the main Spanish politic party. And also they are managing them to hide all their corrupt causes. Most of main Spanish gov are direct inheritors of Franco.
102.
▲
by
jordic
9y ago
Not true. It's a troll comment from unionism.
103.
▲
by
jordic
9y ago
That's not true. Catalonia had been a nation since before Spain. Catalan government is just trying to do a referendum to check if independence makes sense. Spanish gov is affraid of checking it because they know what can happen. On Spa
104.
▲
by
jordic
9y ago
That's not clear that there is a 50 % of people that don't want the independence, and anyway the referendum is the only way to check if the independence is the way for the majority.
105.
▲
by
jordic
9y ago
That's not true. Actually there is no power separation on Spain. Judicial system and TC is an extra arm for the govern.
106.
▲
by
jordic
9y ago
Catalonia had been a nation since the 10th century. Spanish gov doesn't want a referendum because their are afraid on loose....
107.
▲
by
jordic
9y ago
I'm used to start working at 5am or early... Just to be on the zone without distractions (email, phone... )
108.
▲
by
jordic
9y ago
Are we talking about the same? I only use preact because react is so weight for the web :)
109.
▲
by
jordic
9y ago
If you really need this you can use zope.interface to enforce class immutability..
110.
▲
by
jordic
9y ago
I discovered zope some months ago and I really must say that is impressive. Once you get the ZCA and the object publishing is really easy to build things. Zodb is also a good tool! Plone has a good and rich ecosystem and as a CMS is far a w
111.
▲
by
jordic
9y ago
On my next side project will use pyramid next aiohttp or tornado. Python has a good ecosystem of libs. Pick one when you need it. Django is perhaps the less pythonic option. After some time doing go and js.. I prefer the lib approach.. on
112.
▲
by
jordic
10y ago
With angular there is no easy way of mixing it with html content from a CMS (something that was powerful with angularjs).
113.
▲
by
jordic
10y ago
That's one of the problems.. it only covers an slice of the front-end space. And also there is some kind of lock-in.. you can't reuse your components for something else.
114.
▲
by
jordic
10y ago
Take the CSS for an small button and add all the variations you need. And after some time someone not so skilled like you arrives and adds a padding to the first button. That on scale it's not easy solvable. And that's the reason
115.
▲
by
jordic
10y ago
Because your state is spread everywhere... I used a lot angularjs before, and it's not bad, but I must admit that the jsx abstraction is so powerful.
116.
▲
by
jordic
10y ago
Take a rich component from your angular UI/lib and export it as a web element. (React/preact/vue/polymer) can! Manage an stream of html comming from a backend CMS. An upgrade their DOM.
117.
▲
by
jordic
10y ago
Till you try to build a web c omponent or embed an agular2 app in an existent DOM (haha)
118.
▲
by
jordic
10y ago
So clever... but how you know that this software is not some kind of adware... (Super Ugly things, on this kind of tools... )
119.
▲
by
jordic
10y ago
Don't miss the point that every morning when you open your laptop you will be proud of using a free Desktop.
120.
▲
by
jordic
10y ago
If isn't opensource You can't trust it.
More ›