HNHacker News
TopNewBestAskShowJobs

pserwylo

1,053 karma · joined June 20, 2012

Developer. Free software enthusiast.

Some of my open source android apps:

https://github.com/lexica/lexica https://github.com/retrowars/retrowars https://github.com/babydots/babydots https://github.com/beat-feet/beat-feet

submissionscomments
pserwylo··on “I Want to Know What Code Is Running Inside My Body”
I can't recommend this talk enough. If you have the time, it is one the best keynotes I've ever been privileged enough to watch.

Ever since then, I've been very interested in all the paperwork sent to my grand father about his pacemaker + defib implant. Recently they mentioned to him that they will send out a remote monitoring device and Karens talk immediately jumped to mind.

Initially the documentation talked about how the remote monitoring device needed to be held close to the heart for a few seconds in order to download the relevant data. This gave me a modicum of hope that at the very least it was some sort of NFC type communication. This would at least make it harder to physically exploit.

However, they continued to say that if you want it to monitor you every night, just put it within three metres of your bed while you sleep. I had a search online and there does not seem to be a lot of people particularly interested in this area, although repos such as https://github.com/openaps/decocare give me hope in the ability of the community to reverse the relevant protocols and investigate these devices.

pserwylo··on Google Trends for Tumblr, Google+, Reddit, Twitter
I was curious about the downward trend in Twitter and Facebook at about the same time. I nknow it doesn't imply causation, but adding "Snowden" shows the downward trend for Twitter begins about the same time. It is hard to see for Facebook because it trends so highly, but its downward trend is around the same time.

https://www.google.com/trends/explore#q=%2Fm%2F0289n8t%2C%20...

Perhaps there is indeed hope that a generation of people are becoming more aware of their options with regards to privacy and anonymity online.

Or perhaps it can more accurately be attributed to a switch to Snapchat or other social media providers.

pserwylo··on Generating Factoid Questions with RNNs: The 30M Factoid Question-Answer Corpus
This is the type of project which really interests me. In the future we plan on building a service to wholesale trivia questions to pubs, schools, fundraisers, etc. I'll read this paper with interest, because at a quick glance the generated questions do sound great.

The next step from generating good quality questions that sound natural, is to make sure the the questions are up to date and topical. This means keeping up with current affairs, memes, popular cultue, and other trends. Adding questions about "which politician is in trouble for x" really only remain relevant for about a week or two and sit in a different category than these pure fact style questions presented here.

It would be great to see this research team or others to continue in this direction, and look at an increasingly broad metrics of what makes a "good" question, in addition to whether the English phrasing sounds good.

Nevertheless, this really does sound great.

pserwylo··on A Government Error Just Revealed Snowden Was the Target in the Lavabit Case
I was thinking the same thing. Particularly because it was human error which released the information. If there was genuine human error on Ladar's part then I guess there would not be a lot of leniency. I don't know how the government expects human beings to keep secrets from everybody they ever know, until the end of time.

The amount of times little things slip out in conversation when you don't mean to makes me think that it is only inevitable that somebody, someday, will make a similar mistake to the government here. I don't think they will get treated lightly when that happens, either.

pserwylo··on Our First Certificate Is Now Live
While I also look forward to letsencrypt being generally available, the fact your parent comment charges $234/yr for a cert is in response to:

> I'd actually pay more than I do now for SSL certs to get that kind of simplicity.

pserwylo··on New Horizons phones home
For a more interactive version of this, check out the visualization by ABC News in Australia:

http://www.abc.net.au/news/2015-07-09/pluto-comes-into-focus...

This shows a time slider, where you can see the different images, along with the time and distance from Pluto. They have been pretty quick to update it with new images too, so I look forward to the final image(s?) being added.

pserwylo··on Dropbox Is Struggling and Competitors Are Catching Up
> 3, the number is just for a time period (like $904 million per year) and their valuation is over a much longer period (e.g. decades)

Okay, so this along with your sister the comment from raldi points at what I probably missed: The duration for which the valuation is made is unspecified, at least in this article. Thanks for pointing this out.

