News for hackers. Stuff that matters.

ergo14

Re:I resigned from Anthropic today on Wednesday September 09, 2026 @04:43AM (#49623308)
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.
Re:Ask HN: Where to find open source house plans? on Wednesday August 23, 2023 @08:09PM (#37243552)
https://www.gunb.gov.pl/projekty-architektoniczno-budowlane

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

Re:Reactivity Without Virtual DOM on Friday February 10, 2023 @09:13AM (#34739798)
Lit also does fine without VDOM and has good performance characteristics.
Re:Why TensorFlow for Python is dying a slow death on Monday January 16, 2023 @04:27AM (#34398647)
You are holding it wrong ;)
Re:You Want Modules, Not Microservices on Friday January 13, 2023 @08:50AM (#34367625)
Ok, how big percentage of them implement data consistency in your company? :)
Re:You Want Modules, Not Microservices on Wednesday January 04, 2023 @06:51AM (#34244505)
So all your microservices implement sagas or other synchronisation patterns that ensure 100% data consistency?
No one pushes for anything agressive in Poland - the only narrative is that we and baltics should be ready to defend ourselves.
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.
Re:Retirement of Amazon MOBI eBook file format on Thursday August 11, 2022 @02:30PM (#32429851)
Thing is Kobo doesn't tie you anywhere - I use it in europe - I never ever used their online store even once.
Re:Retirement of Amazon MOBI eBook file format on Thursday August 11, 2022 @12:14PM (#32427919)
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.
Re:Heaps: A free, open-source and cross-platform game engine on Saturday April 09, 2022 @04:41PM (#30971849)
I really love what Nicolas is doing. But it kinda feels like whole Haxe ecosystem driving force is this one guy.
Re:Cython is 20 on Friday April 08, 2022 @07:08AM (#30955532)
In this case was multicore computation without GIL if i remember correctly.
Re:Cython is 20 on Monday April 04, 2022 @05:40AM (#30904758)
We speed up our ML code 40 times using it.
Re:Rich Harris joins Vercel to work on Svelte full time on Thursday November 11, 2021 @11:43AM (#29190003)
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.
Re:I switched from macOS to Linux after 15 years of Apple on Friday August 27, 2021 @04:12AM (#28325433)
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.
You could probably separate those with tooling.
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.
Re:Whistleblower: Ubiquiti Breach “Catastrophic” on Wednesday March 31, 2021 @03:05AM (#26644310)
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.
Re:SQLAlchemy 1.4 on Wednesday March 17, 2021 @10:18AM (#26491559)
But can it do everything sqlalchemy can do? It is not a data mapper ORM it seems.
Re:jQuery 3.6.0 on Tuesday March 02, 2021 @02:50PM (#26319666)
or Lit-Element.
Re:Monolith First (2015) on Friday February 19, 2021 @05:53AM (#26191704)
I don't think we've ended up with libs that share state in a dangerous way, maybe we got lucky.
Re:Monolith First (2015) on Friday February 19, 2021 @04:47AM (#26191283)
Weird, we do it with Python all the time. Just don't use globals/threadlocals everywhere and you will be good.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @05:17PM (#26186511)
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.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @04:58PM (#26186248)
The trick is to always auto close transactions at the end of the request.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @04:48PM (#26186140)
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.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @04:31PM (#26185903)
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @04:30PM (#26185892)
Doesn't, I wanted to show how it can be wired to request.
Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @02:22PM (#26184259)
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 ;-)

Re:Migrating to SQLAlchemy 2.0 on Thursday February 18, 2021 @02:04PM (#26184057)
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.

Older »