Better HN
topnewbestaskshowjobs
Log inSign up

ergo14

3,422 karma · joined Aug 29, 2010 (16y ago) · 867 submissions

Web application developer, specialised in web projects. Experienced in social media and marketing research sofware developement. My favourite weapon of choice is Python in conjunction with Pyramid Web Framework, PostgreSQL database, and LitElement/React/VueJS for javascript.

Founder of https://getappenlight.com

Email: marcin@webreactor.eu

Submissions

comment 2mo ago · link · parent

That's a lot of absolutes. And there is no defensible proof, just anecdotal evidence. I've been in a few companies from EU and US - and in my experience it is not ture. However after working for US companies I can understand why one would come to your conclusion, however the world is bigger than our bubbles.

comment 3y ago · link · parent

https://www.gunb.gov.pl/projekty-architektoniczno-budowlane

Here you can find multiple projects for free approved and shared by gov agency.

comment 3y ago · link · parent

Lit also does fine without VDOM and has good performance characteristics.

comment 3y ago · link · parent

You are holding it wrong ;)

comment 3y ago · link · parent

Ok, how big percentage of them implement data consistency in your company? :)

comment 3y ago · link · parent

So all your microservices implement sagas or other synchronisation patterns that ensure 100% data consistency?

comment 4y ago · link · parent

No one pushes for anything agressive in Poland - the only narrative is that we and baltics should be ready to defend ourselves.

comment 4y ago · link · parent

Try https://channelstream.org/ - you can talk via rest calls to it - it scales up to thousands of connections on a single small machine. You have tiny JS WS/long pool clients available with reconnection logic or you can roll your own if you like.

comment 4y ago · link · parent

Thing is Kobo doesn't tie you anywhere - I use it in europe - I never ever used their online store even once.

comment 4y ago · link · parent

I have Kobo H2O and it works great till this day. I charge it very rarly - maybe every 2-3 months. It reads everything I like. And it was one of the first with IP68 certification.

comment 4y ago · link · parent

I really love what Nicolas is doing. But it kinda feels like whole Haxe ecosystem driving force is this one guy.

comment 4y ago · link · parent

In this case was multicore computation without GIL if i remember correctly.

comment 4y ago · link · parent

We speed up our ML code 40 times using it.

comment 5y ago · link · parent

I think stencil or Lit are more interesting. I'm not sure I'm the fan of small libs like Lit or preact - I think for scenarios where you have more than 2-3 elements you will have less bytes over the wire very quickly.

comment 5y ago · link · parent

My dell e5470 will bluescreen 80% of time when connecting a screen via HDMI on windows 10. Nothing like that happens under linux. The "it just works on other platform" is a myth - they all suck in different ways.

16.

Poles protest bill that would silence US-owned TV network(apnews.com ↗)

2 points · by ergo14 · 5y ago · discuss

comment 5y ago · link · parent

You could probably separate those with tooling.

comment 5y ago · link · parent

Then maybe look at https://lit.dev/ it might be perfect solution for you, stencil i've heard is also nice. Since its custom-elements you just add custom tags and they will self upgrade.

comment 5y ago · link · parent

TP-Link is not cloud based - you can run the controller locally. https://www.tp-link.com/pl/support/download/omada-software-c... - Downloadable here.

comment 5y ago · link · parent

But can it do everything sqlalchemy can do? It is not a data mapper ORM it seems.

comment 5y ago · link · parent

or Lit-Element.

comment 5y ago · link · parent

I don't think we've ended up with libs that share state in a dangerous way, maybe we got lucky.

comment 5y ago · link · parent

Weird, we do it with Python all the time. Just don't use globals/threadlocals everywhere and you will be good.

comment 5y ago · link · parent

Imagine be you build a "search users" page with many filters, you will end up inventing query builder at one point. The more dynamic data you need, you will end up reinventing those systems. The worst that can happen is when you start concatenating sql queries together.ORM/query builders save you that headache.

comment 5y ago · link · parent

The trick is to always auto close transactions at the end of the request.

comment 5y ago · link · parent

Same here, I'd like to dive into golang. But there is nothing as good as SQLAlchemy. Maybe with generics we will start seeing some projects that can fill the gap.

comment 5y ago · link · parent

Like... Query.join(), https://docs.sqlalchemy.org/en/13/orm/tutorial.html#querying... .

comment 5y ago · link · parent

Doesn't, I wanted to show how it can be wired to request.

comment 5y ago · link · parent

Check out how things are wired with in this Pyramid cookie cutter.

https://github.com/Pylons/pyramid-cookiecutter-starter/blob/...

I think same approach should work well for flask - just tie the session to the request object on first access.

Side note: I think we met on IRC few years ago ;-)

comment 5y ago · link · parent

We are running sqlalchemy in a giant environment - hundreds of millions of users. SQLAlchemy has been a blessing for us. Blame users that use flask-alchemy or whatever else is cool. This is exactly the same type of comment that blames ORM-s for ineffective SQL being used because people don't know how to write the queries in the first place.
12345
29