Skip to content

u/ferk

In this archive from Aug 2009 to Sep 2022

9
posts
144
comments
0
media
470
score

Judge: "If I ask you to swear to tell the truth, will your answer be the same as the answer to this question?"

6 points

I'm not so sure if having "local currency support" like Steam does is such a good thing, it actually makes games more expensive depending on which country you are on.

I would be happy to make all my purchases in USD rather than EUR to be honest, if that means Steam won't bump up the price almost 20% by assuming 1 EUR = 1 USD

GOG has a fairer policy with foreign markets, the same value is asked for the game no matter where you are buying it from.

1 points

I use AntennaPod, it's free and open source software. No ads whatsoever, it has synchronization with services like gPodder.net (also iTunes though I don't use that) and OPML import/export.

It doesn't use my mobile data connection since I configure it to automatically download new podcasts while I'm home so I can listen to them later on the go. The progress and subscription lists get synced in the cloud if you have a gPodder account.

2 points

Yes, you seriously put in doubt his understanding of what "entitled" means, apparently. It surprised me too.

1 points

If you understand that and agree with what I explained then I don't see why you found an issue with how the initial comment used the word.

He did use it correctly. He did not generalize it in an universal concept of being "entitled" without specifying what treatment is it entitled "to". That would make the usage of the word pretty useless indeed.

1 points

Are you sure it's not you who misunderstands what "entitled to" means?

Bear in mind that it's not a universal generic adjective that you can put on a person... you can be entitled to do some things and at the same time you might not be entitled to do other things.

Like how nobody is entitled to commit murder but everyone is entitled to be protected against murder.

"Entitled to..." is basically equivalent to "has the right to...", as it's meant to say "his title/status allows him to..".

1 points

What do you mean they are one thing? Connected colors are everywhere you look, even if in the form of contrast. There are a lot of optical illusions in the internet that make you think the same shade of grey is black in one place and white in another.

Just see the image and decide to which point you would accept something as green, then put the boots image next to the diagram, trying to ignore the snow around and then you can see to which side are the boots closer to.

To me they do look green. A yellowish shade of green, but green. I wouldn't mind considering it as a greenish shade of yellow either, though, and I wouldn't think of someone colorblind just cos he has a different idea of where the limits of yellow are.

2 points

If you dont have to care too much for the security just add the NOPASSWORD flag to your user in the sudoers file and alias "makepkg" to "sudo makepkg"

1 points

Yes, but it will write the content of its buffer before that. If doesn't have to wait for EOF to start writing its output, otherwise it will run out of memory if the stream of data never ends.

The code is something like this (from sbase's cat):

    char buf[BUFSIZ];
    size_t n;
	while ((n = fread(buf, 1, sizeof(buf), stdin))) {
        fwrite(buf, 1, n, stdout);
        if (feof(buf)) break;
    }

There's a buffer of size "BUFSIZ". fread will wait until as many characters as BUFSIZ have been received and then fwrite will write them to stdout. This will be repeated as long as no EOF is found in the buffer.

GNU coreutil's cat is more complex than that (it tries to write the output as soon as there's a newline instead of waiting for the end of the buffer), but the main behavior is not very different.

2 points

There's virtually no difference for cat whether the data comes from a file in the filesystem or it's a pipe of data that slowly shows up at a seemingly random pace.

For cat it would be the same as if your filesystem was on a fucking slow hard disk from the 70s.. it simply takes longer for the data to be read. Cat will simply wait for its buffer to be filled and then it'll spit it out.

3 points

What do you mean?

Cat just outputs the input it received from /dev/fd/0 (aka stdin) into /dev/fd/1 (aka stdout) just as it receives it, it doesn't do anything fancy, it doesn't know anything about the data piped to it.

In your second example where you use <(while ....), you are actually using a feature from bash.. I asume bash creates a named pipe with some random path in a temporary folder and substitutes that filename in the commanline argument. Probably the same as if you had done this:

mkfifo /tmp/mywhile.pipe
{ while true; do echo $(date +'%H:%M:%S'); sleep 1; done >/tmp/mywhile.pipe; } &
cat /tmp/mywhile.pipe

In this case, because you are providing a file as an argument (or at least, bash is making it look like a file for cat), cat uses that file instead of /dev/fd/0. This means a new element will show up in /dev/fd (probably /dev/fd/3, since /dev/fd/2 is stderr) because cat needs to open a new descriptor to access the file given as argument.

5 points

In wayland the wm pretty much needs to be fused with the display server, so the chances for a minimalist wm are much smaller.. it would be pretty much impossible to make a wm in the 2000 lines of code limit that dwm targets.

I think that this is the main problem with tiling wm that are usually lightweight and minimalist, with simplicity in both code and interface.

You can also make a tiling wm as a plugin for the default wm of wayland (weston), but I get the impression weston is designed primarily for the big DEs (GNOME/KDE) and it will be molded for them, adding/changing features as they are required. Which means that it potentially would become a big piece of co-dependant code mess, similarly to how GNOME/KDE are.

3 points

Check out situations like what happened with utorrent, they were hidding a bitcoin miner in the closed code and making people mine bitcoins for the devs.

Closed source software is more prone to be full of adware and other shit.. or can be annoyingly requesting you to register your copy every once in a while (like winrar vs 7zip).

Also open source software is more portable. If some software is open it's likely it'll exist in Windows, Linux and Mac.

It's also very hard for software that is open source to die out, or to go in a direction that the majority of users don't want it to go. Since it's not limited to the will of any particular company or to its fate.

Not limited by a company doesn't mean you can't make use of a company, though. With free software you have real competition in the market of software development. Which means you, as a user, can pay for the services of any programmer to help you instead of a single monopolizing company that owns exclusive rights to the proprietary software. That is, if you wanted to pay for any extra service, you would have a bigger offer on who would be able to give you that service, since any programmer can look into the code and change it.

1 points

If the packaging process is reproduceable it would be useful for detecting these cases, where the compiler changes in such a level that it affects the program.

This would indicate that a new release of the package could perhaps be convenient to take advantage of whatever optimizations the new compiler does.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.