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 LinuxMint 15 delivers smooth alternative to Ubuntu
I feel the same about this as with the Ubuntu affliate-link issue:

I appreciate the work that distro maintainers put in, and I understand that many would like to earn revenue somehow from the distribution. If you give us the option to opt-in, then I'm fine with that being part of your revenue model. The fact that people have the option to disable a feature doesn't make it any less sneaky or inappropriate to put in (in my opinion).

pserwylo··on Let's Map the Silicon Valley Startups
Nice simple, well implemented idea.

I have a question which often comes up when I hear about "startups" on HN or in mainstream media. When is a company no longer a "startup"?

I know it's been addressed before, and there is no shortage of answers around [0]. But I can't help but think that, given my intuitive understanding, companies such as Atlassian are no longer startups.

[0] - https://duckduckgo.com/?q=when+is+a+company+no+longer+a+star...

pserwylo··on Global land temperatures since 1900 visualized
Firstly, if this still let you attempt to view it on your device after seeing the warning, then I think this is a brilliant warning. Sure, we all get pissed off when we see "Cannot view website on Firefox" et al, but this is not just about rendering, but also data usage warnings.

Of course, my problem is not that I'm on a mobile device at home. It is that I'm on my "truck" at home, but connected via my phone's 3G connection, which is capped at 1.5GiB a month... However the website is not aware of that. It's like opening a page where HD youtube videos start to stream without my knowledge. Pity there's no way to warn me about lots of data (except that I tend to read HN comments before visiting the page :)

pserwylo··on Hacking a $9 Remote Control Car with Arduino
As somebody who is also learning electronics, I can also confirm that it is extremely satisfying to pull apart cheap RC cars and connect them to an Arduino.

For anybody who is interested (including the OP), there is plenty of good tutorials around. The one at [1] explains a similar process as discussed in this article, except it doesn't rely on a test point on the circuit. Instead, it just talks directly to the relevant pins on the transmitters chip. Apparently most toy cars use the same sending/receiving chip - the TX2/RX2 [2]. Indeed the one I took apart had this chip, and I can confirm that it is relatively straightforward to wire up the Arduino as in [1].

If you search around, there are also tutorials on doing similar things to the circuit on the car itself, rather than the transmitter. My goal is to create a real-life Mario Kart setup by doing the following:

* Hook Arduino up to the car.

* Allow regular control of the car from the transmitter, but let the Arduino override these and control the car directly too.

* Connect IR LED and IR Receiver to Arduino on the car.

