Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hleszek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
hleszek
2y ago
When I started at my first company, they had a very complex VB application running on dozens of customers around the country, each having some particular needs of course. There was a LOT of global variables (seemingly random 4 uppercase let
62.
▲
by
hleszek
2y ago
As the current maintainer of graphql-python/gql, the most popular python client, I have to say that you should definitely try again to get an accurate opinion. A lot of changes have been made around that time and we are quite feature-f
63.
▲
by
hleszek
2y ago
A simple list comprehension is quite readable and better IMHO. It is very common and most people will understand directly what it does. Of course, when you have multiple levels or complex lambdas inside, then I agree that the for loop might
64.
▲
by
hleszek
2y ago
Resolution: --- → DUPLICATE
65.
▲
by
hleszek
3y ago
The gravity on the surface should be 3,02÷(1,55^(2)) times the gravity on earth. It is equal to ~1.257 so it's about 25% higher.
66.
▲
by
hleszek
3y ago
Put it on a drone instead and now we're talking!
67.
▲
by
hleszek
3y ago
Apparently it is only possible to do a pre-registration of a domain name. I just bought a .ing for 23,07€ / year on godaddy but someone else could still get that domain before me? What happens in that case? Would I be refunded?
68.
▲
by
hleszek
3y ago
It is known as the XML declaration. It is not specific to any particular organization or group but is a standard part of the XML format itself. This declaration serves several important purposes: Version Information: It specifies the
69.
▲
by
hleszek
3y ago
The easiest and modern way is simply to use asyncio...
70.
▲
by
hleszek
3y ago
On that page, in the table we 1/r² for both electromagnetism and gravitation in the column "Long-distance behavior (potential)". Is that a mistake?
71.
▲
by
hleszek
4y ago
You know what would be nice? To do the reverse: I provide a file path and you can determine in which package(s) it is present.
72.
▲
by
hleszek
4y ago
Those who don't have a GPU could use the Stable Horde: https://stablehorde.net
73.
▲
by
hleszek
4y ago
I see you've got my https://github.com/leszekhanusz/diffusion-ui gui but it seems to be linked to a completely unrelated face-swapping interface? And in communities, you can probably add https://stableh
74.
▲
by
hleszek
4y ago
Or you can stay on automatic1111 and use https://diffusionui.com/b/automatic1111 for better UX.
75.
▲
by
hleszek
4y ago
You can use https://diffusionui.com/b/automatic1111 once the automatic1111 webui is running: - better inpainting - a gallery to easily compare generations and easily regenerate images with small modifications - respons
76.
▲
by
hleszek
4y ago
What a good idea! It could also relatively easily verify if it's correct and only return a result when the test is passing and all the lines (or even paths) are covered.
77.
▲
by
hleszek
4y ago
And thus the AI auto filtering arm race has begun. New filters will appear to detect AI-generated images, then new models will be trained to bypass the filter, then upgraded filters will detect the images made by the new model, etc... In th
78.
▲
Show HN: Guided inpainting with Stable Diffusion using DiffusionUI
(github.com)
2 points
by
hleszek
4y ago
|
0 comments
79.
▲
by
hleszek
4y ago
It's great but it's kind of strange to depend on a private entity to log in on government websites. https://geeko.lesoir.be/2022/06/28/les-belges-pourront-obten...
80.
▲
by
hleszek
4y ago
For subscriptions, you could use graphql-python/gql ( https://github.com/graphql-python/gql ) as a dependency instead of requests and graphql-core directly and support the websockets transport.
81.
▲
by
hleszek
4y ago
There is a cursor pagination spec available: https://relay.dev/graphql/connections.htm which is used quite often.
82.
▲
by
hleszek
5y ago
Well... There is also anal sex.
83.
▲
GraphQL client graphql-python/gql version 3.0.0
(github.com)
2 points
by
hleszek
5y ago
|
0 comments
84.
▲
by
hleszek
5y ago
Valentina ( https://gitlab.com/smart-pattern/valentina ) "Valentina is a cross-platform patternmaking program which allows designers to create and model patterns of clothing. This software allows pattern creation, u
85.
▲
by
hleszek
5y ago
Great! But I don't see any mention of the time and timezone ? EDIT: if you subscribe, you can add the event to your google calendar and it shows: 17:00 - 21:50 (UTC+2)
86.
▲
by
hleszek
6y ago
So, I am missing something, how does it work with the double slit experiment ? the result should never act as a wave without observation if we have spontaneous collapse all the time ? Or is this spontaneous collapse quite rare in practice ?
87.
▲
by
hleszek
6y ago
The presumption that there are always multiple perspectives and that they might be equally valid can be another bias. Especially in the news. Sometimes one party is clearly right and the other is clearly wrong.
88.
▲
by
hleszek
6y ago
I contributed to the GraphQL python client gql (I implemented the websockets transport to allow GraphQL subscriptions using asyncio) https://github.com/graphql-python/gql/pull/70
89.
▲
by
hleszek
6y ago
Hmm no, Sweden is not the only country that is counting dead at care facilities. See Belgium which is on top of the chart presented by Trump: https://translate.google.be/translate?hl=fr&tab=wT&authuser=...
90.
▲
by
hleszek
7y ago
You can put an apollo server on top of prisma and then you can do the subscriptions yourself with a pubsub (redis in our case)
More ›