HNHacker News
TopNewBestAskShowJobs

pietrofmaggi

4,895 karma · joined June 7, 2010

I like to write code and talk about it. I write Mobile applications since it was not trendy and like to fall into low level programming on embedded systems.

Nowadays I work at Google making Android the best OS for Enterprises.

* website: https://pietromaggi.com * mastodon: https://androiddev.social/@pfmaggi

HN: pietrofmaggi.at.hn

submissionscomments
pietrofmaggi··on Ask HN: Which books did you read at least twice?
Walter Tevis - Mockingbird (I’m not sure how many times)

Is from the 80s but re-reading lately with everything that is going on with AI it sounds more real than ever.

pietrofmaggi··on ESP32 Firmware Development with Docker Sandboxes
This seems the natural evolution of what used to be:

1. A laptop with the development environment (DOS or Windows) kept in a box to use for updates / fixes

2. A VM on a NAS to use when a firmware in maintenance needs a fix

With more embedded tooling available on Linux, a docker image becames a natural choice.

pietrofmaggi··on Ask HN: We're building a saving app for European savers and need GTM advice
I’m not sure that your customer exists.

If someone wanted to “invest in crypto”, they have already done it by now and probably thinking to get more than a single digit percentage return[0].

You are offering a 4%-7% return that is only slightly higher than the promotional interest by fintechs[1] (where the money, up to a value, is guaranteed by the government).

[0]: https://www.8lends.io

[1]: https://www.eupersonalfinance.eu/articles/best-savings-accou...

pietrofmaggi··on Tell HN: Confluent laying off 8% of staff
A meme sharing internal website.

At the moment it's also the most reliable source of information for what happens across Google's PAs (Product Areas).

pietrofmaggi··on Cakelisp: A Programming Language for Games
Thanks for maintaining this list, it looks super interesting and it was exactly what I was looking for!
pietrofmaggi··on Chip Hall of Fame: Atmel ATmega8
Wikipedia page for AVR[1] is much better!

And Atmel released in 2008 a video with the two co-creators of the chip describing its history[2].

[1] https://en.wikipedia.org/wiki/Atmel_AVR

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

pietrofmaggi··on 153k Ether Stolen in Parity Multi-Sig Attack
This is the most useful explanation I've found about the vulnerability so far: https://blog.zeppelin.solutions/on-the-parity-wallet-multisi...

The explanation is a bit scary about what actually ended up in parity code:

The wallet contract forwards all unmatched function calls to the library using delegate call... This causes all public functions from the library to be callable by anyone, including initWallet, which can change the contract’s owners.

Edit: formatting

pietrofmaggi··on Building a Production Server Swift App

  > "Python works okay, but I think Xcode is great because of autocomplete and syntax checks."
Well, just say that you wanted to try something new. That's a much better excuse to pick a technology.

I think that there are some great tools around for Python, and picking a language because of XCode... I think that one of the major selling point of Xamarin is that you can avoid it altogether :-)

pietrofmaggi··on Why Kakoune – The quest for a better code editor
From the github repository: https://github.com/mawww/kakoune reply

    Vim inspired — Faster as in less keystrokes — Multiple selections — Orthogonal design
pietrofmaggi··on Why Kakoune – The quest for a better code editor
You can find the editor source, and installation instructions on github: https://github.com/mawww/kakoune
pietrofmaggi··on Ask HN: Websites/Services like nugget.one
just some context. Nugged[0] is a service started by Justin Vincent and Ken Wallace to present SaaS ideas with a discussion forum.

Justin talked about the idea on the podcast he's hosting with Jason Roberts, Techzing live[1] and there's a discussion about Nugget on bootstrapped.fm[2]

[0] https://nugget.one

[1] 298: TZ Discussion – Enter the Nugget: http://techzinglive.com/page/1590/298-tz-discussion-enter-th...

[2] http://discuss.bootstrapped.fm/t/introducing-nugget-we-send-...

pietrofmaggi··on Scientists caught off-guard by record temperatures linked to climate change
Well, if everybody stops having kids (everybody), saving the planet will not be a problem for a long time, at least for human kind :-)
pietrofmaggi··on Scientists caught off-guard by record temperatures linked to climate change
"Cost in terms of lifestyle" compared to what? there're studies (e.g. this report from citybank[0]) that shows that inaction is actually more expensive, taking into account the cost of the climate change disasters...

Seems to me that people believe that doing nothing we will keep living in the same way. Sorry to have to wake you up. Doing nothing will screw up the planet and your (and mine) "lifestyle".

The article referenced in this discussion[1] have other nice data/information about this topic.

I have kids and this is not the future I want for them.

[0] https://ir.citi.com/hsq32Jl1m4aIzicMqH8sBkPnbsqfnwy4Jgb1J2kI...

[1] https://news.ycombinator.com/item?id=10622615

pietrofmaggi··on John McAfee offers to unlock killer's iPhone for FBI
Uninstalling McAfee Antivirus (video) https://www.youtube.com/watch?v=bKgf5PaBzyg
pietrofmaggi··on How putting $10M into UBeam illustrates what is wrong with tech investing (2014)
This was on HN 9 months ago. Here's the original discussion https://news.ycombinator.com/item?id=8542091
pietrofmaggi··on VerneMQ – An Erlang powered MQTT message broker for the IoT
Zebra Technologies' Zatar[1] platform use AMQP for the communication between the devices and the server.

