Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,495 members, 7,819,804 topics. Date: Tuesday, 07 May 2024 at 12:03 AM

Capslock01's Posts

Nairaland Forum / Capslock01's Profile / Capslock01's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)

Programming / Re: Fanuc Programming For CNC Turning Lathe Tutorial by Capslock01: 8:48am On Jan 02
eezor:

I have all that. It doesn't really work that way during operations. Micron # , I used fusion360 and mastercam. The threading cycle using gcode 92 and others are something else. If you rely on it, you can jam the CNC machine. Am talking based on experience. For example, every fanuc has its own series. And programming sequences differs
You’re right on this but not too right.
That’s why you have to check for post-processors before exporting to machine.
Sometimes, you’ll have to modify for existing similar machines. And there’s even one website that you can drop your machine type and someone will help you out with the editing.


Most time one google the machine post-processor and forums will pop up.

Example of such forum is attached.

Programming / Re: Fanuc Programming For CNC Turning Lathe Tutorial by Capslock01: 1:50pm On Dec 30, 2023
eezor:
Anyone with programming skills for fanuc, mazak, Siemens, etc. Of computer numeric control (CNC) Lathe turning machine? I want to learn it.

Model/design in Fusion 360 or any other CAD software and generate a post-processor base on the type of machine! It’s the best modern way of generating Gcode and Mcode
Programming / Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Capslock01: 8:12pm On Sep 18, 2023
Deicide:
React Query is an aysnc state manager. It doesn't fetch data. What fetches data is axios or fetch.

Lol. Okay
Programming / Re: Redux RTK Vs React Query For Fetching Data And Inifiite Scroll by Capslock01: 7:16pm On Sep 18, 2023
Deicide:
React Query does not fetch data

Don't know what you mean but React-Query handles data fetching amongst other thing.

https://tanstack.com/query/latest/docs/react/guides/queries
Computer Market / Re: Place Your Laptop Battery Needs Here And Get It In A Few Hours by Capslock01: 12:05pm On Feb 17, 2023
Capslock01:
Hello,
Do you have HP 1040 G2 battery?
And how much?


ruphytelecom

Any response please.
Computer Market / Re: Place Your Laptop Battery Needs Here And Get It In A Few Hours by Capslock01: 3:44pm On Feb 16, 2023
Hello,
Do you have HP 1040 G2 battery?
And how much?

Programming / Re: C Sharp Is So Interesting by Capslock01: 11:46am On Nov 13, 2022
SUPREMOTM:


It is very popular in Nigeria too. Many large organizations in Nigeria (banks, oil companies, Telcos etc) use the .Net ecosystem for their applications: the .Net framework is designed for creating Enterprise applications.

It is not for the faint-hearted though, because .Net is designed as a full-stack developer framework (same code base for web, mobile (android and iOS), desktop (windows, Mac) , RESTful HTTP services with templates for front end frameworks like Angular, React etc plus very easy integration of cloud technologies); you can't afford to stop learning.

Your job may require you to create/manage the backend for huge applications in addition to creating/managing the front end and the web services that provides the data for your front-end to consume.

.Net gives you all the tools you need to make your application as huge as you can imagine and C# is the language of choice.

Recently, a UNILAG 200 level student told me they have to learn C# in their department though he is not a computer science student.

NOUN Post graduate degree in Computer Science also requires you to learn C# only (Confirm on their website).

There are many .Net developer jobs at these big organisations and it takes quite some time to get the vacancies filled because the skill sets are not as abundant as Java in Nigeria at the moment.


The bolded part is true!
We were made to learn C# then for Introduction to Computing Engineering.

It was/is core for all 200 Engineering students in Unilag.
Programming / Re: Passed All Rounds Of Interview And Still Got Rejected. by Capslock01: 9:30pm On Jul 21, 2022
jesmond3945:
sorry my brother. I think I replied you in the other thread. You will be shocked the reason they rejected you. It might be your skin colour, it might be they dont like you. You would also be shocked that the rounds you were given were not given to other candidates. The hiring process is broken and subjective. Why subject you through this rounds and they probably someone in mind. Sorry bro. We can see is not about leetcode or github but grace of God. I am also waiting for people who will blame you and say is your fault.

I believe this is not about skin colour or likeness!

If it's not relocation, because it's easier relocating someone from other countries.

Then it is ----

Reactjs said he was asked about salary structure and he said $60k per annum. So I'm believing someone else that also passed the rigorous interview process must have said something lower maybe $40k P/A or something less than what he quoted. Then the company decided to move on with the other person.


I have had similar experience with a company, myself and one other lady were hired to get something done on contract. I charged $10 per hour while the other lady charged $25 per hour even when the lady is an American. She was dropped after 2 weeks and her milestones were re-allotted.

3 Likes 1 Share

Properties / Re: Neat Self Contain For Single/student, In Akoka. by Capslock01: 11:37pm On Jul 17, 2022
samnaija:
A very neat self contain for single/ student around chemist busstop akoka.
The self contain has its own prepaid meter, so your privacy and independence is guaranteed. Light in the environs is adequate and community security in place. Don't miss this if you are goal oriented.......


Rent300k/pa.

Call 07061427030.

250k per annum?

What's the total package?

And is there video? Those pictures are not doing justice to the room size.
Programming / Re: Re: Amazon Recruitment Of Software Developers In Nigeria 2022. Opinion by Capslock01: 10:24pm On Jul 05, 2022
My Unilag peeps looking at the opening!
All those ones running 100 days of Leetcodes and DSA.
Programming / Re: My Programming Life Story.. Don't Miss.. by Capslock01: 11:57am On Jun 19, 2022
GREATIGBOMAN:



Lols

E tire me self

And for this country when u see through someone's lies they call u a hater

Quite funny though.
I made a screenshot and the guy said he started React in June.
Some things in the post are not summing up.
Programming / Re: My Programming Life Story.. Don't Miss.. by Capslock01: 8:23am On Jun 19, 2022
ayomikuolatunji:
Sleepless night and day. I kept learning and learning and learning. I never attended any physical classes or lessons but taught myself by watching videos online and also got materials from Erie. I will work for mom in the morning, follow my senior brother to farm and still come back to code. One of my friends mr Chris mentor and advice as that made me start backend coding too. My got me my first job from his co farmer who needed a website but as i wasn't good yet, Erie took the job. My brother got me another job months later from his customer in Canada whom he exported some food stuffs to. And i did it well. That period, l built my brother's company website too (hollywayglobal.com) these job were basic coding.

Soon, covid restrictions lifted and school resumed. The need for a new and better laptop arises as the codes were becoming so so much. I needed something better. My brother hustled and got me another laptop. Omo, the laptop no reach one month o. My room was burgled and laptop stolen. Another setback set in. I cried that early morning when i called my senior brother. When I told him ehn, he come dey pity me instead to vex. He was like. *"wo, be using that old one dey go jare. No money on ground as that was the period last year he wan resume his Aircraft Maintenance Engineering program. So no funds on ground like this"*. The laptop he said i should manage suffered me o. I sha used it till march this year. Imagine laptop go dey hot and It gets so hot that it panels melt one period like that. Another thing is that it off at intervals and other various issues like that jare..

I clicked on the hollywayglobal website and it's same thing with the screenshot I took from one Udemy course seller on Nairaland. And the website is way below par.

After reading the story, I'm kinda convince you're real sha, because the chat name is kinda similar to your username.

Can you clear how you started React in June with the 47 days into react in the screenshot?


Congratulations bro, anyways.

Politics / Re: Between Peter Obi And Tinubu, Who Was A Better Achiever As Public Office Holder? by Capslock01: 8:39pm On Jun 14, 2022
PresidObi:
If with all the huge Lagos budget, allocations, taxes, foreign companies presence, former Federal capital status and wharf and international airport facilities you're still comparing with Anambra, then Peter Obi was a real genius.
Did Tinubu enjoy any special budget allocation under Obasanjo's presidency considering their political difference?

3 Likes

Politics / Between Peter Obi And Tinubu, Who Was A Better Achiever As Public Office Holder? by Capslock01: 8:25pm On Jun 14, 2022
People have reportedly campaigned for Peter Obi on the grounds that he is not corrupt and that he never accumulated debt while serving as a governor.

Additionally, I've heard and read claims that Bola Tinubu is crooked, too old to be president, and the epitome of agbero-ism.

It's amusing how Mohammad Buhari was also presented to us as a trustworthy individual.

So instead of concentrating on these catchy selling points or downplaying, can we concentrate on their particular accomplishments and results during their time in office as governor.

If accomplishments are compared, who performs better as a governor? or who actually kept his promises/commitments to the public?



PS: Atiku Abubakar could have been paired with the duo, but he wasn't really at the affair when he was the vice president.


Lalasticlala, Seun, Mynd44, OAM4J
Business / Re: Upwork Thread (Questions/Help/Advice) by Capslock01: 3:37pm On May 07, 2022
Jess99:

Payoneer will take 2% when transferring to a dom account. So you do the math.
You can also do Payoneer to Wise to crypto.com to Binance

Hello,
Can you share more details on this?
Do I need to verify my Payoneer with ID before initiating withdrawal to Wise?
How does the Wise thingy work?
I don't want to get stuck doing this.

Hope I won't need to hit bench mark of $5k or more before doing the Wise thingy.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:43pm On Apr 14, 2022
Altairx440:

day 7

I'm so used to writing python that javascript is now a pain, anyways, here's mine

let arr = [7,2,5,8,3,9,1,4,10]

const sortArray = arr => {
for (let i = 0; i < arr.length; i++) {
let min_index = i;
for (let j = i; j < arr.length; j++) {
if (arr[min_index] > arr[j]) {
min_index = j;
}
}
let tmp = arr[i];
arr[i] = arr[min_index];
arr[min_index] = tmp;
}
return arr;
}

console.log(sortArray(arr));

Great! Thanks for sharing boss.

It shows in your code that you're a Python writer. Some variables names (min_index...) are following Python way of naming. You know JavaScript mostly use CamelCase.


Care to share what you use Python for? Backend?
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:18pm On Apr 14, 2022
Altairx440:
It is possible to indent properly in nairaland using "[<code>]content[/<code>]" tags, without the < & > brackets.

Wow! Thanks boss. Never knew this.

I'd be using it in going forward. Thank once again boss.

Altairx440:

You can try using two loops to check for every possible pair, that should be easier, your code does not pass most testcases.

Yeah. True. Thank you for the two loops pointer.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:16pm On Apr 14, 2022
Altairx440:

I'm following, I just don't post my codes, I guess I'll have to start posting my codes.

Thanks for following boss. I do appreciate.
Please be posting. It'll go a long way in helping to understand how things can be done better.

1 Like

Programming / Re: Dairy Of Javascript Challenge by Capslock01: 7:32pm On Apr 14, 2022
Capslock01:
Don't know if there's any one following. I'm sorry for keeping you hanging, I was caught up with work.

Here's today's challenge.


Day 7

Create function that takes an array of unsorted numbers and sort them.

NB: You can't use the built-in sort function.

For example
[1,9,4,5,3,0] => your function [0,1,3,4,5,9]

[2,5,9,6,1,53,45] => your function [1,2,5,6,9,45,53]

[4,9,-3,5,0,-14,10] => your function [-14,-3,0,4,5,9,10]





// Day 7

//Rearrange an unorganized Array

function arrangeArray (thatArrayToArrange) {
    for (let i = 1; i < thatArrayToArrange.length; i++) {
        for (let j = 0; j < i; j++) {
            if (thatArrayToArrange[i] < thatArrayToArrange[j]) {
                let temp = thatArrayToArrange[i];
                thatArrayToArrange[i] = thatArrayToArrange[j];
                thatArrayToArrange[j] = temp;
            }
        }
    }
    console.log(thatArrayToArrange);
}

arrangeArray([1,9,4,5,3,0]);
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 7:30pm On Apr 14, 2022
Don't know if there's any one following. I'm sorry for keeping you hanging, I was caught up with work.

Here's today's challenge.


Day 7

Create function that takes an array of unsorted numbers and sort them.

NB: You can't use the built-in sort function.

For example
[1,9,4,5,3,0] => your function [0,1,3,4,5,9]

[2,5,9,6,1,53,45] => your function [1,2,5,6,9,45,53]

