₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,363 members, 8,440,241 topics. Date: Monday, 06 July 2026 at 04:21 PM

Toggle theme

Qtguru's Posts

Nairaland ForumQtguru's ProfileQtguru's Posts

1 2 3 4 5 6 7 8 ... 131 132 133 134 135 136 137 138 139 (of 204 pages)

Art, Graphics & VideoRe: 9-year Journey From Nairaland To The World by qtguru(m): 1:59pm On Apr 20, 2022
This is amazing, keep up the work. I will follow you
CrimeRe: New York Mum Stabbed 60 Times. Killer Sends Chilling Text To Her Husband by qtguru(m): 1:14pm On Apr 20, 2022
60 stabs is a crime of passion, I think the husband knew and hired someone, that trip could be his alibi.
ProgrammingRe: My Journey Into Svelte Development by qtguru(op): 1:37am On Apr 20, 2022
DrLevi:
@qtguru

Do you use Sveltekit or Sapper?
Sapper there's too much code to migrate to Sveltekit maybe in the future.
ProgrammingRe: Girls Tech Community In Abuja by qtguru(m): 1:01am On Apr 19, 2022
Amazingamb:
We can all agree communities help shape a person alot and if used right can help propel one into another realm of greatness. I'm a Software developer currently working in Abuja and I wish to start a tech community for ladies in which we can have fun meetings ranging from work, business ideas, next ground breaking projects in a very fun way. If you are a beginner, intermediate or even senior developer, I can't wait to meet to you. Let's connect, learn and advance our career. There are lots of benefits that will be gained in this experience. If you are interested, show your interest with an emoji�
Don't be discouraged, all you need is a growing active member. wish you all the best
Jobs/VacanciesRe: Remote Jobs Interview Process Seem To Be Tougher Than The Jobs Itself by qtguru(m): 9:41pm On Apr 17, 2022
This is my constructive feedback,

You have a good profile from what I can see, but a major challenge that might be an issue is the quality of work, I think you have to work on improving the aesthetics because most of the UI/UX Designers on Upwork are also on Dribbble and their quality of work is much higher, if you both bid, they would definitely have an advantage over you.

Upwork is very competitive

Here is a friend that I am helping with his Upwork account, I think if you follow the aesthetic on Dribbble as a standard you will pull more clients.



https://dribbble.com/tope-olowott
Jobs/VacanciesRe: Remote Jobs Interview Process Seem To Be Tougher Than The Jobs Itself by qtguru(m): 8:26pm On Apr 17, 2022
Share your profile let me review for you. I've made money but I am not active on Upworks, but done 5 jobs, I operate my woman's profile and she is a Ui/UX designer, got 3 jobs for her on Upworks

I can give some tips if you don't mind
GamingRe: What Game Are You Currently Playing? by qtguru(m): 8:14pm On Apr 17, 2022
N3cR0mAZc3R:
It’s like comparing a PS4 to a ps3 bro. It’s night and days different.

I can’t believe we finally have a portable pc capable of playing PS4 games on the go.
or you mean PS5 the switch has the worst graphics, I forgot mine with a friend and the games are fvcking overpriced wtf steamdeck makes more sense by far
GamingRe: What Game Are You Currently Playing? by qtguru(m): 8:13pm On Apr 17, 2022
N3cR0mAZc3R:
Gta IV
You can't be in Nigeria ? is Steamdeck in Lagos ?
RomanceRe: The Silent Pain Of The Husband by qtguru(m): 4:56pm On Apr 17, 2022
this is Porn for misandrists lol
RomanceRe: My Girlfriend Broke Up With Me Because Of This by qtguru(m): 11:50am On Apr 17, 2022
Take the L bro and move on
ProgrammingChrome Extension And Enhancement Of A Platform In Context To NL Anti-spambot by qtguru(op): 5:14pm On Apr 16, 2022
What are Chrome extensions? depending on what type of user you are, Chrome extensions are simply tools you can use in the Chrome browser for enhanced features. This is a more general way to describe it to basic users. It can do additional things.

However, as a Developer, the more technical answer would be an extension through which Chrome Developers has provided ways to access DOM / BOM and also Native Chrome API. Extensions can simply do things without limit that a client (Document) can't do.

This gives the ability to enhance the content of a website in memory, meaning changes here are not permanent.

