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

Python, JavaScript and PHP run on runtimes written in statically typed languages. And those runtimes run on operating systems written in statically typed languages, using hardware drivers written in statically typed languages. So yes the world does indeed run on statically typed languages. The code you write in Python/JavaScript/PHP is a thin layer on top of C/C++.

comment 4y ago · link · parent

No the demo went so badly for them that we never invited them back. I kinda felt sorry for them. They had no clue how uncompetitive they were compared with the tools we were already using. One of the two demo guys kept going on about how better it was because it was using Lisp. While also acknowledging that it was missing pretty much all the features we needed. The “it’s easy to implement yourself because Lisp!” argument was laughable given that Maya already had the features we needed and used every day.

comment 4y ago · link · parent

If you don’t know how to manage the complexity of a monolith (by using modules/libraries/clean interfaces) then you will have even more problems managing the complexity of micro-services. Since micro-services include all the complexity of the monolith with added networking and deployment complexity.

comment 4y ago · link · parent

Almost all software running the world is written in statically typed languages. This is not by accident or because developers don’t know better. Every few months on HN somebody will make some new claim about why dynamically typed languages are somehow better. But the truth is that statically typed languages have won in the market place for real world software. And I don’t see anything changing that.

comment 4y ago · link · parent

I worked on Banjo Kazooie and the claim that N-World was used for it is incorrect. We used Maya for all modelling. They did a demo to the BK team once and it went really badly for them. What they demoed to us was so far from being competitive with Maya that it was almost laughable.

comment 4y ago · link · parent

> Given Lisp's near-mythic status of productivity

I have seen a lot of claims of this but no real evidence? And I know Lisp quite well (having implemented my own versions of Lisp for fun). If Lisp truly is way more productive than other languages, why haven’t we seen lots of Lisp software out-competing software written in other languages? Surely a few Lisp guys could outcompete everybody else if Lisp is as super productive as claimed.

2077.

1M is so 2011 (2012)(blog.whatsapp.com ↗)

2 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

Most of science and math taught in school is useless to students who doesn’t pursue a STEM career. However we desperately need a percentage of students to peruse a STEM career for society to function. And we don’t know ahead of time who those students will be. So we force all students to try to learn it. The result being a large percentage of students feeling that they are wasting their time and that “science is useless”. Which it is for them.

comment 4y ago · link · parent

Or perhaps find the most competent person who isn’t busy? Incompetent people tend to be busy all the time because they don’t know how to work effectively. A bad developer will add as many bugs as new features and will therefore be busy all the time, always falling behind. A great developer will introduce very few new bugs and can therefore easily add new features, not falling behind.

comment 4y ago · link · parent

Don’t believe anything an employer tells you. Ask for hard evidence.

comment 4y ago · link · parent

Sorry but it is the employer who has you over a barrel not the other way around. They clearly have managed to manipulate you into working for free for a long time, and are continuing to say whatever it takes to squeeze even more work out of you for free. The rule is to never ever let a company owe you more than a month of work, and stop delivering the moment they don’t pay. My advise would be to say to them: pay me what you owe and I will deliver. Otherwise forget it. The claims made by the company are obviously BS. Unless they can provide evidence that they have (say) a signed contract with a customer worth $ millions.

comment 4y ago · link · parent

I use my email inbox as my TODO list. It works great. I have also successfully managed large software teams using a simple prioritised TODO list in Excel. It also worked great. Think about it: if you always know what your priorities are, and you always work on what is highest priority, you pretty much can’t do better. It is an optimal algorithm.

comment 4y ago · link · parent

Liste to your wife. She is right. Having a depressed, burned out husband will impact her as well.

comment 4y ago · link · parent

It’s interesting that in Scandinavia (Denmark, Norway, Sweden, Finland) where everything possible has been done by the government to remove barriers of entry for woman to traditional male jobs, the ratios are still 80% male engineers and 80% female nurses. The only thing that seems to explain that is differences in interests (things vs. people) or social pressure. But the social pressure explanation doesn’t seem to add up given the massive effort by the governments and media to make traditional male jobs interesting to woman. But interestingly enough the majority of students studying chemistry at my University were females. I have no idea why Chemistry was popular among females and not (say) programming.

comment 4y ago · link · parent

I really like this presentation because it truly is pragmatic. Looking at what functional programming brings to the table even if you are not programming in a functional language.

comment 4y ago · link · parent

I have had success teaching complete beginners how to code using the following approach:

1. Show them how to implement a super simple text adventure game in Basic using just print, input, if, and goto.

2. Ask them what cool things they want to add. Show them the minimum coding skills needed to accomplish it. Only adding new skills when the students wanted to add more advanced features to the game.

3. Repeat.