[4,9,-3,5,0,-14,10] => your function [-14,-3,0,4,5,9,10]
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 7:28pm On Apr 14, 2022
LikeAking:


---See this 1--- Test on diff arrays, then get back to me, thank you.

function takeTwoInputs (arrayOfNumbers, targetNumber) {
for(const value of arrayOfNumbers){
let num = targetNumber - value;
if(arrayOfNumbers.indexOf(num) !== -1 && num + value === targetNumber){
return [arrayOfNumbers.indexOf(value),arrayOfNumbers.indexOf(num)]
}
else{
return [-1,-1];
}
}
}
console.log(takeTwoInputs([9,4,5,6,3,1,0], 10))
console.log(takeTwoInputs([2,45,9,6,1,53,9],47))
console.log(takeTwoInputs([4,9,3,5,0,14,10],100))


Great one boss!
It worked but not in all cases again when I switched the position of the 9 and 1 or maybe it's a fault from my end.
Thank you for taking out time to review. I'm really learning from your code.

Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:29am On Apr 14, 2022
LikeAking:
smiley

Haaa! I saw your code in the midnight. It worked for some position of elements in arrays. But not all cases probably because of the arrayOfNumber[0]. I was hoping to come and comment on it when I review proper so that it won't be that I'm too hasty without reviewing proper. Guess you saw it too.

But I was able to learn things from it.
I can still remember parts of the codes I'll try to write a modifications of the code soonest.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:22am On Apr 14, 2022
LikeAking:


Nice!

All this stuffs na d question just dey confusing.

Now I gt the question, find the index position of two numbers in the array that will add up to make the target number.

U dey try.

Good speed!

Thank you boss!

Yeah, the questions are mostly confusing sometimes. I sometimes read over and over then sit over it to understand.

Like when I first read this particular question. My mind went to mathematics indices until I figured it's plural of index that's being mentioned.


Thank you boss! You're always welcome with your contributions

1 Like

Programming / Re: Dairy Of Javascript Challenge by Capslock01: 10:10am On Apr 13, 2022
Capslock01:
Day 6

Create a function that takes 2 inputs: an array of numbers and a target number. Your function should return the indices of the numbers that add up to form the target number. If no two numbers make up the target number, return -1, -1

NB: All numbers in the array can only be used once to add up to the target.

NB2: The indices should be returned in an array

For example:

[1,9,4,5,3, 0] , 10 => Your function => [0,1]



[2,5,9,6,1,53, 45], 47 => Your function => [0,6]



[4,9,3,5,0,14,10], 100 => Your function => [-1, -1]

// Day 6 Solution
//Return index that form targeted number

function takeTwoInputs (arrayOfNumbers, targetNumber) {
    let found = [];
    let result = [];

    for (let value of arrayOfNumbers) {
        if (found[targetNumber - value] === true) {
            result.push(arrayOfNumbers.indexOf(targetNumber - value), arrayOfNumbers.indexOf(value));
        }
        found[value] = true;
    }
    console.log(result)
}

takeTwoInputs([1,9,4,5,3,0], 10)
takeTwoInputs([2,5,9,6,1,53,45],47)
takeTwoInputs([4,9,3,5,0,14,10],100)


PS: might modify this code again later. The output when no two numbers make the target number returned empty Array and not array with elements "-1,-1"
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:52am On Apr 13, 2022
Day 6

Create a function that takes 2 inputs: an array of numbers and a target number. Your function should return the indices of the numbers that add up to form the target number. If no two numbers make up the target number, return -1, -1

NB: All numbers in the array can only be used once to add up to the target.

NB2: The indices should be returned in an array

For example:

[1,9,4,5,3, 0] , 10 => Your function => [0,1]



[2,5,9,6,1,53, 45], 47 => Your function => [0,6]



[4,9,3,5,0,14,10], 100 => Your function => [-1, -1]
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:49am On Apr 13, 2022
africanman85:
Nice

Thank boss

Andrenalin:
i love this lets keep it going...

Yeah boss! I hopeful to keep it coming, God's willing.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:01pm On Apr 12, 2022
LikeAking:


Clapps!!!!!!!!!!!

Wawwwu! Thank boss.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 4:18pm On Apr 12, 2022
Capslock01:
Day 5

