Preferences

boerseth
Joined 293 karma
# Me Guy who spent his best years studying physics only to become a software developer.

I also enjoy languages, music, dancing, and so on.

# Websites - Profile: [boerseth.com](https://boerseth.com/) - Blog: [frode.xyz](https://frode.xyz/)

boerseth.at.hn


  1. That's a long list of numbers that seem oddly specific. Apart from learning that f-strings are way faster than the alternatives, and certain other comparisons, I'm not sure what I would use this for day-to-day.

    After skimming over all of them, it seems like most "simple" operations take on the order of 20ns. I will leave with that rule of thumb in mind.

  2. > Brainf*ck is the antithesis of modern software engineering. There are no comments, no meaningful variable names, and no structure

    That's not true. From the little time I've spent trying to read and write some simple programs in BF, I recall good examples being pretty legible.

    In fact, because the language only relies on those few characters, anything else you type becomes a comment. Linebreaks, whitespace, alphanumeric characters and so on, they just get ignored by the interpreter.

    Have a look at this, as an example: https://brainfuck.org/chessboard.b

  3. Not sure which way the difference puts the pressure. Does the fuzziness require more prudent policies, or allow us to get away with less?
  4. Modularity and separation of concerns can extend into other domains than software.

    For me, it seems so much simpler to keep the two separate. You won't be forced to wash the heating element every time you wash the cup. Can't heat a different cup while the other is in the dishwasher, unless all your cups are self-heating. Normally, the only way for a cup to break is if it shatters, but with an inbuilt heater there's electronics that can break too. And should the cup shatter, now the heater is unusable too, or vice versa.

  5. I don't think that intuition is entirely trustworthy here. The entire space is high-dimensional, true, but the structure of the subspace encompassing linguistically sensible sequences of tokens will necessarily be restricted and have some sort of structure. And within such subspaces there may occur some sort of sink or attractor. Proving that those don't exist in general seems highly nontrivial to me.

    An intuitive argument against the claim could be made from the observation that people "jinx" eachother IRL every day, despite reality being vast, if you get what I mean.

  6. I swear this is how I've gotten good at most of my hobbies. Playing guitar for 20 years has gotten me to a great level for a hobbyist, but not at all because of any virtues like discipline, self control, or routine.

    Rather, every day whenever other more important chores or duties loomed, I'd notice one of my guitars laying around, in my couch or my bed or leaning next to my desk. And most times, I'd give in. There's always a new skill, technique, lick, or song that I'm working on, or something I've recently mastered that gives me joy to play.

    If anything I think discipline would have hurt my guitar skills over the years.

  7. The bank will probably let you order a new card to their offices instead of your home address, so all you need to do is survive for a week or so. In my case, that was very easy thanks to the friends I was visiting.

    As for the meantime: I still did have my bank's ID chip with me as a backup, so I could have used online banking to make a transfer to myself with something like Western Union, and crossed my fingers that my bank wouldn't require verification by phone for this suspicious transfer. That would have gotten me some cash at least within the course of the next day, but my friend helped me out, so it didn't come to that.

    Without friends around, though, and one or two more unfortunate circumstances piled on, I really don't know. It's unsettling to realize how little it takes to be forced to sleep in the streets.

  8. These past couple of years I've gotten into plenty of trouble on multiple occasions, as a result of what I would describe as a cascade of misfortune initiated by a single unfortunate event (for which I will take some responsibility, but nevertheless...).

    These "cascades of misfortune" I've run into happen largely because of how we've placed certain institutions at the center of our lives and our society, or perhaps more precisely because of the "convenient" solutions of theirs that we've all been coralled into adopting.

    I'm thinking of social media networks, smartphone companies and their app stores, banks and their electronic payments, etc. Everyone's opted in, and we don't realise how much we've given up as a result, with all these "convenient" alternatives, now made mandatory to replace the old and inconvenient solution.

    We don't realize, that is, until you're standing at the bank teller in a city away from home, passport in hand but otherwise robbed of phone and wallet, hoping to withdraw some cash to keep you alive while you sort this mess out - only to learn that the bank is no longer able to do that for you. You can't just get your own money. You could withdraw at the ATM, but with a card of course, and that for a fee with a pretty low upper limit. But banks don't serve that purpose anymore. They're now software institutions that we are forced to have a relationship with and operate through in order to make monetary transactions.

    Suddenly society has shut down. You can't log into anything without your phone and 2FA, so you're stuck without access to your favorite online services until you get a new SIM card and a fresh device. But even then, there's no riding public transit, because you don't have access to the apps they all operate through. Not that you'd be able to pay in those apps anyway, after cancelling your payment cards. And besides, you don't have anywhere you'd like to go anyway, because, aside from having basically no money to spend on food or events, there's no way to learn what's happening in this city without access to Facebook and all the company pages and events published there.

    I forget now all the myriad ways that life grinds to a halt, but I do vividly remember feeling like nothing was possible. And that only because I lost one or two things which should be entirely optional in life! You shouldn't be required as a human, nor even as a member of society, to have a Facebook account, or a smartphone, or even a bank account (that last one is perhaps my most extreme take, but I stand by it).

  9. I get it! Years ago my obsession was Classic Tetris, and it was common knowledge that watching skilled players at work would improve your own stacking and strategy. A lot of the pros openly admitted to watching their competition while starting out in order to get good
  10. I was gonna say. I did it with French some years ago and it worked like a charm.

    Later I became obsessed with Argentine tango. Unfortunately, I thought, "comprehensible input" won't work with dancing, especially not a couple's dance. Nevertheless, unable to dance every day due to my local scene being quite small, I instead consumed a boatload of YouTube videos during my spare time. Instructional content, performances, class summaries, and what have you. And I progressed super quickly.

    First off, as a leader, it is good to have seen competent dancers with good musicality and how they choose their steps to fit with phrases of songs. That much fits in parallel with input-based language acquisition techniques. But I also think I gained a good amound of intuition about how to move my own body. Not perfect intuition, but more than nothing, which was very much my starting point.

  11. The danger is when solutions that are convenient, but require giving up some sort of freedom, are made mandatory even for those who would like to stay free. I hope this is a lesson we avoid having to learn the hard way.

    I have done some backpacking these past two years, and it is worrying how easy it is to get into big trouble if you lose your phone or payment cards.

    As an example, my debit card got eaten by an ATM on my way to Argentina, and after my 6 month travel, the backup credit card I had brought was about to expire.

    Despite my card working as a means of payment, I was starting to feel the effects of this corner case in every aspect of modern life. I could not use our equivalent of cashapp, I assume because my card was about to expire. I could not ride public transit, or trains, or do things like book a yoga class with my friends, all because all these institutions basically only let you interact with their service through their apps, where I had no way to pay.

    I spent some time visiting friends in the capitol on my way home, and tried to sort the situation out with my bank. They thankfully were able to order some new cards to their office, rather than to my home address. But immediately after my talk with them I found that my one remaining card had been cancelled.

    Then I tried bringing my passport to withdraw some cash, but the bank teller almost laughed at me, before explaining that you can't just do that anymore. The bank isn't even allowed to let you get your money in cash and leave. You can get bits of it in bills at the ATM for a fee the price of a coffee, but also that requires a card, of course.

    Electronic payment solutions are so convenient, for the public and for institutions, for law enforcement and control, that we've forgotten how much we need to give up in order to use them, and now they're being made mandatory as we trudge along into a cashless society.

    Now I couldn't even get food or shelter, if not for my friends. I remember half stumbling out of the bank with my passport in my hand, half dizzy with shock and anger. This, along with lots of other small mishaps like losing my phone and encountering trouble, kind of radicalized me on these topics.

  12. It used to be that every time I heard about some problem with training AI systems, I would be struck by how much the challenges line up and parallel the challenges involved in raising human children, and how humans learn more generally.

    However, researchers are able to say and find out a lot more about the way LLMs work and learn than they can about human brains. It might be to take the metaphor too far, but I sometimes like to think about how and whether at all these sorts of findings about AIs can apply in any way to us.

    This particular case makes me wonder if there is anything to the human instinct to dismiss and ignore people entirely once you learn they're not morally aligned with you on some core issue. In particular we might ignore entertainers and content creators that have views we strongly disagree with, even if they're well reviewed and highly popular, and even if they seem to stay off those sensitive topics in a specific episode/movie/podcast/stand-up-special. We don't want to risk subliminally learning their corrupted values.

    Edit: Not to say it is wise to "cancel" and ignore people you don't agree with. Frankly I think it is bad if you value discourse and keeping your mind open to new and differing opinions. Rather, I'm arguing here that it makes sense that this instinct of ours came about at all as we evolved, since it is probably beneficial to stick to your values.

  13. It may get resolved on its own. These days people study to get good grades in order to prove to future gatekeepers (like employers, or higher rungs of academia) that they know the material well. Post AGI, however, the gatekeepers may not be so interested in humans anymore, and we might not need grades at all. Studying anything could become something done exclusively for ones own interest, and the only point of a grade would be to give one-self a goal to achieve.

    Alternatively, if we still want to cling on to this ritual of measuring the performance of students, you could give each and every one of them oral examinations with AI professors.

  14. My own experiment involved writing my CV in YAML, and using a Pandoc template to generate .tex and .pdf. I think I may have overcooked the thing a little, but it was good fun.

    I never got into emacs. Is Org worth it?

    https://github.com/boerseth/cv

  15. I am wondering how universally useful these qualities are across disciplines. It might be interesting to consider each of the categories in a totally different field. Take dancing for example. I am very fond of Argentine tango, and will attempt to consider the article in light of it.

    ## Read the reference

    It is very difficult to dance from written instuctions, but I think one hugely underappreciated resource is watching very intently great instructors dance basic movements. I did this in my early days, because it is very enjoyable entertainment when you apreciate this dance, and it was I think a large part of why I progressed rather quickly.

    I could go on about this point, but I think there is a similar thing going on with humans and our mirror neurons when we watch others do something, to how we acquire spoken languages, and the recent wave of input-based language learning movements.

    Another way to interpret this point might be to know the history of the dance, of Argentina, the broader dance communities and movements across the world, and the culture in general. The main advantage to this I think is to contextualize a lot of what you learn, and that the dancer becomes more immersed in the activity.

    ## Know your tools really well

    Dancing involves some tools external to the dancer, like clothing and shoes, the dance floor of course, perhaps talcum powder to reduce friction, and most importantly the music.

    While there is considerable advantage to be gained from wearing an outfit suited for dancing, there's a quick and hard cutoff as to how much knowing more about these things improve your dance. The same applies to the floor surface and so on.

    But of these "tools", I think the biggest gain is found in familiarizing oneself with the music. Both gaining intuition about the structure of songs, melodies, and rhythms, but also gaining deeper insight and access to the emotions at play. Dancing is an opportunity to interpret all of these aspects of the song, and being familiar with the music, the medium that connects one with ones partner and also the thing you are trying to represent through movement, goes hand in hand with being able to execute the movements of the dance at all.

    All of the points of the article apply here: the history of the music inform you of what the tango is all about, and of the different sounds and movements that are available to us today; the present, in the sense of what music is currently popular, and played live; limitations, in the sense of what different styles of tango music work with what sorts of movements and feelings; finally, the ecosystem is like a summary of all of the above, and something that people discuss at length in every milonga, like which orchestra they prefer, or which contemporary groups they like.

    However, one thing that I think qualifies as a tool, although somewhat subtly, is the dancer's own body. I have not pursued this avenue very far yet, and am thrilled to realize that this is something I really ought to do. I know only a little bit about human anatomy, after strength training years ago. And as for my own body specifically, perhaps something like yoga, pilates, or calisthenics would be valuable.

    ## Read the error message / Break down problems

    While there are no error messages in dancing, you definitiely feel when something isn't quite working out. If you're in a class and are trying to learn a step, it is crucial to be able to be critical of your own performance, and look for faults or inconsistencies.

    Maybe a step feels a little off, like there's something awkward going on between you and your partner.

    One thing I have noticed is that, if you are trying to go over a sequence of steps A-B-C-D, and something isn't quite working out at point C of the sequence, the soure of the error is usually actually somewhere in either point B, or perhaps already at point A.

    This might remind some of looking at a stack trace of an error, and trying to figure out at which turn things went sideways. The problem is frequently not located exactly at the point where the error was actually raised.

    ## Don't be afraid to get your hands dirty

    One of the dangers for any learner is calcifying into bad habits that were adopted at an early stage of learning. In order to break out of these, you have to be willing to abandon old guardrails, be uncomfortable over again, and to learn something over. This might be analogous to refactoring some kind of broken legacy code.

    Growth is also possible through experimentation, abandoning old patterns in search of something new and potentially interesting. This also requires courage, and feels a lot like getting ones hands dirty, and applies to both programming and dancing and probably many other things alike.

    ## Always help others / Write / Status doesn't matter / Build a reputation

    Since dancing is a communal activity, it is not so vital to be writing in order to be heard. But I still think that communication in this space is hugely valuable.

    From what I have seen, any healthy dance community has great communication between the more experienced dancers and the less experienced ones. Unhealthy ones are often referred to as snobbish, The alternative, where there is a strong divide and exclusion from the top downward, are often referred to as snobbish, and I would characterize that as unhealthy. That sort of a scene will gradually wane from the high barrier of entry, and will wither and die if not already sufficiently large.

    ## Never stop learning / Have patience

    Any tango dancer will tell you, no matter how experienced or accomplished they may be, that one never stops learning this dance. Even decades into ones journey, it is extremely common to hear dancers say that they're still working on their walk - which also happens to be more or less the very first thing you learn in your very first class.

    ## Never blame the computer

    In a dance that famously requires two people, it is very easy for a lot of people to blame one's partner when something goes wrong. I think it is much more valuable to take the opposite approach, and always look to what you can improve in your own dancing, whether you are a leader or a follower, long before attempting to throwing accusations and corrections at your partner.

    There may of course eventually come a breaking point, at which you want to raise some questions and explore together for a solution. But to immediately correct your partner, before they've even had a chance to correct themselves, is never a good approach in my opinion.

    ## Don't guess

    I think this one is hard to stick to rigidly when learning how to dance. If you want to be completely sure of a movement before you try it out, you'll forever remain paralyzed. We all have to do some guessing in the beginning, trusting that our muscles move us through space in about the right way as the dance is supposed to be performed.

    However, these guesses that we make are frequently wrong, and result in incorrect technique and bad habits which must be weeded out and corrected before they calcify too much.

    So while I think not guessing at all is impossible, I think we really should not underestimate the value of any means available to us for correcting incorrect guesses that we have made and accumulated. These include someone more experienced than us that we trust, or private lessons from tutors who know what they're talking about.

    ## Keep it simple

    It is funny, but this exact piece of advice is also so very frequently heard in tango classes. As you progress and learn and acquire vocabulary in tango, speaking now mainly about leaders, it is very easy to want to use it all and throw every shiny new step and sequence you know at the poor follower that you've convinced to join you on the floor.

    Many also are nervous and afraid of the silence that comes with not moving all the time, and keep leading step on every beat in order to never make it seem like they're running out of ideas.

    But in actual fact, it can be wildly better to relax, and do simple steps well, with tasteful pauses aligned with the music, than to hurriedly toss around every step that you know.

    ## My own final thoughts

    Despite the fact that code is run on computers, and dance is performed by humans, I think this analogy holds really well. If you think about it, dancers are just meat robots performing fuzzy instructions written to their brain by themselves and dance instructors, or whatever they've acquired by watching others dance. You could summarize as follows the mapping in this analogy:

        Spec            <-> The goal that the dance-student is aiming for
        Code            <-> Steps that have been acquired by a dancer (maybe imperfect)
        Runtime         <-> A night out on the dance floor
        Error           <-> Improper technique
        Programming     <-> Learning and improving as a dancer
        Programmer      <-> Learner/teacher
    
    I think an interesting insight here is that both the learner and the teacher play a role as the "programmer". A learner that is totally passive and lacking in introspective ability will perhaps not learn as quickly. So, the points of the article are applicable to both of these parties.

    For any autodidacts out there, that last part is good motivation to reflect some more on the points of this blog post.

  16. Dancing is a good example, though not perfect. It's hard to convince a club to have a salsa/bachata/tango/swing centered evening, because the interested crowd actually comes to dance and socialize. It is much more profitable and easy to turn down the lights and up the music and get customers that buy alcohol.

    Not to say that dancing is not commodifiable. People make a living offering classes, outfits, shoes, and travels centered on specific dance genres. But as a participant, you can get pretty far for a lot less money than the price of the proverbial night on the town.

  17. I doubt it was the UBI-like aspect of the pandemic that caused the depressive states. Isolation, less active lifestyles, locked inside. Imagine UBI, but with the opposite of all of those!
  18. >The negative comment tells me that I knew this was slow code, looked into the alternatives, and decided against optimizing.

    I admire the honesty, but will continue to phrase these "why not" comments as insincere TODOs.

  19. Like you say, computers nowadays can do basically anything. It is then a funny feeling to take an old computer, one that was once abandoned over all the minor frustrations that surrounded it, and revisit it today, only to be filled with wonder and parent-like pride in what the cute little thing is still able to do. Even trivial things, like playing mp3s! Despite being older in time, this antique relic of the past has its place in a younger part of my mind, and so feels more childish and immature. And yet, look at it go!
  20.     > The first principle is that you must not fool yourself—and you are the easiest person to fool.
    
    This phrase is repeated many, many times in the legendary fan-fiction Harry Potter and the Methods Of Rationality (HPMOR)[1], which I'm sure many here are familiar with already.

    It is perplexing to hear people making room for their favourite pseudoscience using the excuse that "there are things science cannot explain". See, the annoying thing about science is that if something can as much as be observed, then it can be observed repeatedly, and then reasoned about - effectively allowing us to do science on it. That's even the case for magic, if it were real, as illustrated in HPMOR.

    Even the most absurd and chaotic phenomenon, bereft of any discernible pattern or rhyme or reason, can at least be observed to behave chaotically and then be described as such. Et voilà : science !

    [1] https://hpmor.com/

  21. The original looks great on mobile, but for desktops the above improvements are quite sensible as a minimum.
  22. There are many that would strongly object to this conclusion. I have heard friends describe their inner life as almost entirely verbal, that they "think in words", and are totally unable to relate to anything else.

    When we say "communication", I think there is an implication that the goal is communication with others. But there is also value in communication with oneself. To verbalize is to condense ones thoughts into words, and when we hear words they get unpacked and evoke meaning. The resulting feedback loop can be amazing for refining ideas.

    It should be no surprise that humans might end up relying on this internal monologue when thinking to the point that they mistake it for thought itself.

  23. I was eager to see the data, but exporting from the first source only gives the same data shown in the article, although in a spreadsheet.

    The explanations in your second link are more like definitions than justifications for why this and those boiled down quantities are worth talking about.

  24. Took me a moment to get that heatmap. An axis labelled 1-10 from pale to red seemed absurd to me at first. "On a scale from-one-to-ten, how expensive are houses?"

    It is a shame how vulgarization of science and statistics seems to necessitate a simplification of the data set to the point where its usefulness becomes debatable. It always seems to me like I want access to the axes that they've simplified away down to just a mean or an average. I get that presenting data is hard, but if I'm left more puzzled than informed at the end, what have you really presented to me?

    In this case, I wish I could see the distribution of salaries through time and by location, as well as that of home prices. There ought to be a more interesting metric available than simply calculating the average of either and dividing the two.

  25. I am reminded of Socrates, who lamented the practice of memorization being replaced with writing. Today one might dismiss this idea as silly, since memorization alone is frequently associated with dumb parroting and regurgitation, neither of which imply any depth of understanding.

    But from this discussion, we see the old man may have been on to something! If understanding something deeply is necessary in order to memorize it well, then one might achieve understanding as a secondary effect by aiming to memorize something by heart.

  26. A little tricky to read this. With the ground constantly changing underneath your feet, there's a feeling that rules and words get introduced then redefined willy nilly. The whole thing has a sense of "Numberwang" about it, which I think is part of why it comes across as satire. Another big part is no doubt how ridiculously the bootstrapping stage was written, but that seems intentional.

    There's clearly something deep going on, but I will have to come back to this after an even deeper cup of coffee.

  27. My two favorite quotes of theirs are from the same video:

    - "I have delivered value... But at what cost?", being the title of the video

    - "Have the KPIs of my own life failed to grow quarter over quarter?"

  28. I was left with more hope than you, upon completing the article. Smaller cars, less cars in general, more bikes, public transportation, urbanization, smaller living spaces. All these things are quite in vogue these days.

    At their list towards the end, I felt like I had heard of online communities in favor of all of them, for more reasons than just the climate impact that they have.

  29. Yes, consistency is key, but if you're smart about it, it doesn't have to be hard.

    The trick is rather to make consistency easy. My own strategy there is aligned with most language enthusiasts: Make your input and conversations engaging! Make them so engaging you partake in those activities independently of the language, or better yet, in spite of the language. Make engagement automatic!

    As an example, I've come to adore the French YT channel "ScienceEtonnante", and now watch anything published by it ASAP. I started watching it because I have a masters in physics, and found much of the jargon very easy to pick up as it's often similar to English. That left only the particularities of French itself for my brian to figure out. Now that I can simply lean back and enjoy the show, that is also what I do! It has become my favorite YT channel.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal