Better HN
topnewbestaskshowjobs
Log inSign up

libcheet

197 karma · joined Jul 15, 2023 (3y ago) · 47 submissions

Submissions

1.

Show HN: Android Toolkit for Debugging Networks(play.google.com ↗)

2 points · by libcheet · 1y ago · discuss

2.

Instagram uses expiring certificates as single day TLS certificates(hereket.com ↗)

2 points · by libcheet · 1y ago · discuss

3.

Step-by-Step Interpreter Visualization(hereket.com ↗)

2 points · by libcheet · 1y ago · discuss

4.

Exploring inner workings of a random free Android VPN(lecromee.github.io ↗)

1 points · by libcheet · 2y ago · discuss

5.

Comparing C/C++ unity build with regular build on a large codebase(hereket.com ↗)

3 points · by libcheet · 2y ago · 1 comment

6.

Simplified explanation of how RSA message encryption/decryption works(hereket.com ↗)

2 points · by libcheet · 2y ago · discuss

7.

RSA Illustration(hereket.com ↗)

3 points · by libcheet · 2y ago · discuss

8.

Build Android APK from command line without gradle(hereket.com ↗)

2 points · by libcheet · 2y ago · discuss

comment 2y ago · link · parent

Very interesting. I need to try that. But does your TCP trick has unix sockets alternative?

comment 2y ago · link · parent

On one hand it is definitely a crazy idea on the other hand I wonder if wayland's API is as simple as this and also could be done in 100+ line of bash.

11.

Networking without programming or using netcat and pipes to create X11 window(hereket.com ↗)

3 points · by libcheet · 2y ago · 5 comments

comment 2y ago · link · parent

On one side it is true and I am actually OK with it. But my wife has iphone 12 and it was fantastic at the time and now she always complains how slow and laggy it is. I checked it myself and it is true. Of course it's been almost 4 years since the release but I don't think user software changed that much during this time.

comment 2y ago · link · parent

Everything new is well-forgotten old.

comment 2y ago · link · parent

I guess I got used to it and not it does not give me as a developer to squeeze every last bit of performance for regular day job. My apps already run at 60 fps and spending more time on optimizing it just don't more dopamine.

15.

Is software getting slower faster than hardware getting faster?

9 points · by libcheet · 2y ago · 21 comments

16.

BashFu – Open X11 window with netcat, echo, pipes and file system(hereket.com ↗)

2 points · by libcheet · 2y ago · discuss

comment 2y ago · link · parent

From product C code perspective, this code is of course bad. But here idea was to show data manipulation closer to how it is shown in documentation.

Also a lot requests have dynamic size and cannot be as easily packed and serialized to be sent over the "wire". So for example you could put pointer to string into struct, malloc required space, then assign pointer. After when you want to send data you would have to write serialization methods to put it in correct order. It is all fine and should be done when you build bulletproof system to manage X11. But here these techniques just draws too much attention away from X11.

comment 2y ago · link · parent

Yes. For production, struct are obvious choice. But here arrays were similar to how documentation specified data will be on the wire. So for educational purposes (to explain protocol) it seemed like a better choice. But I might be wrong and maybe structs would have been more approachable way to understand.

19.

Opening Windows in Linux with sockets, bare hands and 200 lines of C(hereket.com ↗)

265 points · by libcheet · 2y ago · 121 comments

20.

Equally distributing uploaded files with MD5 hashing of timestamp(hereket.com ↗)

1 points · by libcheet · 2y ago · 1 comment

21.

Single file almost local shadertoy with hot reloading(hereket.com ↗)

1 points · by libcheet · 2y ago · discuss

comment 2y ago · link · parent

A little crazy but fun idea.

23.

Poor mans autoreload server in single file Python(hereket.com ↗)

4 points · by libcheet · 2y ago · 1 comment

24.

DES/3DES Algorithm Illustration(hereket.com ↗)

56 points · by libcheet · 2y ago · 2 comments

25.

From scratch OpenGL and shaders with raw Xlib(hereket.com ↗)

97 points · by libcheet · 2y ago · 42 comments

12