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

A lot of sentiment here seems to be that Project Euler is more about math than programming. I feel like that depends on ones definition of the term programming. Computer science of course has nothing at all to do with computers as it only asks the question "What can be computed?" and Project Euler is very much in this spirit just as Knuths "The Art of Computer Programming" is. For example many of the problems require you to use specific algorithms to find an answer in polynomial time.

If you define programming as software engineering then of course Project Euler is mostly irrelevant. But computer science is math, not software engineering.

242.

Rust Derive Macros(rendered-obsolete.github.io ↗)

3 points · by Datenstrom · 7y ago · discuss

comment 7y ago · link · parent

Take a look at the Robot Operating System[1] and their tutorials[2]. Keep in mind though that very slowly ROS is transitioning to ROS2 which fixes some major problems caused by ageing. Most notably the switch from ROS messages to the Data Distribution Service (DDS) which is very popular in robotics.

ROS has a large amount of packages available for popular robots and integrates well with many simulation environments also. This will save you a massive amount of time learning and from being overwhelmed with the massive amount of things that go into even making a simple robot work. Download a bunch of packages and focus on just the part/parts you are learning right now. You will also see lots of great examples of how robotics software is written. Whether it is DDS, ROS messages, or LCM it is generally structured into a collections of nodes that interact with each other.

As far as hardware, even having personal projects with a simple line following robot should be enough to get a foot in the door. Where I worked previously preferred to hire people who were software engineers first, or at least keep the team balanced and I learned on the job. Simulation to real training has had some recent breakthroughs also, see "Learning Dexterity" by OpenAI[3] so it is increasingly possible to do effective work in simulation.

[1]: http://www.ros.org/

[2]: http://wiki.ros.org/ROS/Tutorials

[3]: https://blog.openai.com/learning-dexterity/

comment 7y ago · link · parent

I think this is a great idea. I have also been pitching it in conversations with people who oppose UBI for years and it is generally very well received by them. Unfortunately I am unaware if this has actually been implemented anywhere.

comment 7y ago · link · parent

Can confirm this is a problem in Naval aviation also.

comment 7y ago · link · parent

Whenever I end up on another computer without my environment setup and end up in nano because it is the default, it always takes me a while. There is the cheat sheet at the bottom but as soon as the text appears I'll start manipulating it using vim keybindings and delete things and whatever else randomly. I always assume my fingers were not on the homerow correctly or something first. It is very disorienting.

So I imagine it is far worse for someone who ends up in Vim the same way.

comment 7y ago · link · parent

Under the wealthy genetic adonis's will be a caste system of people engineered for specific job roles also of course.

If this sounds like an interesting novel I would recommend Red Rising by Pierce Brown. It explores some of these issues.

comment 7y ago · link · parent

Not a genius but had something similar happen. Was literally doing the work already and successfully. My coworkers and boss all vouched for me but the company had a policy. There are probably other companies where a similar policy that effects single person that works there.

comment 7y ago · link · parent

I do understand that there is a serious possibility of deploying a bad black box AI, a number of questions come to mind though.

Isn't it true though, that human intelligence (and especially corporate/government/etc. intelligence) is also susceptible to biases which are invisible? Also, do we know why humans or groups of humans produce the output they do? Is there some kind of black box testing procedure we could use to increase trust in AI to a point at least equal to humans?

comment 7y ago · link · parent

Very nice! I've been using SVG Porn[1] (sfw) for the same purpose but I will definitely use this too now.

[1]: https://svgporn.com/

comment 8y ago · link · parent

My training required shouting in all of the drills. The reasoning that was given was that it was required to make sure any and all bystanders and recording devices heard you clearly so there would be evidence that you followed procedure and that they did not follow commands.

Perhaps this is now outdated with the introduction of body cams but I would bet it is still taught that way.

comment 8y ago · link · parent

