HN user

krykp

304 karma
Posts34
Comments16
View on HN
beej.us 1y ago

Beej's Guide to Network Programming [pdf]

krykp
2pts1
react.dev 1y ago

You Might Not Need an Effect

krykp
1pts0
lethain.com 1y ago

Managing Technical Quality in a Codebase (2020)

krykp
1pts0
beej.us 1y ago

Beej's Guide to C Programming [pdf]

krykp
113pts18
lelouch.dev 1y ago

Pushovers Finish Last – Learn to Say No

krykp
1pts0
www.redblobgames.com 1y ago

Making Maps with Noise Functions (2022)

krykp
1pts0
drive.google.com 1y ago

Planescape Last Rites Pitch Document (Later Planescape Torment)

krykp
3pts0
cs.gmu.edu 1y ago

A Beginners Guide to Dual-Quaternions [pdf]

krykp
1pts0
www-cs-students.stanford.edu 1y ago

Polygonal Map Generation for Games

krykp
2pts0
paulstamatiou.com 1y ago

Digital Clutter: Learning to let go and stop hoarding terabytes

krykp
2pts0
www.redblobgames.com 1y ago

Hexagonal Grids (2013)

krykp
5pts0
graal.ens-lyon.fr 1y ago

What This Country Needs is an 18¢ Piece (2003) [pdf]

krykp
2pts0
www.cs.utexas.edu 1y ago

Why Numbering Should Start at Zero (1982) [pdf]

krykp
1pts0
www.gameuidatabase.com 1y ago

Game UI Database 2.0

krykp
1pts0
longnow.org 1y ago

Debt: The First Five Thousand Years (David Graeber, 2010)

krykp
3pts0
www.aaronsw.com 1y ago

I Hate the News (2006)

krykp
3pts0
www.youtube.com 1y ago

Gabe Newell: On Productivity, Economics, and the Future of Corporations (2013) [video]

krykp
1pts0
www.neil.blog 1y ago

68 Bits of Unsolicited Advice by Kevin Kelly

krykp
2pts3
jeanhsu.substack.com 1y ago

Ask vs. Guess Culture (2023)

krykp
2pts0
docs.raku.org 1y ago

Lists, sequences, and arrays (Raku Documentation)

krykp
3pts0
kk.org 1y ago

1k True Fans (2008)

krykp
2pts0
www.hsluv.org 1y ago

HSLuv – Human-Friendly HSL

krykp
2pts0
gameshelf.jmac.org 1y ago

Grim Fandango Puzzle Document (1996) [pdf]

krykp
195pts37
donhopkins.com 1y ago

The Sims Game Design Documents (1997)

krykp
444pts60
lelouch.dev 1y ago

Stuck in a Rut? Here's Your Way Out

krykp
2pts1
history2701.fandom.com 1y ago

History 2701 Wiki

krykp
20pts5
queue.acm.org 1y ago

C Is Not a Low-Level Language (2018)

krykp
2pts1
world-editor-tutorials.thehelper.net 1y ago

Formula Finder (2005)

krykp
1pts1
0.30000000000000004.com 1y ago

Floating Point Math

krykp
1pts0
www.johndcook.com 1y ago

Rare and Strange ICD-10 Codes (2019)

krykp
5pts1

Now I am personally offended :) I kid, but I am a big fan of well formatted PDF documents. What problems would you say that trouble you in mobile? I understand the 'absolute' viewport is tiresome, but I tend to prefer the consistency at times.

There are multiple points in the article, each of them probably deserving its own article. I want to focus on the two.

One is the peer effect. Who you surround yourself with absolutely matters. This applies to the content consumption, and this applies to your surroundings too. This can be as simple as going to the library, having surrounded by other people working and researching is great, even if it's just schoolwork. Beyond that, I have found I enjoy spending time with people who are deeply interested in some kind of a craft. Listening to someone talking about a piece of software they are working on, or a music album they are recording, is absolutely interesting. It sets sort of a benchmark for yourself too.

The other one is the point about how 'little' time it actually takes and how easy it is. This is a point that is both true and false, in many ways. If you have general software development expertise, finishing[doing the exercises as well] a single book on a language/technology/framework will absolutely get you to the intermediate level on that piece of technology. Finishing a book isn't hard, you can do it in a weekend.

