HNHacker News
TopNewBestAskShowJobs

iamcreasy

1,672 karma · joined December 5, 2014

Aspiring Indie Game Developer

hnchat:iah9cGDqdgU2TCHEINZt

submissionscomments
iamcreasy··on Good system design
I beg you to write an article expanding on this points. I'll pay to read this article.
iamcreasy··on H-1B Visa Changes Approved by White House
Isn't this already done during LCA filing?
iamcreasy··on Writing memory efficient C structs
This reminds of an amazing talk by Mike Acton on Data oriented design: https://www.youtube.com/watch?v=rX0ItVEVjHc

And there is a related talk by Andrew Kelley implementing these ideas on Zig toolchain: https://www.youtube.com/watch?v=IroPQ150F6c

iamcreasy··on Writing a Self-Mutating x86_64 C Program (2013)
Is it possible to mutate the text segment by another process? For example, injecting something malicious instead of exec-ing a shell?
iamcreasy··on How we decreased GitLab repo backup times from 48 hours to 41 minutes
Cool! Please post another flame graph after applying the patch.
iamcreasy··on I'm Peter Roberts, immigration attorney, who does work for YC and startups. AMA
Thanks for the AMA.

Recent change to H1B allow organizations that conduct research "as a fundamental activity" to be eligible for cap exemption status. Can you kindly share your opinion on this?

Do the startups you work with fit this criteria?

iamcreasy··on Mozilla Firefox – Official GitHub repo
Thanks for the added context.

If I may - what were the significant scale challenges for self hosted solution?

iamcreasy··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
Thanks for the AMA.

Recent changes to H1B allowing any organization that conduct research "as a fundamental activity" to be eligible for cap exemption status. What's your comment on this?

Based on your work experience with startup, do they ever fit this criteria?

iamcreasy··on A statistical approach to model evaluations
Thank you for writing the blog post on Jensen's inequality. It is one of the best introductory material on this topic I've seen.
iamcreasy··on A Stacktrace Puzzle
Interesting post. Thanks you for taking the time to write it.

In the long stack trace example, the first two traces start at the same line 277 which, I think, solves part of the problem you've posed. I need to look at the source code for the rest of the stack trace.

   Traceback (most recent call last):
     File "requests\packages\urllib3\contrib\pyopenssl.py", line 277, in recv_into
       return self.connection.recv_into(*args, \*kwargs)
     File "OpenSSL\SSL.py", line 1335, in recv_into
    self._raise_ssl_error(self._ssl, result)
     File "OpenSSL\SSL.py", line 1149, in _raise_ssl_error
    raise WantReadError()
   OpenSSL.SSL.WantReadError


   During handling of the above exception, another exception occurred:

   Traceback (most recent call last):
     File "requests\packages\urllib3\contrib\pyopenssl.py", line 277, in recv_into
    return self.connection.recv_into(*args, \*kwargs)
     File "OpenSSL\SSL.py", line 1335, in recv_into
    self._raise_ssl_error(self._ssl, result)
     File "OpenSSL\SSL.py", line 1166, in _raise_ssl_error
    raise SysCallError(errno, errorcode.get(errno))
   OpenSSL.SSL.SysCallError: (10054, 'WSAECONNRESET')*
iamcreasy··on How I Use Git
Thanks for the writeup, I especially liked the Committing section.

Question for the author: when working alone on a personal project, what's the benefit of pushing every (minor) commit you've made?

iamcreasy··on How SpaceX's Starship Caught Its Booster on Re-Entry: Control Engineering
Around the end of the video it says AI could be used to adjust the parameters of control, i.e. PID, algorithms.
iamcreasy··on Try to fix it one level deeper
Mike Acton said the same thing in an interview. He said curiosity is the best indicator if a candidate will be a good hire.

Casey Muratori was interviewing him at HandmadeHero Con back in 2016. Here is the snippet: https://youtu.be/qWJpI2adCcs?si=ezSKud42PC3Ub-UO&t=3112

iamcreasy··on Starship Flight 5: Launch and booster catch [video]
SpaceX is also not very happy with the pair of forward flaps and 10 ton thermal protection needed as control surface and re-entry.
iamcreasy··on Show HN: GoSQL – A query engine in 319 LoC
Nice. I also wanted to know the details behind database engine and ACID compliance. So, decided to follow Database Design and Implementation by Edward Sciore, and re-implemented the database in Python: https://github.com/quazi-irfan/pySimpleDB

This db treats file as raw disk and reads and writes in blocks. In the book, your step 3 and 4 will be a start of a transaction that uses recovery manager to log changes introduced by the query, and buffer manager to page in and out file blocks in memory. This book uses serializable isolation, so if buffer pool is full and can't page in new block or if another transactions are writing to that same block - the newer transaction will be rolled back after a brief wait.

iamcreasy··on Refactoring Python with Tree-sitter and Jedi
Was it possible to have Python parse its own ast and rename those variables?
iamcreasy··on Applied Mathematical Programming
Can you share an example of change you are referring to? The topics looks on this book look pedagogical.
iamcreasy··on Jensen's Inequality as an Intuition Tool (2021)
The article does it around half way through,

...the inequality the way I learned it²:

E[f(x)] ≥ f(E[x])

…if f(x) is convex

iamcreasy··on Vim Racer
It is very useful to be able to see how other did it though leaderboard.
iamcreasy··on Duck typing (horror) in Go
> structural typing means that use of an object type checks if some explicitly specified set of operations on it are defined

Can you please share an example? Structural typing[1] sounds like a subset/special case of Duck typing.

[1] https://www.typescriptlang.org/docs/handbook/type-compatibil...

iamcreasy··on Home to Anything JavaFX Related
Very cool! Can you share any interesting story related to the adoption of Swing v JavaFX?
iamcreasy··on Ask HN: Changing my mind about JavaScript
How does your book Deep Javascript compared to You Don't Know Javascript? I just finished a Eloquent Javascript and looking for something advanced.
iamcreasy··on The new PostgreSQL 17 make dist
> Some packagers have policies that everything needs to be built from source, so they’d just delete and rebuild the prebuilt files anyway.

What packages are they referring?

iamcreasy··on A/B testing mistakes I learned the hard way
The article says 'Changing the color of the "Proceed to checkout" button will increase purchases.' is a bad hypothesis because it is underspecified.

But what else is there to measure other than checkout button click count(and follow up purchases) to measure the effect of button color change?

Or perhaps this is not a robust example to illustrates undespeficaition?

iamcreasy··on Ngtop – Request analytics from the Nginx access logs
Thanks, but I want to access the log through browser though.
iamcreasy··on Show HN: Trayce – Network tab for Docker containers
Cool!

> It uses EBPF to achieve zero-configuration sniffing of TLS-encrypted traffic.

Can someone ELI5 this?

iamcreasy··on Ngtop – Request analytics from the Nginx access logs
What is the simplest solution to access nginx log? Could it be setting an endpoint(behind simple user/pass) that echos the content of the log?
iamcreasy··on FastHTML – Modern web applications in pure Python
This looks very interesting.

Is it possible to inject custom JS wherever I want in the app? Also, is the generate html/css/javascript readable as the application scale up?

iamcreasy··on One-man SaaS, 9 Years In
If the author is reading - what was the nonsensical Python exceptions that went away after hardware upgrade?
iamcreasy··on Difference between running Postgres for yourself and for others
Thanks for the great write up.

What is MMW on the flowchart?

← PreviousPage 3 of 33Next →