r4pha
r4pha on Hacker News
Thank you. Getting the display to work was very motivating for next steps :)
First time hearing about this. Looks awesome. Thanks for the tip!
Hi. I use Jekyll and a Makefile that pushes the generated html to S3. I also needed to set up a cloudfront distribution instead of using a bare web-enable S3 bucket so I could use aws’s https certificate automation. Let me know if you need more details.
Hi, author here. I can honestly say that I’m definitely not an expert. I tried to systematically write down questions on a text file and solve them one after the other. Solving one usually added a few other ones. “What chip is this?”, “how to program this chip?”, “do I need a development board?”, “what’s SWD?”, “how to pull an output high?” Etc. Lots of these are specific to this chip, too, so a lot of it is just reading the documentations and drilling down on libraries.
It’s something I find refreshing to read and like to state when I can: none of this was easy for me. But it was definitely fun. Having no deadlines helps. Having no practical goal and just enjoying the process was also refreshingly nice.
Posted by
r4pha on Thursday August 10, 2017 @09:38AM
from the rbaron.net dept.
I think it is page 314 of _a_ book.
I had a similar experience with python 3's asyncio. I have worked with gevent, which has an arguably less "elegant" interface (with monkey patching, for instance), but with which it is so much easier to be productive. I was frustated for having dificulties understanding and using asyncio. The author is a better python programmer than I am, so I supposed there is really a problem there.
Thanks for the insight. It's a relatively fragile negotiation, since we're just little guys who received an opportunity to do business with a big corp.
As with the API, we implemented some integration with Salesforce and it was relatively easy. SAP, on the other hand, seems to be a different kind of beast. There's a huge amount of moving parts, which seems a little enterprise-y and complex for a tiny startup to work with.
It seems like Zapier is some sort of task automation service, which works with SAP Anywhere™ (which _seems_ to be yet another product from SAP). I'll look further into it. Thanks!
Posted by
r4pha on Monday October 17, 2016 @10:34AM
from the ask-hn dept.
Hello everyone,I'm a technical cofounder at a 6-ish months old startup. We do route planning and data collection for direct sales -- currently on a niche market.We've been recently presented what seems like a potentially great opportunity from a big client. After some negotiation, we settled on an initial step that would be integrating our end-user app (for collecting data from the salesmen) to...
Two years ago I took a trip to the Atacama desert. My luggage was lost in the flight and the hotel manager was nice enough to let me use their washing machine.
I saw a few of the most beatiful natural landscapes I've ever seen down there, but nothing so far has compared to the feeling I had looking up to the sky while picking up my clothes from drying at night. I don't get emotional very easily, but my eyes filled up with water and I had multiple shivers at that moment. I woke up my girlfriend and we stood there like two kids for a long time looking at our galaxy.
I'm so glad the company lost my luggage.
It's always great to see these notebooks from Peter Norvig. There's also some really interesting implementations (in several languages) of probabilistic algorithms on the website [0] of the book he co-wrote on artificial intelligence. Great book and great material.
[0] http://aima.cs.berkeley.edu/code.html
Nicely done! I wrote a small app to connect phone <-> computer and use it to control your mouse and keyboard. I've been having an extremely hard time getting users. It might be asking too much, but I would really love if you guys could share some numbers :)
Great work!
There's something really nice about these minimalistic C projects. You can quickly take a look at the source and immediatelly grasp what's happening. A simple and didactic introduction. Super cool.
Cool! These are the same guys behind CreateJS. Amazing work as well.
I suppose Bayes' theorem can help us estimate it:
P(filesize is multiple of 8192 | crashed) = P(crashed | filesize is multiple of 8192) * P(filesize is multiple of 8192)/P(crashed)
Where:
- The likelihood of crashing given the filesize is a multiple of 8192 is 1;
- The naïve prior of the filesize being a multiple of 8192 is 1/8192;
The task is now to estimate the probability P(crashed), which is the probability the program will crash for whatever reason.
Huge egos and insults are things that have always bothered me in the OSS community. Just some days ago the Crockford vs. fat thread on github resurfaced and shocked a lot of people on HN [0]. It certainly has stopped from releasing stuff in the past. Lately, though, I've been having an awesome experience with a few of my really simple open source projects. I've been receiving a few emails with requests in the most polite way possible, some of them even thanking me for my small contribution. Recently I've even got a pull request from a guy who out of the blue designed an icon for my android app. These things are priceless to me, and certainly motivate me much more than the bad parts demotivate me.
[0] https://github.com/twbs/bootstrap/issues/3057#issuecomment-5...
I might be wrong, but I think adding color information would not be _that_ hard. Basically you could filter each sensor cell for one of the RGB colors and just interpolate the results for each color channel. See
https://en.wikipedia.org/wiki/Demosaicing
I suppose there is an optimal ratio. While I agree some people overuse it, I still find it unbelievably awesome the fact that we carry a device in our pocket capable of registering a moment so that we can remember it later or share with others.
I agree, but I think the value of such initiatives is the awereness it brings to the table _and_ the implications of that to manufacturers, that is, the fact that an increasing number of people may care for privacy. Your point certainly adds to the discussion, but we have to start somewhere.
Absolutely. Being good takes a lot of time and dedication. Had my main goal been making money, I'd surely have hired an artist. Good thing is for us, programmers, games can be relatively easily reused with new art on top of it.
Thanks! Note taken. I'll try to add a few more colors to it as soon as I have some free time.
I tried the "learn by doing" approach to pixel art with my only android game so far. I honestly thought it would turn our worse than it actually did, but it's still _far_ from what an artist would give me.
For reference, here is the pirate ship sprite I made: http://i.imgur.com/nsZpCVf.png
He says writing the first paragraph is the most difficult part of writing a novel, and that he would take as much as several hours to write a single paragraph back then. Yet, he effortlessly comes up with sentences that could very well be the beginning of ridiculously beaultiful stories, such as:
"It always amuses me that the biggest praise for my work comes for the imagination, while the truth is that there’s not a single line in all my work that does not have a basis in reality. The problem is that Caribbean reality resembles the wildest imagination."
I absolutely adore this man. I was lucky to be given a portuguese-translated copy of "one hundred years of solitude" at the age of 16. I read it back then and loved the story itself and specially the beautiful writing style. About four or five years later I read it again in the original (even though I don't speak spanish very well) and was even more amazed about the beauty of it and about how _my_ interpretation of it changed. I loved everything I have ever read from him, but I loved "one hundred years" so much I even feel ashamed of trying to use my own words to describe it.
It never fails to amaze me how powerful raytracing is. Last year I took an "Image Synthesis" class and did a quick presentation about a post I've seen here on HN about a raytracker in 1337 bytes [0]. It is amazing how such a small program can generate an image with depth of view, shadows and texture.
0: http://fabiensanglard.net/rayTracing_back_of_business_card/i...