129 karma · joined Jan 29, 2010 (16y ago) · 35 submissions
3.
Apple auth keys currently having issues(appleid.apple.com ↗)
3 points · by antoineleclair · 2mo ago · 2 comments
comment 2mo ago · link · parent
https://en.wikipedia.org/wiki/Hans_Island
Also, I think the constraint to be in the EU is that it has to be "an European country". It's relatively vague.
6.
Show HN: Is It Greg?(github.com ↗)
65 points · by antoineleclair · 2mo ago · 18 comments
11.
SolarWinds is shutting down Librato(thwack.solarwinds.com ↗)
2 points · by antoineleclair · 1y ago · 1 comment
comment 1y ago · link · parent
It's so simple and it can run anything, and it was also relatively easy to have the CGI script run inside a Docker container provided by the extension.
In other words, it's so flexible that it means the extension developers would be able to use any language they want and wouldn't have to learn much about Disco.
I would probably not push to use it to serve big production sites, but I definitely think there's still a place for CGI.
In case anyone is curious, it's happening mostly here: https://github.com/letsdiscodev/disco-daemon/blob/main/disco...
comment 2y ago · link · parent
All of your income that's not invested for retirement goes to a joint account, every 1st of the month. From that joint account, you then move the money to many different accounts and/or prepaid credit cards: - Day to day expenses, like groceries. - "Irregularities": municipal taxes, school taxes, things that don't happen every month, like car inspection, veterinary, vacation expenses. You add everything in a spreadsheet that you keep, and divide by 12. Add some padding. - Home improvements, aka "IKEA" account. Fixed amount every month. If it's a good that you buy to add you our home (coffee machine, chair, curtain, etc.), that's the account. If it's a consumable (gas for the car), use "day to day expenses". - Individual accounts: each one of you have an account that you decide what to do with. Buying clothes, hobby, etc. aka "I'm an adult, I do what I want". - Kids: There's always something to buy. Clothes, etc. - Automatic payments are taken from the main joint account, but you could also have another account if it makes it easier.
This method can get confusing and you may need to move money from one account to another one when the wrong card was used. But the main advantage is that it automatically budgets for you. You see the amount remaining for the month for everything. Otherwise, you may think that you still have plenty of money to spend on the grocery, so you buy a nice coffee machine, and then the mortgage and car payments happen and you're left with nothing for the rest of the month to do the grocery.
The main goals we had when using this method were to never use a credit card (and lose track of how much money we have), and also accommodate for the discrepancy in our revenues at the time.
comment 2y ago · link · parent
comment 2y ago · link · parent
I've used something similar in the past, but kept the expiration code in the app code (Python) instead of using "fancy" Postgres features, like stored procedures. It's much easier to maintain since most developers will know how to read and maintain the Python code, that's also commited to the git repository.
Also, instead of using basic INSERT statements, you can "upsert".
INSERT INTO cache_items (key, created, updated, key, expires, value) VALUES (...) ON CONFLICT ON CONSTRAINT pk_cache_items DO UPDATE SET updated = ..., key = ..., expires = ..., value = ...;
And since you have control over the table, you can customize it however you want. Like adding categories of cache that you can invalidate all at once, etc.
Postgres is also pretty good at key/values.
In other words, I agree that using Postgres for things like caching, key/values, and even maybe message queue, can make sense, until it doesn't. When it doesn't make sense anymore, it's usually easy to migrate that one thing off of Postgres and keep the rest there.
Also, one benefit that's not often talked about is the complexity of distributed transactions when you have many systems.
Let's say you compute a value inside a transaction, cache it in Redis, and then the transaction fails. The cached valued is wrong. If everything is inside of Postgres, the cached value will also not be commited. One less thing to worry about.
comment 12y ago · link · parent
21.
The Importance of Idempotence(antoineleclair.ca ↗)
2 points · by antoineleclair · 12y ago · discuss
comment 14y ago · link · parent
As smackfu noted, the water drops are not exactly the same. But obviously, since it's very similar, we'll change it. It's very accidental and far from intentionnal.
comment 14y ago · link · parent
I decided to post it on HN anyway to get feedback ASAP.
Thanks for the example. The original (French) question is more like "Do you keep the documents?". I'll have this fixed.
comment 14y ago · link · parent
One of the co-founders is a lawyer by profession. I just noticed him with your interrogation.
From my understanding (again, I'm not speaking as the legal expert), what we do in case of a dispute regarding the legality of the signature process is providing a legal expert that will explain the process and why it's legal. We are not paying for a lawyer to defend the case in court.
comment 14y ago · link · parent
Most still use a fax, which is incredibly insecure (how can you be sure who signed?). Other online solutions either use simple email reply or a hand-written signature.
Just to clarify the process, once you uploaded your file and chose the signatories, Signsquid sends a link to each signatory. Each one of them has its own unique link. Then, the sender (you), gain access to the list of codes assigned to each signatory. Again, each one of them as one unique code. You have to call them by phone to tell them the code.
If someone wanted to "hack" the process, he would have to gain access to the inbox of the user and also fake his voice over the phone.
comment 14y ago · link · parent
Also, you can try it for free for one month.
Thanks for the comment, we'll certainly discuss the possibility of adding a live demo somewhere.
comment 14y ago · link · parent
We use a combination of a unique link, sent by email, and a unique secret code, told by phone, for each signatory. This way, we can be sure the good person signed.
Also, we decided to not enter the contract redaction process. You simply upload the pdf that will be signed.
Once the contract is signed, a page that contains the audit trail (who signed and when) is appended.