Hacker Newsnew | past | comments | ask | show | jobs | submit | rdwallis's commentslogin

I used my whatsapp chat history to successfully contest a traffic fine.

My parents wanted me to check on their house while they were away. I messaged them on whatsapp when I left my house and then again when I arrived at theirs.

A month or so after my trip I was sent a fine for not displaying my car license while my car was parked on a public road. I had driven down the road where the fine was recorded during the trip. Using the timestamps of the whatsapp messages I was able to show that there was not enough time during my trip for me to have stopped to park.


> A month or so after my trip I was sent a fine for not displaying my car license while my car was parked on a public road. I had driven down the road where the fine was recorded during the trip.

More of an aside, but what sort of car license must be displayed for parking but not for driving down the same road? Is it some sort of parking permit or disc?


A car license is required when driving or parked but the fine was issued to a parked car without a driver in it. I proved that I was driving the car when the ticket was issued so the claims made by the metro officer about how they issued the ticket were not true.

My car was licensed at the time and the license was displayed correctly. I was not guilty of the offense and the whatsapp messages allowed me to prove that the officer who issued the ticket was lying.


Maybe you have to login so they can adapt the paper's conclusions to match your social graph.


Built http://www.thealetree.com a few years ago so not related to the current issue. But I'll turn the database on for a few days if people want to try it out.

The source code is at https://github.com/rdwallis/TheAleTree

The idea behind it was that the passionate minority on sites like reddit, hn etc tend to drive the discussion on issues because the less passionate majority isn't as inclined to upvote / downvote.

So say you've got a website where a small minority of the users are racists but the racists are very passionate and always upvote racist content. You'll tend to see a lot of racist posts on the site even if the site as a whole isn't racist. And over time the passionate racists will drive out the rest.

Wanted to see if I could solve the above without moderation, while keeping posts completely anonymous.

Probably doesn't work but the idea is that before users vote you divide them randomly into teams. And then when a user submits a post or a comment the team votes on it and only if certain percent of the team like it does it get an upvote. And the passionate racists would most likely end up on different teams so they'd be less likely to be able to get submissions into the public parts of the site.


Regardless of how you divide people up, the majority vote is the majority vote.

What problem are you trying to solve? I don't see any problem with people voting as long as it is one person, one vote.


Imagine a site with users who are all absolute experts in their chosen field. Mathematicians / Writers / Lawyers etc.

The popularity of a post will depend more on how it appeals to the majority than how it appeals to the experts. So the most popular mathematical posts may be posts that the actual mathematicians find mundane but that the writers / lawyers are able to understand. And this is true for all topics in which the non experts out number the experts.

So even though all the people on your site are experts the actual content on your site will be at non expert level, which will attract non-experts to your site who will then tend to vote on content that is at an even lower level.

Eventually the experts find all the content on the site mundane and are driven out.

Abandoned the Ale Tree because I don't think it is a solution to the problem. But there are definite problems with a pure majority vote system. The underlying concept that led me down this path was the difference between a republic and democracy. The Ale Tree was meant to act more like a republic where you elect representatives who vote on issues for you instead of voting on them directly.


This is an interesting idea! Why isn't the database turned on?


It got a lot of spam. Not sure if that shows that it doesn't work or if it needs a certain threshold of users before it can work properly.

The database is on at the moment so you can try it out. I'll only turn it off if the spam comes back.


For something more fun to read than my intro try Warbreaker by Brandon Sanderson:

https://www.watchwords.tv/read/Q6jQrky0m/Warbreaker


Looking for feedback and first impressions.


GWT 2.7 has incremental compilation. During development, recompile takes less than a second.


Thanks for that information. I used GWT on two personal projects years ago and for customer work three years ago. The only thing that I didn't like we're the long build times.

I like web dev environments that use the same language on both client and server sides: Meteor, Clojure + ClojureScript, and GWT. I need to use several programming languages and there is always a small overhead for me when switching languages.


In gwt, reflection isn't supported because it makes it hard for the compiler to do dead code elimination.

Supporting reflection might make it difficult to reduce the compile size of the javascript code in the future.

Or does c# reflection work differently from java?

Looks great by the way.


C# / .Net will have the same issue, but when they developed native compilation for windows phone apps they added a concept of a runtime definition file that lets you control how much needs to be retained for reflection: http://msdn.microsoft.com/en-us/library/dn600639%28v=vs.110%...

The native compilation technology is moving over to normal .Net and I would imagine the runtime definition file could be used for javascript transpiling tree-shaking as well.


Thanks on first glance that looks like a much better solution than gwts' generators.


My implementation in GWT lets you control how much is retained by using annotations to control the retention level. It even gives you the option to defer loading reflection until a future code split, such that you only download the extra bytes for reflection support when you will actually need it. See above for link.


I actually have fully functioning reflection in GWT in a branch of my own, and will be getting it merged to master shortly after the GWT.create conference.

https://github.com/WeTheInternet/xapi/tree/master/gwt/gwt-re...

If you want to support complete reflection across the board it greatly swells compile size, but I have made it so you can be selective about what supports reflection, in order to avoid code bloat.


Wow the whole xapi project is great, thanks for the link.

