HN user

tretiy3

221 karma

meet.hn/city/ru-Kaliningrad

Socials: - t.me/aganzha - github.com/aganzha

Interests: Open Source, Programming, Philosophy, Running, Web Development, Technology, Networking, Hacking, DevOps, Books

---

Posts8
Comments36
View on HN

last time i was installing mermaid with npm, noted that installation lasts too long. i checked and found that it is installing headless chrome under the hood...

Life saver! New version lacks OpenKeychain integration (they discuss in issues that it is also no longer maintained). Abandoned version of Android Password Store had some issues with embedded PGP manager and was not working for me. But this fork works!

i did not get it until learning rust. and only then u realized that: if let Some(msg) = read_message(&mut stream) { is the same as if msg := read_message(stream):

while inspecting some code inside loop, i prefer to put print and see all iterations at once in my screen, instead of countless clicking "continue" in debugger.

everyday i create a file if ~/self directory with name %dd-%mm-%Y.txt i put there everything, literally: code snippets, thought, todos, contacts, stack traces, links. i am in emacs, but i do not use org and git - have no idea why i should. searching is just a grep

it doesn't work. today i was asking ddg why sys.maxint is no longer works in python3. got immediate answer. but this terminal app just keep silent about that.

you can use mailgun for that. it has an api and concepts of "routes". you will be able to intercept email from seller@seller_domain.com to buyer@your_domain.com, handle it in your app (mailgun will POST to your web app), and then send from seller@your_domain.com to buyer@buyer_domain.com. really transparent. you can tweak any part of the workflow. have all conversations and all stats in your app.

Essential Electron 10 years ago

It is nodejs vs c++. Also, everything works out of the box in Electron case. In CEF, instead you have to study examples and dive into Win32 API/GTK/cocoa samples to find out how to run and extend basic "hello world".

Essential Electron 10 years ago

All those Electron apps are extremely slow on my mac (Intel Core 2 Duo mid 2010, 4Gb RAM). I am using Slack web version (in Chrome also) and can't find any difference, except it is just a tab among others.

I find it very convenient to open large log files bc Nano is very lightweight. Something like that:

$ cat /var/log/logfile | grep -n section_start which gives me required line numbers. and then:

$ nano +lineno /var/log/logfile

and for configs, of course.

In case of Facebook the solution is very easy. In desktop version, when you put mouse over friend image there is a popup menu with item "Following" which contains one more popup menu with "Unfollow" item. When you unfollow friend his activity gets removed from the feed. The friend will never see that he is "unfollowed": no any notification fired. In several days i just unfollow everybody and now my feed is empty.

+1 vote for e-cigarettes. After 22 years of smoking and lots of tries to quit i switched to e-cigarettes. After 2 weeks smoked only e-cigarettes switched to Nicotine gum. 3 days later quit gum. It was 3 years ago and i am not smoker since then.