This brings me to my next pain point; The Nairaland Anti-spambot. I have been a very serious casual victim of this spambot. I have shared posts and content useful to users only to be blocked by the spambot.

This leaves one at the mercy of the mods, who sometimes can be pretty much very ineffective.

Solution

A simple concept is bypassing the antispam bot, the Anti-spambot works at the backend, and not the client to the best of my knowledge. With the chrome extension, we can simply extend NL to share contents for the programming section, this simply means we will need to install the chrome extension.

What does it mean?

We can easily embed content like Galleries, Videos and images for now.

I will share more concepts around this but here is the goal.


1. Create a Component for each media type
2. Create a text pattern of associating that pattern in a post. e.g Anti-bot sees a pseudo-code like [NLMedia type='gallery' id=xxxxx] and the extension simply does a lookup in the Db component type and renders the content.
3. The extension will allow you to create a Content-type and return the pseudo-code to be changed
4. All data stored in Firebase


I plan to do this in Svelte / Firebase and Chrome extension.

I think the implication of this, is that it gives us autonomous power over how we want NL to be expanded and also it's a concept of how a service can be built on top of an existing platform without fear of code block.

Please share inputs on this thought.


I got hit by the spambot recently again, and this is a pain in the neck for me.

Regards
ProgrammingRe: My Journey Into Svelte Development by qtguru(op): 4:56pm On Apr 16, 2022
I wrote a long text, but it had too many grammatical errors,

React 16 creates Error Boundaries,

JavaScript codes are no longer the same type of development; as compared to earlier years of coding. Today's JS code via frameworks usually goes through a form of transpilation, something like babel.

Svelte(node) uses the acorn library to parse your source (The JavaScript section) and generate an efficient and Svelte-ish type of application. When a page is written in traditional HTML and JS, during a reference error, it simply throws an error with the application still functioning. However, in generated codes like React/Svelte, a simple bug is enough to mess up the internal state and bring the application down.

Perfect code is a myth.

Which brings us to our current dilemma, how do I handle this issue?

Attached to the post; is a screenshot of a library that handles the error thrown by the Svelte component.

The first screenshot shows the SvelteComponent as this is what your code written in Svelte files is transformed into. It is very important to the context of the issue at hand. Every logic written in Svelte runs under the context of a SvelteComponent.

An author armed with that knowledge simply extended the internal state of the Svelte component to augment and monkey-patch (refers to augmenting an existing Object, this is possible in JS naturally, as other languages might need some form of Reflection to do this) the render method.

I wanted to share that because the obvious normal thinking process for a surface level Svelte developer is to wrap each function of the code into a try/catch causing a massive duplication in each code.

How does a developer think to extend the internal SvelteComponent ?

Answer

by understanding how the framework works and how the code is generated.

The second screenshot shows the extension of the SvelteComponent to handle errors. It's easier to fix at the compiler level, when each component is generated, it simply returns an extended class of the Component when required in runtime.

Anyway, thanks for reading and I hope you enjoyed the post.

If you want more information about the internals of Svelte I will advise you to read Compile Svelte in your head and look up the source code.


[b]FUN FACT: [/b]If you press the dot button on your keyboard in a git repository, it renders a VSCode environment making it easier to follow the flow of the code.

FIN

ProgrammingRe: What You Need To Know About Nfts As A Nigerian. by qtguru(m): 11:12am On Apr 15, 2022
Greater Fool Theory that's how I see the NFT
CrimeRe: Serial Child Rapist Chukwudi Opara Finally Arrested - Pictures by qtguru(m): 10:27am On Apr 15, 2022
dododawa1:
one is beside you but removing your eye from him,time will tell.
Yeah I realize that. Time will tell
CrimeRe: Serial Child Rapist Chukwudi Opara Finally Arrested - Pictures by qtguru(m): 10:13am On Apr 15, 2022
We have sick men in this country, the day I will catch one angry
RomanceRe: Singles: What Are The Habits/Lifestyle You Won't Abandon After Marriage? by qtguru(m): 7:24am On Apr 15, 2022
noob03saibot:
lol! Was expecting w**ding and coding.
I dey try change lol, coding is getting stressful these days.

1 2 3 4 5 6 7 8 ... 131 132 133 134 135 136 137 138 139 (of 204 pages)