How much do the threads actually work yet? How slow are they?


Threading support in gwt is still just a glorified Timer. I haven't had the time / a reason to actually implement a multi-compile to web worker to make them function correctly. If you can think of a good test project, I'd be glad to add it to my backlog after the gwt.create conference, where I'll be speaking about web components, java 8 and JsInterop. Basically, in my latest projects, about 90% of the implementation is annotated interfaces and default methods that get stitched together into web components...

I'm not sure how the other transpilers expose native javascript, but in the future of Gwt, interacting with plain javascript is dead simple; you get the best of both worlds; typed java code, and low-level js performance. The JsInterop stuff makes wrapping native js super easy, just define an interface that matches the JS, and it "just works" (tm). Even web components, just create an annotated interface, define default methods, and the compiler attaches them to custom element definitions. I could go on and on, but I'll save it for the correct forum (i.e., the gwt.create conference). :D


There is a project called gwt-ns that supports Web Workers (https://code.google.com/p/gwt-ns/)

Real threading would have to use ES6 yield/generators to translate an entire thread into a spawn loop so that async/await blocks can be emulated.


The decryption is probably being done by specialized circuitry on the chip. It might perform the operation faster than a much more powerful machine.


Good point, thank you.

Going back to @theGimp's comment, it is probably safe to assume that nation-states that might want to decrypt this would have some form of access to that circuitry (either a specialized implementation or by using the apple chip) and could sidestep the speed issue. It seems like, to 0th order, it would either be slow for everyone or quick for everyone.


More interesting for programmers:

http://chronicle.nytlabs.com/?keyword=program.programme

And programme seems to be having a very slight resurgence since 2012.


It's "programme" in British-English for everything except "computer program" (in my experience). Probably because most programmer-culture is centred in North America.

I imagine that it's simply some NYT writer(s) using the British-English spelling, rather than a wider cultural trend, unless somebody is aware of any other examples?


One of the articles is about the World Food Programme, so maybe that's it?

http://www.nytimes.com/2014/05/06/business/international/fun...

EDIT: Another is quoting a report from 1856

http://www.nytimes.com/2014/04/20/arts/music/bar-and-bathroo...


I've chosen to never speed because it reduces my cognitive load.

Nobody speeds all the time. Even people who speed a lot will try to slow down for speed traps.

So everyone who speeds even those who speed only every now and then have to be constantly making a choice for when to speed.

They must constantly assess whether the benefits of speeding in this specific moment outweigh the disadvantages. There are dozens of variables: how much quicker will speeding be? will I be caught? is it safe to speed on this road at this time?

Much easier to ignore all that and just to drive below the speed limit.


"I've chosen to never speed because it reduces my cognitive load."

Never? Never speeding also means not always keeping up with traffic which might be flowing at a higher rate of speed. Consequently you are chancing a greater risk of an accident by not keeping up with traffic and not speeding.


Not exactly. Those that are speeding have accepted the higher risk of accident in exchange for getting to their destination slightly faster (if at all). The choices of the speeders have externalities in the form of a higher risk of accident for all other drivers around them, regardless of others speed. The drivers who obey the law bear none of the of the responsibility for that increase in risk. If you want to argue that speed limits should be raised because everyone is breaking them anyways, I think that is a fairer point of view. But to blame people who are following the law for the externalities caused by those breaking the law is absurd.


Driving at a rate faster or slower than the flow of traffic increases the risk of an accident more than an equivalent increase in speed. Here's a detailed article about it: http://priceonomics.com/is-every-speed-limit-too-low/


The link is pretty weak evidence.

> “We all speed, yet months and months usually pass between us seeing a crash,”

This is a stupid argument. Do you really want to be in a crash every few months? Roughly the average person has a 1% lifetime chance of dying and a 10% chance of serious injury in a car crash. To me these are pretty high numbers.

> that sign won’t make people drive any slower

Where I live, speed limits are zealously enforced - loss of licence for a third offence in two years - and people do comply with them. So yes a sign won't do it but you can get people to comply.

As usual the US seems to find the worst solution: overly restrictive speed limits (55mph) combined with lack of enforcement. This causes large divergences in speeds, which is apparently dangerous.

The article seems to confuse the merits of driving slower than most traffic, with the merits of slowing traffic as a whole down. They are very different things. If most people on the autobahn are doing 110mph then one driver doing 55mph would be dangerous. However slowing everyone down to say 60 mph may be a much safer overall situation.


Your personal risk is lower when you drive with the flow, even if that flow is faster then speed limit. This is kind of collective action problem, if most drivers restrict their speed, everyone is safer. If only few of them restrict themselves, those few are not much safer.

The drivers who obey the law do not bear responsibility for the increase in risk, but neither they raised their own safety.


Sorry for the delay in reply.

I live in Durban, South Africa. Lots of people speed here and sometimes the fast lane will be moving faster than the limit. But I don't think I've ever been in a situation where all of the traffic is moving faster than the limit.

Is it common for all lanes to be moving faster than the speed limit where you are?


"I've chosen to never speed because it reduces my cognitive load."

That's a utilitarian approach which is completely orthogonal to what this thread is about.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: