![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/h1ChnLuBHr.png)
To what extent is it Russian?
To what extent is it Russian?
What’s the definition of owning the home? I assume that even if 85% of the value is a bank loan, it still counts?
Are you thinking about daylight savings time? I’d agree there, but timezones absolutely make sense, and we’ve always used some version of it. “See you at noon” has a sort of built in timezone, as does sunrise and sunset. We (all human societies) relate hours to the day in a similar, albeit more regular way. If you did away with timezones, you’d replace a minor inconvenience with a monstrous one. Everyone uses what, GMT? Naah
I block one community a week to avoid depressing stuff from the status quo in the US. This one is next to go.
I do have some experience. What you are talking about are all internal hurdles, and what I was referring to as the hard problem to solve.
Incurring an expense in order to compensate for a service rendered, which is what the company would need to do in this case, is not difficult.
If you deal with amounts that need special consideration, there are people who do this for you for money. I believe that the correct approach is to show up, and sequentially slide individual banknotes from a densely packed stack in their general direction.
There are two common types of laser printers. Those that have special paper that react to heat, such as receipt printers, would fit the description.
The other laser printers… Hm, I don’t think your description is accurate either. It’s more that the laser electrically charges ink particles so that they jump on to a separate roller that gets rolled on to the paper.
I’m no expert though.
All of the other things you mention can be solved with money. In terms of the things that are easy and hard, this very much the former.
The real hard part here is whomever in charge of making the actual decision, to expense a pittance.
Failing that hard to not know what is, and isn’t knowable, is a good reason to not give a single f about what they think
In the EU, it sort of isn’t.
Takes a long time to write a proper response for all the GDPR stuff. The responses surprisingly don’t change all that much whether or not I do, so I might as well save me the trouble.
Might you by chance be American?
Looks like fake newts to me
Am I too European to understand this?
Out of all the things and ways “driving could be more sane”, you think the sale of your data to for-profit, private, third parties… will somehow be for the common good?
First thing you mention is such a fun and useful exercise. But as you point out, way overkill. Might even be dangerous to expose it. I got mine to 20kb on top of busybox.
There is something that tickles the right spots when a complete container image significantly smaller than the average js payload in “modern” websites.
It’s when I gave up on US politics. If only it was such that Hillary won… and not that DNC actively conspired to make that happen.
As messed up and anti-democratic so many things are in the US leading to “pick one of two things”. The whole system is fundamentally broken when the selection of those two things is corrupt.
But… when a person I wouldn’t trust to be mentally suited to pack a bag of groceries* or park a car*, is elected president, and gets to pick several supreme court justices… The world isn’t laughing at the US. They were laughing at the thought of Trump being in he primaries. They’re deeply concern that a complete fuckwit ended up in charge, and what that might lead to.
Democracy (i.e. the system of governance) requires informed voters. GOP (the political party) requires uninformed voters.
The only way you can vote Republican or think that the orange baboon can be entrusted with anything more important than throw feces, is one of two thing (or both): 1) you are an idiot / uninformed 2) you are morally corrupt
*: this isn’t a put down directed at people who do these things, but that it requires some mental function in order to not crash the car, or steal some groceries… and I would be equally comfortable with Trump in that regard, as with a 6 year old. Which is to say: not at all. Which puts in perspective what I think of him being president.
Zig is a pretty interesting alternative to C
Pretending Rust means no more exploitation is stupid.
I guess? Are you alluding to someone or something in particular?
You are so right. I’m dumbfounded by how apathetic Americans are when it comes to politics. The idea of making the change you want to see, seems like a foreign concept. This will bring in a lot of downvotes, but I’d be happy to find some kind of online community that excludes Americans. And, I don’t mean by nationality, or even geography. Just this… acceptance of political depravity. In the US, you get the choice between “bat shit insane”. And, if don’t like that, you can vote Republican instead, which is orders of magnitude worse, with layers of vile shit. I’m tired. Most problems are so simple to solve. But the arguments are always presented between two things that don’t matter.
Good luck. I’m gonna see if there is a lemmy community that actively blocks “American mentality”. Which is hilarious, because a lot of Americans express that lemmy is “extremely communist / anti capitalist” etc. Which is just what “common sense” looks like to Americans.
I don’t think the Unix philosophy of having lots of small tools that do one thing and do it well that you compose together has ever been achieved
Why do you think this might be the case? It’s not remotely accurate, which suggests that you must understand it very differently than I do. To some extent, I am curious.
I’ll give you a recent example. Which is just from yesterday. I had a use case where some program had a memory leak, which would eventually lead to the system running out. So, I “built a program that would monitor this and kill the process that used the most memory”. I don’t know how complicated this is in windows and PS, but it took about 2 minutes in Linux, and it very much leverages the Unix philosophy.
Looks something like this:
get_current_available_memory_mb() {
cat /proc/meminfo | grep MemAvailable | grep -oP '\d*' | xargs printf "%d / 1024 \n" | bc
}
Functionality based on putting together very small pieces that do their things well.
/proc/meminfo
is a file pipe that gives you access to information related to memory usage.cat
just outputs data from a file or a named pipe, here the lattergrep
lets you filter stuff. First time the relevant line. Then again to strip out the number with a regex.xargs
does one thing well, and lets you pass that on to another command as arguments, instead of stdin.printf
formats the output, here to express the numerical operation of dividing the value by 1024 as “[number] / 1024”bc
evaluates simple mathematical operations expressed in textResult: 1 file pipe and 5 simple utilities, and you get the relevant data.
The PID of the process using the most memory you can get with something like:
ps aux --sort=-%mem | head -n2 | tail -n1 | awk '{print $2}'
Same sort of breakdown: ps
gives you access to process information, and handles sorting by memory usage. head -n2
just keeps the first two lines, but the first one is a header so tail -n1
keeps the second line. awk
is used here to only output the second column value. And, you get the relevant data. Also, with simple tools that leverage the Unix philosophy.
You then check if the available memory is below some threshold, and send a kill signal to the process if it does. The Unix way of thinking also stops you from adding the infinite loop in the script. You simply stop at making it do that one thing. That is, 1. check remaining memory. 2. if lower than X, kill PID". Let’s call this “foo.sh”.
You get the “monitoring” aspect by just calling it with watch
. Something like watch -n 2 -- ./foo.sh
.
And there you go. Every two seconds, it checks available free memory, and saves my system from freezing up. It took me 10 times longer to write this reply, than to write the initial script.
If memory serves me correctly, PS also supports piping, so I would assume you could do similar things. Would be weird not to, given how powerful it is.
I could give you an endless list of examples. This isn’t so much a case of “has ever been achieved”, but… a fundamental concept, in use, all the time, by at least a dozen people. A dozen!
Also yesterday, or it might have been Saturday. To give you another example, I scratched different itch by setting up a script that monitors the clipboard for changes, if it changes, and now matches a YouTube URL, it opens that URL in FreeTube. So… with that running, I can copy a YouTube URL, from anywhere, and that program will immediately pop up and play the video. That too, took about 2 minutes to do, and was also built using simple tools that do one thing, and one thing well. If you wanted it to also keep a local copy of that video somewhere, it wouldn’t be more effort than the 10 seconds it takes to also send that URL to yt-dlp
. One tool, that does that one thing well. Want to also notify you when that download is complete? Just add a line with notify-send "Done with the thing"
. What about the first example, if you want to get a OS level notification that it killed the process? Just add a line to notify-send
, same tool that does that same one thing well.
None of this takes much effort once you get into it, because the basic tools are all the same, and they don’t change much. The whole workflow is also extremely iterative. In the first example, you just cat
meminfo
. Then you read it, and identify the relevant line, so you add grep
to filter out that line, and run the command again. It’s now a line containing the value, so you add another grep
to filter it out the number, and again, run it. “Checks out”. So, you pipe that to printf
, and you run it. If you fuck something up, no biggie, you just change it and run it again until that little step matches your expectations, and you move on.
No complaints from me. Maybe if I had to use it. The thing that strikes me as particularly noisy is what seems to be either case insensitive commands and flags, or case sensitive and using Pascal-Case for both commands and flags. Which would be my least preferred option.
Thanks for the info! Is a correct assumption that this is a “yes”, to my question?
I’ve used both PS4 and Ps5 controllers. You don’t need to do anything except to plug it in.
I’ve only had issues in one game (Minishoot Adventures), where the solution was to disable controller support layer that steam comes with.
I haven’t tried Bluetooth, as I don’t mind the cable.