Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ori_b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
691.
▲
by
ori_b
4y ago
Here's what you get for free: https://www.gnu.org/software/make/manual/html_node/Catalogue... As you can see, it takes flags and compiler from the environment.
692.
▲
by
ori_b
4y ago
The comparable makefile: exe: file.cpp Default rules take care of the rest. And if you argue that the barebones example is insufficient for a real project: absolutely true. The same applies to your cmake example.
693.
▲
by
ori_b
4y ago
For reference: This site is hosted on plan 9, using a web server written in shell script.
694.
▲
by
ori_b
4y ago
Still WIP. We're not yet at a million useful procs.
695.
▲
by
ori_b
4y ago
> They only suffer the performance consequences of userspace having to use the synchronous syscalls. And the need to implement all the functionality twice. Who is going to do that?
696.
▲
by
ori_b
4y ago
Does this matter when you have shared libraries? ld.so will be doing hundreds of syscalls at start regardless.
697.
▲
by
ori_b
4y ago
> Exactly. I don't want to go back to computers with 10 different types of ports. We currently have computers with 10 different types of ports. The different ports just happen to be visually indistinguishable.
698.
▲
by
ori_b
4y ago
This is roughly how I work too; I develop Go, glue in some Linux for doing builds. The biggest weakness is web browsing, and there's a lot that could be done to glue in the hardware virtualization support better into the system, in the
699.
▲
by
ori_b
4y ago
The first commit containing the packfile docs is from 2006.
700.
▲
by
ori_b
4y ago
Yes. The wire format docs, especially for HTTP, are atrocious. The pack format is well documented enough. ( https://github.com/git/git/tree/maint/Documentation/technica... ) I wrote the 9front impleme
701.
▲
by
ori_b
4y ago
> How will I schedule meetings? I suggest using a calendar.
702.
▲
by
ori_b
4y ago
> and many consumers appreciate it. I sure do -- if I get an email that has a ton of money spent on branding, it's a useful signal that the email is unimportant, and can be ignored.
703.
▲
by
ori_b
4y ago
If we're plugging implementations, I tend to use the single-file implementation that ships with 9front. I wrote the first cut, but it's been improved heavily by others: http://man.9front.org/8/acmed http:&#x
704.
▲
by
ori_b
4y ago
The same thing I do if the vulnerability is in the binary itself, and not in a library. Surely, if you care, you have a mitigation plan for this?
705.
▲
by
ori_b
4y ago
Sure. Networks are fast enough.
706.
▲
by
ori_b
4y ago
The code is readable and maintainable, and can be used in the Linux distro that the author maintains without pulling in a huge number of dependencies to build a C++ compiler. https://github.com/oasislinux/oasis https:
707.
▲
by
ori_b
4y ago
It's something borrowed directly from email, at least in traditional clients, and it works.
708.
▲
by
ori_b
4y ago
$ find minix -name \*.[chsS] | grep -v '^minix/external' | xargs cat | wc -l 3347361 $ find xv6-public/ -name \*.[chsS] | xargs cat | wc -l 9778
709.
▲
by
ori_b
4y ago
> So whatever that secret is A large IT team.
710.
▲
by
ori_b
4y ago
> Extensions from a future POSIX standard have been added. Note that these are subject to change until the standard is finally published. The extensions listed cover most of what I'm currently missing from posix make.
711.
▲
by
ori_b
4y ago
I poke around code that candidates have written. Simplicity is a virtue.
712.
▲
by
ori_b
4y ago
> Ron DeSantis doesn't need hardware-level DRM to ban math books. Enforcement is a different issue.
713.
▲
by
ori_b
4y ago
That rapidly converges on "you can't buy a computer and use it", because economic interests favor trusted computing devices.
714.
▲
by
ori_b
4y ago
You're right -- the traceable transaction ledger that most cryptocurrencies generate is exactly what this law is intended to force people towards, to ease the burden on law enforcement. Combined with basic know-your-customer laws, they
715.
▲
by
ori_b
4y ago
You can maintain it, and get the associated glory and fame! (it honestly seems relatively finished, so I don't think there's all that much work, either.)
716.
▲
by
ori_b
4y ago
VMs are also full of side channels. Depending on how much isolation is a concern, you need to own the host. I don't trust VMs particularly more than containers in this respect: Containers have a lot of attack surface, but VMs also have
717.
▲
by
ori_b
4y ago
You could run it in a very simple container, unshare(1) style. This adds no measurable overhead to binary startup time. https://man7.org/linux/man-pages/man1/unshare.1.html
718.
▲
by
ori_b
4y ago
> Is there a similar priced way to run Go or Rust with similarly fast cold starts and low latency? A binary?
719.
▲
by
ori_b
4y ago
The postmortem is worth reading: https://poolp.org/posts/2020-01-30/opensmtpd-advisory-dissec... It's worth reading through the systemic mitigations that would make a clone of this bug impossible in the futur
720.
▲
by
ori_b
4y ago
That's what OpenBSD did: > The %n conversion specifier has serious security implications, so it was changed to no longer store the number of bytes written so far into the variable indicated by the pointer argument. Instead a syslog
More ›