HNHacker News
TopNewBestAskShowJobs

peripetylabs

172 karma · joined October 9, 2012

submissionscomments
peripetylabs··on Ask HN: what creative methods do you use to solve programming problems?
Writing things down or drawing on paper has always helped me.
peripetylabs··on Parallella, a $99 Linux Supercomputer
This is perfect for numerical computing applications like software-defined radio or image processing, which can now be done on embedded platforms. I'll definitely be ordering a board when they're available.
peripetylabs··on How We Bootstrapped a $20K Website into a $4M/year Business
Congratulations. With that kind of success, I hope you treat your employees well. Most are probably poor women supporting their families. If I were ever to use a service like yours, the cleaners' wellbeing would be the deciding factor.
peripetylabs··on Women, Tech Conferences and the Bullshit Surrounding It
When you submit a paper to an academic journal, the reviewers do not know the name or origin of the authors, and make a decision based on the contents only. Conferences should select talks using a similar process. This would prevent potential bias against women, and also shield the conference from allegations of bias.
peripetylabs··on Detecting Tor Communication in Network Traffic
Yes, at the moment points 1 and 3 are enough to distinguish Tor traffic from other HTTPS traffic. They're working on a few solutions though:

https://www.torproject.org/docs/pluggable-transports.html.en

peripetylabs··on Issues with porting C++ code to a 64-bit platform
One way to avoid loss of precision in the conversion is to check if the number of digits in the integer is larger than the constant DBL_DIG (defined in <cfloat>) -- numbers with less digits than that constant can be safely converted to the 'double' type and back.
peripetylabs··on Issues with porting C++ code to a 64-bit platform
Every C++ developer should read this. I've done research on integer arithmetic, which includes some of the pointer arithmetic issues discussed here. This is one of the best article I've seen on the subject so far. Thanks for sharing.

This is a small detail, but in C99 you can use the "zu" format specifier for size_t typed arguments of the printf/scanf functions; is this also true for C++? Another tip is to use the PRI* and SCN* macros defined in the C header <inttypes.h> (<cinttypes> for C++):

http://pubs.opengroup.org/onlinepubs/009604599/basedefs/intt... http://en.cppreference.com/w/cpp/header/cinttypes

peripetylabs··on Canadian Government Makes Call to Foreign Startups for New Startup Visa
That's been my experience as well. Those of us left in Canada are those who have not yet made the move to the US. Given the option, I know precisely where I'd be, and it's not here.
peripetylabs··on What's Actually Wrong with Yahoo's Purchase of Summly
That was my thought exactly, this story sounded like an investor bailout.
peripetylabs··on Lessons Learned Developing Software for Space Vehicles
If I understand correctly, the "Ground Software team" uses LabVIEW extensively, which has only limited support on OS X and Linux:

http://www.ni.com/labview/os-support/

peripetylabs··on Nine-year-old girl’s $829 Kickstarter to build game passes $10,000 after one day
Great initiative. It may be wise to steer the kid towards something more educational, like a Snake clone in Python or something. RPG Maker teaches nothing.
peripetylabs··on Ubuntu tapped by China for national operating system
It's interesting to see the developing world adopt GNU/Linux. Venezuela created Canaima. [1] Turkey created Pardus. [2] Iran has announced plans for a national distro. [3] Russia has announced plans for its public sector to use free software. [4]

I suspect, though, that many of these initiatives are simply exercises by universities or government IT organizations to understand the technology, rather than to advocate for its use.

[1] http://canaima.softwarelibre.gob.ve [2] http://www.pardus.org.tr [3] http://www.schneier.com/blog/archives/2009/03/security_fears... [4] http://open.cnews.ru/news/top/index.shtml?2010/12/27/421556

peripetylabs··on A Difficult Situation
I doubt that. It is explicitly against the PyCon Code of Conduct to photograph attendees without their permission. Adria Richards did just that, on company time.
peripetylabs··on A Difficult Situation
It is never appropriate to distribute photographs of people without their permission, in any context. I think SendGrid is justified in their decision.
peripetylabs··on SendGrid Fires Company Evangelist After Twitter Fracas
There is a statement on the SendGrid blog confirming:

http://blog.sendgrid.com/sendgrid-statement/

