rss news & blogs
Detailed post on why mobile web apps are slow. Many of the points revolve around:
Here’s the point: memory management is hard on mobile.
It’s comparable to IE 8
When is the last time you used IE 8 for any significant amount of time? Yeah, I can’t remember either.
Long discussion on Hacker News debating some of the individual points. Overall the conclusions still appear to be sound.
Skimming through the HTTP 2.0 draft RFC that was posted yesterday I’m left with the distinct feeling of implementing TCP on top of HTTP:
I’m in the camp that believes that future versions of HTTP should continue to be a text based protocol ( with compression support ).
Most weeks I look at several raw HTTP requests and responses. Yes, there will still be tools like cURL ( which I love ) to dig into HTTP transactions, so it isn’t the end of the world. Still, I am sad to see something that is currently fairly easy to follow turn into something significantly more complex.
The Salt Lake Tribune’s “Utah’s warrantless subpoena law defied, but untested” article talks about Pete Ashdown, founder of XMission, defying Utah’s warrantless subpoenas:
He has refused to give customers’ information to the attorney general’s office four times in as many years when presented with one of these administrative subpoenas, which are issued by prosecutors without a court order.
Ashdown is apparently alone in the state in ignoring the subpoenas, although at least one other small Internet service provider (ISP) in Utah expresses qualms about the potential for abuse of power.
Good on Pete for sticking with this. I know it isn’t easy or cheap for him to do so.
I’ve been questioning State Senator, Wayne Niederhauser about this since it passed ( Mr. Niederhauser voted for it ). The justification was basically two fold: law enforcement might feel getting a warrant from a judge takes too long and other courts at the state and federal levels have upheld similar laws. My response was also two fold: where is the data indicating the number of serious crimes that were not prosecuted because getting a warrant from a judge took too long and just because everyone else is jumping off a cliff doesn’t mean you should too. Not surprisingly there was not data on delay issues around getting a warrant.
A few years ago I asked if there had been any follow up on abuse of these new powers. You’ll love the response. No, because the legislature was too busy with other stuff and no one had come forward to report such abuses. Of course if they’d left the judicial warrant system in place then the legislature would at least have judges providing oversight. On no one reporting abuses, it is common for these types of subpoenas to forbid them from telling anyone they’d received them. Basically making it illegal to report an abuse.
The law does indicate that agencies must report the number of times they’ve used this warrantless subpoena power. A couple of years ago I went looking for this report. I thought it was silly that it wasn’t just available for download, but after jumping through a few hoops I was able to get an electronic copy. The report is completely useless. They followed the letter of the law alright, all it contained was the number of subpoenas that went out. No details on how many cases were involved, how many turned out to be an abuse of power, failed to prosecute, etc. The Tribune article concludes with the same analysis, included a quote from Craig Barlow, chief of children’s justice in the Utah attorney general’s office:
So no one can say how many of the 1,207 subpoenas issued resulted in criminal cases. Barlow told The Tribune that there’s no compelling reason to compile such information.
“There is no operational value for us to know that correlation,” Barlow said in an interview.
The “trust us” argument doesn’t cut it. I’d like to see the Utah warrantless subpoena law removed completely.
Simple instructions on how to install QCachegrind ( a.k.a KCachegrind ) on Mac OS X.
Building KCachegrind on Mac OS X is a giant pain, most people I know using it will just fire up a Linux virtual machine instead.
Today I saw that my old boss, Nicole was online with instant messenger. I sent her a message letting her know I enjoyed having her as a boss. We had a good chat. Before she left she said something interesting. She said something to the effect of, “You’ve put in some good work at Neutron. You shouldn’t feel bad about leaving to find something else closer to home.”
I have to admit its still on my mind. There is something about having Joel as a boss that just rubs me the wrong way. We don’t talk much anymore – especially casually.
I’ve been listening to an audiobook called Good to Great. It is a study of companies that went from good to great and sustained it for over 15 years. Listening to the things that these companies have in common, I have to wonder if Neutron will be a great company. With Joel as a VP I’ve sort of lost faith in Neutron. It just seems I’ve heard so many people in the company complain about him that I don’t see many people following him as a leader.
No related posts.
Asterisk only supports certain formats for playing back audio, which can be a pain. Seems like every time I try to load a new mp3 for my music on hold, I run into the same errors and generally have a devil of a time finding the answer.
First step is to convert the file to a WAV file. I've tried using mpg123 and mplayer for this task, but the results were never consistent. Ffmpeg seems to be the answer. Since ffmpeg supports every format under the sun, the gives you freedom to source from mp3, ogg vorbis, or whatever.
$ ffmpeg -i audiofile.mp3 audiofile.wav
Next, convert the WAV into the specific format that Asterisk likes.
$ sox audiofile.wav -t raw -r 8000 -c 1 audiofile.sln
If you're feeling particularly adventuresome, also generate a file for wideband audio.
$ sox audiofile.wav -t raw -r 16000 -c 1 audiofile.sln16
All that's left is to copy the SLN and SLN16 files to the appropriate location for Asterisk.