#coding question
Explore tagged Tumblr posts
justpeachydesigns · 3 months ago
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
izicodes · 1 year ago
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.
15 notes · View notes
eossa · 8 months ago
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
moxie-starre · 5 months ago
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
29K notes · View notes
prokopetz · 16 days ago
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.
3K notes · View notes
kayleerowena · 3 months ago
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
1K notes · View notes
johnnyshrine · 4 months ago
Text
Tumblr media
★ 059 // “BORN TO SPIN” (Reference below the cut!)
Tumblr media
1K notes · View notes
mostlysignssomeportents · 8 months ago
Text
The US Copyright Office frees the McFlurry
Tumblr media
I'll be in TUCSON, AZ from November 8-10: I'm the GUEST OF HONOR at the TUSCON SCIENCE FICTION CONVENTION.
Tumblr media
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.
Tumblr media
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.
Tumblr media Tumblr media
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
Tumblr media
Image: Cryteria (modified) https://commons.wikimedia.org/wiki/File:HAL9000.svg
CC BY 3.0 https://creativecommons.org/licenses/by/3.0/deed.en
2K notes · View notes
disaster-fruit · 2 months ago
Text
Tumblr media Tumblr media Tumblr media
This felt like a personal challenge to me. I could not resist it.
@veliseraptor @thatswhatsushesaid it’s your fault
608 notes · View notes
dearmyloveleys · 3 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
there will always be one who loves quietly
⋆.˚ Weak Hero Class 1 (2022)
(more weak hero edits)
917 notes · View notes
timedyne · 1 year ago
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.
3K notes · View notes
hyunpic · 4 months ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
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”
711 notes · View notes
caycanteven · 3 months ago
Text
Tumblr media
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.
441 notes · View notes
cozymochi · 6 months ago
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.
Tumblr media Tumblr media
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.
652 notes · View notes
rags-to-richards · 3 months ago
Text
Tumblr media Tumblr media
so the creators of CSE had an AMA today and I'm trying not to cry-
They love each other!!!! <3
469 notes · View notes