Better HN
topnewbestaskshowjobs
Log inSign up

dmitris

9 karma · joined Dec 13, 2011 (14y ago) · 21 submissions

Submissions

comment 4mo ago · link · parent

Shift-Cmd-R Reader Mode if on Mac

comment 5mo ago · link · parent

to be clear [IMO]

comment 2y ago · link · parent

I like to do `g++ foo.cc |& tee /tmp/out` then you can `less /tmp/out`, grep the file, open it in an editor etc.

comment 2y ago · link · parent

on a Mac, one can 'brew install qrencode' (from https://fukuchi.org/works/qrencode/index.html.en)

comment 2y ago · link · parent

Avianca Flight 052 https://en.wikipedia.org/wiki/Avianca_Flight_052 (mentioned above in the comments)

comment 3y ago · link · parent

https://en.wikipedia.org/wiki/Principal_investigator

comment 3y ago · link · parent

It is possible to use Rust shared objects in C (and other languages) with the "cdylib" or "staticlib" crate types and when the Rust functions are marked with 'extern "C"'. See https://docs.rust-embedded.org/book/interoperability/rust-wi... and https://doc.rust-lang.org/reference/linkage.html. The YouTube video https://www.youtube.com/watch?v=5zmaLhSAkNE has an example/demo and Jon Gjengset has the "Reverse FFI" section in his "Crust of Rust: Build Scripts and Foreign-Function Interfaces (FFI)" video at 2:02:57 https://www.youtube.com/watch?v=pePqWoTnSmQ&t=7378s. Finally, https://prog.world/building-and-using-dynamic-link-libraries... is yes another article on "Building and using dynamic link libraries in Rust".

comment 4y ago · link · parent

and also a whitepaper / report from Isovalent on the same topic https://isovalent.com/blog/post/2022-04-oreilly-security can be downloaded for free (after filling the form), or if you have access to O'Reilly's Safari library, it is https://learning.oreilly.com/library/view/security-observabi... there.

comment 4y ago · link · parent

what about their children?

comment 4y ago · link · parent

alternatively `sudo dnf module install -y container-tools` https://podman.io/getting-started/installation

comment 4y ago · link · parent

Performance Improvement Plan https://www.perkbox.com/uk/resources/blog/a-complete-guide-t...

comment 5y ago · link · parent

the link is wrong - should be https://pingcap.com/blog/why-we-switched-from-bcc-tools-to-l... (the current one points to a WeBank's case study about TiDB)

13.

Building BPF applications with libbpf-boostrap(nakryiko.com ↗)

1 points · by dmitris · 5y ago · discuss

comment 6y ago · link · parent

https://github.com/iovisor/bcc/blob/master/docs/reference_gu... lists the hook points where BPF code can be attached. Also take a look at https://blogs.oracle.com/linux/notes-on-bpf-1 (there are follow-ups - https://blogs.oracle.com/linux/notes-on-bpf-7 has the links at the bottom) and from the Linux source, https://github.com/torvalds/linux/blob/master/include/uapi/l.... https://docs.cilium.io/en/latest/bpf/ is an extensive reference but with an emphasis on the network-related areas (xdp, tc).

comment 6y ago · link · parent

related documentation in the Developer Guide: https://docs.aws.amazon.com/apigateway/latest/developerguide...

16.

Mutual TLS Authentication for Amazon API Gateway(aws.amazon.com ↗)

2 points · by dmitris · 6y ago · 1 comment

comment 7y ago · link · parent

The current problem though is that it requires all your code + all the dependencies to be under $GOPATH/src. https://github.com/golang/go/issues/33655 starts with: "At this time, the godoc command is only able to display packages that are located in a GOPATH workspace."

comment 8y ago · link · parent

Here's a deriv example in Go: https://play.golang.org/p/kUM5qn7oiXg

I find that it follows the functional spec quite closely, thanks to Go functions being first class citizens.

comment 11y ago · link · parent

would not it be easier and cleaner to use the Android's REPO tool [1] to pin down the versions and layout your workspace? At least the REPO allows you to write down the dependency information in a declarative manner instead of Makefile scripting snippets.

[1] https://source.android.com/source/using-repo.html

comment 12y ago · link · parent

Gave me a bigger jolt than the morning coffee - here's a spoiler in Go: http://play.golang.org/p/YBfxhjvsOB

comment 13y ago · link · parent

Tainted mode for Javascript and tools for identifying DOM XSS (similar to DOMinator) would be really useful for security testing and audits of the modern complex sites. There is a bug open https://bugzilla.mozilla.org/show_bug.cgi?id=811877 - hopefully it can be given sufficiently high attention and priority!