TMP_NKcYUEoM7kXg4qYe

joined 2 years ago
[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 11 points 1 week ago (3 children)

CLA is basically a requirement for any larger scale open source project. It would be mental to add a "this single edited line is licensed under X license" to every tiny commit. Microsoft's CLA does not tranfer rights btw, it just licenses your contribution to M$ under "basically BSD 0 clause license" terms.

I guess sure they could do a ragpull but it does not make much sense. Reasons:

  1. they have open sourced it themselves

  2. It's made by M$ for M$. They don't have competition in the Windows space, so there is no point to hide the code.

Also what would be the worst thing that could happen if they did that? You would either use a fork, because WSL2 is basically feature complete at this points, or you would be have to use a proprietary app on a proprietary OS. Imo the licensing of WSL specifically is the least of Windows' issues.

I actually do know what I'm talking about. See https://www.gnu.org/philosophy/selling.en.html

Many people believe that the spirit of the GNU Project is that you should not charge money for distributing copies of software, or that you should charge as little as possible—just enough to cover the cost. This is a misunderstanding.

Though I advise you to read the whole article. They for example explain why you should charge "substantial fee" for redistribution of Free Software.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 0 points 2 weeks ago (2 children)

But you posted an image of Stallman with "absolutely proprietary" written inside said image. You can imply whatever you want but it's weird to add that image when Stallman would be completely fine with "pay-walling a free OS". Rather he would probably even encourage it.

The official python installer uses wpa_supplicant if it doesn't find NetworkManager. On my debian I was using wpa_supplicant for eduroam only because it could not "find" NetworkManager on my machine.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 1 points 2 weeks ago* (last edited 2 weeks ago)

Ignoring Red Hat which according to the Software Freedom Conservancy organization are GPL violators.

But with Ubuntu it depends on whether you consider paid repositories features or support. Sure you can just compile it yourself but that's kinda the same thing Zorin is doing: https://lemmy.world/post/29546682/17016426

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Stallman's usual take is "Yeah sure you can sell it, as long as you respect the 4 freedoms.". So I don't think selling Free Software is against the spirit of FOSS. The issue is rather that the Free Software is against the spirit of selling because realistically you can sell it to one entity which can then just make 7 billion copies of said software. At that point it's no longer financially viable to sell it for you.

I also think that the majority of people creating Free Software would be fine with someone else selling it. Remember how much permissive-licensed software is out there. If authors really cared, they would have licensed the software under GPL, but instead they even allow it to be used with commercial licensing. Obviously I'm not taking away your opinion, but I don't think your opinion represents the majority of FOSS.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 1 points 2 weeks ago (4 children)

According to this comment

https://lemmy.world/post/29546682/17016426

it's not absolutely proprietary. It's just Free Software they are selling, which is approved by Root Mean Square.

I know what kind of projects you are talking about, I just think it's kinda pointless to talk about "shifting focus" when 99 % of focus has already been shifted since forever. The projects you listed are really just hobby projects. It's kinda like saying people should stop working on "alternative" init systems and they should instead work on systemd. People working on hobby project won't suddenly shift to professional projects, because that would kinda ruin the hobby.

I see so many people here on Lemmy who are desperately waiting for Linux phones to replace their iPhones or Android phones

In my opinion it's similar situation with the users. I think people waiting for Linux proper phones aren't really waiting for a replacement for their Android phone, rather for a niche alternative for hackermen, like alternative init systems to systemd or Gentoo to Ubuntu. It doesn't have to be a drop in replacement, it just has to do the job (calls, sms, internet, camera, usable battery life). Right now it does not even do the job.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 0 points 3 weeks ago (1 children)

unless they use my discord server to spread those views

To me that's not controversial at all and does not suggest in the slightest that he's a fascist, National Socialist or whatever. And he isn't creating "safe spaces" for these kind of people either. A safe space to me means a place where said people can express their (stupid) opinion freely, which Vaxry according to this statement does not support. Also I don't have the exact quote but in a different episode of his blogpost saga he claimed that when some person was transphobic, said person was banned. So that would also be supporting evidence that he does not create safe spaces for bigots.

If we're talking strictly hypothetically, I'm a worse person than Vaxry because unlike me, he claims not to allow bigots to express their opinions in his dicksword server, while I am engaging in communication in a Lemmy community where being a fan of Mao or Stalin is allowed.

In the rest of the article he presents nazism as an opinion people might have that you disagree with.

He didn't say anything about Nazism being an opinion you disagree with.

He argues that his silent acceptance of nazis is the morally correct stance while inclusive communities are toxic actually.

He does argue that his stance is morally correct but what you said is not his stance. I think the following quote implies the point he's trying to make.

It's important to note that there are many people who disagree on topics like religion, economic systems, LGBT issues, geopolitics, and other. For whatever reasons they may, we still should not ostracize them as long as they can interact with the FOSS community in a respectful manner, without arguing about those issues in places not meant for such discussions.

I think his point is that him disallowing ostracising of people creates communities that tolerate all kinds of people including say, LGBT people. The Nazis would be collateral damage of inclusiveness, I suppose. I'm naming specifically LGBT, since in a different quote he's talking about illegal things in Hungary, which is famously a highly LGBT-discriminating country in the EU:

I stand by my stance that even if you are something that the country I live in disagrees with, you still are free to use, contribute to, and be a part of the greater FOSS community.

Also part of his point is that just because someone claims some other person is a bigot, does not mean that's actually true. The former person could just be lying or otherwise twisting the truth, therefore it's important to be inclusive:

They will try and find things that you do outside of your proffessional persona, or often infer, guess, meddle with, or lie about what you say and stand for.

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 2 points 3 weeks ago (2 children)

The vast majority of the FOSS mobile development community has already shifted to AOSP. "Proper" mobile Linux has never been a serious thing except maybe during the Nokia N900 era (It was released in 2009.). So I don't really get what you're trying to say with that statement. Also the main thing that's lacking for mobile Linux are the drivers and hardware*, so there it does not really matter whether it's Linux "proper" or Android because the low level stuff is pretty much the same.

*With hardware I mean that the devices are not designed to be tinkered with unless it's Pinephone like Linux phone, where the problem are said drivers.

This is the least of the issues that Linux phones are facing though. It's mostly the drivers that are lacking. Linux phones are also one of the areas where you actually don't want flatpak and docker bloating up your system with duplicated dependencies because you have limited storage.

 

EDIT: The bad solution is to unblock UDP port 5353 but the port has to be source port, not destination port. (--sport flag) See the now modified rules. The issue is that this is very insecure (see this stackexchange question and comments) but obviously better than no firewall at all because at least I'm blocking TCP traffic.

The proper solution (other than using glibc and installing nss-mdns package) is to open a port with netcat (nc) in the background (using &) and then listen with dig on that port using the -b flag.

port="42069"
nc -l -p "$port" > /dev/null || exit 1 &
dig somehostname.local @224.0.0.241 -p 5353 -b "0.0.0.0#${port}"

Then we need to remember to kill the background process. The DNS reply will now be sent to port 42069, so we can just open it with this iptables rule:

-A INPUT -p udp -m udp --dport 42069 -j ACCEPT

---->END OF EDIT.

I want to setup iptables firewall but if I do that, it blocks multicast DNS which I need. I am using command

dig "somehostname.local" @224.0.0.251 -p 5353

to get the IP through mDNS and these are my iptables rules (from superuser.com):

*filter

# drop forwarded traffic. you only need it of you are running a router
:FORWARD DROP [0:0]

# Accept all outgoing traffic
:OUTPUT ACCEPT [623107326:1392470726908]


# Block all incoming traffic, all protocols (tcp, udp, icmp, ...) everything.
# This is the base rule we can define exceptions from.
:INPUT DROP [11486:513044]

# do not block already running connections (important for outgoing)
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

# do not block localhost
-A INPUT -i lo -j ACCEPT

# do not block icmp for ping and network diagnostics. Remove if you do not want this
# note that -p icmp has no effect on ipv6, so we need an extra ipv6 rule
-4 -A INPUT -p icmp -j ACCEPT
-6 -A INPUT -p ipv6-icmp -j ACCEPT

# allow some incoming ports for services that should be public available
# -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
# -A INPUT -p udp -m udp --dport 5353 -j ACCEPT # does not help
-A OUTPUT -p udp -m udp --sport 5353 -j ACCEPT # SOLVES THE ISSUE BUT IS INSECURE - not recommended


# commit changes
COMMIT

Any help is welcome :)

 

