Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremycw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Server-side rendering is dead, long live server-side rendering
(pageo.us)
1 points
by
jeremycw
1y ago
|
0 comments
2.
▲
by
jeremycw
2y ago
It omits that the prisoners are deceased and uses the term "vanish" which implies it's not known where the organs have gone. "Alabama prisoners' organs vanish, and there's a whole lot of passing the buck"
3.
▲
by
jeremycw
3y ago
The overhead of cgo seems like it would not be an issue if you could pass in an array of vectors and moved the outer loop into the procedure instead of calling the procedure for each vector. This may only be viable if there is a low overhea
4.
▲
by
jeremycw
3y ago
https://github.com/ir33k/gmi100/blob/master/gmi100.c#L27 definitely threw me for a loop until I realized it was a line saving trick. It would be more readable to save lines elsewhere by exploiting the co
5.
▲
by
jeremycw
4y ago
I am not a lawyer and please correct me if I'm wrong but as I understand it rules and mechanics are not copyrightable. What is copyrightable is the flavor text and specific compilation of the rule set into the "Rule Book". Th
6.
▲
by
jeremycw
4y ago
I think you need to be a bit more humble on a topic that's clearly going over your head. Imagine a scenario where you are testing out a brand new RISC-V development board. The vendor has only provided a C compiler for this board as is
7.
▲
Ditching Active Record Callbacks
(engineeringblog.wonolo.com)
1 points
by
jeremycw
4y ago
|
0 comments
8.
▲
by
jeremycw
4y ago
I wonder if it's possible this was an optical illusion. Seeing optical illusions where oil tankers are hovering in mid-air has changed my perception of what people could see and how it could be misinterpreted. [1] I'm not a physic
9.
▲
by
jeremycw
4y ago
I've seen a few large Rails codebases that included a state machine library like mentioned in the article. Every single one was worse because of it. It pushes the code down a path where hidden hooks run when magic methods are called. A
10.
▲
by
jeremycw
5y ago
The problem with these types of gems is that they're good for refactoring functional style code that takes an input and produces a result and has "few side effects" as they mention, but this is generally not the type of code
11.
▲
by
jeremycw
5y ago
Sometimes I find it a little depressing that (at least through my laymen eyes) we are nearing a technological plateau and that more research into physics is unlikely to get us to a world describe in traditional science fiction with FTL driv
12.
▲
by
jeremycw
5y ago
While stylistically I don't necessarily agree with him all the time, Casey Muratori's Handmade Hero ( https://handmadehero.org/ ) is probably the most complete resource in terms of videos and access to source code a
13.
▲
by
jeremycw
5y ago
You're right, when I mentioned "taxonomy, abstraction and world-modeling" I meant as it pertains to code organization in the tradition OOP/OOD sense where it's generally about naming classes, creating inheritance hi
14.
▲
by
jeremycw
5y ago
> Doesn't the former enable the latter? Not necessarily. ECS is a local maxima when developing a general purpose game engine. Since it's general purpose it can do nothing more than provide a lowest common denominator interface
15.
▲
by
jeremycw
5y ago
I think the focus on ECS when talking about data-oriented design largely misses the point of what data-oriented design is all about. Focusing on a _code_ design pattern is the antithesis of _data_-oriented design. Data-oriented is about bre
16.
▲
by
jeremycw
6y ago
I use it when I need to be really productive on projects and tasks where there are a lot of little things to accomplish and lots of little details to keep track of. My procrastination kicks in when I finish a task and "deserve a brea
17.
▲
by
jeremycw
6y ago
I ran `brew install graphiz` a week ago and got a new major postgres version.
18.
▲
by
jeremycw
6y ago
> The major argument is somewhat philosophical. I don’t like what people expect out of CD games. Does anyone think that the cheeseball dialog in crash and burn is a GOOD addition? It turns my stomach. People expect CD games to have tons
19.
▲
by
jeremycw
6y ago
I remember JWT coming on my radar around 10 years ago during the height of RESTful bikeshedding. It was a "must have" because sessions, being stateful, are not pure REST. Now that we've come off the height of the pure REST fa
20.
▲
by
jeremycw
6y ago
This is good advice. However, I've seen this advice before and the example is usually something where it's easy to imagine what an incremental step is. The advice is when you want to do n just do < n. This is great for some thi
21.
▲
by
jeremycw
7y ago
There's something about event driven architectures that captures our engineering minds and makes our imaginations run wild. At face value it seems like the Grand Unifying Theory of software engineering, a Grand Unifying Architecture. E
22.
▲
by
jeremycw
7y ago
This is the type of code/suggestion that I would have eaten up 10 years ago as a junior. Now this type of code just makes me angry and I spend most of my time turning stuff like this back into what it was before applying this query obj
23.
▲
by
jeremycw
7y ago
The goal is definitely not to replace NGINX or Apache or the like. I don't see handling TLS ever being a goal of this project, same with HTTP2 support. Although allowing the user to plug something in to handle HTTPS may not be out of t
24.
▲
by
jeremycw
7y ago
Yes, there are some pieces missing that are on my radar like chunked support, uri/query parsing and sendfile.
25.
▲
by
jeremycw
7y ago
I don't really understand what your criticisms are. There is literally no functional code difference between a single header library and a two file library. Your aversion is as arbitrary as saying you don't consider libraries if t
26.
▲
by
jeremycw
7y ago
This only causes a problem if you define HTTP_BODY in the same file that you define HTTPSERVER_IMPL when including httpserver.h
27.
▲
by
jeremycw
7y ago
No, but by virtue of being a single header library it will run through whatever static analysis you have set up on your project. If an http server like NGINX solves your problem then, please, use that, because this is not an http server. It
28.
▲
Httpserver.h: Single header library for writing non-blocking HTTP servers in C
(github.com)
332 points
by
jeremycw
7y ago
|
163 comments
29.
▲
by
jeremycw
7y ago
http://www.motherfuckingblog.com/
30.
▲
by
jeremycw
7y ago
I wrote tetris in verilog that can output to VGA 10 years ago for a university project. The code is here: https://github.com/jeremycw/tetris-verilog for anyone interested. Comments are sparse but it might be interestin
More ›