1. 1

    neat website, but I can’t help but think that loading animation might trigger seizures in some people

    1. 1

      Perhaps … cutting edge has its own drawbacks. Like it is not distributed evenly.

      W3C works - afaik - on queries for such cases. I’m pretty sure once there is available technology sites like this will use it.

    1. 3

      The animations here are really amazing, visualizing every step of the algorithm and how it could be used

      1. 5

        if I didn’t start making websites in the 90’s, I sure wouldn’t be trying to get into today - even a few short years ago it seems like it was much simpler to get started.

        1. 3

          don’t get overwhelmed by those little boxes …. no one knows them all … I’m practicing making websites since the 90s, and while it’s a herculean job, today is easier than before.

          if you want to pick up now start either with javascript / react or clojurescript for fun and enlightment.

          the question is however, if it worth learning making websites today.

          my feeling is that once one learns all boxes, lets say from front-end, the next year it will be filled with other boxes unrelated to previous year. i think here ar / vr and co.

          1. 2

            Ignoring the severely broken nature of hiring web developers, more and more this or that specific box has been crucial to whether or not you’re invited to interview - less and less respected is proficiency with the core technologies underlying the various frameworks/libraries/tools/etc, because they are now the only thing that matters. If you can learn React (or whatever) in a couple weeks doesn’t really matter when the chain through recruiters, HR, and the hiring manager completely ignore the actual needs of the dev team. That being said - I’ve repeatedly seen people without an understanding of the core technologies welcome onto teams because they were trained in whatever framework/library/workflow the hiring team uses - and they’re able to produce impressive results.

            1. 1

              On the other hand “knows react” is fairly meaningless and you can just set up a hello world and list that you have some react experience. Especially if you know you could work it out quick.

              1. 1

                It doesn’t matter if you did the tutorial, or took a class, or made something bigger on your own – the recruiters and HR demand “professional experience”

          2. 2

            It still is very easy to get started. You don’t need to know 90% of the items on this list to get a job as a junior web dev and once you do that you will just naturally pick up the rest on the way as you need them.

          1. 4

            You don’t have to write JavaScript, you have to write Elixir - which has a much smaller community around it than JavaScript does.

            This does look cool though, I just wish there were some live examples I could play with in my browser.

            1. 11

              On the other hand, the Elixir community is very friendly. :)

              Supposedly something like LiveView is coming to .NET - https://codedaze.io/introduction-to-server-side-blazor-aka-razor-components/ - but the post says:

              We don’t really know yet how well server-side Blazor (Razor Components) will scale with heavy use applications.

              In principle, people could take this approach in other languages as well. But I think Elixir / Erlang are uniquely positioned to do it well, as LiveView is built on Phoenix Channels, which (because they use lightweight BEAM processes) can easily scale to keep server-side state for every visitor on your site: https://phoenixframework.org/blog/the-road-to-2-million-websocket-connections

              1. 2

                On the other hand, the Elixir community is very friendly. :)

                Is that comment supposed to contrast the friendly Elixir community with the JS community? Is the JS community considered unfriendly? It’s way, way bigger than the Elixir community, so there are bound to be some/more unfriendly people. Maybe it’s so big that the concept of a “JS community” doesn’t even make sense. It’s probably more like “Typescript community”, “React community”, “Node community”, etc… But there are a lot of friendly people and helpful resources out there in JS-land, in my experience. I hope others have found the same thing.

                1. 11

                  The Elixir community is still in the “we’re small and must be as nice as possible to new people so they’ll drink the koolaid” phase. The “community” such as it is is also heavily pulled from job shops and the conference circuit, so there’s a big factor too.

                  Past the hype it’s a good and servicable language, provided you don’t end up on a legacy codebase.

                  1. 4

                    Sounds like Rails, all over again.

                    Who hurt you @friendlysock?

                    1. 3

                      legacy codebase

                      How would you define ‘legacy codebase’? I’m assuming it’s something other than ‘code that is being used to turn a profit’..

                      1. 3

                        Ha, you’re not wrong! I like that definition.

                        From bitter experience, I’d say it would be an Elixir codebase, written in the past 4 or 5 years, spanning multiple major releases of Ecto and Phoenix and the core language, having survived multiple attempts at CI and deployment, as well as hosting platforms. Oh, and database drivers of varying quality as Ecto got up to speed. Oh oh, and a data model that grew “organically” (read: wasn’t designed) from both an early attempt at Ecto as well as being made to work with non-Ecto-supported DB backends, resulting it truly delightful idioms and code smells.

                        Oh, and because it is turning a profit, features are important and spending time doing things that might break the codebase are somewhat discouraged.

                        Elixir for green-field projects is absolutely a joy…brown-field Elixir lets devs just do really terrible heinous shit.

                        1. 2

                          So you’re saying that Elixir is just another programming language? It’s not the Second Coming or anything?

                          1. 1

                            I mean, it’s really quite good in a number of ways, and the tooling is really good. That said, there’s nothing by construction that will keep people from doing really unfortunate things.

                            So, um, I guess to answer your question: yep. :(

                          2. 2

                            Elixir for green-field projects is absolutely a joy…brown-field Elixir lets devs just do really terrible heinous shit.

                            Totally agree, but I would say that significantly more heinous shit is available to devs in Ruby or another dynamic imperative language. The Elixir compiler is generally stricter and more helpful, and most code is just structured as a series of function calls rather than as an agglomeration of assorted stateful objects.

                            The refactoring fear is real though. IMO the only effective salve for that sickness is strong typing (and no, Dialyzer doesn’t count).

                      2. 7

                        😊 I can see how it sounded that way, but I didn’t mean to imply anything about anyone else. The parent post said the Elixir community is small, so I was responding to that concern.

                        1. 4

                          Is the JS community considered unfriendly?

                          I feel you’re just trying to polemic on the subject… The author of this comment probably didn’t mean harm, don’t make it read like so.

                          1. 2

                            I’m not what you mean by “trying to polemic”, that doesn’t make sense to me as a phrase, but it was a genuine question about whether the JS community is considered to be unfriendly. I’d be happy to be told that such a question is off-topic for the thread, and I certainly don’t want to start a flame war, but I didn’t bring up the friendliness of the community. I’m sure the author didn’t mean harm, but I read (perhaps incorrectly) that part of their reply as part of an argument for using Elixir over JS to solve a problem.

                            1. 6

                              What I meant to say was: “If this looks like it could be a good fit for thing you want to do, but you’re daunted by the idea of learning Elixir, don’t worry! We are friendly.”

                              1. 3

                                I meant starting a controversy, sorry for my poor English! I’m sorry if it felt harsh, that wasn’t what I tried to share. I really thought your goal was to start this flame war.

                                Every community has good and bad actors. Some people praise a lot some communities, but I don’t think they mean the others aren’t nice either.

                                The only thing that I could think of is that smaller communities have to be very careful with newcomers, because it helps to grow the community. JS people don’t need to be nice with each other, the community and the project are way pas that need. So I guess you would find a colder welcome than with a tiny community.

                                1. 0

                                  Hey there, polemic is a legit English word, so don’t be sorry for someone else’s ignorance! :)

                                  1. -2

                                    I’m not ignorant (well I am, but not about this): polemic is indeed an English word, but it’s not a verb. The phrase “trying to polemic” doesn’t make sense in English, it requires interpretation, which makes the meaning unclear. I can think of two interpretations for “trying to polemic” (there may be others) in the context of the comment:

                                    1. My comment was polemic
                                    2. I was attempting to start a polemical comment thread, aka a flame war. With the later clarification that seems like what the author was thinking.
                                    1. 1

                                      The thing is that not everyone is at your level of English proficiency. You’re having a discussion here with people from around the world, you’ll need to make a couple of adjustments for expected quality of English and try to get the rough meaning of what they’re saying, otherwise you’ll be stuck pointing out grammatical errors all day.

                                      1. 1

                                        I wasn’t really trying to point out an English error, and perhaps I did a poor job of that. I stand by the claim that it is an English error though.

                                        I work with non-native English speakers all day, I’m aware of the need to try and understand other people and to make sure we’re on the same page. I’ll give a lot of slack to anyone, native or non-native, who’s trying to express themselves. The problem with the phrase “I feel you’re just trying to polemic on the subject’ is that at least some of the interpretations change the meaning. On the one hand, it could be saying that my comment was polemic, on the other it could be saying that my comment was trying to start a polemical thread. It’s not the same thing. And, for what it’s worth, if you’re going to throw an uncommon (and quite strong) English word like “polemic” out there it’s best if you correctly understand the usage. If the author had accused me of trolling, which is I think what they meant, that would have been both clearer and more accurate (though my intent was not to troll)

                      1. 9

                        Complaining about large JS-heavy websites from a small website, with about 20kb worth of tracking JS on it… I see how you are…

                        but I totally agree “Modern” web design has abstracted us so far away from what’s actually going on between servers & browsers that we can have our site and server in 10 lines of code, with millions of lines of modules behind it, and pretend it’s still only those 10 lines.

                        1. 3

                          I’m BOOOKED - I’ve got some WordCamp videos to edit, NaNoGenMo text generators to write, bugfixes/tweaks on my twitter bot (for some reason the cron module isn’t working), plus a family dinner & a Star Wars: Age of Empire game!

                          1. 2

                            I just finished my NaNoGenMo (thanks to the Internet being down at home) so now I have the whole weekend to do … I don’t know.

                          1. 3

                            what’s the date on this?

                            1. 3

                              looks like it’s from 1996

                              1. 2

                                what’s the date on this?

                                What, you don’t think the DEC Alpha is a modern, relevant architecture? /s

                                1. 1

                                  Funny enough, the folks at crash-safe.org built their first prototype as an Alpha. I was like, “Huh? Couldnt it be something that wasnt buried by Intel and Fujitsu?”

                                2. 1

                                  looks like 1996 or so, based on which ACM journal it was going to hit.

                                1. 3

                                  I can’t read that page. I see it as a purple background with a faint red texture on it. Does chrome on Android have a high contrast feature?

                                  1. 4

                                    Ugh, with JavaScript disabled it’s even worse. The text isn’t even readable.

                                    1. 4

                                      Luckily Firefox has Reader View (and similar for other browsers.)

                                      I’m not against making things look pretty, but no default way to read simply plain text is just unforgivable.

                                      1. 3

                                        Thanks for the feedback, I’ll go through it with our web team to improve things in the future! It’s a shame for our authors if their content cannot be read.

                                    2. 3

                                      There’s some sort of scroll monitoring script that turns the background white, do you have javascript enabled?

                                      1. 1

                                        Thanks for replying! The second time I tried the site, it suddenly turned white and I could read it.

                                    1. 1

                                      hidden in the footer, and cool: http://txti.es/how

                                      1. 4

                                        There’s also Vim Koans and Git Koans … or the inspiration for all of these: Zen Koans

                                        1. 2

                                          I’ve uploaded the video demo from this post to youtube: https://www.youtube.com/watch?v=dLkPeNJYbew

                                          1. 1

                                            The SRE Workbook is a companion to the first volume (free to read at this link), it’s the implementation details behind the principles.

                                            1. 3

                                              I was worried this would be another bropages or tldr or devdocs, but this is kinda awesome - the shell script & editor plugins are a nice touch because I think most people would rather not memorize its curl pipeline.

                                              1. 1

                                                The curl pipeline is pretty obvious actually. There is not so much to memorize. But the shell client is a good thing still

                                              1. 3

                                                Neat experiment but it needs a lot of work to really be usable though.

                                                1. 2

                                                  It’s only AI in-so-much as XKCD 221 is AI…

                                                  int getRandomNumber() {
                                                      return 4; // chosen by fair dice roll
                                                                    // guaranteed to be random
                                                  }
                                                  
                                                  1. 5

                                                    Kinda neat how Microsoft went full circle…

                                                    1978-1980: Unix
                                                    1980-2000: DOS
                                                    2000-2009: Emulated DOS
                                                    2009-2016: PowerShell (plus Emulated DOS)
                                                    2016-today: Linux (plus PowerShell and Emulated DOS)
                                                    
                                                    1. 1

                                                      According to wikipedia, Xenix was first released in 1980 with the last release in 1989.

                                                    1. 7

                                                      Meanwhile, a friend of mine just got a response on a PR. Written in nice polite professional prose: “Sure, we can merge that, thanks for this improvement, but would you first please …” and that’s where it spun off into senselessness. It was all politely written, no swearing, but made no sense.

                                                      Linus will swear. And read the code. And understand both the code and what you tried to do, and have a decent idea of what’s achievable.

                                                      It seems to me that some people really mind the swearing, and do not realise that everyone has faults. Complaining about swearing isn’t a step towards faultless people, it’s effectively pushing us towards other faults, the ones that get no complaints.

                                                      1. 18

                                                        Why is there a dichotomy? Why would reducing rudeness be “pushing us towards other faults”?

                                                        1. 0

                                                          Suppose you are to choose a team leader. You can choose a team leader, but you have to choose from among the people who are there, none of whom are saints. One will swear like a sailor, another doesn’t care about documentation, a third suffers from Rambling Meeting Syndrome. Disallowing one of them for one fault doesn’t happen in a vacuum, because “none of the three” is not an option.

                                                        2. 21

                                                          Removing or reducing one fault doesn’t necessarily imply the rise of another. Someone can both say nonsense and be a jerk at the same time, but I’d rather they just say nonsense.

                                                          I’ve certainly responded to PRs with nonsense occasionally. It happens, because I didn’t read closely enough or just missed something. But I at least try not to be jerk.

                                                          Should people be jerks? I’d rather not. At least try not to.

                                                          Should people say nonsense? Again, I’d rather not.

                                                          The world doesn’t have to be seen as black or white. People can ask others to not be a jerk without simultaneously endorsing the rise of nonsense.

                                                          1. 17

                                                            It seems to me that some people really mind the swearing

                                                            I’m from New England. I swear a lot.

                                                            That said, Torvald’s candor is unacceptable. There’s no reason to devolve into namecalling (“moron”, “brain damaged”) that’s clear intent is to hurt feelings.

                                                            So no, I don’t mind the word “fuck.” However, I really fucking mind it when people insult other’s intelligence with the intentionality of hurting their feelings. Who would want to work on a project like that? I know that I wouldn’t.

                                                            1. 9

                                                              Pretty sure being crude and being nonsensical both garner complaints, for example, you’re complaining about your friend’s nonsensical PR response, and the author here is complaining about Linus’s crude and belittling language.

                                                              While understanding the issues is much appreciated, so is not being a jerk. Technical skills have brought us this far, but soft skills will help bring us to a future where more and more people are willing to get involved with open-source (and other) projects.

                                                              1. 13

                                                                I don’t think the article is about swearing. It’s about verbal abuse and how to convey the same information without attacking the recipient.

                                                                1. 5

                                                                  You hit the nail on the head. I feel like we’re moving rapidly towards a culture of, “Let’s all celebrate diversity and embrace inclusion, except for those who we disagree with who are just going to have to change their barbaric ways.”

                                                                  For every person who is offended by swear words (I mean, words of all things) there’s someone else who reads a phrase like, “this is pure and utter bullshit,” who thinks, man, this person is really passionate about what they’re talking about, maybe they have something interesting to say.

                                                                1. 3

                                                                  The site/repo doesn’t seem to have a demo of it in action (outside of the simplest layout) – but the medium article linked from the repo has a video of a card-like layout: https://medium.com/@andreasimonecosta/strawberry-a-new-flexbox-based-css-micro-framework-42ff9be49468

                                                                    1. 1

                                                                      Yes, I’ll add some examples in future…thanks for sharing this article!

                                                                    1. 13

                                                                      Not much has changed since 2012 when this was published, Rust & Go (released in 2009/10) still don’t have any GUI libraries anywhere near as simple as REBOL, instead wrapping an older GUI system or using XML. In fact, most programming languages seem to expect you to make the GUI in HTML/JavaScript/CSS now, 6 years after this post. Even visual programming languages like Scratch rely on replicating textual elements with graphical puzzle pieces. Once you get into Piet or pureData, the language is visual, but I wouldn’t recommend trying to write a GUI app with an esolang like Piet, pureData, on the other hand, lets you create a simple or more complex GUI but it’s nothing you would traditionally consider code.

                                                                      1. 3

                                                                        Have you tried / what do you think of something like ImGui (especially when exposed to a “scripting” language)?

                                                                        1. 1

                                                                          Haven’t seen it before – looks good – and it’s been ported to Rust/Go & Javascript… https://github.com/ocornut/imgui

                                                                        2. 1

                                                                          I think that the we are still far away from the ideal library the article mentioned.

                                                                          Electron (for all it’s flaws) get’s fairly close. It’s not as descriptive, but HTML paired with a good CSS framework can get fairly close.

                                                                          There’s nothing that’s true native that comes even close though. I wonder how long it’ll take. Maybe with the advent of UIKit for macOS/iOS we’ll get another paradigm shift?