Archives 2005 - 2019    Search

Länk - Datorn som hands-free adapter till bluetoothmobiltelefonen

published Jun 29, 2009 12:21   by admin ( last modified Jun 29, 2009 12:21 )
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


Faran med flaskhalsar på Internet

published Jun 27, 2009 03:52   by admin ( last modified Jun 27, 2009 03:52 )

...ä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


En miljon har fått svinfluensa i USA

published Jun 26, 2009 11:11   by admin ( last modified Jun 26, 2009 11:11 )

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.



Läs mer: IndyStar.com | AP National | The Indianapolis Star


Medeltemperatur på minus 60 grader? Tillåt mig tveka

published Jun 25, 2009 11:30   by admin ( last modified Jun 25, 2009 11:30 )

Uppdatering 2009-06-26: Som Lennart påpekar i kommentarerna så står det under vinterhalvåret vilket jag missade. Dock blir det inte -60 grader ändå. -58 grader under vinterhalvåret är det faktiskt, vilket iofs kan avrundas till minus 60, så min kritik faller.

 

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


Länk - TinEye - hitta var bilden du har finns på nätet

published Jun 24, 2009 10:03   by admin ( last modified Jun 24, 2009 10:03 )
TinEye is a reverse image search engine.



Läs mer: TinEye Reverse Image Search


Benfords lag

published Jun 22, 2009 11:17   by admin ( last modified Jun 22, 2009 11:17 )

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


Länk - Genomgång om vad en hackad dator kan användas till

published Jun 15, 2009 10:33   by admin ( last modified Jun 15, 2009 10:33 )
The Scrap Value of a Hacked PC



Läs mer: Security Fix - The Scrap Value of a Hacked PC


"It's always c"

published Jun 13, 2009 04:50   by admin ( last modified Jun 13, 2009 04:50 )

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


Vad som spekuleras om Flight 447 just nu

published Jun 11, 2009 10:15   by admin ( last modified Jun 11, 2009 10:15 )

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:

The Dangers of Interaction with Modular and Self-Healing Avionics Applications:
Redundancy Considered Harmful
(pdf)

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


SELinux may make two "identical" files be different

published Jun 06, 2009 11:10   by admin ( last modified Jun 06, 2009 11:10 )

...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


Turbulens för olika flygplan

published Jun 04, 2009 09:22   by admin ( last modified Jun 04, 2009 09:22 )

Svenska Dagbladet redovisar en teori om att Rio-Paris-flighten kan ha flugit för sakta för att minska effekten av turbulens. Jag kollade för några veckor sedan runt på nätet om turbulens, och att sänka hastigheten är ett sätt att mildra luftgroparna för passagerarna. Jag antar att detta beror på att man kan se turbulens som att flyga igenom luft där luften varierar i lufttryck och i vertikal hastighet. Ju snabbare man flyger igenom ett sådant område, desto snabbare far man igenom förändringen (gradienten), och desto kraftigare blir luftgroparna, eftersom de trycks ihop i tiden. Om man flyger tillräckligt långsamt skulle det ju bara bli som att åka hiss.

Ett annat sätt att minska effekt av turbulens är att flyga i ett plan med hög wing loading, viket i princip betyder små vingar i förhållande till planets vikt. Ju mindre vingar, desto mer blir planet som en sten som håller sig uppe på motorkraft. Och en sten är ju inte så känsig för turbulens. Jag har upplevt några väldigt mjuka flygningar på SAS gamla McDonnell Douglas MD-80 (en flygplanstyp som är en förlängd DC-3:a, jag menar DC9:a :) .

 

Jag verkar få medhåll på Why Are MD-80s So Smooth In Flight? — Tech Ops Forum | Airliners.net:

In SAS,we've got both 737 NG's and the MD-series.There is no doubt about it, the MD's are a lot more stable than the NG's in turbulence.The 736,especially,wallows all over the sky in turbulence.The main reason is that it's yaw damper does not have the rapid rate of damping as the MD one has,and this combined with the wingspan being longer than the fuselage lenghth makes for a very uncomfortable ride.The -700 is marginally better,while the -800 is quite good due to the longer distance from the CG to the fin and rudder.This imparts a stronger authority to the rudder/yaw damper.
But it is still inferior to the MD's,especially the MD-90.

Jag antar att moderna trafikflygplan går mot låg wing loading, dvs stora vingar, för att få bättre bränsleekonomi.

Det finns en hel webbsajt som bara handar om vad för turbulens det finns och kommer att finnas i luftrummet, turbulenceforecast.com. Spana in den här kartan, t ex eller kanske bättre den här detaljerade för Europa.

