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

Here is a different view backed by leading edge nutritional scientists: the “low carb down under” channel on YouTube.

comment 4y ago · link · parent

The problem with the US diet is not the meat. The problem is the carbs. Leading directly to insulin resistance.

comment 4y ago · link · parent

Most doctors unfortunately have zero education when it comes to nutritional science. I recommend listening to actual leading edge nutritional researchers before forming a strong opinion. A good source is the “low carb down under” channel on YouTube.

comment 4y ago · link · parent

Try this: Write down (yes write down) what is important to you in life. The things that make you happy. Only write down what actually makes you happy. Being rich for example isn’t it. Money is an important tool but not a goal in itself. However it might be that being wealthy will enable you to do more of X which makes you happy. So write down X not “being wealthy/rich”.

When you are done, use this as your “life strategy”. Ask what you need to change in life to better follow your life strategy. When anything brings you down, ask if it in anyway impact your life strategy. If not then realise that it isn’t important and carry on.

I did this myself years ago and it was a life changer. It gave me clear guidance and clarity to make decisions in life and to properly filter out things that aren’t important to me.

comment 4y ago · link · parent

Simply transform the point x and the point (x + n), subtract the two, and normalise. You now have the correct normal. It’s that simple. I used this method all the time while working on commercial game engines.

You can use the same idea to invert transforms by simply imagining the transform as a 3D coordinate system in space and calculating the inverse relative to the origin and axis vectors of that coordinate system. No need to first generate the inverse transform matrix.

comment 4y ago · link · parent

How about almost all domains? Everything in the world runs on top of browsers/operating systems/drivers/VMs/networks/embedded systems etc. that are written in C/C++. Not to mention that the tools used to design chips and manufacture them are also written in C/C++. No other language comes even close.

comment 4y ago · link · parent

Nope. Ex. game developer here. New C++ projects and libraries are started every single day.

comment 4y ago · link · parent

Hahaha wow. There are more than 5 million C++ programmers out there. Starting new C++ projects every day. I am pretty sure more new C++ projects are started every day than Rust projects. Everything (including Rust) runs on top of browsers/operating systems/drivers/compilers/VMs written in C/C++. Rust code is like a drop in the ocean compared. Maybe in 30 years that will changed? Don’t count on it.

comment 4y ago · link · parent

Hahaha you have zero clue. C++ has the best tooling in the world. From static analysers to best in class debuggers to best in class performance profiling tools etc. No other language comes even close.

comment 4y ago · link · parent

> on its way to become the standard low-level language

It will take a very long time for Rust to get even close to the huge amount of C++ code out there. There are more than 5 million professional C++ developers employed around the world today. And that number is increasing. Don’t get me wrong: I like Rust and other attempts to move beyond C++. But don’t underestimate how much C++ code has been written the last 30+ years. And new C++ projects are started every single day. There are probably more C++ projects started every day than Rust projects. So anything that makes it possible to move beyond C++ while being 100% interoperable is good news.

comment 4y ago · link · parent

Agree. And I will even take it one step further: 95% of the code you write will be code that transforms one data structure to another. Think about it: even UI code is exactly that. It transformed data in one representation (internal data) to another representation (the UI state). And back again when the user presses “OK’ or whatever.

comment 4y ago · link · parent

This is a general problem with Microsoft and not just Azure. You can’t rely on anything new that Microsoft has released in the last 1 to 2 years. And especially anything that they are heavily promoting. They naively seems to think that rewriting something that ALREADY WORKS with a half-baked unproven new technology is a good way to invest developer salary $. How naive is that? Remember Silverlake? Remember Microsoft trying to pretend that C++ is dead for years and being forced to back flip because strangely companies out there did not rewrite their proven 10 million line C++ applications in C#? Microsoft in general has zero clue on what is important to the companies using Microsoft tech. What matters to mature developers and companies is stability. Being able to rely on a tech for decades without having to throw out millions of $ to rewrite everything using the latest wet dream tech generated by Microsoft.

1393.

The Programming Languages Zoo(github.com ↗)

3 points · by mbrodersen · 4y ago · discuss

1394.

A Special Issue on Formal Proof (2008)(ams.org ↗)

38 points · by deterministic · 4y ago · 2 comments

