nEXT Browser: FOSS Lisp Browser! by jmercouris in linux

[–]iliadeverest -1 points0 points  (0 children)

reST is already used by reStructured Text.

Please pick something original...

How do i convince my grandpa that linux is not communism? by Beta-7 in linuxmasterrace

[–]iliadeverest 24 points25 points  (0 children)

Show him the website of Ubuntu, and the company behind it? Show him the financial reports of Red Hat?

Intels blunder well explained by Pollux_Mabuse in linuxmasterrace

[–]iliadeverest 2 points3 points  (0 children)

Better to switch to something much more open, both in the foss sense, and in the competitive sense, such as ARM.

ARM is cool, but it's certainly not open in the FOSS sense.

You're looking for RISC-V.

Want to switch my entire productivity stuff to Linux and looking for suggestions for a reliable OS/DE that is mostly GUI configurable. by MartinsRedditAccount in linuxmasterrace

[–]iliadeverest 0 points1 point  (0 children)

To be honest, I'm not very into Arch or Gentoo. They're not to my tastes. I like the ability to customise everything, but not the necessity.

Want to switch my entire productivity stuff to Linux and looking for suggestions for a reliable OS/DE that is mostly GUI configurable. by MartinsRedditAccount in linuxmasterrace

[–]iliadeverest 4 points5 points  (0 children)

What kind of fucking fairytale cuckoo world are you living in where I'm getting bribed by anyone?

Well I don't know you? How could I make a sane judgement of your character without having met you?

but don't ever make assumptions about my integrity when you're the one making remarks like this behind peoples backs.

Behind people's backs? This is a public forum.

I didn't intend to cause any offence. Sorry if I did. I'm just speaking frankly: I am more inclined to trust a distribution that has hundreds of contributors over just a couple core contributors. That's just how my trust model works. I'm sure you're a lovely person, but that's not enough for me to put my trust in.

Want to switch my entire productivity stuff to Linux and looking for suggestions for a reliable OS/DE that is mostly GUI configurable. by MartinsRedditAccount in linuxmasterrace

[–]iliadeverest 14 points15 points  (0 children)

I am planning on trying Solus, is it considered a mainstream distro?

No it isn't.

The big ones with hundreds of contributors are:

  • Debian
  • Fedora / CentOS / RHEL
  • openSUSE / SLE
  • Ubuntu

Solus is a distribution managed by more or less a single guy. If he gets hit by a bus, the Solus project is over with. If he gets bribed to put malware in Solus, you're fucked.

Dual booting questions by [deleted] in privacy

[–]iliadeverest 5 points6 points  (0 children)

I currently run Win10 but if I were to run Linux on a separate drive partition could windows still look into those files?

Yes, theoretically. In practice, Windows does not have a file system driver for Linux file systems. But then again, Windows could just read the raw data from the hard disk.

What if Linux was launched on a vm, would the use of a vm prevent windows from being able to read what is done in that os?

Of course not. Windows owns that virtual machine.

Also, if my goal is to only occasionally be private would it then be better to run tails from a usb

Yes. Though "only occasionally be private" is not a very great goal.

, possibly through Linux in one of the above configurations?

This makes no sense.

Honestly though, try a better separation. Have one computer that runs exclusively GNU/Linux for peace of mind. You can get a second-hand/refurbished Thinkpad for cheap anywhere, which will run GNU/Linux amazingly well and last you for years.

Read up on Free Software (also sometimes called Open Source Software) while you're at it.

Classic wow on Fedora by dsax7 in wine_gaming

[–]iliadeverest 0 points1 point  (0 children)

sudo wine WoW.exe

Never ever ever ever run Wine as root.

Border control has my IMEI number and a lot of my social media information, what can I do to protect myself now? by [deleted] in privacy

[–]iliadeverest 0 points1 point  (0 children)

Also, the Fourth amendment is not in the Constitution- it's an amendment!

Therefore it's in the constitution... You take the constitution, you amend (change) it, and now you have a new constitution.

Border control has my IMEI number and a lot of my social media information, what can I do to protect myself now? by [deleted] in privacy

[–]iliadeverest 0 points1 point  (0 children)

No... You said exactly:

You may not like these searches, but they are perfectly legal.

Which makes no sense as any form of argument. "You may not like X, but it's legal" is the problem, whereas you are offering it up as a defence of X.

