Better HN
topnewbestaskshowjobs
Log inSign up

sYnfo

88 karma · joined Nov 12, 2015 (11y ago) · 19 submissions

Submissions

comment 2y ago · link · parent

You might find the syscall tracing functionality of Cirron useful: https://github.com/s7nfo/Cirron

comment 2y ago · link · parent

FYI vien [0] figured out that simply compiling with "-static -fno-pie" and _exit(0)-ing at the end puts the solution presented here to 15000 points and hence #4 on the leaderboard. Pretty funny.

[0] https://news.ycombinator.com/user?id=vient

comment 2y ago · link · parent

Neat! I'll add the best solution without explicit SIMD/asm in this thread to the post after I wake up, it's a great datapoint.

comment 2y ago · link · parent

14 already assumes unsigned accumulator! 255 [accumulator capacity] / (2 [shuffle-adds] * 9 [highest digit value]) ~= 14

comment 2y ago · link · parent

Map vs. territory. The challenge, as defined by the system the competition runs on, is to get 3 correct responses in a row. That's it.

comment 2y ago · link · parent

1) if you set BATCH_SIZE > 14 sums_acc may overflow

2) chunks with too many small numbers cannot be processed with just 2 shuffle-adds

3) (not mentioned in the post) HighLoad limits the size of the source code you can submit, so you can't put all possible values in the look-up table

comment 2y ago · link · parent

To be clear, it’s not dereferencing unmapped memory, I just haven’t shown how it’s being mapped, because it’s a little complex. As I note in the post, you can imagine as if I mmap all the necessary addresses at the start of the program.

8.

CRuby writes files with 40% fewer syscalls than CPython(blog.mattstuchlik.com ↗)

3 points · by sYnfo · 2y ago · discuss

9.

Recording and visualising the 20k system calls it takes to "import seaborn"(blog.mattstuchlik.com ↗)

111 points · by sYnfo · 2y ago · 53 comments

10.

Counting CPU Instructions in Python(blog.mattstuchlik.com ↗)

2 points · by sYnfo · 2y ago · discuss

comment 7y ago · link · parent

It's not quite so simple: AFAICS they have not open-sourced the training code, only one for sampling from the pre-trained model.

12.

Controlling Your Python Application via Slack with Yasuf(github.com ↗)

3 points · by sYnfo · 10y ago · discuss

13.

Freelancing with Python and Fiverr(synfo.github.io ↗)

3 points · by sYnfo · 10y ago · discuss

14.

Pyston in Fedora and the Future of Python 2(synfo.github.io ↗)

2 points · by sYnfo · 10y ago · discuss

15.

Python 3 Porting Database(synfo.github.io ↗)

2 points · by sYnfo · 11y ago · discuss

16.

Sen–Terminal User Interface for Docker Engine(github.com ↗)

2 points · by sYnfo · 11y ago · discuss