perjantai 29. joulukuuta 2017

Vuoden 2017 Spotifylista

Vuosittain näihin aikoihin teen ystävieni iloksi/kauhuksi soittolistan vuoden (minun mielestäni) parhaista kappaleista. Ajattelin jakaa sen nyt teidänkin kanssa, jos vaikka joku sattuisi löytämään jotain uutta ja mielenkiintoista.

Tässä se nyt on / Year 2017 we make <17

Alkupäässä rauhallisempaa materiaalia ja indielätkyttelyä, keskivaiheilla muutamia suomalaisia ja ruotsalaisia kappaleita, sekä muutama hiphoppi, listan loppuosa on olevinaan jotain konemusaa.

Aikasempien vuosien listat:

Year 2016 we make <16

Year 2015 we make <15

Year 2014 we make <14

Year 2013 we make <13

Year 2012 we make <12

Year 2011 we make <11

Year 2010 we make <10

2016 vuoden ketju

2015 vuoden ketju

Mukavaa vuoden vaihdetta kaikille! Kiitos ja anteeksi...

submitted by /u/wantex to r/Suomi
[link] [comments]

torstai 28. joulukuuta 2017

Most productive JavaFX framework?

What framework is the most productive to you?

submitted by /u/Auxire to r/JavaFX
[link] [comments]

GitHub’s “Squash and Merge” doesn’t Squash and doesn’t Merge! Trade-offs with Merging

submitted by /u/Grahar64 to r/programming
[link] [comments]

Naivecoin: a tutorial for building a cryptocurrency

submitted by /u/voileipa to r/programming
[link] [comments]

How to hack a turned-off computer, or running unsigned code in Intel ME

submitted by /u/BoterinoOliver to r/programming
[link] [comments]

Seeing Like A Perceptron

submitted by /u/Bhima to r/programming
[link] [comments]

Dumping a PS4 Kernel in "Only" 6 Days

submitted by /u/ROU_Gravitas to r/programming
[link] [comments]

keskiviikko 22. marraskuuta 2017

Own your browsing with Firefox Quantum

submitted by /u/nachoparker to r/linux
[link] [comments]

Programming Languages for Data Science and ML - With Source Code Illustrations

submitted by /u/psangrene to r/programming
[link] [comments]

🗺 High Quality GeoJSON maps programmatically generated. (Click on images to show a preview)

submitted by /u/simonepri to r/programming
[link] [comments]

Is there a low cost or free program to hide my IP without slowing everything down?

I don't want google and facebook selling my information, or any other organization monitoring me.

I tried the tor browser but I was told that was too slow and meant for the dark web. HideMyAss seemed slow too.

Any good options out there now? I'm a noob with security.

Thanks for any help guys.

(Edit: come to think of it. Is there any camera's I can set beside my window 30 feet away and have a live feed on my laptop and record? I saw a few on Amazon but some looked cheap and others came with a bunch of camera's and a dvr.)

submitted by /u/John25255 to r/security
[link] [comments]

Linus Torvalds: “Do No Harm”

submitted by /u/sidcool1234 to r/programming
[link] [comments]

tiistai 14. marraskuuta 2017

There are over a billion outdated Android devices in use

There are over a billion outdated Android devices in use submitted by /u/0rakel to r/Android
[link] [comments]

Firefox 57.0 Released

Firefox 57.0 Released submitted by /u/qznc_bot to r/hackernews
[link] [comments]

Firefox 57 "Quantum" Is Here, And It's Awesome

Firefox 57 "Quantum" Is Here, And It's Awesome submitted by /u/motang to r/Ubuntu
[link] [comments]

Firefox 57 has been released, the biggest update of all time!

submitted by /u/aexl to r/linux
[link] [comments]

Firefox Quantum 57 Is Here To Kill Google Chrome: Download For Windows, Mac, Linux

Firefox Quantum 57 Is Here To Kill Google Chrome: Download For Windows, Mac, Linux submitted by /u/okneil to r/firefox
[link] [comments]

Doggerland, the Europe That Was (1015 x 1486)

Doggerland, the Europe That Was (1015 x 1486) submitted by /u/sylvyrfyre to r/MapPorn
[link] [comments]

maanantai 13. marraskuuta 2017

Datasette: instantly create and publish an API for your SQLite databases