I think the biggest problem is their training. I was on a base police detail as a temporary duty for about a year and I often see things like this and the police act exactly as the training I had taught. The "force escalation" went ask -> tell -> make, and they try to instill a paranoia that everyone has a concealed gun by default and should be treated so. I think I have the old training manual laying around somewhere still.

Training about recognizing and handling disabled persons should be mandatory, I received none. Also, clearly what is considered "deadly force" should be re-evaluated. Injecting someone with sedatives without knowing their medical history definitely seems like it should be on that list.

One of most disturbing things I remember from the training was an instructor telling us "It doesen't matter what really happened, what matters is how you articulate what happened."

comment 8y ago · link · parent

I agree that for some engineering fields an official certification of some sort should be required. There are other roads to obtaining the required knowledge for that certification though, and attending university should absolutely not be the only way to obtain certification. At the very least standardized tests.

It would save highly motivated self learners or people learning in an apprenticeship type situation such as an open source contributer years of their life, lots of money, and allow them to more quickly contribute to society.

comment 8y ago · link · parent

Lost me at "To continue, login using your Facebook account."

comment 8y ago · link · parent

> The fact that people feel obligated to stay long hours because their boss is in the office, and the whole concept of "we are all in this together so we should all suffer together" is a key driver.

You see this culture in the US military also, and not just when deployed where it is warranted, at home when there is no reason for it.

"One team one fight"

comment 8y ago · link · parent

I agree, does anyone know of any efforts to make something like this that is not evil?

comment 8y ago · link · parent

> I honestly feel that in the current day and age, if anyone tried the same stuff many of us got away with in the early 2000s (or 90s), then the punishment would be much much stricter. Not sure how that gets in the way of people learning by "banging things together till they work", which was a major source of learning for me.

There are still resources for this CTF365 comes to mind and the Offensive Security lab for their certs. There are also awesome people putting up networks you are invited to attack for free, there was one that was part of a workshop at HOPE XI but I can't recall the site. And running even multiple VMs to practice with is something a lot of people can do today.

258.

Using Rust to Control a Raspberry Pi Zero W Rover(disconnected.systems ↗)

2 points · by Datenstrom · 9y ago · discuss

comment 9y ago · link · parent

This is exactly what I do. The last few months learning rust I've created a lot of "disposable" things to play with[1]. I use GitLab groups and subgroups to sort my projects into essentially those categories.

[1]: https://gitlab.com/iron-oxide

comment 9y ago · link · parent

I only have a couple classes left. I had already studied it all before starting, materials up to graduate level are mostly available openly online now. I did expect more from the 300-400 level classes and lost a lot of motivation when I realized they were not as advanced as I expected.

I did take some 400 level electives completely outside what I am interested in and had not studied which were great though. One professor for those asked in the beginning what each person expected from and I mentioned what I am actually specializing in and he consistently gave examples of applying it to what I do which was excellent.

comment 9y ago · link · parent

Yes the US undergraduate degree. I have gotten into some research and got picked up for an exceptional internship which have been good. It doesn't change that I could have passed out of all the actual curriculum on day one though.

I guess "community taught" would be better than "self taught" since I learned from so many people online. But I had been programming for 10 years before school, and while I was in the military (over 6 years) I took advantage of many MOOCs from MIT, Stanford, UNSW, etc. and many books from Knuth to most of the No Starch Press library which I understand is not the case for traditional students. It is frustrating though, especially not being just out of high school.

comment 9y ago · link · parent

Yes the Navy "trained" me by saying "here are 20,000 pages of documentation on the E-2 Airborne Early Warning aircraft avionics, now go fix it".

That has nothing to do with my CS studies, of which I have learned nothing from college and could have CLEPed a BS degree on day one if it was possible and moved on to a masters where I should have been initially placed.

> I'm sure you don't know everything.

I never claimed I knew everything.

comment 9y ago · link · parent

Being self taught I haven't learned a single thing in college. Besides networking I do not see any advantage.

> If you're not willing to put in the work

Why should anyone who already knows everything for a degree have to waste 4-6 years of their life?

