It’s a nonsensical statement to us programmers too.
obosob
- 0 Posts
- 22 Comments
obosob@feddit.ukto Programmer Humor@programming.dev•call the doctor, the CS doctorEnglish3·2 years agoMost of the time it’s not exactly useful and some of the positions are awkward (e.g. 8, 9, 10), counting to 31 on one hand is maybe useful.
More useful IMO is counting in base 6 and treating each hand as a single digit. i.e counting to 35 on 2 hands without awkward fingerings. Better than 10, less awkward than binary.
obosob@feddit.ukto Programming@programming.dev•This comic was published less than ten years ago, and it's wild how obsolete it isEnglish431·2 years agoEven with AI models that can identify that there are birds in the picture. Having it decide with accuracy that the picture is of a bird is still a hard problem.
Ricardo was testing in production
I didn’t notice that 7,8,9 had no effect on the count. My bad.
Chars are just numbers, but yeah, an enum would work fine too, sure. The only advantage with using a char for it is that there’s no conversion needed for outputting them into strings so it’s a little easier. Less code, very readable, etc. Though yeah, thinking about it JQKA wouldn’t be numerically in the right order which could cause issues if the program did more than just implement HiLo
Yeah, just use a char for card and test
if(card < '7') count++; else count--;
Or something, don’t mix types.
obosob@feddit.ukto Lemmy.World Announcements@lemmy.world•Removal of piracy communitiesEnglish17·2 years agoAny specific infringement material (by which I mean media) would only be on the user’s home server. Links to content aren’t what is actionable for a DMCA notice as far as I’m aware. And the DMCA does not require platforms to actively monitor or remove potentially infringing content, only to follow the takedown procedure when sent an appropriate notification. If they follow that then they are protected from liability. That’s US law but IIRC the implementations in most of the rest of the world are similar if not the same. And here’s the rub: even without those communities, LW will still need to have a DMCA agent and take action against content when notified because people can and will upload infringing media here on other communities.
They’re not exposing themselves to additional risk by having the piracy communities unblocked. People can and will discuss piracy, in abstract terms at the very least, all over the place. And discussion of copyright infringement is not copyright infringement anyway. Any liability and risk they do hold they will still have to worry about now regardless.
You just use three backticks to start and end a code block, it’s just markdown.
e.g.
version: '3.4' services: vaultwarden: image: vaultwarden/server:latest restart: always # environment: # SIGNUPS_ALLOWED: 'false' # ADMIN_TOKEN: 'your authentication token' ports: - '127.0.0.1:8200:80' volumes: - vaultwarden-data:/data/ ...
obosob@feddit.ukto Android@lemdro.id•Automatically turn off cellular when on wifi?English8·2 years agoI’ve not use it but this seems to support what you want. It’s a bit jank looking but seems to have the desired features.
obosob@feddit.ukto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Hello fellow travelors in the high seas151·2 years agoDoes your lemmy instance have a character limit?
obosob@feddit.ukto Technology@beehaw.org•Elon May Have a Huge Issue Because Microsoft Owns the “X” TrademarkEnglish8·2 years agoI think a lot of the issue is the widespread use of the term Intellectual Property which, arguably deliberately, conflates a few completely distinct legal concepts under one umbrella.
obosob@feddit.ukto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Why torrenting haven't fully adopted I2P?English1·2 years agoIIRC it doesn’t need a display, it’s a Web-based UI that you can use from another computer on the network if it doesn’t have a display, VNC would be overkill. Maybe they changed that.
obosob@feddit.ukto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Why torrenting haven't fully adopted I2P?English18·2 years agoThere is a more performant C++ implementation but it’s been a long while since I’ve used either it or the java implementation. Worth checking out.
Yeah, it’s only communities that people on your instance search for/subscribe to afaik. So if you’re the only one on your instance then you have control over that.
Further to that it’s only the post objects (and comments, etc.) that is replicated all pics and videos are just URLs. even when you upload a picture with the post, that’s just uploaded to the instance and the link to it is the link of the post, even on other instances the images are fetched from the original source from the client side. I do believe each instance does local thumbnaling.
obosob@feddit.ukto Android (locked, see pinned thread)@lemmy.world•lemmy apps you should try and experiment withEnglish2·2 years agoYeah, I like it for the most part but really am not a fan of the swipe gestures.
It’s not really a bug, per say. 429 is the HTTP statuscode for “Too Many Requests”, i.e. The API is not serving the request due to it hitting the rate limit (for the free tier in this instance). RIF is accurately displaying the status it’s getting from the reddit API.
obosob@feddit.ukto Lemmy.World Announcements@lemmy.world•Desynchronized community?English1·2 years agoYeah, this is it. I had this happen to the community I moderate today. The fix can only be applied by admins.
obosob@feddit.ukto Lemmy.World Announcements@lemmy.world•See where Reddit communities migrated toEnglish0·2 years agoyou can simply mutate the url from
https://other.instance/c/community
tohttps://your.instance/c/community@other.instace
but yeah, it’s a pain. It’s a good opportunity for a simple browser extension or script that does some URL rewriting.I found that on mobile, Jerboa has some instance url associations for major instances and that means that links can open in that, where you’re logged in to your account on your home instance, and it handles it. but it’s been hit-and-miss for me as to whether it’ll open in the app or continue in mobile browser.
Is this not loss?