submitted by /u/simonw to r/programming
[link] [comments]

WebAssembly support now shipping in all major browsers

submitted by /u/whysoserious666 to r/programming
[link] [comments]

Add-ons to WebExtensions preparation guide for the Firefox 57 "Quantum" upgrade.

I thought it would be a good idea to make together a quick add-ons to web extensions guide and be ready for the Firefox Quantum upgrade tomorrow.

I will begin with important security and privacy addons and their webextension status and what I find out so far.

Security and Privacy addons status:

  • HTTPS Everywhere -> WebExtension available
  • uBlock Origin -> WebExtension available
  • Decentraleyes -> WebExtension available
  • uMatrix -> WebExtension available
  • Privacy Badger -> WebExtension available
  • Random Agent Spoofer -> Support is stopping with Firefox 57. User-Agent Switcher is a webExtension alternative.
  • Self-Destructing Cookies -> Not ready for Quantum at this time. Cookie AutoDelete is a WebExtension alternative.
  • NoScript -> The author is apparently working on a WebExtension version but it's not ready yet according to a dedicated thread about this on the NoScript forum.
  • RefControl -> Referrer Control/Smart Referrer

Mainstream popular addons status:

  • Reddit Enhancement Suite -> WebExtension available
  • Greasemonkey -> WebExtension Available or Violentmonkey

Any new relevant informations or corrections to improve this guide will be welcome. I will update this guide as often as possible. Thank you!

submitted by /u/StraightFlush777 to r/linux
[link] [comments]

tiistai 31. lokakuuta 2017

Ubuntu drops Unity Desktop, stops releasing 32 bit Desktop ISO's and python 2.6 is not installed by default anymore - Checkout this quick 3 minute review of Ubuntu 17.10 to know what has changed with the new release.

submitted by /u/oschannel to r/linux
[link] [comments]

#naistenpalkkapäivä - Miksi tästä vieläkin puhutaan?

Näin olen asian itse ymmärtänyt:

  • miehet ja naiset saavat käytännössä samaa palkkaa samasta työstä (erityisen totta Pohjoismaissa)
  • "palkka-ero" löydetään, kun lyödään kaikki miehet ja naiset samaan taulukkoon, eikä oteta huomioon sukupuolivinoumia eri aloille (eri palkka-tasoille) ja työtuntien määrää
  • tällä laskutavalla nainen tienaa 10 vuoden aikana väkisinkin vähemmän, jos sattuu pitämään äitiyslomia yms, vaikka palkka olisi täsmälleen sama miehen kanssa
  • miehet tekevät tuntimääräisesti enemmän töitä (ylitöitä)
  • miehet vaativat palkankorotuksia naisia aktiivisemmin

Näin karkeana yleistyksenä siis. myöskin monessa valkokaulusfirmassa on hyvin läpinäkyvä palkkaus tänäpäivänä, jossa jokainen tietää jokaisen pohjapalkan, mihin lyödään sit tulosbonarit päälle. Ihan sama mitä siellä jalkojen välissä on.

Tässä nyt täytyy olla jotain, mitä missaan. Valistakaa nyt vähän.

submitted by /u/Bc2CG8294Qcb to r/Suomi
[link] [comments]

sunnuntai 29. lokakuuta 2017

What's the point of Ubuntu now that it's dropped Unity?

Ubuntu is built using a 6+ month old snapshot of unstable Debian packages. Ubuntu now defaults to the GNOME desktop. Debian defaults to the GNOME desktop (though like other distributions they have multiple options instead of GNOME).

With Ubuntu you get a release every 6 months, and a new LTS version every 2 years. With Debian you get an LTS release around every 2 years (but only "when ready/stable"), but you can also follow a rolling-release version (release+1, aka 'testing'), which still receives security updates and is treated with priority.

What's the value add for Ubuntu now? A firewall wrapper for iptables? AppArmor installed by default? Why do you choose Ubuntu over Debian?

submitted by /u/randomredditor854635 to r/linux
[link] [comments]

perjantai 27. lokakuuta 2017

keskiviikko 25. lokakuuta 2017

An ode to pack: gzip’s forgotten decompressor

submitted by /u/kindstrom to r/programming
[link] [comments]

Time-series data: PostgreSQL 10 vs. TimescaleDB (xpost r/postgres)