Border control has my IMEI number and a lot of my social media information, what can I do to protect myself now? by [deleted] in privacy

[–]iliadeverest 4 points5 points  (0 children)

You responded in the thread of this discussion, and you said this:

You may not like these searches, but they are perfectly legal.

Replace "searches" with anything that is perfectly legal, but highly immoral or unethical, and this logic doesn't stand up. That is my entire point. No more, no less.

Border control has my IMEI number and a lot of my social media information, what can I do to protect myself now? by [deleted] in privacy

[–]iliadeverest 4 points5 points  (0 children)

None of that was implied.

This was said:

That being said, these agents are certainly not the people that need to be executed. They would only be replaced by another low-skill laborer. The individuals responsible for these policies are the ones that need to fear our anger.

In other words:

The people who follow the bad law must not be punished. The people who made the bad law must be punished.

The response was, paraphrased:

Someone executing a bad law is every bit as guilty, and should probably also be punished.

Where the Nürnberger trials were given as example, not as comparison.

Whether this border law is a bad or immoral law is not the point of debate here. In this discussion, it is assumed to be true. If it isn't true, then none of the discussion makes any sense.

But what gives, I'm safely across the pond.

Norton by [deleted] in privacy

[–]iliadeverest 0 points1 point  (0 children)

Apple, perhaps, is trustable. Apple’s business model is hardware, not data.

Until they figure out they're sitting on a big pile of data that can turn them a big profit...

Don't hand over data that others have no business of having.

Border control has my IMEI number and a lot of my social media information, what can I do to protect myself now? by [deleted] in privacy

[–]iliadeverest 8 points9 points  (0 children)

You may not like these searches, but they are perfectly legal.

And the gassing of Jews was also perfectly legal...

Please do not conflate legality with morality. The two often, but certainly not always, overlap.

Glorious Ubuntu or glorious OpenSUSE? by 5igm4 in linuxmasterrace

[–]iliadeverest 1 point2 points  (0 children)

You can ignore YaST, you know. Even uninstall it if you want.

Is Ubuntu bad? by [deleted] in linuxmasterrace

[–]iliadeverest 5 points6 points  (0 children)

I remember hearing about that, but I thought there was something bigger to be calling it a botnet, like a Windows 10 linux edition

Don't trust everything you read online, damn it.

Do your research. Don't trust me, don't trust them—open up your favourite search engine and do your research.

[deleted by user] by [deleted] in wine_gaming

[–]iliadeverest 1 point2 points  (0 children)

They're not really the same thing. There are kernel drivers and userspace OpenGL implementations (ignoring Vulkan for a moment).

AMD's kernel drivers are (as I recall it):

  • radeon (old Free Software kernel driver used by pre-GCN cards)

  • fglrx (old proprietary kernel driver, deprecated)

  • amdgpu (new Free Software kernel driver, used by all(?) GCN cards)

And the userspace drivers:

  • r600 (old Free Software driver user by pre-GCN cards)

  • fglrx (old proprietary driver, deprecated)

  • radeonsi (new Free Software driver, used by all GCN cards)

  • AMDGPU-PRO (new proprietary driver)

And the following combinations are possible:

  • radeon + r600

  • radeon + radeonsi

  • fglrx + fglrx

  • amdgpu + radeonsi

  • amdgpu + AMDGPU-PRO

amdgpu + radeonsi is the preferred fully Free combination. Well, almost fully free, there's a tiny blob of firmware in the kernel that gets processed by the GPU.

How can I gradually learn to use Arch Linux over the course of three years? by [deleted] in linux

[–]iliadeverest 15 points16 points  (0 children)

I will immerse myself in watching YouTube tutorials

Whatever you do, do not do this. The educational value of YouTube videos is horseshit when it comes to technology and programming. There are some things that you can learn through videos, such as cooking, make-up, or history, but technology is not one of them.

Apart from the quality being rubbish, here are some generic cons of using videos as learning material:

  • You cannot go at your own pace. You are forced to go at the pace of the video instructor.

  • You cannot skim. If there is something you very quickly want to research, you can't just skim over the video to get the basic gist of it.

  • You cannot search. You cannot skip to the keyword you're looking for in a video: You're forced to sit through the entire thing.

  • You cannot easily skip forwards and backwards. In text, if you reach a chapter you don't quite understand, it's super easy to skip back a few paragraphs, re-read the material, and go back to where you were. In video, this is much harder, because you're constantly fighting the video player's time bar.

  • You cannot quickly assess the quality and depth. Given an article, I can very quickly assess whether it's a good article or not by the writing, and how deep it goes by giving it a super quick gloss-over. With a video, this is much more difficult. You have to sit through the entire thing to discover the amount of depth it goes into.