På diskussionforumen på Internet är det däremot delade meningar om storleken på planet spelar roll för luftgropar, många menar att det inte gör det. För båtar spelar det ju roll, men de tillryggalägger ju mycket mindre sträcka per sekund i förhållande till sin längd än vad ett jetplan gör.

 
- Det första man gör när man flyger in i turbulens är att sänka farten för att minska effekten. Men om man bromsar för mycket så stegrar sig planet. Om BEA rekommenderar piloterna att inte bromsa för mycket, så betyder väl det att Rio-Paris-flighten bromsade för mycket? frågade Serrat.



Läs mer: Nya teorier kring flygkraschen | Utrikes | SvD


Kolnanorör kan göra kompositer blixtsäkra

published Jun 04, 2009 08:50   by admin ( last modified Jun 04, 2009 08:50 )

Genom att använda kolnanorör så kan man sy ihop kompositer bättre än med nål och tråd, och dessutom blir materialet elektriskt ledande, vilket kan var bra i flygplan, då man idag i nya plan måste lägga in metall för att säkra planen mot blixtnedslag, ett problem som diskuterats en del nu i samband med spekulationer om vad som fick Air France-planet att störta utanför Brasilien.

That means aeroplanes built with such materials would be able to disperse lightning strikes rapidly, avoiding electrical damage during storms as well as being better protected against whatever wind and rain can throw at them.



Läs mer: Monitor: A stitch in time | The Economist


Missvisande rubrik i SvD

published May 31, 2009 01:21   by admin ( last modified May 31, 2009 01:21 )

I dagens nätupplaga av Svenska Dagbladet kan man läsa följande rubrik: Oppositionen sågar Björklund-förslag | Politik
När man sedan läser texten så visar det sig att det är v som sågar och mp, men inte s. Det är därför felaktigt att säga att "oppositionen" sågar förslaget, då socialdemokraterna är den klart största delen av oppositionen. Man borde istället skrivit "Opposition sågar Björklund-förslag", eller något åt det hållet. F ö, är det bara Björklund som står bakom, det är det väl inte?

Lika kritiska är dock inte Socialdemokraterna. Partiets utbildningspolitiska talesperson Marie Granlund ser inga större förändringar mot dagens skollag.

Läs mer: Oppositionen sågar Björklund-förslag | Politik | SvD


Interaktiv karta: Se vilka länder som röstar på varandra i Schlagerfestivalen

published May 26, 2009 11:55   by admin ( last modified May 26, 2009 11:55 )

Norska Verdens Gang har gjort en karta i flash där man kan klicka på ett land och se vilka länder detta land historiskt sett har gett mest poäng.

De har ingen sjanse mot hurtige popsanger. Det er fordi danskene har forventninger om at det skal være godt humør og fest når det er Melodi Grand Prix.



Läs mer: Det store danskesviket - VG Nett om Melodi Grand Prix


Länk - Hur man inte gör telemarketing

published May 22, 2009 02:03   by admin ( last modified May 22, 2009 02:03 )
The sheer volume of these robocalls – tens of millions a week – was staggering. “We think they were just dialing every phone number in the U.S. more or less in order,” says Steve Baker, an attorney for the FTC. They even called Secret Service offices and 911 dispatchers.



Läs mer: ConsumerMan: Big robocall scam shut down - ConsumerMan- msnbc.com


How to get Firefox to not Proxy SSL (https) with FoxyProxy

published May 22, 2009 01:31   by admin ( last modified May 22, 2009 01:31 )

Summary: Install FoxyProxy. Go to Tools->FoxyProxy->Options in the Firefox menus. Add a new Proxy. Call it "NoSSL". Configure it to use the proxy you want.  Edit that proxy under URL patterns to blacklist all URLs that starts with "https://*". Then select Go to Tools->FoxyProxy->Use "NoSSL" for all URLs from the Firefox menus.

I am typing this from a train which has free WiFi included in the ticket price. The networks is unencrypted, so anyone can poetntially spy on my traffic. I therefore tunnel my http requets with SSH (Putty in my case) to a server where I have a simple proxy installed. I simply tell Firefox that the proxy is at localhost:9119 and then tunnel that with putty to my proxy server.

Unfortunately my proxy server is pretty basic and cannot proxy https (SSL) requests, and it does not need to really, because these are already encrypted from my latop and need not make the trip over my server. So how do I tell Firefox to only proxy http requests but not https (SSL)?

I could not figure out how to do it in Firefox standard proxy dialog. I suspect it is not posible. There is however an add-in for Firefox called FoxyProxy. It can do more advanced stuff. It was not that obvious how to do it, but I realized that a FoxyProxy blacklist does not kill those urls, it just does not proxy them; they go out on the network unproxied. So, as per the summary above:

