I have more then once gave up on pressing up, hit ctrl + c to reset only to see the command I wanted briefly flash up as I am hitting ctrl + c
- 0 Posts
- 243 Comments
nous@programming.devto
United Kingdom@feddit.uk•Increase in vapes found on Britain’s coastline by beach clean volunteersEnglish
1·3 months agoDisposable/single use vapes have been illegal to sell in the UK since the first of June this year. This is the kind that the article is talking about litter everywhere as people just throw them away when done rather then refilling them. Vapes themselves are still legal to sell. It has only been a couple of months though so likely will still see people using them for a bit but I would hope to see their use start to tail off quite quickly now as you should no longer be able to buy them.
Yes magnets can affect HDDs. But it needs to be very strong and close to the HDD. I wouldn’t worry unless you are directly attaching it to you HDD and even then it probably won’t do much if anything at all.
Remember HDDs already have strong permanent magnets inside them. Probably way stronger then the one on the bottom of that support.
nous@programming.devto
Technology@lemmy.world•‘If I switch it off, my girlfriend might think I’m cheating’: inside the rise of couples location sharingEnglish
51·4 months agoBREAKING NEWS: Girl gets home safely after night out. More at 11.
nous@programming.devto
Programmer Humor@programming.dev•GitHub Actions radicalized meEnglish
1·4 months agoYes. They can. But they do not mix well with required checks. From githubs own documentation:
If a workflow is skipped due to path filtering, branch filtering or a commit message, then checks associated with that workflow will remain in a “Pending” state. A pull request that requires those checks to be successful will be blocked from merging.
If, however, a job within a workflow is skipped due to a conditional, it will report its status as “Success”. For more information, see Using conditions to control job execution.
So even with github actions you cannot mix a required check and path/branch or any filtering on a workflow as the jobs will hang forever and you will never be able to merge the branch in. You can do either or, but not both at once and for larger complex projects you tend to want to do both. But instead you need complex complex workflows or workflows that always start and instead do internal checks to detect if they need to actually run or not. And this is with github actions - it is worst for external CICD tooling.
nous@programming.devto
Games@lemmy.world•What's a video game that can run on any sort of device?(besides doom and pong)English
15·4 months agoDon’t think any game has the same support doom has. Doom has become a benchmark of sorts so gets ported to the strangest of places. Not normally places you would bother to port any game. It is done for the challenge of the port rather than any practical reason.
There are tonnes of games that could run in the same places as doom, many could run in far more places. But doom is complex enough to be an interesting challenge while being simple enough to run on very limited hardware. And has been open sourced while being a classic icon which makes it attractive to be a benchmark for getting to run in the weirdest of places.
nous@programming.devto
Programmer Humor@programming.dev•GitHub Actions radicalized meEnglish
2·4 months agoIf you have
folderAandfolderBeach with their own set of tests. You don’t needfolderAs tests to run with a change tofolderB. Most CI/CD systems can do this easily enough with two different reports. But you cannot mark them both as required as they both wont always run. Instead you need a complicated fan out pipelines in your CICD system so you can only have one report back to GH or you need to always spawn a job for both folders and have the ones that dont need to run return successful. Neither of these is very good and becomes very complex when you are working with large monorepos.It would be much better if the CICD system that knows which pipelines it needs to run for a given PR could tell GH about which tests are required for a particular PR and if you could configure GH to wait for that report from the CICD system. Or at the very least if the auto-merge was blocked for any failed checks and the manual merge button was only blocked on required checks.
nous@programming.devto
Programmer Humor@programming.dev•GitHub Actions radicalized meEnglish
12·4 months agoOne problem is GHs auto-merge when ready button. It will merge when there are still tests running unless they are required. It would be much better if the auto merges took into account all checks and not just required ones.
nous@programming.devto
Programmer Humor@programming.dev•GitHub Actions radicalized meEnglish
2·4 months agoYeah there are ways to run partial tests on modified code only. But they interact poorly with GH required checks. https://github.com/orgs/community/discussions/44490 goes into a lot more detail on similar problems people are having with GH actions - though our problem is with external CICD tools that report back to GH. Though it does look like they have updated the docs that are linked to in that discussion so maybe something has recently changed with GH actions - but I bet it still exists for external tooling.
nous@programming.devto
Programmer Humor@programming.dev•GitHub Actions radicalized meEnglish
8·4 months agoWe have a few non-required checks here and there - mostly as you need an admin to list a check as required and that can be annoying to do. And we still get code merged in occasionally that fails those checks. Hell, I have merged in code that fails the checks. Sometimes checks take a while to run, and there is this nice merge when ready button in GH. But it will gladly merge your code in once all the required checks have passed ignoring any non-required checks.
And it is such a useful button to have, especially in a large codebase with lots of developers - just merge in the code when it is ready and avoid forgetting about things for a few hours and possibly having to rebase and run all the checks again because of some minor merge conflict…
But GH required checks are just broken for large code bases as well. We don’t always want to run every check on every code change. We don’t need to run all unit tests when only a documentation has changed. But required checks are all or nothing. They need to return something or else you cannot merge at all (though this might apply to external checks more then gh actions maybe). I really wish there was a require all checks to pass and a at least one check must run. Or if external checks could tell GH when they are required or not. Either way there is a lot of room for improvement on the GH PR checks.
nous@programming.devto
Technology@beehaw.org•3D Printing Patterns Might Make Ghost Guns More Traceable Than We Thought | 404 MediaEnglish
7·4 months agoAlso worth pointing out:
There are other issues too. All of Law and Blair’s tests were done with one kind of 3D printer—a Prusa MK4S. There’s hundreds of different devices on the market that all behave differently. Law also pointed out that brass nozzles warp over time themselves and may produce different results after hundreds of prints and that different nozzles made from different materials may work very differently. Law would also want an examiner rate study—a formal scientific inquiry into false positives and examiner bias.
Yeah I don’t like this either. So many chances for a mistake, be in the wrong dir, file misspelled, something not cloned correctly or anything else not setup as you think it might be and suddenly the package manage does something you don’t expect (like try to install globally rather then in a project or vice versa).
For a lot of things I would rather have something web based than app based. I hate having to download some random app from some random company just to interact with something one time. Why do all restaurants, car parking places etc require apps rather than just having a simple site. Not everything should be native first IMO.
nous@programming.devto
Games@lemmy.world•The signatures are still coming and it's already making an impactEnglish
6·4 months agoonce a developer enacts an end of life plan, their legal culpability is removed What legal culpability? If you are not hosting anything then you wont be liable for anything. It is not like if you create a painting and someone defaces it with something that you become liable for that… That would be insane.
nous@programming.devto
Programming@programming.dev•Learn Python for free and get a certificate?English
241·4 months agoRandom programming certificates are generally worthless. The course to get them might teach you a lot and be worth while, but the certificate at the end is worthless. If it is free then it does not matter too much either way, might be a good way to test yourself. But I would not rely on it to get you a job at all. For that you need other ways to prove you can do the job - typically with the ability to talk about stuff and having written some real world like application. Which a course might help you do to.
nous@programming.devto
Steam Deck@sopuli.xyz•Does the charge limit actually work?English
21·4 months agoThe indicator being stuck is a recently fixed issue:
Fixed a case where the battery level indicator could become stuck
https://store.steampowered.com/news/app/1675200?emclan=103582791470414830&emgid=529850584204838038
nous@programming.devto
Programmer Humor@programming.dev•Why shouldn't you use YAML to store eye tracking data? /sEnglish
3·4 months agoYAML is not a good format for this. But any line based or steamable format would be good enough for log data like this. Really easy to parse with any language or even directly with shell scripts. No need to even know SQL, any text processing would work fine.
nous@programming.devto
Programmer Humor@programming.dev•Why shouldn't you use YAML to store eye tracking data? /sEnglish
3·4 months agoCSV would be fine. The big problem with the data as presented is it is a YAML list, so needs the whole file to be read into memory and decoded before you get and values out of it. Any line based encoding would be vastly better and allow line based processing to be done. CSV, json objects encoded into a single line, some other streaming binary format. Does not make much difference overall as long as it is line based or at least streamable.
nous@programming.devto
Programmer Humor@programming.dev•Why shouldn't you use YAML to store eye tracking data? /sEnglish
2·4 months agoNever said it had to be a text file. There are many binary serialization formats that could be used. But is a lot of situations the overhead you save is not worth the debugging effort of working with binary data. For something like this that is likely not going to be more then a GB or so, probably much less it really does not matter that much if you use binary or text formats. This is an export format that will likely just have one batch processing layer on. This type of thing is generally easiest for more people to work with in a plain text format. If you really need efficient querying of the data then it is trivial and quick to load it into a DB of your choice rather then being stuck with sqlite.
While true and some will do it for that reason, I bet most do it simply because the friction to forking is so low.
Some might have an intention to work on it but then don’t or might start looking at it in detail then give up or get to busy or lose interest.
Others might just click it to save it for later.
And don’t forget all the people that click it by accident.
It’s not like it is a big investment to click the button.