I don't know if this is what you meant with "public API".

[1] http://zatar.com

pietrofmaggi··on Wind Power Without the Mills
Here's another article with a short video that show a prototype working.

http://www.renewableenergymagazine.com/article/the-power-of-...

pietrofmaggi··on New ARM-powered chip aims for battery life measured in decades
The strongest selling point for PIC is always the quality of the I/O hardware and the attention to the low-volume market. The CPU core is just something that you need to deal with. ATMEL is always great presenting fabulous MCU than sometimes takes forever to reach the low-volume markets.

Lead time is always an important parameter to consider when choosing a new MCU for a low-volume project :-)

I used to start new projects looking on digikey website more than anything.

pietrofmaggi··on OCamlEditor
I think that some of this comes even because, when you start to did in one of these arguments, you find other interesting postings.

Regarding OCaml, is surely not a "new fad" on HN, there're posts about it and Unikernel[1] and MirageOS every now and then.

[1] http://queue.acm.org/detail.cfm?id=2566628

pietrofmaggi··on Charles H. Moore – PROGRAMMING a PROBLEM-ORIENTED-LANGUAGE [~1970]
Just the goal:

My goal has been to decrease the effort required and increase the quality produced.

and the Basic Principles:

  * Keep it Simple
  * Do Not Speculate!
  * Do It Yourself!
Are worth a read.

The work of C.Moore around Forth/Stack Machines and overall, doing more with less, as always amazed me!

pietrofmaggi··on Software Defined Radio with HackRF
You can find here an initial review of this board: http://www.rtl-sdr.com/hackrf-initial-review/
pietrofmaggi··on 2048 in OCaml with Js_of_ocaml (with some bugs)
Source is here [1].

[1] https://github.com/dinosaure/demilekarantuite

pietrofmaggi··on Hybrid sweet spot: Native navigation, web content
Motorola Solutions employee here (MSI bought RhoMobile three years ago).

RhoMobile is a platform that deliver on building a native application using web technology. A lot of the idea are borrowed from Ruby on Rails in the Framework (MVC framework done in Ruby with a simple ORM on top of SQLite).

  * Updating the app without user intervention? 
  covered[1]

  * Common set of API available in JS and Ruby? 
  yes [2] 

 * Offline capability, local data and a synchronization server based on a NoSQL DB? 
  of course. How can you leave without a NoSQL DB? :-) [3] 
By the way, did I mention that RhoMobile won 2010 Fukuoka Ruby Award Grand Prize? [4]

You can take a look on Launchpad, MSI developer website [5]

[1] http://docs.rhomobile.com/en/4.1.0/guide/app_upgrade

[2] http://docs.rhomobile.com/en/4.1.0/guide/apisummary

[3] http://docs.rhomobile.com/en/4.1.0/rhoconnect/introduction

[4] http://www.prnewswire.com/news-releases/rhomobile-rhodes-sma...

[5] https://developer.motorolasolutions.com/community/rhomobile-...

pietrofmaggi··on I wish I could read Wikipedia like this
Well, Navigation popups seems something a bit different for me and not at all something intended for general consumption like the proposed changes (that I think is great).

First of all you need to have a Wikipedia account to enable them, and second this is something intended as an help for the editors. Wikipedia description of this function is:

"article previews and editing functions popup when hovering over links"

pietrofmaggi··on Jef Raskin's Swyft Card
Yesterday link[1] about the Swyft Card, on hack a day, includes a short video of Mr. Willegal demoing the software.

[1] http://hackaday.com/2014/04/06/vcf-east-the-swyft-card/

pietrofmaggi··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
Intel News announcement (still shown at EELive in San Jose till April 3rd): http://newsroom.intel.com/community/intel_newsroom/blog/2014...

Other sites reporting the same news: http://liliputing.com/2014/03/minnowboard-max-99-intel-atom-...

http://hardware.slashdot.org/story/14/04/01/0051224/intel-up...

http://www.bit-tech.net/news/hardware/2014/04/01/minnowboard...

pietrofmaggi··on Intel unveils tiny $99 MinnowBoard Max open single-board computer
Original site is not working for me.

You can find board specs on the minnowboard official website: http://www.minnowboard.org/meet-minnowboard-max/

--update (it's working again now, slow but working) contains a lot of useful information, the link I posted contains just the specs.

pietrofmaggi··on Know Ruby? Learn Rust
Nice introduction to the Rust language from the point of view of a Ruby programmer. The book is available as a paid ebook or is free online: http://www.rustforrubyists.com/book/index.html
pietrofmaggi··on Apple ][+ in HTML5
CALL -151

and then everything comes to mind :)

pietrofmaggi··on Forget MSP430 Launchpad - TI ARM Cortex-M4 Launchpad at $4.99
This Microcontroller has 256KB FLASH and 32KB RAM, and no external bus... no-way you can run linux on it.

Better use a real-time scheduler like TNKernel[1] or FreeRTOS[2]. BTW FreeRTOS commercial version is included in ROM on some TI Cortex-M MCU.

[1] http://tnkernel.com/ [2] http://www.freertos.org/

Page 1 of 7Next →