Kategori: Nyheter

JavaScript – The language without context.

The peanut You received a peanut. You do not have the context. There is no way you know why you received a peanut and what to do with it.If you feel hungry and I have peanuts, you ask me for a peanut, you get a peanut and you eat it. That is context.Lets say you want to do other stuff while you wait for a peanut. You want to surf on your phone. You feel hungry, you say ”I am hungry, can anyone give me a peanut”, and then you start surfing on your phone. I hear your message and I have peanuts, I give you a peanut. When you receive a peanut, then you eat it.Now you do not need to know the extended context. It has been reduced to: ”When you receive a peanut, then you eat it.”. I saw that you reacted this way and found it amusing, so I gave you another peanut, and another…The Chinese businessmen A group of Chinese businessmen have traveled to Sweden to look at a secret new prototype that the Chinese company are developing in Sweden. All information is in need to know basis.The Chinese businessmen have traveled far, they are tired and hungry. Their secret task is to measure the prototype and call a secret buyer and relay the information. If the buyer say OK then the prototype will be shipped to the buyer. The Chinese businessmen are met at the factory by a very polite person. - I am your personal contact person. I will always be at your side while you are here at the factory. The prototype is in the storage. If you give me instructions what to do with the prototype then I promise to execute them.The Chinese businessmen really needed the prototype so they said: - Your instructions are to bring the prototype back here. We will wait. - Yes, I understand.The contact person smiled and stood absolutely still.What can we learn from the peanut and the prototype? In JavaScript there is no way you can hide your context. If you try then you end up with a peanut in your hand and a smiling Swede at your site.(mer …)

Smart telefon

Poängen med att ha en smart telefon är att du kan ta hand om din vardag mycket enklare. I vissa avseenden finns det snart inget alternativ till en smart telefon. Den app som är oumbärlig är Mobilt BankID. Den finns tillgänglig för tre mobila operativsystem. Du kan därmed välja mellan en iPhone från Apple eller en Andriod från Google eller en Windows Phone från Microsoft. I övrigt är det kört eftersom Mobilt Bank ID är navet i din mobila vardag.(mer …)

PGP – Pretty Good Privacy

PGP - Pretty Good Privacy hjälper dig att kryptera dina filer, dina meddelanden, dina epost. Om du programmerar i PHP så finns det stöd för GnuPG (Öppen version av PGP) kryptering.I den här texten får du en lista med kommandon hur du använder GnuPG på din dator. Med GnuPG kan du kryptera dina texter och binärfiler för personligt bruk, eller kryptera en kopia av din fil så bara en specifik mottagare kan dekryptera filen.Alla kommandon kommer från den officiella GnuPG manualen.(mer …)

Canvas fingerprinting

Påhittigheten hur du ska kunna bli identifierad på nätet är oändlig. Ett sätt som är svårstoppat är Canvas fingerprinting. Det går ut på att javascript på sidan du besöker använder Canvas för att rita något och sedan räkna ut ett ID.Canvas är ett grafiskt område där du med hjälp av Javascript kan rita och till slut skapa tex spel. Mycket användbart. Det är många delar i ett grafiskt system. sammantaget gör det att grafiken som ritas inte blir helt identisk mellan olika datorer. Det finns många variationer. Så med hjälp av dessa variationer kan man då räkna fram ett hyffat ok ID på ditt system. Det IDt och data om vad du gör på webbsidan kan då delas med andra webbsidor som då vet vaD din dator har besökt och gjort. Läs mer fakta på Wikipedia (engelska) om Canvas fingerprinting.Här är en Canvas fingerprint detektor så du kan se vad som kan hittas på din dator med Canvas fingerprinting. (mer …)

Bättre lösenord

Det finns inget som heter bra lösenord. Lösenord borde aldrig mer användas. Men vi är i en värld full av lösenord och det enda vi kan göra är att göra det så säkert som möjligt med vad vi har. Regler…

Aktivera .htaccess i Apache

htaccessOm du använder web-servern Apache 2 har du möjlighet att göra omfattande konfigurationer så den till slut gör som du vill. Om du inte har tillgång till konfigurationsfilerna så finns det ett nöd-system som eventuellt är aktiverat: htaccessIfall du har tillgång till web-serverns konfiguration och vill aktivera det här nödsystemet för dina användare på Ubuntu 16.10 så kan du göra så här:(mer …)

Pokemon Go – New features

pokemongoI am a collector, my friends are collectors - we collect Pokemons. When we have all evolutions on a Pokemon we do not want to see that Pokemon again.Collectors do not care much about how powerful the Pokemos are or their abilities. Gyms are not interesting.The fun is to find new Pokemons and to evolve Pokemons and hatch eggs.So as a collector I would like to see some of these features in Pokemon Go.(mer …)

Magento 2 – Installera lokalt

Magento-logoMagento är en e-handelsplattform som nu i slutet av 2015 kom i en länge väntad version 2. Jag ska installera den versionen och lära mig alla finesser som finns för att ta certifieringen "Solution specialist". Den här artikeln handlar om installation av Magento 2. Häng med!(mer …)

CharZam