HackerTrans
TopNewTrendsCommentsPastAskShowJobs

yuuta

no profile record

Submissions

Nginx access log to standard output is not as easy as using /dev/stdout

blog.yuuta.moe
2 points·by yuuta·2 anni fa·0 comments

FreeBSD Supports Netlink(7) and Iproute2

cgit.freebsd.org
2 points·by yuuta·4 anni fa·1 comments

comments

yuuta
·3 anni fa·discuss
RIP
yuuta
·3 anni fa·discuss
I never trusted Signal due to https://github.com/net4people/bbs/issues/60
yuuta
·3 anni fa·discuss
Ever since Microsoft acquisition
yuuta
·3 anni fa·discuss
Still no #embed
yuuta
·3 anni fa·discuss
That's a pretty good article, but I expect more in-depth information on booting modern Intel CPUs ... I am very interested in modern UEFI / BIOS firmware development and how do they bring up x86 CPUs, but unfortunately there are very little source (I guess, except for EDK2), and the majority (?) of x86 firmwares are proprietary. Booting x86 is much more complicated than writing a linker script with a vector table for your microcontroller ... so, this seems very interesting.
yuuta
·3 anni fa·discuss
I have been running my homelab for 2 ~ 3 years, and I never considered rpi to be one of the servers ... It is just for toys or some "high school robots" stuff, with 0% availability and are very fragile. How many times your SD card fail / filesystem break / undervolt occurs / accidentally short-circuit? If you want to have a host running Linux 24 * 7, go with a used Thin Client on eBay (they are at least x86). If you are like me who want to build a rack at home, go with some used PowerEdge / ProLiant gears from eBay. They do way better things than your Pi (with BMC, Xeon cores, and ECC memory, possibly), and they are cheaper as well (my PowerEdge R520 servers only cost less than C$200 each). These machines have proper CPU, hard drive, and power supply. Do not use a Pi unless you are building some IoT experiments that require GPIOs.
yuuta
·3 anni fa·discuss
I'm always using the Enterprise edition. No such crap.

Microsoft should treat consumers better.
yuuta
·4 anni fa·discuss
Better way: use Get-AppxProvisionedPackage and Remove-AppxProvisionedPackage during OOBE to remove them for all users.

Bonus: Use these cmdlets on a offline mounted WIM image to build a custom image without bloats.
yuuta
·4 anni fa·discuss
It may be better if we have something similar to (pseudocode) for kernel APIs:

  struct uptime_t u = {
  
      .time = 0
  
  };

  ioctl(open("/proc/uptime"), GET_UPTIME, &uptime);
yuuta
·4 anni fa·discuss
Indeed. Parsing files is a less robust way compared to calling some APIs or at least parsing some files with a schema (e.g. JSON or XML). For example, uptime(1) on Linux:

% strace uptime 2> /tmp/strace && grep proc /tmp/strace

17:35:24 up 3 days, 7:47, 1 user, load average: 2.29, 1.85, 1.56

openat(AT_FDCWD, "/usr/lib/libprocps.so.8", O_RDONLY|O_CLOEXEC) = 3

openat(AT_FDCWD, "/proc/self/auxv", O_RDONLY) = 3

openat(AT_FDCWD, "/proc/sys/kernel/osrelease", O_RDONLY) = 3

openat(AT_FDCWD, "/proc/self/auxv", O_RDONLY) = 3

openat(AT_FDCWD, "/proc/uptime", O_RDONLY) = 3

openat(AT_FDCWD, "/proc/loadavg", O_RDONLY) = 4
yuuta
·4 anni fa·discuss
NT and Unix are completely different OS. You cannot develop Windows programs the Unix way, and vice versa.
yuuta
·4 anni fa·discuss
Very impressive ... I hope I can get a /24.
yuuta
·4 anni fa·discuss
I don't see the whole point. It's like creating yet-another-ntp-implementation while other well-known implementations are known to be working good and safely on billions of devices.

It is easier to report a security issue to ntpd or chrony instead of creating a new one.
yuuta
·4 anni fa·discuss
Benefits:

* Unified protocol to manage networking facilities

* iproute2 for FreeBSD, deprecating ifconfig(1) stuff