<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marcin Kraszewski on Medium]]></title>
        <description><![CDATA[Stories by Marcin Kraszewski on Medium]]></description>
        <link>https://medium.com/@marcinkraszewski?source=rss-c3a1c8b29f6f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HE66Sb76NW0318r-</url>
            <title>Stories by Marcin Kraszewski on Medium</title>
            <link>https://medium.com/@marcinkraszewski?source=rss-c3a1c8b29f6f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 19:17:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcinkraszewski/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From grainy ww2 movie to crisp(er) aerial photo]]></title>
            <link>https://medium.com/@marcinkraszewski/from-grainy-ww2-movie-to-crisp-er-aerial-photo-8a504fdf5359?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a504fdf5359</guid>
            <category><![CDATA[ww2-history]]></category>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 07:47:36 GMT</pubDate>
            <atom:updated>2026-10-08T07:47:36.235Z</atom:updated>
            <content:encoded><![CDATA[<p>I continue to work on my nearly-decade-long Kowel reconstruction project. Recently I processed some aerial footage from a ww2-era German propaganda film, which just happened to feature a few aerial shots over the city of Kowel, Poland (now in Ukraine). At first glance the footage looks so shaky and blurry as to be useless, however with careful processing I see how far it can be taken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*2Jsn58p_BQvEWYDv7gAvpg.gif" /><figcaption>At first glance a useless cut of film. Source:</figcaption></figure><p>The first step is to call the hugin library and perform image alignment and then focus stacking. The result is an image with improved contrast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rQwlU4dbmUZW4S22b5bsHw.png" /><figcaption>image created by aligning then stacking multiple frames of video</figcaption></figure><p>Now that the footage has been processed we take it into GIMP to improve the contrast a bit. The final step is to georeference it in QGIS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5D4VQPCWF3eJxUXu2fdTuw.png" /><figcaption>The image is georeferenced by placing red control points over the image then locating those same places in the real world (using a map modern map layer).</figcaption></figure><p>The final image can then be overlaid on top of the map to see how it lines up, which greatly aids in identifying structures like buildings and rail crossings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*UbAAxGuXX_dVgRP4pMrSTg.png" /><figcaption>The focus-stacked movie frames are now georeferenced and ready for further analysis.</figcaption></figure><p>Below you can see a comparison between our focus stacked aerial, an actual closer-to-orthographic aerial, and a modern map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5CriJLsvLMuHXbZclPCdvQ.png" /><figcaption>(top) our focus-stacked aerial composite (middle) FotoPolska aerial cropped (bottom) modern map</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a504fdf5359" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Searching for the Gein house in 2025]]></title>
            <link>https://medium.com/@marcinkraszewski/searching-for-the-gein-house-in-2025-669e2b8c667d?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/669e2b8c667d</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 05:24:33 GMT</pubDate>
            <atom:updated>2026-04-15T05:24:33.792Z</atom:updated>
            <content:encoded><![CDATA[<p>Netflix recently releaseused a limited series on the Ed Gein story. It revolves around a strange Wisconsin man with a macabre fasinaction with death etc. I didn’t finish watching it becauase I knew it would be quite grotesque, but the part I did watch did interest me in the geography of the story. So like any OSINT-minded person I decided to see what I could find, and reconstruct of the Gein family house as it appeared just prior to being burned down in a fire in March of 1958.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*E1x04RHJk-limaQ0.jpg" /><figcaption>An original Police photo of the house as it appeared in 1958.</figcaption></figure><p>I started by looking over the original Police photo. There was a lot to take in so I decided to use AI to help me get a clearer picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWEKaqyBtbnyy57TRmMNBg.png" /><figcaption>The original Police photo with trees removed by AI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*e63unpw_N94j0f-I" /><figcaption>Original Police photo (with trees)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y2t8AjpFLCFZ0yPq.jpg" /><figcaption>AI edited photo with trees and people removed (notice the errors on the windows that were occluded by trees)</figcaption></figure><p>Now all I needed was a photograph taken just prior to the fire in 1958. And how lucky are we that just a year prior, the Wisconsin government conducted an aerial survey of the entire state of Wisconsin, including the Ed Gein property (months before Gein’s crimes were discovered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*aeWnNbFqKsWnlDDpvd2TtA.png" /><figcaption>The house as it appears in a 1957 aerial survey of Wisconsin</figcaption></figure><p>Thankfully this was not the first aerial survey conducted in Wisconsin! We can see what the property looked like way back in 1938.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*MYlPPcFvRYsmBqjc0DpGAg.png" /><figcaption>The house as it appears in an earlier 1938 aerial survey of Wisconsin</figcaption></figure><p>I could use an image to 3D model (there are many online) or even some image to video model, however I want to do something creative (so using those models for my final product would be much less fun, and I’d like to eventually create a realistic walk-through of the house. In that case I will use Blender, 3D software, to model the house, and then probably Unreal Engine to create a walkable “game”.</p><p>The first step in an 3D project is to create a model. When working on a project involving a house I like to be as realistic as possbile (with regard to dimensions and scale) so I use a tool called FSpy which allows me to “map” the likely camera to the image by setting up vanishing points on the image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01rer2oORLEjBQqfUtK8GQ.png" /><figcaption>The initial view of the (mostly ok) image in FSpy</figcaption></figure><p>When you first load FSpy you have to import your image. Once your image has been imported you have to set up the vanishing points. In this case it should be quite easy as the house has a simple shape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ix4mhGuYoOC4BeZfl1EChg.png" /><figcaption>Vanishing points set up</figcaption></figure><p>Once you set up your vanishing points you can save the file and then import it into Blender. Keep in mind if you want to follow along with this part of the tutorial you’ll have to install <a href="https://fspy.io/">FSpy software</a> on your computer, as well as the FSpy Blender Plugin (so you can import the fspy files into Blender).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_Xnf6X1j_k1jvglKR5DoA.png" /><figcaption>The outline of the model placed on top of the 1958 aerial view gives it an eerie feel.</figcaption></figure><p>After a few minutes (or hours?) of battling with the mesh I finally am getting something that is starting to look really nice. Here I’ve even set up the sun so that the shadows match the moment this aerial photo was taken sometime in 1957.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jKE-3gWvjh7jutJPAhQmaw.png" /><figcaption>Ed Gein’s house just months before he was caught</figcaption></figure><p>Sometimes in order to make a model look creepy you just have to add some glass and a lamp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QX_T0U6id5N85LIsJwwp2g.png" /><figcaption>For some reason, a solitary light really raise the creep factor</figcaption></figure><h3>Sources</h3><p>Wisconsin Aerial Survey: <a href="https://maps.sco.wisc.edu/">https://maps.sco.wisc.edu/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=669e2b8c667d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Iwona Wieczorek: The Fiat Cinquecento Lead]]></title>
            <link>https://medium.com/@marcinkraszewski/iwona-wieczorek-the-fiat-cinquecento-lead-b58502222069?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b58502222069</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Sat, 11 Apr 2026 21:45:12 GMT</pubDate>
            <atom:updated>2026-04-19T17:55:52.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C5fqOZkO8uuB9e-m_o1c5g.png" /><figcaption>A 1990s car on a 2010 Summer morning could be the clue to unravel the Iwona Wieczorek case. source: Gemini</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/234/1*DqBUm0CSDX3LfrpCq_taLA.png" /><figcaption>Is the car in the CCTV footage the same as the one (A) I found in the ROD (photographed in June of 2014)?</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEtnt-owHRJ0&amp;type=text%2Fhtml&amp;schema=youtube&amp;display_name=YouTube&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEtnt-owHRJ0%3Ffeature%3Doembed" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e39ba781abc53cce3d4b35bf80aad4c9/href">https://medium.com/media/e39ba781abc53cce3d4b35bf80aad4c9/href</a></iframe><h3>CCTV Footage of a Car</h3><p>The Police released CCTV footage (though I can only find the still below) of a Fiat Cinquecento which is thought to have been involved (in some way) in the disapearance of Iwona on the night of July 16th-July 17th 2010. It is estimated that the car was in the vicinity of the park (from which it is though Iwona vanished) around 5am that morning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/0*PDeLo_2M2Xcz_lXa" /><figcaption>CCTV Footage provided by the Police</figcaption></figure><p>In this article I will do my best to find all the images of this car. My reference for the car will not be the original CCTV which is too tiny to extrapolate from, but instead I will see if I can find any new image of the car that was discovered sitting in a semi-abandoned state (motionless) for what appears to be the entire period from 2011 until some time in 2014.</p><h3>Web Post Leads to a Car in a Field</h3><p>I’ve decided to go all in on locating more Fiat Cinquecentos in the Tri-City area using Google Street view. This will at least give people a richer collectio of information to work with, perhpas to connect facts together or to job their memories. My main source of information in this investigation will be remote sensing and streetview data taken from mostly Google platforms. If you are aware of any other good sources of street/parking lot photos from the TriCity area in 2011–2014, let me know.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q9IrxUF0oYvyI3NB0ZK9LQ.png" /><figcaption>Google Car captures itself in a mirror near the road circa August 2011 at 53 Powstańców Warszawy in Sopot.</figcaption></figure><p>Someone posted about “a car in a ROD in Gdansk near a building of type…”. This lead internet sleuths to discover a car parked in a garden plot near Gdansk at this location: 54.341264, 18.676884</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GX5YyYoOTJTdhuKx9wVbhA.jpeg" /><figcaption>Photo found on internet forums (facebook/wykop) purported to be a now-blocked portion of Google Streetview</figcaption></figure><p>If you have other photographs taken from streetview of this car please let me know! It seems that Streetview has blocked access to the road going through these garden plots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*DUiaYJZ44rYrappwrEIDfg.png" /><figcaption>A car (B) in the grass near the entrance to ROD Juliusza Słowackiego in Gdansk in July 2014.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wl-Wvyx7NfedLatz4uKHPg.png" /><figcaption>The car is approx. where the X is in the photo. According to internet posts Streetview has been disabled nearer to the car.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*VbjxiLFyzJBmpGe-83x_kg.png" /><figcaption>The same car (B) zoomed in using the Streetview API. (July 2014)</figcaption></figure><p>This car is at the center of a new direction in the investigation. This image gives us a few clues but not much to go on as the bottom of the car is hidden by the grass. What we can see is that the drivers-side window appears to be open, and a person appears to be in the driver’s side. All other details are difficult to discern. Perhaps we can try to find a simlar car somewhere else as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ScBSj9BhVt5puprZn01njw.png" /><figcaption>The car, visible in June 2014 in streetview (date unknown) is not visible in this satellite image taken from Google Earth which shows the area of the car seen in the street view photos also in June 2014. However no car is visible here.</figcaption></figure><p>I fired up Google Earth and took a look at the area over several years but couldnt find a car in that exact same spot. Perhaps you can do the same and find some clues!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*47mB-nG_J-Dcq72K-8n3RA.png" /><figcaption>A white car measuring approx 3–4 meters in length (take the measurement with a grain of salt as it’s a very low res image). This image was taken in the ROD on 7/2014 just a month after the streetview image.</figcaption></figure><p>I decided to look at the other end of the ROD and was very surprised when I discovered a Fiat Cinquecento in a June 2010 streetview image! Is this the same car that appears on the other side of the ROD in 2011?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XVtOGrYU3kFb1lc0NC2ykQ.png" /><figcaption>Another Fiat Cinquecento (A) parked just across the ROD in June 2014. Could this be the same one?</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*7LpjeY0hFnwiPtIsIkC78w.png" /><figcaption>The same car (A) from the front.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*Huc5bJF0hc28K6HS-MEiQw.png" /><figcaption>Car (A) from the back</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F66m7JtdCOdlr7w_sCpIEg.png" /><figcaption>Two white Fiat Cinquecentos parked just 316 meters apart 1 month apart. Either it’s a coincidence or someone is moving the car around this ROD (perhaps to conceal it better).</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*NhCe1VQjDQYd40S7DNbsAw.png" /><figcaption>A top to bottom comparison of the car (A) found on the Western end of the ROD in June 2014 and car (B) found on the East end of the ROD in July 2014.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*nsRrNPmrb9Qpk5kAyW5Cbw.png" /><figcaption>Is this the car (A|B) or just another clone? This one was snapped at 135 Piastowska street in October 2011</figcaption></figure><p>Does the black vertical plastic element in the photos above resemble that found in this 2011 car parked in Gdansk?</p><h3>Looking for the car in Gdansk and other Towns</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8eEIE59p9Euo52cKc3dj5g.png" /><figcaption>White Cinquecentos are visible in 2011/2014 in two distinct spots (A) and (B) both within 1km of the beach exit 63 (that last place Iwona was seen on July 17th 2010).</figcaption></figure><p>Based on streetview the car is seen parked in the same location near Lecha Kaczynskiego 3 in Gdansk, and 3 years later it’s still parked in the same spot. For some reason it is thought that this may be the same car as Police were looking for in connection with the disappearance of Iwona.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uLnzTuYM4mFT9sbtB-8XNA.png" /><figcaption>The car is thought to have travelled the route: Gdansk -&gt; Rumia -&gt; Reda -&gt; Puck (specific trail illustrrated above is based on Google maps not on Police evidence)</figcaption></figure><p>My goal is to try to use open source intelligence (OSINT) techniques to find as many possible photographs of the car in question as I can, in addition I will try to create a 3D view of the car using a specialized library created for this purpose (see: <a href="https://www.realityscan.com/">Reality Scan</a>). My hope is that by finding new images I can spark interest in the case and hopefully lead to some conclusion for everyone involved.</p><h3>What does Gemini think?</h3><p>I asked the Large Language Model by Google called Gemini to describe the car in the image. Gemini is known for it’s excellent image classification abilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c8Qq4Rqc1odnWuVLve958A.png" /><figcaption>Gemini doesn’t guess Fiat Cinquecento. One must wonder how the Police figured it out.</figcaption></figure><p>I managed to capture quite a few angles of the car using the street view data from 2011 and 2014. The main problem with these image is that they are all from the back and sides, and none from the front of the car. Finding images of the front of this exact same car may be quite a challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*RLsIkx3jOVRp351yNAfdsw.png" /><figcaption>Every angle of the car captured using Google StreetView</figcaption></figure><p>Now I will attempt to create a 3D model of this specific car using an advanced visualization tool called Reality Capture. The tool works by taking multiple photos and aligning them, generating a “cloud of points” by comparing the various positions of the distinct images, then applying a mesh algorithm to the point cloud data to create a “simulated 3D model”. The result will be much less amazing than one may expect, but that is because of the amount of occlussion (other objects blocking our target object) which means the tool doesn’t have enough data to put a high quality render together.</p><h3>Taking a Closer Look</h3><p>While waiting for Reality Capture and Unreal Engine to install I decide to ask Gemini to develop a systematic description of the car based on the photographs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*7uFa0nXd09CgDSH0287rDw.png" /><figcaption>Asking Gemini to describe the car</figcaption></figure><p>The hope is that the AI may recognize some detail that would be overlooked by a non-car-specialist (like myself) but that after manual review would prove to be quite useful in gathering additional information on this specific car.<br>The most helpful information is provided at the end of the report (which you can <a href="https://github.com/noveoko/osintLinks/tree/main/projects/IwonWieczorek/car">view here</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*oQVAFAL9PDPQKxVJ-rguzA.png" /><figcaption>Heavy rust, square fuel flap, and a sticker are the unique features identified by AI and confirmed by me</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*Jr2Hn1k2Qk3Wgd4DE1xhyw.png" /><figcaption>Heavy rust on the left-hand side of the car</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*3izewH-prZPVZsUyePRpcg.png" /><figcaption>Square fuel flap</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/1*-zjep06TW9xgiYv4srQS-g.png" /><figcaption>The sticker attached to the car</figcaption></figure><p>I know it will be useless (how could it not be) but I ask Gemini to recreate the sticker in an abstract manner attempting to stick close to the original design. Perhaps this will somehow trigger a memory of the sticker in people that have seen the real one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*SRQ2D1HCsUXQdxOdUaW8fw.png" /><figcaption>Gemini does it’s best job trying to image the sticker at a higher resolution</figcaption></figure><h3>Trying to Capture Reality</h3><p>My first attempt (just dropping the photos in and hoping for the best) fails with a pop-up message from the software. I decide to try manually adding control points hoping that this will allow the software to better understand the “shape” of the images and create something useful or at least less 2-dimensional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-HBTWTxLz_4oyaNynk4n_g.png" /><figcaption>Manually setting control points in Reality Capture</figcaption></figure><p>Reality capture just doesn’t want to cooperate with the images that I have. The main issue is that the source images are just too low quality for the sorts of algorithms that power point cloud creation. However that doesn’t me we are out of options. There is a tool called <a href="https://www.meshy.ai/">Meshy</a> that can generate a life-like rendering of any object given just one image. I upload a photo of the car then I provide a second image for the texturing. Using the “basic” account I cannot download the 3D model but I can take a bunch of screenshots of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLh5uOs3-aoH8CVNA1Tu_A.png" /><figcaption>An AI rendering of the car based on 2 images</figcaption></figure><p>Perhaps these images are useless (because they are likely not very accurate to the source iamges) however I am providing them here because sometimes an imprecise image can lead us to see something in a new light and reveal something we haven’t seen before. To that regard I will post a few more angles of these “halucinated renders” in case someone in this mystery will find them of use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3Gkz9F0PD_Tik6ljMRvpQ.png" /><figcaption>Side view of the car</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*XbTdgxv4F-YsnZd1Bgr9Gw.png" /><figcaption>Back of the car</figcaption></figure><h3>Conducting a Broader Search</h3><p>I was super focused on the White fiat posted on various media outlets. I took a “walk” using streetview in Gdansk, Rumia, Reda, and Puck, and discovered quite a few white Fiat Cinquecentos. This one was parked at: <strong>38 Tysiąclecia</strong> in Gdansk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*whB6N6DgfC2KMoSZ1uGpeg.png" /><figcaption>a second car in the same neighborhood parked <strong>just 822 meters</strong> from where Iwona was last captured on camera. Source street view: 2014</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TtXn4hxYBWZw5WPJJtX3AA.png" /><figcaption>The same car from another angle</figcaption></figure><p>I continue my virtual exploration of the neighborhood nearby the 63 exit and manage to find a 3rd white Fiat Cinquecento (confirmed by Gemini AI). This one was parked at: <strong>135 Piastowska in October 2011</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*YRrvi-DmFcfLYNybZwvZ0A.png" /><figcaption>White Fiat Cinquecento parked at 135 Piastowska street in October 2011</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*bnsZzt5NzHySKk1yUleFug.png" /><figcaption>Another angle of the same car</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88yxPYQ_LevcSV23c-TcQg.png" /><figcaption>A third much sharper image</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OmVDPHwLpE7TyYH-3b5vIA.png" /><figcaption>Side view of this specific Cinquecento car as seen in October 2011</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*LKcuYZUoEPIS0vOr3p-OMg.png" /><figcaption>Another one found parked in a Restricted Parking space at 19 Przebendowskiego<br>Puck, Pomeranian Voivodeshipin 2013</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cp7bnEa4NJJ9lsw0xZwgww.png" /><figcaption>This one with a flat tire parked in 5 Aleksandra Majkowskiego Puck, Pomeranian Voivodeship photographed in June 2013</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*3kh9I5c_O5-v27EUsw3b2Q.png" /><figcaption>The same car on 5 Aleksandra Majkowskiego as photographed in 2012 (in the same exact spot)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GuCnt_8bmY_zPGPvdARdkQ.png" /><figcaption>Another car with a baggage rack similar to the one at 5 Alexandra Majkowskiego seen at 24 Tysiąclecia<br>Gdańsk, Pomeranian Voivodeship in October 2011</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pfrRJ8G0nyj20xFx_mOBtQ.png" /><figcaption>August 2012 in Puck. <a href="https://maps.app.goo.gl/ExN8avDH9bgW25cK9">Link</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqDBPpEifg9TnkZBzAI1pQ.png" /><figcaption>This Fiat Cinquecento was photographed by a Google car half a dozen times while waiting to turn at an intersection in August 2010 near Aleja Zwycięstwa in Sopot.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fXo7YwsNIuWvVZXhzt38jA.png" /><figcaption>This Cinquecento was parked near 80 Powstańców Warszawy in Sopot in August 2011</figcaption></figure><h3>Discovering a Global Car Picture Database</h3><p>Did you know that there exists a site on the internet that serves up millions (I assume) photographs of cars from around the world. It’s not Google Streetview (used many times above) instead it’s a site called <a href="https://platesmania.com/">PlatesMania</a>. The site allows us to search using the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDK9cHKuDH1sxgU3Z8Fc2A.png" /><figcaption>The PlatesMania UI makes it really easy to find Fiat Cinquecentos in Poland (though color cannot be specified)</figcaption></figure><p>This search results in 1,890 images of cars. This doesn’t mean it’s 1,890 <em>unique </em>images of cars, but that’s still a promising number. After the first page I land on a match for a white Fiat Cinquecento in Warsaw, Poland. I can only assume that if I searched for a longer time I might identify a car that resembles the one we see pictured in the ROD (działki ogrodowe in Gdansk). So I do just that, I start looking for a car that has some of the features found in the photos of the car in the garden plot.</p><p>Eventually I land on this car in Poznan which is a match only in that it has that black vertical bar we’ve seen before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BTbKP41RpJQYREBzj72bgA.png" /><figcaption>A white Fiat Cinquecento spotting in Poznan in 2026</figcaption></figure><h3>Remote Sensing</h3><p>Let’s see if we can take a look at the location of the car from the sky! We will review all the satellite images we can get our hands on of this specific part of Gdansk. We can make use of a variety of services including Google Earth, Earth Explorer, and even Flicker! <strong>Watch the animation</strong> of the still frame below at the top of this video.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*enHRjhQAHsBgXQ3WHJBg0g.png" /><figcaption>From this height it’s impossible to tell if the little white car is the same Fiat as above</figcaption></figure><h3>Youtube Search</h3><p>Trying to find relevant information using video is very time consuming and largely a waste of time. Perhaps using machine learning/AI to review the videos for potential clues would at least be a bit less impossible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDw0dG5cLNkQie_xZBNCHw.png" /><figcaption>still of a video recorded in Sopot in July 2010</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZjwM80bmWTAZ4lU6sL_IA.png" /><figcaption>Sopot 2010</figcaption></figure><p>One video shows a body of water, another a cityscape. There are about 60 videos from this one creator that all take place in the summer of 2010. How many such video creators were active in Tri-City at this time? Is it possible someone filmed something, and has no idea?</p><h3>Burned and Abandoned Cinquecentos</h3><p>I think that it’s very likely the car (if such was involved in this case) would’ve been scrapped/burned to destroy any forensic evidence. One clear direction is to review Google image results for pictures of Fiat Cinquecentos burned or abandoned. I could focus on the Tri-City area but that would be too narrow a focus if we are looking for burned abandoned cars. Anyway I found an abandoned Cinquecento online (it’s got nothing to do with Tri-city but it inspires an additional research direction to take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*bVqOOfMUqsmVRTHRazJCuw.png" /><figcaption>A Fiat Cinquecento found abandoned in Swidnica in 2018. Credit: swidnica24.pl</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*wa2pNCSP5sefifyv1b_CYw.png" /><figcaption>Burned out Fiat Cinquencento. Credit: PSP Busko</figcaption></figure><h3>Conclusion</h3><p>As of mid-April 2026, the official investigation into Iwona Wieczorek’s disappearance remains open and active under the supervision of the Archiwum X cold-case unit at the Małopolski Wydział Zamiejscowy Prokuratury Krajowej in Kraków, with operational support from Warsaw Police.</p><p>The only publicly confirmed vehicle lead is still the white Fiat Cinquecento (or possibly Fiat Uno, as some recent reporting has noted investigators are double-checking the exact model) captured on CCTV at 5:07 a.m. on 17 July 2010 near Park Reagana in Gdańsk before heading toward Rumia–Reda–Puck. None of the later 2011–2014 sightings or Google Street View images explored in this article have been referenced, confirmed, or incorporated into any official police or prosecutorial statements. If you recognize the 2010 vehicle, its driver, or have any information connected to the official appeal, please contact the dedicated hotline at 573-934-910 or your nearest police station—tips can be submitted anonymously. For the latest factual updates, always return to the primary sources on ksp.policja.gov.pl or zaginieni.policja.gov.pl rather than secondary speculation.</p><h3>References</h3><p><a href="https://wykop.pl/wpis/77269599/bialy-fiat-cinquecento-rodzinne-ogrodki-dzialkowe-">Wykop post</a> about the Streetview image (that is no longer accessible)</p><p><a href="https://pl.wikipedia.org/wiki/Fiat_Cinquecento">Fiat Cinquecento</a> on Wikipedia</p><p><a href="https://swidnica24.pl/2018/02/zaparkowal-na-paderewskiego-troche-mu-zeszlo-foto/">Fiat abandoned</a> in a town in 2020</p><p><a href="https://echodnia.eu/swietokrzyskie/w-biechowie-w-gminie-pacanow-splonal-fiat-cinquecento-wszystko-przez-pozar-traw/gh/c1-15546176">Burned out</a> Fiat Cinquecento</p><p>Article <a href="https://wiadomosci.wp.pl/sprawa-iwony-wieczorek-jest-kilka-tropow-ws-bialego-fiata-7042035652959040a">refererncing the parked car</a> (potentially) hidden in an auto shop</p><p>Article <a href="https://www.onet.pl/informacje/onettrojmiasto/internauci-na-tropie-iwony-wieczorek-kluczowe-sa-archiwalne-zdjecia-google/lg7tdwj,79cfc278">referencing the parked car</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b58502222069" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Siraj Raval’s Lost Interview]]></title>
            <link>https://medium.com/@marcinkraszewski/siraj-ravals-lost-interview-600b882bdff9?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/600b882bdff9</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Mon, 04 Mar 2024 07:13:39 GMT</pubDate>
            <atom:updated>2024-03-04T07:13:39.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*MQHbq_OkofT53-D1CFRYHA.png" /><figcaption>The interview was conducted remotely.</figcaption></figure><p>Before the interview was wiped clean from the internet, I decided to create a back-up. My caution was warranted as within a few weeks of publishing the episode Siraj Raval was cancelled and the episode was promptly removed. Even traces of it on the Web Archive were removed. The man behind the interview is very skilled in managing his privacy and content online, however erasing history should seldom be tolerated. It’s my hope that bringing these quotes/excerpts from this podcast to life will improve the quality of information available concerning both of these individuals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VFlhRwn0stpo-Urze9F_2g.png" /><figcaption>The interview was part of the official podcast, until it was scrubbed from the internet</figcaption></figure><p>The conversation between Siraj and his interviewer is very interesting in hind-sight. Listening to the entire interview today, it sounds like the host may have invited Siraj Raval on his podcast to get pointers on developing his own YouTube channel, script writing, and dealing with criticism. Parts feel like Siraj Raval is providing a free workshop to the host on Social Media production and marketing. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OKfSLoVijd5q3I65D2Rvdg.jpeg" /><figcaption>Apparently someone created an NFT granting access to this episode, but who did that?</figcaption></figure><h3>A few short excerpts from the interview</h3><p><strong>HOST:</strong> The following is a conversation with Siraj Raval. He’s an <strong>educator, an entertainer, a rapper, and an entrepreneur</strong>. He’s the founder of <em>School of AI</em>, which is an online education platform and community that makes topics and data science, machine learning, AI accessible to everyone.<br> He’s one of <strong>the most unique, eccentric, and creative educators on the internet</strong>, constantly innovating and reinventing himself. Many people love him, some people don’t. What the inspiring thing about Siraj Raval is that <strong>he doesn’t let the critics stop him</strong>.</p><p>…</p><p><strong>HOST:</strong> J-Z or Kanye?<br><strong>Siraj Raval:</strong> Kanye.</p><p>…</p><p><strong>HOST:</strong> […]criticism, I know criticism hurts me a lot when people, because I am trying to put myself out there and I’m putting my ugly face and voice that I hate listening to out there. It hurts when somebody says this guy is an idiot.</p><p>…</p><p><strong>HOST:</strong> I’ve read that you’ve <em>changed your name</em> and then gone back.<br> You struggle with your identity in some very interesting ways.</p><p>…</p><p><strong>HOST:</strong> Would you use deep learning now? <br><strong>Siraj Raval:</strong> Of course, yeah. <br><strong>HOST:</strong> You would? For a robotic arm?</p><p>…</p><p><strong>HOST:</strong> And I think I speak for the rest of the world that accept all the haters that <em>we can’t wait to see what you do next</em>.</p><p>…</p><p>[interview ends]</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=600b882bdff9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Solving crimes using a technique from Astronomy]]></title>
            <link>https://medium.com/@marcinkraszewski/solving-crimes-using-a-technique-from-astronomy-5186487d536f?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5186487d536f</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Sat, 07 Oct 2023 15:03:51 GMT</pubDate>
            <atom:updated>2023-10-07T15:03:51.512Z</atom:updated>
            <content:encoded><![CDATA[<p>This article concerns a <a href="https://www.news.com.au/world/north-america/new-clues-in-chilling-murders-of-girls-who-filmed-their-killer/news-story/60e64d709e947d70ce445ee308346e8a">double homicide</a> (<a href="https://www.dailymail.co.uk/news/article-4236206/Grandfather-one-murdered-Indiana-teens-speaks-out.html">another article</a> about this case).</p><p>In a <a href="https://medium.com/@marcinkraszewski/how-to-make-the-most-from-old-ww2-footage-671123145242">previous article</a> I showed you how easy it was to use old film footage to create a higher resolution still image using free and simple tools.</p><p>Today I’ll be using the same technique to try to reconstruct a reduced-noise image of a suspect in a murder. This is an ongoing and open case that is accepting leads and information.</p><p>The Police released a video and very grainy stills that are basically garbage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*U9wyBhy7vxhdEfHzljMhEQ.jpeg" /><figcaption>Still image of the suspect from the short video clip captured by the victim</figcaption></figure><p>It’s very difficult to make anything out in the images. It’s no fault of the police as they are limited in their tools and techniques. The camera used to take the images was probably a lower-tier mobile phone camera. In addition the danger experienced by the victim resulted in shaky video.</p><h3>Extract video frames</h3><p>I used the OpenCV library via <a href="https://www.life2coding.com/extract-frame-video-file-using-opencv-python/">this Python script</a> to extract all the frames from the original video posted by the Police. This resulted in 48 frames being extracted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nVyQXJbIeAMkHqSXhpLkUg.png" /><figcaption>The full assortment of still frames extracted from the source video posted by the police</figcaption></figure><p>When I reconstructed a scene of a part of the destroyed city of Kowel/Kovel (Ukraine) I was only able to use 40 frames. I will now try to perform a similar technique on these images to attempt to reconstruct the clear image of the suspect to help Police close this case.</p><h3>Align frames</h3><p>The assumption when using align_image_frames (Hugin command) is that it assumes that the images are not too different. This will not work in this case as both the background and the subject are in motion. The biggest challenge in this case will be to align images of a moving subject. The hope is that the face remained motionless while the body moved. If that is the case it may be able to create a crisp image of the suspects face for further analysis by the authorities.</p><p>You may read the docs I used <a href="http://hugin.sourceforge.net/docs/manual/Align_image_stack.html">here</a>. In addition <a href="https://photo.stackexchange.com/questions/49581/how-to-auto-align-a-stack-of-head-shots">this Stack overflow post</a> helped to determine appropriate settings when attempting to align a face.</p><p><strong>align_image_stack -a aligned -C frames/*.jpg</strong></p><p>It may take quite a while to finish depending on your CPU. In my experience running on an i5 it took over 30 min.</p><p>The result didn’t satisfy me due to the dynamic nature of the subject in the video. They are both moving toward the camera and on the X and Z axis. This makes the command line approach using Hugin less succesful.</p><p>In order to get better results I decided to try Blender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UeNxS232_q7l7Aw3baVECw.png" /><figcaption>It’s enough to create 2 tracking points when your goal is to stabilize the video</figcaption></figure><h3>2D Tracking in Blender</h3><p>Next stabilize the footage using the Motion Tracking interface. Export your frames. After exporting my frames I deleted the really low quality images and left the rest. I then ran this code on the exported images:</p><p><strong>enfuse -o stack_image_result.tif — exposure-weight=0 — saturation-weight=0 — contrast-weight=1 — hard-mask — contrast-window-size=9 suspect_*</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hboyybwRvS3heC1K9NWDQA.png" /><figcaption>(left) Single frame, (right) 25+ frames focus stacked to improve details in the upper body of the suspect</figcaption></figure><p>The image on the right looks a bit better than the single frame. The legs are blurry as the subject is in motion.</p><p>I decided to see if other tools or techniques exist to help restore the suspects face. In order to get started I simply search for:</p><p>and found this: <a href="https://github.com/1adrianb/face-alignment">https://github.com/1adrianb/face-alignment</a></p><p>That might be useful for higher resolution images but I wasn’t having much luck using it in this case.</p><h3><strong>3D model of the scene</strong></h3><p>Next I’ll explore what sorts of information I can glean from generating a 3D point cloud of the suspect and the environment.</p><p>To create the point cloud I’ll be using free software called <a href="http://ccwu.me/vsfm/">VisualSFM</a>. Make sure to add all of the binaries in the correct directory for your OS into the same folder that contains the VisualSFM.exe file you installed in the above.</p><p>I import all of my images (the frames extracted from the video):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ZiRAK1XeQvHwpyQwPt4LA.png" /><figcaption>It’s really easy to import all of your images into VisualSFM</figcaption></figure><p>The next thing I do is click the match button and wait for the software to finish it’s work…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/144/1*gEjBuSCsApq8PdeQ9MfVww.png" /><figcaption>Click this button to start matching pixels in 3D space</figcaption></figure><p>Next I perform sparse resconstruction on the matched pixels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/100/1*0d56ekZf5-BtvYltgIFdqA.png" /><figcaption>A simple click and sparse reconstruction begins</figcaption></figure><p>Finally, I perform dense reconstruction…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/97/1*smYKEcZzqKF6bJFj97XJLg.png" /><figcaption>This software is really simple and user friendly</figcaption></figure><p>The result is a bunch of points on a blank canvas</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*Tw2qS-KNisntzZ_DEbuUOA.png" /><figcaption>At first glance it’s quite difficult to make any sense of this.</figcaption></figure><p>Eventually (after many steps…) I managed to generate a Stanford 3D format file (.ply) and open it in Blender.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjcs4nv_V2_kwyBFnGrorg.png" /><figcaption>This is a point cloud created by the software based on the video frames. The question is if it will be possible to make anything out of it.</figcaption></figure><h4>Resources</h4><p><a href="https://www.youtube.com/watch?v=GEAbXYDzUjU">A great tutorial</a> on how to do Photo scanning free using Blender, VisualSFM, <a href="https://www.meshlab.net/#download">Meshlab</a> other tools.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5186487d536f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Roll your own Semantic Job search using GPT4, Python, and BERT]]></title>
            <link>https://medium.com/@marcinkraszewski/roll-your-own-semantic-job-search-using-gpt4-python-and-bert-74b97daaadf9?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/74b97daaadf9</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Wed, 31 May 2023 19:50:51 GMT</pubDate>
            <atom:updated>2023-06-04T07:31:39.840Z</atom:updated>
            <content:encoded><![CDATA[<p>I like to make use of the site: justjoin.it when job hunting.</p><p>Today I decided to ask GPT4 to help me create a custom semantic search engine based on the RSS feed available at justjoin.it.</p><p>Here’s the code:</p><p>Install requirements, make imports, and initialize an OSS ML model</p><p>Update:</p><p>This morning I’m running embeddings using this model:</p><pre>https://huggingface.co/intfloat/e5-large-v2</pre><p>I located this model using the <a href="https://huggingface.co/spaces/mteb/leaderboard">hugging face leaderboard</a></p><p>If it performs better I will use it instead of the current bert-base-uncased.</p><pre>!pip install transformers<br><br>import numpy as np<br><br>from transformers import AutoTokenizer, AutoModel<br>import torch<br><br># Initializing BERT model<br>tokenizer = AutoTokenizer.from_pretrained(&quot;bert-base-uncased&quot;)<br>model = AutoModel.from_pretrained(&quot;bert-base-uncased&quot;)</pre><p>Next I import requests so I can fetch the freshest RSS feed from JustJoin.it. In case there’s some problem fetching the data I get the last saved version instead.</p><pre>import requests<br><br>with open(&#39;feed.atom&#39;, &#39;wb&#39;) as f:<br>  response = requests.get(&#39;https://justjoin.it/feed.atom&#39;)<br>  if response.status_code == 200:<br>    f.write(response.content)<br>  else:<br>    raise ValueError(&#39;Cannot load JSON file!&#39;)</pre><p>This function returns embeddings for a given text</p><pre>def get_bert_embeddings(text):<br>    inputs = tokenizer(text, return_tensors=&quot;pt&quot;, truncation=True, padding=True, max_length=512)<br>    outputs = model(**inputs)<br>    embeddings = outputs.last_hidden_state.mean(dim=1).detach().numpy()<br>    return embeddings</pre><p>Use BeautfulSoup to parse the file and fetch embeddings for each element of text</p><pre>from bs4 import BeautifulSoup<br>import requests<br><br>feed = None<br>try:<br>  feed = open(&#39;/content/feed.atom&#39;, &#39;rb&#39;).read()<br>except FileNotFoundError:<br>  feed = requests.get(&#39;https://justjoin.it/feed.atom&#39;).text<br><br>soup = BeautifulSoup(feed, &#39;xml&#39;)<br>entries = [entry for entry in soup.find_all(&#39;entry&#39;)]<br><br># Generate embeddings for each entry&#39;s title<br>entry_embeddings = [get_bert_embeddings(entry.title.text) for entry in entries]</pre><p>The following function takes the list of embeddings and performs semantic search</p><pre>def semantic_search(query, entry_embeddings, entries):<br>    query_embedding = get_bert_embeddings(query)<br>    similarities = [cosine_similarity(query_embedding, entry_embedding)[0][0] for entry_embedding in entry_embeddings]<br>    # get indices of most similar entries<br>    top_indices = np.argsort(similarities)[::-1]<br>    # get top entries<br>    top_entries = [entries[int(index)] for index in top_indices]<br>    return top_entries</pre><p>Fetch results, filter out unwanted keywords, and print the results</p><pre>query = &quot;Python developer with research and OSINT / forensics&quot;<br>top_entries = semantic_search(query, entry_embeddings, entries)<br><br>filtered = [a for a in top_entries if &#39;java&#39; not in a.title.text.lower()]<br>best = []<br>title_hashes = []<br><br>max_entries = 10<br><br>for entry in filtered:<br>  title_hash = hash(entry.title.text.lower().strip())<br>  if title_hash not in title_hashes:<br>    title_hashes.append(title_hash)<br>    if len(best) &lt; max_entries:<br>      best.append(entry)<br><br>for entry in best:<br>  print(entry.title.text)</pre><p>Results</p><pre>Junior Project Coordinator @eSky.pl S.A.<br>Front-End Developer (Angular) @eSky.pl<br>Konsultant SAP SuccessFactors EC @Accenture<br>RPA Developer @KRUK S.A<br>Analityk biznesowy @XTB<br>Application Support Engineer @DNV<br>Software Dev C++ Geometric Algorithmics @Carl Zeiss IQS Software R&amp;D Center<br>Trener programowania dla młodzieży @Giganci Programowania<br>Senior Ruby on Rails Engineer @Ragnarson<br>Sr. Software Engineer (Sell Core Team) @Zendesk</pre><p>What can be done to improve this?</p><p>I’d like to add a second dataset featuring information about all of the employers to help make the suggestions have context related to the actual companies not just the job descriptions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74b97daaadf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tara Calico OSINT evidence]]></title>
            <link>https://medium.com/@marcinkraszewski/tara-calico-osint-evidence-eb0f7aa09739?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb0f7aa09739</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 13:31:49 GMT</pubDate>
            <atom:updated>2023-04-10T13:36:02.251Z</atom:updated>
            <content:encoded><![CDATA[<h3>EarthExplorer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DKjJPdhgCF-fuWCg-7Wx7w.jpeg" /><figcaption>Belen, NM in top-left corner of this image | September 21st 1988 1 day after disappearance</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YuLUvQBW2qZQADIGTHN-iA.jpeg" /><figcaption>Belen, NM in top-left corner of this image | September 5th 1988 (5:09 pm) 15 days prior to disappearance</figcaption></figure><p>source: <a href="https://earthexplorer.usgs.gov/">https://earthexplorer.usgs.gov/</a></p><h3>Archive.org</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*id7h6A3qmauqLtMeAXDy6Q.png" /><figcaption>Case file New Mexico State Police on the Tara Calico case</figcaption></figure><p>source: <a href="https://archive.org/details/Tara_Calico/page/n1/mode/2up">https://archive.org/details/Tara_Calico/page/n1/mode/2up</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb0f7aa09739" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NEOM: Recent Satellite Photos]]></title>
            <link>https://medium.com/@marcinkraszewski/neom-recent-satellite-photos-7403713dd78e?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7403713dd78e</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Tue, 14 Feb 2023 16:57:57 GMT</pubDate>
            <atom:updated>2023-02-14T16:57:57.177Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve all seen the photo of the dump trucks in the Saudi dessert working on the foundations of the NEOM 100 mile-long city. However what is the current situation actually like? To get a better (albeit not closer look) I decided to use this <a href="https://apps.sentinel-hub.com/eo-browser/">site</a>.</p><p>Here are a few images of the site I managed to find.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j9i-u61SwDdufvkjbDj5nw.png" /><figcaption>2023–02–11: The green line measures 108km. Initial construction is visible along the entire width of the green line.</figcaption></figure><p>The projects progress is impressive considering we are looking at a distance of over 100 km. The question a lot of people have is, will such a massive skyscraper city actually be able to be constructed, leaving aside whether it should be (it shouldn’t).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYqpxHm-fHM7U6heZROBkA.png" /><figcaption>2023–02–11: Western-most part of the project</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKRSrAxfik7T65uipPbJlQ.png" /><figcaption>2023–02–11: Toward the center the project goes through what appears to be a mountain range</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3emgyGPkATl8y0K-ZyQAQg.png" /><figcaption>2023–02–11: Tunnel entrance</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5N92uCR_iyZV3MgJ5tPAOA.png" /><figcaption>2023–02–11: The Eastern-most end</figcaption></figure><p>If you know of any more recent images taken at ground level let me know in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7403713dd78e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Awakening in a Heartless World]]></title>
            <link>https://medium.com/@marcinkraszewski/awakening-in-a-heartless-world-579acbf23147?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/579acbf23147</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Sun, 11 Dec 2022 21:35:00 GMT</pubDate>
            <atom:updated>2022-12-11T21:35:00.653Z</atom:updated>
            <content:encoded><![CDATA[<p>A graphic novel written by ChatGPT in cooperation with Marcin Kraszewski. Illustrated using prompts writen by Marcin Kraszewski and generated by <a href="https://huggingface.co/spaces/stabilityai/">https://huggingface.co/spaces/stabilityai/</a></p><p><strong>Prompt template I created and used to generate images: </strong><br>book title: Awakening in a Heartless World<br>Book Style: Hieronymus Bosch Pencil Sketchbook <br>Illustration inspiration: &lt;text from story&gt;</p><p><strong>Note on modifications to generated images:</strong> In order to improve the quality of the images I would:</p><ol><li>Only select an image if it made some sense to the story</li><li>Edit an image to remove anything that took away from the impact of the image</li><li>Cropped images that I could guide the reader as desired</li><li>In rare intances changed the prompt as the text given was not generating worthwhile images</li></ol><p><strong>Generating textual descriptions</strong></p><p>Eventually I grew tired of the bad results and so concocted a rouse to get ChatGPT to write better descriptions:</p><pre>You are a copy-editor at a major publishing house. Your job is to take a given peice of prose and convert it into a visual description that can be handed off to an illustrator.<br>Text: I strained to listen, and I could hear the sound of people shouting and fighting. It sounded like a rebellion was taking place, and the people in white were being overpowered.</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*LofC8dMSjVqVFSlzoFR44A.jpeg" /></figure><p>It was a world unlike any other. A world where emotions were suppressed, and selfishness was the norm. As an empath, I was an outcast, forced to hide my abilities and live a life of solitude. But that was before I woke up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*q-0d-x6O_N0w2ERUzK_STA.jpeg" /></figure><p>I was lying on a cold, hard floor, surrounded by darkness. I could feel a dull ache in my head, and my body felt weak and sluggish. I tried to move, but my limbs wouldn’t obey. I was trapped, unable to escape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*T2u3Go3cBJRWWmYKmw5Xew.jpeg" /></figure><p>Slowly, the darkness began to fade, and I could make out my surroundings. I was in a small, cramped room, with metal walls and a single window high above me. Outside, I could see a dull, gray sky, filled with pollution and smog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*_AtRDv0dAMuSyYgq1AyKpA.jpeg" /></figure><p>I tried to reach out with my abilities, to sense the emotions of those around me, but I felt nothing. It was as if my powers had been stripped away, leaving me blind and helpless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*lL6wAwjD4jmzDE-9FY4F_Q.jpeg" /></figure><p>Panic set in, and I began to thrash about, trying to escape my prison. But it was no use. I was trapped, unable to move or even cry out for help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*HLI4AYdkHZB8PaT-Q6MWYg.png" /></figure><p>After what felt like an eternity, the door to my cell opened, and a group of people entered. They were all dressed in identical white uniforms, their faces emotionless and blank.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*VjMbeiZkmPAvYPYv1xyf8Q.jpeg" /></figure><p>“You are an empath,” one of them stated, his voice flat and devoid of feeling. “Your abilities are not welcome in our world. You are a threat to our society.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*cO6V0qUt8oMN1Xr37AL38w.jpeg" /></figure><p>I tried to protest, to explain that I only wanted to help, but the words wouldn’t come. I was too weak, too drained from my ordeal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*z_7TZHE7_q3szG6QAJNxNQ.jpeg" /></figure><p>The people in white escorted me from my cell and into a sterile, white hallway. I was led to a small, windowless room, where I was strapped to a chair and hooked up to a machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*B9JxFS1MKPcUgA7xbo44pQ.png" /></figure><p>“This will suppress your abilities,” one of the people in white explained, as the machine began to hum and whir. “You will no longer be a threat to our society.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*8VKfzaUGCdLeLezGeoqB0g.jpeg" /></figure><p>As the machine did its work, I felt my powers fading away, replaced by a numb, emotionless void. I was no longer an empath, no longer able to feel the emotions of those around me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*6vTWefs9zGTPQydi-tnG7A.jpeg" /></figure><p>I was a prisoner in a world of narcissists, unable to escape or even to feel my own emotions. I was alone, lost in a sea of selfishness and indifference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*A7SRFwbQi2CU0G3saFYfNQ.png" /></figure><p>The years passed, and I was left to rot in my cell, alone and without hope. I had lost all sense of time, and my days were a blur of dull routine and monotony.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*_tH-2K4Et_gtKqfgbhVMvQ.jpeg" /></figure><p>But then, one day, something changed. I was being escorted to my daily dose of the suppression machine, when I heard a commotion in the hallway outside my cell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*V2FiLg-DToT9M_WtoT5MCw.png" /></figure><p>I strained to listen, and I could hear the sound of people shouting and fighting. It sounded like a rebellion was taking place, and the people in white were being overpowered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*2yHt9DhTLE5tyBSJ88C0aw.jpeg" /></figure><p>My heart began to race with excitement, and I felt a spark of hope ignite within me. Could this be my chance to escape, to reclaim my abilities and my freedom?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*azDyc_x1VTOaH9KyjWmFkw.jpeg" /></figure><p>The door to my cell burst open, and a group of rebels rushed in. They were disheveled and dirty, but their eyes shone with determination and resolve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Qj0MKShAjrcZGjzz80ft9Q.png" /></figure><p>“Come with us,” one of them said, taking my hand and helping me to my feet. “We’re here to free the empaths and restore balance to our society.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*kqEc8taCpKGPJZBuJkVpUg.jpeg" /></figure><p>I could hardly believe what was happening, but I didn’t hesitate. I followed the rebels out into the chaos of the hallway, ready to fight for my freedom and for the rights of all empaths.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*jEuOTCkNDWxXUny3KkHGaA.jpeg" /></figure><p>Together, we battled our way through the facility, taking down the people in white and freeing the other empaths from their cells. It was a long and difficult fight, but in the end, we emerged victorious.</p><p>I was finally free, able to use my abilities and to help others without fear of persecution. The world was far from perfect, but at least now, we had a chance to build a better future, one where empathy and compassion were valued and nurtured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*L6DGMil9K0w-E7fsf5RiFA.jpeg" /></figure><p>As the dust settled and the rebellion came to an end, I found myself standing on the steps of the former suppression facility, surrounded by my fellow empaths. We were free, but the fight was far from over.</p><p>The world outside was still filled with narcissists, who would stop at nothing to regain their power and control. We would have to be strong and united if we were to survive and thrive in this new, hostile world.</p><p>But despite the challenges that lay ahead, I felt a sense of hope and determination. We had overcome so much already, and I knew that together, we could create a better future for ourselves and for all empaths.</p><p>The journey would not be easy, but I was ready for whatever came next. I turned to face my fellow rebels, and together, we set out into the unknown, ready to face whatever challenges lay ahead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=579acbf23147" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LocateMe an API/Service to Geolocate anyone in Space & Time given only their name]]></title>
            <link>https://medium.com/@marcinkraszewski/locateme-an-api-service-to-geolocate-anyone-in-space-time-given-only-their-name-45fa27c5586a?source=rss-c3a1c8b29f6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/45fa27c5586a</guid>
            <dc:creator><![CDATA[Marcin Kraszewski]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 21:47:27 GMT</pubDate>
            <atom:updated>2022-10-14T21:47:27.120Z</atom:updated>
            <content:encoded><![CDATA[<h3>What’s in a name?</h3><p>Frustrated by your new co-workers refusal to take part in small-talk designed to identify their geographic origin? Do your parents refuse to tell you anything about where your family were actually from? Did you boss task you with solving a cold case and all you have is a list of names?</p><h3><strong>Don’t give up!</strong></h3><p>Personal names represent us and are very personal, yet the great majority are shared not only by a few people, but often many thousands across the globe. Some names are even so numerous that 50% of a countries population carries some version of a surname.</p><p>Names vary across cultures and between towns. Names are given to use by our parents but their final decision rests on their environment, personal history, and perhaps even their sense of humour. In that sense our names tell us not only about each of us as an individual but they may also reveal things about our parents or relatives thousands of years in the past.</p><h3>A connection to the past</h3><p>In many cultures on Earth, at least until recently, it was the norm for males to pass on their names to their offspring. Due to this some men’s names may be useful in make a connection between them and a line of forebears many dozens or hundreds of generations long.</p><h3>Nosiy but useful?</h3><p>No one seems to take names seriously is because they are distributed throughout the population more or less randomly (at least locally) making their entropy very high. This means that given only a persons surname we cannot say much at all about a given individual except something like “there is a <strong>x%</strong> chance that this persons family may have been at one point in time originating from location <strong>y</strong>.”</p><h3>Drawing with a broken crayon</h3><p>If I give you a name and ask you to tell me something about that person, what will you say? Let’s start with something really generic. What would you be able to tell me about “<em>John Smith</em>”? Being very aware of what’s written above regarding how information poor personal names are you respond, “My best guess it’s <em>a guy from the USA, or the UK</em>”. That seems like a really poor result, but given a string just 10 Bytes in length you’ve managed to extrapolate information that allows you to (more or less) focus on ~<em>50% of your population</em>, thanks to the greater than chance probability of the name <em>John correlating with a person living their life as a male</em>. Next you’ve gathered an idea of the general geographic location of the person’s birth, or at least the birth of their distant grand-parents.</p><blockquote><strong>7,922,312,80–7,526,312,800=396,000,000/2=198,000,000</strong></blockquote><p>Global population — Not Candidate countries/50%</p><p>Using a simple heuristic you’ve reduced your search space from nearly 8 billion individuals to just 198 million, a reduction of 97.51%!</p><h3>Google is better</h3><p>You could’ve just entered the name “John Smith” into Google, rendering this topic at best a waste of time. Here’s the sort of information displayed by Google:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*yMCDxsZamwhdv2sbEJz5IQ.png" /><figcaption>Google shows us a specific person</figcaption></figure><p>Looking at this we can see that our heuristic was at least as accurate as Google! The highlighted keywords include “he”, “United Kingdom” (UK) and “America” (USA). So either way we are a bit more informed.</p><h3>If you build it, no one will notice.</h3><p>Using Google is of course always an option. In spite of that cold hard fact, throughout the rest of this article we will develop an alternative solution making use of:</p><ul><li>a dataset of <strong>2.5 million people</strong> extracted from Wikipedia</li><li>the <a href="http://python.org/">Python</a> programming language, to prepare of training data</li><li>Ludwig, an AutoML framework, to train our inference model</li></ul><h3>Let’s get one thing straight</h3><p>This was originally going to go into depth into the process of creating a web scraper and/or writing a data processing script that would clean the data for us, however after several attempts I decided it might be best to search for a viable dataset. In this case I managed to find one that not only contained a couple million records, but came with a permissible license.</p><p>Yes, data preperation is an important skills, but if you find that someone has crafted a dataset for you that is going to be useful for your case, and you are free to use it, you should consider using it first, and if you need more data/different features you can address that at a later date.</p><h3>Get something working</h3><p>Enough idleness. Let’s create a proof of concept that takes a name as input and outputs the name of a country that the model associates with that name. If we are able to create such an ML model we know that we at least have something we can build upon, in case we cannot, we know it’s time to move on to something else. Don’t ever make any of your projects “precious”. They are not your children, they are just means to an end. You should expect to learn a lot working on your projects, but if you discover better paths, take them, lest you wander aimlessly, perfecting vapour-ware for the best years of your life…</p><h3>Step by step</h3><h4><strong>Zero</strong></h4><p>To get started you need to <a href="https://data.sciencespo.fr/dataset.xhtml?persistentId=doi:10.21410/7E4/RDAG3O">download this dataset</a>.</p><h4>One</h4><p>Unzip the dataset using this command in the command line:</p><pre>gzip -d cross-verified-database.csv</pre><h4>Two</h4><p>With a Python environment running, import the csv module</p><pre>import csv</pre><h4>Three</h4><p>Get the first row</p><pre>with open(&#39;cross-verified-database.csv&#39;, &#39;r&#39;, encoding=&#39;utf-8&#39;) as f:<br>    reader = csv.DictReader(f)<br>    print(next(reader))</pre><h4>Four</h4><p>Inspect the row, try to get a feel for relevant fields</p><pre>{&#39;wikidata_code&#39;: &#39;Q5548719&#39;, &#39;birth&#39;: &#39;1902&#39;, &#39;death&#39;: &#39;1975&#39;, &#39;approx_birth&#39;: &#39;&#39;, &#39;approx_death&#39;: &#39;&#39;, &#39;birth_min&#39;: &#39;1902&#39;, &#39;birth_max&#39;: &#39;1902&#39;, &#39;death_min&#39;: &#39;1975&#39;, &#39;death_max&#39;: &#39;1975&#39;, &#39;gender&#39;: &#39;Male&#39;, &#39;level1_main_occ&#39;: &#39;Culture&#39;, &#39;name&#39;: &#39;Albin_Amelin&#39;, &#39;un_subregion&#39;: &#39;Northern Europe&#39;, &#39;birth_estimation&#39;: &#39;1902&#39;, &#39;death_estimation&#39;: &#39;1975&#39;, &#39;bigperiod_birth_graph_b&#39;: &#39;5.Contemporary period 1901-2019AD&#39;, &#39;bigperiod_death_graph_b&#39;: &#39;5.Contemporary period 1901-2019AD&#39;, &#39;curid&#39;: &#39;64&#39;, &#39;level2_main_occ&#39;: &#39;Culture-core&#39;, &#39;freq_main_occ&#39;: &#39;1&#39;, &#39;freq_second_occ&#39;: &#39;&#39;, &#39;level2_second_occ&#39;: &#39;Missing&#39;, &#39;level3_main_occ&#39;: &#39;painter&#39;, &#39;bigperiod_birth&#39;: &#39;5.Contemporary period 1901-2020AD&#39;, &#39;bigperiod_death&#39;: &#39;5.Contemporary period 1901-2020AD&#39;, &#39;wiki_readers_2015_2018&#39;: &#39;14420&#39;, &#39;non_missing_score&#39;: &#39;3&#39;, &#39;total_count_words_b&#39;: &#39;2010&#39;, &#39;number_wiki_editions&#39;: &#39;3&#39;, &#39;total_noccur_links_b&#39;: &#39;16&#39;, &#39;sum_visib_ln_5criteria&#39;: &#39;21.402544&#39;, &#39;ranking_visib_5criteria&#39;: &#39;390812.5&#39;, &#39;all_geography_groups&#39;: &#39;Sweden&#39;, &#39;string_citizenship_raw_d&#39;: &quot;&#39;Sweden&#39;&quot;, &#39;citizenship_1_b&#39;: &#39;Sweden&#39;, &#39;citizenship_2_b&#39;: &#39;&#39;, &#39;list_areas_of_rattach&#39;: &quot;D:_&#39;Sweden&#39;_matchB1_P:_&#39;Sweden&#39;&quot;, &#39;area1_of_rattachment&#39;: &#39;Sweden&#39;, &#39;area2_of_rattachment&#39;: &#39;Missing&#39;, &#39;list_wikipedia_editions&#39;: &#39;fiwiki|ruwiki|svwiki&#39;, &#39;un_region&#39;: &#39;Europe&#39;, &#39;group_wikipedia_editions&#39;: &#39;grB&#39;, &#39;bplo1&#39;: &#39;-87.62777777777799&#39;, &#39;dplo1&#39;: &#39;11.47194444&#39;, &#39;bpla1&#39;: &#39;41.881944444444&#39;, &#39;dpla1&#39;: &#39;58.10638889&#39;, &#39;pantheon_1&#39;: &#39;0&#39;, &#39;level3_all_occ&#39;: &#39;D:_painter_P:_konstnär_Swedish&#39;}</pre><h4>Five</h4><p>We can group the keys based on strict conventions (time, space, personal)</p><p><strong>Identity</strong></p><ul><li>Name</li><li>Gender (sex)</li></ul><p><strong>Time</strong></p><ul><li>birth</li><li>death</li></ul><p><strong>Location</strong></p><ul><li>un_subregion</li><li>all_geography_groups</li><li>string_citizenship_raw_d</li><li>citizenship_1_b</li><li>citizenship_2_b</li><li>list_areas_of_rattach</li><li>area1_of_rattachment</li><li>area2_of_rattachment</li><li>un_region</li></ul><h3>Focus on POC first</h3><p>To get training as soon as possible, let’s just focus on those keys that provide us just enough data to train a model that does this:</p><p>“John Smith” → Northern Europe</p><p>Nothing fancy, just one input and one output. If we can get that to work this project will be an initial success.</p><p>So to meet those goals let’s set our input key as:</p><p>“name”</p><p>and our output value as:</p><p>“un_subregion”</p><h4>Six</h4><p>Modify the existing code to print just the names and un_sub regions so you can get an idea of what the data looks like</p><pre>...<br>reader = csv.DictReader(f)<br>    for row in reader:<br>    sub = [row[a] for a in [&#39;name&#39;,&#39;un_subregion&#39;]]<br>    print(sub)</pre><h4>Seven</h4><p>Seven review the output</p><pre>...<br>[&#39;Fatima_Svendsen&#39;, &#39;Northern Europe&#39;]<br>[&#39;Måns_Ekman&#39;, &#39;Northern Europe&#39;]<br>[&#39;Nikolaus_Cisnerus&#39;, &#39;Western Europe&#39;]<br>[&#39;Leif_Ahrle&#39;, &#39;Northern Europe&#39;]<br>[&#39;Sven_Zetterström&#39;, &#39;Northern Europe&#39;]<br>...</pre><h4>Eight</h4><p>Collect statistics on un_region</p><pre>statistics = []<br>...<br>reader = csv.DictReader(f)<br>    for row in reader:<br>        sub = [row[a] for a in [&#39;name&#39;,&#39;un_subregion&#39;]]<br>        name, region = sub<br>        statistics.append(region)</pre><h4>Nine</h4><p>Import the Counter function from collections module and print out the frequencies for un_regions</p><pre>from collections import Counter</pre><pre>for k,v in Counter(statistics).items():<br>    print(k,v)</pre><pre>Northern Europe 138728<br>Southern Europe 223089<br>Northern America 474983<br>Eastern Europe 106823<br>Western Europe 779670<br>South America 108613<br>Western Asia (Middle East Caucasus) 50188<br>Eastern Asia 72716<br>South Asia incl. Indian Peninsula 63562<br>Central America 28772<br> 53567<br>North Africa 16363<br>Oceania Western World 79116<br>SouthEast Asia 24602<br>Caribbean 14123<br>Southern Africa 13170<br>East Africa 12841<br>West Africa 19205<br>Central Africa 5634<br>Central Asia 4017<br>Oceania not Aus Nze 2035</pre><h4>Ten</h4><p>Review the data for insights. Right away a few things jump out:</p><ol><li>Oceania not Austrailia/New Zealand have only <strong>2,035 </strong>events</li><li>Western Europe has the most at <strong>779,670</strong></li><li>Events with not un_region total <strong>53,567</strong></li></ol><p>We can conclude 2 things in this case:</p><ol><li>Western Europe will be much better represented than Oceania, and</li><li>we must ignore 53,567 data points at this time as they lack a un_region</li></ol><p>That gives us: 2,238,250 useful rows to train/test our model. I think that’s a good start for now. Ok. Last step is to create a csv file that contains only 2 rows: ‘name’, and ‘un_region’</p><h4>Eleven</h4><p>Modify your code to generate a csv containing training examples for use in the AutoML framework Ludwig</p><pre>with open(&#39;training_data.csv&#39;,&#39;w&#39;,encoding=&#39;utf-8&#39;) as outfile:<br>    writer = csv.DictWriter(outfile, fieldnames=[&#39;name&#39;,&#39;un_region&#39;])<br>    writer.writeheader()<br>    with open(&#39;cross-verified-database.csv&#39;, &#39;r&#39;, encoding=&#39;latin-1&#39;) as f:<br>        reader = csv.DictReader(f)<br>        for row in reader:<br>            sub = [row[a] for a in [&#39;name&#39;,&#39;un_subregion&#39;]]<br>            name, region = sub<br>            if name and region:<br>                writer.writerow({&#39;name&#39;:name, &#39;un_region&#39;:region})</pre><p>The resulting training.csv file weighs in at over 78 MB!</p><p><strong>Twelve</strong></p><p>Using a text editor create a file named config.yaml:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*jVmXdmQbP_dslnPGJaPzTA.png" /><figcaption>This is all you need, not kidding.</figcaption></figure><h4>Thirteen</h4><p>Run the following command in your command line to train your model</p><p><strong>Tip:</strong> Make sure you open the commandline in the precise directory where you saved your training_data.csv as well as your config.yaml</p><pre>ludwig train --config config.yaml --dataset training_data.csv</pre><h3>Congratulations!</h3><p>If everything worked and the training completed you now have a simple model which you can experiment with, and most importantly let other people test to get their feedback in order to decide if this project is worth persuing or if its dead in the water. Either way I hope you learned a few things and if you have any suggestions for improving the Geolocation for names service write your suggestions below!</p><h3>Error Resolution</h3><p>If you get the message:</p><pre>UnicodeDecodeError: &#39;utf-8&#39; codec can&#39;t decode bytes in position 4814-4815: invalid continuation byte</pre><p>Modify your code to use ‘latin-1’ encoding instead of ‘utf-8’</p><pre>with open(&#39;cross-verified-database.csv&#39;, &#39;r&#39;, encoding=&#39;latin-1&#39;) as</pre><h3>References</h3><p>What’s in a name</p><ul><li><a href="https://hbr.org/2020/10/whats-wrong-with-asking-where-are-you-from#:~:text=While%20the%20question%20may%20not,nationality%20can%20be%20quite%20damaging">https://hbr.org/2020/10/whats-wrong-with-asking-where-are-you-from#:~:text=While%20the%20question%20may%20not,nationality%20can%20be%20quite%20damaging</a>.</li></ul><p>Don’t give up!</p><ul><li><a href="https://en.wikipedia.org/wiki/List_of_common_Chinese_surnames">https://en.wikipedia.org/wiki/List_of_common_Chinese_surnames</a></li></ul><p>A connection to the past</p><ul><li><a href="https://www.semanticscholar.org/paper/Surnames-and-Genetics-Jobling/2477a392a98594860c150737a4cf7424c3377dd7">https://www.semanticscholar.org/paper/Surnames-and-Genetics-Jobling/2477a392a98594860c150737a4cf7424c3377dd7</a></li></ul><p>Step by Step</p><p><a href="https://linuxize.com/post/how-to-unzip-gz-file/">https://linuxize.com/post/how-to-unzip-gz-file/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45fa27c5586a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>