1. 6

    The Rust Programming Language

    I’m not sure how good of an intro to Rust this book is, but I backed it and received it in the post so why not :-)

    1.  

      It’s a good intro. Can skip around a bit for certain topics as well

    1.  

      Sidenote: I think it’s very unfortunate that we use the word design for almost exclusively for UX now rather than inclusively for UX, code, and architecture. I’m not sure how it happened.

      1.  

        What confuses me is at what point did we make the change from HCI to UX?

      1. 2

        I did a quick search in Github for ‘grid system’ written in CSS and there are over 1000 repositories at this point in time.

        Not to knock you or your project in any way, but I find it fascinating that these styling/layout libraries have gotten to this point. I think the first of these I encountered was the ‘960 grid system’ more than 10 years ago. I used it for a bit and then tried out Bootstrap, Bourbon, Bulma and so on. Nowadays I write my own tiny bit of css when I need to do a layout, as each site has different requirements.

        It makes me wonder - who are these aimed at? Just the grid layout ones specifically. If the intention is for CSS stylists to take the grid and write their own styles on top, surely they would know how to write the paragraph or two needed to do the grid system, in flex, floats, inline-block, tables or CSS grid? I guess having a concrete and stable mixin saves a bit of time on each project, and could become ubiquitous for multi-developer projects.

        How did you come to the conclusion to compartmentalise this into its own thing? I am starting to consider doing the same for tens of little CSS goodies I have scattered around.

        1. 2

          I made my first CSS Framework 10 years ago: https://code.google.com/archive/p/emastic/downloads . I love to experiment with CSS Layouts and find smaller and simpler solutions that work. The hope is someone will use them as their starting point and build something on top of them or learn how to build layout system with few lines of code.

        1. 8

          I agree with this, and I believe the door should’ve been slammed shut before I was invited. The past three or four months have definitely had more “HN-flavored” stories, or so it feels at least. There’s no way to keep a community of over 10000 users on track and focussed on the original concept.

          1. 7

            Could you post some examples of ‘HN flavoured stories’ ?

            It is hard to pinpoint what it is about Lobsters that makes me prefer it to other similar communities, but I would summarise this place as:

            Stories for those who enjoy the details
            

            I had to omit the word ‘technical’, I don’t think it is critical to describe what goes on around here. I would much rather read some well informed and passionate write up on a non-technical subject than some clickety-markety new CSS grid framework piece.

            1. 7

              Omitting the “technical” part is a big problem.

              1. 5

                You’ve made this claim many times, but it’s clear that there is a large contingent of members–including similarly long-tenured members–who feel otherwise, and it isn’t clear why your vision for the site should be dispositive.

                1. 3

                  This is pretty much the only description of Lobsters on the About page:

                  Lobsters is a computing-focused community centered around link aggregation and discussion, launched on July 1st, 2012.

                  Content is added and somewhat curated by the active community. Whatever is posted today will be the hallmark for what is posted tomorrow. This would evolve over time.

                  I retracted calling it a ‘technical’ community as I think the word is ambiguous to the point where it can mean pretty much anything. Stories should just match up with the tags defined, and if they are beneficial to enquiring minds then they should have a place here.

                  1. 1

                    These posts don’t seem to be overwhelming the conversation on the site. Is the problem that these haven’t been downvoted below zero?

              1. 5

                How susceptible is the Mastodon platform from dramatic overlords who want to delete your content / network?

                One thing I’m worried about is if I sign up to a niche network, and some ‘owner’ party does not like me anymore and decides to delete me or the whole instance. Does it work in that way?

                If I host my own instance, do I get to take part in other instances from my own? It’s all a bit of a new paradigm to me (and maybe others).

                Is mastodon regulated in any way? What stops bad people from imitating my account or trolling/harrassing etc?

                I feel like Mastodon is ticking some boxes for me (I never got into Twitter or Tumblr really), but at the same time I have trouble understanding how I would actually use it

                1. 8

                  It works essentially the same way as email; if you use an address on your own domain, you have control over your interactions with the network; if you use someone elses domain, they can ban your account.

                  Some instances (domains) will only contact other instances according to a whitelist, or a blacklist; this is yhe main anti-trolling feature as far as I know.

                  1. 5

                    I made this post about Pleroma, but it explains what Mastodon is as well, they are the same network. https://blog.soykaf.com/post/what-is-pleroma/

                    1. 5

                      Yeah, if you sign up for some Mastodon instance, you have to trust that the people running the instance will keep letting you use it and keep hosting it. I’m aware of one or two cases of people suddenly ceasing to operate a Mastodon instance for their community over political and/or interpersonal drama, so it’s definitely a risk. Of course this is the status quo with tumblr right now, and anyone who has an account on a bad mastodon instance can just go and create a new account on another one they like better.

                      If you host your own instance, you can communicate with any instance except ones that explicitly block your instance. Mastodon is a rails app, so running an instance requires as much knowledge as you need to run and host a rails app. I run an instance myself for my personal use, so if I break something or need to reboot the computer it’s running on, I’m the only one affected.

                      Being decentralized, there’s no regulation of the system as a whole, other than users choosing to block other users and instances choosing to block other instances. This is a feature as far as I’m concerned - programmers should build technologies that make it hard for people to prevent other people from publishing content, and easy for them to block themselves from seeing that content.

                      1. 3

                        Mastodon is a rails app, so running an instance requires as much knowledge as you need to run and host a rails app.

                        Even better… it’s been Dockerized, so you can basically ignore the details and treat it like pretty much any other Dockerized app. I used this guide to set up my own instance. Unfortunately, while that documentation repo is an official one, it’s also deprecated, and it doesn’t seem like the new docs site mentions Docker at all :-(

                        To summarize the process, though, it’s pretty much

                        • git clone https://github.com/tootsuite/mastodon.git ~/mastodon
                        • cd ~/mastodon
                        • git checkout v2.6.1
                        • In docker-compose.yml, comment out the three “build: .” lines. Change the three “image: tootsuite/mastodon” lines to “image: tootsuite/mastodon:v2.6.1”.
                        • cp .env.production.sample .env.production
                        • docker-compose build
                        • chown -R 991:991 public
                        • docker-compose run --rm web bundle exec rake mastodon:setup
                        • Go through the interactive setup wizard
                        • docker-compose up -d

                        Obviously it could be streamlined a little, but I don’t think it’s too bad for setting up a relatively complicated web application. You don’t even need to worry about setting up a database yourself.

                        1. 2

                          Containerization is a good idea in theory but when I tried it a bunch of stuff from the (unofficial, I think) documentation didn’t work right and I had to spend a bunch of time debugging it. Maybe it’s better now, I stopped looking at the documentation once I finally got the thing working right.

                      2. 4

                        What stops bad people from imitating my account?

                        In short, nothing. One of the downsides of federation is that there’s no central authority for verifying users or policing impostors the way Twitter does. (Worse, Mastodon lets users upload their own emoji, and one of the most popular choices is Twitter’s blue “verified” checkmark. If you put that at the end of your display name, the appearance is pretty much that of a verified user on Twitter.)

                        One step Mastodon has made lately is a lite version of verifying the links a user puts in their profile. If you look at my profile, for example, I have a link to my personal site, and that link is shown in a green box with a checkmark, indicating that my site links back to my Mastodon profile with a rel=me link. That gives you some assurance that that Mastodon profile and that website are controlled by the same person. Of course, like the green lock icon in a browser’s address bar, you generally don’t realize when this indicator is not there. And since anyone can run a Mastodon instance, and they can change the source code however they want, you can only trust this indicator as far as you trust the admins of the instance displaying it.

                        1. 3

                          Seeing how being a “bluecheck” on Twitter has become politicized, I would assume anyone using that icon on Mastodon is mocking Twitter’s particular style of verification, rather than asserting anything meaningful about who they claim to be.

                          1. 1

                            Oh, definitely. My point was that unwary users might see the Twitter-style blue checkmark and get the mistaken impression that it actually means something about the user in question.

                            1. 1

                              It doesn’t really matter what their intent is. If the reader can sensibly* mistake their use of the Blue Check for actual verification, then they’re impersonating a verification process, even if the headspace they were in when they did it was to mock the Bird Site.

                              * Don’t ask me to define “sensibly”

                        1. 1

                          Is this readable for anyone else? I’m seeing light grey text on white and it’s basically unreadable in it’s default form.

                          1. 1

                            The background colour is #1F232B for me. Decreased productivity turned on? :-)

                            1. 2

                              Turns out the problem was a plugin called Rocket Readability, which apparently was causing the background colour to get ignored entirely for some reason. Now disabled it!

                          1. 1

                            Is there no process for managing this within Facebook? Seems like something that will start to be an issue all over the Internet as time goes on. I still get frequent recommendations to ‘connect with’ my on LinkedIn/Facebook which is really eerie. The AI is doing its job very well but it’s also kind of haunting at the same time.

                            Apologies for siphoning the topic, but it does hit me too and I’m not sure what/if to do.

                              1. 1

                                I was considering doing just that, I am interested to find out what areas Lobsters require titles as there may be some I am missing?

                                Are there any other links or abbreviations that really need a title?

                              1. 3

                                I will have a go at using this for some of my projects :-)

                                My first inclination is to do the following:

                                .container {
                                    margin: 0 auto;
                                }
                                

                                For those with wide browsers as it hugs the left side of the screen

                                1. 3

                                  Thanks for the feedback!

                                  https://todo.sr.ht/~sircmpwn/sr.ht/112

                                1. 3

                                  If you want something a bit more antique (aka works in more browsers without a hassle)

                                  .row { display: table; table-layout: fixed; width: 100% }
                                  .col { display: table-cell }
                                  

                                  And a fiddle to demonstrate http://jsfiddle.net/k35x0bd8/1/

                                  This works well for me, although you do get the occasional ‘tables are evil and must be stopped’ people now and again.

                                  1. 3

                                    So after some trouble with Amazon delivery my Ender 3 will be coming this weekend

                                    This has given me some time to mess with blender and create a few simple projects to try printing out

                                    I would like to eventually recreate some of the classic Counter-strike maps I created 10+ years ago :-)

                                    1. 5

                                      my desktop background (used this in a previous post, but whatever)

                                      It’s sort of a joke to me, I’ve got ‘Windows 95’ running better than Windows 10 runs on this thing…

                                      Running at half resolution, with patched xrandr nearest neighbour filtering to make it look crisp.

                                      Having a low powered tablet for my work sort of forces me to focus on my text editor and the essentials.

                                      1. 3

                                        Have an Ender 3 coming at some point, kind of in the dark about how this stuff works but I hope it will be [interesting fun and challenging] figuring out what to do with this thing :-)

                                        1. 2

                                          Had my own personal struggles using a HiDPI laptop with dual external 1080p displays connected.

                                          My solution was to run my laptop at half the resolution and stick everything at 96 dpi, which plays nicer than trying to make multiple DPI work.

                                          Are we going to see that in action soon? For example on my macbook, DPI just works even when devices with different DPI are connected.

                                          1. 1

                                            Are we going to see that in action soon? For example on my macbook, DPI just works even when devices with different DPI are connected.

                                            Aside outdated toolkits, this works now on Linux with Wayland as well. I have used my workstation with HiDPI and LoDPI screens for a while. I set the HiDPI screen to 2x scaling, the LoDPI screen to 1x. This worked nicely, even when dragging windows between screens (with modern Qt and Gtk+3 programs).

                                          1. 3

                                            Surface Pro 4 runs Linux very nicely nowadays!!!

                                            It’s one of those purchases I regretted for about a year, decided to try install Arch on it and I’m pleasantly surprised.

                                            Audio, hardware buttons, touch screen, pen, all working out the box with the following kernel patches applied: https://github.com/jakeday/linux-surface

                                            It has been a struggle fighting with multiple DPI when docking at work, and in the end I gave up and decided to turn off the surface display when using external screens.

                                            Shame they only supplied it with 4GB ram, I’m not sure who they were aiming this device at if it were intended to run Windows in the first place.

                                            Screenshot

                                            1. 2

                                              Has the author used Linux on their primary computer?

                                              If you choose a fully fledged, GUI friendly distro, SO MUCH can go wrong. I have spent a long time battling with bloated distributions when stuff breaks. I realise that in the end, I don’t care about most of the system I am using, just a few core apps. If I can fit everything on my system in my head (I admit I don’t know most of what goes on in the kernel), I will be able to fix anything that goes wrong and keep it running smoothly.

                                              Pick a minimal distro with a decent package manager (arch, gentoo, even ubuntu mini). The software used is usually something like:

                                              xorg (maybe wayland soon?), i3, rxvt-unicode, vi, openssh, nvidia, git, mpd, darktable, firefox, networkmanager

                                              A few config files and I’m good to go. So much bloat can be removed when you learn how to use your terminal emulator and a tiling window manager.

                                              1. 1

                                                Has the author used Linux on their primary computer?

                                                I’m not sure if this was intended as a genuine question or as a disguised insult. Treating it as a genuine question, yes, I can assure you that the author has many years of experience running Linux as his daily driver.

                                                Pick a minimal distro with a decent package manager (arch, gentoo, even ubuntu mini). The software used is usually something like: xorg (maybe wayland soon?), i3, rxvt-unicode, vi, openssh, nvidia, git, mpd, darktable, firefox, networkmanager

                                                I agee with this (though I go with dwm and simple-terminal instead of i3 and rxvt-unicode).

                                                That said, other people have different styles that work for them—and, despite how much l love living in the terminal—I’m not going to assume that anyone who prefers a different workflow doesn’t know how to use the terminal. And I’m especially not going to make that assumption when they’ve been using Linux far longer than I have.

                                              1. 13

                                                Ah they tricked me with this one, it’s a Medium article hidden behind another domain.

                                                (Whenever I see “medium.com” next to lobsters articles I know not to click, since the result will be a weak thinkpiece by a frontend developer, wrapped in obtrusive markup.)

                                                1. 3

                                                  i had literally the exact same response. “Ah, a medium article….about frontend dev……(tab closed)”.

                                                  1. 3

                                                    Interesting ‘hot take’!

                                                    You judge people based on the ‘medium’ that they use.

                                                    1. 8

                                                      “The medium is the message” ;)

                                                      I have to admit though that seeing a medium link is generally a negative signal for me. Still click on many of them.

                                                      1. 7

                                                        I think Medium’s original USP was “only quality content”.

                                                        Predictably, that didn’t scale.

                                                        1. 1

                                                          Many confuse Marshall McLuhan’s original meaning of that phrase. It didn’t really mean that the way a message was delivered was part of the message itself. It actually meant that the vast majority of messages were medium or average.

                                                          It would have been better said, “meh, the message is average.”

                                                          1. 5

                                                            This didn’t really make sense to me, so I looked it up, and I don’t think that’s right. The original meaning is exactly what we’ve come to understand it as:

                                                            The medium is the message because it is the medium that shapes and controls the scale and form of human association and action. The content or uses of such media are as diverse as they are ineffectual in shaping the form of human association. Indeed, it is only too typical that the “content” of any medium blinds us to the character of the medium. (Understanding Media: The Extensions of Man, 1964, p.9)

                                                            I wonder where you’ve heard your interpretation?

                                                            1. 5

                                                              This comment is obviously a troll. Fitting, given that McLuhan himself was a troll.

                                                              1. 4

                                                                Interesting interpretation. I am not sure how he originally came to that phrase, but his book certainly spent a lot of time and effort arguing for the now prevalent meaning.

                                                        1. 0

                                                          Intel doesn’t care about freedom

                                                          1. 6

                                                            https://www.youtube.com/watch?v=EJGrl4gJxx4

                                                            This is track 3 from the CD. It’s cheesy soft synth video game muzak. It’s in high quality on YouTube. Awesome insight in the process of ripping, but why for this particular track?

                                                            1. 4

                                                              Nostalgia is a powerful drug

                                                              1. 2

                                                                Oh, that music! I never been a fan of Ragnarok Online and even only played it on my own local bootleg server, alone, in 2005, but I somewhat liked this game because it felt very weird. Lots of nostalgia feelings when I listened to this music now.

                                                              1. 11

                                                                Looks like I will be migrating off from Github onto something self hosted, for peace of mind.

                                                                1. 2

                                                                  Yea, looks like I need to do that too.

                                                                  1. 1

                                                                    Until now I treated self-hosting with “well I know it’s best to control my own files and code, but I can probably vaguely trust BigCompanies.”

                                                                    Thanks to the acquisition I finally got off my ass and got a DO droplet to use as my source of truth (didn’t take long to set up at all).

                                                                    Gitlab is my primary mirror. I will keep GitHub as a source of truth for a handful of projects - namely the ones with contributions from other developers.

                                                                    1. 1

                                                                      Even though MIcrosoft hasn’t done anything egregious to irk me in about 8 years, I will also be doing that.