[-] vampatori@feddit.uk 19 points 1 year ago

Google's first quarter 2023 report shows they made massive profits off vast revenue due to advertising.

It is about control though. The thing that caught my eye is that they're saying that only "approved" browsers will be able to access these WEI sites. So what does that mean for crawlers/scrapers? That the big tech companies on the approval board will be able to lock potential competitors out of accessing the web - new browsers, search engines, etc. but much more importantly... Machine Learning.

Google's biggest fear right now is that ML systems will completely eliminate most people's reason to use Google's search, and therefore their main source of revenue will plummet. And they're right to be scared, it's already starting to happen and it's showing us very quickly just how bad Google's search results are.

So this seems to me like an attempt to control things from that side. It's essentially the "big boys" trying to consolidate and firm-up their hold in the industry and not let newcomers rival them, as with ML the barrier to entry has never been lower.

[-] vampatori@feddit.uk 12 points 1 year ago* (last edited 1 year ago)

Don't roll your own if you can help it, just use a distribution dedicated for use as a thin client. I was co-incidentally just looking into this last week and came across ThinStation which looks really good. There are other distro's too, search for "linux thin client".

[-] vampatori@feddit.uk 14 points 1 year ago* (last edited 1 year ago)

I've been there. My mum struggled to communicate with me when I was in that period of my life, and so she'd buy me various books that she thought - sometimes through title alone - would get through to me. Almost all didn't. Almost. One did.

Now, I will recommend the book of course, and more, but that's not the message I want to give you. We're all different, we've all got into this differently, and we all get out of it differently - what started things rolling for me may well do nothing for you. My message more is that the answer is within you, you just can't see it - it's hidden from you through no fault of your own; but with the right nudge, the right spark, and you'll start to see a way out - so dim at first you scarcely recognise it for what it is, but it'll nag at you, pique your interest, and slowly, ever-so-slowly, the snowball begins to roll.

Form me, the book was The Glass Bead Game by Hermann Hesse.

I firmly believe that it's no co-incidence that this book connected with me, it is astonishingly well crafted, the author is a winner of the Nobel Prize in Literature, and several of his books, including The Glass Bead Game, "explores an individual's search for authenticity, self-knowledge and spirituality." Reading it is a journey - it takes it's time to get hold of you, presumably with different elements appealing to different people, then it starts to lead you down a very carefully crafted but almost invisible path to a self-realisation.

A modern author, Matt Haig, wasn't on my radar when I suffered from depression, but he is a somewhat unusual author in that he writes self-help books and novels. His most famous book The Midnight Library is particularly good, and it was a page-turning read, though I've not yet read any of his other titles.

Finally, we're getting into books that have nothing to do with self-help directly, but I think are just straight-up amazing and recommend them to everyone, but they're inspirational too:

The Name of the Wind by Patrick Rothfuss is the first book in The Kingkiller Chronicle's, of which there are currently only two out of the three books at this time - so you will be left hanging, as we all have been for years - but it's so very definitely worth it.

Ender's Game by Orson Scott Card is a book that spawned a series referred to as the Ender's Saga or Enderiverse - it's brillant on its own, but I highly recommend reading Ender's Shadow too as it really adds to the first book in an unexpected way.

