1. 2

    Is PHP not at least entertaining? :-(

    1. 1

      I don’t get the hype about Joe Rogan.

      1. 2

        It’s just a bunch of long interviews with names you have heard of probably, they get to talk for over an hour in a relaxed setting with no agenda being pushed down on them / no ‘forced sell’.

        Rogan doesn’t really engage much or steer the conversation in the ones I have listened to, so it’s a bit like interviewing the person yourself, vicariously?

      1. 6

        I am working on a mini image gallery (like flickr, 500px, google photos I guess)

        Started off as a way to publish my photos in groups and view exif data in a very simple way, but I got carried away…

        1. 1

          Do you have more to share on that topic? Maybe a link to a blog or the source code? The problem always sounds so simple but actually creating something like this then blows up in complexity unfortunately.

          1. 5

            If it sees the light of production, then for sure I will open source and blog-cument the process.

            Turns out PHP is a good language for this kind of mockup, it has stuff like exif_read_data() built in!

            1. 1

              Thanks, I’m looking forward to it!

        1. 1

          I wonder if the authors agree with their metadata being aggregated and displayed in this way.

          1. 3

            It’s sort of a prerequisite of using Git, no ?

            1. 1

              Agreeing? No, why?

          1. 1

            I want to support mozilla / firefox

            But I don’t know if I need this :-)

            1. 2

              If you don’t need this, don’t buy it. You can still donate, if you feel the urge.

            1. 2

              I had the idea to combine two hobbies this week…

              3D printing and analog photography

              So I’m working on a rig to help me digitise my negatives :)

              1. 9

                This website is an incredible eyesore. I love it.

                1. 6

                  they even provide a solution for people who don’t love it:

                  document.head.parentNode.removeChild(document.head);
                  
                  1. 1

                    Learned that trick from someone who posted it in reply to a previous article.

                    1. 1

                      I’ve added it to my list of bookmarklets

                  2. 2

                    My eyes!

                    1. 2

                      Thanks! Be sure to sign the guestbook.

                      1. 2

                        Yeah, this is definitely what I would define as a ‘kitsch’ website design.

                      1. 9

                        What are we looking at, and why does it just result in a white screen after a couple seconds? Also, why is there a muted speaker in the top right that doesn’t make any sound when I toggle it? O_o

                        I’m lost y’all.

                        EDIT: Apparently the author didn’t see the trending post today about “Are you writing a Chrome application or a web application?” because this doesn’t work in Safari or Firefox. Funny enough, it says “Warning: This may not work on mobile” - but only on Firefox. So, most mobile users won’t even see the warning which is specifically directed to them. The music is chill, though :D

                        1. 5

                          I was about to also say something like this

                          But then I tried again and it seemed to work. I think the videos are just loading a bit slowly

                          1. 2

                            Thanks! Indeed, it seemed to work for me on the 2nd try.

                            edit: On desktop I’m also getting missing videos (i.e. white screens). Even more than on mobile. Don’t know if it’s worse connection, or something else. (Had only one somewhat successful video fragment over ~5+ refreshes.) edit 2: Also white screens on Chrome, so probably connectivity. Maybe some preload before showing “click me” would be advisable?

                            1. 1

                              Oh, that could be it… Internet here can be pretty slow.

                            2. 3

                              Works for me on firefox.

                              1. 2

                                My experience appears to be the opposite of yours - It ran just fine on Firefox Nightly on mobile.

                                1. 1

                                  Well, maybe nightly is different. :)

                                2. 1

                                  I definitely tested this on Firefox and Chrome. I don’t care about Safari because you shouldn’t use a propreitary web browser.

                                  The other main issue, aside from mobile, is having sufficient bandwidth to preload the videos in time to display them.

                                  1. 2

                                    I definitely tested this on […] Chrome. […] you shouldn’t use a proprietary web browser.

                                    Chromium isn’t quite the same thing…

                                    1. 2

                                      Meh, it’s close enough for browser testing. I tested on Chromium, for the record, not Chrome.

                                    2. 1

                                      If “you shouldn’t use a proprietary web browser” then why test in Chrome? No videos showed up when I saw it… That’’s weird :)

                                      1. 3

                                        I tested it in Chromium. The renderer is not meaningfully different from Chrome’s.

                                  1. 4

                                    I would be using OpenBSD I think if it supported the network adapter on the Surface Pro

                                    1. 4

                                      I tried writing a network driver once for Plan 9. Basically got no where but that was when I was a hardware noob.

                                      I wonder how it really is to write a simple, basic, shitty network driver. Someone should do a series.

                                    1. 13

                                      Don’t people get tired of reinventing the wheel?

                                      INI -> XML -> JSON -> “INI with a heirarchy”, and it only took 40 years.

                                      And then people wonder why we still can’t deliver anything on time or with fewer bugs.

                                      1. 3

                                        Doesn’t it stem from that same wheel turning and bringing us new people/ideas?

                                        I think it would be more a case of people coming into this and seeing what we have now, hating it, and doing their own thing.

                                        1. 2

                                          Why do the new people hate it, though?

                                          Is it because of actual, measurable deficiencies in the existing technology, or vague feeling of “ickiness” or “my chosen development environment doesn’t mesh well with the existing technology”.

                                      1. 1

                                        I always thought about having an opengl (or maybe vulkan now) enabled wallpaper engine, utilising GLSL and the like. Perhaps it would only turn on when you have no big window in the way. Not exactly timed, but, contextual?

                                        Just imagine your favourite terminal window on top of this background:

                                        https://www.shadertoy.com/view/XslGRr

                                        1. 1

                                          Changing the desktop wallpaper takes 0.2 seconds under Xfce4 on my computer. This would give animations a frame rate of no more than 5 FPS. It is possible, but you would not get a smooth animation this way, and it would possibly tax the system.

                                          A more feasible approach could be to run a 3D application in a window that is behind the other windows, in the same way as some window managers solves having a desktop with icons. This would give smoother animations, but then you would have this running in the background at all times, quite possibly making fans spin and making use of other applications noticeably slower.

                                          Having a live wallpaper running only if > 80% of the window was visible could be a possible solution, but I have not seen anyone implement this yet.

                                        1. 17

                                          If you are trying to get a frontend job and don’t know React, Vue, Angular or Meteor or something then prepare to be treated like a second class citizen.

                                          I have been avoiding this tech vehemently and it has not done me many favours :P

                                          1. 6

                                            If you want to get a job doing frontend, why would you vehemently avoid learning the most popular JS frameworks?

                                            1. 2

                                              Frontend development is not about Javascript, at least not exclusively.

                                              I don’t think it is necessary at all to use these frameworks for the majority of projects, and if you were to talk about putting together a website or web app that does not a JS framework, what would you call that practise?

                                              Design Integration? I think it is much broader than that, so that’s why I call it frontend development.

                                              1. 5

                                                I think frontend frameworks are both overused and you should know at least one as a web frontend developer. I don’t think you can be in a position to judge what approach makes most sense for a particular project if you are not at least reasonably proficient developing both with and without framework.

                                                I also think you should try to be familiar with ideas on which at least most popular frameworks are built to inform your own praxis.

                                                Religiously avoiding JS frameworks makes as much sense to me as religiously using them.

                                          1. 1

                                            I have been designing my own 3d printable split keyboard in an attempt to learn more about CAD and designing real world things. Excited to learn KiCAD next and mess with firmware!

                                            Ortholinear models have always appealed to me, like the planck and the ergodox to some degree.

                                            Side note: Also trying to learn mtgap keyboard layout, which I feel will make a bigger difference than just simply using an ergonomic keyboard.

                                            1. 9

                                              Right on, so it’s not called Sir Hat!

                                              1. 8

                                                Allow me to take your code, m’lady.

                                                1. 1

                                                  I’m pretty sure it was always just called ‘ess arr dot eitch tee’.

                                                  1. 3

                                                    I’m happy to announce today that I’m opening sr.ht (pronounced “sir hat”, or any other way you want) […]

                                                    https://drewdevault.com/2018/11/15/sr.ht-general-availability.html

                                                    But Source Hut sounds really nice! And it’s great that hosted users can continue using the short form :).

                                                1. 2

                                                  I think I am bored with web development now, my time with it may be close to finished.

                                                  Currently exploring what I actually enjoy doing, maybe I can make a hobby+career from it?

                                                  Things I found out I enjoy doing, still dabble with when I can:

                                                  • Embedded systems (messing with keyboard and 3d printer firmware)
                                                  • Music production (usually with restrictive requirement, like using SID chip)
                                                  • 3d modelling/cad (3d printer projects and game objects)

                                                  I will have a think this week.

                                                  1. 3

                                                    I would like to see this but just as a tiny PC and hardware input device all in one. So you just hook up the USB (type C for display) to your laptop or a TV and you are away.

                                                    It would be like one of those stick PCs, except with an input device built in!

                                                    1. 2

                                                      I always thought it’d be cool to have something like the kinesis advantage pro (which I have) with a little folding LCD in the middle, a computer inside, and a thumbstick or two somewhere. Plus a bunch of ports for connecting it to stuff.

                                                      Perhaps with a battery inside.. :-)

                                                      Now just add a head-mounted display and you have a perfect travel computer.

                                                      Oh wait, did I just reinvent the laptop.

                                                      1. 2
                                                    1. 2

                                                      One thing that put me off from learning Rust (previously) was reading stackoverflow comment like the following:

                                                      I think something changed since every answer and even the documentation uses rand::thread_rng. By the way, rand is unstable now, so you have to add #![feature(rand)] to the top of your file and use the nightly rustc. All I want to do is test something; I’m this close to just using the C rand() function through FFI and calling it a day.

                                                      reference

                                                      I completely understand that this is the way it goes for new stuff. I will get through my ‘Rust programming language’ book this year and take my time with learning rust, through all of the changes!

                                                      1. 3

                                                        I think the person who wrote that comment was confused.

                                                        A thing to remember about Rust is that it was changing very quickly up until version 1.0 in May 2015. In particular, a lot of half-baked things that were in the standard library got turned into external libraries so that their half-baked-ness wasn’t preserved forever by backwards-compatibility requirements. A lot of those things hung around secretly for the benefit of the compiler, which couldn’t be ported to use the external libraries overnight, but the official solution is “use the external library” (or “crate”, in Rust terminology).

                                                        The original question you linked to was asked in 2013, well before the 2015-05 cutoff, so it talks about std::rand and uint that no longer exist.

                                                        The answer just above the comment you linked to is correct today, but was edited in 2018-08, so it may have been wrong or misleading before then.

                                                        The actual comment you link to was written in 2017-02, but the bits about #![feature(rand)] and using the nightly compiler make me suspect the author stumbled onto the secret compiler-only version of Rust’s random-number library, instead of using the official, advertised, easy-to-use version instead.

                                                      1. 4

                                                        Interesting. Could this have a damaging effect on open, free software available to us?

                                                        1. 10

                                                          Why would it have a damaging effect? Are you supposing that there are a lot of useful FOSS projects out there that are public only because their owners didn’t want to pay GitHub five dollars a month?

                                                          1. 6

                                                            They already push the agenda that you probably don’t want your side project or interview assessment to be public. I think that there could be projects locked away as they are not ‘ready’. Hackers won’t be able to learn from things they cannot see!

                                                            Slippery slope argument in there somewhere… I’m more interested to see how they tie this product in to LinkedIn.

                                                            1. 2

                                                              From what I’ve seen of GitHub, that seems like a fairly reasonable supposition, especially if you leave out the FOSS ideology and just consider publicly accessible projects. More user control over privacy will definitely (as in “by definition”) result in less public access.

                                                              1. 2

                                                                Are you supposing that there are a lot of useful FOSS projects out there that are public only because their owners didn’t want to pay GitHub five dollars a month?

                                                                Actually, yeah. A lot of cool repositories have a single commit, and were pushed to one time anywhere from 1-7 years ago. They’re super useful, but I can see people making that kind of repository private now that it’s free.

                                                            1. 7

                                                              This is the reason I feel apathetic being a web developer for the last half decade or so

                                                              I love the platform but it seems like the bar to entry for being a professional keeps rising, and I am disassociating from what employers desire? Perhaps I have not seen the right methodology that clicks with me yet.

                                                              1. 8

                                                                For being a professional in web development you need to be able to solve the problems in a understandable, maintainable way, as simple as possible, imho. And for that, you don’t need the modern frontend nonsense.

                                                                I would say, if you want to learn, the way is back to basics: HTML and CSS. And Vanilla JS if you need some interaction. You’ll be able to do a lot with just that. Once there is something hard to do, maybe a library or two starts to make sense. You will know while on the road.

                                                                The entry point for new web professionals shouldn’t be create-react-app hello-world. Should be the html snippet from the article.

                                                                1. 1

                                                                  Can you think of an open source web app project that is understable, maintainable, simple and doesn’t use any modern frontend library/ framework?

                                                                  1. 1

                                                                    Couldn’t think of one right now, but a quick search returned this, and seems like a good example: https://github.com/cristianbote/hnpwa-vanilla

                                                                    When I talk about the modern frontend nonsense, what I mean is being lazy about solving problems, solving them poorly just importing some massive library, or focusing on a pretty niche functionality that my development tool needs instead of solving the problem that needs to be solved in the first place. Giving more importance to smart and full featured tools without noticing that the JS bundle is now x10 the size.

                                                                    I’ve been working on closed source for the company I work on, and doing many frontend solutions of all the sizes. And it’s possible to build medium-big web apps with just JS.

                                                                    Some projects eventually need something modern to build UIs easier, let’s say Vue. We added Vue and just Vue, not Webpack or anything else, because we didn’t need webpack or any transpilation at that moment, just Vue.

                                                                    The problem is when the hello world of an application is already half a megabyte, when it’s a simple webpage that could be perfectly done with vanilla JS and added Vue later, once it needed it. I’ve seen landing pages with React just to put an image slideshow.

                                                                    EDIT: The linked project structure is nice and the code is pretty simple and clear about what it’s doing, but I would have simplified the bundling process by using Rollup directly, maybe.

                                                                    1. 1

                                                                      There is of course a third alternative to both - i.e., where wasm is heading. This is what we do at work–write the frontend in Haskell and compile it to JS (future-proof’ing to wasm via using ghcjs[1])–and we get all the maintainability/ simplicity of Haskell, and not to mention FRP.

                                                                      [1] https://www.reddit.com/r/haskell/comments/97cwg5/what_is_the_status_of_ghcjs/e47yrgg/

                                                                      1. 4

                                                                        Compiling from another language to WASM doesn’t seem like a simple solution for me. Requires many layers of knowledge and more niche technology (so, less documentation available) for many projects in which just doing it in Javascript would be enough.

                                                                        But, as always, it just depends. If the resulting bundle size is reasonable, the team is used to the technology, documentation is good enough and maintainability improves, it’s an option.

                                                                        At least there are implementations and implementations. Blazor downloads whole Mono into the browser and then downloads .dll files to run them, which is a complete tragedy.

                                                                          1. 3

                                                                            Compiling from another language to WASM doesn’t seem neither like an easy solution. But again, talking from today’s limitations as it’s not mature enough.

                                                                            And if we go on that path, I would probably prefer something like Mint Lang. Which is a language specifically designed for SPAs.

                                                                2. 5

                                                                  I’m like you but I dislike the platform, and I’m not a web developer anymore. My cynicism springs from the fact that it isn’t very different from how it was 20 years ago when we were writing Perl scripts to spit out HTML.

                                                                  Twenty. Years.

                                                                  Browsers can do so much more now, but the dev experience can be summarized as, “software to make software to make software.” And I’m supposed to be impressed that I get to learn in excruciating detail what each layer of that fractal nonsense is supposed to do.

                                                                  Unfortunately, the issues you mention will always exist so long as we tolerate a celebrity pop culture that values easy over simple.

                                                                  1. 1

                                                                    Perhaps I need to broaden my scope for things I wish to do for money.

                                                                    2019 may be the year I try some new and exciting thing and just go for it :-)

                                                                    1. 1

                                                                      The limited computing environment offered by the web is good at what it tries to do, but I really believe technologists should venture beyond it if only to hone their thinking and expose themselves to beautiful concepts.

                                                                      Best wishes!

                                                                1. 1

                                                                  I found this to be very useful, for all of the consumer grade hardware coming out that only supports Windows.

                                                                  A sane way to run my HDMI capture device via my linux server