449 karma · joined Feb 3, 2011 (15y ago) · 166 submissions
comment 11y ago · link · parent
As the article says: "For now, a better option is to extract the log from a database" - i.e you use some tooling to generate a log from the db.
Indeed, you can now see tools that go in this direction usually by using the replication stream. (eg https://github.com/shyiko/mysql-binlog-connector-java and https://github.com/xstevens/decoderbufs)
comment 13y ago · link · parent
- iPhone + Vodafone Bangalore - SMS notifications - inconsistent frequency
- Galaxy Y + Airtel Bangalore - SMS alert only
so it seems carrier/plan dependent to me!
> it sends whenever there's 3G transaction and the usage period ends
Sure - what I was guessing is that sometimes the phone is on a "single" 3G connection all day & there's no alert, and some days the phone makes "many" 3G connections & there are lots of alerts. (or perhaps it does not work this way & there's some other cause - not a telecom expert!)
[EDIT: oops both friends say they get SMS not USSD alerts]
comment 13y ago · link · parent
I have the same issue sometimes with Airtel India, and I'm pretty sure this notification was turned off 2 years. [edit or maybe i just had a good data connection then]
Also, this issue is not consistent. I'm guessing what happens is: carrier sends usage alert when you "turn off" data + bad connection that keeps dropping => many notifications even though you never turned off data.
There are a few apps that convert USSD alerts to notifications - try these - but it would be nice if this was a built-in feature.
6.
Show HN: Binder - a lightweight SQL mapper for Python(github.com ↗)
1 points · by divtxt · 13y ago · discuss
comment 14y ago · link · parent
would be a more accurate title.
Like a public good, the dilution costs of issuing gTLDs is externalized and paid by everyone (other than ICANN).
ICANN has an exclusive license on this valuable virtual real estate, little accountability and a well demonstrated intention of making all the money they can.
Don't blame smart buyers who get in early - they're not the ones who created the situation.
comment 14y ago · link · parent
I like that it's a true wysiwyg editor in that you actually edit rich text instead of typing the markdown syntax.
comment 14y ago · link · parent
That's putting it mildly. A split menu may be correct from some design point of view (e.g DRY principle) but from a usability point of view, it's recipe for frustration.
On a more general note, does no one else consider Mac-style "alt-tab switches apps" and "global menu" usability mistakes? (on grounds of being modal)
With both Unity and Gnome adopting these, I no longer have a compelling reason to switch from Mac back to Linux.
Which is a pity really, because Gnome 3 is one of the prettiest and most usable desktops I've seen: I love how the windows key gives you access to the dock, all windows, workspaces and search at the same time.
comment 14y ago · link · parent
What I don't get is how arbitrary cross-site POSTs with malicious values are allowed. As far as I can tell, anyone can post this form:
<form action="http://bank.com/send_money><input name="to_account" value="SCAMMER-1234"></form>
Worse, one article will tell you to only allow Referrer == "bank.com", and then another will tell you that even that is no longer enough?!!!
Why can't we change the browser or the web server layer to prevent this by default?!
comment 14y ago · link · parent
Here's my take away from every CSRF article:
A malicious site will load your site in an iframe, fill in your form and post it. Fixing it requires some a token in your form, but I can see you don't understand how an extra hidden field in your form will make a difference so you're clearly not going to handle it correctly. You're screwed. Go home.
As far as I can tell, CSRF should have existed since javascript & frames. How have the browser vendors not fixed such a huge insecure-by-design flaw?
comment 14y ago · link · parent
I'd worry about the extra attack vectors because of that - man in the middle, snooping browser extensions, etc (or even just strong-arming them into silently changing their javascript do no encryption)
To his credit, he writes about this as well:
> On a trust scale, is it better to use PGP or PrivateSky if you want to be 100% sure that no one can see your data? Answer: There is no question that [...] a system such as PGP is better [...]
> There is only one problem. PGP and the current state of the art are too damn hard for the general population at large to use. [...]
comment 14y ago · link · parent
The screen is the app and the app is the screen. Therefore, any button outside the screen is not part of the app!
BTW, I used to agree with you but experience changed my mind: I once used an Android timer app for months without pressing the menu button.
comment 14y ago · link · parent
> power users say things like “every GUI app now feels as powerful as VIM”
A UI designed for keyboard power-users? I suddenly care about Unity again!
comment 14y ago · link · parent
Exercise: give them a class with empty functions, and some unit tests. Ask them to write the class and add some more tests. Also, one of the tests you provide must be subtly buggy.