I'm considering using PostmarketOS on a tablet for a project. I need kernel greater than x.y.z (so far I know >3.0.1 works, <2.6.32 does not). However it's kinda difficult to find it on the wiki. Some devices specify kernel version (android a.b.c, kernel e.f.g), some only the android version (android a.b.c) and some neither.

I found that android version should correspond to a kernel version (https://android.stackexchange.com/questions/51651/which-android-runs-which-linux-kernel). But how do I check (in the least time consuming way) the kernel version of the devices that don't mention anything?

Thanks.

edit: I think I was looking for this answer: https://postmarketos.org/source-code/#linux-kernel

 

Does anyone know how to set a custom mouse acceleration curve on Sway? man sway-input does mention mouse acceleration but unfortunately it's one of those "you won't learn anything new unless you already knew it before" type of manpage.

I also found this project https://github.com/N-R-K/leetmouse which I will probably use in the end but I would also like to hear if anyone of you has any experience with custom acceleration profile, in case there is a better way or whatever.

Edit: I will use leetmouse (different branch tho), because libinput's acceleration is not very good for gaming (see comments for sources)

https://github.com/systemofapwne/leetmouse

 

My issue is that many of my remote desktop apps require knowing the IP adress of the other PC. I'm looking for a VPN that auto-discovers other devices on the same network. That way I could just "ssh" into the same IP every time, because it would be IP inside of a virtual network. Ideally I am looking a solution that does not require internet connection.

Thanks.

Edit: I should probably specify my usecase. I have a portable desktop and use VNC from a laptop to connect to it. To do that I need the IP of the desktop but that's different on a different network. This can be solved by using hostname.local as the "IP". (hostname is the "ubuntu" in "bob@ubuntu$:~/Documents") The solution is quite simple, I just haven't known about it.

 

Edit: Solved according to this: reddit Obviously Void has no systemd service but I just created a script service containing a single line isdv4-serial-inputattach /dev/ttyS0 --baudrate 19200. The serial communication often crashes but runit automatically restarts it so that's fine. Also 6.6 kernel is kinda buggy but 6.10(custom compiled) and 6.1(from void's repo) work fine. Yeah and don't forget to enable the ttySx service otherwise it cannot work.