Install FoxyProxy. Go to Tools->FoxyProxy->Options in the Firefox menus. Add a new Proxy. Call it "NoSSL". Configure it to use the proxy you want.  Edit that proxy under URL patterns to blacklist all URLs that starts with "https://*". Then select Go to Tools->FoxyProxy->Use "NoSSL" for all URLs from the Firefox menus.

FoxyProxy is a free, open-source advanced proxy management tool that completely replaces Firefox's limited proxying capabilities. It automatically switches an internet connection across one or more proxy servers based on URL patterns.


Läs mer: FoxyProxy


SJ: "Du har valt att resa med mobilbiljett"

published May 21, 2009 12:55   by admin ( last modified May 21, 2009 12:55 )

 

Nej jag har inte valt att resa med mobilbiljett. Jag fyllde bara i alla fält som var markerade med (*) och därmed obligatoriska.

Ok, nu har jag köpt en biljett till, och jag hade kryssat i mobilbiljett på första sidan, så det var väl OK, men nedanstående punkter gäller dock:

Märklig idé det där med att man ska gissa vilka platser som är lediga från en PDF-fil och fylla i ett förslag.

Bekräftelsesidan anger inte

  • Vart man reser
  • Var man reser från
  • När man reser

 

Det finns en länk till ett kvitto, men man måste upptäcka den inom 12 minuter, annars så går det inte att få ett kvitto. Någon e-postbekräftelse har jag inte fått. Jag har nu med varsam hand kopierat ut beställningsnumret från den i övrigt intesägande bekräftelsesidan. Jag minns var jag ska resa från ,men inte exakt när. Med lite tur får jag reda på det 24 timmar innan avresan...


FreeOTFE - ett alternativ till TrueCrypt

published May 21, 2009 11:44   by admin ( last modified May 21, 2009 11:44 )
FreeOTFE and FreeOTFE Explorer both have a the same aim - the secure storage of bulk data, while making it readily accessable to authorised users.

Ett populärt val för att kryptera en hårddisk är TrueCrypt. Ett alternativ med öppen källkod är FreeOTFE. Jag har inte provat det.

Läs mer: FreeOTFE


The future of news business is easy to see

published May 17, 2009 07:16   by admin ( last modified May 17, 2009 07:16 )

...if you bear in mind what the difference between mass communication and the new communication landscape is. In the old mass communication landscape, a few people produced for the masses.


In the new landscape, everybody can be a publisher, and everyone expects communication to be two way. This leads to the follwoing pieces of advice for the journalists and editors of the media of the future:

 

  • Your target group will not be hundreds of thousands of people, and certainly not millions. You cannot keep track of that many people, and interact with them or remember something about them,. Your future target group is a couple of hundred people, a couple of thousands tops.
  • You need to create value for these people. Value is something that you in this case cannot dig up on your own and just present to your audience, rather it must grow in dialog and in cooperation with these people.
  • ...which means you are creating a community. Watch The Guardian, they already have a dating site, sporting people whose lifestyles and values are similar to the Guardian's own. And The Guardian charge for people to be a part of this (somewhat specialized) community.
  • You cannot charge for mass communication. Mass communication will be the free by-product of community communication

 

 

Read more: Online news: the future's networked | Media | guardian.co.uk

 

"The moral is simple: eventually someone will figure out a business model that works for online news. But it may take some time, and lots of outfits will fall by the wayside in the meantime. That's capitalism for you."

 


Svenska ungdomar mer logiska idag

published May 13, 2009 09:24   by admin ( last modified May 13, 2009 09:24 )

Det här har jag förutspått ett tag: Att ungdomar av idag är mer logiska än tidigare generationer. Jag tror det beror på Internet och dataspel. Den tidigare TV-generationen fick nöja sig med att titta  på TV och leva med, samt att interagera med saker i den verkliga världen. Den nya generationen har spelat dataspel (som är byggda av logik) och har tillgång till mycket mer logiskt strukturerad kiunskap via Internet. Den forskare de intervjuar ser ökad logisk förmåga som något bra. Och det kan det väl ofta vara, men det kan också leda til det som Nicholas Nassim Taleb kallar Ludic Fallacy, och skulle eventuellt kunna ge sämre "people skills" om det tränger ut något annat.

The most recent study, which was reported in the new issue of Journal of Swedish Educational Research, shows that today’s teenagers are achieving demonstrably better results in the logic test than was the case fifty years ago.



Läs mer: Teenagers Are Becoming Increasingly Logical, Swedish Study Finds