News for hackers. Stuff that matters.

hsjoberg

Re:Ask HN: How was your Advent of Code 2018 experience? on Tuesday December 25, 2018 @03:21AM (#18756559)
It was loads of fun. Decided to try out go, so the first couple of days were a bit slow but from then on it was pure fun. Even though the elves VS goblin game was a bit too much to handle in one single day...
Re:Stuffing a Tesla Drivetrain into a 1981 Honda Accord on Sunday March 04, 2018 @05:28PM (#16517176)
Just so you know someone might do it before you! Atleast SAAB 93 but who knows maybe someday also a SAAB 9000.

https://www.nevs.com/en/ They build EV out of SAABs olf offices using a SAAB 93 as a platform. Check it out!

Re:JupyterLab is ready for users on Tuesday February 20, 2018 @02:36PM (#16423394)
You could try the SciPy Simulink look-a-like https://www.scilab.org/scilab/gallery/xcos
Re:Spotify hit with $1.6B copyright lawsuit on Tuesday January 02, 2018 @06:03PM (#16056718)
The guy is who made utorrent also works for spotify
Re:Numpy: Plan for dropping Python 2.7 support on Thursday November 16, 2017 @02:51AM (#15710867)
You can use to 2to3 command. So far I had no problems while using it.

https://docs.python.org/3/library/2to3.html

As a Swede owning an expensive apartment this sucks. Currently we only need to pay mortgage down to 75%, so a lot of young swedes will loose a great deal of money.
Re:Scilab – Open source software for numerical computation on Saturday September 16, 2017 @05:17PM (#15266813)
I tried doing sensor fusion with simulink and I thought it was horrible. Then me and my team switched to python instead and it worked really well. Never understood why to use simulink for other things then just controls.
Re:Why religion is not going away and science will not destroy it on Wednesday September 13, 2017 @07:58AM (#15237400)
Well they have a lot of science but they lack proper education.
Re:Android Oreo on Monday August 21, 2017 @03:39PM (#15067166)
Are they really selling an OS? It's free right? They sell something else with android but can't figure out what...
Re:I cannot consistently write safe C/C++ code on Monday July 17, 2017 @03:32PM (#14791629)
Yeah testing needs to be done with compiled code on target card otherwise you can't be sure it works. Usually compiling code is super strict no further optimization then the standard can be used etc. Only specific cards and compilers are "trusted" to use.
Re:I cannot consistently write safe C/C++ code on Monday July 17, 2017 @08:40AM (#14787914)
Yes and the code/models go through extensive testing. Everyone in the industry knows that a callback because of faulty software will cost an insane amount of money. This is changing a bit since more and more work is going towards over-the-air update.
Re:I cannot consistently write safe C/C++ code on Monday July 17, 2017 @05:16AM (#14786800)
In automotive, code is very rarely written it is mostly generated from simulink models. But yes software for aviation automotive, nuclear and medicine equipment are running safe C code.

It is mostly generated from a model not necessarily simulink. The generated code usually have rules for the code so no global parameters, no pointers etc can be used.

Re:Ask HN: Why does visual programming suck? on Monday June 05, 2017 @02:29AM (#14485638)
I have a background as a programmer and recently started using Matlab/simulink. It is good for some things like controllers etc. Can't really say I like it for things I would usually use when programming, like loops and if statements(I know simulink has these but they make no sense).

I also believe simulink has been used mostly for simulation therefore it's name and not programming. However now you can generate code from your model.

Ofc they will fail at some point, there is nothing magical about a self-driving car. What I meant with the previous post is that it could be fail-operational see for example the volvo drive-me.
Nope doesn't make it fail-safe at all and I don't think that is very hard to accomplish. What can be accomplished is fail-operational, if one sensors goes down using other sensors the car can navigate it-self to safety.
You will always have a redudancy of sensors in case they fail. The front looking camera usually does have a complimentary lidar and most cars are even equipped with both camera and radar in case a sensor goes AWOL. This will be the case is selfdriving cars as well. I think they will have even more redudancy then we see with ADAS cars today.
Re:The team behind Cookies is joining Klarna on Tuesday November 22, 2016 @07:55AM (#13013729)
I am not a big fan of klarna, somehow they manage to get the products I buy more expensive then if I did not use klarna.

/Unhappy-customer