peripetylabs··on SendGrid Fires Company Evangelist After Twitter Fracas
Keep in mind that Adria Richards was acting in an official capacity as a representative of SendGrid at PyCon. SendGrid's business is transactional email, and one of their public spokespersons happily outs private conversations on social media, even distributing photographs of people without their permission -- as a SendGrid customer who takes privacy very seriously, I found this concerning, and I have been looking at alternatives since this fiasco.
peripetylabs··on Inappropriate comments at pycon 2013 called out
If I may ask, what made you think it was appropriate to take a picture of this person and distribute it without his permission or the permission of the venue?
peripetylabs··on Checkboxes that kill your product
Sure, you can always design for the 99%. Over time, however, you will be designing for the 50% -- after 70 iterations to be exact (that's log(.5)/log(.99)). Companies that do this end up with a very loyal, very small user base. Is that what a browser vendor wants?

The article points out some problems -- the options for changing how cryptography is used should definitely be less accessible; but also points to non-problems -- the options to disable images or Javascript should stay right where they are.

peripetylabs··on The Internet is a surveillance state
I used to think people actually wanted privacy. (I did, why wouldn't everyone else?) But the data does not support that hypothesis -- in fact, I think the exact opposite is true.

People's personal information is not being stolen from them, it is given away; and not even for free -- more than 70% of the US population [1] pays an ISP a monthly fee in order to connect to Facebook's servers and upload their data. That is how the Internet works -- it is not Facebook sending the SYN packets.

In general society (outside of our tiny bubble), not having a Facebook account is considered strange. It is even seen as grounds for suspicion of criminal activity. [2]

Everyone says they want to eat right, exercise and be healthy, but more than a third of them are obese. [3] The surveillance state is not happening despite us, it is precisely what the majority of people want, even as they deny it. If you wish to change this unfortunate fact, change the culture.

[1] http://www.onlineschools.org/visual-academy/facebook-obsessi... [2] http://www.forbes.com/sites/kashmirhill/2012/08/06/beware-te... [3] http://www.cdc.gov/obesity/data/adult.html

peripetylabs··on The Cost Of Free Doughnuts: 70 Years Of Regret
They don't charge the people that count. When I worked for an airline, we were told to just ignore complaints from customers who flew less than several thousand miles per year.
peripetylabs··on Mary, queen of maths
Great read, I didn't know chaos theory had applications to radar; I thought the study of radar originated in probability theory and spectral theory. Very interesting.

My only criticism is that Mary Cartwright would probably balk at the idea of royalty in mathematics.

peripetylabs··on Here come the encryption apps
I don't know about Huawei, but backdoors were discovered in some ZTE phones:

http://www.zdnet.com/backdoor-found-in-zte-android-phones-13...

peripetylabs··on Russian Satellite Hit by Debris from Chinese Anti-Satellite Test
When China conducted that test, Russia's Defence Minister called the reporting of it "exaggerated and abstract." This should make things more concrete.
peripetylabs··on Introducing Sodium, a new cryptographic library
This is great, especially the Python bindings. I've been looking for something similar for a while. I was hoping to package just a reference (portable) implementation of 'crypto_secretbox', but the code seemed to be split up in multiple files and I couldn't understand their build system...
peripetylabs··on Darpa Wants You to Transcribe, and Instantly Recall, All of Your Conversations
Google could probably implement this with Youtube. Their automated translations are a start, but if viewers could edit the transcripts as the video plays, they could come up with good transcriptions very quickly.
peripetylabs··on Pkgsrc on OS X
Primarily, package managers solve the problem of dependencies. [1] For example, if you want to install a piece of software X -- which depends on A and B, and A in turn depends on C -- then the package manager will install all of these for you. A package manager will also keep your software up to date automatically. There are other advantages, but basically a package manager saves you time.

[1] http://en.wikipedia.org/wiki/Package_management_system#Chall...

peripetylabs··on Pkgsrc on OS X
So far, I haven't seen any OS X-specific problems with the build process, everything works fine. The pkgsrc documentation says OS X is officially supported.

The pkgsrc-wip project has packages for some of those projects you're looking for:

Discount: http://pkgsrc.se/wip/discount Node: http://pkgsrc.se/wip/node Redis: http://pkgsrc.se/wip/redis Riak: http://pkgsrc.se/wip/riak

More about pkgsrc-wip: http://pkgsrc-wip.sourceforge.net

To simplify the build process, there is a pkgsrc "front-end" called pkgin:

http://pkgin.net

Hope that helps.

peripetylabs··on Pkgsrc on OS X
Yeah that's a shame. I'll experiment with using just the Clang binaries[1] for OS X and update the post if I have any success.

[1] http://llvm.org/releases/download.html

peripetylabs··on Pkgsrc on OS X
Thanks for the feedback. I'll be writing that follow-up post in the next week or so. To sum them up, the security features I alluded to are: signed packages; automated security checks; build options; and compile-time hardening.
peripetylabs··on Scientists Uncover Invisible Motion in Video
Computer science that can improve people's wellbeing -- in this case, medical diagnostics -- is particularly amazing. I can see this being used by emergency workers to take pulse quickly without having to fumble with electrical leads. The algorithm is also very simple and elegant.
← PreviousPage 2 of 4Next →