Hacker Newsnew | past | comments | ask | show | jobs | submit | yuuta's commentslogin

RIP


I never trusted Signal due to https://github.com/net4people/bbs/issues/60


Ever since Microsoft acquisition


Still no #embed


#embed will be in the C23 standard. It's not yet implemented in GCC 13.


Huh? Embed is there (and this is great).


#embed isn't mentioned in the post and I'm pretty sure it didn't make it into GCC 13.



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.


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.


I'm always using the Enterprise edition. No such crap.

Microsoft should treat consumers better.


No, they shouldn't. They can make more profit by treating customers badly, and profit and shareholder value are the only things that matter, so that's what they should do.

If consumers don't like this, then they should find alternatives. Microsoft treating consumers badly is nothing new.


What the fuck are you even saying?


> What the fuck are you even saying?

They were saying the truth: as a corporation, their primary fiduciary responsiblity is to return value to their shareholders.

Definitely worth watching: https://archive.org/details/The_Corporation_


Probably prompted an overgrown Word macro to spit out some words.


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.



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


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);


NT and Unix are completely different OS. You cannot develop Windows programs the Unix way, and vice versa.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: