#coding question
Explore tagged Tumblr posts
Text
when creating responsive designs for smaller screens, is it easier to just kind of make a whole other code instead of fiddling with what's already there?
2 notes
·
View notes
Note
how do you have time to do projects on the side? and congrats on your job! what do you do?
Hiya! 💗
FYI: I answered a similar question here: link 1 | link 2 | link 3 | link 4
I have time because I have nothing else to do after and before work! :D
The last few months I had time because I was not working as much besides the odd few coding I did for other people. I had no job and was just hanging around at home (still live in my family home)! So all I did was:
study programming
work on personal coding projects! :3
listen to music (and daydream)
watch anime shows (watched 16 shows last year)
go to the cinema (watched 51 movies last year)
drawing on my tablet
The new job I got is to work as a Frontend Software Engineer (semi-junior role though) at a music company! Very blessed to have gotten it!
I'm pretty simple: if I'm not coding (for work or for myself), I'm drawing. If I'm not doing that, I'm watching anime. If I'm not doing that, I'm watching a movie, If I'm not doing that, I'm listening to music. If I'm not doing that, I'm with family.
#my asks#codeblr#coding#progblr#programming#studying#studyblr#comp sci#tech#programmer#coding question
15 notes
·
View notes
Text
Change Post Type Indicator?
Hello, I have a question, maybe some of you have an answer / solution for it.
With the NPF posts, the default post type is always "text". In a theme, it kind of looks, well, silly if everything has a text indicator, even when the only content is an image or video.
I tried several things with CSS (tragically you cannot nest the :has() selector it seems) and consulted with ChatGPT due to my very limited knowledge of JavaScript. The result is something like in the JS Fiddle below.
While the code works in the JS Fiddle, it does not work in my theme, as can be seen in the example post below:
Thank you in advance for any suggestions, help, solutions to make this thing work! <3
Solved thanks to the amazing @lushwave !!
3 notes
·
View notes
Text
Can YALL recommend some coding tutorials that don’t make my brain stop working and also are just kinda all encompassing?
(This is only a half-joke, the joke being I have the worlds worst executive disfunction and also so much ambition)
(But people told me using CHATGPT to help code was still a bad use of it, so, helpmeeee)
0 notes
Text
historical drama/sitcom where two gay best friends (woman and man) get lavender married--and proceed to spend the Fancy European Honeymoon their parents paid for acting as each other's wingman
#and hijinks ensue. obviously.#BONUS POINTS if they're gender nonconforming/questioning/trans coded#back at home they'd get dressed up then switch outfits in the taxi on the way to the gay club#now that they're married/on vacation in a new country they just wear what they want#he already has a glamorous collection of silk dressing gowns but she's the one who drags him out to buy a closet full of evening gowns#he tries to throw his suits out to make closet space and she steals them for her own wardrobe#also i think they should be a fun mixture of supportive and Cattily Judgemental about each other's dating decisions#just for funsies#like when your bestie is making a mess of their love life but you're in no position to lecture them bc youre WORSE#no wait wait wait#FINAL SEASON they both realize they're trans and move abroad permanently--where they each assume the other's legal identity!!!#SERIES FINALE: a joyful double wedding--wherein they lovingly divorce each other#and (under their switched identities) legally marry their longterm partners
29K notes
·
View notes
Text
Analysing your OC whose default outfit includes seemingly randomly placed armour-like pieces to determine exactly what hobby or day job they could possibly have which would require armour on those parts of their body and no others.
#art#character design#ocs#the ones with armour on the shoulder of the leading hand but not the offhand are fun because it suggests duelling with short bladed weapons#which in turn raises the question of what their culture's code duello looks like
3K notes
·
View notes
Text
are you an artist who wants to get away from big site-builders like squarespace & have a place to put your work that isn't social media? i threw together a super basic portfolio code template you can use to make your own website!
it should be easy enough to customize if you have a basic understanding of what html and css are. features include:
responsive to fit on different screen sizes
fairly compact — less than 300 lines of css, and you never have to look at anything after line 30 if you don't want to
customizable fonts, colors, image sizes, and decorations right at the top of the css
image gallery with a lightbox function (clicking an image to make it bigger)
free to customize to your heart's content!
enjoy! if you end up using it, please let me know; i'd love to see what you do with it!
blog post ✷ live preview & code ✷ tip jar
#kaylee.html#portfolio code#portfolio theme#neocities#artist website#neocities theme#neocities template#website template#note: i probably won't be able to answer too many questions about this since i have a lot of comic pages to do right now#but if you have questions that aren't answered in the code leave a reply & i'll try to help!#(please don't send asks with code questions though - i don't want to clog up my blog haha)
1K notes
·
View notes
Text
★ 059 // “BORN TO SPIN” (Reference below the cut!)
#jjba#jojo's bizarre adventure#steel ball run#johnny joestar#gyro zeppeli#gyjo#offerings#tools used:#clip studio paint#Once again having a meme/ref folder is coming in clutch. This idea came to me yesterday!!#If you're able to translate the Japanese I give you a little clap.#I changed the numbers to be a specific reference to something shared between these two. Whoever knows what it is gets a BIG clap.#I had a very brief moment when starting this where I asked myself “should I make them animals like in the ref?”#Which to me was the dumbest question I've asked myself in a while. OF COURSE. MAKE THEM SILLY ANIMALS!!!#They're already so cat and dog coded anyway....
1K notes
·
View notes
Text
The US Copyright Office frees the McFlurry

I'll be in TUCSON, AZ from November 8-10: I'm the GUEST OF HONOR at the TUSCON SCIENCE FICTION CONVENTION.
I have spent a quarter century obsessed with the weirdest corner of the weirdest section of the worst internet law on the US statute books: Section 1201 of the Digital Millennium Copyright Act, the 1998 law that makes it a felony to help someone change how their own computer works so it serves them, rather than a distant corporation.
Under DMCA 1201, giving someone a tool to "bypass an access control for a copyrighted work" is a felony punishable by a 5-year prison sentence and a $500k fine – for a first offense. This law can refer to access controls for traditional copyrighted works, like movies. Under DMCA 1201, if you help someone with photosensitive epilepsy add a plug-in to the Netflix player in their browser that blocks strobing pictures that can trigger seizures, you're a felon:
https://lists.w3.org/Archives/Public/public-html-media/2017Jul/0005.html
But software is a copyrighted work, and everything from printer cartridges to car-engine parts have software in them. If the manufacturer puts an "access control" on that software, they can send their customers (and competitors) to prison for passing around tools to help them fix their cars or use third-party ink.
Now, even though the DMCA is a copyright law (that's what the "C" in DMCA stands for, after all); and even though blocking video strobes, using third party ink, and fixing your car are not copyright violations, the DMCA can still send you to prison, for a long-ass time for doing these things, provided the manufacturer designs their product so that using it the way that suits you best involves getting around an "access control."
As you might expect, this is quite a tempting proposition for any manufacturer hoping to enshittify their products, because they know you can't legally disenshittify them. These access controls have metastasized into every kind of device imaginable.
Garage-door openers:
https://pluralistic.net/2023/11/09/lead-me-not-into-temptation/#chamberlain
Refrigerators:
https://pluralistic.net/2020/06/12/digital-feudalism/#filtergate
Dishwashers:
https://pluralistic.net/2021/05/03/cassette-rewinder/#disher-bob
Treadmills:
https://pluralistic.net/2021/06/22/vapescreen/#jane-get-me-off-this-crazy-thing
Tractors:
https://pluralistic.net/2021/04/23/reputation-laundry/#deere-john
Cars:
https://pluralistic.net/2023/07/28/edison-not-tesla/#demon-haunted-world
Printers:
https://pluralistic.net/2022/08/07/inky-wretches/#epson-salty
And even printer paper:
https://pluralistic.net/2022/02/16/unauthorized-paper/#dymo-550
DMCA 1201 is the brainchild of Bruce Lehmann, Bill Clinton's Copyright Czar, who was repeatedly warned that cancerous proliferation this was the foreseeable, inevitable outcome of his pet policy. As a sop to his critics, Lehman added a largely ornamental safety valve to his law, ordering the US Copyright Office to invite submissions every three years petitioning for "use exemptions" to the blanket ban on circumventing access-controls.
I call this "ornamental" because if the Copyright Office thinks that, say, it should be legal for you to bypass an access control to use third-party ink in your printer, or a third-party app store in your phone, all they can do under DMCA 1201 is grant you the right to use a circumvention tool. But they can't give you the right to acquire that tool.
I know that sounds confusing, but that's only because it's very, very stupid. How stupid? Well, in 2001, the US Trade Representative arm-twisted the EU into adopting its own version of this law (Article 6 of the EUCD), and in 2003, Norway added the law to its lawbooks. On the eve of that addition, I traveled to Oslo to debate the minister involved:
https://pluralistic.net/2021/10/28/clintons-ghost/#felony-contempt-of-business-model
The minister praised his law, explaining that it gave blind people the right to bypass access controls on ebooks so that they could feed them to screen readers, Braille printers, and other assistive tools. OK, I said, but how do they get the software that jailbreaks their ebooks so they can make use of this exemption? Am I allowed to give them that tool?
No, the minister said, you're not allowed to do that, that would be a crime.
Is the Norwegian government allowed to give them that tool? No. How about a blind rights advocacy group? No, not them either. A university computer science department? Nope. A commercial vendor? Certainly not.
No, the minister explained, under his law, a blind person would be expected to personally reverse engineer a program like Adobe E-Reader, in hopes of discovering a defect that they could exploit by writing a program to extract the ebook text.
Oh, I said. But if a blind person did manage to do this, could they supply that tool to other blind people?
Well, no, the minister said. Each and every blind person must personally – without any help from anyone else – figure out how to reverse-engineer the ebook program, and then individually author their own alternative reader program that worked with the text of their ebooks.
That is what is meant by a use exemption without a tools exemption. It's useless. A sick joke, even.
The US Copyright Office has been valiantly holding exemptions proceedings every three years since the start of this century, and they've granted many sensible exemptions, including ones to benefit people with disabilities, or to let you jailbreak your phone, or let media professors extract video clips from DVDs, and so on. Tens of thousands of person-hours have been flushed into this pointless exercise, generating a long list of things you are now technically allowed to do, but only if you are a reverse-engineering specialist type of computer programmer who can manage the process from beginning to end in total isolation and secrecy.
But there is one kind of use exception the Copyright Office can grant that is potentially game-changing: an exemption for decoding diagnostic codes.
You see, DMCA 1201 has been a critical weapon for the corporate anti-repair movement. By scrambling error codes in cars, tractors, appliances, insulin pumps, phones and other devices, manufacturers can wage war on independent repair, depriving third-party technicians of the diagnostic information they need to figure out how to fix your stuff and keep it going.
This is bad enough in normal times, but during the acute phase of the covid pandemic, hospitals found themselves unable to maintain their ventilators because of access controls. Nearly all ventilators come from a single med-tech monopolist, Medtronic, which charges hospitals hundreds of dollars to dispatch their own repair technicians to fix its products. But when covid ended nearly all travel, Medtronic could no longer provide on-site calls. Thankfully, an anonymous hacker started building homemade (illegal) circumvention devices to let hospital technicians fix the ventilators themselves, improvising housings for them from old clock radios, guitar pedals and whatever else was to hand, then mailing them anonymously to hospitals:
https://pluralistic.net/2020/07/10/flintstone-delano-roosevelt/#medtronic-again
Once a manufacturer monopolizes repair in this way, they can force you to use their official service depots, charging you as much as they'd like; requiring you to use their official, expensive replacement parts; and dictating when your gadget is "too broken to fix," forcing you to buy a new one. That's bad enough when we're talking about refusing to fix a phone so you buy a new one – but imagine having a spinal injury and relying on a $100,000 exoskeleton to get from place to place and prevent muscle wasting, clots, and other immobility-related conditions, only to have the manufacturer decide that the gadget is too old to fix and refusing to give you the technical assistance to replace a watch battery so that you can get around again:
https://www.theverge.com/2024/9/26/24255074/former-jockey-michael-straight-exoskeleton-repair-battery
When the US Copyright Office grants a use exemption for extracting diagnostic codes from a busted device, they empower repair advocates to put that gadget up on a workbench and torture it into giving up those codes. The codes can then be integrated into an unofficial diagnostic tool, one that can make sense of the scrambled, obfuscated error codes that a device sends when it breaks – without having to unscramble them. In other words, only the company that makes the diagnostic tool has to bypass an access control, but the people who use that tool later do not violate DMCA 1201.
This is all relevant this month because the US Copyright Office just released the latest batch of 1201 exemptions, and among them is the right to circumvent access controls "allowing for repair of retail-level food preparation equipment":
https://publicknowledge.org/public-knowledge-ifixit-free-the-mcflurry-win-copyright-office-dmca-exemption-for-ice-cream-machines/
While this covers all kinds of food prep gear, the exemption request – filed by Public Knowledge and Ifixit – was inspired by the bizarre war over the tragically fragile McFlurry machine. These machines – which extrude soft-serve frozen desserts – are notoriously failure-prone, with 5-16% of them broken at any given time. Taylor, the giant kitchen tech company that makes the machines, charges franchisees a fortune to repair them, producing a steady stream of profits for the company.
This sleazy business prompted some ice-cream hackers to found a startup called Kytch, a high-powered automation and diagnostic tool that was hugely popular with McDonald's franchisees (the gadget was partially designed by the legendary hardware hacker Andrew "bunnie" Huang!).
In response, Taylor played dirty, making a less-capable clone of the Kytch, trying to buy Kytch out, and teaming up with McDonald's corporate to bombard franchisees with legal scare-stories about the dangers of using a Kytch to keep their soft-serve flowing, thanks to DMCA 1201:
https://pluralistic.net/2021/04/20/euthanize-rentier-enablers/#cold-war
Kytch isn't the only beneficiary of the new exemption: all kinds of industrial kitchen equipment is covered. In upholding the Right to Repair, the Copyright Office overruled objections of some of its closest historical allies, the Entertainment Software Association, Motion Picture Association, and Recording Industry Association of America, who all sided with Taylor and McDonald's and opposed the exemption:
https://arstechnica.com/tech-policy/2024/10/us-copyright-office-frees-the-mcflurry-allowing-repair-of-ice-cream-machines/
This is literally the only useful kind of DMCA 1201 exemption the Copyright Office can grant, and the fact that they granted it (along with a similar exemption for medical devices) is a welcome bright spot. But make no mistake, the fact that we finally found a narrow way in which DMCA 1201 can be made slightly less stupid does not redeem this outrageous law. It should still be repealed and condemned to the scrapheap of history.
Tor Books as just published two new, free LITTLE BROTHER stories: VIGILANT, about creepy surveillance in distance education; and SPILL, about oil pipelines and indigenous landback.

If you'd like an essay-formatted version of this post to read or share, here's a link to it on pluralistic.net, my surveillance-free, ad-free, tracker-free blog:
https://pluralistic.net/2024/10/28/mcbroken/#my-milkshake-brings-all-the-lawyers-to-the-yard
Image: Cryteria (modified) https://commons.wikimedia.org/wiki/File:HAL9000.svg
CC BY 3.0 https://creativecommons.org/licenses/by/3.0/deed.en
#pluralistic#dmca 1201#dmca#digital millennium copyright act#anticircumvention#triennial hearings#mcflurry#right to repair#r2r#mcbroken#automotive#mass question 1#us copyright office#copyright office#copyright#paracopyright#copyfight#kytch#diagnostic codes#public knowledge
2K notes
·
View notes
Text

This felt like a personal challenge to me. I could not resist it.
@veliseraptor @thatswhatsushesaid it’s your fault
#he’s so princess coded#I saw the ‘would he curse or laugh’ question and I present you a secret third option#xue yang#jin guangyao#su she#it’s funny you can easily tell which one of these I put more care into#xueyao#what’s the other ship name#suxue#xuesu#who’s to say#my art#mdzs art#mdzs#the untamed#cql
608 notes
·
View notes
Text
there will always be one who loves quietly
⋆.˚ Weak Hero Class 1 (2022)
(more weak hero edits)
#if not a romantic scene why is it shot and lit in such a romantic way#the framing is so romance drama coded too#listening to actual romance kdrama osts doesn’t help#ost in question: here I am again from crash landing#and yes I just completed whc1#*trashes myself*#weak hero class 1#kdrama#whc1#weak hero class one#yeon sieun#ahn suho#whcloveleys
917 notes
·
View notes
Text
yuzu and citra are dead because the yuzu/citra devs shot themselves in the foot. they continually POSTED footage and updates pertaining to games THAT WEREN'T OUT YET, which gave nintendo actual foothold to take them down for encouraging piracy. this is recorded directly in the legal documents for the case. they also (apparently, this is according to my friend who is more active in the emulation scene than i and i don't know of any recorded proof so take it with a grain of salt) straight up shared links to piracy sites in their discord which is an obvious no-no for any emulator???? and people straight up going on nintendo's OFFICIAL SOCIAL MEDIA POSTS saying "fuck you i'm just going to emulate [insert game here] using yuzu" which is. well. loose lips sink ships.
fuck nintendo and all that, but this is almost entirely on the backs of the devs for being stupid. to any aspiring emulator devs out there: don't post about anything relating to piracy ever, especially don't post about the games THAT YOU AREN'T SUPPOSED TO HAVE ACCESS TO YET, and wait a while before saying a brand new game is playable on your emulator.
also: they settled out of court. no judge saw the case. this isn't setting any sort of legal precedent. all of your other favorite emulators are fine for now as long as they don't make the same stupid mistakes yuzu was making.
#blurry speaks#also they had some. questionable. coding choices but that has nothing to do with the matter at hand#gaming#emulation#emulators#yuzu#citra#nintendo#nintendo switch#nintendo 3ds#nintendo emulation#<-- slew of tags because i want people to see this
3K notes
·
View notes
Text
daily gifs until hyune day: what can’t he do? — talented singer-songwriter, rapper, dancer, choreographer, producer, model. some other talents including: swimming, football, painting/drawing, pottery & photography: “the moment i realize, oh, i can love this too! my world expands. if i keep discovering new things that i enjoy, there’s no end to it. who knows? maybe three years from now, i’ll be completely obsessed with fishing. just imagine how happy i’d be watching the fish swimming in the water! thinking about what i might come to love in the future makes me look forward to tomorrow a little more”
#hyunjin#skz#stray kids#bystay#staydaily#skzco#hyunjinsource#hyunlixsource#i hope you don’t mind the long captions. they’ll show up in some of these sets.#i just really wanted to highlight his beautiful mindset on life and things#since i always think everyone can learn something from him#he’s really inspiring and to me the perfect role model#and sometimes i feel like people can get stuck on just how beautiful his face is but forget just how many beautiful layers he has#gifs#anyway. to answer to my question. what can’t he do? … apparently the silly games they play in skz code 😉#those are to keep him down to earth cause he’s always the looser in those
711 notes
·
View notes
Text
aight ya hungry freaks /aff /pos Here's some sketches of Maximus, Milo's brother. I'll be fleshing him out more but so far he's a lazy fuzzy boi.
#my art#undertale au#Drider!Paps Maximus#Drider!Swapfell#swapfell papyrus#swapfell au#tw arachnophobia#I am welcoming questions about him 🫶#Maximus Papyrus#He is tarantula coded.#Look at this lazy fuck.#sleep on him
441 notes
·
View notes
Note
Hiii I can pls get a totally not for research purposes Q of
Pet peeves: What are your twst OC's pet peeves and which one in the cast accidentally (or not) commit the "crimes"? How will your twst OC deal with that person?
for the snake man of everyone’s dreams?
Nyoka’s major peeve is being disturbed in any capacity.


