285 karma · joined July 5, 2019
That's not a decision for Github to make. Let the user decide. Perhaps by even presenting them with a dialog on first run that informs them then asks them ti decide.
Admittedly a very low percentage.
I will say that I definitely spend more than 90% of my time playing games on games that I've bought more than 10 years ago.
To me, games are a way to experience a different life in a different universe that is full with other friends and acquaintances. They are fun worlds that I can visit whenever I want.
That's why stadia (and games that require online connections) are things I can never see myself accepting.
Apple should look at linux's manpage on the `time` syscall for inspiration.
I suggest working on your comprehension skills.
As someone else pointed out, not using private APIs would put some applications at a disadvantage against first party software: https://news.ycombinator.com/item?id=21437673
Firefox is often criticized for it's power consumption on the mac because it is not on par with safari. Chrome/electron uses private APIs to reduce power consumption to be more competitive with Apples browser. Apple bans the use of private APIs.
Monopoly laws need to be updated.
That ship sailed when the US government classified an attack on a military ship in a conflict zone as terrorism. I mean WTF!
These days I read terrorism as "things X government doesn't like". You'll be surprised of how much sense news makes.
* FSF's opinion: https://www.fsf.org/news/2010-05-app-store-compliance
* General conscious: https://apple.stackexchange.com/questions/6109/is-it-possibl...
wasm is great. I just don't think Qt's wasm port is in a state where companies can just compile their desktop application, throw the resulting module on a web server, and then expect a decent result.
Ignoring the fact that most desktop applications aren't designed to be ran on a mobile-sized screen, Qt's accessibility support is non-existent (at least that was the case when I last evaluated their tech preview).
So to rephrase: Naively porting desktop applications and presenting them to customers as a first-class product would be lunacy.
I agree with others in that using wasm to build a web app would be lunacy.
The LGPLv3 mandates that users be allowed to modify the parts that are licensed by this license. The TOS of the Apple App Store explicitly disallows its users from modifying software they get from it, thereby running afoul of the LGPL.
So this issue, as I understand it, is that neither the software vendor nor Apple have a license to distribute Qt on a platform that places additional restrictions on what the user may do with LGPL software. I think this is the reason why Apple removed VLC and other GPL software from their stores.
Please correct me if I got this wrong.
Apps should be signed. App notarization should never be a requirement.
1. https://news.ycombinator.com/item?id=19182956
2. https://tech.slashdot.org/story/13/12/14/1618239/github-take...
To me, not knowing when or why my software might be dropped is a fatal flaw for a service that exists to serve source code.
When Microsoft is more honest and upfront about user privacy then you are, then you have a problem.
Also, I wouldn't be too quick to dismiss their ability to suffocate the us if they no longer have an economy to lose. They're certainly in a military and geographic position to enforce a trade blockade, one way or another. If china really wanted it, I think they'd be more than able to severely limit trade between asia and the us to the point of destroying large parts of the us economy.
Since China will likely not back down, I think an economic MAD will inevitably occur if the us insists on burning the only stick it can still use.
Successful military intervention is unlikely since china is a nuclear superpower with a strong army and an even stronger industrial backbone. They're not some defenseless third-world shithole.
I can't imagine it being long now, but china will eventually get to the tipping point were things start to go downhill for them. I bet china won't let it get to that point without retaliating for it's destroyed economy by thoroughly destroying the us economy while it still can.
I think we'll soon be seeing humanity's first economical MAD event.
While completion isn't be solvable in general, surly we can agree that its usefulness (when solvable) merits making it more readily available to users.
Having the shell implementation automatically deduce suggestions from the command itself (when available/possible) would go a long way towards increasing availability in my opinion.
We already have this in the form of browser drm modules. It's not hard to imagine similar modules being implemented for network stacks. ISPs and internet exchanges can be required by law to drop any unencrypted traffic.
Lock down is an inevitability for any technology. General computing, Machine learning, Encryption, and other technology will inevitably get locked behind a sea of regulation. The only way to combat this is to keep governments playing catch up by innovating faster than they can legislate (e.g. mesh networks as a response to telecom overregulation).
I agree. All this infrastructure and support doesn't make sense if it is only used on executables that have some easily modifiable fs attribute set.
I fully expect apple to try to expand this on all executables at some point in the future. It'll be interesting to see if they will be able to pull it off.
Sorry, I still don't understand why that's relavent. It's probably my fault for not being clear enough. Please be patient with me as I try to further elaborate:
If the command is in charge of both generating completions and also for parsing arguments, wouldn't it be aware of all inner-dependencies between flags? Wouldn't such awareness make it possible to generate candidates based on previous flags?
I'm not familiar with ffmpeg, but let's assume that there was another similar program called ggmpeg. Let's assume that it accepts the flag '--input-format' and then either the flag '--repeat-video-range' or '--repeat-image-frames', depending on whether the format is an video or an image.
That is, only the following flag sequences are valid:
ggmpeg --input-format=video/webm --repeat-video-range=.. ...
or ggmpeg --input-format=image/png --repeat-image-frames=.. ...
Let's also assume that ggmpeg signals to the shell that it is responsible for generating its own completions by passing the flag --_completion to it.Now, if the user types the following command
ggmpeg --input-format=image/png --repea[CURSOR]
and then presses tab, thereby invoking the shell's auto completion routine, which in turn ultimately executes "ggmpeg" "--_completion" "--input-format=image/png" "--repea"
wouldn't ggmpeg have all the necessary information to only suggest '--repeat-image-frames' and not '--repeat-video-range'?One point I'm not clear on is why you think such a scheme wouldn't be feasible for a large number of commands. Completion wouldn't be invoked until the fist argument (the command's name) is complete just like how bash doesn't scan the system's completion directory until it knows what command is being invoked.
And as for completion for the command's arguments, the command is only ran once to generate the list of completion candidates.
Note that there are projects that already do exactly this like [1] .
You weren't kidding at all.
After spending more time than I'd care to admit searching for the library, I couldn't find traces of it anywhere on google, ddg, or bing. I relented and digged whatever information I could find in my history.
Revisiting these projects, it's painfully obvious that I have jumbled a few projects together. Sincere apologies for the unintended goose chase.
This project [1] is the one that introduced the `--_completion` flag. It registers itself as a default completion function, but blindly and dangerously tries to run any command it gets with this flag. (This project is completely de-indexed from search engines and I'm not sure why).
Like [1], project [2] registers itself as a default completion function, but checks the first 1024 bytes for the magic string "PYTHON_ARGCOMPLETE_OK". It seems to be relying on argparse for completion.
I couldn't manage to find the project that was scanning elf sections. I'm not entirely sure if it was relying on elf sections specifically or if the fact that it was scanning elf sections was only an implementation detail.
[1]: https://github.com/dbarnett/python-selfcompletion [2]: https://github.com/kislyuk/argcomplete
I remember adding a [citation needed] tag to an inaccurate claim, and then discovering that my change has been reverted. The reason the moderator gave was that [citation needed] didn't look good on the page. How do you argue with people like that. I'm not going to spend hours reading on wikipedia's policies just make it better.
SE is bad, but at least I get something out of it. That and the fact that SE's meta game is easier to play than wikipedia's. You just need to make sure you word your question in a way that it can only be answered definitively (no opinion), and preempt duplicate-heads with a list of similar questions and why they don't answer your question.
I've yet to have a question of mine closed as a duplicate, though mods have treated me passive-aggressively for taking away their sticks :^)