pserwylo··on Dropbox Is Struggling and Competitors Are Catching Up
Genuine question, as I am not well versed in valuations:

How can a company be "valued at $10 billion" when it is sharing the "$904 million global market for business file-sharing"?

Is it because of the term "business" file-sharing, whereas there are non-business customers who are also paying for these services that make it worth substantially more than $904m? Or is there something else about valuations like this that I am missing?

pserwylo··on F-Droid Dropping Firefox
I see no evidence that Firefox is being dropped (at this point in time).

- This page doesn't explain that it is being dropped [0,1].

- there is no signals from the F-Droid team that I can see that it is dropping firefox [e.g. on #fdroid at freenode].

- The metadata for the F-Droid build server still includes Firefox [2]

[0] - https://f-droid.org/repository/browse/?fdid=org.mozilla.fire...

[1] - https://f-droid.org/wiki/page/org.mozilla.firefox

[2] - https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/or...

pserwylo··on F-Droid Dropping Firefox
> Addons are user choices, and trying to limit that choice is self defeating in free speech.

I believe you are talking about the big red boxes that mention it has "Non Free Addons". This is what is known as an "AntiFeature" in F-Droid [0]. It is not a reason to exclude a project from the main repository. Rather, it is purely a piece of metadata that is shown on the website and in the client to let people know that it is a thing.

The goal is to provide as much information as possible to users, so that they can make educated choices about which software they choose to install on their device.

[0] - https://f-droid.org/manual/html_node/AntiFeatures.html

pserwylo··on F-Droid Dropping Firefox
Edit: What makes people think Firefox has been removed?

Correct. I've been using Fennec (the custom build) ever since the team managed to get it to build, and have had zero complaints.

As far as I'm aware, that is the last upstream binary in the official F-Droid repository.

Keep in mind, anyone is free to make their own F-Droid repository using the fdroidserver software. The server supports either building apks from source, or adding binary apks (ala Firefox). There is nothing special about the repository at f-droid.org/repo other than it being preconfigured in the client. But hey, if you really wanted, you could build the client yourself with different default repositories, because that is also open source :

pserwylo··on GitLab 7.11: 2FA, publicly viewable Enterprise Edition
While I am not against rapid UI evolution, as seems to be the case with GitLab, I think you may want to revise the choice of background vs text colour on the sidebar. It does look pretty, but the WCAG guidelines describe a minimum level of contrast for people with vision imparement to be able to read well. This side bar has a very low level of contrast, and putting the URL of a GitLab project into various WCAG evaluatioin tools will tell you the same.

Having said that, thank you for GitLab. Even though this post is about the Enterprise Edition, it is good to see some high quality open source alternatives to GitHub (i.e. the Community Version). We moved F-Droid there and have had mostly a very positive experience.

pserwylo··on Firefox will show ads on the new tab page based on browsing history
Not always. If something is free, and it is a commercial company offering it, then you are probably the product.

But if the offering is from a not for profit company, a charity, or volunteers building something open source for their enjoyment and to contribute to the community, then you are not the product.

As for Mozilla, I'll leave you to make up your mind. I tend to agree with you and I love Mozilla too (but hope that Iceweasel doesn't have this :)

pserwylo··on Fossdroid.com: Free and open source Android applications
It is worth keeping in mind that the download stats which determine popularity [0, 1] should consumed with care. They represent HTTP requests which hit the server to download a particular apk file. Thus, things such as web crawlers can trigger downloads, which result in incrementing the download count.

Having said this, they definitely seem to be useful as a general rule of thumb about how apps are more popular, _relative to other apps_.

[0] - https://gitlab.com/fdroid/fdroiddata/blob/master/stats/total...

[1] - https://gitlab.com/fdroid/fdroiddata/blob/master/stats/total...

pserwylo··on New South Wales Attacks Researchers Who Found Internet Voting Vulnerabilities
Not sure you should have been down voted, but nevertheless, your question is addressed well elsewhere in this thread [0].

