Threads for ave

    1. 3

      Wikipedia has the tentative release date as July 31st - I’m excited to try it out. I made sure to mark it on my calendar to check up on when the time comes in case i miss the news :)

      1. 2

        Because I’m a sucker for these things, I’ve already upgraded my servers, after checking the known bugs. No problems so far!

      2. 2

        Last 3 major versions had 4-5 months between freeze and release, so I wouldn’t hold your breath.

        1. 1

          Thanks for letting me know, helps me temper expectations!

    2. 8

      I would never make use of another internet service based in Germany.

      I had a VPS with Nexus Bytes in Germany. The drive that it was on was seized by the German authorities – and all of the innocent parties lost their servers along with whoever had committed an offence. They never even contacted the server admin. According to him, when clients filed service requests he had the server checked, only to learn that the hard drives had been taken.

      I’m self-hosting at home now. It’s probably the best idea anyways.

      1. 5

        People in replies seem to be panicking and changing locations or providers, but I feel like your case is more of an exception than anything. I’ve been hosting a lot in several servers located in Germany for the past several years, all of them hosted at half a dozen (small and large) providers, and I’ve had absolutely zero issues involving anything like that.

        Besides, if someone can dive in and take out drives without your server admin noticing or being informed by datacenter staff… you have bigger issues.

        1. 2

          You’re quite right.
          My initial reaction in this thread was, I admit, quite an overreaction.

          Not only that, but I am too busy (lazy) to change my box’s location at the moment, but I no longer feel like it’s an urgent issue.

      2. 4

        The Linode box my site runs on is located in Germany. Will be changing locations ASAP.

      3. 2

        The drive that it was on was seized by the German authorities –

        wait what. No redundancy?

        1. 2

          Super-cheap service. Back it up yourself. I had a bash-scripted backup of my files and configs, but I hadn’t done one for a bit. That part’s my fault. I can’t say how others were impacted, but judging from the admin’s response, he was dealing with a number of tickets.

        2. 1

          It might depend on how the provider had backup strategy set up – if backups or redundant servers/drives also included the offending material[1] that was the cause of seizure then those also had to be taken by the authorities.

          [1] because for example they backup the whole machine “all in one go” and store it together for all clients using VMs on this host - which is probably the easiest to set up.

          1. 2

            I live in this fantasy world where people use HA clusters, so that you could remove a server or two without any issues for the VMs running on them. But I guess you get what you pay for…

            1. 2

              That doesn’t look so clean in reality I think - when the police knocks, they don’t have procedures that says - ask nicely and give time for a graceful transition/shutdown - their job is to secure the illegal material and that’s what they do and at least in some instances it is not that they take just the hard disks out - they can even take servers, the more the merrier, so it may even include the whole ha-cluster if present (in most instances I guess policeman is not a trained IT engineer to know where those illegal activities are or are not performed).

    3. 1

      Bit late to the thread, but I just want to let this out.

      I want a graphical code editor, one that is not electron, has extensive plugin support (so that it can even be called a “light IDE” with the right plugins installed), is cross platform, and most importantly, is cross CPU architecture.

      Sublime Text does all of those except for “cross CPU architecture”, and honestly ever since I got into ARM computers I didn’t even genuinely feel the need for something that can replace it, but as it stands now, ST runs a bit slow with qemu-user-static on my PBP, and nothing much can hold its place. I use vim for the most part, but I need something graphical for better productivity.

    4. 11

      I wish it was easier to self host, I really do. I tried 3 times over the last 2 months to host jitsi. It’s a ridiculously complicated web of software, and impossible for anyone new to this to figure out how it’s all supposed to work when it doesn’t.

      First attempt was using the magical ‘curl |bash’ method on debian, which installed but I could never get 3-way video chat to work reliably.

      Second attempt was with their docker-compose project. After much effort trying different branches and config changes (both officially documented, and suggested in various issue comments in their repo), I ended up with something where 2-way video chat didn’t work reliably, and 3-way didn’t work at all.

      Third attempt was installing packages from AUR and hoping that I could figure out how it’s all supposed to work together so that I could get it to actually function. I got less far than the previous two attempts.

      1. 7

        Probably not much of a help to you but for others, NixOS just got support in release 20.03 and you should be able to use it like so:

        services.jitsi-meet = {
          enable = true;
          videobridge.openFirewall = true;
        1. 3

          Thanks. I don’t use NixOS, but maybe this is a great time to try it.

        2. 3

          The PR wasn’t merged yet, as far as I can see:

          Also the option search did not show the jitsi options.

          That said, the reviewers are being diligent but the PR is shaping up being super nice! The current blocker is to have some meaningful tests for the PR, which is difficult because you need to fake video input, do some screenshots, compare them or something like that.

          I did rip the relevant parts from the PR and make them available separately here in my nur-packages repo.

          1. 1

            Ah bugger, sorry for some reason I thought it got merged a while ago!

      2. 3

        I got it working using on my second attempt using docker-compose and traefik as a reverse proxy. I could write a blog post about my setup if you think that could be of any help.

        Haven’t tried 3-way calls, yet…

        1. 2

          That is a good thing to test since the two way calls don’t involve the brige. Which you probably know.

          For me, I could reproduce problems by even just open the same conference in chrome/chromium three times or more. Only with the correct setup, I’d see the video feeds for all tiles in gallery view.

          1. 1

            I did not know the bridge was not involved! I will test 3-way calls today.

        2. 1

          Open 3 tabs and you should have 3-way calls.

      3. 3

        Jitsi Meet is easy to install on e.g. Debian by adding the correct repo (deb stable/) and installing the jitsi-meetpackage. This will pull in the required packages (jicofo, jitsi-meet-web, jitsi-meet-web-config, jitsi-meet-prosody) and suggests installing a turn server (jitsi-meet-turnserver). On installation you’ll be asked about what domain you want to use (give it a FQDN, i.e. instead of somewhere). Open up the firewall to UDP:10000 for Jitsi and whatever you use for XMPP,/BOSH/TURN/TURNS (I submitted a PR to get them to use the IANA-assigned ports for TURN/TURNS as that currently is a bit of a mess) but after that my experience is that it just works.

        1. 2

          The basic features of jitsi works ok. Try debugging jibri (Xorg server with a custom linux kernel module for audio loopback, starting chromium, starting the javascript web client, recorded with ffmpeg and using PJSUA for providing an SIP stack) video encoding errors or enabling Web Tokens and that is another story.

          As long as it work out of the box and you do not have to seek in the internals, it is easy.

        2. 1

          Yes! I didn’t think this wasn’t too difficult (sure could be a bit easier). Here are some tips we use:

      4. 2

        The official guide is fairly easy to follow IMO, and I never had issues on 3-way calls after installing it on debian buster:

        Jibri (the optional recording/streaming component) however is a lot more painful. It requires java 8 (or else video recording doesn’t terminate properly. Use of Java 8 causes cert issues on jicofo if you use let’s encrypt as the adoptopenjdk8 certstore doesn’t have LE), lots of cert tweakery (the one I mentioned about adoptopenjdk8 earlier, if you use self signed certs, chrome itself doesn’t like self signed certs so you’ll either have to trust the cert or run chrome in an insecure way), a kernel with alsa loopback capture support (can’t remember the name of the kernel module, but basically -cloud kernels don’t work, and I had no success with getting it to work in a container) etc.

        1. 1

          I hadn’t seen that. Thanks for sharing, I’ll read up on it. Maybe I’ll make a 4th attempt soon :)

      5. 1

        That is the whole thing: it is not a Web (HTTP) software: it is an XMPP software: a different protocol for which jitsi-meet is a web-to-xmpp gateway. :)

      6. 1

        I managed to get Jitsi Meet working first time with the quick install instructions, however, I ended up spending days trying to get the JWT auth working which was incredibly frustrating.

        In the end I scrapped my first attempt and found a post on the Jitsi forums which had step-by-step instructions for token auth with Ubuntu 18.04 and it worked like a charm. Here’s the link for anyone in a similar situation.

      7. 1

        I am running a debian setup and it works fine with up to 6 parties. I have not tried more yet, but I see no reason why it should not work.

        The thing is that you need more RAM. I started with a small vpc at hetzner cloud and it works for 1on1 Chat, but only because jitsi uses peer-to-peer for those. The moment a third party joins, you need at least 8GB ram. I upgraded my instance and it works fine now.

      8. 1

        but I could never get 3-way video chat to work reliably.

        Did you check the videobridge logs? The main difference between between 2 and 3 way calls is that the latter are using the videobridge and I had to fiddle around a bit with the way Jitsis Debian packaging handled hostnames and certificates. I have an ansible playbook for Jitsi Meet on Debian buster which I could clean up if that would be of any interest.

    5. 2

      I’m actually surprised that a mostly static website requires 18 Pi 4s.

      1. 2

        We’ve set up 14 Pi 4s for PHP processing

        Not really static, if the Pi’s are running the forum, blog, etc.

        1. 1

          I think that it mentioned that the most intensive thing is the blog (which can be fairly static, even more so as raspberry pi’s blog doesn’t have a reply feature) I don’t see a mention of forum on the post, even.

          We used the main blog, which hosts the blog, and has historically been the most CPU-intensive site to provide.

          edit: nvm, I see that they do have comments on the blog. It makes more sense now. Still makes me wonder how much the software could be optimized though.

      2. 1

        The site is currently running on Pi 3’s the Pi 4’s currently don’t netboot which is a hard requirement for Mythic-Beasts.

        Hopefully that will be resolved shortly and then the site will be hosted off the Pi 4.

        1. 2

          This tweet (2 days later than the article) contradicts you:

          1. 2

            true - they’ve obviously solved the netboot issue :~)

    6. 9

      This post is bullshit and I’m sad to see it here with 82 upvotes.

      I hate the smug pedant writing style throughout, the massive effort spent explaining that WIP features are indeed a work in progress, the pages of copy pasted console output to demonstrate that there are trivially fixable bugs, and so many errors. (using trivially replaceable libc functions fits the standard definition of “zero dependencies” for C code, try making a release build, nobody cares if a compiler leaks memory, you would fix it by deleting the malloc, nobody cares that compiling a 1.2m line function fails, your benchmark is invalid because it doesn’t actually work, macbooks are 10x slower than any modern desktop, …)

      I especially hate the condescending suggestions at the end and loosely sprinkled flowery statements that allow you to pretend you’re being constructive and not just making fun of someone in public for upvotes.

      Five days ago you submitted a post about how you hope you can help new programmers get into the industry, now you’re writing multiple posts and comments dumping on someone because version 0.0.12 of the one man project they’re giving away for free isn’t as good as you hoped. Don’t you find that hypocritical?

      BTW yes I am aware his patreon raises $800/month, remarkably average programmers fresh out of school make that much in one day at Google/FB/etc, all of whom will happily take his work and give nothing back should it benefit them.

      1. 13

        the massive effort spent explaining that WIP features are indeed a work in progress

        That this was not how anything was portrayed or described for months on end. The post doesn’t really give full context.

        nobody cares if a compiler leaks memory, you would fix it by deleting the malloc

        No, V manages memory for you apparently.

        macbooks are 10x slower than any modern desktop,

        I know you are exaggerating, but no, they aren’t 10X slower, especially not for a single threaded workload like the current v compiler. I agree the benchmark is synthetic and doesn’t mean much, but If anything a real program is split into many files which will slow things down further. The fact of the matter is the author likes to say V compiles 1.2 million lines of code a second, and it doesn’t. Why say things like that when they aren’t true? Just say V is fast, or V will be fast.

        Five days ago you submitted a post about how you hope you can help new programmers get into the industry, now you’re writing multiple posts and comments dumping on someone because version 0.0.12 of the one man project they’re giving away for free isn’t as good as you hoped. Don’t you find that hypocritical?

        I don’t think he/she said they should get into the industry by telling people they are more capable or accomplished than they actually are. Say I have some free things to give your elderly parents that don’t work as advertised and then cause harm, fine by you I guess? It was free after all.

        BTW yes I am aware his patreon raises $800/month, remarkably average programmers fresh out of school make that much in one day at Google/FB/etc, all of whom will happily take his work and give nothing back should it benefit them.

        Can’t argue with that.

        Anyway, the V site is much better now - all people want is honesty. It isn’t that hard.

      2. 8

        I hate the smug pedant writing style throughout, the massive effort spent explaining that WIP features are indeed a work in progress,

        Problem is that for months if not years, those features were advertised as present. The (WIP) icon only got added recently.

        macbooks are 10x slower than any modern desktop

        Not even close. A MBP can get as high as 5140 on geekbench, while the maximum a high end iMac has gotten is 6245.

        BTW yes I am aware his patreon raises $800/month, remarkably average programmers fresh out of school make that much in one day at Google/FB/etc, all of whom will happily take his work and give nothing back should it benefit them.

        $800/day is $208k/year

        that’s notably higher than average dev salary at facebook and at google, and I’m sure that a new graduate doesn’t get the average salary.

        But yeah, this is semantics, so whatever.

        In any case, you should also account for that fact that he lives in Russia, and that $800/mo (used to be $1000/mo fwiw) is a notable amount by Russia standards. Yandex pays ~2k USD per month on average to their software developers. (conversion)

        1. 3

          Note the patreon is $800 per month, not day. $9,600 per year is not much.

      3. 6

        What @ac said is true. Here are the original claims he presented mostly like it was done. A few articles like that. On HN, we got him to back off admitting some claims were actually in just getting started stage. Eventually, he put WIP icons on some of that on the new site.

        Before that, he was saying he had a language safe with no GC like Rust (but easier) that compiled fast like Go running as fast as C with no to sub-1MB dependencies with cost-free interop with C/C++. And he can transpile your C++ code to it, too.

        Then, we got this repository as the deliverable. And it didn’t even deliver on some of the easier claims. Yeah, you bet folks are going to call him out for that.

        Edit: Tagging ac and @cadey in case you want the archive link as evidence.

      4. 5

        I’m glad you said something because this entire thing is embarrassing and in my opinion, all these folks dog-piling should be ashamed of themselves. If this person CAN make stuff happen, then why not cheer him on? If he can’t then why not say, ‘good try mate’? This hyper critical negative focus is so distasteful.

        But but he’s taking MONEY! So? He’s got a patreon and he’s trying to fund something he thinks he can do. All these hyper technical nitpicking folks thinking somehow this is a zero-sum game. Just shameful.

        1. 6

          I think he did a great job marketing, If he can make things happen then great. He just should stick to truth when getting attention. It isn’t that hard. It isn’t “hyper critical” to expect honesty. The site is much better now than it was before.

          thinking somehow this is a zero-sum game

          I didn’t see anyone make that claim.

          If he can pull off all the WIP’s in december 2019 like the site says, it would be fantastic.

          1. 2

            If he’s doing this in good faith (which I figure he probably is), then so long as he doesn’t give up, by December he’ll have learned a whole lot & be substantially more qualified to attempt everything he’s planned (even if he hasn’t managed to do so by that point). Jumping in the deep end is a great way to learn to swim.

            Already, he’s learned an important lesson: that misrepresenting planned features as already-implemented will be generally interpreted as dishonesty, & so it makes more sense to build trust by working in public.

            If he stays on this path, the donations will be justified simply because they will have supported the development of a skilled & well-rounded developer – something we desperately need more of in the world! And, cadey’s post is a vital part of making that happen.

          2. 2

            YOU my friend, made that exact reference:

            Lol, make sure you donate some more money.

            Why on earth do you care if people are giving him money or not? He’s working on something, he’s solicited for money and people have given it to him. How does this in any way affect you? This is what I meant by zero-sum. Folks giving him money doesn’t automagically reduce the available money for other people, so why begrudge him?

            Perhaps this stems from my personal belief that we should be trying to always encourage each other in our endeavors rather than tearing them down constantly, but I see nothing but a bunch of folks jumping like blood-thirsty savages on a cat with some good hype-game and some ideas about PL that he’s making an attempt to make real.

            1. 5

              Protecting others from perceived bad decisions is not being greedy. it is trying to help people.

    7. 11

      My response to this copied from

      Thanks :) It’s 0.0.12, the first public release. What’s with all this “vaporware”?

      The compiler can already compile itself in 0.3 seconds and is written 100% in V:

      It allows building easy cross platform graphical apps:

      It has easy cross compilation and can even compile itself for another platform:

      It allows to build small performant GUI apps like Volt: (Volt 1.0 RC 1 for macOS has been used by thousands of happy users for several months.)

      It powers a simple forum: And the entire forum is one 65 KB binary.

      It can translate and build DOOM:

      It has very extensive and simple to read documentation that covers pretty much the entire language:

      I think it’s pretty good for 0.0.12.

      Come back when it’s v1.0 by the end of this year.

      1. 9

        Now that you have added WIP, I am satisfied. Now it is not misleading and people can decide for themselves.

        Keep it like this and I won’t complain any more. Keep up the good work, you are doing something right.

        1. 1

          Please edit or delete this, I didn’t lie, I didn’t post anything negative about V since this.

          1. 1

            Deleted; I am sincerely sorry about that. Mistaken identity as you correctly surmised elsewhere.

    8. 8

      It can translate and build DOOM:

      I only see one file there, can you please push the rest?

    9. 2

      It seems like people are kind of dogpiling on your project here, and perhaps the criticism is warranted. I haven’t looked that much into V, but I’m hoping this is a case of just over-hyping and trying to deliver something too early (although you’ve made it clear this is an alpha), and that you continue to work on this and make it something great.

  1. 23

    I think I’m just going soft–this writeup is something that years ago I would’ve been jealous to have written!

    That said…I kind of hope the author of V doesn’t get too discouraged and they address this stuff and keep working on their language.

    1. 14

      I think we all want the language to succeed. The difference between “I can cure cancer” vs “I am working on a cure for cancer” is huge. Now the site has changed I am more ok with it.

    2. 11

      I actually want V to succeed. Having a cross platform GUI development tool is part of what we need badly to end the web app insanity. Just not like this exact implementation.

      1. 13

        There’s plenty of cross platform GUI things though? Qt/QML is probably the most complete one, with fast OpenGL rendering, accessibility, internationalization, and countless other things a UI toolkit has to have. Google is reinventing that with Flutter thanks to NIH syndrome (or licensing issues, or whatever).

        Developing a full, solid UI toolkit is not an easy problem and it’s been done a hundred times already. So I don’t think there’s a technical solution to the “I want people to use non-web cross-platform GUI tools” problem. What needs to be done is more promotion, more resources, documentation, tutorials, support for the existing tools.

        (and I don’t like the Web Hate Bandwagon either. the web platform is awesome :P)

        1. 11

          Absolutely. There are dozens (if not hundreds) of cross-platform GUI libraries, and five or six are at the intersection of well-maintained, frequently used, and featureful.

          All of them, as far as I can tell, are ugly & awkward to use, but none of them are as ugly or awkward to use as web tech.

          That said, almost all these libraries have their own universe & their own idioms that typically don’t match any of the idioms of languages they bind to (and in some cases, such as with GTK and QT, they have totally distinct type systems and build systems). Writing code in Tkinter is too much like writing code in Wish and not enough like writing code in Python. There’s a certain amount of intellectual work to be done to learn a new system like this (and these systems are typically grown organically, so even if you’re using a properly-designed host language, you’re locked into memorizing and dealing with ugly corners of fossilized design by your GUI toolkit), and I think this is what keeps so many people locked into webtech: they have, at great cost to their sanity and the length of their lives, memorized the most obvious ugly corners of CSS, HTML, JavaScript, browser behavior, and perhaps 3 creaking leviathans of web frameworks, and learning to navigate the treacherous twists of QT and the names and habits of the strange beasts in its depths seems rightly daunting.

        2. 5

          Problem is that V promised cross platform GUI with tiny amounts of space requirements, which sounds great to me.

          pyside2 is smth like 80MiB, pyqt is smth like 60MiB, which are absolutely massive compared to ~400KiB of V.

          But sadly it turned out to be vaporwave. Oh well. It would be nice to have that (a graphics library that’s easy, cross platform, well documented and not massive) one day.

          1. 3

            Anything that promises to be tiny is either cheating (big stuff is still coming somewhere else) or is a toy :)

            Honestly the obsession with tininess is just a big waste of energy.

            1. 3

              I always thought the heavy software taking up more CPU and RAM was a waste of energy. ;)

          2. 3

            There’s always TK, if you don’t care about alpha support or 24-bit colors. It seems to ship with python (as TKInter).

            1. 1

              tk support needs to be compiled in and isn’t available by default on all distros.

              1. 2

                True. It’s as close to built-in as you can get with python, though. (Like, curses also ships with python, but if you’re building from scratch & you don’t have curses installed, the python bindings will not provide it.) Some binary distros will let you not install X, & will split off TK & tkinter to support Xless systems.

                That said, last I looked, Tk ships with the binary windows and Mac OS classic versions of python.

                (IIRC, TK also runs on less-common systems like riscos, though I’ve never seen it do so. I’ve also heard tell of a curses frontend to TK, for folks who don’t have a bitmapped display at all, but I don’t know how much it supports or how well it’s been maintained. Basically, it’s way more cross-platform than most of the stuff that gets called cross-platform.)

          3. -3

            V UI is in fact not vaporware, it’s right here:

            You also confused statements about what is being planned with what has already been implemented.

      2. 11

        It seems to me much of this already exists with Rebol.

        1. 8

          Rebol was the first thing that popped into my head when I was reading about V. It is also quite shit for doing anything (I’ve tried for something like a year) and it taught me that one-person projects done by brilliant coders are not good enough, even if they claim superior features. Community counts.

      3. 3

        I am working on curing cancer. Hit my Patreon!

        1. 3

          An honest crackpot is ok . If you do terrible cancer research, but you actually are doing something, all good. Open source helps people see what is going on regardless, then they can make a properly informed decision to throw money away. Before it was more like “I definitely cured cancer, coming soon, donate now.”

          So do some cancer laboratory tours with investors and go ahead :) I hope you succeed lol.

          1. 4

            Regarding my own work, I was kidding about actually doing cancer research (though I have a minor in molecular and cell biology in my Masters from UC Berkeley). I am, however, quite serious about solving the high performance cross-platform GUI problem.

            1. 4

              Good luck :), definitely something people struggle with.