¯\_(ツ)_/¯ I just kinda got used to it since for most of my life VLC held the position of "Way better than windows media player" and I didn't really consider alternatives when switching to Linux since VLC just works everywhere
Ships with KDE isn't particularly high on my list. So far, mpv has given me the least amount of problems with codecs and the best performance, even on semi-ancient hardware.
It only sort-of has a GUI, but it has the essentials and you can write your own plugins with Lua.
I'm actually not quite sure how that works Intuitively, streaming video would be *easier* since normally you have to render all the stuff on your desktop and then show it, and with a video file, everything's already been rendered for you
There are some factories, the number n of which are given by the user. Each factory has been indexed from 0 to n-1. The factories are situated on a circle in order. We have to distribute goods starting from a factory, and have to go at each factory in order along the circle i.e. if we start from ...
Use any programming language to generate two random digits between 1 and 9 (including both). Then your program should display:
- in the first line: the first random digit,
- in the second line: the second random digit,
- in the third line: a number whose tens and units digits are the first and se...
king-of-the-hill javascript
Game of Game of Life
Conway's Game of Life is a 0-player game. But that's okay! We can make it a multi-player game.
This game is played on the smallest square grid that will accommodate a 6x6 square for each player (12x12 for 2-4 players, 18x18 for 5-9 players, et...
Cyclically self-describing lists
code-golf array-manipulation counting
A list \$L\$ of positive integers is cyclically self-describing, if the following conditions hold.
\$L\$ is nonempty.
The first and last elements of \$L\$ are different.
If you split \$L\$ into runs of equal elements, th...
Given an array of integers a which contains n integers, and a single integer x; remove the fewest amount of elements from a to make the sum of a equal to x. If no combinations of a can form x, return a falsy value.
Examples (Truthy):
f([1,2,3,4,5,6,7,8,9,10], 10) = [1,2,3,4]
f([2,2,2,2,2,2,...
CMC: Implement Vim's J command. The J command takes the current line and the next line, removes all leading spaces from the second line, and joins them together with a single space.
Input will be 2 strings, corresponding to the two lines, and output will be one string, corresponding to the first line after using J
For example: "Hello", "world" -> "Hello world". And "Hello", " world" --> "Hello world"
User ranking in language
Challenge is:
You need receive the input of "language". By "language" I mean the at left of the comma in the Title of an answer on the present code-golf site.
The source for the data are the answers posted here on code-golf site.
You must present results in order. De...
œl = remove leading y from x; œl⁶ = pair of œl (trim leading) and ⁶ (space); , = pair x and y; ,@ = reverse arguments quick applied to , (pair) (implicit arguments: right: right argument); K = join with spaces
Ah yeah. Honestly, they should put operators and motions (and text objects) in completely different categories. Learning dj or dw isn't nearly as useful as learning that d is an operator, and you can d<motion> whatever you like
@EriktheOutgolfer It is under visual mode, but like I said I'm not a fan of the way they laid that all out
Especially once you realize that visual mode is really no different than normal mode, it just lets you make more fine tuned movements for an operator to work on before specifying what operator you're using
There are some house situated on a circle. Each house is indexed from 0 to n-1 in order, n being the number of houses. Each house has two properties, first the amount received after delivering goods at the house and second, the cost required to travel to the house with next index. We have to star...
I got to meet John Conway a while back and it was a super nasty experience.
He does everything he can to convince you that A) You are infinitely dumber than he is and B) you will never in your lifetime achive anything like he has
Anonymous
Yeah, he seems like the kind of dude who would be offended by QFT because we "tarnished his legacy/vision" or some bs
He said "This math is too complicated for you to understand it in your lifetime, so we're skipping this step" during a talk he gave to a bunch of middle-schoolers.
Here is a theoretical question - one that doesn't afford an easy answer in any case, not even the trivial one.
In Conway's Game of Life, there exist constructs such as the metapixel which allow the Game of Life to simulate any other Game-of-Life rule system as well. In addition, it is known that...