I’m the administrator of kbin.life, a general purpose/tech orientated kbin instance.

  • 1 Post
  • 349 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle
  • Going to second other comments. Even without archinstall. It feels like it will be harder than it is. Umm, just save yourself a bit of time and configure the network and install a console editor (nano/vim whatever) while in the chroot (if going full manual). It was a minor pain to work around that for me.

    There are pages discussing how to do everything (helps to have a laptop with browser, or a phone to look them up). At the end, you generally know exactly what you installed (OK no-one watches all the dependencies), and I’ve found any borks that happen easy to fix because I know what I installed.


  • r00ty@kbin.lifetoProgrammer Humor@lemmy.mlI love Rust
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    17 hours ago

    The current thing I’m working on (processor for iptv m3u files) isn’t public yet, it’s still in the very early stages. Some of the “learning to fly” rust projects I’ve done so far are here though:

    https://git.nerfed.net/r00ty/bingo_rust (it’s a multi-threaded bingo game simulator, that I made because of the stand-up maths video on the subject).
    https://git.nerfed.net/r00ty/spectrum_screen (this is a port of part of a general CPU emulation project I did in C#, it emulates the ZX spectrum screen, you can load in the 6912 byte screens and it will show it in a 2x scaled window).

    I think both of these are rather using Arc<RwLock<Thing>> because they both operate in a threaded environment. Bingo is wholly multi-threaded and the spectrum screen is meant to be used by a CPU emulator running in another thread. So not quite the same thing. But you can probably see a lot of jamming the wrong shape in the wrong hole in both of those.

    The current project isn’t multi-threaded. So it has a lot of the Rc/Rc<RefCell> action instead.

    EDIT: Just to give the reason for Rc<RefCell> in the current project. I’m reading in a M3U file and I’m going to be referencing it against an Excel file. So in the structure for the m3u file, I have two BtreeMaps, one for order by channel number and one by name. Each containing references to the same Channel object.

    Likewise the same channel objects are stored in the structure for the Excel file that is read in (searched for in the m3u file structure).

    BTreeMaps used because in different scenarios the contents will be output in either name order or channel order. So just better to put them in, in that order in the first place.


  • The problem with rust, I always find is that when you’re from the previous coding generation like myself. Where I grew up on 8 bit machines with basic and assembly language that you could actually use moving into OO languages… I find that with rust, I’m always trying to shove a round block in a square hole.

    When I look at other projects done originally in rust, I think they’re using a different design paradigm.

    Not to say, what I make doesn’t work and isn’t still fast and mostly efficient (mostly…). But one example is, because I’m used to working with references and shoving them in different storage. Everything ends up surrounded by Rc<xxx> or Rc<RefCell<xxx>> and accessed with blah.as_ptr().borrow().x etc.

    Nothing wrong with that, but the code (to me at least) feels messy in comparison to say C# which is where I do most of my day job work these days. But since I see often that things are done very different in rust projects I see online, I feel like to really get on with the language I need a design paradigm shift somewhere.

    I do still persist with rust because I think it’s way more portable than other languages. By that I mean it will make executable files for linux and windows with the same code that really only needs the standard libraries installed on the machine. So when I think of writing a project I want to work on multi platforms, I’m generally looking at rust first these days.

    I just realised this is programmerhumor. Sorry, not a very funny comment. Unless you’re a rust developer and laughing at my plight of trying to make rust work for me.



  • This does tally up with what I’ve been hearing. Where I’m at there’s been a few hires straight into senior. I’ve not heard of an official junior freeze. At the same time it’s been a long time since I’ve seen a new one.

    The problem, as I commented prior, is that if we no longer bring in junior devs to gain this kind of experience, we lose the flow of junior -> senior. But in most places, the people making the decisions won’t consider anything beyond the end of the current fin year.




  • I think it goes further than that. There’s two things happening with regard to AI and software development.

    1: Stack overflow has become less common as a resource to solve problems. This, as you say has a problem of input into LLMs for future problems to solve.
    2: Junior developers are being hired less because of AI. I assume the idea is that seniors will use AI in the same way they would usually use juniors. Except, they’ve done what business always does. Not think one bit about the future. Today’s senior developers are yesterdays junior developers.

    The combination of AI performance drop due to point 1, and the lack of new developers because of point 2 makes for potentially, a bad future for the profession.


  • We used to have it terrible in the UK in the 90s and 2000s. Basic ADSL was trialled in 1999 and available in maybe late 2000 I think. But it stagnated for a while.

    When it came to fibre, interesting things are happening. As well as the “national” (although privatised) telco installing it, there are many independent companies fitting it. Where I live I have the option of the official telco (1000/110) and a private company (1000/1000). Of course I chose the latter :P

    Some people have 3 or more options.

    Yeah in the future there might well be a handful of overall winners that vacuum up the losers and carve up the territory. But right now, it’s a good time for the normal people… At least for internet.

    EDIT: Just to add, some are ISPs and will only sell their own product. Some are wholesale, so even if they’re the only company in your area, you can often buy from multiple ISPs through them.




  • Well it seems it was more to do with sanctions, if the open letter from one of the chopped developers is to be believed. In which case, I think the right thing is to move the names to contributors (they did still contribute), remove them from maintainers (some maintainers are actually paid by the foundation, I mean not a lot, but some are paid).

    I still find it all a little odd. But likely there was a bit of a prod from somewhere higher as to how sanctions should be followed.


  • It’s going to be precisely the reason. If you have a dedicated wire, fibre or copper then the entire available bandwidth is available per connection (one caveat with copper is crosstalk but it is minimal and can be mitigated). With fibre the available bandwidth per strand is huge.

    It’s so fast that even where there’s contention, it is rarely a problem that everyone sharing a part of the connection is downloading or uploading at once. So pretty much most of the times you test, you get the full speed.

    With mobile data, the entire cell is sharing a small amount (in comparison) of spectrum. Unlike a wire, the entire spectrum cannot be used by a single tower, a pretty small number of channels are carved out for them. Also because the signals are travelling through the air, there is more of a problem of signal loss and interference to contend with, so the channels very rarely reach the maximum possible speed (forward error correction and reducing bits per symbol to reach a suitable signal to noise ratio both will reduce speed for example.

    For upload (which isn’t usually much of an issue) there’s another problem of guard time between timeslots. When downloading, the cell transmitter transmits the whole time and shared the channel between all users (another thing that can slow things down) so there’s no problem of needing a guard time. But when it’s separate transmitters (phones) sending there’s going to be a guard time between different handsets timeslot and the more active transmit stations there are (phones) the more these guard times add up to wasted bandwidth. Luckily most people are downloading far more than uploading, so it’s less of an issue.

    I think for these reasons caps are used to limit people from ALWAYS consuming data on the cell/mobile networks and instead using wifi wherever they can in order to keep it fast for those that do/need to.


  • Therefore there is either missing information (external pressure to take this action) or this is simply an action based on personal judgement.

    Looking at the other post about NVidia drivers, I am starting to wonder if western governments (or perhaps just the US) are going after large orgs and suggesting how current sanctions should be interpreted. In which case, not sure I can then blame the Linux foundation, since you know, you don’t need government heavy breathing down your neck.





  • You know. I don’t like what the Russian leadership and military are doing. I feel like ultimately we’re in the cold war era. But you know, at the height of the cold war, radio operators around the world still worked Russian stations.

    Yes, there was a very clear policy, neither side talked about ANYTHING beyond their signal report and working conditions (information about radio, power output and aerial basically). At the height of the actual cold war, the individuals were not cancelled like this.

    Sanction the leadership, sanction the money, and sanction the military. But the normal people that are subject to the propaganda? I don’t understand the benefit in doing this. I also don’t see how the sanctions effect an open source project…

    Seems a bit weird. Maybe there’s information we’re not privy to, but on the face of it, just based on what we’re seeing. Seems like a very very odd move.