HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mxben

no profile record

Submissions

God Mode – no more RSI

github.com
3 points·by mxben·3 yıl önce·0 comments

FizzBuzz is FizzBuzz years old (and still a powerful tool)

blog.tdwright.co.uk
3 points·by mxben·4 yıl önce·1 comments

comments

mxben
·3 yıl önce·discuss
Awesome! Great work on this project. Congratulations!
mxben
·3 yıl önce·discuss
Could you talk about the arithmetic you are using to make mixing colors work?
mxben
·4 yıl önce·discuss
Is it just me who finds the old website design much better than the redesign? The new redesigned website seems to lack character that the old website had.
mxben
·4 yıl önce·discuss
Can you (or anyone who has run Lisp software in production) share how the experience has been? Do the management and other colleagues like it? Do they express any concerns? Want to understand the social aspect of running Lisp in production.
mxben
·4 yıl önce·discuss
> As soon as something enters the standard library its API is basically set in stone

Is that really all that different from Python?
mxben
·4 yıl önce·discuss
> do not criticise

Nobody said that. Of course you can criticize. But be aware that your criticism itself could be subject to criticism.
mxben
·4 yıl önce·discuss
> My point was that GP's rule of thumb (if it has a keyword, it's a statement, otherwise is an expression) is wrong on both ends.

I do agree!

Sorry to bother you but I am a bit confused about this part of your comment:

> `alert("Hello, World!")` or `doSomething()` are usually statements, not expressions;

Can you please clarify what you mean here? Do you mean `alert("Hello, World!")` is an expression? Or do you mean it is not an expression? Or did you mistype?

Your `console.log( /* put thing here */ )` test is a pretty good one and indeed `console.log(alert("Hello, World!"))` passes this test.
mxben
·4 yıl önce·discuss
I can appreciate the points about not knowing enough to engage an expert early or using a good wrapper library, etc. But this point blows my mind:

> There’s this Network Partition thing, it’s kind of a big deal

How could someone using RabbitMQ cluster not consider how the cluster would behave during a partition? This is exactly the kind of thing that should be tested in a safe environment before running the cluster in production.

Testing for network partitions is not something one wishes someone else would have told. It is an essential responsibility for anyone in a software engineering role. Not doing some basic testing to understand partition scenarios before running a cluster (any type of cluster) in production is a disaster just waiting to happen.
mxben
·4 yıl önce·discuss
Interesting! Any examples of such languages?
mxben
·4 yıl önce·discuss
`alert("hello")` is an expression and also a statement.

  a = alert("hello"); // Assigns a to undefined
What isn't an expression? An `if` statement is not an expression.

  a = if (true) alert("hello"); // Uncaught SyntaxError: Unexpected token 'if'
mxben
·4 yıl önce·discuss
Really needs Mathjax/Katex support otherwise the math formulas become very hard to read. Adds mental load just to parse the math text and make sense of it. Take a look at any of the questions and answers at https://math.stackexchange.com/ to see how it should really be done.
mxben
·4 yıl önce·discuss
> I'm surprised there aren't more comments on this on Hacker News considering it's the Fields Medal.

Many would argue that looking for engineering applications in mathematics is not why mathematicians do mathematics. That mathematics does sometimes have engineering applications is a mysterious and beautiful side effect. It isn't the motivation behind doing mathematics.
mxben
·4 yıl önce·discuss
Thanks! Never knew this existed. Would have been better if the sidebar was not shown in a new frame. There are third-party customizations to launch speedbar in the same frame though.