HNHacker News
TopNewBestAskShowJobs

boris

1,170 karma · joined February 20, 2007

http://build2.org/ http://codesynthesis.com/
submissionscomments
boris··on Code licensed under the AGPL must not be used at Google
This is inaccurate: you can definitely make "Hosted $THING" under AGPL. What you cannot do is modify said THING, host that (more precisely, make it publicly available as a service; if it's private, it's still ok), and keep the changes private.
boris··on Asahi Linux alpha release
Does anyone know if virtualization (e.g., kvm/qemu) would work? Didn't see any mention of that in the FAQ.
boris··on Show HN: PgCat, Postgres pooler with sharding, load balancing and failover
Judging by Cargo.lock, it has about 60 dependencies.
boris··on On building 30k Debian packages
Or you could try a package repository for one of the C/C++ package managers. For example, for build2[1] we currently have ~300 packages[2] which you can all build in a uniform way.

[1] https://build2.org

[2] https://cppget.org

boris··on Why and How I Got My Own ASN
I am curious, what happens if I get a /48 from you and some time later you decide you don't wish to be a LIR anymore. Do I get to keep my /48 somehow (i.e., does RIPE guarantee this)?
boris··on Reasons for servers to support IPv6
I am guessing the reasoning goes like this: if we only support IPv4, then it's on all these ISPs with IPv6-to-IPv4 CGNAT to make sure their stuff works properly (and chances are they will notice if it doesn't). But if we support IPv6, it will be on us to make sure people behind those ISPs can still reach us (because hardly anyone goes via this IPv6 route and if it doesn't work it's likely nobody at the ISP will notice).
boris··on What NPM should do to stop a new colors attack
That's in a sense what Debian is doing with its experimental/unstable/testing/stable repositories. We also adopted a similar approach in build2 where we have queue/testing/stable sections of the repository. A newly submitted package version first lands in the queue where it is not yet visible to anyone. After it has been tested and reviewed, it is migrated to testing where it becomes available for testing by the larger community. After some time, if no issues are found in the package, it is migrated to stable. You as a user of build2 have a choice from which section(s) of the repository you want your dependencies.
boris··on Asahi Linux for M1 Macs Progress October-November 2021
If you have the time to share the details, I would definitely appreciate them (looking to do something like this myself). In particular, on which hardware did you build the kernel? Or did you cross-compile it? Also which bootloader did you use? Thanks in advance!
boris··on LLVM 13.0
How about an equivalent for Clang targeting the MSVC runtime (which is how both Google and Mozilla build their web browsers for Windows), is this supported?
boris··on LLVM 13.0
> The two main backers (Apple and Google) seem to have backed out.

This highlights an important difference between GCC and LLVM that many fans of the latter seem to miss: LLVM is first a bunch of compiler components that Apple and Google use for their own needs and a C/C++/etc compiler for you and me second and only as long as it flows naturally from the first. While GCC is a C/C++/etc compiler, that's the end-goal.

boris··on Show HN: KySync – A C++ rewrite of Zsync with performance boost
I can't say anything specifically about this case, but generally, sometimes the whole architecture has to be changed in order to support concurrency (especially in the "millions of mutexes" kinds of problems). And such alternative architectures are often inherently inefficient in serial execution.
boris··on Asahi Linux for Apple M1 progress report, August 2021
That's great to hear, thanks!
boris··on Asahi Linux for Apple M1 progress report, August 2021
Thanks for working on this! It would be great if making Asahi generally usable was not blocked by the GPU driver. Currently Apple M1 is the only generally-available ARM hardware that can be used for testing other software for compatibility with ARM. So an installable version without desktop support would be very appreciated.
boris··on M4 as a templating language (2020)
The same story with flex.
boris··on The Unwritten Contract of Solid State Drives (2017)
In my experience the weak point here is the controller/firmware. We bought a bunch of high-endurance Enterprise MLC drives (also Intel but newer) and one of them has already bricked itself, way before reaching any kind of wear worth mentioning.
boris··on GCC 11.1
https://build2.org/install.xhtml#other
boris··on GCC 11.1
If anyone is looking for a build system to try C++20 modules with GCC, there is build2: https://build2.org/blog/build2-cxx20-modules-gcc.xhtml