Create a function that does the opposite of what yesterday’s function did. It takes the output of the function and returns the input.

Therefore, your function should take an array of strings containing the name, age and level values separated by a slash. Your function should return an array of objects that have the name, class and level keys with their corresponding values.

For example:

[‘Seun/23/100 level’] => Your function => [{name: ‘Seun’, age: 23, level: ‘100 level’}]


[‘Seern/23/500 level’,’BBBgh/twenty three/year 1’] => Your function => [{name: ‘Seern’, age: 23, level: ‘500 level’}, {name:’BBBgh’, age:’twenty three’, level: ‘year 1’}]


// Day 5 Solution
//Unpack Slashed Array of Day 4 Challenge

function returnObjectArray (arrayObject) {
    const trial = [];
    for ( let i = 0; i < arrayObject.length; i++) {
        const splitTheString = arrayObject[i].split('/');
        const testingObject = ([{
            name: splitTheString[0],
            age : splitTheString[1],
            level : splitTheString[2]
        }]);

        trial.push(testingObject);
    }
    console.log(trial);
}

returnObjectArray(['Seun/23/100 level']);
returnObjectArray(['Seern/23/500 level', 'BBBgh/twenty three/year 1']);

1 Like

Programming / Re: Dairy Of Javascript Challenge by Capslock01: 4:16pm On Apr 12, 2022
Day 5

Create a function that does the opposite of what yesterday’s function did. It takes the output of the function and returns the input.

Therefore, your function should take an array of strings containing the name, age and level values separated by a slash. Your function should return an array of objects that have the name, class and level keys with their corresponding values.

For example:

[‘Seun/23/100 level’] => Your function => [{name: ‘Seun’, age: 23, level: ‘100 level’}]


[‘Seern/23/500 level’,’BBBgh/twenty three/year 1’] => Your function => [{name: ‘Seern’, age: 23, level: ‘500 level’}, {name:’BBBgh’, age:’twenty three’, level: ‘year 1’}]

1 Like

Programming / Re: Javascript Help!!! by Capslock01: 4:09pm On Apr 12, 2022
Imoleholuuu:

Please check your mail

Oh, please check your mail. I PM'ed you with (Mo...ap) because I do not have access to the email I used for this Capslock01 account.
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:47am On Apr 12, 2022
Capslock01:
Day 4

Create a function that takes in an array of objects containing properties: name, age and level. It should return an array of strings where each string is a concatenation of all values contained in the object separated by a slash

For example:

[{name: ‘Seun’, age: 23, level: ‘100 level’}] => Your function => [‘Seun/23/100 level’]


[{name: ‘Seern’, age: 23, level: ‘500 level’}, {name:’BBBgh’, age:’twenty three’, level: ‘year 1’}] => Your function => [‘Seern/23/500 level’,’BBBgh/twenty three/year 1’]


// Day 4 Solution
//Combine Properties of Array with Slash

function callArrayOfObject (objects) {
    const emptyArray = [];
    for (let i = 0; i< objects.length; i++) {
        const theIteration = (`${objects[i].name}/${objects[i].age}/${objects[i].level}`);
        emptyArray.push(theIteration);
    }

console.log(emptyArray);
}

const arrayOfObject = [{
    name: 'Seun',
    age : 23,
    level : '100 level'
}]

const arrayOfObject1 = [{
    name : 'Seern',
    age : 23,
    level : '500 level'
}, {
    name : 'BBBgh',
    age : 'twenty three',
    level : 'year 1'
}]

callArrayOfObject(arrayOfObject);
callArrayOfObject(arrayOfObject1);
Programming / Re: Dairy Of Javascript Challenge by Capslock01: 9:45am On Apr 12, 2022
Day 4

Create a function that takes in an array of objects containing properties: name, age and level. It should return an array of strings where each string is a concatenation of all values contained in the object separated by a slash

For example:

[{name: ‘Seun’, age: 23, level: ‘100 level’}] => Your function => [‘Seun/23/100 level’]


[{name: ‘Seern’, age: 23, level: ‘500 level’}, {name:’BBBgh’, age:’twenty three’, level: ‘year 1’}] => Your function => [‘Seern/23/500 level’,’BBBgh/twenty three/year 1’]

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 74
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.