Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
FrancoisBosun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
<< n vs. 1U << n and a cell phone autofocus problem
(rachelbythebay.com)
2 points
by
FrancoisBosun
3y ago
|
0 comments
32.
▲
by
FrancoisBosun
3y ago
I logged in just to upvote this! Got a good chuckle out of me :)
33.
▲
by
FrancoisBosun
3y ago
DoshDorington did something like that… https://www.youtube.com/watch?v=HzpUQZIr15g&t=900s&pp=2AGEB5...
34.
▲
by
FrancoisBosun
3y ago
Not the author, but PostgreSQL has constraint triggers that can run procedures / functions on insert/update/delete, to allow/reject a given row or statement. That would be one way to confirm that a given update from a cl
35.
▲
by
FrancoisBosun
3y ago
It is striking that most generated photos have the woman on the left. Only two states have the woman on the right. This is probably due to the source material the AI was trained with, I understand, but that was striking anyway. Human taste
36.
▲
by
FrancoisBosun
3y ago
« … With Ruby Infrastructure. » Ruby isn’t doing the compute. Instead, Ruby is used to distribute and run workloads on individual machines. The underlying project is Peplum: https://rubygems.org/gems/peplum/version
37.
▲
by
FrancoisBosun
3y ago
Mosh has latency-hiding mechanisms. I used mosh for a bit on while riding a bus. Latency-hiding helped quite a bit to keep the UI responsive.
38.
▲
by
FrancoisBosun
3y ago
The downcasing in done in Ruby-land, thus the records had to be loaded in memory, on the worker. If the downcasing was done on the DB itself, then the records would not have needed to travel all the way to the worker, only to be discarded 2
39.
▲
by
FrancoisBosun
4y ago
In PostgreSQL, if a DB exception is raised (unique_violation), the whole transaction will abort: there is no way to retry.
40.
▲
by
FrancoisBosun
4y ago
When the dependency is deprecated, I have to stop what I'm doing and replace the dependency. If the dependency has a show-stopper bug, I either have to wait, vendor the dependency, or rewrite. That's what the original article advo
41.
▲
by
FrancoisBosun
4y ago
Trust (2011) is a movie that shows us how the pedophile works. Trust is a movie about a 14 year old girl that falls prey to a man, and the process by which he got what he wanted. I highly recommend the movie. https://www.imdb.com
42.
▲
by
FrancoisBosun
4y ago
In Canada, it is not. If you don’t join the union, you may still benefit from the union’s bargaining power so you will pay some dues to the union. I would presume this varies per region.
43.
▲
by
FrancoisBosun
4y ago
This is called PostgREST: https://postgrest.org/ . Never used it in production, but PostgREST leverages multiple PostgreSQL features: row-based security, schemas, authorizations, etc. I quite like PostgREST, and I'd use
44.
▲
by
FrancoisBosun
5y ago
The functional language does do away with loops, but when the rubber nets the road, you don’t have any choice: somewhere, something will execute the equivalent of “for(int i = 0; i <= 10; i++) {}”. When I implemented Mindcode, I realized
45.
▲
by
FrancoisBosun
5y ago
If it isn’t syntax then it is a function/method call. By being a method call, one can define default options, allowing overridability.
46.
▲
by
FrancoisBosun
5y ago
For better or for worse, we have “agreed” to the teens and conditions …
47.
▲
by
FrancoisBosun
5y ago
Shift + /, when using fr-CA, does return É. Is that what you meant with "two keys". For œ or Œ, I use Option+Q or Option+Shift+Q (Mac Big Sur).
48.
▲
by
FrancoisBosun
5y ago
I set this up differently: my user gitconfig has my personal email. In my work monorepo, I have a local gitconfig where I set/override the email and GPG settings. Still, this is a neat thing too.
49.
▲
by
FrancoisBosun
5y ago
From my understanding, this is total message size, but packet. If a receiver has two incoming messages, a batch upload and a query for a list, the batch upload may have 10MiB to transmit while the other message may only have 1KiB. This, to
50.
▲
by
FrancoisBosun
5y ago
What about a key named “_comment”, or something similar? Of course, the underlying software must ignore unknown keys, so it’s not a full win anyway.
51.
▲
by
FrancoisBosun
5y ago
Jim Weirich wrote rspec-given. This gem allows one to write really nice assertions: Given { @stack = Stack.new } When { @stack.push(1) } Then { @stack.peek == 1 } And { @stack.size == 1 } What you wish for is embedded i
52.
▲
by
FrancoisBosun
5y ago
Well explained article. Good job OP!
53.
▲
by
FrancoisBosun
6y ago
That is what OP was talking about: after you've done the change, make a commit with just that tiny refactoring. Once you're done and ready to review your work, you can cherry pick just that fix and move it to main / master &#
54.
▲
by
FrancoisBosun
6y ago
If you haven't, Sqitch[1] is a great tool. [1] https://sqitch.org
55.
▲
by
FrancoisBosun
6y ago
The article is about reducing R and maintaining it at or lower than 1. Yes, the article does not have sliders for age, CFR and IFR and what not, but the fact remains that people reading this must understand how to reduce R. I found it very
56.
▲
by
FrancoisBosun
7y ago
Similar concept, in Ruby, acting as a filter in a pipeline, by me: https://github.com/francois/surrender
57.
▲
by
FrancoisBosun
7y ago
Maybe because of the large increase in complexity?
58.
▲
by
FrancoisBosun
7y ago
In 5 years, I used !g maybe once. I use !pg, !wen and others very frequently.
59.
▲
by
FrancoisBosun
7y ago
The difference is my customer's don't have a first-party relationship with the data store that holds their password. browser -> www.example.com browser -> www.example.com -> Base That's the biggest prob
60.
▲
by
FrancoisBosun
7y ago
Looks nice. I’m uncomfortable pushing the password in plaintext to an unknown entity. I can always bcrypt the password locally before sending it through the API, but it would be great to see examples of this, to prevent deva from pushing se
More ›