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

Same here. The advantage is that it works in any language.

comment 4y ago · link · parent

F# and ocaml does that all the time using type inference.

1563.

How to turn your 2d fractal into 3D(youtube.com ↗)

1 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

Yep not surprised. The reality is that most micro-services only work OK today because they are basically a complete rewrite of the previous system or a brand new system. ANY brand new system (including monoliths) works perfectly fine because it is all new and everything is in the developers heads. Just wait a few years and the system will turn into not only spaghetti but distributed spaghetti as new developers join the team and the original writers of the system leave.

comment 4y ago · link · parent

I am so looking forward to all the micro-services disaster stories guaranteed to appear in the future. A friend of mine is already deep in a 20 year old micro-services mud pile. If you think a spaghetti monolith is bad, just wait until you encounter a 100+ micro-services spaghetti monster. My WTF record has reach dizzying now heights just listening to my friend talking about a few of the problems he encountered working on it.

comment 4y ago · link · parent

Close to nobody wants to pay $ to get less “bloat”. End of story. The same way that almost nobody wants to pay $ to get 100% bug free software. Incentives and markets run the world. Either accept it and move on, or continue wasting your time being upset/agitated about it and write angry words that will make exactly zero difference in the world.

comment 4y ago · link · parent

Managers who can’t manage people unless they are in a specific geographical locations every day should be fired for incompetency. I am dead serious. Management is about outcome not activity.

comment 4y ago · link · parent

Companies that insist on employees working in the office will simply be less competitive than companies that are WFH flexible. A large percentage of experienced developers will not apply for jobs that are inflexible. So inflexible companies might end up with employees who don’t have any other choices.

comment 4y ago · link · parent

Not at all. We now have access to a waste universe of information. The trick is to filter out the noise. For example, I am watching talks on YouTube by world class experts in metabolism from the comfort of my own home. Without the internet, I would have to fly to another country to watch talks at that level of quality. However there are also a waste number of pseudo-science videos on YouTube. So you have to carefully filter out the signal from the noise. It’s a bit annoying but absolutely worth it.

comment 4y ago · link · parent

I have worked in many systems where using a debugger to debug the system is impossible. Not because it was hard to setup a debugger (it usually isn’t) but because the bug is in a distributed system, or a very high performance timing sensitive system, or a system where you have to run the code for hours to trigger the bug, the bug only happens on a system I don’t have access to but I can send logging to my system etc. Also, why would anybody prefer to manually do something that you can automate by programming code to detect the bugs and print() exactly the information you need to fix it? That doesn’t make sense to me. We have the technology (programming) to automate bug finding. Don’t do it manually. It doesn’t scale.

comment 4y ago · link · parent

What an arrogant thing to say.

comment 4y ago · link · parent

I happens to be a professional compiler developer (among other things). And nope that is not the right answer. The right answer is 1k tests making sure that a new version is (almost) never released with bugs. I haven’t had a bug in production for 5+ years. And routinely completely rewrite and optimised parts of the system with no fear.

comment 4y ago · link · parent

I maintain very large complex software on a day to day basis. I never use debuggers. Debuggers doesn’t scale to solving large complex problems. Especially in distributed systems.

comment 4y ago · link · parent

I have an extensive test suite (10000+ tests) and zero bugs in production for the last 5+ years. I never use debuggers. Why manually do what software can do automatically? That doesn’t make sense.

comment 4y ago · link · parent

25+ years of professional experience here. Having worked in embedded systems, complex Enterprise systems, high speed compilers, AAA games, Client/Server applications, Web development etc. I never use debuggers. The software I am working on is too complex for that. So perhaps you are the one who needs a bit of education to realise that what is true in your context is not true in all contexts. When was the last time you used a debugger to fix event interaction bugs in distributed systems for example? How about real-time timing sensitive software? I know your answer is “never” because you can’t debug those systems using a debugger. print() debugging is vastly more powerful than interactive debuggers.

comment 4y ago · link · parent

A human interacting with a debugger can not compete with error detecting code printing out exactly when the application state is invalid. A human interacting with a debugger can not debug complex interaction bugs in a distributed system. A centralised printf log can. A human interacting with a debugger can not debug real-time timing bugs. But printf can. I could go on all day but hopefully you get the picture. Debuggers are fine in certain limited scenarios. But the systems I maintain every day are way too complex for that.

comment 4y ago · link · parent

I found that using the final pixel color as your “printf” works wonders. You can turn any proposition into a color and directly see the debug pixel values on screen. A simple example is displaying your normals as RGB.

comment 4y ago · link · parent

25+ years of professional experience here. I very rarely have to debug (because of extensive test suites). But when I do, I always use printf. It gives me the full power of the programming language to selectively detect and print the key information I need to reason about the system. It works great. I know how to use debuggers. I just choose not to.

comment 4y ago · link · parent

What makes you think that F# doesn’t scale? Anything you can do in (say) C# you can do in F#?

comment 4y ago · link · parent

I have lived, worked, and paid taxes in 5 countries. And it was obvious to me that the food standards in England (and the US) was lower than most European countries. Sorry if that offends but I believe this to be true based on personal experience living there.

comment 4y ago · link · parent

Wow. Any solution that solves 50% of problems is pretty damn good!

comment 4y ago · link · parent

It is easy to imagine a future where schools in the US are armoured fortresses guarded by heavily armed soldiers, and kids being driven to school in military style personal carriers. I am exaggerating of course. Or am I?

comment 4y ago · link · parent

Look you and your team clearly wants to believe that nobody in the world are better than you. That’s fine. A bit arrogant perhaps? But if it makes you feel good about yourself then why not? No harm done as far as I can see.

comment 4y ago · link · parent

Ask people how they think their work contribute to the cash flow of the company. Ask them to consider what impact them not working would have on the cash flow. If their salary is greater than the income their work generate, then their work is actually not beneficial to the company. If they interrupt people who do have a positive impact on cash flow (unnecessary meetings) then it is even worse.

comment 4y ago · link · parent

You absolutely can measure, to some degree, the internal state of somebody’s brain (what you call “Soul”). Is the person happy or trying to commit suicide? Now there is one very rough measure of somebody’s internal brain state. Is the person constantly punishing him/herself? Now there is another. Is the person a sociopath? Another one. The last one can even be measure using a brain scanner. No need for human interpretation there. I assume you are religious (using words like “Soul”) so perhaps remember Jesus saying “You will know them by their fruit”. In other words, you can measure their “Soul” by what they do.

comment 4y ago · link · parent

Not my experience at all. The problem with a “clean” “properly” designed database schema is handling migration and schema changes. Also, in an Enterprise environment, you end up having external systems relying on your schema, making it nearly impossible to upgrade the schema without breaking systems you don’t even know about until somebody shouts at you.

comment 4y ago · link · parent

DevOps are supposed to be part of the software development team. NOT a separate department. That’s the difference between SysAdmins and DevOps. It’s in the name! Developers (on a team that run) Operations (of the teams products). DevOps.

comment 4y ago · link · parent

I am 50+ and no not at all. Quite the opposite. Having 25+ years of experience in very different software development contexts makes most things super easy to figure out. I have either done something similar before, or I have proven general solutions that can be easily applied to specific cases. Having said that, I also very carefully manage my diet and exercise. Learning as much as I can about keeping my body and mind healthy. That might be a reason as well?
1
525354
116