Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spapas82
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
spapas82
4y ago
Either I don't understand what AGI is or openai doesn't understand what AGI is. Because of the way gpt 3,4,5 or even 1000 works it can't be possible for AGI to be achieved. How could we say that we've got AGI when the &q
182.
▲
by
spapas82
4y ago
A simple optimization in these cases is to keep the connection open (see https://docs.djangoproject.com/en/4.1/ref/databases/#persist... )
183.
▲
by
spapas82
4y ago
This is very useful! I'm gonna start integrating it with my projects. However having a way to allow/not allow n+1 queries (like a context manager) would be much better. The thing is that there are times where n+1 isn't a big
184.
▲
by
spapas82
4y ago
This reminds of the Watchmen series. The policemen there wore masks (similar to superheroes) to avoid retribution by citizens.
185.
▲
Direct to S3 file upload with Django
(hacksoft.io)
1 points
by
spapas82
4y ago
|
0 comments
186.
▲
Accessing MS Access Databases from Python and Django
(spapas.net)
1 points
by
spapas82
4y ago
|
0 comments
187.
▲
by
spapas82
4y ago
> And I found myself asking: Where the heck is nginx.conf? The author lists some ways but misses the standard Unix way: simply use locate https://en.m.wikipedia.org/wiki/Locate_(Unix) Using locate maybe piped to g
188.
▲
by
spapas82
4y ago
I usually do a `history | grep something | grep somethingelse` to find stuff in my history
189.
▲
by
spapas82
4y ago
cut is a part of git for windows. It should be inside "c:\Program Files\Git\usr\bin\" folder. So after adding this folder to your path `rg . | fzf | cut -d ":" -f 1` should work. However I wasn't able to actually us
190.
▲
Meta Manager Was Hacked with Spyware and Wiretapped in Greece
(nytimes.com)
2 points
by
spapas82
4y ago
|
0 comments
191.
▲
by
spapas82
4y ago
Actually it definitely is possible to self host plausible analytics! It's an open source project with an AGPL license. You can even find instructions for self hosting here: https://plausible.io/docs/self-hosting P
192.
▲
by
spapas82
4y ago
The data in this article mentions that the most popular resolutions for desktop were 1920×1080 (9.94%) and 1366×768 (6.22%). The numbers don't really add up. What are the other possible resulutions? I'd presume that these two wo
193.
▲
by
spapas82
4y ago
There's a "standard" way of how greek words should be transliterated in English (ELOT 743). You can test it here https://www.passport.gov.gr/passports/GrElotConverter/GrElot... And yes, Eleftherios
194.
▲
by
spapas82
4y ago
Correct. Thee same pronunciation exists in ancient greek for example ευ ζην is ef zin (the good life). Also the ευ situation is a little more complex ie sometimes it is pronunciated as ev (depending if the next letter is a vowel).
195.
▲
by
spapas82
4y ago
If it's from the greek word for freedom (ελευθερία) then i guess elefther: ele (like electric) f the (like thesis) r.
196.
▲
by
spapas82
4y ago
SEEKING WORK Location: Athens, Greece Remote: Only remote Willing to relocate: No Technologies: Django, Python, Elixir, Phoenix, SQL, JS, Linux, RHEL Email: spapas at gmail com Experienced software engineer (15 years of experience). My avai
197.
▲
by
spapas82
4y ago
The Django docs also mention that https://docs.djangoproject.com/en/4.1/topics/db/models/#diff... > If you are mirroring an existing model or database table and don’t want all the original data
198.
▲
by
spapas82
4y ago
This project is very similar to django components https://pypi.org/project/django-components/
199.
▲
by
spapas82
4y ago
> Interesting article. Having the built in Redis via ETS is slick. This isn't really true. Although having a built in redis may be possible, the fact is that production elixir projects do use redis on a lot of cases (for example a
200.
▲
by
spapas82
4y ago
My experience is also exactly like this. I have a project in java/spring and it uses hibernate as an ORM. I can't think of how much better is the Django ORM than hibernate. When people express hate for ORMs I understand where this
201.
▲
by
spapas82
4y ago
Please notice that nothing stops you from defining a non managed (ie Django migrations won't mess with it) model pointing to the same table and having declared only three of the fields of the original model.
202.
▲
by
spapas82
4y ago
> instead of simply being able to change the code, you need to find the exact hook or configuration to get the behavior you want. I don't think that this is a bad thing. This is the purpose of a framework. To extend its functionalit
203.
▲
by
spapas82
4y ago
Not really. Real time is not the same as super-fast. You can be real time but super slow or super fast using traditional request/response web apps. When I mentioned real-time I was talking about apps that need to use web sockets to hav
204.
▲
by
spapas82
4y ago
I've got experience in both Phoenix and Django and I disagree. In my view, Phoenix is the less clean one: Django does not generate anything through scaffolding like Phoenix. Your CRUD (and auth and forms and everything more or less)
205.
▲
by
spapas82
4y ago
This gives a mathematical martingale. I only know the betting strategy martingale https://en.m.wikipedia.org/wiki/Martingale_(betting_system)
206.
▲
by
spapas82
4y ago
I'm hijacking the thread but I'd be grateful to read about other people hemorrhoids experience. I'll start: I had hemorrhoids which had to be operated because they become thrombosed. So I did a surgery (with general anaesthe
207.
▲
by
spapas82
4y ago
Good old pgp (in the form of using gnupg to send encrypted emails) is safe. Make sure that you trust the correct keys though. Non standard solutions are a recipe for disaster.
208.
▲
by
spapas82
4y ago
Yes, you are right on that. If the server is compromised a malicious user may change the client-side code to add a backdoor and steal your private key when you unlock it. He'll be able to steal only the keys that are unlocked while the
209.
▲
by
spapas82
4y ago
Recently I had to convert a bunch of well structured XMLs to csvs (flattening). I downloaded the apache xalan-c (xslt engine) and xerces-c(xml engine) windows binaries from 2004 (!) and to my surprise they worked fine on windows 10. After t
210.
▲
by
spapas82
4y ago
For anybody that still believes in gpg and is interested in using it to transmit data across his organisation we've built https://github.com/spapas/etsd . This is a project that holds the hands of the users of an o
More ›