Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 4y ago · link · parent

Not much of a challenge. Python is super slow when not simply calling C code.

comment 4y ago · link · parent

I have met only a few truly difficult people to work with in my 25+ years career. Most were simply incompetent while stubbornly believing they were rock stars. No amount of negotiation or gentle discussions work with those kind of people. And the rest were basically passive aggressive sociopathic control freaks. Again, no amount of talking/negotiation worked with those people. I have literally tried everything. To them trying to talk/negotiate/find common ground is a sign of weakness and a signal for them to double down on their controlling behaviour. Because it is obviously working :) So now I simply block/avoid/deflect people like that and treat them like kids that needs to be disciplined to behave. That works so much better!

comment 4y ago · link · parent

Trello is great for this kind of situation. It is simple and free to use for small teams. Just start using it yourself and step by step introduce one additional team member to it by adding a link to your Trello page in your weekly report.

comment 4y ago · link · parent

> Wouldn't that be pretty useless?

Not at all. It is way more useful than learning CT. LC is the foundation used in almost all of computer science. You need to understand it to read any advanced Type Theory papers for example and you can directly use it as a starting point when designing a functional programming language.

> “the simply typed lambda-calculus is modeled by any cartesian closed category (CCC)

That is correct. You can model pretty much anything in Category Theory. The same way you can model pretty much anything in Type Theory or Set Theory. However IMHO it takes a lot more structure to build up to CCC than it does to simply use LC. The paper you are referencing is great. However the author might as well have used LC to achieve the same goal.

1655.

Designing with Types (2013)(fsharpforfunandprofit.com ↗)

2 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

Not at all. Lambda Calculus is a much better mathematical foundational for functional programming that Category Theory is. I can teach a programmer Lambda Calculus in a few minutes and they will be able to use it for programming. Not so with CT. You need to add a lot of structure to get anything close to Lambda Calculus. Basically about 50% of a Typical CT book to get there.

comment 4y ago · link · parent

I know Category Theory quite well but have never used it for anything practical. Do you have any examples of practical solutions that benefitted more from Category Theory than just straight forward algebraic thinking?

comment 4y ago · link · parent

Good question! I would love to know as well. Maybe insecurity? Following a “leader” (author of an article or whatever) might make them worry less?

comment 4y ago · link · parent

Only over the very long term. Short term there is a lot of noise and randomness.

comment 4y ago · link · parent

“Short term trading is speculation not investing.” Warren Buffet

comment 4y ago · link · parent

Watch the Warren Buffet videos on YouTube. I did that and followed his advise. It works.

comment 4y ago · link · parent

Hahahaha good one :)

comment 4y ago · link · parent

Different architectures make sense in different contexts. Whether one is used more than another doesn’t matter one bit. It is not a popularity context.

comment 4y ago · link · parent

Yep. Completely agree. Software development is a great example of this. In my experience (25+ years) almost all problems in software development are created by the software developers themselves. Software developers will almost always pick the most complex solution to solve a problem if it makes things easier to get started. And when things go wrong, they will ”solve” it not by fixing the original problem (of their own making) but by adding another complex “solution” on top of it. Again because it is “easier” than having to think a bit and solve the real problem. An example is using technology X because famous company Y is using it. Just do what they do! What a relief! No need to think! Even though your company and business model is completely different from company Y. That’s why 10x developers exist. They don’t have to type faster or work longer hours. All they have to do is to create fewer problems for themselves and they will instantly be 10x more productive :)

comment 4y ago · link · parent

I am sick and tired of “X is a code smell” articles. Everything in software development depends on context. What makes perfect sense in context A makes zero sense in context B. If (for example) all you know is front-end JavaScript development then don’t make claims about anything outside of that context. Have you ever only worked in one industry? Then perhaps realise that your experience might be limited to that context. While being completely and utterly wrong in a different context. I have worked in many different contexts in my 25+ years career. AAA game development, high-performance compilers, low-powered embedded systems, typescript/react front-end development, enterprise software applications, mobile apps etc. And the #1 thing I have learned is that nothing is true or false in all contexts. Everything depends on your particular situation and context. So be aware of your limited context and perhaps think about what would no longer be true/false when you change the context.

comment 4y ago · link · parent

Nope. Not at all. For example, a friend of mine is working on an enterprise system used by a number of very large international companies. Every company demands slight variations to everything. From UI look/flow to how low level business logic is done. Flags are perfect for this. The key of course is to make sure that the flags are used correctly. By (for example) having a validation step at startup making sure the flags are configured correctly. Or (even better) using types to make it impossible to configure it incorrectly.

comment 4y ago · link · parent

Having a great conversation about interesting subjects with a smart knowledgeable person. Ideally while walking and drinking coffee in glorious beautiful weather. Happiness isn’t expensive.

comment 4y ago · link · parent

Formal meetings are rarely necessary (IMHO). I have been in less than 10 meetings the last 10 years. However quick informal discussions with subject matter experts are really useful.

comment 4y ago · link · parent

It is not a new idea. Typescript (for example) does something similar.

comment 4y ago · link · parent

I am pretty sure very few people driving cars understand how a Ford T works. Can they explain how a combustion engine works? Can they even explain the run cycle of a single cylinder? I doubt it. The mental model people use for driving cars is extremely simple compared with how a Ford T model actually works.

comment 4y ago · link · parent

In that case it is a trivial obvious observation not worthy of elevating to a “principle”.

comment 4y ago · link · parent

For the down voter(s): please enlighten us by giving us an example of a one-size-fits-all storage solution that works in all cases in all scenarios. Good luck with that.

comment 4y ago · link · parent

Yep I agree with the Blitter. I never fully understood how it worked :)

comment 4y ago · link · parent

> good and bad code has been written in every language

Yes indeed. There seems to be no limit to how bad code can be written in any programming language :)

comment 4y ago · link · parent

To the downvoter(s): How is the statement not an obvious trivial tautology?

comment 4y ago · link · parent

> Messages: Computing should be viewed as an intrinsic capability of objects that can be uniformly invoked by sending messages.

I disagree. A much simpler, and more general model is to view computing as data + data transformations. The OO thinking is a more complicated subset of this.

1
555657
116