I cannot get sway to detect my tablet device on Void Linux installed on a Thinkpad X200 Tablet. Anyone knows how to fix it? I have both libwacom and xf86-input-wacom installed. It worked fine on Debian.

Now when I think about it, I don't have libwacom-32bit installed, because I'm using musl library which is 64bit only. That might be the issue considering how old my hardware is. I'm going to try to investigate but I'm going post this here anyways in case anybody knows more than me.

 

The manual mentions that by default you can pan by holding middle click but my tablet does not have one, so I would like to change it to left click. Anyone knows how to do it? Thanks.

 

Edit with solution: I'm dumb. Just use the default quickemu settings and only change "-device virtio-gpu-gl " to "-device virtio-gpu " and "-display sdl,gl=on " to "-display sdl,gl=off ". Although qemu will have a lot of overhead at boot, the CPU usage when on the desktop should not eat your linux host's entire core. I also disabled Windows Defender, which I don't recommend if you run random stuff from the internet (or open .xlsm spreadsheets), but it helps. I ran CTT's windows debloat tool and removed edge because it was updating in the background for some reason. Even then Windows is still a last resort kind of machine when my desktop isn't available, not an actual work OS.

Edit with solution 2: The above still sucks compared to using RDP. Use the above to set up Windows Remote Desktop, then use for example Gnome Connections to RDP into it. I had to forward the RDP port to the Windows VM for it to work.

