Better HN
topnewbestaskshowjobs
Log inSign up

AdrienLemaire

186 karma · joined Oct 18, 2019 (7y ago) · 75 submissions

CTO at Miraidenshi; Full-stack software engineer; Triathlete long distances; Trifather.
Submissions

comment 4y ago · link · parent

I was searching for this answer too...

From wiki: > Memory safety is the state of being protected from various software bugs and security vulnerabilities when dealing with memory access, such as buffer overflows and dangling pointers

Dart has isolates, so I thought it was memory-safe. But searching for buffer overflow or dangling pointer on dart's github repo returns results, so I'm still left wondering.

comment 6y ago · link · parent

Probably the Dunning-Kruger effect in action :)

Wikipedia puts it well:

> It's a cognitive bias in which people assess their cognitive ability as greater than it is. It is related to the cognitive bias of illusory superiority and comes from the inability of people to recognize their lack of ability. Without the self-awareness of metacognition, people cannot objectively evaluate their competence or incompetence.

https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect

comment 6y ago · link · parent

From the document, slide 51:

> User NSs permit novel applications; for example: > Running Linux containers without root privileges > Docker, LXC

This seems to answer yes to your question.

comment 6y ago · link · parent

Lovely! Thanks for sharing this awesome-looking tool :)

edit: oh, it's also mentioned in the document slide 53 along with Flatpak

comment 6y ago · link · parent

I have never used OpenBSD, but isn't Linux getting closer to their equivalent pledge and unveil? https://news.ycombinator.com/item?id=17277067

This is great news, because I can't switch over to OpenBSD (docker, bluetooth, etc) or more folkloric distributions like VoidOS and Qubes. Going to make a bunch of Anki cards today to remember these namespaces and how to use them!

comment 6y ago · link · parent

I found this article very interesting while studying a bit more about the various pieces of information displayed by glances.

It neatly explains the differences between processes, threads, and context, and I learned about the fact that Linux has an extremely low cost of context switching and mode switching compared to other systems.

Yet, I'm still not sure what to do with this ctx_sw value from glances. Anyone using it? How can I define whether the number is too large? What actions should I then take? debugging the processes causing a large number of switches, rebooting, other? I would love to hear from experienced linux users!

7.

Context Switch Definition (2006)(linfo.org ↗)

1 points · by AdrienLemaire · 6y ago · 1 comment

8.

A new anti-aging therapy is starting its first human trial – it costs $1M(singularityhub.com ↗)

27 points · by AdrienLemaire · 6y ago · 6 comments

9.

9 unusual Python tips and tricks(martinheinz.dev ↗)

2 points · by AdrienLemaire · 6y ago · discuss

comment 6y ago · link · parent

I didn't know about paperswithcode.com, and it looks amazing. Thanks a lot for sharing it!

comment 6y ago · link · parent

This is what you get if you block javascript for www.bloombergquint.com: https://i.imgur.com/LrPYVmq.png

comment 6y ago · link · parent

I loved the article, too bad it didn't get traction on HN. Thanks for sharing it Amir!

13.

A community of 50 3D printed homes is under construction in Mexico(singularityhub.com ↗)

3 points · by AdrienLemaire · 6y ago · discuss

comment 6y ago · link · parent

You are Dori, a noble living in the kingdom of Larion. You have a pouch of gold and a small dagger. You are awakened by one of your servants who tells you that your keep is under attack. You look out the window and see a large army marching towards your door

> escape with the servants and the gold

You run to the servants' room and grab the gold and the servant's bodies. The soldiers fire arrows at you but miss. They fire their crossbows at the corpses but they also miss. You throw your gold into the air and jump up and down as loud as you can

---

My servants became corpses before the large army even arrived xD

comment 6y ago · link · parent

The idea is good. But when I tried playing it, the story generated doesn't make sense. Looks like it still needs more work to be realistic. Is the AI keeping track of the story as it goes? Because the bird which attacked me with an evil grin and stole my fork asked me not to kill it when I asked him to help me working in the fields...

https://gist.github.com/AdrienLemaire/33663e9100c009b8ec3409...

