1. 4
    • Lean more about Zig reader/writer and try see how it can change h11 API.
    • Exercise: fat is useful in winter but not too much :P
    1. 64

      I find Docker funny, because it’s an admission of defeat: portability is a lie, and dependencies are unmanageable. Installing dependencies on your own OS is a lost battle, so you install a whole new OS instead. The OS is too fragile to be changed, so a complete reinstall is now a natural part of the workflow. It’s “works on my machine” taken to the conclusion: you ship the machine then.

      1. 17

        We got here because dependency management for C libraries is terrible and completely inadequate for today’s development practices. I also think Docker is a bit overkill, but I don’t think this situation can be remedied with anything short of NixOS or unikernels.

        1. 8

          I place more of the blame on just how bad dynamic language packaging is (pip, npm), intersected with how bad most distributions butcher their native packages for those same dynamic languages. The rule of thumb in several communities seems to be a recommendation to avoid using native packages altogether.

          Imagine if instead static compilation was more common (or even just better packaging norms for most languages), and if we had better OS level sandboxing support!

          1. 3

            Can you explain what you find bad about pip/npm packaging?

            1. 2

              I don’t think npm is problematic to Docker levels. It always supported project-specific dependencies.

              Python OTOH is old enough that by default (if you don’t patch it with pipenv) it expects to use a shared system-global directory for all dependencies. This setup made sense when hard drive space was precious and computers were off-line. Plus the whole v2/v3 thing happened.

              1. 5

                by default (if you don’t patch it with pipenv)

                pipenv is…controversial.

                It also is not the sole way to accomplish what you want (isolated environments, which are called “virtual environments” in Python; pipenv does not provide that, it provides a hopefully-more-convenient interface to the thing that actually provides that).

          2. 4

            Yes, unikernels and “os as static lib” seem the sensible way forward from here to me, also. I don’t know why it never caught on.

            1. 4

              People with way more experience than me on the subject have made a strong point about debuggability. Also, existing software and libraries make assumptions about the filesystem and other things that are not immediately available on unikernels being there, and rewriting them to be reusable on unikernels is not an easy task. I’m also not sure about the state of the tooling for deploying unikernels.

              Right now it’s an uphill battle, but I think we’re just a couple years away and we’ll get there eventually.

              1. 6

                Painfully easy to debug with GDB: https://nanovms.com/dev/tutorials/debugging-nanos-unikernels-with-gdb-and-ops - Bryan is full of FUD

                1. 4

                  GDB being there is great!

                  Now you also might want lsof, netstat, strace, iostat, ltrace… all the tools which exist for telling you what’s going on in the application to kernel interface are now gone because the application is the kernel. Those interfaces are subroutine calls or queues instead.

                  It’s not insurmountable but you do need to recreate all of these things, no? And they won’t be identical to what people are used to.

                  I guess the upside is that making dtrace or an analogue of it in unikernel land is prolly easier than it was in split kernel userspace land: there’s only one address space in which you need to hot patch code. :)

                  1. 2

                    Perhaps some tools you’d put in as plugins but most of the output from these tools would be better off being exported through whatever you want to use for observability (such as prometheus). One thing that confuses a ton of people is that they are expecting to deal with a full blown general purpose operating system which it isn’t. For example if you take your lsof example - suppose I’m trying to figure out what port is tied to what process - well in this case you already know cause there’s only one.

                    As for things like strace - we actually already did implement something similar a year or so ago as it was vital to figure out what applications were doing what. We also have ftrace like functionality too.

                    Finally, as for tool parity you are right if all you are using is Linux then everything should be relatively the same, but if you jump between say osx and linux you’ll find quite a few different flags or different names.

                    1. 2

                      It obviously wouldn’t be “identical to what people are used to” though, that’s kind of the point. And you don’t want a narrow slice of a full linux system with just the syscalls you use compiled in, it’d be a completely different and much simpler system designed without having to constantly jump up and down between privelege levels, which would make a regular debugger a lot more effective to track a wider array of things than it can now while living in the user layer of a full OS.

              2. 1

                Can you further clarify? With your distribution’s package manager and pkg-config development in C and C++ seems fine. I could see docker being more of a thing on Windows with C libraries because package management isn’t really a thing on that OS (although msys seems like it has pacman which is nice). Also wouldn’t you use the same C library dependency management inside the container?

                Funny enough, we are using docker at work for non-C languages (dotnet/mono).

              3. 6

                That’s exactly what I said at work when we began Dockerization of our services. “We just concluded that dependency management is impossible, so we may as well hermetically seal everything into a container.” It’s sad that we’re here, but there are several reasons both technical and business related why I see containerization as being useful for us at $WORK.

                1. 5

                  Which is what we used to do back in the 70s and 80s. Then operating systems started providing a common set of interfaces so you could run multiple programs safe from each other (in theory), then too many holes started opening up and programs relying on specific global shared libs/state which would clash, and too many assumptions about global filesystem layout, and now we’ve got yet another re-implementation of the original idea, just stacked atop of and wrapped around the old, crud piling up around us comprised of yak hair, old buffer overflows, and decisions made when megabytes of storage were our most precious resource.

                  1. 1

                    What if I told you that you don’t need an os at all in your docker container? You can, and probably should, strip it down to the minimal dependencies required.

                    1. -1

                      This is amazing insight. Wow. :O Saving and sending this.

                        1. 1

                          Thanks for the laugh :’)

                    1. 1
                      • Ends of vacations, so going back to work: goodbye sun :’(
                      • Starting to work again on requestz (Zig HTTP client): I want to finish the interface for request/response streaming.
                      • Buying a car, and then looking to buy a smol house in the countryside
                      1. 1

                        Buying a car, and then looking to buy a smol house in the countryside

                        mondays, right? damn, I wish my todo lists look like that :P

                        1. 2

                          Ahah, actually it took me time ! It was in the back of my head for 2/3 years but with all the bloody lockdowns in my country I just could’nt stand being in a city with all these restrictions; I take the opportunity and see where it leads :)

                      1. 11

                        Impressive for a month of work :)

                        1. 5


                          • technical support ;_;


                          • Implement streaming response for requestz.
                          1. 37

                            Taking my sleep seriously, and pursuing a sleep apnea diagnosis.

                            I went from being so constantly fatigued to to the point where I could fall asleep while driving, to feeling… well, normal I guess.

                            Sleep has such a drastic effect on one’s executive function that almost every other aspect of my life has improved because of it.

                            1. 9

                              In that regard, being more careful with caffeine. Cutting my coffee with decaf in the afternoon or foregoing it entirely. On the days where I only have coffee once I am a little shocked at how tired I get by the afternoon.

                              1. 7

                                Yup, similar experience here! My dentist told me I have sleep apnea 3 years ago, which resulted in a deep journey into the topic of breathing, and a big improvement in my life. Even though I wasn’t sleepy! Most people don’t realize that tooth grinding and damage is often a sign of bad breathing at night. Also, many people are mouth breathers and unaware of it, and it is a sign of poor breathing and sleep apnea.

                                A funny thing is that all these sleep, breathing, and teeth issues have been popping up on Hacker News over the last year or so. I’m not sure if there is a correlation between them and programming, or just general awareness, because a bunch of popular books have come out about sleep lately. Could be that the readership is aging :)

                                Here’s a comment I wrote in response to one of these stories:


                                Here’s a surprising claim that has scientific concensus: Basically ALL humans have problems breathing. That is, apes and other mammals don’t have these problems.

                                The two main reasons are the anatomical changes due to the evolution of speech, and the advent of agriculture, which completely changed our diets and thus the structure of our jaw.

                                The agriculture bit hit us twice: ~10,000 years ago when we stopped being hunter-gatherers, and 50 years ago with the rise of industrial cooking. Remember that the average body weight for a man in the US increased from ~166 in the 1960’s to ~196 today [1]. This can push your bad breathing over the edge, although in my case I found that going back to a medically normal weight (which is 20-30th percentile now!) actually doesn’t fix the problem.

                                I think that “sleep apnea” needs to be divided into several different afflictions, because the general tendency towards bad breathing manifests in different ways for different people. It sounds like a specific thing that certain people have, but it’s not really the case. It’s also common in young, thin women.

                                Basically everyone’s airway is a little bit obstructed. But it’s not something a doctor will tell you about, because it may not cause an emergency. It’s more of a thing that unfolds over 20, 30, or 40 years. Doctors tend to give you point fixes for the SYMPTOMS, not the causes. For example, poor breathing causes high blood pressure, and lots of people are on blood pressure meds. And you will also find lots of dentists who will drill your teeth without telling you what the underlying cause of the damage is.

                                Another way to think of sleep apnea is like cancer. 100 years ago, fewer people died of cancer, because they would die of something else first. Breathing it the same way… If you don’t die of something else, the accumulated wear of bad breathing may do you in (heart issues, dementia, etc.). Breathing naturally gets worse over time. Obviously, some people have this problem more than others, but if you’re educated and talk to 10 people you know, you’ll almost certainly see signs of it.

                                I list a bunch of books in the HN comment if people are interested, and feel free to contact me about it, as I have an ongoing interest here.

                                [1] https://www.washingtonpost.com/news/wonk/wp/2015/06/12/look-at-how-much-weight-weve-gained-since-the-1960s/

                                1. 1

                                  Very interesting morning read thanks ! :) Did you try some Wim Hoff techniques for your breath ?

                                  1. 2

                                    I’ve heard about it, I think through Nestor’s book “Breath”, but haven’t tried it. Yup I just checked Amazon and there are many references to Wim Hof:


                                    Nestor goes through many different traditions of breath work in his book. “Tummo” from Tibet is another one that stood out in my mind.

                                    What lends this a lot of credibility is that many people over the years, from different cultures, have rediscovered the same things, or at least overlapping things. I’m confident our understanding will grow in the near future!

                                  2. 1

                                    I am interested in this.

                                    I have a diagnosis of “Vasomotor Rhinitis” which to me sounds like “we don’t know why but your nose canals are a little smaller”. During your research did you come by any tips for that kind of problem?

                                    1. 2

                                      Hm that’s interesting. I don’t recall seeing that term.

                                      But if you have a mild chronic and/or congenital problem related to breathing, I would check out Nestor’s “Breath”. It is not a conclusive book, but it goes through many different traditions that have uncovered overlapping knowledge.

                                      He says he has a narrow head, and he had a history of a lot of orthodontic work. And those 2 things are correlated with bad breathing.

                                      What really stands out as a big lesson is that every thing in your head is related! Doctors tend to treat things in isolation, so they will often give you bad or conflicting advice on these topics.

                                      Who knew that breathing can affect your teeth? And your diet also affects your breathing, etc.

                                      Unfortunately I don’t have a specific answer, but I will say that doing research into this topic paid off for me. And if you ask your friends, you will start to notice that everyone has these chronic problems that they tend to ignore, but that reduce their quality of life. Sometimes they can’t travel as well because of the issue, so they avoid this or that, etc.

                                      The analogy I’ve been using is that you can imagine hitting 100 pumpkins with a hammer. All of them will have some problem, but it won’t be the same problem!

                                      That’s like humans and breathing. As a species, we’re predisposed to bad breathing. But everyone has a unique problem, and so unfortunately there is a lot of trial and error involved in finding solutions. I have had partial solutions for 3 years, like sleeping on my side and an oral appliance. But am looking at even more solutions, now that I FEEL the great improvements!

                                      PS. I did hear of something called “Muller’s Maneuver” in a book to diagnose obstructions in the nose, but I don’t know more than that. The book “8 hour sleep paradox” by Burhenne recommends that you ask your doctor for this.


                                      I may start a blog … at the very least I should make a dump of all the books I’ve read. If you find anything interesting let me know!

                                  3. 3

                                    Can’t vote this up enough. If you snore or share a sleeping space with someone who snores, get a sleep test. Get a CPAP. Wow. An amazing change. It’s weird to get used to for a week or two then it’s nothing.

                                  1. 3

                                    I finally had time this week to mock the socket calls in the unit tests of the HTTP client I build in Zig*.

                                    This weekend, I want to fix some obvious bugs and see how streaming responses could work.


                                    1. 29

                                      I’m so sick of lobsters. From the profiles that post and have (presumably RL) pictures, and from tapping through the invite trees of posters, it feels like there is very little racial, class, and gender diversity here. The ensuing discussion on threads involving diversity are sickening to read and pretty much reinforce this perception. They are orders of magnitude worse around this than threads on HN about this stuff, which is hard to believe.

                                      I doubt I’ll be sticking around. If anyone who operates this thing cares to make it more diverse and less of a dumpster fire and happens to see this, consider that only allowing members to invite members might be partly why diversity is so poor here (at least when it comes to commenters). I’m not advocating to open the floodgates, not totally sure what the solution is (it’s a hard problem in general), just proposing that as a potential problem

                                      But anyway, at least for the meanwhile, this is not for me. Have fun downvoting/flagging me into oblivion

                                      1. 8

                                        Most comments here are pretty happy or at least politically indifferent with the change made by Git: where are the “not diversity friendly” comments that reinforce your perception of oppressive content ?

                                        From the profiles that post and have (presumably RL) pictures, and from tapping through the invite trees of posters, it feels like there is very little racial, class, and gender diversity here.

                                        If we are being open to each others, why would you even consider anyone ethnicity, gender or class to judge their arguments ? Should we not aim for the complete opposite: care about the message, not the messenger ?

                                        1. 2

                                          I get what you mean, but one of the great things about Lobsters is hearing opinions from subject matter experts. If topics like this are going to keep coming up, I think it’d be nice to have more people familiar with the subject talking about it.

                                        2. 8

                                          I doubt I’ll be sticking around either. I already know a few other people who just stopped coming here because of similar issues. I’ve also noticed quite a few of the people in this thread complaining and spouting whataboutisms were also doing the same in that furry post from a couple of days back.

                                          @pushcx Maybe consider how this site is run and the outward image it projects when these types of topics come up. It’s a recurring pattern and not a welcoming one. You’re free to run your site how you want but there is a perception in certain off site circles about this site and the type of user here. If this is an image you’re fine with then that’s fine but don’t expect minorities to stick around, want to join, or recommend the site.

                                          1. 10

                                            If I could upvote more than once, I’d give you all I had left.

                                            1. 4

                                              it feels like there is very little racial, class, and gender diversity here

                                              I’m a racial minority who grew up in a low social class so I feel this on every tech site (where folks seem to have endless anecdotes about their gifted and talented program in their competitively ranked national high/secondary school, but none about how computers were expensive growing up which made experimenting with them difficult (in my high school, a sizable amount of people could not even afford computers)), and Lobsters is no exception.

                                              But setting that aside for a moment, I think lobsters diversity problems extend even beyond this to technical content as well. I’ve been on Lobsters for a long time (6 years according to my profile), and the Lobsters technical community spends an inordinate amount of time focusing on PLT, especially as related to functional programming, and has a particular dislike of cryptocurrency. While HN and other tech social sites have similar biases, it feels so glaringly obvious on Lobsters that it feels like predictable groupthink. It’s to the point where I feel like I could game the karma system just by adding tags and keywords into a post title.

                                              There’s so much more to tech out there. In particular, despite the huge growth in scientific computing over the last decade, I rarely see anyone here mention anything about Deep Learning, statistics, SAT, or convex optimization. We get the occasional post on 3SAT and Z3 seems to be somewhat popular here, but other than the occasional post on computer graphics, Lobsters largely ignores scientific computing. I never thought about this until your post, but I think the invite system might be a contributing factor.

                                            1. 6


                                              • Researching Elo systems
                                              • Checking out Zig now that I’ve found a more approachable learning resource (https://ziglearn.org)
                                              • Having another go at coding a chess AI (last time I got as far as alpha–beta pruning). This time I’d like to integrate it as a lichess bot (https://lichess.org/player/bots)


                                              • More Vue.js (i18n, tests)
                                              • Maybe writing something new for our engineering blog
                                              1. 1

                                                I would also suggest you to check the following resources to learn Zig:

                                                1. 1

                                                  Thanks for these!

                                                2. 1

                                                  Sounds like fun - are there any specific resources you’ve used on writing chess bots? I play but have never looked ‘under the hood’ of things like Stockfish.

                                                  1. 2

                                                    https://www.chessprogramming.org is probably the best resource I’ve used. It covers the general topics and the history, and links to papers too.

                                                    Otherwise, reading the codebase of bots e.g. https://github.com/thomasahle/sunfish

                                                1. 6
                                                  • Continue to work on my HTTP client library for Zig: requestz
                                                    • Be able to send requests with custom headers
                                                    • Expose shortcuts for standard HTTP method (put, patch, etc…)
                                                    • Be able to send requests with URL parameters

                                                  In the following weeks/months, I wish to implement the minimum feature set that would make requestz usable for the upcoming Zig package manager :)

                                                  1. 14

                                                    This is how I git, as a self-admitted near-idiot:

                                                    • Never branch, always on m*ster.

                                                    • Commit mainly from IntelliJ’s GUI.

                                                    • Push either from IntelliJ or command line, can go either way.

                                                    • On the server, git pull.

                                                    • If there’s any trouble, mv project project.`date +%s` and re-clone.

                                                    1. 8

                                                      In my opinion people tend to pay too much attention to CLI commands and steps. As long as one understands what branches and commits are, it becomes immensly easier to handle git and potential problems.

                                                      1. 1

                                                        I feel like even people more used to git resort to the last bullet point every now and then, I know I have :P

                                                        1. 3

                                                          https://sethrobertson.github.io/GitFixUm/fixup.html is a fantastic resource for fixing mistakes, which helps demystify got. It’s a ‘choose your own adventure’ guide where you decide what state you want to end up at and a few other facts, and it tells you what to do.

                                                          1. 1

                                                            First step

                                                            Strongly consider taking a backup of your current working directory and .git to avoid any possibility of losing data […]

                                                            Hehe, off to a good start. This basically sums it up though, that copy of a directory is a safety net in case any other steps go wrong.

                                                          2. 1

                                                            I admit I used it a lot at my university, because they didn’t taught us how git works and I didn’t took to the time to learn it on my own.

                                                            Now, when my local branch is mess, if I have no local changes to keep and I if know for sure that my branch is in a clean state on the remote repository, I just do:

                                                            git reset --hard origin/my-branch

                                                            With the years passing, it appears to me that you don’t end up with this “fak I have to reclone my repo” or “fak I don’t know how to fix this conflict” problems if you are meticulous with what you commit and where.

                                                            It take a bit more time upfront to make commit that you are proud of, but in the end it makes it very easy to understand what you have done some days/weeks/month ago (and it will save your ass when you have to find when a regression/bug happened).

                                                            TL;DR: git flow + self-explanatory commits = <3

                                                            1. 1

                                                              Oh man! I did this two weeks ago. I had folders numbered 1-n and in each one I had the same project cloned but in a messed up state. Granted that it was a new technology stack for me, nodejs to be precise.

                                                            2. 1

                                                              This is what I refer to as the “xkcd git workflow”: https://xkcd.com/1597/

                                                            1. 2
                                                              • ✔️ Upgrade http and h11 to compile with Zig 0.7.0 which should be released tomorrow. By the way, there is a live stream to talk about the release with Loris and Andrew tomorrow (cf: zig.show).
                                                              • FINALLY toying with zig-network, http and h11 to build an HTTP/1.1 client. As I am very noob, I move slowly but I learn many things :)
                                                              • Thinking about moving to the countryside. The shock doctrine hits hard and unveils day after days that we are living in an open-air prison.
                                                              1. 1

                                                                Good one :D

                                                                NB: On mobile it is more like the old version, but still very readable. On the latest release of Netsurf it almost display well !

                                                                1. 1


                                                                  • Release version 0.4.1 of scalpl on PyPI
                                                                  • Continue to work on http and h11


                                                                  • UI components for Xamarin (android)
                                                                  1. 6
                                                                    • Continue to work on h11. My objective is to be able to start working on an HTTP client library when Zig 0.7 is released. (I don’t know how many time I said it on these threads but time flies x))
                                                                    • Penchak Silat session 3: my legs are burning in advance
                                                                    1. 1

                                                                      h11 looks like it will be really useful for a project of mine involving WebAssembly. I’ll be sure to check it out!

                                                                      1. 1

                                                                        Really happy to hear :) Dont hesitate to open an issue or message me if needed !

                                                                    1. 31

                                                                      I’ll microoptimize my personal site once all proof-of-work blockchains are abolished.

                                                                      1. 26

                                                                        I get your point, but also… Be the change you want to see.

                                                                        1. 11

                                                                          I think by running this calculator on my site I generated more CO2 than the supposed 1-2 visitors per month do while visiting my page.

                                                                          Also this example calculations. While neat, completely useless. When I move the visitors to 19500 per month it jumps to “2 trees” everything below that is “1 tree”. Well, yes, sure, that’s only a factor of 1000…

                                                                          1. 2

                                                                            Presumably the article author has more traffic than that.

                                                                            1. 1

                                                                              I certainly hope so, but this more related to what gerikson said, also note the last line of the post:

                                                                              What’s the carbon footprint of your website? What steps will you take to reduce it?

                                                                          2. 6

                                                                            I’m very sceptical of the calculator but it says my personal site would use 8kWh with 10k visitors per year. 1 watt per hour.

                                                                            That’s nothing!! Focus on things in your life which matter, e.g. if you don’t run your air conditioner as much, you’d easily save 8kWh in just a couple of days.

                                                                            Or don’t eat a steak and you’re able to run my website for like 4 years.

                                                                          3. 8

                                                                            @yarmo & @cos

                                                                            Both your point postulate that micro-optimizing your personnal website is significant to “save the planet”.

                                                                            Not going into politics here, but from a computer-science point of view everything is about trade-off.

                                                                            Is the effort spent optimizing your personnal website has a valuable impact on the problem your trying to solve ?

                                                                            One could argue that personnal websites are definitely not a significant part of the energy used nowadays, and far lower than blockchains related stuff.

                                                                            That’s how I understand @gerikson point of view.

                                                                            But then again, it does not forbid you to optimize your website if you feel like it.

                                                                            1. 4

                                                                              Is the effort spent optimizing your personnal website has a valuable impact on the problem your trying to solve ?

                                                                              One could argue that personnal websites are definitely not a significant part of the energy used nowadays, and far lower than blockchains related stuff.

                                                                              To take a counter point, you frame your point as coming from a computer-science point of view, but you didn’t acknowledge that a lot of innovation in CS happens via grass routes movements where individuals work on a problem, and then industry adopts those solutions. If people start optimizing their personal sites, maybe they will take what they’ve learned on their own time and start doing it more at their job as well, maybe those people present their work at reducing COGS by reducing energy usage for some Top 500 websites. That could have real impact on the industry via knock-on effects. In my point of view this is how we as individuals can effect change in the industry, by working on problems and helping to disseminate them to the masses.

                                                                              1. 3

                                                                                a lot of innovation in CS happens via grass routes movements where individuals work on a problem, and then industry adopts those solutions.

                                                                                Industries adopt a solution not just because its trendy or because the common people use it, but more propably because this a profitable solution.

                                                                                I understand your point, but that is a lot of “maybe”.

                                                                                1. 3

                                                                                  Industries adopt a solution not just because its trendy or because the common people use it, but more propably because this a profitable solution.

                                                                                  The point is that you can increase profits by reducing the energy consumption of the software you are running in your own, or co-located data centers. Many companies throw money at the problem instead, people who have experience tuning for lower energy usage are, and will continue to be valuable assets to their teams. Practicing on your own projects is a useful and worthwhile exercise.

                                                                                  I understand your point, but that is a lot of “maybe”.


                                                                              2. 2

                                                                                Both your point postulate that micro-optimizing your personnal website is significant to “save the planet”.

                                                                                Actually, what I said is quite literally the opposite. Micro-optimizing my website will not save the planet. But if I’m not willing to go the extra mile, how can I expect a larger website with significant climate impact to do that without being a hypocrite?

                                                                                1. 1

                                                                                  Hi @yarnmo,

                                                                                  @puffnfresh answer what I would say too.

                                                                                  And like I said previously, that should not stop you from doing it !

                                                                                2. 1

                                                                                  Both your point postulate that micro-optimizing your personnal website is significant to “save the planet”.

                                                                                  Nope. My point is that the existence of worse offenders does not let you off the hook for your offenses. If you voluntarily maintain an excessively inefficient system which can be easily optimized, that’s on you. Just because there exist others who maintain massively more inefficient systems, that does not excuse the inefficiency of yours.

                                                                                  Is the effort spent optimizing your personnal website has a valuable impact on the problem your trying to solve ?

                                                                                  The effort is minimal. In the case of a personal website, what is one trying to solve? Sharing their identity and ideas with the world? Why should that ever require layer upon layer of excessively wasteful JavaScript-heavy frameworks?

                                                                                  One could argue that personnal websites are definitely not a significant part of the energy used nowadays, and far lower than blockchains related stuff.

                                                                                  Yes, this is necessarily true. However, it is irrelevant to the point I was making. If you care about waste, then reduce waste. Don’t wait to reduce waste until those more wasteful reduce theirs.

                                                                                3. 10

                                                                                  Yeah! And I’ll ride my bike to work once all trucks are abolished! And I’ll stop littering once all illegal dumpers are prosecuted! And I’ll recycle my plastics once all oil refineries are shut down! And I’ll go vegan once all poachers are lynched!

                                                                                1. 1
                                                                                  • Second lesson of Penchak Silat with friend: It feels great !
                                                                                  • Implementing HTTP response body framing rules on h11. After that I will start to work on a HTTP client API following the work made on python httpcore/httpx.
                                                                                  • Climbing with friends tomorrow
                                                                                  • Not smoking
                                                                                  1. 2

                                                                                    Just recently started playing with Zig so I’ll probably work through some Advent of Code with it to get a feel for things until I come up with an actual project to try it out with. Oh, and my sister’s gonna be in town so I should probably spend some time with her.

                                                                                    1. 1

                                                                                      You could find some good information on ziglearn.org :)

                                                                                    1. 1

                                                                                      Last weeks I spent time on creating a library to manage HTTP core types in Zig, which is pretty much a port of Rust’s http crate.

                                                                                      With that done, and my HTT/1.1 parser too, I can give a new shot at implementing the HTTP/1.1 spec (RFC 7230) as a state machine, following the work of python h11.

                                                                                      Hope to have a proper HTTP client at some point :)

                                                                                      1. 5

                                                                                        The first half of this weekend I’m going to do some technical essay/content stuff.

                                                                                        The second half I’m going to do my best impersonation of a potato.

                                                                                        1. 2

                                                                                          Thanks for the laugh :D