Better HN
topnewbestaskshowjobs
Log inSign up

Datenstrom

1,348 karma · joined Jan 15, 2016 (10y ago) · 275 submissions

Console Cowboy

Robotics && Avionics

Rustacian && Pythonist

Submissions

comment 7y ago · link · parent

Very true. Wouldn't it be possible to solve it to that standard using dependent types? I think I read that those are on a distant wishful thinking roadmap for Rust in some RFC. I really hope they get added some day, I find myself wanting them all the time.

comment 7y ago · link · parent

This will be very good for the code. Attacking it will only make it stronger.

comment 7y ago · link · parent

The Rust compiler does this. No out-of-bounds accesses and therefore no buffer overflows. So yes it has been generalized.

comment 7y ago · link · parent

Why does this make me think of Harry Potter, the Fidelius Charm, and the secret keeper. Is this really what things have to come to?

comment 7y ago · link · parent

At the NASA autonomy incubator we had a search and rescue under the canopy project[1] that successfully used SLAM along with other methods in such an environment.

[1]: https://www.youtube.com/watch?v=2hRNx_0SWGw

comment 7y ago · link · parent

I have a few from my robotics projects at NASA, not sure if I can share publicly though unfortunately.

comment 7y ago · link · parent

I would probably buy a Nintendo phone if they made one. Maybe they should get into the phone business.

comment 7y ago · link · parent

Absolutely, and some people _really_ care about these things. Especially in my domain where things are safety critical like avionics/robotics we absolutely do not want to segfault and fall out of the sky or have degraded capabilities. I have found a lot of interest in using Rust in this domain exactly because of the safety. Especially with the awesome work that RustBelt[1] has done.

Further a compiler that verifies memory safety for you can save an incredible amount of money when otherwise you would need to manually prove memory safety.

[1]: http://plv.mpi-sws.org/rustbelt/

comment 7y ago · link · parent

While I was working at NASA I was told by a colleague that Trump canceled the asteroid deflection program that was being ran at the LaRC facility. Now looking for a reference all I can find is news about him starting an asteroid deflection program because of this incident.

I'm not sure of the details since I was working in an AI research department.

comment 7y ago · link · parent

As far as I know Replicant[1] is the only completely open option (besides the baseband OS). I would love to run it myself if it supported more phones, although I have not personally tried it. I keep an eye on the project though. Other projects like Copperhead OS[2] have all mysteriously imploded.

[1]: https://replicant.us/

[2]: https://news.ycombinator.com/item?id=17289536

comment 7y ago · link · parent

Are you asserting that capitalists care about freedom and the will of the people?

comment 7y ago · link · parent

I just had the same issue with rust linking to a 1553 bus library in /usr/local/lib yesterday. Seems like this should be on the search path.

comment 7y ago · link · parent

A few weeks ago I saw someone leaf blowing snow on the sidewalk in Alexandria, or at least trying to. One of the most absurd things I've ever seen.

comment 7y ago · link · parent

I love the site design, it is so clean.

comment 7y ago · link · parent

Similar situation and yes I have done that and far beyond. I even work in a field where it is just assumed I have a degree and people are always extremely shocked when I mention that I do not.

I am under the impression it is not possible to CLEP computer science classes or in any way get recognition for this. Is that correct?

Edit: specify CLEP for computer science

226.

The Clip OS Project(clip-os.org ↗)

2 points · by Datenstrom · 7y ago · discuss

comment 7y ago · link · parent

From what I understand it isn't possible to run AOSP on the vast majority of hardware. You still need proprietary binary blobs for the drivers and the baseband OS.

comment 7y ago · link · parent

> In fact, you may discover that you already have a dozen of microservices deployed at your organization.

Very true, robotics/avionics/etc. have been using "microservices" for a long time, nothing new here. Robot Operating System (ROS), Data Distribution Service (DDS), Lightweight Communications and Marshalling (LCM), and others all encourage that architecture.

comment 7y ago · link · parent

That solves the "app store" problem, the OS is still hostile though, and even using Replicant the Baseband OS is still a threat.

Not using F-Droid wouldn't be better, it is just that it really seams hopeless for a complete solution without a major movement like what spawned GNU-Linux. All these problems need way more devs involved.

