Better HN
topnewbestaskshowjobs
Log inSign up

mercuryrising

550 karma · joined Mar 14, 2012 (14y ago) · 177 submissions

mercury.sinking@gmail.com
Submissions

comment 12y ago · link · parent

Check out IHaskell - https://github.com/gibiansky/IHaskell

It lets you do multiline stuff, and you get to see the output right away. You don't need let, or to repeat the "main = do ..." every time you want to run a block of code.

I think it's really helpful when you're starting out.

comment 12y ago · link · parent

Actually it could be. Let's say there's this beacon software that lets you look a bit into how someone interacts. Say you get to know what 'spending tier' they're in - high, medium, or low. You also get to see how much 'social influence' they have - again, high, medium, low. Why would you give a free hot dog to someone in the low-low tier? You probably wouldn't, but right now you have to carpet bomb free stuff. Select who gets your free stuff so you can maximize your influence. Have it pop up when someone is walking down your street, at a particular time of day.

When the big spender with a lot of friends walks by, drunk, at 2:30 in the morning home from the bar, send him a free sandwich coupon when he hits your street. Throw in a bag of chips and a pop, make it 'special'. Perfect advertisement to target the perfect people.

Your software lets companies deliver freebies to 'important' people when they're nearby. Have some automated identity finders - find them on fb, g+, twitter, see how much reach they have. Give them some free stuff, see if they tweet about it, put them a bit higher in the ranks because they gave a good word (or any word at all).

comment 12y ago · link · parent

That's an awesome chord keyboard - http://www.youtube.com/watch?v=yJDv-zdhzMY#t=2039 I've always wondered why more people don't use them. It seems significantly less prone to errors - instead of fat fingers or incorrect placement, you have to coordinate the timing between the fingers.

It's pretty amazing how much that video demonstrates. I wonder what the next version of that video will be. Hopefully it's not computer related.

comment 13y ago · link · parent

Good catch - that should have been Myro. https://www.myropcb.com/

comment 13y ago · link · parent

I wish there was more of this type of information about injection molding, that seems like more of a dark art than electronic assembly.

What do you guys think of having the component manufacturer source the parts? I've seen some that purchase parts directly from Digikey, but I'm not sure if they pool together orders for discounts, or if they just handle the purchasing so you don't have to. It seems like they could get a better deal than I could (I always assumed that a manufacturer would try to source locally in China and get stuff for dirt cheap, but they buy from Digikey too - seems kind of strange).

Does anyone know any good US based contract manufacturers? All the ones I've seen are ridiculously expensive ($17 for a 4" x 1" board with ~60 components, as opposed to ~$6 at Myro (thanks theunixbeard for catching that error)). I'd love to get something made here in the US, but I can't eat another $10 for my lights - especially for a service like assembly (where the quality seems like it won't matter that much - the light will work or it won't work). I've been toying with the idea of a stretch goal on Kickstarter to assemble some delta bots to do the electronic assembly (it'd be about $1200 for a single bot, whereas contract manufacturing is about $2000, but I'd have something to show for that money with a pick and place machine). Having a machine where you could throw a stenciled PCB on in any orientation, then pick and place the parts onto, and cook it on the spot (moving the camera up and watching for reflow) would be pretty awesome.

It's sticky being in the 'middle' - big enough where you need to use services rather than hand assembly, but small enough where you don't really have any purchasing power. The road to production has a big no man's land in the middle.

Ch00f has a great write up on the process of going through with contract manufacturing, and some of the hurdles he saw with the process - http://ch00ftech.com/2013/04/16/making-55-of-something-witho...

comment 13y ago · link · parent

Can anyone explain to me how they're worth $3 billion dollars? They haven't produced anything, they haven't advanced humanity, they have the eyeballs of teens - for the moment, until something cooler comes along. Are they really that valuable? It doesn't seem like there's any show stoppers for creating a snapchat clone (rather than having X users at the moment), and if snapchat were to start making money - say by sending ads to endorse a product rather than a user generated picture, people would probably start leaving the platform towards the newest green pasture.

I recently got a new phone, and I got hooked in to all the services my friends were talking about in recent memory - instagram's dead, twitter's dead, snap chat is in flux. Not for all users, but in my group of friends these services aren't used as much. There isn't really anything keeping you from moving onto something new - your digital life isn't really that valuable. It's probably better to not read the conversations you had a year ago. The pictures are always nice, that's probably the only thing that people would care about, but with Snapchat they're gone (unless you hit save). I'm not sure what I'm getting at, but this company isn't worth $3 billion dollars.

comment 13y ago · link · parent

A small, but vocal minority.

comment 13y ago · link · parent

That's kind of interesting. They seem to be tracking the expected delivery date really well. At first, it says 1-2 business days. Then it went to November 5th, then it moved to November 8th. The black 16gb is moving the quickest at the moment.

comment 13y ago · link · parent

https://play.google.com/store/devices/details?id=nexus_5_bla...