[0] - https://news.ycombinator.com/item?id=9332157

pserwylo··on Would Rust have prevented Heartbleed? Another look
I would suggest that the security issues in Java are due to bugs in the various JVM implementations, which are likely written in C, right?

Not to say that Java is going to eliminate all bugs. However, it should eliminate all bugs to do with, e.g., reading/writing out of the bounds of an array and resulting in RCE due to bugs introduced in the application code. Reading/writing out of the bounds of an array will still be a bug, but not one that allows arbitrary code execution (at least not in the same way as it may for a language like C.

pserwylo··on PHP7 Gains Scalar Type Hints
> Can you explain why?

Over the years, we have refactored our PHP code base to something which is much more bug proof, and a lot of it is because we demand certain types to be passed to types. Currently we use doc types (for which the IDE helps us heaps) and type hinting for objects being passed as arguments.

For a given process (e.g. form submission) there will nevertheless be an entry point where strings from the web are passed in. But if you can minimize that area as much as possible, beyond that one place (a function or class) which understands the mapping from incoming string types to PHP types, you end up with a code base which behaves mostly like a statically type language.

This has reduced a huge subset of bugs which are caused by unexpected input being passed to a function. Having the language itself tell you when you made an error statically while writing is much better than having to wait until runtime.

A similar argument would stand for why we moved from dynamically created strings sent to the database, towards a database abstraction layer where we pick up syntax errors at time of writing.

pserwylo··on Mozilla to open first-world front in Firefox OS war
Small correction: F-Droid doesn't yet support automatic updates [0], but rather, automatic notifications that updates are available to be manually installed. Merge requests always welcome though :)

[0] - https://gitlab.com/fdroid/fdroidclient/issues/106

pserwylo··on Leonard Nimoy's Advice to a Biracial Girl in 1968
Although being off topic, I think this is still a good observation to make.

About five years ago, I was looking up something related to bulimia. Low and behold, I ended up on a site that had advice for young people with this disorder, and the keyword ads on the right of the page included a bunch of "Lose weight fast using this pill" type ads. I was quite horrified (and reported the ads to the ad network).

pserwylo··on Earth Primer
This is very cool indead. Reminds me of my time as an undergrad at uni, where one of our projects revolved around making a game/sim like this. Everybody else was trying to make 3D adventure games, but we were interested in "good quality" (I put that in quotes because I just went back to look at the code and shuddered) 2D games, that were more polished.

Our game was called "Land of Life" [0] (or Geco, according to the source code, not sure why). It was a basic, fixed size, isometric tile game. To start with, you are presented with a desert. The only thing you can do is add mountains, and then hit play and watch clouds form and move over the mountains. If you constructed your mountains well, you'd get nice oasis' with rivers flowing out of the mountains, and greenery around it. If, you probably wouldn't get any rivers, but would get some small shrubs.

From memory, the only heuristics about adding mountains were: You can only make a mountain bigger if there are a certain number of mountains of a certain size adjacent to it. It was a bit like game-of-life in that way, hence the name "land of life". This worked surprisingly well for constructing mountain ranges.

One main difference from our approach and the one linked to here is that theirs looks absolutely amazing and educational, whereas ours used heuristics that we dreamed up via trial and error.

[0] Screenshot (missing assets for river tiles, because I couldn't find the final source code) - https://raw.githubusercontent.com/pserwylo/land-of-life/mast...

EDIT:

Here is a screencast [1]. I still think it is nice how the first river which heads off to the top right (rendered in black due to no river assets) gets surrounded by trees because it is a source of water in the desert. This is not based on any geological/ecological/climate knowledge on our part, but was still fun to tinker with.

[1] https://raw.githubusercontent.com/pserwylo/land-of-life/mast...

pserwylo··on Kyoto taxi drivers reduce robberies by 50 percent by doing nothing
This has also happened at train stations in Melbourne. The music of choice is usually classical. Anecdotally I haven't noticed any specific change in behaviour around the music, but it did and still continues to sound like a good idea to me.
pserwylo··on OpenELEC 5.0
After my original RaspberryPi which was used for a media centre running OpenELEC died, I've gotten a new Pi and installed Raspbmc on it. Although it did what it said on the box, and I am appreciative for the work done by that team, going back to OpenELEC today was particularly nice. Usually I like to customize my linux machines, but with media centres, I'm more than happy to take something pretty much stock, and just use it.

I downloaded the 5.0 image (which I didn't realise was only just released), dd'ed it to my SD card, booted the pi, and then ran the first run wizard (pretty much clicking next on everything except the dhcp config).

Quick, easy, and enjoyable. Thanks to everyone for all your hard work making this distro.

pserwylo··on Android: I don't need your permission
I'm an F-Droid developer, and we do in fact do secret option D.

There is a small but passionate group of people who are very focused on deterministic builds in Android working with us as well [0]. The end goal is to be able to install fdroidserver, then run:

  fdroid verify
And it will do all of this for you (download source, compile source, verify binary against another binary).

Of course, option B) is always a problem, but I guess the best solution short of paying to audit every single open source app is to fall back to the many eyes theory and hope it holds us in good stead.

EDIT: For those interested, one of the reasons we are interested in deterministic builds is so that we can verify that our build of the source corresponds to the upstream build. If that is the case, then we will be confident distributing the upstream binary (i.e. signed by the upstream developer). It is not possible to install a .apk from upstream, and then update it with a version signed by F-Droid - for very good and legitimate reasons. Distributing builds signed by upstream alleviates this problem.

[0] - https://f-droid.org/wiki/page/Deterministic,_Reproducible_Bu...

pserwylo··on Why HTTPS Everywhere isn't on addons.mozilla.org
> If the code was signed using a key that isn't kept on the server (normally a code signing key will be kept on a developer's computer, and often protected by a password so it rarely exists in memory unencrypted)

And to take this even further, you have the option of keeping the key on a machine that is completely disconnected from any network. In addition, this machine could use a Hardware Security Module to further increase the security of the signing key.

pserwylo··on Mozilla Stumbler 1.0
I believe so. crankycoder1975 was asking for some pointers on #fdroid irc a few hours back to help build 1.0 for F-Droid. Hopefully any issues will get ironed out. While I appreciate my siblings comment about the app auto-updating - I'd rather have apps managed by a central area (F-Droid on Android, package managers on desktop Linux).
pserwylo··on Mozilla Stumbler 1.0
Correct me if I'm wrong, bug I believe the issue with Googles wifi collection was because they had code which intentionally read (and stored?) all data being transmitted over open wifi networks.
pserwylo··on Safari is sending every search query to Apple
For browsing, Mozilla is probably the least likely to want to do this sort of logging. There are probably more niche browsers that focus on privacy that I'm unaware of too.

As for other Apple products, you can run Linux on a MacBook quite happily (Linus does, after all) and there are some nice Android ROMs which focus on freedom, such as Replicant.

pserwylo··on Safari is sending every search query to Apple
Not quite sure why you got down voted. I bought an iPod nano several years ago, because I quite liked the hardware/software that Apple made. However when I found out that they intentionally broke compatibility with 3rd party music software that isn't iTunes, I made the decision to never buy Apple products again.

I don't feel that I'm particularly missing out by making this decision (although I am aware that many other vendors probably have similar ethical problems associated with them).

pserwylo··on Stop Australia's Data Retention Bill
I'm not affiliated with the site, but they encourage contributions at https://github.com/stopthespies/website. I tend to agree with you that this is also an important topic.
pserwylo··on Stop Australia's Data Retention Bill
Without knowing the details, would vanilla Tor suffice? The ISP (who is the one being mandated to retain the data) will only know that you are contacting the entry relay, and the rest of the communication should be encrypted between you and the entry relay. I would guess that then every log in the ISP's log would say "Visited random tor node in iceland".

As for circumventing location gathering, when your mobile phone connects to cell towers, I'd be keen to hear about proposals for getting around that.

← PreviousPage 2 of 8Next →