Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gethly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
gethly
10mo ago
Oauth's PKCE verifies the continuity of the flow as it is essentially a saga(multi-step process). For example you can initiate oauth access grant request multiple times with the same data, but PKCE ensures that each of those initiation
212.
▲
by
gethly
10mo ago
You can hardly beat the first one to market due to momentum, time, data, user base ... LinkedIn flipped the job hunting from job offers DB to CVs DB with networking aspect and added jobs and more social aspect later. On the other hand, the
213.
▲
by
gethly
10mo ago
the only reason why one might hold such an opinion is the lack of syntax highlighting.
214.
▲
by
gethly
10mo ago
ah right, ffmpeg requires the -i, not vips.
215.
▲
by
gethly
10mo ago
This is pointless discussion as Go has all of these things already implemented, so there is no point in going backwards.
216.
▲
by
gethly
10mo ago
Load and related expressions would be appropriate. Import implies the data is being put into the code, just like the plugins/modules.
217.
▲
by
gethly
10mo ago
> Also think about returning lambda's. Should it look like this? > > fn foo(n i32) (i32 i32) {} It should be fn foo(n i32, m i32) (i32, i32) {} It will also allow future implementation of named returns, like in Go:
218.
▲
by
gethly
10mo ago
oh, yeah. that looks good. i always hated using ", " delimiter for lists and the amount of typos it always takes to make clean(well, not with Go fmt). Odin seems interesting but for me it has two deal-breakers: first one use the u
219.
▲
by
gethly
10mo ago
I use VIPS cli https://www.libvips.org I think converting HEIC into jpg would be simple vips copy -i src.hif out.jpg Although I have not used it for a while so not sure it is exactly that. It also does not support batches
220.
▲
by
gethly
10mo ago
I cannot answer the question as it requires context. But I will say that I have a personal domain with mail forward and when I register anywhere, I put domain@mydomain.com, so then I know who is leaking my email. For example ycombinator@joh
221.
▲
by
gethly
10mo ago
Remove all of that noise. Take this: fn fib(n: i32) -> i32 {} The (n: i32) can be just (n i32), because there is no benefit to adding the colon there. The -> i32 can also be just i32 because, again, the -> serves no purpose
222.
▲
by
gethly
10mo ago
This is a bit silly but when i look at new languages coming up I always look at the syntax, which is usually horrible(Zig and Rust are good examples), and how much garbage there is. As someone that writes in Go, I can't stand semicolon
223.
▲
by
gethly
10mo ago
I went for physics degree but left after two semesters due to lack of structure and other things(essentially I had no idea what was going on the entire time, what I was supposed to know or do, what books to buy, it was quite a shitshow desp
224.
▲
by
gethly
10mo ago
I always used bitbucket. I have github solely to create issues for some projects or put projects into favourites so I can find them easily when I need to. Bitbucket had two outages that I remember but it never impacted me.
225.
▲
by
gethly
10mo ago
Yeah, i have the same experience. The problem is that Facebook Groups decimated online forums. Those used to be great for thematic communities but became deserts and I think that whenever someone introduces something they did, whether paid
226.
▲
by
gethly
10mo ago
I think it is quite obvious - the author has found out that a memory trick that used to work in previous Go versions no longer works - in this sigular use case.
227.
▲
by
gethly
10mo ago
Empty struct is good for representing non-nil zero-length information, for example this is ideal for many use cases where channels are involved. Or of you have a http route and you want to return empty response(200 OK or 204 No Content, ins
228.
▲
by
gethly
10mo ago
> The amount of performance you can extract from a modern CPU if you really start optimising cache access patterns is astounding I think this was one, and I want to emphasise this, of the main points behind Odin programming language.
229.
▲
by
gethly
10mo ago
> I’d move durability, read and write scale, and high availability into being distributed So, essentially just CQRS, which is usually handled in the application level with event sourcing and similar techniques.
230.
▲
by
gethly
10mo ago
:D this went exactly as i expected.
231.
▲
by
gethly
10mo ago
Definitely not. Disclosing your code makes sense only if you are young and want to have something to show to recruiters in case you are looking for a job as a proof that you know what you are doing. But that is a young man's game. You
232.
▲
Ask HN: Show and tell your successfull sideprojects based in EU
3 points
by
gethly
10mo ago
|
3 comments
233.
▲
by
gethly
10mo ago
Well said.
234.
▲
by
gethly
10mo ago
Those are just providers that support the ACME protocol, not free certificate providers.
235.
▲
by
gethly
10mo ago
Name one, baseide the NSA run Cloudflare.
236.
▲
by
gethly
10mo ago
What is the point of shortening the life time to 45 days? Why not 60 seconds? That's way more secure. Everything is automated after all, so why risk compromised certificate for such a long period, like 45 days? Or how about we issue a
237.
▲
by
gethly
10mo ago
Something trivial as matching people based on interest. We have social networks and various marketplaces but we are still unable to pair/match people based on desired activities, items for sale, services, relationships(online dating),
238.
▲
by
gethly
10mo ago
Silver and copper are the best investments exactly because of present and future underuspply.
239.
▲
by
gethly
10mo ago
I'm not even going to read it because its dumb. If a company has less employees due to automation, its profits go up due to lower costs. If government tries to extract higher taxes from such company due to automation taking jobs away f
240.
▲
by
gethly
10mo ago
:thumbs_up: :)
More ›