* Allow cars to shoot each other (there is an additional "turbo" input/output on the RX2/TX2 chips which is rarely used, so should be able to make that an auxiliary input which means "fire".

* If the car gets shot by another, then the Arduino will brake the car for a period of time.

This is all coming along nicely so far, I have the Arduino's firing at each other using IR and detecting who hit them. I also have the transmitter being controlled by an Arduino and receiving input via the serial port from my laptop, so that you drive the car from a computer. The next step is to get the Arduino to control the car directly, and then to let the Arduino and the transmitter both control the car, with the Arduino taking priority if it chooses to.

If anybody is interested, I'll do a writeup when (if) it gets completed (enough).

[1] - http://www.instructables.com/id/Arduino-controls-cheap-RC-ca...

[2 (pdf)] - http://www.instructables.com/files/orig/FWW/CD13/GV525G0X/FW...

pserwylo··on AT4AM: The amendment authoring tool used by EU Parliament open sourced
After reading an ammendment to the copyright law being debated in the Australian parliment, I went looking for tools to view a diff on the old act and the proposed changes.

That lead me to an old HN discussion [0] about using VCS to manage laws. In turn, that discussed the tool AT4AM that the EU parliment uses to create what are essentially "patches" to existing laws, in order to debate as ammendments. To my surprise, this was released as open source only a few months ago, and seems under active development.

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

pserwylo··on The PRISM Details Matter
As with other commenters here, I completely agree.

The NSA/Verizon issue has been conflated with the PRISM issue, because they were both published very close together and involve the NSA and broad scale data snooping.

I am horrified about the NSA/Verizon thing - because there is a court order that explains exactly what is going on, and it doesn't require too much technical knowledge to understand how bad it actually is.

The PRISM thing will scare me if it turns out to have "direct" and "unilateral" access to the servers of these companies. However, I doubted this from the beginning. Although I agree very strongly with this article, even they don't go far enough. The term "the companies central servers" keeps coming up, but even that is not a good representation of how the companies would store data of interest to the NSA.

Do the Washington Post journalists think that you just turn on the server like you do your desktop, open a folder called "John Smith", and then see a text document with all of their chat messages? Most software developers would have enough trouble trying to figure out exactly how the DB and Application layer of a piece of software works together in the first place - some decisions that DB designers or application developers (including myself) are horrifyingly baffling. And each company would have had engineers who made equally baffling, but extremely different design decisions with regards to data storage.

Then there is the number of servers involved. Would somebody at the NSA say "Hmm, I want to get details on John Smith, so I'll just log into Facebook's central servers and pull the details up." - there would be thousands of servers involved, and plenty of duplication and de-normalization. But still, what servers have details on John Smith? There probably isn't even somebody at Facebook who could tell you, let alone somebody accessing a supposed system like PRISM.

As the original article states, I think that it is more likely a system to deal with warrants and getting info from these companies through the typical channels that most of us are probably familiar with.

Now, if there is another AT&T-esque issue where the government is tapping into fibre to store data in communication, possible for future decryption, then that is a whole nother issue. As a previous HNer mentioned (can't find the reference now) we all "know" that the government is probably doing that, but none of us KNOW that they are, until we see a court order like that from the Snowden leak.

pserwylo··on Poll: how much would you pay to get issues resolved on GitHub?
A similar issue comes up in other domains too. For example, St John Ambulance Australia provides first aid for public events. Most of the duties are covered by volunteer first aiders. However if they cannot meet demand (which is often the case with mid-week events where volunteers are otherwise engaged with their jobs) then there is a commercial arm which steps in to cover the event.

The problem is when you have commercial and volunteers together at the same event, and some volunteers may think:

  "Hey, screw this, why am I volunteering my time, when the guy next to me is getting paid a decent hourly wage to do exactly the same thing?"
pserwylo··on Apple Avoided Billions in Taxes, Congressional Panel Says
I agree, and find these practices deeply troubling. It is similar in Australia, where every now and then there is a story published about how extremely rich corporations or individuals pay a few million to accountants, and reduce their taxable income to almost zero dollars. Those accountants provide a massive ROI for these people.

Sure, it may be perfectly legal according to the law, but it seems grossly unfair. One of the premises of our tax system is that the well off shoulder a larger burden then those who earn less (for better or worse - I think for the better). But the people who don't earn as much cannot afford to spend millions of dollars on accountants to reduce their tax bills like this.

If everybody wants to work in a functioning society, where essential services are funded by the government, then there needs to be income. Everybody who can contribute, and should do their bit.

pserwylo··on Internet giants, you’re no longer startups, get some customer service
Why don't startups need to provide customer service? The title sounds suspiciously like you don't need to provide customer service until you have some cash in the bank to pay for it.

But if you can't figure out how to provide customer service for a small number of clients, I don't think you can just throw money at the problem down the line and magically have great customer service. May as well with good practices start early.

pserwylo··on A Cloudless Atlas – How MapBox Aims to Make the World’s ‘Most Beautiful Map’
I was the opposite. As soon as I saw that image of the UK, I really thought it was "beautiful", in the way that other people may think a piece of art is beautiful.
pserwylo··on How the Syrian Electronic Army Hacked The Onion
This is where my appliaction of a "privacy" idea to a "security" problem falls down.

With privacy, I try to be pretty vigilant, but I don't do everything in my power to prevent tracking. I am more worried with companies collecting large swathes of data on my behaviour rather than the odd tidbit. I'm quietly hopeful that analytics, advertising et al. companies will not go to such ingeniously dodgey methods for tracking peoples behaviour (though being hopeful is very different than expecting them not to be dodgey).

But who knows, as a filter that might catch a portion of phishing links, it may have some use.

pserwylo··on How the Syrian Electronic Army Hacked The Onion
I often think about creating a browser and email plugin/extension to help with this:

- Look at all link tags.

- If it looks like a URL (has a scheme at the beginning, or something which resembles a hostname, or a bunch of path or query parameters), inspect the actual link.

- If they have different hosts, warn the user, and perhaps give them the option of just visiting what the contents of the link tag say (rather than the href attribute).

- Maybe do some magic with onclick events too.

I don't care that it wont be right 100% of the time. I don't care that some times I'll be warned when in fact it is perfectly fine. What I do care about is that when I click a link, I go to that link.

It would be quite helpful for attacks like this, but I'm also interested from a privacy perspective.

Google, Facebook and others go to great lengths so that when you mouse over a link, it looks like it will take you directly to the webpage it says it will, but actually redirects via themselves first. I often find myself copying a url from Facebook and pasting into the address bar, because I don't want them to know which articles I read (yes, I know, if I'm that paranoid, I probably shouldn't use Facebook, blah, blah).

pserwylo··on Adobe abandons its Creative Suite to focus on Creative Cloud
I think that it is more of an issue with conditioning. As you and others have mentioned, one could indeed learn Gimp's UI with enough practice. However, I'd say that someone who picked up Photoshop, or MS Word, or any complex piece of software for the first time, then it would be a horrible UI.

The education system (at least here in Australia) heavily focuses on Adobe and Microsoft products, so high school kids are familiar with them from a youngish age. If they were taught general principles of word processing or photo editing, perhaps with a few different programs, then I feel that everybody would be better able to cope with different UI's much more easily.

Incidentally, (as a non-professional) I found Gimp much easier to grok than Inkscape or Scribus (coming from a Photoshop/Illustrator/InDesign education/background).

pserwylo··on The N=1 Guide to Grad School: Advice for Aspiring PhDs
I'm familiar with a few people who have done this, and they really enjoy what they do. I wish anyone doing this all the best.

However it suffers the same problem as 1). That is, you may not have the energy for other projects. I understand the sentiment of your suggestion, which is: "My side project is also my work", but then you are committed to that project for X amount of time. Whereas with a typical side project that I might play with on the weekend, or with open source contributions, I am free to dabble with whatever interests me on that particular day. It is this freedom and flexibility that I am seeking in my life (partially because I have the attention span of a newt :)

pserwylo··on The N=1 Guide to Grad School: Advice for Aspiring PhDs
Oh of course. I didn't mention:

3) One day I'd like to own a caravan park.