What's the point of having google.com/nexus/5, when people are going to be purchasing it from the play store (splitting traffic, rather than sending it all to the store)?

Edit: www.google.com/nexus/5 is live now.

comment 13y ago · link · parent

"Lower-income and less educated whites also have shifted substantially toward the Republican Party since 2008. The GOP has largely erased the wide lead Democrats had among white voters with family incomes less than $30,000." [0]

Although the graphs on [1] tell a slightly different story.

[0] - http://www.people-press.org/2012/08/23/a-closer-look-at-the-... [1] - http://www.npr.org/blogs/money/2012/09/26/161841771/how-inco...

comment 13y ago · link · parent

That sounds nice actually. It might not be for a little bit yet (got some more design to do first), but send me an email (in my profile) to touch base.

comment 13y ago · link · parent

That wasn't intended to be the final one, but I made it and it worked. It was printed with support material that peeled off a little too strongly, exfoliating the back surface. The orientation is kind of tricky as there's a lip/groove interface between the front and back of the case which needs to be cosmetically clean to ensure a snug fit, so the only way to get that to work well is to print it with the back down, but there's a 'hood' over the ethernet connector that disallows printing directly onto the back. Slicing with slic3r.

comment 13y ago · link · parent

That's something I only put a little bit of thought into, as I'm not very worried about my bike getting stolen.

It would be non-functional if someone stole it without stealing the magnet and reed switch as well, but they wouldn't know that.

There's a bit of a trade off, as you're going to want to remove the light to charge it up, in that if you want it to remove easy, it will be easy to steal, and if you want it to be hard to steal, it will be a pain to charge. I don't have any solutions for that yet.

comment 13y ago · link · parent

Minnesota, USA.

comment 13y ago · link · parent

I actually went to the local university - they said that you can't use university resources for personal gain (I was trying to print a case on their 3D printer). I'm sure there would be some people in the engineering department willing to give me some pointers, there's also a local prototyping company (I've emailed them a few times). Nothing too serious though - I guess I don't really have much of a plan yet, and didn't want to rush into getting roped into sticky situations.

Thanks for asking the questions - I just reached out to a friend who said he'd help me before, maybe this thing will start rolling :).

comment 13y ago · link · parent

Definitely possible, thanks for the suggestion. I'll consider it and do a visibility test.

There's 5 LEDs on the back - three reds and two amber turn signals. When blinking, the center red LED stays solid to provide a reference for the turn signal.

comment 13y ago · link · parent

So auto on / off is engaged with a reed switch and spoke mounted magnet. Auto on is more of a user convenience than a battery saver - you never need to think about turning your back lights on again. You will be seen when you ride. The reed switch doubles as a way of determining velocity. When the wheel velocity changes by a certain set amount, the brake lights will engage (three red backlights flash solid, then stay solid). It waits for either an increase in velocity or a time duration to turn the running lights back on. Turning is signaled with front mounted switches (teal switches in the pictures). One on either side of the front light. Currently, they turn on for about 5 seconds then shut off. There's a couple improvements that could be done with it (if stopped, keep blinking until a speed increase), but I haven't done that yet. When blinking is engaged the back lights stop running, the center light stays solid, and the amber LEDs blink at a frequency similar to that of cars. The front light has three modes - on, solid, flashing. Holding down one turn switch will engage the front light, holding down the other turn switch will cycle modes (flashing, solid).

Originally - I wanted it to be accelerometer based, but as you may know, the roads are not very smooth, so any bumps will affect the measurements significantly. The reed switch offers silky smooth data - as the data gets integrated over one wheel rotation, it's extremely noise resistant.

Ah and your main point - communication between cars and cyclists - turn signals allow cars to know where I'm going, the brakes will let them know when I'm slowing, and the automatic lights will make sure they can see me. Be seen, be safe, be smart. It's not a perfect solution, but I think it's a step in the right direction. There's a lot of aggression between cyclists and drivers, this might be something that can allow the driver to anticipate the actions of the cyclist.

comment 13y ago · link · parent

Not at the moment. I'll shoot you a PM or something if I get something together.

Or maybe you'll see it on kickstarter one day :)

comment 13y ago · link · parent

I've thought about Kickstarting a bit. I guess my hesitation is that I'm terrified of pulling the trigger to get something injection molded. I don't trust my 3D modeling abilities enough to know that when I get something injection molded it will work. And injection molding is a lot money, so if I mess it up, I might not have enough money for a redo. That scares me, a lot. I'm not sure, I guess I'm scared of actually making something people would use - I want it to be perfect, and I know it isn't yet.

comment 13y ago · link · parent

This thread needs more hardware.

I'm making bike lights. First a little story. I was late to class one day in March, pothole season. I was cruising in the drops, when I came up to a T intersection. A van pulls up, and stops at the stop sign. As I approach the intersection, I see a pothole, swerve to avoid the hole, and the van pulls forward. I have about 1 second before I hit the van, land with my back on the hood, slide onto the ground. I'm lying there for a moment, trying to figure out what just happened, wondering whether or not anything is broken. I wiggle my fingers, wiggle my toes, don't feel any pain. I stand up, the guy gets out of his car "Sorry man! I thought you were turning!" I say I think I'm fine... I go look at my bike - it's still upright, the front tire got wedged in a rust spot. I grab it out, hop on, and ride. I couldn't help but laugh the rest of the way to class.