I was blown away by the joy and happiness the students were displaying. They were programming and creating a fun game in the first lecture. Most of them stayed behind afterwards to expand their game, play the games created by the other students, and helping each other make more complicated features. What a joy to see.

comment 4y ago · link · parent

Yeah it would have been really interesting to have scheme in the position where JS is today.

comment 4y ago · link · parent

Wouldn't it make more sense to automate the tests instead of doing it manually? I have 9000+ auto tests for the large complex C++ code base I am currently maintaining. And the result is zero customer production bugs in the last 5+ years. And I routinely refactor and rewrite large parts of the code without worrying about it.

comment 4y ago · link · parent

You are not taking into account construction cost. For example:

"The USS Ford is the most advanced aircraft carrier the US has ever built. The tally for the total cost is $13.3 billion".

And that is just for the aircraft carrier. Even using your maintainance only numbers: 3 Tomahawk missiles a day is more than 1000 a year, more than 30000 Tomahawk missiles over the 30 year lifespan of an aircraft carrier. That is about 13500000 kg of warhead. If we add the construction cost of the aircraft carrier alone as well, we get an additional 6230769 kg of warhead from the Tomahawks adding up to 19 million kg of warhead. More than double the total dropped during Gulf War 1. You are welcome to also add the construction cost of the other ships needed to support the aircraft carrier. And also subtracting a percentage of the non-smart bombs since a lot of the bombs dropped during Gulf War 1 were non-smart i.e. a lot of them missed their targets.

2090.

Functional Programming for Pragmatists (2021)(youtube.com ↗)

6 points · by mbrodersen · 4y ago · 1 comment

comment 4y ago · link · parent

It is expensive to constantly hire new employees and waiting for them to get up to speed. Having a stable group of expert employees who know the systems inside out, and know how to work well together, is a huge competitive advantage. Pushing employees beyond steady state is a clear sign of incompetent management.

comment 4y ago · link · parent

The cost of dropping a single smart bomb from an aircraft launched from an aircraft carriers needs to include the cost of everything needed to make it possible. Including the total build and operational cost of the carrier fleet itself. You might be surprised how insanely expensive it is compared with almost any other weapon system out there.

comment 4y ago · link · parent

I have no QA testing and the code I maintain haven’t had a customer production bug for 5+ years. And we are taking complex software written in C++. The reason why is 90000 end-to-end use case tests. I routinely implement new features or refactor major parts of the application and the tests will tell me if it is ready for production or not.

comment 4y ago · link · parent

If it was that simple don’t you think game developers would have done just that? I have worked both in and outside the games industry and it is clear to me that AAA games are magnitudes more complex than your everyday biz app.

comment 4y ago · link · parent

Qt is a great choice for writing multi-platform desktop apps. It would take a lot longer, and add unnecessary complexity, to write the UI specifically for each platform.

comment 4y ago · link · parent

The only problem I had with Electron was the slow booting time. Other than that it worked fine. I didn’t see any more bugs than I see on any other platform. Perhaps the problem was that you are very familiar with Qt and not with Electron? I am not saying that Electron is perfect. I don’t think any platform is. But it seems to me that (again) the problem you are describing is that bad developers will write bad code on any platform. And yes a lot of inexperienced developers know JavaScript so they are attracted to Electron and write bad code. Completely agree. But I think it is unfair to blame Electron for that. Just saying :)

comment 4y ago · link · parent

I have lived and worked in the US and I realised that the Australian culture is a better fit for me. I probably would have made more money in the US but that is not #1 on my list of what is important. The amount of misery, stress, and anxiety I saw every day in the US was not something I agreed with. Coming from a well functioning European country, it was a shock to me to see people begging in the streets. Before living in the US I had never seen a beggar “live”. Only on TV. It was a massive culture shock for me. Australia is a perfect blend of Europe and the US. Best of both in my opinion.

comment 4y ago · link · parent

Your argument seems to be that bad developers write bad software? Isn’t that true no matter the platform? I have written equally successful software in both Electron and Qt. In my experience, a competent developer can write great software given almost any platform.

comment 4y ago · link · parent

It would be really nice if software developers that rant about X instead come up with a better alternative to X. You don’t like Electron? Great! Come up with a better alternative that still gives you the multi-platform/cost advantages of Electron. You don’t like Node? Great! Show all of us what a better solution would be that still gives us all the advantages of Node. It is super easy, but also super lazy, to ignore the advantages of X and only focus on the disadvantages of X. There is a reason why X became popular! An alternative needs to give the same benefits while fixing the problems. If nobody can come up with a solution for that then perhaps X is a pretty good technology.

comment 4y ago · link · parent

I don’t think it ever was in general? I was offered a green card and a high value job in California. I decided to accept a job in Australia instead. That was the right choice for me. But YMMV of course. I think it depends on your personality, job situation etc. whether the US is the right choice for you or not.
1
697071
116