And indeed, they were complete and utter generalisations. I'm sure there are people in interesting jobs, who come home and are able to work on interesting side projects. Either because their jobs are interesting but not brain-draining, or because they are particularly driven, or any number of reasons.

I have just found that at this point in my life, those are the two prospects that I am weighing up.

pserwylo··on The N=1 Guide to Grad School: Advice for Aspiring PhDs
I've wrestled with this in the past. As a CS PhD student, I will be working full time as a web developer when I graduate.

For me it came down to either (sweeping generalisations):

1) Continuing research on interesting problems, or perhaps working for interesting companies like the Bearau of Meteorology or the CSIRO (the Australian governments industry research organisation). The problems would be intriguing, and you would feel very satisfied with what you have done most days at work. However when you get home, I imagine you would be pretty mentally exhausted, and may not find much time or energy to work on your own projects.

or

2) Working for a web dev company, where the problems are (not always, but often) relatively straight forward, and don't take too much mental energy to solve. Sure, building business apps is not the most satisfying job for everybody, but the people are great, the company is great, you get looked after well, etc. The best bit is that when you get home, there is probably more mental energy to work on your own side projects that interest you.

I like contributing to Open Source projects, and I also find that after a difficult day at work or uni, I don't have the energy to punch out an hour of coding when I get home. So for me, I'm currently leaning towards option 2.

pserwylo··on JSON API
This is important. We've just been implementing a SOAP interface to our software, and have been discussing the best way to provide a JSON API using the same mechanism. The sticking point is probably that there is no standard way to define an API like there is with SOAP.

One question though: I notice that the language they use if very similar to a typical RFC. Is this an RFC? and if not, why? I'm a little naive about the process for submitting them and getting them accepted, but it would be great if this ended up as an official RFC that could be referred to just like SOAP/WSDL.

pserwylo··on Year 2038 problem
"REPENT FOR THE END OF THE UNIX EPOCH IS NIGH" [0]

... was a very entertaining and interesting talk from linux.conf.au 2013. The first ten or so minutes is amazing theater and quite hilarious (at least it was when I saw it live), and the remaining talk is also very informative.

