Better HN
topnewbestaskshowjobs
Log inSign up

kxxt

93 karma · joined May 2, 2022 (4y ago) · 17 submissions

Submissions

comment 5mo ago · link · parent

It would be more interesting to see the release of the desktop application of open-source Euro-Office because the CEF binary used in "open-source" OnlyOffice desktop application is proprietary.

I have requested [1] the source of the CEF binary for at least two times, with no luck.

[1]: https://github.com/ONLYOFFICE-data/build_tools_data/issues/4

comment 1y ago · link · parent

It's because CRLs/OCSP sucks so now short expiration is rolling out.

3.

F-Droid site certificate expired(gitlab.com ↗)

155 points · by kxxt · 1y ago · 111 comments

4.

Show HN: Cargo-visualize – Interactive dependency graph(github.com ↗)

7 points · by kxxt · 1y ago · discuss

comment 2y ago · link · parent

tracexec uses BPF to some extent, but probably not in the way you guessed. it uses ptrace to do most of the work and use seccomp-bpf to speed it up. Using eBPF to do the syscall filtering requires root, so that's a reason for me to choose ptrace. And credits to the strace developers: https://pchaigno.github.io/strace/2019/10/02/introducing-str...

comment 2y ago · link · parent

Yes, it's a very high priority todo for me: https://github.com/kxxt/tracexec/issues/3. I already reserved space for it(The empty line under title in the TUI). It requires some work because for now the environment panel is just a paragraph of text wrapped in a scrollview.

7.

Show HN: Tracexec – TUI for tracing execve and pre-exec behavior(github.com ↗)

57 points · by kxxt · 2y ago · 9 comments

8.

Show HN: tracexec: A small utility for tracing execve{,at}(github.com ↗)

1 points · by kxxt · 3y ago · discuss

9.

Scrcpy v2.0(github.com ↗)

10 points · by kxxt · 3y ago · 1 comment

10.

CS: App website has now become RHEL test page(csapp.cs.cmu.edu ↗)

2 points · by kxxt · 3y ago · discuss

comment 3y ago · link · parent

ChatGPT can be a helpful reviewer but it can also give you miss leading suggestions. But it seems that it doesn't know how to properly write a patch.

12.

Let ChatGPT review your PRs(github.com ↗)

1 points · by kxxt · 3y ago · 1 comment

comment 4y ago · link · parent

Recently I participated in Geekgame 2nd, which is a pretty good CTF competition for CTF newbies like me.

One problem in that competition is to submit a safe rust program that will segfault. The problem forces you to begin your rust code by #![forbid(unsafe_code)], which can’t be worked around by #![allow(unsafe_code)].

Of course, there is an attribute `allow_internal_unsafe` which allows you to use unsafe code inside a macro.

But after this PR(https://github.com/rust-lang/rust/pull/57467) was merged, you can no longer use this attribute when unsafe code is forbidden.

So how can you cause a segfault in safe rust under the assumption that you can not bypass #![forbid(unsafe_code)].

...

Read the complete blog by clicking the link in the title.

14.

Safe Rust Code That Segfaults(kxxt.dev ↗)

3 points · by kxxt · 4y ago · 1 comment

15.

Using trial token of Azure Cognitive Services to do speech synthesis(github.com ↗)

1 points · by kxxt · 4y ago · discuss