HNHacker News
TopNewBestAskShowJobs

alain_gilbert

475 karma · joined June 23, 2011

http://agilbert.name/

alain.gilbert.15@gmail.com

submissionscomments
alain_gilbert··on Password of three random words better than complex variation, experts say
I read somewhere that a hacker called support, and when they asked the security questions, he said: "I remember just putting any gibberish in there."

And voila, support person opens the door for you.

alain_gilbert··on NSA Urges Government Workers to Avoid Public Wi-Fi
https://web.archive.org/web/20210805020039/https://www.nytim...
alain_gilbert··on Call it a comeback: Turntable.fm raises $7.5M
“Speakeasy"
alain_gilbert··on First steps with Rust
Unfortunately, it is impossible to have secure websocket (wss) without using "async". (as far as I know)
alain_gilbert··on First steps with Rust
easier said than done though. I tried the second option (calling callback with a mut reference to self) but I couldn't make it all work. I think I also had issues with "async" in a closure that could not be done.

Anyway, if you can make it work, I'll study your code religiously !

alain_gilbert··on First steps with Rust
If you are interested in rust and want a very simple project to try it on:

I made a bot library for https://turntable.fm/ in javascript -> https://github.com/alaingilbert/Turntable-API

Then I rebuilt it in go -> https://github.com/alaingilbert/ttapi

Then I tried to write it in rust, but the pattern isn't really good with the borrow checker, I cannot make this work -> https://github.com/alaingilbert/rust-ttapi/blob/47282b7a334d...

So if someone can find a good pattern to use for this type of library, I would gladly want to learn.

Pull requests are welcome, I'm also always on discord if you want to chat.

alain_gilbert··on How we bootstrapped a $1M ARR email client
Congrats on the success! I always like to see familiar faces when I randomly read HN articles :)
alain_gilbert··on Ask HN: What do you hate about Google Search?
When I search for something, then just as I am about to click a link in the results, some panel animation scroll half the results down and I click on a completely unrelated link.
alain_gilbert··on Software engineering topics I changed my mind on
I see two different scenarios for this:

Open source: in open source, I hope people want their contributions to be visible, so that they can brag about it, or put it in their resume.

Business: in business, maybe some people wants to hide some contributions they made in order to avoid being blamed for broken code.

But at the same time, if you have code stats and you see that an engineer owns less than x% of the codebase, it could be seen as a bad sign.

alain_gilbert··on Software engineering topics I changed my mind on
There is a new sentence in the "Things I've changed my mind on" section:

> Things I now believe, which past me would've squabbled with:

That phrase was not there originally when the article was posted.

alain_gilbert··on Software engineering topics I changed my mind on
I used to be an "insane weirdo", but at some point I gave up.

Now, I just focus on code correctness, merge and fix the code style myself, avoiding a lot of useless back and forth.

My hope is that people like to see their name when they "git blame" (what's the PC version of "blame" again?)

So they will over time learn to follow the code style in order to keep their name there.

alain_gilbert··on FBI agents track cell phones that pinged near the Capitol
And yet, the DMV cannot have access to a I94 form even if they already have all the information.

And they also need me to print it so that they can scan it back in their computer system !

What a world we live in.

alain_gilbert··on Git2graph: Generate a Git graph structure from linear Git history
The goal of this library was not to visualize the graph, but to embed it in your own software.

So if you want to use cairo to render the graph in your native app, you can use it. The renderer is really simple because the go library does all the computation of how to actually render the graph. It tries to be as close looking as possible as "sourcetree" algorithm.

Not sure if this is clear explanation or not !

alain_gilbert··on Git2graph: Generate a Git graph structure from linear Git history
The goal of this library was to create a clone of sourcetree algorithm that you can use, the way you want, in your own software. You can actually try `git2graph -r` (inside a repository directory) and paste the output in the renderer http://alaingilbert.github.io/git2graph/ , source of renderer -> https://github.com/alaingilbert/git2graph/blob/master/tools/...
alain_gilbert··on Git2graph: Generate a Git graph structure from linear Git history
It's been a while I haven't work on this, but if you do 'git2graph -r' within a repository folder, I believe it will generate the needed json for that repository.
alain_gilbert··on Facebook Quietly Ends Racial Ad Profiling – Revue
If I sell sunscreen, how do I target people who get sunburns ? (don't take me too seriously)
alain_gilbert··on New ‘Meow’ attack has deleted almost 4k unsecured databases
Do you have permission to access HackerNews (:rolleyes:) ?

You access it because it's publicly available...

alain_gilbert··on Go command support for embedded static assets (files)
I personally find it more elegant to distribute a single .exe file which contains all the html/js/css inside it, to customers.

Instead of having a "messy" folder on their computer.

alain_gilbert··on How we got our AWS bill to around 2% of revenue
I use docker. And yes, it normally just take care of restarting the app whenever something goes wrong.

But somehow on lightsail (only), the machine just goes completely unresponsive instead.

alain_gilbert··on How we got our AWS bill to around 2% of revenue
The difference would be:

- They could have much better service

- And bring down their expenses by at least half again

I used lightsail, and it's a terrible service.

It is very expensive (still) compared to other hosting providers.

And if your instance ever go out of memory, it become unresponsive for as long as you don't go manually restart it.

On other providers that I use, the OS would just "sacrifice child" (kill the process) and restart it.

It's not ideal, but much better than having to go there yourself to restart the whole thing.

alain_gilbert··on Finally, I Closed My LinkedIn
Just like my resume has absolutely no value... until I need it.
alain_gilbert··on Show HN: An introduction to Go for C# people
I did some benchmarks at some point, and for me:

Go was faster, Go use (a lot) less memory, much easier to distribute the application, and I don't need generics (even though I like it)

alain_gilbert··on The transformation of the porn industry under coronavirus
I'm curious what's your opinion on "dudes" that are doing deepthroat ?

Are they also forced to do it ?!

(or maybe they genuinely enjoy it)

alain_gilbert··on How the biggest consumer apps got their first 1k users
What's unethical about it ?

He talk about something that might be of interest for these people.

It doesn't sound like he was spamming or doing anything annoying.

It sounds to me like a more human way of doing advertisement. The only difference is that he is actually there to have an actual conversation about it.

alain_gilbert··on Just some red flags. No big deal. Just ignore them
I would say it's probably because many (quieter) people can relate to the stories.
alain_gilbert··on Deno 1.0
Do you hav any example of valid javascript that is not valid typescript ?
alain_gilbert··on A fight against Amazon becomes a state matter in Quebec
I confirm this is true. Happened to me twice.

First time was a company that had 0 clients in Qc (or Canada if that matters), still received a complaint.

Fortunately, since we didn't care about the FR website, we basically added a link which was pointing to a google translate version of it.

But yeah, this law is definitely used by many as an "exploit against companies" just to make you waste your time.

alain_gilbert··on Show HN: StepUp – 3 minute video chat that starts with a blur
The blur is done on the frontend, of my app ? Or the receiver app ?

It makes a huge difference.

The later is basically the same as not having any blur.

alain_gilbert··on Omni Group Layoffs
That's right.

Now let say you make photoshop, it's great, people loves it. And most of your customers got it for a fixed price, and they are happy with it.

Now, You want to improve the software and add features that some professionals need.

But most of your customers are happy with previous version. you no longer have a lot of money coming in.

Repeat that a couple times, and now most of your market is happy, and you don't have any money coming in.

And then you close shop. And people wonder why.

alain_gilbert··on Omni Group Layoffs
I really like their model as well.
← PreviousPage 3 of 7Next →