HNHacker News
TopNewBestAskShowJobs

johnfarrelldev

17 karma · joined September 6, 2021

submissionscomments
johnfarrelldev··on Britain buys semiconductor factory for defence purposes
It's not closing down, from the article they are moving to newer furnace technology which requires less workers to run.
johnfarrelldev··on Effect of Breakfast Skipping and Late Night Eating on BMI with Type 2 Diabetes
This is self reported data which tends to be really bad data for obese patients.

https://sci-hub.wf/10.1056/NEJM199305203282014

johnfarrelldev··on Monte Carlo methods
I haven't completed or deployed it yet but I wrote a C# API to calculate your chance of winning a hand of poker based on all known cards at the table.

All unknown cards are randomly assigned and it just loops a bunch, reasonably easy to implement and actually is reasonably fast.

https://github.com/JohnFarrellDev/PokerMonteCarloAPI/

With the amount of possible outcomes Bayesian statistics just didn't seem reasonable to implement.

Goes without saying this tool is still fairly basic, it shouldn't be used to inform how much to bet or when to fold as it doesn't take into account information such as how much your opponents are betting.

johnfarrelldev··on Reddit's photo albums broke due to Integer overflow of Signed Int32
I always found the funniest occurrence of this was in the Civ game though it seems it originally being a bug is disputed.

https://en.wikipedia.org/wiki/Nuclear_Gandhi

johnfarrelldev··on Can the knees go over the toes? (2016)
Wraps absolutely are a short cut in that every lifter can instantly lift more wearing them due to the elastic tension they're able to provide.

I don't think there is much evidence suggesting training squats wrapped would then result in the unwrapped squat being stronger for an elite lifter. I'd actually be concerned that the technical changes and also the different strength curve for a wrapped squat might throw off someone's regular squat.

johnfarrelldev··on Interview with Douglas Crockford
I'm not sure about other engines but V8 the most popular JS engine does not implement tail calls.
johnfarrelldev··on Show HN: Maze Generation Visualization
If you're into maxes and coding you should check out: http://www.mazesforprogrammers.com/
johnfarrelldev··on Public Money, Public Code
It's not the case for all consultancies though. The company I work for (much smaller than Accenture) does solely government contracting work and the majority of that code is open source. Every project I have personally been involved with for example has been open source.
johnfarrelldev··on Stackit: Cloud and Colocation
> The Schwarz Group covers the entire value chain of the food trade like no other trading company, from production to sales to materials management. Digitalization and its pressure to change are noticeable in all business areas. To continue to successfully serve rising customer needs, new digital business models must be iterated even faster – and this while the data and system infrastructure becomes increasingly complex. As the number 1 in the European retail business, the Schwarz Group knows that those who do not digitize will lose market share in the long term.

Lidl are part of the Schwarz Group.

johnfarrelldev··on Linus Torvalds: “GitHub creates useless garbage merges”
You can sign your commits with a GPG key, in your GitHub settings you can then link a GPG key to your account.

You can then make it that GitHub shows any non signed commit as unverified and at a project level not allow PRs that contain unsigned commits.