Threads for faehnrich

    1. 1

      I’d say I first heard about the posting for my current job from a tech forum I answer questions on, and may have got the interview because I would help people with their problems.

      The job is embedded development, something I’ve been meaning to get back into. I had still been doing embedded development on my own just because it’s an interest of mine. I don’t think anyone saw my blog, but just being able to talk about embedded stuff during the interview really helped.

      But similar to what @BenjaminRi mentions, my blog got the attention of someone working on a project similar to mine. They were much more experienced and they reached out to me and helped me through a lot. So not related to getting a job but my blog really did help me get connected with them.

      I have no idea what leetcoding is.

      1. 1

        I see many people posting having no idea what leetcoding is on here This gives me hope if you are willing to put in enough work by writing blog or even side projects this can help you get noticed and you can end up having a rewarding career. Honestly this gives me a lot of hope

        1. 3

          Success is what you define it to be. Internalize this.

          The archetypical tech success story involves high salaries, famous companies, and a life defined by upward mobility. This is extraordinarily fragile if only because each one of these metrics is other people’s perception of you, which you cannot control.

    2. 9

      Mozilla Thunderbird. May as well keep feeds together with my mail if it supported it.

      1. 1

        Yup, ever since I found out Thunderbird already had an RSS reader, I used that since was already using for mail, don’t need yet another app.

    3. 1

      woah crazy. I know nothing about selfhosting like that. What’s that it talks about with a reverse proxy? How’s that go from a public IP on vultr to a closet in your home?

      1. 4

        I think his main motivation was to not expose his residential IP address. If he’s on a dynamic IP address, a cron job could access a secret URL on his VPS over at Vultr. The receiving end over at the VPS could then look at the client’s IP address (ie. his current residential IP address) and reconfigure nginx (or HAProxy, etc.) to route traffic to that specific IP adress instead of the old one.

        1. 1

          If you wanna be fancy you can have a gpg key pair and send an encrypted payload to a doesn’t-need-to-be-secret url. Swap out for other asymmetric encryption schemes to your liking. I just picked what I know.

        2. 1

          You can also simply run a client for any dynamic DNS at home, then you have an A record to lookup. It’s probably more reliable to not rely on DNS propagation times and just push your IP periodically, like @enpo wrote.

          I use, but I don’t host anything public at home, but I do access my MP3s with subsonic, so I don’t need the static IP.

      2. 2

        In addition to @enpo’s suggestion, you could easily do this with a VPN or SSH.

        1. 1

          Ah! Why didn’t I think of that :)

          The clever thing about a VPN is that you can leave the residential firewall as-is with no open ports to the outside world.

          You’ll also benefit from basically no delay if your ISP changes your IP address as the VPN would just reconnect.

          On top of this, your layer 7 reverse proxy (nginx, HAProxy, etc.) wouldn’t need to be reconfigured in the event of an IP address change, as the IP address over the VPN would be private (RFC 1918), and most importantly: static.

          Just benefits and no downsides :)

    4. 12

      great idea and execution! especially for the mono toned images! I love it.

      however, maybe you should disable the scroll effect on article content and make the page background more paper-like :D

      Do you plan to open source it?

      1. 6

        thanks! the scroll effect is one of the tools i use to hide a lot of the sins of not being very good at laying out the articles. I’d like to disable it if i can but i think first i need to solve the problems mentioned here, or truncate the articles to their box size in javascript, not sure which yet. If i truncate i’ll either have a modal view to the whole article, or just link directly to the source.

        as far as open sourcing it, yeah i think i will. depending on how much people like this i’ll probably add in the ability to choose your own feeds, categories, and layouts and might have a hosted version people could pay for, or an open source one you can host yourself.

        1. 4

          That’s great to hear, would love to see the source, set something like this up for myself. It looks great!

        2. 1

          great! keep up the good work. i’m looking forward for a hosted version, i’ll definitely pay for it!

        3. 1

          Very cool!

          I wonder if CSS grid can help with the layout. It seems like you would want to place articles into columns left-to-right like this:

          The part I can’t figure out is how to automatically set the height in grid cells based on the height in pixels.

    5. 9

      Instead of “If you’ve got nothing to hide, you’ve got nothing to fear”, it should be “if you don’t have a valid reason, you shouldn’t be looking”.

      Instead of “we need weak crypto to see what pedos are doing to keep children safe” it should be “we need strong crypto to keep children safe from pedos”.

      Let me put a tape recorder in your bedroom while you sleep, I bet I could find someone to pay me for that. That’s creepy, but not far off from surveillance capitalism.

      There’s my privacy rants.

      1. 1

        Instead of “we need weak crypto to see what pedos are doing to keep children safe” it should be “we need strong crypto to keep children safe from pedos”.

        From a practical standpoint, how does strong cryptography keep children from being abused?

        (btw i think the ‘think of the children’ excuse for backdooring crypto is, well, stupid. I’m just playing a little devil’s advocate here)

    6. 3

      Reminds me of my time in the computer lab in college. Except it was a bit different.

      It was a computer lab in a dorm and the tech that ran it was another student. There didn’t seem to be other computer based majors going in there, so he probably liked that.

      He’d nod and smile when I came in, then let me do basically anything on the machines. I installed and played games on them. The games and save files were never touched.

      He probably thought the games or projects I was doing sounded fun so never minded. Plus, I wouldn’t bother him with how to print things.

      1. 1

        I was in uni in Sweden in the early 90s and we had nothing like this.

    7. 3

      It couldn’t at all be the case that the boss gives poor direction which is what leads employees to asking questions, oh no.

      I’m sorry, soldiers. Let’s not think they’re anything other than someone willing to sacrifice everything for you.

      But yes, no way could someone ask what to do and still be a self-starter. Real winners already know what the boss wants!

      Anyway, any kind of communication should be discouraged.

      “By the way, I googled “questions you never ask your boss” and found a lot of articles which prohibit many different questions. I wasn’t surprised to find that none of them mention the question I’m talking about.”

      I can’t imagine why, it’s like there’s a reason people wouldn’t give that advice.

    8. 1

      I’m here, jekyll on just a simple host. Forgot the theme, but will probably change to something handmade, and even not use jekyll then.

      But like others said, just get stuff out there and dont sweat details, can change later!

    9. 2

      Possibly my favorite C quirk. Saw it in some fun IOCCC entries.

    10. 8

      CODE: The Hidden Language of Hardware and Software.

      It goes from explaining encoding of information, how to make logic gates, all the way up to a full computer.

    11. 5

      I knew bookmarklets were a thing, but never really considered them.

      I just replaced a browser extension with one.

      1. 3

        Dotepub is a bookmarklet that generates epubs from webpages, which I use often to get away from the shiny computer screen and read blogs on my kindle.

        It’s one of my favorite pieces of software.

        I think bookmarklets are very underappreciated.

      2. 2

        One of my favorite bookmarklets is one that scans the page for text that looks like a base64 encoded image and replaces it with an img tag.

        I use this to view screenshots from build failures on CI platforms like travis which don’t support artifacts (only text logs).

    12. 1

      This is fun, I love this stuff. Would see this kind of thing back when web design was more whimsical.

    13. 4

      Don’t know if this has anything you’re looking for, but there’s a Humble Bundle with Linux books.

    14. 25

      “The C language combines all the power of assembly language with all the ease-of-use of assembly language” - Ancient Peasant Proverb

      -Expert C Programming by Peter van der Linden

    15. 1

      For the leading-break, this is just a way to put a break for the previous case. In fact, my auto-formatter just moves it to the normal place for the previous case. It’s another way to remember to always break your cases I guess.

      1. 1

        Yes, but it formats nicer for single-line cases and it is much easier to spot a missing break.

        1. 1

          What I’m saying is (for my formatter at least) is it won’t do that as a single line.

          But I get it, it shifts your thinking from “I should break this case to prevent fall through to next” and shifts to “I’ll put a break before to prevent fall through from previous.”

    16. 4

      I’d like to know how they host. Like DynDNS? I know basically nothing about this kind of thing.

      1. 1

        Some ISPs offer static IP addresses for an extra cost or you could point cloudflare at your ipv6 address but some kind of dynamic DNS setup is probably how it works because that is easy and free, you pretty much just add a curl command to your crontab.

    17. 2

      I wouldn’t think of making a statement my ad-free blog is ad-free, because I never even considered putting ads on my blog.

      Do people put ads on their blogs? Even if they’re not on a blogging platform like, blogger, medium, etc.?

      1. 1

        Well, there are different kinds of blogs. My blog, for example, is just a personal site where I write crap for fun. Other people are Professional Bloggers with ads, sponsors, affiliate links, SEO, social media sharing widgets, paid content, etc. I guess if you can make yourself popular enough you can make a decent living at it but it always seemed like a lot of work to me.

        1. 1

          Are there any realistic estimates of how exactly popular one must be to make anything on that kind of stuff? With typical ad revenue per click, my feeling is that it’s more trouble than it’s worth unless you are really very, very big.

    18. 4

      I’m Eric and I write about things like obfuscated C code or reversing the Quake cracking program QCrack.

    19. 6

      Might build a game with C and SDL. Was thinking of building Asteroids, without using any sprites.

      1. 2

        Sounds cool, so just drawing lines right to a buffer yourself? I got a project in mind to draw right to the buffer as well, but not even using SDL, we’ll see how that goes.

        1. 1

          Yeah. I contemplated also just using OpenGL. Would you use a graphics library, or would you skip even that?

          1. 3

            No library, just writing to whatever buffer the system lets me (using Handmade Hero for some inspiration/reference just to see if I can and to keep it simple.) But may go to OpenGL when I get other things working so I could use graphics hardware if I can.

          2. 3

            Honestly when it comes to C I think going with a library is your best bet. Even SDL can be a bit bulky when it comes to game development. I’ve found that Allegro works great for game dev in C.

          3. 1

            I would say don’t use hardware acceleration, use only software rendering. First, you are doing asteroids, so, it’s 2D, it and can be made with small resolution, so rendering will be fast enough. Second, you can create many weird effects with software rendering, that would be a bit harder using hardware acceleration. And finally, software rendering is fun.

    20. 7

      spending quality time with the girlfriend, bake a sour-dough bread, some nice big cycling tour and setting up unbound on my vpn raspberry pi.

      1. 2

        Unbound? VPN Raspberry Pi?

        1. 2

          I run an openvpn on a raspberry pi at home. I currently have a dnsmasq based DNS setup on it (a bit like pi-hole, but self made). I want to replace it with unbound since that is a better caching resolver than dnsmasq.

          1. 1

            sounds like a neat project. What’s vpn all do, just let you act like you’re on your home network from outside? What do you need to know your home IP to connect?

            1. 2

              I have a Synology NAS that stores all our photos and I use the notes app as well. I travel a lot, so it is nice to have a vpn when I am using a public wifi. The girlfriend uses it for the same purposes.

              For connection I have a bit of a strange setup: my provider is dual stack, but the IPv4 is carrier grade NAT or something, so unreachable from the outside. IPv6 can be routed though. So my trick is that I run socat on a cheap/dumb scaleway instance that forwards IPv6 and IPv4 to my pi on IPv6. That way I can reach it from everywhere and only the scaleway box can talk to it.