comment 7y ago · link · parent

One wouldn't know about the best code they have inherited because beautiful code denies its existence so perfectly.

comment 7y ago · link · parent

> people from different backgrounds and walks of life would live and work together at least once in their lives.

I have to disagree with this one. Rich kids would be butter bars and everyone else enlisted. They would probably also get to go to college first since you need a degree to be commissioned. Also, it would likely eliminate the only guaranteed escape hatch for non-wealthy people to finish at least a four year degree without crushing debt.

comment 7y ago · link · parent

The last shop I worked at had System76 PCs for all the devs and they are great. I have since switched at home also and recently test drove their new PopOS since I needed CUDA and Tensorflow and they package them so it is as easy `apt-get install` and it was also great. I would highly recommend looking at their PCs and PopOS.

I just wish PopOS was built on Debian and not Ubuntu.

comment 7y ago · link · parent

Although I read the module documentation I did indeed miss that, I was learning mostly from the Julia tutorial notebooks and am definitely a Julia noob. Julia's `using`, `import`, and `include` does seem like it could have a better design. In Rust or Python for example anyone could tell the difference without looking at the docs. I assume `using` was kept for backwards compatibility?

I'll need to take another look at the code I was working on. I was planning on doing so after a break anyway.

comment 7y ago · link · parent

I do not recall the exact issue anymore unfortunately, I abandoned the project because of it, but the general sentiment on the Julia discourse seemed to be just avoid them. This blog post seems to sum up my issues with modules and namespaces pretty well though:

http://luthaf.fr/julia-some-criticism.html

I think that these issues are generally acknowledged although I don't know if they will be addressed. Seems like major pain points for library development should have been addressed before 1.0.

comment 7y ago · link · parent

I recently began learning Julia and initially everything was amazing, except for 1 based indexing but with everything else I could overlook that. Then I attempted building something medium sized and it all fell apart. I feel like it needs some serious work on tooling, the module system, packages, etc.

Has anyone built something medium-large sized in Julia? Maybe I'm missing something. When I was trying to use modules to organize my code the response I got was that modules are more trouble than they are worth so just don't use them. So why do they even exist? That really put me off from Julia despite really liking it otherwise.

I would want to build things with it not just play in a REPL and notebooks.

comment 7y ago · link · parent

Agreed, the threat I am concerned about is development and preparation of deployment in secret of these systems by a country in secret. If outlawed and other countries obey the laws, and a bad actor develops in secret and waits for the tech to become sufficiently advanced, they could launch a __very__ effective blitzkrieg.

Unlike chemical/nuclear warfare, no factories, material transportation, etc. out of the ordinary observable by other countries. Sensors needed for the systems would be entirely justified for other reasons and software to change behavior can be loaded invisibly.

There would be no way to police it.

comment 7y ago · link · parent

A large issue with this is that like the DARPA ALIAS project[1], and another project which I do not have a reference to but saw a demonstration of last year which made a traditional helicopter autonomous with just a bolt on avionics box, it is entirely possible to have "manned" systems that are made autonomous with a bolt on. This means that any country could develop autonomous warfare systems entirely in secret and then convert everything to unmanned overnight just before an attack.

You can't see software.

[1]: http://www.aurora.aero/wp-content/uploads/2016/10/ALIAS-Broc...

Edit, found a reference for the autonomous helicopter:

https://www.navy.mil/submit/display.asp?story_id=103769

comment 7y ago · link · parent

Yes, the fact that these systems will be built by someone regardless needs to be addressed unless we want to become the equivalent of redcoats lining up in neat rows to fight people who are not playing by the rules.

comment 7y ago · link · parent

Don't have one on hand but I have seen quite a few. I have heard that they are mostly 20% time projects though I'm not sure if they try to take code written on your own time but it looks like they do (and anything else you have written before working there) from this:

https://opensource.google.com/docs/iarc/

comment 7y ago · link · parent

Doesn't California law protect people from employers stealing code you write on your own time?

I recently turned down an offer in CA despite thinking I read something along those lines taking it as a sign of toxic culture. Another place had such a policy but gladly agreed to drop it.

1
678910