HNHacker News
TopNewBestAskShowJobs

schwurb

148 karma · joined November 12, 2018

submissionscomments
schwurb··on Alan Kay on the Meaning of “Object-Oriented Programming” (2003)
> Making calls and sometimes they get picked up and sometimes not?!?

I like that paranoia is the default. Once you get used to it, easy stuff remains easy and hard stuff becomes less scary.

> But in-process? If I call a function on an object, I want the compiler to tell me right now if this code makes sense, and the compiler should stop me right away if that code cannot possibly work once deployed.

You are going of a tangent; What you are refering to is a matter of typing and compiler help, and not related to the OO paradigm as thought by Alan Key. (If there is a relation, I would be happy to learn it). Put more concretely: I don't see why a Java compiler would be more warning than a typed Smalltalk compiler.

schwurb··on Listening to music 'significantly impairs' creativity
ADD person here: I feel that this is true for me aswell when I am in the rare state of being able to focus. When I am understimulated, listening to music seems to increase my focus (and otherwise I will move or sing silently to create that stimulus myself).
schwurb··on Ask HN: What books changed the way you think about almost everything?
You have to keep in mind that this was written by multiple authors 2000 years ago in a different culture using different ways of putting things. It is also a good exercise to entertain a mental position that is not yours; read a hindu verses assuming hindu gods exist, read the bible assuming God exists. That way you are not in danger of loosing out on valuable concepts just because the supernatural is alien to you.
schwurb··on AlphaStar: Mastering the Real-Time Strategy Game StarCraft II
I read that AlphaStar might be able to play this strategy because it is really confident in its defense skills. For humans, that might be taking a risk that is too big. That said, I want to try it out anyway :)

Edit: I recall that Rottie or someone said that there were 1-2 rare situations in HOTS where pros played like this.

schwurb··on AlphaStar: Mastering the Real-Time Strategy Game StarCraft II
I honestly do not think meta or strategy will be interesting in SC2. (Obviously as a player it will, but from an AI standpoint not). AlphaGo already showed us that it can handle strategy well; A good AI in SC2 will simply scout the minimaly needed amount of time to prepare the perfect responses.
schwurb··on What People Say Before They Die
My take: Fear and stress are useful in some circumstances, but should not be increased in others. Populations that are not afraid of death could then be healthier, since they focus their struggles on the current pressing issues instead of worrying about a matter which will never be resolved.

Personally, I am christian, and my faith is a huge source of relief when thinking about big questions and personal crisis.

schwurb··on Stop Learning Frameworks
Thank you for passing on the knowledge - I hope you are well off now!
schwurb··on The Yoda of Silicon Valley
I envy those. I pity not having done my undergrad in maths! I have to say tho that we the examples learned in math department category theory are often not that important or interesting to programmers, and the same is true for the abstractions being studied.
schwurb··on The Yoda of Silicon Valley
> I'm curious to know not only how it benefits an understanding of software development, programming languages and functional programming

It did and does that too (not much, since I am still a learner): It helps me to write APIs that behave well; usually, that means being an API which outward facing parts compose well. (The opposite would be an API where you configure it's internal state until it does what you want - the more complex the API, the harder it gets to mantain the suiting mental model). To be honest, it will help me getting the theoretic motivation behind many FP-concepts like monads, but I am not yet deep enough, I would not say I reaped a practical benefit in my haskell-writing. Reading (and implementing) "Category for programmers", which is a great blog, should take me there tho.

> but also has it helped you understand the world at large in new and novel ways?

On a local scale, it was fascinating to see how you get logic and algebras by putting a little bit of additional order onto some abstract concept. These formal logic rules I leard? Turns out they are not only funny ways to play with symbols, but also funny ways to play with arbitrary finite sets. It was also nice to see how in category theory, you can "fix" nice properties by creating a new structures where these nice properties are objects. It is all pretty handweavy, since I am mostly going by my intuition unless I am pressed to prove something formally. This thread might help you: https://www.reddit.com/r/haskell/comments/16i322/whats_the_i.... Globally, I am a christian, so I see everything and everyone in relation to God anyways. Category Theory might at best helped me to identify God as the intitial and terminal object in the Category `Human` ;)

To give a short answer: I think CT is another tool in the box to gain a more connected view of the world, the main ingredients being age and observation of processes.

schwurb··on Stop Learning Frameworks
> The reason anyone buys from a startup is desperation. That startup needs to be offering something that cannot be obtained from an existing, stable market player.

Thank you! That is one more encouragement to get my prototype started and think about how to do my marketing.

schwurb··on The Yoda of Silicon Valley
I once used two weeks of vacation to learn category theory - that was a really fun and rich time. It really relaxed me, but it also brought me more knowledge than one year of shallowly engaging with the topic.
schwurb··on People who disagree aren't trying to make things complex
I do only partially qualify since I only lost-and-regained my passion for (software) problem solving after an early burnout, not because of an expansion of perspective.

What fuels my passion: I try to stick to languages and concepts that are puristic. I loved SmallTalk, which is pure OO (so much more than Java). I love Haskell, which encapsulates a particular style of functional programming quite well. I love LISP, since it represents and embraces metaprogramming quite well. The more a language deviates from these extremes, the less 'thrill' I feel using them. I always try to solve problem with the purest form a paradigm has to offer.

In the real world, I am able and perfectly happy to choose whatever tool fits the need best and adapt to the team. But I will certainly voice my opinions ("This is a planning task - let's not reinvent the wheel - and waste time and fix unnecessary bugs - and just send the data to Prolog and translate the solution back into our program") tho and what I do in my free time is not bounded my industrial needs.

Every paradigm offers a different perspective on programming and is worth exploring. Thankfully I am not genious enough to run out of this particular motivation in my lifetime.

schwurb··on Derivatives of Regular Expressions (2007)
> except slightly modified to use ranges because the naïve method of taking derivatives isn't great when you have to take 2^(2^16) of them when your alphabet is UTF-16 characters.

The paper we read described how instead of deriving by a single character, one could also derive by sets of characters. I then improvised the range approach by myself - it was very cool being able to handle unicode!

← PreviousPage 4 of 4