It deals with quite a clever way to re-use the existing timezone databases that are designed to work with 32bit dates, such that they are usable with 64bit dates. This is important, because it is already an extremely difficult task to keep the original 32bit timezone databases up to date (what with all of the political decisions to change daylight savings - at a few months notice).

The talk is from the perspective of a perl developer, but the discussion is for anyone who is interested in solving the Year 2038 Problem in their language of choice.

[0] http://www.youtube.com/watch?v=eQFZ_MPTVpc

or 91mb mp4 download:

http://mirror.linux.org.au/linux.conf.au/2013/mp4/REPENT_FOR...

pserwylo··on Avoiding Burnout
Haha, yeah, I have experienced both ends of the stick. One supervisor I get along with beautifully, we've been meeting essentially every week for the last two years, and she has full access to the JIRA install I'm using to log my research tasks against. The other we just chat in the elevator, and have a meeting every couple of months or so.
pserwylo··on Avoiding Burnout
I completely agree. The only point where I fail at this is when I compare it to the 8 hour days I do once a week as a web developer (unrelated to the PhD). It seems so easy to power through the 8 hours and still feel like you could get more done. Then you go to uni, and if you manage 4 hours, it is a success. I always feel like I should be able to manage 8 hour days at Uni too, but of course it is a different kind of work which stresses different parts of your brain.
pserwylo··on Indigenous Weather Knowledge
Just saw a link to this while checking the local weather. I think it is amazing that the Bureau of Meteorology is investing in retaining information like this. I have colleagues at uni who are working on making sure that the various stories of different indigenous groups are kept alive in a digital format too.
pserwylo··on Avoiding Burnout
I feel like this is useful information for much more than just people involved in work. Specifically, as PhD students, my partner and I (and pretty much all of our colleagues) often face burnout, and are always looking for ways to combat it.

I quite like the sound of most things in this article, and think I will try to adopt some of the principles to my study and see if they will help. Specifically, I need to get back into fiction, because that really did help when I read lots a few months ago. Also, evening walks sounds like a beautiful way to wind down.

Does anybody else here have other advice on ways to combat burnout during a PhD? I (and every other student) would be most interested to hear.

pserwylo··on What Alexander Graham Bell Sounded Like
Yup, it sure is noisy. But let me indulge in my (not so realistic, but still potentially feasible) thought experiment :)

What if it turns out there is actually a predictable pattern to the noise on a ceramic surface. Perhaps there is a way that the molecules fit together that mean there is a few rules that govern the noise, such that we can then indeed remove it from any "recordings".

Or maybe there's some mathematical properties of noise that are yet to be understood which allow us to remove it correctly.

Or perhaps there is some arm of science which doesn't even exist yet (in the same way quantum computing didn't exist so long ago).

pserwylo··on What Alexander Graham Bell Sounded Like
Thanks for the links. Your comments about the "OLDEST HUMAN VOICE RECORDING OF ALL TIME" reminded me about a thought experiment I once heard.

Imagine a pottery wheel spinning thousands of years ago, and people talking as it spun. Then imagine that for some reason, a stick or other object was leaning against the wheel, and engraving a pattern. Theoretically, the vibrations of the people speaking would be picked up (at some level) by this engraving.

The end result is that if you had a device that was sufficiently sensitive, and you could remove a sufficiently large amount of noise (caused by other sources of vibration), then you could reconstruct an actual recording of people speaking thousands of years ago.

Of course, it is not likely that this will happen in the near future, or even at all. In fact, a quick search will show that it has already been used as an April Fools joke by some scientists [0].

However, that is not to say that it is impossible.

The reason I love this thought experiment is because it goes to show that if you start with the presumption that at some point, our tools become better, then there are very few limits to what can be found out. What would happen if you went back 150 years and told everybody that in 150 years, we would have tools that can track the trajectories of sub-atomic particles as they travel at speeds horrendously close to the speed of light?

[0] - http://www.ohgizmo.com/2006/02/20/5000-year-old-recordings-c...

pserwylo··on Programmer Creates An AI To (Not Quite) Beat NES Games
I imagine for the bots you mentioned, that they are programmed with specific logic for those games. As for the NES emulator capable of playing the second player, I imagine that would be a similar story.

The research here is not a computer program that plays games. Rather, it's a computer program that (attempts to) play any game, without having any understanding of what it means to play that game, purely by watching the buttons that a human player would press while playing that game.

