#shit javascript and python code
Explore tagged Tumblr posts
fratboycipher · 2 years ago
Text
“you work in tech, arent you worried about AI stealing your job?” if AI demolishes webdev, i will give it a medal. anyway im a computer engineer and since the AI does not have actual hands to plug physical wires into physical holes i am not particularly concerned. viva la engineering get wrecked CS
5 notes · View notes
anheliotrope · 8 months ago
Text
Rambling About C# Being Alright
I think C# is an alright language. This is one of the highest distinctions I can give to a language.
Warning: This post is verbose and rambly and probably only good at telling you why someone might like C# and not much else.
~~~
There's something I hate about every other language. Worst, there's things I hate about other languages that I know will never get better. Even worse, some of those things ALSO feel like unforced errors.
With C# there's a few things I dislike or that are missing. C#'s feature set does not obviously excel at anything, but it avoids making any huge misstep in things I care about. Nothing in C# makes me feel like the language designer has personally harmed me.
C# is a very tolerable language.
C# is multi-paradigm.
C# is the Full Middle Malcomist language.
C# will try to not hurt you.
A good way to describe C# is "what if Java sucked less". This, of course, already sounds unappealing to many, but that's alright. I'm not trying to gas it up too much here.
C# has sins, but let's try to put them into some context here and perhaps the reason why I'm posting will become more obvious:
C# didn't try to avoid generics and then implement them in a way that is very limiting (cough Go).
C# doesn't hamstring your ability to have statement lambdas because the language designer dislikes them and also because the language designer decided to have semantic whitespace making statement lambdas harder to deal with (cough Python).
C# doesn't require you to explicitly wrap value types into reference types so you can put value types into collections (cough Java).
C# doesn't ruin your ability to interact with memory efficiently because it forbids you from creating custom value types, ergo everything goes to the heap (cough cough Java, Minecraft).
C# doesn't have insane implicit type coercions that have become the subject of language design comedy (cough JavaScript).
C# doesn't keep privacy accessors as a suggestion and has the developers pinkie swear about it instead of actually enforcing it (cough cough Python).
Plainly put, a lot of the time I find C# to be alright by process of elimination. I'm not trying to shit on your favorite language. Everyone has different things they find tolerable. I have the Buddha nature so I wish for all things to find their tolerable language.
I do also think that C# is notable for being a mainstream language (aka not Haskell) that has a smaller amount of egregious mistakes, quirks and Faustian bargains.
The Typerrrrr
C# is statically typed, but the typing is largely effortless to navigate unlike something like Rust, and the GC gives a greater degree of safety than something like C++.
Of course, the typing being easy to work it also makes it less safe than Rust. But this is an appropriate trade-off for certain kinds of applications, especially considering that C# is memory safe by virtue of running on a VM. Don't come at me, I'm a Rust respecter!!
You know how some people talk about Python being amazing for prototyping? That's how I feel about C#. No matter how much time I would dedicate to Python, C# would still be a more productive language for me. The type system would genuinely make me faster for the vast majority of cases. Of course Python has gradual typing now, so any comparison gets more difficult when you consider that. But what I'm trying to say is that I never understood the idea that doing away entirely with static typing is good for fast iteration.
Also yes, C# can be used as a repl. Leave me alone with your repls. Also, while the debugger is active you can also evaluate arbitrary code within the current scope.
I think that going full dynamic typing is a mistake in almost every situation. The fact that C# doesn't do that already puts it above other languages for me. This stance on typing is controversial, but it's my opinion that is really shouldn't be. And the wind has constantly been blowing towards adding gradual typing to dynamic languages.
The modest typing capabilities C# coupled with OOP and inheritance lets you create pretty awful OOP slop. But that's whatever. At work we use inheritance in very few places where it results in neat code reuse, and then it's just mostly interfaces getting implemented.
C#'s typing and generic system is powerful enough to offer you a plethora of super-ergonomic collection transformation methods via the LINQ library. There's a lot of functional-style programming you can do with that. You know, map, filter, reduce, that stuff?
Even if you make a completely new collection type, if it implements IEnumerable<T> it will benefit from LINQ automatically. Every language these days has something like this, but it's so ridiculously easy to use in C#. Coupled with how C# lets you (1) easily define immutable data types, (2) explicitly control access to struct or class members, (3) do pattern matching, you can end up with code that flows really well.
A Friendly Kitchen Sink
Some people have described C#'s feature set as bloated. It is getting some syntactic diversity which makes it a bit harder to read someone else's code. But it doesn't make C# harder to learn, since it takes roughly the same amount of effort to get to a point where you can be effective in it.
Most of the more specific features can be effortlessly ignored. The ones that can't be effortlessly ignored tend to bring something genuinely useful to the language -- such as tuples and destructuring. Tuples have their own syntax, the syntax is pretty intuitive, but the first time you run into it, you will have to do a bit of learning.
C# has an immense amount of small features meant to make the language more ergonomic. They're too numerous to mention and they just keep getting added.
I'd like to draw attention to some features not because they're the most important but rather because it feels like they communicate the "personality" of C#. Not sure what level of detail was appropriate, so feel free to skim.
Stricter Null Handling. If you think not having to explicitly deal with null is the billion dollar mistake, then C# tries to fix a bit of the problem by allowing you to enable a strict context where you have to explicitly tell it that something can be null, otherwise it will assume that the possibility of a reference type being null is an error. It's a bit more complicated than that, but it definitely helps with safety around nullability.
Default Interface Implementation. A problem in C# which drives usage of inheritance is that with just interfaces there is no way to reuse code outside of passing function pointers. A lot of people don't get this and think that inheritance is just used because other people are stupid or something. If you have a couple of methods that would be implemented exactly the same for classes 1 through 99, but somewhat differently for classes 100 through 110, then without inheritance you're fucked. A much better way would be Rust's trait system, but for that to work you need really powerful generics, so it's too different of a path for C# to trod it. Instead what C# did was make it so that you can write an implementation for methods declared in an interface, as long as that implementation only uses members defined in the interface (this makes sense, why would it have access to anything else?). So now you can have a default implementation for the 1 through 99 case and save some of your sanity. Of course, it's not a panacea, if the implementation of the method requires access to the internal state of the 1 through 99 case, default interface implementation won't save you. But it can still make it easier via some techniques I won't get into. The important part is that default interface implementation allows code reuse and reduces reasons to use inheritance.
Performance Optimization. C# has a plethora of features regarding that. Most of which will never be encountered by the average programmer. Examples: (1) stackalloc - forcibly allocate reference types to the stack if you know they won't outlive the current scope. (2) Specialized APIs for avoiding memory allocations in happy paths. (3) Lazy initialization APIs. (4) APIs for dealing with memory more directly that allow high performance when interoping with C/C++ while still keeping a degree of safety.
Fine Control Over Async Runtime. C# lets you write your own... async builder and scheduler? It's a bit esoteric and hard to describe. But basically all the functionality of async/await that does magic under the hood? You can override that magic to do some very specific things that you'll rarely need. Unity3D takes advantage of this in order to allow async/await to work on WASM even though it is a single-threaded environment. It implements a cooperative scheduler so the program doesn't immediately freeze the moment you do await in a single-threaded environment. Most people don't know this capability exists and it doesn't affect them.
Tremendous Amount Of Synchronization Primitives and API. This ones does actually make multithreaded code harder to deal with, but basically C# erred a lot in favor of having many different ways to do multithreading because they wanted to suit different usecases. Most people just deal with idiomatic async/await code, but a very small minority of C# coders deal with locks, atomics, semaphores, mutex, monitors, interlocked, spin waiting etc. They knew they couldn't make this shit safe, so they tried to at least let you have ready-made options for your specific use case, even if it causes some balkanization.
Shortly Begging For Tagged Unions
What I miss from C# is more powerful generic bounds/constraints and tagged unions (or sum types or discriminated unions or type unions or any of the other 5 names this concept has).
The generic constraints you can use in C# are anemic and combined with the lack of tagged unions this is rather painful at times.
I remember seeing Microsoft devs saying they don't see enough of a usecase for tagged unions. I've at times wanted to strangle certain people. These two facts are related to one another.
My stance is that if you think your language doesn't need or benefit from tagged unions, either your language is very weird, or, more likely you're out of your goddamn mind. You are making me do really stupid things every time I need to represent a structure that can EITHER have a value of type A or a value of type B.
But I think C# will eventually get tagged unions. There's a proposal for it here. I would be overjoyed if it got implemented. It seems like it's been getting traction.
Also there was an entire section on unchecked exceptions that I removed because it wasn't interesting enough. Yes, C# could probably have checked exceptions and it didn't and it's a mistake. But ultimately it doesn't seem to have caused any make-or-break in a comparison with Java, which has them. They'd all be better off with returning an Error<T>. Short story is that the consequences of unchecked exceptions have been highly tolerable in practice.
Ecosystem State & FOSSness
C# is better than ever and the tooling ecosystem is better than ever. This is true of almost every language, but I think C# receives a rather high amount of improvements per version. Additionally the FOSS story is at its peak.
Roslyn, the bedrock of the toolchain, the compiler and analysis provider, is under MIT license. The fact that it does analysis as well is important, because this means you can use the wealth of Roslyn analyzers to do linting.
If your FOSS tooling lets you compile but you don't get any checking as you type, then your development experience is wildly substandard.
A lot of stupid crap with cross-platform compilation that used to be confusing or difficult is now rather easy to deal with. It's basically as easy as (1) use NET Core, (2) tell dotnet to build for Linux. These steps take no extra effort and the first step is the default way to write C# these days.
Dotnet is part of the SDK and contains functionality to create NET Core projects and to use other tools to build said projects. Dotnet is published under MIT, because the whole SDK and runtime are published under MIT.
Yes, the debugger situation is still bad -- there's no FOSS option for it, but this is more because nobody cares enough to go and solve it. Jetbrains proved anyone can do it if they have enough development time, since they wrote a debugger from scratch for their proprietary C# IDE Rider.
Where C# falls flat on its face is the "userspace" ecosystem. Plainly put, because C# is a Microsoft product, people with FOSS inclinations have steered clear of it to such a degree that the packages you have available are not even 10% of what packages a Python user has available, for example. People with FOSS inclinations are generally the people who write packages for your language!!
I guess if you really really hate leftpad, you might think this is a small bonus though.
Where-in I talk about Cross-Platform
The biggest thing the ecosystem has been lacking for me is a package, preferably FOSS, for developing cross-platform applications. Even if it's just cross-platform desktop applications.
Like yes, you can build C# to many platforms, no sweat. The same way you can build Rust to many platforms, some sweat. But if you can't show a good GUI on Linux, then it's not practically-speaking cross-platform for that purpose.
Microsoft has repeatedly done GUI stuff that, predictably, only works on Windows. And yes, Linux desktop is like 4%, but that 4% contains >50% of the people who create packages for your language's ecosystem, almost the exact point I made earlier. If a developer runs Linux and they can't have their app run on Linux, they are not going to touch your language with a ten foot pole for that purpose. I think this largely explains why C#'s ecosystem feels stunted.
The thing is, I'm not actually sure how bad or good the situation is, since most people just don't even try using C# for this usecase. There's a general... ecosystem malaise where few care to use the language for this, chiefly because of the tone that Microsoft set a decade ago. It's sad.
HOWEVER.
Avalonia, A New Hope?
Today we have Avalonia. Avalonia is an open-source framework that lets you build cross-platform applications in C#. It's MIT licensed. It will work on Windows, macOS, Linux, iOS, Android and also somehow in the browser. It seems to this by actually drawing pixels via SkiaSharp (or optionally Direct2D on Windows).
They make money by offering migration services from WPF app to Avalonia. Plus general support.
I can't say how good Avalonia is yet. I've researched a bit and it's not obviously bad, which is distinct from being good. But if it's actually good, this would be a holy grail for the ecosystem:
You could use a statically typed language that is productive for this type of software development to create cross-platform applications that have higher performance than the Electron slop. That's valuable!
This possibility warrants a much higher level of enthusiasm than I've seen, especially within the ecosystem itself. This is an ecosystem that was, for a while, entirely landlocked, only able to make Windows desktop applications.
I cannot overstate how important it is for a language's ecosystem to have a package like this and have it be good. Rust is still missing a good option. Gnome is unpleasant to use and buggy. Falling back to using Electron while writing Rust just seems like a bad joke. A lot of the Rust crates that are neither Electron nor Gnome tend to be really really undercooked.
And now I've actually talked myself into checking out Avalonia... I mean after writing all of that I feel like a charlatan for not having investigated it already.
72 notes · View notes
pong03 · 6 months ago
Text
HELLO TUMBLR COMMUNITY
SHARE TO ME YOUR NEOCITIES PLEASE
AND YOUR TIPS FOR WEB DESIGN AND LEARNING HTML,CSS, AND JAVASCRIPT.
I am just a child (18) who desires the freedom of neocities and a space hey. I need your guidance and knowledge.
I know some goated mf 14 yr old is gonna be the one who has the most knowledge and I'm gonna feel like I wasted my time haha.
but fr, i really want to get into this and HTML is already a big tumblr thing, before the total twitterfication of this website. So yeah I'd love tips or if you just want to share your own websites it would be so COOL. I'm legit a total newbie who learned to code a little bit for a data science class, which is more like python type shit.
8 notes · View notes
pvposeur · 12 days ago
Text
USEFUL TIPS FOR ANYONE USING NEOCITIES
So, I saw this super awesome post called BEGINNERS GUIDE TO BLUESKY and it more or less inspired me to make a post of my own pertaining to the the likes of Neocities.
What is Neocities?
Long story short, it is an open-source web hosting service that is both F2U (1 GB storage/200 GB bandwidth) and P2U (50 GB storage/3000 GB bandwidth). It's kinda sorta a spiritual successor to the now defunct GeoCities.
Why Use Neocities?
HELPFUL LINKS
Neocities has a full on Tutorials Page to help people wanting to learning how to code. Though I will say that I'm a bit surprised they don't have W3 Schools on there.
CREATIVE FREEDOM
If you Browse on Neocities, you will see how vastly different all of the websites look. That being said, you have an enormous amount of creative freedom when it comes to making your website. You can build it from scratch or look up some pre-made templates from websites such as templatemo, HTML5 Templates, TEMPLATED, template4all, and many more.
Now it is important to note that Neocities doesn't allow certain things such as jQuery, PHP, Python, SQL, etc. In fact, the only things allowed on Neocities are HTML, CSS, and JavaScript! Though I do think it is important to note that you can turn your website into a blog using Zonelets, have a Guestbook/Comments Section with Guestbooks, embed your Bluesky feed with Embed Bsky, embed your Twitter/X feed with Twitter Publish, and much more!
What Do People Use Neocities For?
Some people use it for blogging & portfolio & educational purposes. Some people use it to share their writings & artwork & music. Some people use it to help people with finding neat things. Some people use it for shits and giggles. There are legitimately a number of reasons people use it and you know what? That's 100% a-okay!
Are Any Programs Required To Use Neocities?
Technically, no. The reason I say this is because Neocities has a built-in HTML Editor. However, I don't like using it unless if I absolutely have to (which is next to never). Instead, I use Brackets. It's very user-friendly and it legit lets you know if there's a goof somewhere in your code. Legit 10 out of 10 recommend. Though I will say that some people use Notepad++.
2 notes · View notes
eddieripps · 2 months ago
Note
your art is so pretty! that snippet of the gameplay was so cool to see. I was wondering where you learned to code and what language you're using? i'd love to learn how to code and make something a fraction as good
hiiii :((( this is so sweet thank you so so much <33
as far as language goes, im in college for programming and compsci so I've learned like.. too many languages to keep track. the ones I use most are python and javascript though!!
for the game, it's built in a program called gdevelop 5 which is basically like scratch just like. adult scratch. imagine lego duplo vs legos. same concept just more shit to it. and it's javascript compatible if I ever hit a roadblock and need to write something out. i find it to be most similar to visual basic in terms of actual use though, if you've ever used microsoft visual studio
i would probably get more control over it / be able to make it less messy if I rebuilt it entirely in javascript from the ground up but also its a silly pixel game for my favorite show. it's saved on my computer as "yellerjackers". i simply wanted it to work enough for stupid posts on my tumblr and I achieved that no shame in my game (ba dum tss.. anyone? hello? is this thing on?)
but if you ever do wanna just hop into something without having to spend an entire semester learning a programming language, gdevelop is great. they've got tutorial games you can follow along with to teach you basic framework as well.
im a guy who hates when creativity is limited by skill and knowledge gap (comes with having dyscalculia and majoring in a math based field) so I'm always gonna encourage using your resources. doesn't matter as long as you have fun with it!
6 notes · View notes
krcdgamedev · 8 months ago
Text
So in case you're wondering what I've been up to for the last month or so (no one is here), I've been working on this-
Tumblr media
A CRUD app! Because that seems to be what everyone's making these days. It's an editor for monster data. Because, like, all the tutorials were for managing employee data and shit, but this is what data I have that needs managing. It's got a React js frontend and a javascript backend.
It basically runs off this list of data that spawns the entry rows and stuff, so I can add to it easily or reuse the base code between projects:
Tumblr media
That's neat, but it was a real pain in the ass to have to start up both the client and the server whenever I wanted to use it, so I made basically the same thing but in Python with tkinter:
Tumblr media
And as an example of reuse here's it being used for moves data-
Tumblr media
A lot of things are made easier with this. Mainly there's only one data list, whereas the CRUD app needed the state hooks declared, then the data list including the "pointers" to the state variables and setter functions, then the backend needed its own list of the names of the SQL columns.
This version has some extra features like, if you add something to the data list it'll add a column to the SQL database for you. Plus Python is similar to GDScript, so I could bundle a basic version of it with the Mondo code.
Meanwhile I've been upgrading the battle system to handle multiple mons in one battle-
Tumblr media
Next I'm probably going to step back a bit and document the code, because it's becoming a bit messy and I need to clean it up
5 notes · View notes
porygonlover2009 · 11 months ago
Note
holy shit, what programming languages do you know already?
a lot of them! my teacher always praised me that i could learn so quickly, hee. 〜( ̄▽ ̄〜)
i primarily like to code with css, javascript, html5 or python, since those seem to be the most common languages and my teacher made super sure i knew all of the tricks for those! but i'm super good with SQL too! i also know how to use ruby, typescript, and swift! i'm trying to learn as many others as i can too!
...and i guess i don't know if anyone has heard of this, but i sometimes try stuff in whitespace because it's funny! (/▽\) and malbolge and piet, the latter if i wanna do something pretty! but those are pretty...what word did my teacher use...e-so-terrific or something? but um. my teacher called them kind of useless, but i like them anyway!
2 notes · View notes
rogue-bard · 2 years ago
Text
My colleagues are accidentally gaslighting me for two days now and I don't know if MY communication skills are atrocious or theirs but holy hell.
Yesterday I found out that stuff they should have deployed in August was not live yet, so I called them and it went something like this:
Them: "What? No we haven't deployed anything."
Me: "But you wrote the code for it. Can we just deploy that now please?"
Them: "No we didn't write that. That was your job."
Me: "What? I SAW the code. YOU wrote the code! I did QA for it. It's active on these three servers. It exists."
Them: "If it exists, you must have written it."
Me: "I don't even know that programming language?!? That's the one YOU use. I only write Python, Java, C++ and Javascript."
Them: "No, that was definitely your job."
So then I was confused as fuck because I am 1000% sure I know they wrote it because I READ THE CODE at the time they did it to check if everything I need is in there.
But what can I do if they say it doesn't exist and won't send it to me, and say it's my job? I painstakingly wrote it myself in a language I don't "speak". And because I don't really knew if what I was doing was syntactically sound, I sent it to them to double-check it. Not the logic, mind you, just the syntax.
Which leads us to today:
Them: "You're not supposed to write that, we already have that code."
Me: "What the FUCK have we been talking about yesterday, then????"
Them: "No, we wrote it but you were supposed to deploy it."
Me: "I was? Okay, I don't remember that, but I can believe that I may have forgotten about that since August - mostly because you never send me the code. I remember reading over it via screen-sharing."
Them: "Oh yeah, that's true. We sent it to the CEO directly."
Me: "Why... why would you have done that?"
Them: "Because we finished it when you were on holiday."
Me: "....???? And you expected WHAT to happen?"
Them: "He put it into your deployment code."
Me: "NO HE DIDN'T."
Them: "But he was supposed to!"
Me: "............ what."
Fast forward me phoning the CEO:
Me: "Hi, so they said you put their code into this thing and I'm 99% sure you didn't since I can't find it, but JUST IN CASE: Did you do that?"
Him: "lol I imagine if they just sent me code like that out of the blue, I just assumed I was on CC for no reason and immediately deleted it."
Me: "Yeah that tracks."
So TLDR; I've been wasting time and chasing ghosts for 1,5 work days and written shit in another programming language just to throw it away again because we already HAD that code, WHICH I KNEW TO BEGIN WITH but was gaslighted out of knowing lol
And just to clarify: That is what I understood, that is obviously not what they SAID. They clearly thought we were talking about deployment when I was talking about coding. Tbh I think we're all equally at fault here.
8 notes · View notes
innocence-wont-save-you · 1 year ago
Note
[An overseer is ‘sitting’ next to the scavenger as they look at Innocence’s sleeping form.]
Hey bud, isn’t it kinda weird our friend is uh… still sleeping? Like, we should be moving out by now. I mean I know we’ve been waiting for like, six minutes, but it feels like a month! And yeah, I know you don’t understand me.
(OOC: Heyyyy so uh, sorry if it’s rude but I didn’t see a place to submit an ask on the website so I’m asking here. Is this blog ever going to be updated in the near future? If not, do you plan to still continue it or is like, irl stuff putting weight in your shoulders? I wanna join the disc and ask questions but stupid anxiety is making me not do it. If you’re still working on it or left the project, don’t feel pressured to continue, it would be selfish of me to ask that of you.
tl;dr: I kinda just want an update on the current situation Innocence Won’t Save You is in.)
OOC: YES HI HELLO I'M STILL ALIVE THANK YOU FOR ASKING ACTUALLY
Short answer: Yes there's. Shit going on in my life. Mostly school work; this has been one of my busiest quarters so far and I'm constantly swamped with work and haven't had the free time to really sit with IWSY and work out what I want/need to do.
Longer answer: Yes there is currently no way to submit on the website I am so sorry. When I said this would move off Tumblr I meant it and I was finding ways to do that, but I kept hitting roadblocks because I started learning web dev Solely for IWSY. Ultimately my progress on the javascript tutorial stalled (due to aforementioned busyness) and other people let me know that Neocities isn't... the best place to host comments locally? So that threw a wrench into the plans.
I've admittedly not written much for IWSY in the time since I announced we'd be migrating off Tumblr. In hindsight I kind of wish I'd waited a little, but I think this quarter would have done this to me regardless of if I'd wanted to migrate or not. However, I still want to work on IWSY. This project is NOT abandoned. I'm just very busy :'D in a good way though! After a bit of a rough spell, my life right now is, without exaggeration, the best it's ever been, and aside from just plain being busy, I'm also trying to enjoy being alive for once. Unfortunately it means things have been and will continue to be very, very slow here for the foreseeable future.
But I do have a small update. I gave up on trying to code comments locally, and instead found an open source commenting plugin called Isso that I'm hoping to install on the website. Actually doing so will require time I don't currently have since I. Uh. Don't know python. But if all goes well, I will have that set up at some point, and then I can get started on scene 14. I can't guarantee anything on that while this quarter is still going on unfortunately, but I will promise you all that once my summer break starts (which is in June since my school runs on a quarter system), I'll put more time and effort into this again.
If you'd like to help get the comments set up I would deeply appreciate it, but again I don't think I can see myself writing any long form creative fiction until I have the time to dedicate my mind to it, especially given what IWSY is. I'm really sorry about that, but I'm glad to hear that you're still interested in this story! So sorry about the radio silence, I really should have updated a few times since the last post I made, but thank you again for asking and reminding me to at least say something.
So TLDR, no the story isn't dead, I'm just hella busy and trying to appreciate life.
3 notes · View notes
chrinopiqua · 5 months ago
Text
Programming Languages in Pure 4chan Style:
Python: This shit's so easy, even your methhead cousin could code in it. But when you try to use it for real shit, you're fucked by dependencies.
Java: Corporate cuck language, makes you write so much bullshit code you feel like you're in a fucking bureaucracy. "But hey, at least it runs, you fuck."
C++: For those who get off on pain. You'll learn it, then hate your fucking life with every pointer error. Each project is like signing up for a new level of hell.
JavaScript: This isn't programming; it's like trying to organize a gangbang in a clown car. Your code works on your PC, but in production, it's a fucking disaster.
Ruby: For hipster-ass developers who think they're too cool for school. But once your project grows, it's all "oh shit, performance issues, wtf?"
PHP: The language that should've died with dial-up but keeps living like a cockroach after a nuclear war. "Because why the fuck not?"
Go: Sounds like it's for quick fucks, but in reality, it's just another way to make your life complicated with goroutines.
0 notes
augustsobbingandcryingblog · 7 months ago
Text
i feel sorry for anyone who took/is taking gcse comp sci as someone who can code to a moderate degree. how did you spend 2 years learning python i learnt that shit in like a month from carol vorderman. where's the html where's the c++ where's the javascript. actually i hate javascript nevermind.
0 notes
Text
January 31st, 2024 - I'll die with this heat istg
Tumblr media Tumblr media
────────────────────────────── Woke up at 1 PM Skipped breakfast It was so hot today ──────────────────────────────
•••┊┊🌙┊┊•••┊┊🌙┊┊•••┊┊🌙┊┊•••┊┊🌙┊┊•••
Everything's fine now. Turns out my mother wasn't angry, she was just tired. Like me. So I guess the problem was me lol
Anyway, I'm physically feeling like shit rn. I went to a restaurant with my mother and ate a huge pizza (even though it was "small" and for 1 person) and drank too much Pepsi. My stomach hurt a lot and we took a taxi to get home.
It was too hot to walk anyway. But since my mother had a free day, we decided to go out instead. Now I'm on the sofa watching my series and whining about this pain. I shouldn't have eaten so much...
My period is still very weird. But I think it happened before, and my mother said it was okay. I'm not sure actually... I'll see what happens during these days. I don't know, I can't even move to check myself in the bathroom.
I don't really care about talking about that. A lot of people have periods, so who cares? If someone cares, well, that's fine. I don't care!
When will this heat stop? It seems to be that the whole week is gonna be extremely hot. And also it seems to be that I go back to school on the 26/2. So I'll be back there soon. I'm craving a routine, I'm not gonna lie.
Hey, I finished my lessons on HTML code! But I'll re-read them and write everything down on the notebook. And then I'll see what I'll learn. JavaScript? CSS? Python? Who knows!
Anyway, that's all for now. I finished listening to Lorde, my favourite album is either Melodrama or Solar Power. I also started watching Steven Universe. For the memories. I'll see tomorrow which artist I'm listening now. I'm excited!
Well, I'll watch these things and go to sleep. Rest well!
It was a good day.
•••┊┊🌙┊┊•••┊┊🌙┊┊•••┊┊🌙┊┊•••┊┊🌙┊┊•••
0 notes
chipminkle-deactivated · 5 years ago
Text
I may not be the best at anything, but I'm pretty good at a lot of things, and I think that's better ^-^
1 note · View note
toosmallformyowngood · 3 years ago
Text
IDE is like, the backseat driver of programming.
"You aren't using this variabl-" Shut your whore ass mouth I'm getting to it you robotic cuck
1 note · View note
d0nutzgg · 2 years ago
Text
I am currently coding a browser right now in pure Python. Let me explain all the steps it has taken at 300+ lines of code except in no particular order because I need to reorganize.
Fernet Encryption SSL Certificate Check Implementing a UI - Chose PyQt because its a prettier layout than Tkinter. Implementing a toolbar for the UI Implementing browsing history + browsing history tab + a clear button to clear the history - Done in the GUI / UI as well. Adding a privacy browsing mechanism - routed through Tor Added PyBlocker for Ad Blocking and Anti-Tracking on websites Added a feature to make Google not track your searches because fuck you Google you nosey assholes. Added a sandbox to avoid user getting infected with viruses Added additional functionalities including optimization that way the browser wasn't slow as fuck: Using JavaScript v 8 engine to load JavaScript Using slight mem caching <100mb to avoid slowing the computer but also let the program browse quicker Using one http request to send multiple http requests - need to set limit. Encrypted global security features. I am at over 300 lines of code. I am ready to pay someone to debug this shit when I am finished with it (lol) May the force be with you my #Pythonistas
Tumblr media
132 notes · View notes
cryptosexologist · 2 years ago
Text
5 notes · View notes