The author Kazuo Ishiguro is a phenomenal writer and also a winner of the Nobel Prize in Literature. His books are very diverse, but from my experience so far (I'm not finished reading them all) they have something in common to Hermann Hesse's books; they carefully take hold of you and pull you down a very carefully constructed path that you can barely see, but you feel like you've found the way rather than been led there as you must have been! The Remains of the Day is a period drama, not my cup of tea at all normally, but is brilliant and is so well written it made me realise I'd been missing out reading so much pulp sci-fi/fantasy! Another pick is Klara and the Sun, a sci-fi book set from the perspective of an android, which is incredibly well written and manages to shift your perspective on the story so much with so few words.

And so onto my final recommendation, of where to buy cheap books, but I'm going to be sneaky and tell the story of how my search for cheap books helped me overcome my depression.

Charity shops, aka thrift stores, are great for cheap second-hand books - most places will sell them for less than you can find them online - you just might have to do some hunting and regular visits to find them. Now, depending on where in the world you are, they may or may not exist. If they don't, find out what happens to used books in your country and hunt them out there.. it could be church fund-raisers, libraries, etc. But the act of actually browsing all the books and hunting for something new to read is a great activity in and of itself, if you set the goal that you'll come back with something new no matter what!

But it was while looking at used books in a local charity shop that I realised they were looking for volunteers. So I started volunteering. At first I just stayed in the back listing books for sale online. Then I was convinced to help someone on the till, then asked to look after the till, then the shop, then eventually a paid position came up and I applied for it and got it.

I didn't know it then, but that act of volunteering truly set me on my path to wellness. Initially I thought it was because of the objective good I was doing in the world, which would make sense - but looking back it wasn't that at all. It was a more immediate sense of purpose, of socialising, of talking to people and listening to their problems, of getting social cues wildly wrong and learning, and so on. I was in full control of the rate of social interaction, but they always pushed me that touch more - with encouragement, kindness, and support.

Then one day I realised something strange - I was doing small-talk without thinking. It was almost terrifying, thinking back that I've literally just said something I'd not explicitly thought. But then it dawned on me... for the first time in over 20 years, I'd just been myself for a fleeting moment - free from worry and free from over-thinking; no conscious thought process martialling my thoughts and speech. It was in that realisation I knew for sure I'd eventually be OK. It took a long time, many years, and there were some bumps - but my rise to good health was inexorable.

Then the crazy part comes... dealing with emotions again! It had been so long since I last properly felt them, outside of expressing all emotions through negative emotions (i.e. I love my brother so much I would do X if someone did something to him"). I'd say I was actually manic for a while, having really high highs more powerful than the best drugs I've ever taken, and really low lows where I thought I was back at the start again. But having since seen my young nephews grow up, I realise now it was just learning how to deal with emotions again. It's a wild ride, but one to be excited about and look forward to, not fear.

Another element that I really struggled with and slowed my progress was "blame". Who's fault was it I was like this? Mine? My parents? This event? That experience? It tore me up for a long time, there's one thing worse than blaming yourself, and that's blaming those you love. But over the years I came to see that it was a perfect storm, multiple overlapping waves that in isolation would have been tough but fine, but altogether at just the wrong times, sunk the ship. It was nobody's fault that all these waves came at just the wrong times, that was chance.

So my advice is to read some of these great books and those others suggest, get involved with your community - there's so many great causes desperate for your help, and set yourself on the path to find that first glimpse of the dim spark that will inexorably lead to your good health. You might not find it in days, weeks, or even months - but if you keep looking, even after a long break, you will eventually find it.

Good luck!

EDIT: Just to say, the Ender's Game audiobook is amazing - tons of 80's sci-fi sound effects!

[-] vampatori@feddit.uk 19 points 1 year ago

I personally found Fedora to be rock solid, and along with Ubuntu provided the best hardware support out of the box on all my computers - though it's been a couple of years since I used it. I did end up on Ubuntu non-LTS in the end as I now run Ubuntu LTS on my servers and find having the same systems to be beneficial (from a knowledge perspective).

[-] vampatori@feddit.uk 13 points 1 year ago

I hear they have improved performance now though

It's still not great. Better, but still slow enough to make you question whether you've actually launched the app or not.

[-] vampatori@feddit.uk 10 points 1 year ago* (last edited 1 year ago)

I just have a static page that I randomly change - you can see mine here. In this case I was testing the idea of having text within an SVG for better scaling from mobile to desktop, and also I'm loving orange and purple at the moment for some reason! Oh, and I was testing automated deployments from CI/CD, so I always use my own base domain with those first tests!

[-] vampatori@feddit.uk 10 points 1 year ago

With regards to education, one of the things I've come to understand goes entirely counter to the way I was taught at University - for me, programming is a creative activity. It's an iterative process, and the less constraints I have on how I achieve something, not what I achieve, the better I enjoy it, the more productive I am, and the better by many measures the end solution will be.

I think that is a key part of what's missing from CS education, to understand that and lean into it to both increase engagement but also to get people thinking outside the box for solutions to their problems. Students seem to be taught so much, but very little about "Here's a high-level problem, provide a solution" which is the "core loop" of software development (outside of being a code monkey implementing other people's designs). You go over requirements and specifications, but you don't actually DO it.. you don't speak to people, ask the questions, realise they'd don't know much about software, then later go "Oh shit, I made this assumption and made the wrong thing!"

One of the things that I used to like more than anything was achieving things even though there were constraints. For example, back in the 90's even before even AJAX was a thing, I created a site for a betting company that was a SPA and pulled in data and live betting odds. I did this by having a message queue in JavaScript, a hidden frame from which to send messages from the queue to the server using a form, and then the server returned JavaScript code which executed and put the data where needed and updated the page. I absolutely loved that project, and most people on the team just couldn't believe it was even possible.

But I didn't solve it through engineering, I solved it through playing - trying things, seeing what would work/what didn't, adapting the idea, etc. until I found something that worked - and it was based on some of the things I'd been messing about with in my own time (somewhat bizarrely, creating a sort of online aquarium of Dr. Seuss fish where each one was a person viewing the site!)

I think if we can inject more of the creativity, tinkering, iterative, playful side into our education it'll make a huge difference.

[-] vampatori@feddit.uk 11 points 1 year ago

Are there any good alternatives?

We've started using Jitsi for video/screen-sharing and that's going well so far - but it's based very much around the "corporate meeting" concept, rather than "playing D&D with mates" or "online gaming with people".

Mumble is decent enough for voice comms, but of course lacks video, which for my friend group is a deal-breaker. While the audio quality is noticably better most of the time, its noise suppression is not as good as Discord. It does have text chat, but lacks the utility of Discord's chat - which we use in D&D for sharing information, images, note-taking, etc.

Things do game tracking/voice like Steam, Xbox Live, PSN, etc. but then each only supports their own platforms and services - whereas Discord is common to all.

I think what DIscord does well is bring together a few really established, tried and tested technologies, under one roof and integrates them seamlessly. There is definitely value in that, and I would be really interested in an open source/self-hosted equivalent.

My main concerns with Discord are:

  1. They inevitably ramp up income earning opportunities and therefore eventually compromise the system.
  2. It can't be catalogued/searched easily.
  3. It seems like a near-perfect platform for harvesting data for ML (and the platform has some traction with the ML community already).
[-] vampatori@feddit.uk 14 points 1 year ago* (last edited 1 year ago)

I don't think consolidation, compromise, and coming together in one common direction are the hallmarks of open source at all!

Filesystems, service management/startup, audio output, desktop environment, package formats/management/distribution, programming languages, shell, and so on, and so on - all have many, many options.

Open source is, if nothing else, fractured.. it's about choice, flexibility, and re-inventing the wheel not because it really needs to be re-invented, but because it's fun to do so and useful to have something that perfectly fits your requirements.

We've made room for many package formats for decades, and will continue to do so for decades to come I'm sure.

23

I run my own small software development company and I'd like somewhere my clients can login and get access to things like:

  • Access to documents from their repo(s) (GitHub, all contracts/etc. are kept here)
  • Links to invoices and to pay.
  • Milestone progress from their repo(s) (GitHub)
  • Links to their test, staging, and production services.
  • Ability to get in touch (potentially raising an issue in GitHub).

We're just doing things manually for now, but before we reinvent the wheel I thought it would be useful to see what's out there to either use directly or extend.

[-] vampatori@feddit.uk 18 points 1 year ago* (last edited 1 year ago)

Which follows the similar functionality used by the cd - command to switch to the previous directory you were in. Very handy!

[-] vampatori@feddit.uk 35 points 1 year ago

"Out of the frying pan, into the fire"

84

Is there some formal way(s) of quantifying potential flaws, or risk, and ensuring there's sufficient spread of tests to cover them? Perhaps using some kind of complexity measure? Or a risk assessment of some kind?

Experience tells me I need to be extra careful around certain things - user input, code generation, anything with a publicly exposed surface, third-party libraries/services, financial data, personal information (especially of minors), batch data manipulation/migration, and so on.

But is there any accepted means of formally measuring a system and ensuring that some level of test quality exists?

[-] vampatori@feddit.uk 13 points 1 year ago

It does feel like there's been a shift, especially in organisations that use the work of others for their own benefit (e.g. open source, community produced content, etc). It seems like there's been a real move to have their cake and eat it.

Oracle has just made an aggressive move with regards to Java licensing too, they're now charging as much as $15/month/employee to use their Java runtime on the desktop/server. Their FAQ even points you to OpenJDK if you don't want to pay, which is strange - it makes me think the relationship between Oracle and the OpenJDK will be ending sometime in the not-so-distant future. There are several Java projects I've done where that would just become non-viable as it was a project for a single department in a large company.

Software developers are one of the most altruistic groups of people - it's amazing just how much time and effort they put into things that they get no financial return on, only the love of actually doing it. And people that dedicate their time and effort to online communities, education, and so on are equally amazing.

But I think it's time to stop being so naive and realise that many large corporate entities are abusing this relationship for their own gain.

24

Starship is a really nice, fast, customisable shell prompt - of which there are many - but Starship supports a very wide range of things out-of-the-box.

Including docker context's. It detects Dockerfile and docker-compose.yml/yaml in the directory, and if you're not on the default context then it'll show the name of the context you're on in blue alongside a little whale icon. A tiny but very useful feature.

view more: next ›

vampatori

joined 1 year ago