comment 4y ago · link · parent

A plan is not supposed to be set in stone. If the assumptions change, or progress is not going according to plan, you re-evaluate the situation and change the plan accordingly. The plan might have been to go on vacation in Japan, but because of Covid lockdowns you changed the plan to instead go on vacation in your own country. It’s a different plan but it still achieves the objective: going on vacation.

comment 4y ago · link · parent

It’s all about demand and supply. It has nothing to do with how hard/easy anything is. So it actually makes perfect sense. Everybody needs web software. Very few needs hard engineering skills.

comment 4y ago · link · parent

This is a great example of why I usually build my own tools. It is easy/fast to do because I only need to implement exactly what I need and nothing more. And bugs can be fixed right away, and features added, without having to wait for a company or open source developer to maybe eventually at some point perhaps fix the bug or add the feature. I have written tools for companies I worked for that has saved hundreds of thousands of development hours for myself and other developers.

comment 4y ago · link · parent

Weight-loss surgery is not only dangerous but also (in a lot of cases) ineffective. Before thinking about taking such a dramatic step, I recommend trying a low carb diet. Reduce carbs as much as possible and increase protein/fat an equivalent amount so that your overall calories stay the same. The science behind it: Search for “low carb down under” on YouTube.

comment 4y ago · link · parent

There is no such thing as “the industry”. There are millions of individual companies out there. Each with a unique culture shaped by the founders and people working there. So keep looking until you find a company with a culture that works for you. It took me working for 5+ companies in 5 different countries until I finally found a company with a culture that I am happy with. The range of different company cultures out there is extreme. From absolutely hell on earth toxic to perfect for you. It’s like a marriage: it can be hell or heaven depending on who you marry.

1400.

Why the Soviet Computer Failed(youtube.com ↗)

3 points · by mbrodersen · 4y ago · discuss

comment 4y ago · link · parent

Every time I try Firefox I give up because of bad save-as-PDF support.

comment 4y ago · link · parent

Verhoeven is a true genius. His ability to make truly deep serious movies camouflaged as popcorn movies is absolutely mind blowing. I love everything he has done.

comment 4y ago · link · parent

I always thought RoboCop was a sober documentary from the future showing the outcome of current and future US policies? Only half joking :)

comment 4y ago · link · parent

Godot without console support is a hard pass for most pro game developers.

comment 4y ago · link · parent

Yep I agree. I don’t think learning Scratch is a good way to learn programming. The intentions are good but IMHO misguided. Scratch is too “abstracted away” from what is really going on. Learning about the lowest possible abstraction (machine code) made it easy for me to understand everything else in programming. And the humble BASIC programming language taught a whole generation of kids how to program. So I think it is fair to state that BASIC is a proven way to teach kids the “real” stuff. Perhaps Python might be a better choice today?

comment 4y ago · link · parent

Look I was teaching myself Z80 machine code on a ZX-Spectrum when I was 11. No internet to help me out and nobody I knew could help me. Just one book. And yet I learned how to hand compile Z80 assembler to machine code and make fun little games. So don’t underestimate the capabilities of kids to solve hard problems :)

comment 4y ago · link · parent

I have many fond memories of reading Byte magazine years ago. My University library had a complete collection. I would spend hours reading through them. Fun times!

comment 4y ago · link · parent

> Writing a parser by hand is tricky and not worth the alleged performance increases

Not my experience at all. It is easy and fun. And I can actually debug the parser instead of staring at generated noise/tables. And the performance is usually x2 or more, making it worth it for compiling large projects. Background: I am the maintainer of a high performance JIT optimising compiler for a Haskell like rules language used in production by commercial companies around the world.

And yes tests are absolutely necessary to maintain a commercial optimising compiler. I use a test suite of more than 9000 tests. The result is zero bugs in production the last 5+ years. The upfront cost is absolutely worth it because I can make massive changes to the internals of the compiler and still confidently release the result into production.

As for type checking: you typically won’t find any useful stuff in compiler books. However there is a massive amount of information available on type checking and type systems online. It is a huge research area and kinda the foundation of computer science. There are whole books dedicated to type checking and type systems alone.

comment 4y ago · link · parent

Yep I agree that is the right approach. Elm is amother example of this architecture in action.
1
464748
116