That's the day I decided that bikers and automobiles need better communication. So I made a bike light that's easy to use, has front & back blinkers, brake lights, turns on when you ride (so you can't forget), a bright front light, USB rechargeable, 3400 mAh LiIon battery. I made a 3D printer to print the parts, I did the PCB design, physical design, and software. It's pretty damn cool. I ride pretty regularly and recharge it about once every three weeks. It's surprisingly water resistance - I am a little scared of selling this to people as I didn't know how it would handle water, but I've taken it through two large storms, one with huge puddles splashing all over the cases, and the light handled it all in stride.

Here's the images - http://imgur.com/a/EUzXm

I'm stalling on it a little bit right now - there's not a very good way of bootstrapping into manufacturing. I could 3D print the cases and assemble the boards, but each case takes about 20 hours to print (on my fiddly printer). There's ~100 components too, which is a pain for manual placing and reflowing. I have a couple other designs brewing that are simpler and lower cost, but without all the fancy features. Speaking of which... I have to go get some interrupts working.

comment 13y ago · link · parent

I have not used Octoprint. I actually use a homemade printer with LinuxCNC and a HobbyCNC driver. It's a bit more fiddly than an off the shelf printer that's fully scriptable, but I really like looking at something I made drive around and make more things [0].

The way it sounds, at least from glancing at your website, is that the printer becomes web connected (your printtopeer.com link on the tablet and printer interface). I would never, ever pass control through a third party for something as expensive and dangerous as a printer. Can you manually override the endstops? Can you manually override the temperature controls? How about a hacker?

Just my thoughts. Your interface looks very nice, good luck with the project.

[0] - http://imgur.com/a/FZfp9

comment 13y ago · link · parent

Awesome, didn't see that before. Maybe turn it on by default, then have the option to back it off? Why is the quantity bump represented as an error with big warning signs? Shouldn't it be a good thing?

Is there any way to represent shipping as well? That seems like the killer - sure something is $2 cheaper on Mouser than Digikey, but if I have to pay $5 for shipping, that breaks the deal.

Something else that would be cool - and this is a huge pain point for me when developing PCBs, is let me tell you rough characteristics I want, you find me the part. I want a 0805 10K resistor +- 10% @ quantity 100. Find me the cheapest one! As long as I can use it as a pull up resistor, I don't really care what it is. It's a huge pain in the ass to go through when I want to make my BOM and have 10 different tabs open looking for a 1K, 5K, 10K, 22uF, 10uF resistor and caps. Make that part easy.

You should increase the part lookup speed as well - it spins for quite a while. Autocomplete after a few characters would be good too (I wouldn't remember PU-ND, had to look it up, but I can get the first part).

Good stuff - do you have a mailing list or anything to get updates?

comment 13y ago · link · parent

If you learn well with books, check out "Javascript: The Good Part" by Douglas Crockford. I don't usually learn well with books, but that one really clicked with me.

comment 13y ago · link · parent

If you haven't seen NPR's visualizing the grid, check it out - http://www.npr.org/templates/story/story.php?storyId=1109973...

comment 13y ago · link · parent

Make a demo and put it on online!

comment 13y ago · link · parent

Awesome, good luck! Are you doing it with a program or going solo? Do they have access to computers, or are you bringing some in?

comment 13y ago · link · parent

You should add a demo or something - that landing page is a bit ominous, and I don't really want to sign up for something that I haven't seen yet.

comment 13y ago · link · parent

If you aren't liking what you're doing, pick something else up. Go try out a different hobby, get into painting, cooking, meditating, whatever. Don't burn yourself out grinding teeth on something you don't enjoy doing. Make sure you enjoy what you're doing. Go on a vacation to a state park, take a break for a while.

comment 13y ago · link · parent

For JScomplexity, you should round your complexity values :).

Halstead difficulty: 4.666666666666666 Halstead volume: 55.506595772116384 Halstead effort: 259.0307802698764

Do you do storage on the back end? Can you target a particular open source project to analyze it? Can you target languages other than JS?

Make a Github bot that makes pull requests that analyze a project's complexity, areas where it's more complex (refactor), areas where there's fluff, projects that don't follow 'standards'. That'd be cool if it was an opt-in thing, like I add a "ComplexityBot.MD" blank text file, complexity bot comes by, analyzes my project, pull requests the complexitybot.MD file, gives me some nice data, comes by again whenever it gets some down time and updates the analysis.

comment 13y ago · link · parent

That's pretty cool. When you're reading, at any point did you feel 'choppiness' of what you were reading, or do you get used to it? When looking at the trailer, I was finding my inner voice was more robotic than reading normally.
123456