comment 6y ago · link · parent

Nice story, didn't know about it. Dual-booting is older than I thought! 1991

comment 6y ago · link · parent

Thanks, I didn't know about imv. Have been using feh forever, and always found it annoying that it wouldn't load svg files. Problem fixed with imv.

EDIT: actually realised that feh has a --conversion-timeout param to help with svg files. But well, imv also supports gif!

comment 6y ago · link · parent

Mupdf is listed in the Configurations part.

I used mupdf for years. Then I discovered llpp (a wrapper on top of mupdf). I never went back since, this is my favorite pdf reader by far :)

https://wiki.archlinux.org/index.php/Llpp

comment 6y ago · link · parent

I love Vimium too! (using on chrome) Took me a while to learn all the shortcuts (thanks Anki!), but that was worth it. Wish it was more integrated to the browser though (having to wait for a page to finish loading before I can use a shortcut is sometimes annoying).

You're not mentioning my favorite Vimium command! m<key> to save a mark, and `<key> to load it. lowercase chars marks are in-page marks, and uppercase chars are global marks (like bookmarks).

20.

AI will take human bias and will fixate it for generations(singularityhub.com ↗)

5 points · by AdrienLemaire · 7y ago · discuss

comment 7y ago · link · parent

Resources:

* https://en.wikipedia.org/wiki/Uyghurs

* https://time.com/5467628/china-uighur-congress-torture/

* https://en.wikipedia.org/wiki/Mihrigul_Tursun

* article on https://www.hongkongfp.com/2018/12/08/video-full-ex-xinjang-... disappeared.

* https://www.jiji.com/jc/article?k=2019071400172&g [japanese]

* https://youtu.be/dsd1NkCKaNg

22.

Comic book about Uyghur. In 2019/11, 1 in 10 Uyghurs are in re-education camps [pdf](wapipi.net ↗)

3 points · by AdrienLemaire · 7y ago · 1 comment

comment 7y ago · link · parent

I searched for OpenTeams' OSS license, but all I'm seeing is

* © 2019 OpenTeams. All rights reserved.

* https://openteams.com/terms-of-service

Why isn't a project who wants to change the economics of open source, open-source itself? Can you reconsider your licensing choices?

comment 7y ago · link · parent

> However, I have to admit, the search results of duckduckgo are by far inferior to what Google used to give.

I've switched to DuckDuckGo since I read its CEO's book "Super Thinking", and I'm not feeling that it's inferior. Sure, it doesn't have rich cards and other goodies, but I've come to realize that these are nice-to-have, but not essential. On the other hand, reducing the confirmation bias by getting out of the filter bubble is, I believe, essential.

25.

Anki patterns and antipatterns and Anki essentials(agentydragon.com ↗)

3 points · by AdrienLemaire · 7y ago · 1 comment

26.

Inversion of Control: Principle to improve your reusable code(kentcdodds.com ↗)

2 points · by AdrienLemaire · 7y ago · discuss

27.

Roadmap to Becoming a Data Scientist (2013)(nirvacana.com ↗)

2 points · by AdrienLemaire · 7y ago · discuss

28.

Linux Kernel Runtime Guard (LKRG) – Provides Security Through Diversity(whonix.org ↗)

2 points · by AdrienLemaire · 7y ago · discuss

comment 7y ago · link · parent

Just read the news, that's impressive. Wondering what service they'll become.

Reading NHK news, I also understand that on the 18th, Yahoo and Line decided to finance a new HR company that'll manage both 50 million yahoo users and 82 million Line users from October 2020.

https://www3.nhk.or.jp/news/easy/k10012181221000/k1001218122...

comment 7y ago · link · parent

Looks like the demo has bugs (https://i.imgur.com/cSgIlWs.png). Clicking on the "icons" icon doesn't show anything, but the readme picture (https://github.com/uxbox/uxbox/tree/develop#uxbox) clearly shows that it should open in the bottom left sidebar.

I would have followed the project if it was more active, but no commits in 21 days for master branch, 28 days for develop branch and a diff of 246 commits between the 2 branches leaves me perplexed.

123