jorgenmodin.net
2009-06-29
Länk - Datorn som hands-free adapter till bluetoothmobiltelefonen
It allows your Linux system to act as a speakerphone for your mobile phone. It aims to be a compliant Bluetooth HFP 1.5 Hands Free implementation, supporting all required commands and notifications, as well as streaming audio.
Läs mer: HFP for Linux: Bluetooth Handsfree
2009-06-27
Faran med flaskhalsar på Internet
...är att en regim kan styra allt informationsflöde ur ett land. Det verkar som om Irans regim kan styra väldigt mycket av vad som kommer ut eftersom i stort all trafik ur landet passerar en punkt som de kan styra och filtrera. Lärdomen av detta är att ha redundanta nät med stor geografisk spriding, och att man måste vara vaksamma när någon försöker centralisera.
We've seen the effects of this control over the past couple days. To be sure, a few harrowing pictures and videos have filtered through Iran's closed net. But they're the exceptions; much of what's happened since the start of the week went undocumented. As the Lede points out, many of the clips now being posted to YouTube were first published last week, before Iran shut down its connections with the outside world. In the absence of fresh videos coming out of the country, people have been attaching new dates to old clips in order to stoke new outrage over the security crackdown.
Läs mer: How the Internet helps Iran silence activists. - By Farhad Manjoo - Slate Magazine
2009-06-26
En miljon har fått svinfluensa i USA
Ungefär en miljon amerikaner har fått svininfluensa enligt en uppskattning av Lyn Finelli, från amerikanska Centers for Disease Control and Prevention. Om detta hade varit ett elakt virus så hade det varit rätt många döda nu.
Swine flu has infected as many as 1 million Americans, U.S. health officials said Thursday, adding that 6 percent or more of some urban populations are infected. The estimate voiced by a government flu scientist Thursday was no surprise to the experts who have been closely watching the virus.
2009-06-25
Medeltemperatur på minus 60 grader? Tillåt mig tveka
I Sydsvenskan idag beskrivs en plats på jorden, Amundsen-Scott-stationen, som enligt artikeln ska ha en medeltemperatur på minus sextio grader. Det är osannolikt i alla fall om platsen är utomhus. Medeltemperaturen på Amundsen-Scott-stationen är ungefär -48 grader Celsius. (Tillägg: -58 grader under vinterhalvåret är det faktiskt, vilket iofs kan avrundas till minus 60, så min kritik faller väl).
Med en medeltemperatur på minus 60 grader är forskningsstationen under vinterhalvåret helt avskuren från yttervärlden eftersom inga fordon fungerar i kylan
Läs mer: Opererade sig själv på Sydpolen - Dödsfall - Sydsvenskan - Nyheter dygnet runt
2009-06-24
Länk - TinEye - hitta var bilden du har finns på nätet
TinEye is a reverse image search engine.
Läs mer: TinEye Reverse Image Search
2009-06-22
Benfords lag
För många sifferuppgifter i en serie, så gäller det att siffran ett är den vanligaste som förstasiffra. En distribution som väl matchar sådana sifferuppgifter är Benfords lag.
Benford's law has been found to apply to many sets of financial data, including income tax or stock exchange data, corporate disbursements and sales figures, demographics and scientific data. Since the 1940s, more than 150 academic papers on Benford's law have been published by mathematicians, statisticians, engineers, physicists and—recently—by accountants. None disputes it or offers a competing law related to digits. Perhaps Roger Pinkham wrote the most convincing support in 1961, when he showed that Benford's law was scale invariant. In other words, if a set of numbers followed Benford's law closely, and if all the numbers in the set were multiplied by a nonzero constant (such as 22.04 or 0.323), then the new set of numbers would also follow Benford's law closely.
Läs mer: I've Got Your Number
2009-06-15
Länk - Genomgång om vad en hackad dator kan användas till
The Scrap Value of a Hacked PC
2009-06-13
"It's always c"
Trying to figure out where the "It's always c" (as displayed on e.g. Fark.com) meme started. I did a Google search for the term. However the results where disappointing. As of now the top result uses the phrase as c in chocolate. Then comes a song text with chord progressions where the text "It's always" is simply followed by the chord C. Then finally C as in "C:\", the most common hard disk name in MS-DOS and the Wndows shell.
The correct answer is of course that c stands for option c in a multiple choice question.
Which leads up to this question:
What does "C" stand for in the meme/idiom "It's always c"
a) Chocolate
b) A chord progression to C
c) The option c) in a multiple choice question
d) The primary hard disk on a computer running MS-DOS or the Windows shell.
It's not in the startup folder, it's not something that is left open when closing windows, and it's always C:\Program
Läs mer: "It's always c" - Google-sökning
2009-06-11
Vad som spekuleras om Flight 447 just nu
Jag var inne på forumen på pprune.org och tittade. Och en del spekulationer pekar just nu mot en in-flight breakup. Idén är att planet får felaktig hastighetsinformation, och tror att det håller på att falla ur skyn av för låg hastighet. Planet ökar då hastigheten till en punkt där planet inte klarar av den häftiga aerodynamik som uppstår kring ljudvallen, och planet går i bitar. Anledningen till hastighetsförvirringen kan t ex vara blockerade pitot rör. Pitot rör är rör med den öppna änden framåt, som mäter hur stark fartvinden är.
Se: Air France byter ut hastighetsmätare
Hur väl testade är heldatoriserade plan med redundanta system för möjliga variationer i input? Här är ett paper som funderar på det:
Redundans kan göras på flera sätt vilket ger olika effekter.
Jag har också undrat varför man inte kunnat dra så många slutsatser av de sensorraporter som planet skickat. Nu påstås i nedanstående citat att en del sensor- och konfliktapporter inte skickas direkt "när det händer" utan verifieras under en tid innan de skickas. Om den tiden ör olika för olika typer av signaler så kan tidsstämplarna vara annnorlunda än händelseordningen. Men det måste de väl kunna klura ut, eller?
A triggering event detected by the BITE function of a computer corresponds to a change in state of a functional variable of the application software of this computer. This event triggers a fault isolation and memorization process. In order to avoid unwanted triggering of this process, the change in state of the examioned variables is only taken into account after a certain confirmation time dependant on the variable in question.
Läs mer: AF447 - Page 61 - PPRuNe Forums
2009-06-06
SELinux may make two "identical" files be different
...insofar as you can't tell them apart with ls -l or even diff. I scratched my head recently when upgrading and moving a legacy PHP system, when two identical files behaved quite differently, eventhough diff and ls -l reported no differences whatsoever. But one had different SELinux attributes on it that you can't see with ls -l. It got them because it had been unpacked in a user's home directory (which easily happens when you do an scp and unpack before move), and this made SELinux tag it in a special way. Check the below link for the full(er) story of how to check for these kinds of things:
You can confirm that SELinux is causing the problem by turning SELinux off temporarily (run the command setenforce 0 as root) and try the operation. If it succeeds, likely SELinux is the culprit. (I'm assuming that this is a development setup, not a production machine
Läs mer: SELinux may cause mysterious permission problems | drupal.org
Recent Comments
2009-06-27 21:05:05
2009-06-26 06:34:13
2009-06-07 08:44:17
2009-06-07 07:47:39
2009-06-06 18:24:36
2009-06-05 08:57:51
2009-05-08 08:34:18
2009-05-07 06:47:00
2009-05-06 22:14:06
2009-05-06 21:23:08