submitted by /u/RobAtticus to r/programming
[link] [comments]

Saying Goodbye to Firebug

submitted by /u/magenta_placenta to r/programming
[link] [comments]

JBoss WildFly 11 is now available!

submitted by /u/thesystemx to r/programming
[link] [comments]

AMP, PWAs, HTTP/2 and Service Workers: A New Era of Web Performance?

submitted by /u/VetterNerd to r/programming
[link] [comments]

lauantai 21. lokakuuta 2017

Noise reduction with RawTherapee or Darktable?

I keep spending hours trying to coax a better image from my RAWs, only to end up using the JPGs anyway. Which is a shame, because I'd love to make use of the better possibilities of correcting white balance and exposure in particular.

My main problem is that the in-camera noise reduction always seems to be so much better than what I am able to achieve manually with either of those two programs.

A minor point is that I am also disappointed by the lens correction, which is a bit of a hit and miss. I seem to recall being amazed by Canon's own DPP lens correction - straight lines were suddenly straight and the image seemed to pop just after that.

I wonder if I am doing something profoundly wrong or if I am expecting too much from the software.

I do have vanilla material: an EOS 600D with standard Canon EF-S lenses 10-18 mm, 18-55mm kit, 55-250 mm and a Sigma 30mm/1.4 Art. So normally the lens correction should be straightforward. The lenses are also supported by the lensfun database and show up on the menus. It is more that I apparently don't know how to use the correction properly.

I'm using both programs with Linux Mint on a recent machine. This has been my frustration for years with several computers though. I have tons of RAW images on my hard disk I'd love to get some use from.

Anybody got an idea where I go wrong or links to tutorials which address these points?

submitted by /u/xrimane to r/photography
[link] [comments]

torstai 19. lokakuuta 2017

GrapesJS - Free and Open Source Web Builder Framework

submitted by /u/based2 to r/programming
[link] [comments]

Olen julkaissut 1425 instrumentaaliani ilmaiseksi Creative Commons 3.0 By lisenssillä eli voit käyttää niitä ihan miten vain, kunhan vain mainitset minut (Antti Luode) youtube kuvauksessa / lopputeksteissä.

Soundclick:

http://bit.ly/2l3MW0z

1425 instrumentaalia google drivessä:

http://bit.ly/2xQSql4

Torrent 1369 instrumentaalin:

http://bit.ly/2eOhAVt

Pistäkää linkki jakoon!

Bittorrenttien lataamiseen tarvitset torrent ohjelman:

http://bit.ly/2eOhBbZ

Näitä on käytetty peleissä:

Starship theory (Steam), Park Bound (steam), Space Dominion by Forcebox Games (PC nyt alpha, demo ulkona), Dot Hopper, Bubbles Pang (Android), Voyage to paradise (android), Tiltroid (Android), Timing Jump Jump ja Colorfall (Anrdroid) ja web peleissä.

Ja youtubessä vlogeissa kuten KyleLe.net kanavalla:

http://bit.ly/2xe2QK3

Ja Mikko Orasuon kanavalla:

https://www.youtube.com/channel/UCGJuRfb-tdUOVj9ReMU5yiQ/videos

Blogini jossa julkaisen instrumentaalit ja FLstudio FLP tiedostot:

http://bit.ly/2xdTzl5

submitted by /u/Mrloop to r/Suomi
[link] [comments]

keskiviikko 18. lokakuuta 2017

Koulukiusaamisen vaikutus elämään

Nyt on aika avautua tästä ikuisesta aiheesta hieman. Alkuun haluan sanoa, että en ole erityisen katkera tai syytä kaikista vastoinkäymisistä kiusaamista. Tiedostan kuitenkin, että se on minuun paljon vaikuttanut.

Olin koulukiusattu lähes koko peruskoulun ajan. Minua haukuttiin ties millä nimillä, lyötiin, potkittiin ja uhkailtiin. Koululle oltiin yhteydessä, ja jotain siellä yritettiinkin asialle tehdä, mutta mikään ei auttanut. Jouduin kestämään tätä päivittäin lähes vuosikymmenen ajan. Pelkäsin mennä kouluun, itsemurhaakin yritin. Olen vasta jälkeenpäin tajunnut miten masentunut olinkaan monia vuosia. Eihän sitä tunnistanut kun se oli "normaalitila".

