HNHacker News
TopNewBestAskShowJobs

yuuta

434 karma · joined March 26, 2021

Just a student interested in computer science. Use Java / C. https://blog.yuuta.moe
submissionscomments
yuuta··on Why and How I Got My Own ASN
I also use WireGuard to connect my home router to a VPS to get my home connected to my network. However, VPNs highly depend on the availability of your residential ISP, the speed and stability are not desirable, especially when I run some servers at home. Having a dedicated line with BGP would be good, but there's no such a thing I guess for residential users.
yuuta··on Why and How I Got My Own ASN
I got my first ASN in April, 2021 from a LIR. It was an amazing experience. If you live in the west part of North America like me, you can get a IX VPS at FreeRangeCloud (disclaimer: I'm not affiliated with them). You can connect to Unmetered Exchange, EVIX and OPTiX just using one machine. You can also contact HE to get a free transit at Unmetered Exchange.

For software, I'm using Bird, because I couldn't get OpenBGPd insert routes into my FIB. (I'm using OpenBSD, not the portable one)

yuuta··on LibreOffice 7.3
I had been using LibreOffice for a year and found that it is extremely buggy. Scrolling starts lagging as long as you have lots of commends on the page. If track changes is turned on, sometimes spaces are inserted in the wrong place. Sometimes it crashes during editing (although it recovered my documents), and such.

It can do some basic editing, but is far less complete compared to MS Office.

Anyways, its PDF editor is great.

yuuta··on Open-Sourcing our Firmware
Good news for learning as well. I had never seen an open source EC firmware before, and I'm curious about what's inside that.
yuuta··on Protected Content, Delete by Date, Device Management and more
No. DRM is meant to protect copyrights, but Telegram's intend was to protect private messages from being forwarded to the public, which has nothing to do with copyrights.
yuuta··on Protected Content, Delete by Date, Device Management and more
THIS IS COMPLETELY MISLEADING. Telegram just provides group administrators with an option of preventing bad members from secretly forwarding messages to other chats, or to save them locally. It has nothing to do with digital rights, nor DRM. It is a privacy feature, not a copyright feature.
yuuta··on Protected Content, Delete by Date, Device Management and more
This is misleading. The new privacy protection features in Telegram are not DRM at all. They are just to prevent users from forwarding information outside of private chats or saving them, not related to copyrights at all (which is what DRM is meant to protect). Also, DRM is not mentioned in the changelog.
yuuta··on Minecraft to add telemetry
The key problem is that Mojang does not allow users to disable it.
yuuta··on A CSS framework to recreate Windows 7 GUI
I guess Caret Browsing is a EdgeHTML thing and in fact it should not show up in UWP applications. Correct me if I'm wrong.
yuuta··on A CSS framework to recreate Windows 7 GUI
Same here. For me, Windows 7 is consistent in design, efficient (in both performance and user experience) and pure.

* Inconsistent design: Starting from Windows 8, Microsoft switched to the Metro design. In Windows 10 Microsoft changed to Fluent design. However, even the Windows components themselves are not fully switched. In Windows 10 today you can find so many legacy designs that had not been removed. Windows 7, however, is pretty consistent from shell to explorer and control panels.

* Inefficient in user experience: Starting from Windows 8, MS started focusing on these so called touch devices, with the trade off of having larger margins, bigger buttons and slower animations, making user feel inefficient getting things done.

* Inefficient in performance: Windows 10 is slow as well, in a 2c 8g VBox VM, Windows 10 boot time is longer than Windows 7 and I have to wait for several seconds to open a UWP program, which is unbearable. Personally that is somehow related to the so called "modern" developing. For that I mean all the UWP / Web stuff. For instance, The Windows 10 start menu uses EdgeHTML inside (just press F7 and Caret Browsing dialog will show up).

* Anti-features: With the Microsoft's focus on "cloud" experience, Windows 10 added so many anti-features that I hate. Even though some are optional, I do not want an OS to contain any "cloud" based features and advertisements. Examples: Microsoft account, Telemetry, Consumer Experience (I mean all the pre-installed bullshit). I run several domains in my home and the first group policy I would apply to client computers is to turn off Telemetry (level 0 security), disable web search, disable spotlight and turn off the consumer experience.

I am not saying that Windows 10 is bad. It is, from a technical point of view, more advanced. However, because of all these bad designs I still think Windows 7 is the last Windows version I would feel satisfied.

yuuta··on A CSS framework to recreate Windows 7 GUI
That's pretty helpful. Thank you very much.
yuuta··on A CSS framework to recreate Windows 7 GUI
I really enjoy the Aero glass effect from Windows 7 and feel unfortunate when Microsoft removed it in Windows 8. I tried to disassemble DWM to find out its implementation but it did not work, since I have no experience in reverse engineering and Win32 developing. This project seems to recreate a pretty good Aero effect and I'm happy with it, even though there are flaws.

Hopefully someone could analysis how Microsoft achieved this effect and port it to a X11 compositor.

yuuta··on 1Password for Mac Moving to Electron
Unfortunately, Bitwarden uses Electron as well.
yuuta··on Berkeley Systems “After Dark” screensavers recreated in CSS
I remembered the time when I was a kid, I was siting in my mom's office, in front of a Windows XP box and browsing through all different screensavers, themes, start button styles, etc. Good memories.
yuuta··on From stolen laptop to inside the company network
The plain text SPI seems to be guilty. Could fTPM help?
yuuta··on Systemd: The Good Parts
I'm using split horizon DNS with WireGuard on my systems (I mean using special DNS servers for some domain names and the public ones for the rest. Correct me if I'm wrong). I used to try systemd-networkd and systemd-resolved because they seem to fit together. I found systemd-resolved is extremely buggy with systemd-networkd managed WireGuard. My WireGuard endpoints use domain names and systemd-networkd fails to resolve them after a manual restart. I couldn't figure out why.

I also could not find a way to NOT combine split horizon DNS with network interfaces (like most documents online only include scenarios like resolving corporate domain names using a VPN interface but that wasn't my case). I have multiple VPN connections to the same network (runs BGP basically) and I did not want the split DNS to bind to some specified interfaces.

Moreover, systemd-resolved seems not able to do split DNS without systemd-networkd. It needs systemd-networkd managed interfaces to do that. What? I just want separate DNS servers for separate domains. My WireGuard interfaces are managed by wg-quick. Correct me if it is possible to use systemd-resolved standalone in this case.

The hard systemd-resolved dependency of systemd-networkd also had issues. Sometimes, I just want systemd-networkd to configure resolv.conf using DHCP DNS but it looks like I HAD TO START systemd-resolved AND LINK /run/systemd/stub-resolv.conf to /etc/resolv.conf in order to achieve that (correct me if there's a way to not use resolved completely). Excuse me?

systemd-networkd itself was buggy, too. I once encountered https://github.com/systemd/systemd/issues/18108 and my friends reported they faced this issue as well. I don't mean that software should not have bugs but encounter them is really inconvenient.

In conclusion, I mean, systemd components seem to fit together and help you do a lot of things, but they did't do the things well, compared to separate programs for their specified tasks. Moreover, you have to deal with various components of systemd and figure out their relationships in order to achieve some specified tasks. For split DNS, I'm using dnsmasq now and it's working pretty well.

yuuta··on WinGet is terrible, I want AppGet back
WinGet is more like a "software center" of "application store" compared to what I understood a "package manager" is. From my understanding, a package manager should take care of the installation process: (optionally) compile the source and test them, copy the files to the system and run optional scripts and hooks. Most importantly, a package manager records all files that are installed and knows which file belongs to which package. When uninstalling, a package manager should remove the files by itself and make sure the software is uninstalled safely and completely. What WinGet does is just download the MSI or whatever setup binary and run it. It is more like a software index and downloader rather than an actual package manager.
yuuta··on Fairphone suggests Qualcomm is the biggest barrier to long-term Android support
Yeah. That's why replaceable battery is a good idea but they disappeared in the recent years.
yuuta··on Fairphone suggests Qualcomm is the biggest barrier to long-term Android support
If Android used FreeBSD...

the only open source part (which is the kernel) will be closed source. No chances for customization and freedom now.

yuuta··on Fairphone suggests Qualcomm is the biggest barrier to long-term Android support
Compare mobile phones to PC today, you will find that a PC made like five or more years ago can run the latest software without issues while for mobile devices, they can hardly survive for more than three years (I guess?) since the ability to support a new Android version completely depends on the SoC manufacturer. You may also upgrade part of the hardware of PC or install whatever OS you like on them if you want to. However, look at those "smart" phones, which are not smart at all: you are limited to a few Android versions and you are forced to install all these proprietary userspace drivers (HALs for example). Moreover, if you want to have full access to your device (Root), you have to bag the vendor for that privilege (Xiaomi, Huawei, etc. OnePlus is way better), which should be the right for everyone.

This is because the PC market is standardized (I guess, correct me if I'm wrong), compared to the phone market which has all of these proprietary blobs, private interfaces and lockdown. I hope we could have open source drivers, standardized hardware and software interfaces (like UEFI) for mobile smart devices just as PC does. Thus we can install whatever operating system or software without limitations. Also there will be less e-waste just as PC.

← PreviousPage 2 of 2