At the same time, as easy as it is, it is also hard. There are lots of obligations in life. You probably have somewhere to go that weekend. You are also a bit tired, you have been working during the week. And well you have to socialize a bit to be healthy, so shutting yourself off every weekend isn't something you want to do either. I find occasional, short retreats healthy for this reason. That seems to be a nice balance.

In the end, it is simple, but not easy, that's the word I was looking for. It can be achievable if you plan ahead and are purposeful in your actions.

I was once playing around with a 3-point ranking system. Think thumbs-down, thumbs-up, and double-thumbs-up. The thumbs up and down would basically function as expected, while the latter would be weighted heavier for the recommendation algorithm. Basically a `recommend me more of this, this is high quality content` action.

There is a general problem with a 5 or 10 star voting system, consider a [malicious] user who only gives a 1 or 10 star vote, thus ending up with more voice than one that votes in the range of 4-6 which would be what the majority of the content deserve. Therein lies another problem too, while the scale would imply 5.5 to be average [out of 1-10 with no 0 option], most people tend to consider 7-7.5 to be average instead, there's a very natural bias on the scale.

This idea isn't actually uncommon however, as platforms tend to work with a thumbs-up, thumbs-down, and a `favorite` action of sorts. Some platforms tend to respect favorites in recommendations and some don't. I have found that YouTube doesn't care all that much about my... let alone favorites, it doesn't even care about my votes. TikTok however did this well, I had downloaded it one day and at the end of the day my feed consisted of neat programming tricks and lessons on color theory. Which kind of revealed something my own prejudice too, as I had expected TikTok to show me the worst content and it was the platform that respected my choice the most. That said these things change a lot so it wouldn't surprise me if the same test shows the opposite results a year from now on.

This is also a great way to test out a page during web-development in a pinch[when you are on Linux]. Chrome and Firefox are obviously available, and GNOME-Web is useful-enough to fill the gap[of Safari]. I'd always run a real cross-browser test before a proper release. Thankfully the cross-platform issues are dwindling by the day.