Koulukiusaaminen vaikutti kehitykseeni varmasti negatiivisesti. Kouluiässä ihminen kehittyy henkisesti paljon, mutta minun kohdallani kehitys ei ehkä mennyt ihan nappiin. Olen hyvin kieroutunut, mutta samalla kovin epävarma, vaikka näyttelenkin vahvaa ja kestävää ihmistä.

Ehkä osin kiusaamisen takia päädyin käyttämään huumeita ja alkoholia enemmän kuin pitäisi. Pääosin sentään kuluu vain kannabista, mutta toisinaan myös opiaatteja, essoja ja rauhoittavia. Psykedeelejäkin käytän, mutta en hyvän olon takia, vaan ikään kuin masennuslääkkeenä ja tapana oppia tuntemaan itseni paremmin. Kun ei kunnolla osaa tuntea iloa muuten kuin päihteiden avulla, miksi edes olla ilman? Kiusaamisen takia ainoa tunne jota tunsin vuosiin, oli viha. Edelleen positiiviset tunteen ovat vaikeita saavuttaa selvin päin. Minulla onkin diagnosoitu vakava masennus.

Jo ala-asteella yritin ensimmäisen kerran itsemurhaa. Suunnittelin pitkään myös kiusaajieni hävittämistä lopullisesti. Rehellisesti sanoen, en usko, että katuisin sitä vieläkään. Ylä-asteella minulla oli aina mukanani puukko, sillä en kokenut oloani turvalliseksi koulussa.

Ainoa asia, jonka kiusaaminen minulle opetti, on että asioita ei aina voi ratkaista puhumalla. Toisinaan väkivalta on ainoa ja paras keino. Ihmiset ovat julmia, ja täytyy itse välillä olla julma selvitäkseen. Koen, että kiusaaminen on vaikuttanut minuun paljon, eikä hyvällä tavalla. Käyn terapiassa ja syön masennuslääkkeitä.

Toivon, että jos joku kiusaaja tai sivustakatsoja tämän lukee, niin lopettakaa se kiusaaminen. Älkää tuhotko toisten elämää. Antakaa muiden elää rauhassa. Älkää päästäkö ketään samaan jamaan minun kanssani. Te olette osavastuussa, etenkin kun kyse on kasvuikäisestä. Taistelkaa kiusaamista vastaan!

submitted by /u/Koulukiusattutyyppi to r/Suomi
[link] [comments]

maanantai 9. lokakuuta 2017

DxO is giving away DxO Opticspro 11 for free! What're your thoughts? Does anyone know if it's good?

I think I'm going to try it out. Does anyone like it better than lightroom? Also, does anyone have any recommendations on ways to use it(for example culling or just post-processing)?

You can get it at http://bit.ly/2xu2QCc

submitted by /u/Dbss11 to r/photography
[link] [comments]

perjantai 6. lokakuuta 2017

But what *is* a Neural Network? | Deep learning, Part 1

submitted by /u/AnsikteBanana to r/programming
[link] [comments]

I'm the Monopoly Man that trolled Equifax -- AMA!