There is also a repository of module examples (some trying to imitate real-world usage like distributing modules as part of a library): https://github.com/build2/cxx20-modules-examples/

boris··on CXX - Safe interop between Rust and C++
I wouldn't call (1) efficient, especially for std::string which itself might omit a dynamic allocation due to small string optimization.
boris··on Debian Running on Rust Coreutils
Yes, please, that would be very helpful: https://github.com/build2/build2/issues
boris··on Debian Running on Rust Coreutils
Dynamic dependencies are supported by build2 (this is, for example, how we handle auto-generated C/C++ headers) but it's not something that is exposed in ad hoc recipes that are written in Buildscript yet (but is exposed in those written in C++). Our plan is to start with the ability to "ingest" make dependency declarations since quite a few tools are able to produce those. Would something like this cover your use-cases?
boris··on Debian Running on Rust Coreutils
Allow me to suggest build2 (the build system part) as another alternative. You would probably be first interested in ad hoc recipes: https://build2.org/release/0.13.0.xhtml#adhoc-recipe
boris··on Variable tyre pressure wheelset is a mountain biking breakthrough
You apply different amount of breaking. Sometimes you would only use the rear break (for example, if you want to take a corner by locking and sliding your back wheel).

To illustrate this point further: the common setup is to have the rear break on the right hand side of the handlebar. But some people ride it the other way around. If you are used to one way and then have to ride the bike that is set the other way (say, a borrowed bike), it completely messes up your riding.

boris··on Things you should do now (2011)
For me #1 would be to add a version to any data format or communication protocol. If you want to know how hard not doing so can bite, don't look further than Git and it's tourcherous migration from sha1.
boris··on FIDO2 security key company releases hardware that's open source and uses Rust
Another thing to keep in mind about PIV is that it's currently limited (at the standard level) to RSA-2048 max.

Would it be possible to make a custom firmware that support RSA-4096 PIV?

boris··on Starting Over: A FOSS proposal for a new type of OS for a new type of computer
To me things that are worth starting over would be the CPUs that we no longer understand and the OSes that are debugged into existence. Not a computer that has no SSD because memory is persistent.
boris··on Why does it take so long to build software? (2020)
One aspect that is not mentioned is that we build software on top of an ever-increasing number of first-to-market, low-quality, building blocks. And by low-quality I mean "worse is better"/MVP/"everyone makes mistakes"/"leaky abstractions"/etc -- pick your favorite. As a result, we spend more and more time dealing with someone else's mistakes rather than making forward progress.
boris··on Show HN: Vmctl/Vmcli – Easily Run Linux VMs on M1 Macs
Here is a previous discussion of a similar tool that also lists some of the limitations (like inability to use bridged networking without Apple's permission) of using Virtualization.framework: https://news.ycombinator.com/item?id=25382529

I am personally more interested in tools that are based on Hypervisor.framework (which as I understand offers lower-level support for virtualization). Anyone knows what is the current state of Qemu support for M1 (last time I heard there were some out-of-tree patches)?

boris··on Vftool runs Linux virtual machines in macOS Big Sur
Virtualization.framework appears to provide Virtio disk, network, etc. I wonder how Apple did it: I doubt they could copy GPL code from qemu. Maybe they copied something from one of the *BSD implementations? If they have implemented it from scratch, I wonder how buggy it is? Anyone has any information on this?
boris··on Show HN: Xrepo – A modern cross-platform C/C++ package manager
> I've been bitten before by tools that are easy for trivial examples and don't work well for larger projects.

Have you looked at build2[1]? One of its main goals is to not make this mistake.

[1] https://build2.org

boris··on Ubuntu successfully virtualized on M1
It's funny how the way to get a Linux on ARM machine with decent performance might be getting a Mac Mini and running Linux as a VM. I doubt nested virtualization will work though.
← PreviousPage 4 of 12Next →