I changed the line

-netdev user,hostname=Quickemu,hostfwd=tcp::22220-:22,id=nic \

to

 -netdev user,hostname=RDPWindows,hostfwd=tcp::22220-:22,hostfwd=tcp::3389-:3389,id=nic \

Then I just connected to 127.0.0.1 from Gnome Connections

=======ORIGINAL POST:

Hi, I have trouble running Windows 10 in QEMU on an old af thinkpad x200t. The issue is that it that my GPU only supports opengl 2.0, so virtio does not work. The best I could do is use these options:

-vga qxl \

-device virtio-gpu \

-display sdl,gl=off

and like 30 more which are part of the default quickemu configuration. The three mentioned are ones I changed.

With these options QEMU uses "just" 85% of my CPU so I can still do something on the linux host. The issue is that Windows is basically unusable because the one core it has is constantly occupied by rendering graphics even when just idle on the desktop.

At this point I have accepted my faith that this laptop ain't usable for Windows virtualization but I thought that I would ask here before closing this case. So does anyone have a secret hack which makes pre core i series intel GPUs work with Windows guests in QEMU?

thanks for any tips

 

Anyone managed to make it work? If I assign a core to the Windows VM, it's constantly at 100% even when idle. Obviously I expected crappy performance but I was hoping that it would at least work. It did pretty well on bare metal.

Is this a skill issue or a hardware problem? I tried both qxl and virtio, both sucked. I think it's the old GPU because today I tried quickemu instead of virt-manager and quick-emu refused to start because the iGPU does not support OpenGL 3.

Bonus paragraph: Windows 10 (and 11) refused to finish the installation in Virt-manager in KVM mode so I had to install it using emulated x64 cpu and then boot the qcow image from regular KVM. (aimed at those having the same issue in the future)

Edit: I think the problem was Windows updates running in the background. I had a similar problem on my x230 but I fixed it by only enabling security updates. (https://github.com/ChrisTitusTech/winutil) The problem is that this tool is broken on the X200T so I'm going to have to transfer the .qcow image from the X230 to the X200T and then see how bad the performance is. In case you want to know how it went, message me in like a month or two. It's likely I will forget to edit this post after I get through this tinkering.

Edit 2: Nope the issue is the old GPU. It only supports OpenGL 2.0, so Windows isn't really doing anything but rendering itself. I made a last effort to solve this here:

https://lemmy.world/post/11367355

 

Hi, I am looking for a SBC to self host stuff on. I would like it to be somewhat open hardware (manufacturer provides schematics and drivers are open source). Which is why I initially wanted to buy a banana-pi router but after reading a post in this /c/ I found that mainline linux support is fairly rare in these arm/riscv SBCs.

So I was hoping someone more knowledgeable would help me find some options. Here are my "wants":

  • Low power drain
  • Open source hardware and software
  • Mainline linux support
  • 2 ethernet ports, at least 1Gb
  • at least 2GB RAM - could do with 1GB I suppose
  • a reasonable way to connect 2 SSDs and 2 HDDs - ie. 4 sata ports or one pcie port (not through USB)
  • EU seller. Not required but I hate dealing with import taxes and I like guarantees
  • Finally I need it to have "wake on power", so that it can start automatically after power outage

The more I search the internet, the more it seems that this mythical computer does not exist but maybe someone knows more than me. Thanks for your replies.

Edit: I'm likely going to settle with the Visionfive 2 since it has official ubuntu support and I won't have to rely on some hacky linux image provided by the manufacturer. It has 2 LAN ports and an M.2 NVME which I'm gonna split into 4 SATAs. Also 8GB RAM is plenty for the lightweight stuff I want to host, maybe even Nextcloud won't be that painful.

Final note: I'm actually not sure how much is the Visionfive 2 open-source but it seems better than intel and AMD stuff so I'm willing to compromise since I actually want to buy something that exists. But anyone reading this in the future beware that I don't know whether it's really open source to the last logic gate. (likely not)

view more: next ›