News for hackers. Stuff that matters.
Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Sunday December 23, 2018 @09:01AM (#18746101)
Real World Embedded Systems. Built a dishwasher that cleans and sets your dinner table.

C++, Arduino, Electrical Engineering, and worked with a mechanical engineer on the design execution.

Here is the story, skip to the bottom if you want to see the youtube video-

Started this year working on a finance App, this one needed to be perfect. React Native, Laravel PHP mysql. The app is almost finished, and is worthy of a note in its own right. This 6 month project taught me more about programming than the last 9 years. In the process I started automating my Electrical Engineering job in python. Word got out, and I got head hunted by a stranger at work. They were looking for Embedded Systems, I applied, and was denied the position because I didn't have experience.

So I needed experience in Embedded Systems, and I've hated doing dishes. This was a problem that could teach me Embedded Systems and grow my Electrical Engineering skills(B.S. was in Chem engineering, M.S. Industrial Engineering). And it did.

Since there was nothing to copy from, I would spend 2-3 days researching EVERYTHING there was to know about resistors. Then when I knew which resistor I would need, I'd have to spend 2-3 days on capacitors. Since the HN thread might care about relevant details- Learned everything about stepper motors, ICs, I2Cs, controlling electricity, and voltage. Since I wanted to learn embedded systems, I didn't use delays, instead I used a state system with interrupts.

It took ~2 months start to finish.

Here is the video of the working prototype-

https://youtu.be/Ru_3sNCS-4c?t=457

Re:Ask HN: What technologies did you learn in 2018? by throwawaymath on Sunday December 23, 2018 @12:26PM (#18747185)
I implore you to start a company if you're at all interested in working on this further. Seriously, please consider productizing it.

I would pay thousands of dollars for a polished version of this in my home, especially if it matched the style and decor of my dining room furniture.

Re:Ask HN: What technologies did you learn in 2018? by omarforgotpwd on Monday December 24, 2018 @04:45AM (#18751316)
People will make fun of us for this

No offense intended for this project personally, this is really cool. But what was that joke about how since most founders are young single males, most tech companies make products nobody really needs that are just designed to replace your Mom?

Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Monday December 24, 2018 @06:04AM (#18751587)
Thanks for the encouragement!

Making big decisions over the next 1 month as I have 3 major projects. My (already popular) website, this dishwasher, and my finance app.

Did mention this thread to my co-engineer, I'm pretty sure he is going to make this a reality.

The biggest question regarding the dishwasher is-

Do we go luxury and expensive since plumbing is already a multi thousand dollar requirement? Or, should we go commodity, and have users attach to their kitchen sink(portable dishwasher style)?

How much would you pay for the dishwasher, table, chairs, electrical and plumbing? (full service)

I'll have follow up details in ~1 month if you want to follow on Efficiency Is Everything.

Re:Ask HN: What technologies did you learn in 2018? by bsenftner on Monday December 24, 2018 @10:26AM (#18752528)
Go luxury, your clients will want high quality and integration with other IoT systems, leaning to your company growing as a luxury brand. Go do-it-yourself and you'll be piddling with too many small dollar problems to get ahead.
Re:Ask HN: What technologies did you learn in 2018? by godelski on Monday December 24, 2018 @11:47PM (#18755963)
And you can always go for the common man later. The same strategy Tesla is doing. It isn't too uncommon.
Re:Ask HN: What technologies did you learn in 2018? by unimpressive on Monday December 24, 2018 @05:12PM (#18754563)
Going to second 'go luxury'. This is an expensive thing, and there's a weird effect where the bigger the dollar value your transaction the better you get treated. Moreover if it's complex it basically needs expert install if you don't want to be flooded with annoying people who simply aren't qualified to install your stuff.
Re:Ask HN: What technologies did you learn in 2018? by aerovistae on Sunday December 23, 2018 @04:47PM (#18748549)
Same.
Re:Ask HN: What technologies did you learn in 2018? by thisisananth on Sunday December 23, 2018 @12:38PM (#18747269)
This is so inspiring. It is also really amazing that you were able to do it in 2 months. How much time did you spend working on this? All the best!
Re:Ask HN: What technologies did you learn in 2018? by johndubchak on Monday December 24, 2018 @02:56PM (#18753939)
Completely agree about the inspiration part. I can imagine the laughter between the two brothers as they watched early staged prototypes fail and water spewed out...very cool.
Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Monday December 24, 2018 @05:58AM (#18751568)
At most I'd spend ~2-3 hours a night, and we had build days on weekends.

The nice part was that it was nearly entirely on me. Didn't have to wait for other people, aside from some shipping.

Prototyping is definitely possible! Wish you the best as well!

Re:Ask HN: What technologies did you learn in 2018? by aswanson on Sunday December 23, 2018 @09:50AM (#18746333)
Impressive. And I say that as an experienced embedded guy.
Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Monday December 24, 2018 @05:52AM (#18751544)
Thank you! Means a ton to me as I occasionally feel like a pretender(with my chem engineering degree).

I have tried applying to Embedded jobs but I cannot get past HR.

Guess I'm sticking with Electrical Engineering for a little longer.

Re:Ask HN: What technologies did you learn in 2018? by giancarlostoro on Monday December 24, 2018 @10:00AM (#18752394)
I would send this video to people who work at Embedded focused companies you're interested in working at, especially team leads, find them on LinkedIn and message them, worse that happens is they ignore you, you lose absolutely nothing as a result though!

The best way to get past HR is to go around them and straight to the team lead if and when possible. I wouldn't have my current job as a Software Engineer if I had to go through HR first.

I would also definitely put this in your resume.

Re:Ask HN: What technologies did you learn in 2018? by aswanson on Monday December 24, 2018 @05:41PM (#18754679)
Funny, I was an ee major who wants to study more chemistry. At any rate, you obviously have the talent to do embedded software. Id advise bypassing HR whenever possible, as the other poster noted, as well as doing more deep dive self study projects. You'll get there in no time.
Re:Ask HN: What technologies did you learn in 2018? by ultrasounder on Sunday December 23, 2018 @10:02AM (#18746410)
THaNks for the nice write-up."In the process I started automating my Electrical Engineering job in python" Care to explain more. I am an EE aswell and could some inspirations and ideas to Automate the boring stuff.
Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Sunday December 23, 2018 @10:56AM (#18746725)
Thanks for the kind words, and I got a bunch of inspiration from Automate The Boring Stuff as well.

I'll run down the list of automation I did, hopefully to give you some ideas. Least complex, to complex.

>Kill program, launch program, and press OK. We have a program that crashes often. This quickly kills it(which otherwise requires clicking out of error messages). Then reopens and clicks OK which starts a long boot process.

>Copy, paste, delay, down. Repeat. A slow system could not handle mass copy paste. This was a solution.

>Open PDF file, sign document. Repeat for all docs in a folder. This was nice because after I checked the document in English, I could sign off in all the languages without having to resign manually.

>Showing every permutation of a part based on rules. And presenting it in common english rather than &A78&F48

>Screenshot approver page- This got a bit harder. Using keyboard shortcuts + looking for images to jump through an Application to a final screen. Then Screenshot each approver page. The next bullet is a much better solution

>Send email/open IM/or open Work Order. We have an excel file that has 1 approver, and I scrapped that into a sqlite database. With that I could create a sample email with tons of relevant information. Outlook had the email, subject, and body filled in. I would edit before sending. This is otherwise a 5-10 minute process. Doing this on 10 Work Orders per day was extremely time consuming. I made a production version that could select Email, Instant Message, or open Work Order.

>Everything about a part- Similar scraping, but using an online table instead of Excel. Put it in sqlite, I automated opening up drawings, automated finding different colors and their part numbers, opening up relevant work orders, etc...

Some notes on all of this- Sqlite might have been overkill, but these were 100 column and 5000+ row queries. I knew sql, so I used it.

Upgrading to Windows 10 killed my production app. I never got it fixed(I was a General Motors sacrifice + I was busy after the upgrade with my job)

These were the ones I'd use daily.

I would also write scripts for one-off tasks.

Hope that gives you some ideas!

Re:Ask HN: What technologies did you learn in 2018? by ultrasounder on Sunday December 23, 2018 @11:07AM (#18746804)
This is a very nice niche use of the various ideas discussed in that book. Perhaps you could write your own book that could outline some of these techniques and sell it into a niche. Know a few Mechanical engineers who have a general aversion to anything programming and they would lap itup. Just a thought.
Re:Ask HN: What technologies did you learn in 2018? by jaggederest on Sunday December 23, 2018 @01:03PM (#18747383)
> Open PDF file, sign document. Repeat for all docs in a folder. This was nice because after I checked the document in English, I could sign off in all the languages without having to resign manually.

As a software engineer, I would want a check that the other documents are similar enough not to raise any red flags.

On the other hand, I also have no idea how you'd actually compare docs like that. Image diff algorithms are notoriously iffy.

Re:Ask HN: What technologies did you learn in 2018? by ethn on Sunday December 23, 2018 @01:57PM (#18747678)
Look into MinHash.
Re:Ask HN: What technologies did you learn in 2018? by jacquesm on Sunday December 23, 2018 @07:44PM (#18749461)
Props to you. And it works! Reminds me of some of Simone Giertz' work. It's an amazing feeling when your software has a real world effect.
Re:Ask HN: What technologies did you learn in 2018? by mandeepj on Sunday December 23, 2018 @05:07PM (#18748658)
kinda similar to a touchless car wash system. if you are looking for an analogy
Re:Ask HN: What technologies did you learn in 2018? by wj on Sunday December 23, 2018 @01:57PM (#18747675)
I'd love to hear about the finance app!
Re:Ask HN: What technologies did you learn in 2018? by robertAngst on Monday December 24, 2018 @05:50AM (#18751540)
Thank you for the interest, would love to share the idea. I am considering its about 6 months from launching.

I'll start with the story-

Back when I was 18 and working at a clothing store, I asked my boss if I could be paid in NASDAQs instead of USD. The answer- No. I don't particularly like government currency, because the government prints more every year. However, the market grows at ~7%/yr. I still dreamed of getting paid in Investment.

The App-

This app tokenizes an S&P500 index fund. This way you can trade something 'better' than USD with friends. I also have an end goal of being able to spend it on a debit card, similar to my Bitcoin debit card Shift.

The programming was intense as it was my first time writing a database that did anything interesting. Wrote in double entry book keeping, friends, users etc..

Previous experience in database was merely submitting insert queries.

I have a few serious business considerations before I show it to my audience on my website(Efficiency Is Everything). But either way, I have a fully functional database with a front end for Web, Android, and iOS. Worst case, I can use this app for my next project.

If you have any thoughts about this idea, I'd love to hear from you.

Re:Ask HN: What technologies did you learn in 2018? by dominotw on Tuesday January 01, 2019 @10:37AM (#18800535)
I have certain % of my USD salary get automatically invested in s&p index. Would getting paid in NSDQ be setting it to 100% ? also, Wouldn't the exchange rate of NSDQ constantly be fluctuating.
[dead]
Re:Ask HN: What technologies did you learn in 2018? by DanBC on Sunday December 23, 2018 @12:05PM (#18747100)
You strongly misunderstand the purpose of HN and the purpose of parent post.

This is not a product being sold. It's a neat fun gadget that was designed purely so parent robertAngst could learn stuff. The gadget is obviously a nonsense device, a Heath Robinson contraption, with no other purpose than to learn stuff while it's being built.

You may want to read these comments:

https://news.ycombinator.com/item?id=18736880#18738076

Re:Ask HN: What technologies did you learn in 2018? by eezurr on Sunday December 23, 2018 @12:26PM (#18747191)
If you watch the video he posted, it sounds a lot like a product unveilment, hence my question, followed by my thoughts so my post did not seem like empty criticism.

There is no singular purpose of HN. People post their businesses and their hobbies here.

Re:Ask HN: What technologies did you learn in 2018? by dang on Sunday December 23, 2018 @01:13PM (#18747440)
Sure, but the thread was about learning and the GP referenced learning several times. So in this context, it was a learning project, and it sounds like a great one.

It's good that you added those details. Your original comment was a shallow dismissal, which breaks the site guidelines (not good) but the details are substantive and interesting (much better). Still, even the edited comment comes across as a cross-examination, as if you're dressing someone down for putting a lot of time and work into something creative. That's a buzzkill for everyone here. I'm sure you didn't intend it that way, but intentions get lost. We have to be careful not to let HN turn into a place where people won't share what they're doing because they get such a hostile reception (see https://news.ycombinator.com/item?id=18705345).

Your comment would be better if instead of leading with a mean insult, you made clear that you were thinking about whether it would work as a product and realized some issues with that. Also, if you think about it, asking whether someone's hobby project is intended as a product prototype is actually a high compliment to the hobby project. There should be no problem framing that positively. Had you done so, you'd probably have gotten a bunch of replies exploring the issues you raised, and maybe even the creator would have found something to respond to. The goal of HN threads is interesting conversation, and that would have been a much better vector to get there.

Re:Ask HN: What technologies did you learn in 2018? by eezurr on Sunday December 23, 2018 @02:20PM (#18747796)
I think what you're saying boils down to is: speak the language (or dialect) of the culture. You brought up a lot of valid points which reflect my lack of empathetic effort in reply to his post, as well as displayed great dexterity in using those skills in your response. I'll pull them out of my toolbox in the future.

In regards to asking whether someone's hobby project is intended as a prototype, a clarification: This was not based on his (what I still question is a hobby) product, but on his presentation.

Re:Ask HN: What technologies did you learn in 2018? by aerovistae on Sunday December 23, 2018 @04:52PM (#18748567)
God you are outrageously good at your job.
Re:Ask HN: What technologies did you learn in 2018? by vexangel on Sunday December 23, 2018 @10:49AM (#18746688)
Jesus