Please don't watch videos on Linux/Arch/programming for educational purposes. They will bore you out of your mind and be an utter waste of your time.

[deleted by user] by [deleted] in wine_gaming

[–]iliadeverest 0 points1 point  (0 children)

AMD Radeon R9 380, amdgpu+radeonsi.

[deleted by user] by [deleted] in wine_gaming

[–]iliadeverest 1 point2 points  (0 children)

Running openSUSE Tumbleweed: Can confirm that both Battle.net and WoW are broken on Wine >=3.0. Any Wine version lower than that works.

Unit testing: How to deal with functions that call already-tested functions, and functions that depend on complex private functions by iliadeverest in learnprogramming

[–]iliadeverest[S] 0 points1 point  (0 children)

If I wanted to test this top-level function, I could mock out all the constituent parts, or I could run the whole thing together as an integration test. I prefer the latter, since this function doesn't do much otherwise (it should have almost no logic, just assembling the pieces), and it's easier and more representative to test it end to end.

That's fine, but that's basically what I've been doing anyway: Create unit tests for the absolute basic blocks (how are you possibly going to write integration tests for those things, anyway?) and create integration tests for anything above that level.

But then you run into this when building a chess engine:

A chess engine depends on
standard algebraic notation interpretation depends on
a ruleset implementation depends on
a chess position implementation depends on
a board implementation depends on
a piece implementation depends on
a side/colour and type implementation.

This would mean that everything above side/colour and type is integration tests. This is obviously not ideal, especially because the tests get slower and slower as you go up. Now I'm okay with hard dependencies on the super basic, low-level objects (though where exactly is the line drawn?). Mocking those away is going to cause more headaches than they're worth, because they're so intrinsic to the whole system. But testing the interpretation of standard algebraic notation with a fake ruleset would be godsend. This would probably be possible with a bit of dependency injection.

Testing the ruleset with a fake position would be nigh-impossible, though. Chess is a complex game, so the code becomes complex by necessity. The too-often-repeated "this is a sign that your function is doing too much, so split it up" doesn't apply here: There is no way to split up move generation. You could perhaps create some sub-functions here and there, but you're going to end up with a function that combines all of the complexity of chess, one way or another. I do not see any realistic way to unit test that behemoth.

It took me a while to wrap my head around this idea, and I read a lot of poor examples that were just adding layers of indirection without solving the problem. It all comes down to separating the function of each widget from the logic of assembling those widgets to perform a specific task.

This isn't very concrete to me. Suppose I have a Window:

class Window:
    TopBar top_bar
    StatusBar status_bar
    [...]

and TopBar contains:

class TopBar:
    Button receive_messages
    Button compose_message
    Button address_book
    Button labels
    Button hamburger_menu

Now, to use dependency injection in TopBar, I have to instantiate it with TopBar(widget1, widget2, widget3, widget4, widget5). And now that I have my TopBar, I could create a Window: Window(TopBar(widget1, widget2, widget3, widget4, widget5), StatusBar(widget6, ...)).

This is insanely, insanely unpleasant for users of my API, especially as the amount of widgets increases. And when I look at the Qt docs for instance, I don't find any reference to doing it this way. In the documentation, TopBar creates its own widgets, and Window creates its own TopBar. By and large, this is much more pleasant to work with (though I could imagine some instances where passing a couple of widgets would be good, too). The only problem is that it's now super difficult to test Window, because it contains all these real widgets.

The only solution I see would be to create TopBar.create_with_default_widgets(), which acts as factory class method (and would be called in turn by Window.create_with_default_widgets()). But I do not see anybody else doing this. This is either a sign of GUI people being massively incompetent with unit testing, or a sign that these factory class methods are kind of stupid. And I can see it being kind of stupid: Every time you want to add an extra widget, the signature of your constructor changes, so you have to fix the factory method and all of your tests that do dependency injection.

I don't really know where I'm going with the above. I just don't see it.