264.

Forensic-Tool Development with Rust(blog.getreu.net ↗)

3 points · by Datenstrom · 9y ago · discuss

comment 9y ago · link · parent

This is exactly what I was going to say, and that one big issue I had when experimenting with ligatures for Hylang (a dialect of LISP) was that it did not keep the spacing of the original character combinations. While I thought the ligatures were much more concise, when they were disabled it shifted things around which ruined the indentation. It made the code ugly and hard to read for anyone not using them, so I had to give them up.

Hopefully one day we can all have language specific characters that make our code more concise. Until then I'll stick to fonts that keep the spacing of the original intact.

comment 9y ago · link · parent

Yes, SeaGlass seems much more advanced of a technique than the commercial solution I discovered which also just consisted of a single board computer and an SDR. Certainly standalone IMSI Catcher detectors with hardcoded metrics would have a hard time keeping up with the rapidly evolving networks and new attacks without more data about what is going on to update them. I was considering the use of ML for more general detection beyond the hardcoded metrics.

I think I read that SnoopSnitch was gathering data but only for detection of known attacks not anomalies.

comment 9y ago · link · parent

True, I just found the argument for IMSI Catcher Detectors to be more effective once I changed from presenting it as "fighting state surveillance" to "protecting corporate IP" most people stopped even suggesting that it will be made illegal (usually citing radar detectors).

comment 9y ago · link · parent

I spent the last year researching, designing, then implementing an IMSI Catcher detector at first as a hobby then as my capstone project. There already exists working fairly mature solutions for this and they are very open about their detection metrics, specifically SnoopSnitch [1].

The major drawback of the SnoopSnitch solution is that they are phone apps and are tightly coupled with the hardware and drivers. We were attempting to demonstrate that it could be done in a way portable across desktop operating systems and phones and we succeeded in creating a proof of concept at a cost of $200 [2].

This solution is also better suited to use as a centralized device for organizations to use that can be audited by security personnel to protect against corporate espionage. This is a real threat demonstrated by the fact that by simply changing a few lines of code in the IMSI Catcher detector a few undergrads built we could have an IMSI Catcher. This need is often left out of the arguments for IMSI Catcher detectors and I think that is very harmful because the first thing said about the project has always been "They will just make it illegal." This is much more unlikely when you consider that anyone can build one.

I would like to continue development beyond the proof of concept but have lost most of my team now that school is out if anyone would be interested you can contact me. Some commercial IMSI Catcher detectors sell for as much as $40,000.

[1] https://opensource.srlabs.de/projects/snoopsnitch/wiki/IMSI_...

[2] https://gitlab.com/finding-ray/antikythera

comment 9y ago · link · parent

It isn't presentable yet but the project is open on GitLab if you want to watch it. No website yet but it is planned once the prototype is completely functional. We plan on having having it functional within two months then to clean it up before deciding if we are going to move forward with it.

* Project GitLab: https://gitlab.com/finding-ray

* Documentation: http://finding-ray.gitlab.io/antikythera/index.html

It includes some support projects like dockerizing of GNU Radio for use with the application, which is a beast to install.

comment 9y ago · link · parent

Project: In early prototyping a IMSI-Catcher Detector.

Why another IMSI-Catcher Detector?

Mainly trying to address the problems with the current open source solutions which is that they are tied to phones, the phones must be rooted. Given that there is no such thing as a secure phone something that runs on other devices using software defined radio would be better, it is also unreasonable to expect everyone that would like the provided security to be comfortable rooting their phone. It would also be of use to organizations to prevent corporate espionage too as it could operate as a centralized security device.

Technologies have been carefully chosen so that it is as portable as possible. Currently it runs across Linux, Mac, and Windows and everything should be portable to Android also in the future.

Also it is completely absurd companies charge $40,000+ for a small embedded computer with a SDR, I built a touchscreen ARM tablet for the prototype for about $200, even with a amazing SDR it would have only been about $700.

1
678910