HNHacker News
TopNewBestAskShowJobs

cobby

61 karma · joined July 14, 2016

submissionscomments
cobby··on Nim 2.0
Also Nim requires you to use unique field names across all variants.
cobby··on Show HN: boxxy – Control where Linux programs put files, without symlinks
> have them unlocked on login via PAM

Could you please share a general outline for configuring something like this?

cobby··on Devenv.sh: Fast and reproducible developer environments using Nix
> but the startup time is pretty bad (there is a 300ms+ delay) for apps.

Someone has told me that this can be solved with asdf-direnv so I am wondering if this is true and I should actually consider using asdf.

cobby··on Moscow police officers stop people, request their phones to read their messages
First, they were looking if the person is subscribed to specific Telegram channels. It is quite easy to quickly scan list of channels looking for specific logos.

Second, it is supposed to intimidate others and force the to unsubscribe from telegram channels that post alternative view on current events. Hence, effectively blocking people from getting info.

cobby··on Namecheap: Russia Service Termination
> It’s the regular folks who could wake up from their comfy lethargy and actually protest their government.

The problem is that many of those who use namecheap are already against the regime because they know English, have access to another point of view on actions taken by the regime in Ukraine.

Fucking them up may turn some of them back to the regime because current narrative of the propaganda is "West companies do not care about you and they will do everything in their power to screw you".

cobby··on Russian forces invade Ukraine after Putin orders attack
> Isn't this going to have some serious economic repercussions for Russia?

Russian economy is in decline since 2014. COVID-19 pandemic has increased its decline even further.

So it seems that the upcoming EU + US economic sanctions will be used by propaganda as the ultimate explanation of the decline. I mean Kremlin actually looks forward to more sanctions in order to have plausible explanation ("we are at war and our enemies made your life worse; we need to stay strong around our leader mr. Putin" shit).

cobby··on Upwork asking me for a $12.5k refund as the client was using someone else’s card
> How is the bank or Upwork the bad guy here when it is Robin who doesn't want to pay?

Upwork takes: * 3% fee on each payment on the client side; * 20% fee of first $500 earnings with the client; * 10% fee of $500-$10k earnings with the client; * 5% fee of earnings over $10k with the client.

So in this case Upwork took at least 8% of this $12.5k or 1000 USD but I think they took even more. If they don't take risks of fraudulent payments then why do they continue to take a cut in each time?

cobby··on Nim 1.6.2
I personally still use Python because I miss list and dict comprehensions.

I know there is a `collect` macro in `sugar` module but it is nowhere close to the python comprehensions. The code is too verbose and basically is just the same multiline for loop :-(

cobby··on Clever uses of pass, the Unix password manager
> missing AGE encryption

I am just curious. What makes AGE backend better than GPG one?

cobby··on The future of Python build systems and Gentoo
> I think this or something similar was posted a week or two ago

I believe you are referring to this post https://news.ycombinator.com/item?id=29238700

cobby··on A notable JavaScript developer shamelessly copied one of my most downloaded nod
> sent PRs to replace the original package in other libraries

Would you mind sharing a link to such PR?

cobby··on Google, Apple remove Navalny app from stores as Russian elections begin
iOS version has been removed from Russia App Store only as evidenced by this letter https://twitter.com/ioannZH/status/1438750081402953728/photo...

I would guess the same applies to Google Play

cobby··on Nimforum: Lightweight alternative to Discourse written in Nim
> it appears there is a bug that's causing the site to reload Google's recaptcha multiple times

I forgot to mention that it is not a bug. See https://github.com/google/recaptcha/issues/335 for example (I believe there are others issues like this in the repo)

cobby··on Nimforum: Lightweight alternative to Discourse written in Nim
As far as I can see you already have a minification task [1] in your nimble file. May I ask you why you are not using it to save bandwidth both for your sever and your visitors?

[1] https://github.com/nim-lang/nimforum/blob/master/nimforum.ni...

cobby··on Stack Overflow sold to Prosus for $1.8B
Same for Ukraine
cobby··on Plain Text Accounting
Sounds like you need to develop a plugin or take a look at existing ones (for example effective date [1] might be helpful)

[1] https://github.com/redstreet/beancount_reds_plugins/tree/mas...

cobby··on One Week of NixOS
Damn, I was tempted to try it but my laptop needs custom kernel patches [1] in order to work properly.

[1] https://lab.retarded.farm/zappel/asus-rog-zephyrus-g14/

cobby··on PEP 622 – Structural Pattern Matching
How did they implement Point(x, y, _) matching? PEP proposes a special protocol [1] based on __match__ classmethod. Do they do something similar?

[1] https://www.python.org/dev/peps/pep-0622/#runtime

cobby··on Simple Personal Finance Tracking with GnuCash
> beancount wants everything to live in One Giant Journal file

Actually, beancount supports include directive. See includes section [1] of the language syntax document

[1]: https://docs.google.com/document/d/1wAMVrKIA2qtRGmoVDSUBJGmY...

cobby··on Things about the new Firefox browser for Android
No. uMatrux offers way more granular control.
cobby··on Building personal search infrastructure for your knowledge and code
You might want to look into WorldBrain's Memex extension. I think it crawls every page you visit into IndexedDB so you can do full-text searches later.
cobby··on “This is why I use ad blockers and a pi-hole server”
Could you please elaborate on your setup. How do you achieve sending only DNS traffic over VPN? What do you do when your phone is connected to your home WiFi network?
cobby··on Ask HN: What Technologies to Learn in 2020?
Some frontend framework with fine-grained DOM updates like Solid by Ryan Carniato, Surplus or Svelte.

Why: Frameworks that use fine-grained DOM updated currently top js frameworks benchmark [1]. Svelte lags a bit behind in performance but it offers a better developer experience

[1]: https://rawgit.com/krausest/js-framework-benchmark/master/we...

cobby··on Ask HN: What niche blogs are worthwhile to follow?
https://beepb00p.xyz/ - Dmitrii writes a lot about quantified self and building personal knowledge bases.
cobby··on Huginn: Create agents that monitor and act on your behalf
> checking the weather

I actually use Huginn to check the weather, compare it with weather conditions for the previous two days and send the result to my Telegram as a simple text ("It should be a bit warmer than yesterday in the first half of the day").

I do this because I have a hard time understanding if wearing a coat would be enough for '-5 deg. Celsium, NW wind 30 kmph'. Comparison with previous days helps a lot since I already know that I was feeling ok in my coat yesterday.

cobby··on Ask HN: Who is hiring? (February 2019)
Are SE positions available for non-US citizens?
cobby··on Notion – All-in-one workspace for notes, tasks, wikis, and databases
Have they added tags support? Last time I checked there were no tags in Notion.
cobby··on Notion – All-in-one workspace for notes, tasks, wikis, and databases
Is their web version limited in any way compared to desktop apps for MacOS / Windows?
cobby··on Ask HN: What are your favorite terminal programs?
Could you please elaborate why you prefer streamlink over youtube-dl?
cobby··on Why you should never use Upwork
As far as I know all screenshots are available for clients right away.
Page 1 of 2Next →