The author concludes with becoming a novice again, and again, that's in a way similar to the idea of `Beginner's Mind`(shoshin) in Zen Buddhism[0]. Alan Watts would talk about this quite a bit.

I think that's a nice way to look at it, or even just, taking a step back and observing. Adding the next zero, or two, and in that, consider whether if it's worth it too.

You can get a decently fit body and be healthy by going to the gym or taking up some kind of sport and doing it weekly, and well you can become exceptionally fit by living by very strict rules. Whether that's worth it to you depends entirely on the person. Same applies for money, knowledge of the crafts, or even personal relationships. I am willing to spend a lot of time in computer science and I am very much interested in being the best person I can be, and honestly I am decently interested in a lot more things, but there's a certain amount of energy in me, certain obligations in life, and a certain balance to be made. I am happier when I believe I have struck the right balance for me.

0: https://en.wikipedia.org/wiki/Shoshin

I was somewhat interested in this book but the answer seems to be no per the contents from https://boydellandbrewer.com/9781805434504/the-middle-ages-i...

$30 definitely isn't much for a niche book, I would've preferred a short preview or a longer brief.

As an aside, an idea I find underrepresented is gift economies[0]. There's some representation of it in the form of `goodwill` and `relationships`, but this was [likely] a huge part of the economy. Consider the consumption of the average person, and it's going to be more fish and eggs and less MacBooks, and you wouldn't be buying eggs the same way you buy them on the market today[by barter or trade]. You would be definitely using currency for the highly specialized armor, though.

All of this doesn't matter too much in the grand scope, it's perfectly fine to trade 2 shoes for 5 eggs in Skyrim, but some additional depth would be interested if incorporated correctly.

0: https://en.wikipedia.org/wiki/Gift_economy

I would prefer views, to be honest. For example if some arbitrary content is stored for 2 months without anyone ever watching it, that feels reasonable for me to remove it, no one is watching it. Some video that is actually serving a purpose being culled just because of the arbitrary hour limit feels to me, a less reasonable stance.

In practice though I doubt this makes a huge difference either way, the vast majority of the people that can have noticeable amount of views on such already have their YouTube channels or other venues they are also making money from.

I think this gets the 'imposed limits' part right.

What I've found is that I am unable to be organized or keep things organized if I have too much stuff. It doesn't matter if I organize by 'category' then 'thing' or 'thing' then 'category' or if I keep myself to 2 levels of nesting or 3.

I have been decluttering every now and then, say, I will dedicate a weekend once every 6 months. I have started by getting rid of what is _obviously_ not necessary.

By necessity I'm not talking in a materialistic sense, I find joy in the tiny statues I own and a physical photo album, even if they are not _vital_ for my life.

I started by getting rid of things that are useful but just wasn't up to par anymore. Like old clothes. I would wear old clothes inside the home and justify their existence, but I have come to value myself enough to wear my nicer clothes, which are honestly still just relatively cheap shirts, inside the home too.

After that, it was getting rid of things that are working, in good condition, but I had no use for anymore. For example I had built a computer, this meant ending up with a stock cooler, stock fans, stock thermal paste, my old PSU that was still very much working, all that. I wouldn't throw these away as they had no issues, but wasn't of use to me anymore. For these donating was easiest for me, as I would feel bad about getting rid of tons of in-working-situation hardware.

I must note, all this requires certain privileges in life. Just getting rid of things you don't use but might, by some low chance, need, requires you to be wealthy enough to replace that without worrying about the price tag.

I have also come to find out gender also matters. My clothes fit in a single-side wardrobe, and no one pays enough attention to my clothes to realize I'm cycling through 10 t-shirts and 5 shirts. Or if they did, that's plenty anyway. For women there's a certain social expectation and imposed necessity and a deeper sense of fashion. For a man a dress-shirt functions well in the workplace just as it functions in a job interview and it functions just as well in a wedding. For a women what they can wear to a wedding and what they can wear to work are very different, so there is a natural difference of expectation and necessity. But I digress.

It is honestly one of my favorite documents. With the thought put behind it, it is of no surprise the game was such a well crafted masterpiece.

Most software work tends to move away from this kind of ... I don't want to say documentation, we have better documentation tools than ever, more-so a level of writing in general that is more 'human', be it written documents at length or well commented code.

Another one is `The Sims` https://news.ycombinator.com/item?id=43064273

I recall a Warcraft III one I once saw, that went into technical details on the tooling/scripting packaged with the game. That was another great document too, but I don't have it :)

It's super nice to see this random submission of mine ended up being a meeting point of sorts :) It is one of my favorite design documents, probably 'THE' one now that I think about it. Thanks for all the hard work put into the document -- or well, the game in general, still a favorite of mine.

My Life in Weeks 1 year ago

I use GNOME with week numbers shown in[0]! Find it super useful.

I am also a big fan of setting yearly goals. Been doing this for a couple of years now. This has sort of converged into a tradition of having ~12 goals per year.

Each item is something quantifiable and achievable. For example, a goal of mine is 'losing x amount of weight', as opposed to 'becoming fit' - this I won't expand into other domains however, if the context is making a game, it would be 'publishing a game', and not 'publishing a game that sells a million copies', as the latter depends on factors outside of your control, luck, etc.

The way I set up my own goals, they are achievable if I were to focus on these for a quarter alone. They are not big, huge deals. But I don't focus on these for a quarter of course, I have to go to work, and I have a family and loved ones that I enjoy spending time with. Yet it is also an anchor I look at occasionally, and if the list is having too little progress, I get the message that I should work on these for a while. I find it to be a nice balance.

0: gsettings set org.gnome.desktop.calendar show-weekdate true

This is something I used a whole lot, many years ago while making WarCraft maps.

The code is unminified and the basis is relatively simple.

I find the general idea of these curves interesting while finding the curves that are perfectly balanced uninteresting.

Put more simply, if I'm playing a game and there's a cost/reward curve such that 2 gold results in +2 attack and 4 gold results in +4 attack and so on, that often creates situations where min-maxing is trivial via focusing towards few simple attributes.

Whereas a payoff at an arbitrary point seems to add, although potentially artificial, point of "expertise" for lack of a better term.

Even the trivial example isn't that trivial though, in most multi- or even single-player games there's the timing aspect and payoff ratios.

Fun tool.

The State of Vim 1 year ago

With nvim, there has been quite the resurgence of Vim. Good software tends to be resilient. I believe both emacs and vim will see many, many more years.