Readit News logoReadit News
capdeck commented on Making an SSH client the hard way   tailscale.com/blog/ssh-co... · Posted by u/darthShadow
easton · 3 years ago
Could the Tailscale client be packaged as an extension so I can visit sites on my Tailnet without having to install a client? Sometimes I want to visit a "internal" site without having to install the client, if I'm using a temporary box for something. I'm not sure how much more work would have to be done, might have to dig into the open source pieces of this.
capdeck · 3 years ago
Putting my vote in for this feature as well... Also, why not compile VNC into WASM and get full remote desktop experience for graphical apps. It seems that hard work has already been done!
capdeck commented on After self-hosting my email for twenty-three years I have thrown in the towel   cfenollosa.com/blog/after... · Posted by u/carlesfe
capdeck · 3 years ago
My fear is that something similar will slowly happen to everything "compute". How long before my bank's website won't let me login if I don't use a computer with secure boot and a browser installed from an app store? McDonalds app on Android won't run on a de-googled or rooted device... At this point one may argue that there will always be computers that you can compile and install your own Linux. Yes, that is true. But just like I am not likely to have un-googled andorid for some apps and googled one for others, the same way it won't be practical to have one computer for some apps and the other one for others. And the one that will win will be the one that lets you login into your bank account, for simple and practical reasons.
capdeck commented on Using A Very Old Machine   tsk.bearblog.dev/using-a-... · Posted by u/memorable
capdeck · 3 years ago
Still rocking Dell Precision M4400 from 2009 with Intel Core 2 Duo and NVIDIA Quadro FX 770M. Arch + XFCE + Nvidia drivers from the AUR (not in main repos anymore). On my 5th battery pack and 3rd wifi module. Runs like a champ. Replaced CD drive with second SSD (replaced original HDD to SSD long ago). This laptop was powered on pretty much non-stop for 13 years! Dat thermal paste gotta be cooked solid by now. They just don't make 'em this good anymore...

https://www.notebookcheck.net/Review-Dell-Precision-M4400-No...

capdeck commented on Remote Attestation is coming back   gabrielsieben.tech/2022/0... · Posted by u/gjsman-1000
YeBanKo · 3 years ago
Attestation is great for cloud computing. Horrible for user devices.
capdeck · 3 years ago
Attestation is great for consolidating power and eliminating competition. As far as the cloud goes - you will only be able to use AWS, Google or Azure, because they will have proper certificates and attestation. Browser support will be built for "big three". For all the others there will be a fee for said certificates which will increase barriers to entry, and there will be even less competition and choice. Existing cloud providers will be the only game in town, just like it is with mobile operators and cable companies.
capdeck commented on Remote Attestation is coming back   gabrielsieben.tech/2022/0... · Posted by u/gjsman-1000
etaioinshrdlu · 3 years ago
It may make web scraping even more difficult, or anonymity online more broadly.
capdeck · 3 years ago
It will make web scraping impossible. You will not be able to install any software that can do that because it won't be let in to app stores (i.e. it will never get the right keys and permissions, websites won't even respond to it as it won't have attestation).