pserwylo··on Australian opposition announces National Broadband Network plan
I've tried to write the above comment as un-biasedly as possible, just to give you the info and what the arguments are about.

For what its worth, I think that the 50% extra price to connect an extra 71% of homes directly to fibre is worth it. I like to use the analogy of the rail networks being built in the USA, or the interstate highways, or even the light rail in Calgary. Each is a massive project, which costs quite a bit of money, but in the long term, repays the investments many times over in the things they enable.

The opposition is guaranteeing that nobody will have less than 25mb/sec, and the government is touting a maximum speed of 100mb. But they seem to shy away from the fact that 100mb is just the speeds you will get with todays technology in the exchanges. I'm not too familiar with networking hardware, but it seems that increasing the speed of a FttH network is much easier than the FttN network, because it involves replacing hardware in the exchange. Whereas with FttN, you are fundamentally limited by the copper connections to the houses.

I heard the opposition communications spokesman yesterday on the radio, talking about "What will the average person possibly need with 100mb/sec?", but then you could ask the same thing for their 25mb/sec connection: "What will the average person possibly need with 25mb/sec?". I know right now, that my mum, sisters, brother, etc would not be able to utilise that bandwidth. I think that by conceding that 25mb is the minimum suitable bandwidth for the future, they are conceding that faster networks will be required in the future. So why limit it at the arbitrary value of 25mb and say "This is all we will need".

pserwylo··on Australian opposition announces National Broadband Network plan
For those unfamiliar with the current state of Internet service in Australia:

The current government has founded a company called NBNco (National Broadband Network Company) to connect 93% of Australian homes via fibre. The remaining will be covered with a fixed-wireless and Satellite.

This comes at a cost of $44b and completion date of 2021.

The opposition party has just announced their plan, which is to connect 22% of households directly to fibre, 71% via fibre to the node, utilising the existing copper network for the last few hundred metres, 4% via fixed wireless, and ~3% via satellite.

This comes at a cost of $30b and completion by the end of 2016.

What it comes down to is, should the Australian people be spending an extra $14b and five years to connect 71% more of the population directly to fibre?

A lot of the discussion revolves around whether people really need > 100mb/sec (FttH), or whether >25mb/sec (FttN) is suitable for the next "x" years of technology.

pserwylo··on A command line refactoring tool for PHP
I think that a tool like this will, with time, become much more efficient than a simple search replace. As mentioned in my sibling, there are edge cases which need thought, and a proper refactoring tool will excel.

I'd love to see a tool like this start to support a bunch of complex refactorings, especially on a project level. With time, it could start to support a bunch of nice things which make it easier to use, such as aliases or readline support for auto-completion, etc. People may then write plugins or scripts for various editors such as vim to make various refactorings even simpler to use.

Of course, this is all wild speculation, but it is what I would love to see. I hope it works out very well, because I am a massive fan of the refactoring in the IntelliJ PHP plugin/PHPStorm.

pserwylo··on Lousy web design trends that are making a comeback due to HTML5
I am using Ghostery, which does a pretty good job of intelligently blocking (and also notifying me) of trackers.

However, there are some sites that stupidly execute JS that is vital to the running of the page after attempting to initialize Google Analytics or other services. The end result is that they get a "Cannot call method 'bleh' of undefined" error which prevents the rest of their JS executing, hence broken page. If I'm really interested in actually loading the page, then I have to resort to allowing the trackers to run. sigh.

Unfortunately, I can't see how this could be averted, stopping short of an extension which catches all uncaught exceptions, then tries to forcefully remove all JS which is meant to interact with 3rd parties. It could be done either via pattern matching, because Google Analytics code looks much the same on most peoples sites, or it could be through something more fun, like https://github.com/mattdiamond/fuckitjs (who would of thought there would actually be a proper use case for something like that??)

pserwylo··on Lousy web design trends that are making a comeback due to HTML5
Another is https://github.com/mischat/shareNice. They look like they do pretty much the same thing: Serve the icons themselves, and just make them a link to the respective services.

For example:

- https://www.facebook.com/sharer/sharer.php?u=[Url to share]

SocialCount looks like it also cares about how many times a link has been shared, and uses a server-side script to figure that out. That seems like a nice approach if you really want that info, because it doesn't let the social service track the end user.

shareNice seems to have a wider range of services that it supports.

← PreviousPage 4 of 8Next →