I can see somebody like Grim bothering him, if only on accident. Be it crashing into him in the midst of a food shenanigan or anything that would cause his peace to be thrown off. Seems like an unfortunate encounter that would happen a lot. Even then, I don’t know if he would do much except be agitated and depending on the circumstance might scheme later as a form of real payback if he reaches a limit.
He’d eat Grim if he didn’t taste terrible. Maybe that Prefect should be doing their job.
Implying that he’s bitten him before lmfao
Optional further clarification yapping under cut.
Technically, within Savanaclaw Nyoka is disturbed almost constantly if he leaves his room. If he’s not needed for some activity or classes he’s usually in his room or somewhere else out of the way.
Majority of Savanaclaw students are pretty hotheaded, so that can be a problem for Nyoka who by nature isn’t confrontational. He’s a cobra beastman, that’s not really their game. He’s not passive per se, but would rather not get his hands dirty. He especially will not want to do so if outnumbered, and lots of students in that dorm do run in packs.
It kind of ends up lending into the perception within that dorm that he’s docile and easy to trample over (literally and figuratively). In a way, sure, but that’d be a surface level read.
He can be pretty vicious, but he mostly saves that for his mouth (in many ways). He has a formal way of speaking but anything he says can be harsh and biting. No pun intended.
So, if he is disturbed at least within the context of his dorm, most of time nothing will happen except now he’s agitated and on the defense.
If he can avoid confrontation, he will. If he can’t and it persists, then the aggressor will get their dues tenfold when they least expect it. Case by case of course. 🫡 Never confront a cobra’s space that’s asking for trouble. He’s in that dorm for a reason. He won’t forget about it.
#cozy ask#EVERYONES DREAMS? lets not get carried away kmkjmjj#having the question written out in the ask already helps a lot 😩#my art#nyoka wadjet#twstposting#idk how else to put it but grim is bunga coded for this
652 notes
·
View notes
Text


so the creators of CSE had an AMA today and I'm trying not to cry-
They love each other!!!! <3
#common side effects#adult swim#not my question so I blurred the name#agent copano#agent harrington#qpr coded
469 notes
·
View notes