If you somehow try to work around and use your "attested" machine and user id to do this (because websites will require it and your script can't have it, but may be it can run under your user account, for example) - monitoring systems will soon block your account for "suspicious activity" and it will be next to impossible to re-instate because Google and Microsoft don't provide any human support, unless you are some 1mm+ influencer on instagram and will manage to start a rukus on social media.

The outlook is quite bleak :-(

capdeck commented on Show HN: tere – A Faster Alternative to cd+ls   github.com/mgunyho/tere... · Posted by u/mgunyho
mgunyho · 3 years ago
Thanks for the kind words! :)

While digging up alternatives (of course after I had already written most of the functionality), I briefly tried out fzf. I think at that time I couldn't find an example snippet like yours to do the cding, so I didn't look into it much more. With some basic settings, it was also not easy (or even possible?) to go up in the folder tree, but I see that your example handles that.

If you're unfamiliar with a big folder tree, fzf (or another very similar tool that is designed for this purpose, broot) can be more efficient. But it might take a while for it to scan all subfolders.

capdeck · 3 years ago
What about `skim` - integrating it as a library? fzf is nice, but it is external - you have to pre-install and configure it.
capdeck commented on Show HN: tere – A Faster Alternative to cd+ls   github.com/mgunyho/tere... · Posted by u/mgunyho
mgunyho · 3 years ago
I tried to avoid bloat as much as possible, and I would argue that the non-transitive deps are pretty essential. I'l look into tweaking some features as suggested in sibling to trim it further down.

But you're right that it could always be simpler, in fact I wrote tere originally in C with curses as the only dependency, and it compiles >10x faster. But there I had to manually write some (pretty certainly buggy) unicode handling, and I think adding extra features (proper arg parsing, json for history file etc) would be way more painful.

capdeck · 3 years ago
I disagree with "bloat" comments. First, the binary will only have stuff you use. Secondly, the fact that you are not writing from scratch code that someone else had more time to write and test - this is a huge plus. I'd use your implementation any day vs. something that someone could put together in C with no dependencies and remarkable pointer math equilibristics.

As long as the use of dependencies remains reasonable, the number of dependencies does not immediately mean that the code is "bloated".

capdeck commented on Ask HN: Does anybody still use bookmarking services?    · Posted by u/joe8756438
chazeon · 3 years ago
I use self-hosted [linkace][1]. It is similar to Shaarli but has a little nicer interface.

[1]: https://www.linkace.org/

capdeck · 3 years ago
Awesome alternative. I've been using Shaarli for a very long time. Very stable, always works, everywhere works. Doesn't look fancy, but reliability is off the charts.
capdeck commented on YaLM-100B: Pretrained language model with 100B parameters   github.com/yandex/YaLM-10... · Posted by u/f311a
nosianu · 4 years ago
I doubt that anything like this happend to Google execs in the US:

"Putin's agents reportedly threatened a top Google executive in Moscow with a 24-hour ultimatum – Take down Russia protest vote app or go to prison" -- https://www.businessinsider.com/russia-agents-threatened-goo...

Not yet at least, the political climate may deteriorate to that point, especially when it's about elections, given recent revelations.

Still, at least right now it looks to me - and I have visited Russia and Ukraine several times in the past and still have indirect connections (to people heavily involved in business there) - that there still is considerable more freedom from the government and its wishes for people and companies in the West.

If you publicly criticize a US politician you may get some hate messages, but at least they are from private citizens and you don't have FBI agents knocking on your door threatening you with prison. In Germany some rogue police were found to send threatening messages, but as soon as it was discovered the government acted against it. Also in Germany there even were public rallies from pro-Russian folks, now try that in Moscow with pro-Ukraine banners... Russia even bans the colors yellow and blue, even when they have nothing whatsoever to do with Ukraine and are just decorative: "Russians Strip Yellow and Blue From the Nation’s Streets Over Ukraine War" -- https://www.themoscowtimes.com/2022/04/27/in-photos-russians...

capdeck · 3 years ago
> Take down Russia protest vote app or go to prison

What about Canadian truckers? Didn't Trudeau call them terrorists, took their trucks, donations, bank accounts and driver licenses... There is no right to protest anywhere, don't kid yourself.

capdeck commented on Estonia clocks fastest inflation in the Eurozone at 20.1 percent   news.err.ee/1608615118/es... · Posted by u/possiblelion
ssk169 · 4 years ago
Let me complete that sentence for you.... after Finland refused to pay in rubels because the signed gas import-export contract specified other currencies.
capdeck · 4 years ago
Didn't EU freeze all Russian dollar accounts? That basically means Russia never gets those dollar payments. Why would it keep delivering gas for free? Does that "contract" even mean anything then? By switching to rubles Russia actually helped EU nations with a legal way to keep paying for gas.

u/capdeck

KarmaCake day548July 6, 2018View Original