I am a lawyer, activist, and professional troublemaker that photobombed former Equifax CEO Richard Smith in his Senate Banking hearing (https://twitter.com/wamandajd). I cause-played as the Monopoly Man to call attention to S.J. Res. 47, Senate Republicans' get-out-of-jail-free card for companies like Equifax and Wells Fargo - and to brighten your day by trolling millionaire CEOs on live TV. Ask me anything!

Proof:

submitted by /u/wamandajd to r/IAmA
[link] [comments]

Latvia’s cellphones stopped working. Russia’s war games may be to blame.

submitted by /u/Zionist-Neocon-Trot to r/worldnews
[link] [comments]

Build a Serverless Email Sending Script with Google Cloud Functions and MailGun

submitted by /u/protechig to r/programming
[link] [comments]

Building and using a 29-year-old compiler on a modern system

submitted by /u/mmaltsev to r/programming
[link] [comments]

keskiviikko 20. syyskuuta 2017

832 TB – ZFS on Linux – Configuring Storage: Part 3

submitted by /u/5mall5nail5 to r/linux
[link] [comments]

W3C Rejected Appeal on Web DRM. EFF Resigns from W3C

EME aka Web DRM as supported W3C and others has the very real potential of Locking Linux out of the web, especially true in the Linux Desktop Space, and double true for the Fully Free Software version of Linux or Linux running on lesser used platforms like powerPC or ARM (rPi)

The primary use case for Linux today is Web Based technology, either serving or Browsing. The W3C plays (or played) and integral role in that. Whether you are creating a site that will be served by Linux, or using a Linux desktop to consume web applications the HTML5 Standard is critical to using Linux on the Web.

Recently the W3C rejected the final and last appeal by EFF over this issue, EME and Web DRM will now be a part of HTML5 Standard with none of the supported modifications or proposals submitted by the EFF to support Software Freedom, Security Research or User Freedom.

Responses

Other Discussions here in /r/Linux

submitted by /u/the_ancient1 to r/linux
[link] [comments]

EFF is resigning from the W3C due to DRM objections

submitted by /u/GeneticGenesis to r/programming
[link] [comments]

World Wide Web Consortium abandons consensus, standardizes DRM with 58.4% support, EFF resigns

submitted by /u/MeowMixSong to r/technology
[link] [comments]

sunnuntai 10. syyskuuta 2017

Game Engine Black Book postmortem

submitted by /u/bemmu to r/programming
[link] [comments]

Olen julkaissut 1369 instrumentaaliani ilmaiseksi Creative Commons 3.0 By lisenssillä eli voit käyttää niitä ihan miten vain, kunhan vain mainitset minut (Antti Luode) youtube kuvauksessa / lopputeksteissä.

Torrent 1369 instrumentaalin: (UUSI)

http://bit.ly/2eOhAVt

Pistäkää linkki jakoon!

Torrentti 1081 instrumentaaliin (Kiitokset Aizomelle reddit Gamedevissä): (tällä on enemmän jakajia)

http://bit.ly/2xdALCB

Bittorrenttien lataamiseen tarvitset torrent ohjelman:

http://bit.ly/2eOhBbZ

Näitä on käytetty peleissä:

Starship theory (Steam), Park Bound (steam), Space Dominion by Forcebox Games (PC now in alpha, demo out), Dot Hopper, Bubbles Pang (Android), Timing Jump Jump and Colorfall (Anrdroid) ja web peleissä.

Ja youtubessä vlogeissa kuten KyleLe.net kanavalla:

http://bit.ly/2xe2QK3

Minun Soundclick:

http://bit.ly/2eNPJVn

Blogini jossa julkaisen instrumentaalit ja FLstudio FLP tiedostot:

http://bit.ly/2xdTzl5

Pienemmässä torrentissa jotkin laulut on väärin indentifoitu olevan bändiltä Tolgateers, joka johtui siitä että Soundclick oli laittanut mp kolmosten id tiedot väärin kahden viikon ajan vuonna 2015. Uudessa torrentissa näin ei enään ole.

submitted by /u/Mrloop to r/Suomi
[link] [comments]

lauantai 5. elokuuta 2017

Rich Hickey on becoming a better developer

submitted by /u/creactiviti to r/programming
[link] [comments]

Pattern: Service Mesh

submitted by /u/pcalcado to r/programming
[link] [comments]

When did omgubuntu get banned here?

I just tried posting an article from omgubuntu, but a bit autoremoved it and told me that publication is considered a spamblog. I admit, I wish omgubuntu had higher standards sometimes, but I think it's incredibly harsh to ban it as spam. There have been hundreds of articles from that site published here in the past, so what's changed?

submitted by /u/DJ_Beardsquirt to r/linux
[link] [comments]

Wine 2.14 released

submitted by /u/KindOne to r/linux
[link] [comments]

Linux kernel hardeners Grsecurity sue open source's Bruce Perens

submitted by /u/corbet to r/linux
[link] [comments]

The npm Blog — `crossenv` malware on the npm registry

submitted by /u/LeftHandedLieutenant to r/programming
[link] [comments]

keskiviikko 5. heinäkuuta 2017

Lavabit, the email provider that was used by Edward Snowden, is back online and featuring their new DIME encrypted Email solution.

submitted by /u/supernovajm to r/technology
[link] [comments]

I guess the sun will be arrested in Turkey

I guess the sun will be arrested in Turkey submitted by /u/klauslebowski to r/europe
[link] [comments]

Does anyone use Tox?

Tox (Linux, Windows, Mac, Android, and iOS) -

  • Open Source
  • Secure Instant Messaging
  • Encrypted Voice Calls
  • Secure Video Calls
  • Screen Sharing
  • File Sharing
  • Groups

 

I've been using Riot but this looks promising as well. Is anyone using it?

 


 

I downloaded it and tried it on my iPhone. Chat / phone calls work well, but the video chat was very bad. It's really buggy and I can't see / hear the other person. There is no offline notifications (which I / everybody needs). When someone calls the ringtone is really low (yes I checked my volume and it was all the way up). Will not be using this but has a lot of potential.

 

submitted by /u/randomized_ to r/linux
[link] [comments]

perjantai 30. kesäkuuta 2017

NextCloud Box, what do you think?

I am thinking of using it as a selfhosted dropbox replacement... would you recommend it or something else?

submitted by /u/oscoscosc to r/linux
[link] [comments]

keskiviikko 28. kesäkuuta 2017

Mitä kannattaa kesällä tehdä?

Mitä teette kesäisin? Asun itse Helsingissä ja tuntuu siltä että varmasti moni asia on jäänyt tekemättä ihan siksi koska ei ikinä tullut ajatelleeksi.

submitted by /u/stigmatic666 to r/Suomi
[link] [comments]

maanantai 26. kesäkuuta 2017

GPU Passthrough for Virtualization with Ryzen: Now Working

submitted by /u/valgrid to r/linux
[link] [comments]

Let's build a universal Linux installer for latest Spotify (working beta available)

submitted by /u/PaoloRotolo to r/linux
[link] [comments]

Security researcher says "perhaps OpenVPN should consider adding fuzzing to their internal security analysis in the future"

submitted by /u/erikd to r/programming
[link] [comments]

Security researcher says "perhaps OpenVPN should consider adding fuzzing to their internal security analysis in the future"

submitted by /u/erikd to r/linux
[link] [comments]

Generate your own sounds with NSynth

submitted by /u/vileEchoic to r/programming
[link] [comments]

tiistai 20. kesäkuuta 2017

[OC] How to: Custom RAW editor.

I always wanted to know how RAW files work and how editors interpret the data. So I created a small RAW editor that loads Canon CR2 raw files and has some minor editing tools. I'll lay out the few steps necessary which each RAW editor does to get your image to look as it should. I tried to be as simple as possible so still interesting for those who have no idea about programming or computer science.

CR2 file type

I wrote my own file reader but I suggest anyone who wants to try this, use libraries, much easier but of course less fun ;p

The Canon raw file is the one I focused on since I only own Canon cameras. The file is essentially a TIFF file format containing the RAW data encoded as lossless JPEG. There is a lot of meta data contained like EXIF data and other information for decoding purposes. But most of it is not necessary at all and I skipped most of it.

The RAW data is stored as a Lossless JPEG. Decoding the data was a challenge since it is compressed using a rather (at first) confusing encoding technique. What it stores is essentially the difference between one pixel to the next (this also explains why the more noise the larger the files). (Huffman coding)

Luckily Canon decided to have the data uninterrupted by any potential encoding flags, which makes decoding it a breeze.

RAW data

The RAW data looks like this. What you see here is each line of decoded data in grey scale. This might look confusing at first and trust me the indexing of each pixel is pain to handle especially for different cameras. The sensor in this case is read out in two slices which have to be arranged like this:

|-------------------------|-------------------------| | | | | Slice #1 | Slice #2 | | | | |-------------------------|-------------------------| 

But each encoded line combines two sensor lines RGRGRG....GBGBGBG and so what you see on that image is this:

|-------------------------|-------------------------| | Line #1 Slice #1 RGRG | Line #2 Slice #1 GBGB | | Line #3 Slice #1 RGRG | Line #4 Slice #1 GBGB | | ... | ... | |-------------------------|-------------------------| | Line #1 Slice #2 RGRG | Line #2 Slice #2 GBGB | | Line #3 Slice #2 RGRG | Line #4 Slice #2 GBGB | | ... | ... | |-------------------------|-------------------------| 

You may also notice the black border this is sensor data and is cut off from the final image BUT still used for development purposes which I'll talk about in the next section.

This is how it looks like assembled. Notice the grid like pattern on a pixel basis, this is how the RAW image looks like without any demosaicing and white balancing, which we'll discuss next.

Why slices though? My guess is this allows some type of multithreading and thus the camera can encode the data faster.

RAW data manipulation

Canon stores their 14bit data not exactly as 14bit. First of all they don't set "black" to 0 but have it offset. For my files it was for each color channel [R,G,G,B] -> [2107, 2179, 2180, 2125]. This is calculated using the margin I previously talked about. That margin is not "exposed" thus it is "black". This offset has to be subtracted from each and every pixel.

Now since this is done we have to manipulate each RGB channel with a white balancing multiplier. The RAW file has some WB settings within it but if you use auto WB it will not store the exact settings (or at least I couldn't find them). That is usually done automatically by RAW editors but is essentially the Temp and Tint slider in lightroom. What happens is it applies a multiplier to each channel. Green is usually kept at 1.0 and Red and Blue is adjusted.

After we applied whitebalancing we can finally recreate lost information. What I mean by that is since each pixel only records Red, Green or Blue we have to "interpret" the other colors for each pixel. The sensor array looks like this:

RGRGRGRGRGRG... GBGBGBGBGBGB... RGRGRGRGRGRG... GBGBGBGBGBGB... 

A very naive approach is to simple calculate the mean from the neighboring pixels. Works ok but of course for sharp edges it will look blurred out. The more complex the algorithm the better results you will get. I use something in between which tries to detect edges but it's very very basic, so I won't be expecting good 1:1 results nor will small thin lines look anywhere as good as with professional RAW editors. And last but not least since the image is recorded linearly and our eyes more or less see light in a logarithmic scale. I applied a gamma curve (2.2) before any other image manipulation. Otherwise it just looks dark.

Image Manipulation/Editor

This is how my editor looks like. Very straight forward. From top to bottom:

  • Output Histogram

  • Input Histogram (makes adjusting the levels easier)

  • Levels

  • Temperature white balancing

  • Tint white balancing

  • Saturation

  • Curve

  • Red, Green, Blue sensor calibration

Most people know the RGB format but a more approachable color space is HSV. HSV encodes color as hue (all colors arranged from 0 to 360 degrees), Saturation and Value (brightness). You can adjust brightness, saturation very easily in this color space.

Most editors have the same tools: Curves, Levels or White, Black, Shadow sliders etc. What they do is essentially the same: They map the brightness value of each pixel to a new one. This is all pretty straight forward if you know how each of these tools map colors. But the more interesting one is the sensor calibration sliders at the bottom.

Each sensor has it's own "characteristics" in how each pixel records its designated color spectrum. They don't just record red, green or blue. They record the amount of red, green and blue. This means that all colors in between will be recorded differently for each sensor. These sliders help me adjust the color bias. Lightroom allows you to shift hue but Canon is pretty dead on with their red green and blue so I only allow a change in contribution. I used a normal distribution at Red, Green and Blue and scale each color using the slider values. I'm most likely wrong with that approach but it works surprisingly well and you can recreate pictures profiles with these sliders as well.

Notice the render button, I can't just update the image each time I modify the input because it takes roughly 200ms to render the full image and another half a second to display it (java sucks at displaying large image files) so I prefer doing it manually instead of waiting every single time. This could be improved upon easily but not worth it ;p

Problems

Demosaicing is the main difficulty with interpreting RAWs, so here some problems that occur when you use a simple/bad algorithm:

Fine details

Different colored edges

High contrast edges

And of course all the nice features like lens distortion, CA, noise reduction and other fancy tools are way harder to implement.

Comparison

Quick Lightroom edit vs Mine (Screenshot of my editor for this result)

As you can see my color profile fix is going wrong on that branch. But overall I think it's not that bad, right? ;p

But even for some very demanding scenes (had to do a lot of shadow pushing here) my editor does surprisingly well when scaled to web use: http://bit.ly/2swxYAc far from perfect and I will not stop using lightroom but still I'm happy with the results.

Ask any question, I'll probably won't be around for the next few hours but I'll get back to them first thing I'm back on reddit.

submitted by /u/photenth to r/photography
[link] [comments]