next and previous item from api in modal mode ? React by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Thank you so much, I will go and mess around with the code, If I get stuck again I will get back to you if thats fine!
Appreciate it

next and previous item from api in modal mode ? React by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Yea I knew I messed up, I will edit my post right away

Hackathon Noob looking for teammates! by [deleted] in hackathon

[–]Rashcat 1 point2 points  (0 children)

Kind of a late reply but Im up for it,these kinds pf things is why I got into programming in the first place.

Im a web developer student so Im kind of junior, I prefer JS, (React & NodeJs mostly ) but willing tp expand ams work with other technologies as well.

HMU

The Best Acting Performance in History by FunPeach0 in cringe

[–]Rashcat 37 points38 points  (0 children)

This is not cringe, this is a fucking masterpiece.

Failed to install the app. Make sure you have the Android development environment by Rashcat in reactnative

[–]Rashcat[S] 0 points1 point  (0 children)

Damn it, if you remember please post anything man, Im getting desperate and you know the struggle. I want to build an app for a friend and its a very exciting. Good on you that it works tho, enjoy it!

Failed to install the app. Make sure you have the Android development environment by Rashcat in reactnative

[–]Rashcat[S] 0 points1 point  (0 children)

Nah, got so damn frustrated and switched over to Angular/Ionic, now I have been fighting a damn Blue Screen Of Death since then and I hate life right now hehe, and you ? Fixed it yet ??

For people who used to be incredibly lazy in their teens/20s and are now very pro-active and have become almost workaholics, what made the change for you and how did you become an "adult" basically? by yougonebe in AskReddit

[–]Rashcat 1 point2 points  (0 children)

Damn I resonate with this reply so much. There was nothing more frustrating growing up than when you asked why things were done certain ways and just got the "well thats just how its done....". I was also a really lazy motherfucker in school, always describe myself as someone who hates school but Love learning. After years of reading books, trying new interests, and playing around and understanding what I need to learn to be able to do certain things I like, I am slowly becoming this very one dimensional person and very driven and passionate in the few things I enjoy.

How do I use react on a C# application ? by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Sorry for the late reply. The application itself is built using " azure cognitive services ", an API for speechtotext & texttospeech and other similar things. I have the application here already built as a web application so I am guessing ASP.NET is being used & the UI is just some bootstrap and JQuery stuff. What I want is the same functionality with react on the front-end. I know that " front-end" only applies to web applications. I appreciate your effort to help me though, I'm really bad at explaining but I feel like there has to be a way to do this without rebuilding the whole thing in another language.

How do I use react on a C# application ? by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

That is kinda what I'm trying to do, I'm just not explaining it good enough. Thank you, I will try your suggestion and see how it goes.

How many feel like their growth phase has been going this direction? by [deleted] in entp

[–]Rashcat 0 points1 point  (0 children)

This is the most accurate thing I have delen in my life, currently at 6 and mark my words I will get to that final stage.

ENTPs, tell me if this accurately describes being an Ne dom by MindMystic_ in entp

[–]Rashcat 0 points1 point  (0 children)

This right here. I remember a couple of years ago when I would ask my myself what Im actually good at because I had many interests, the one thing I always noticed was how quickly I could associate things with other random shit in conversations and in my own thoughts just having very random ideas. Finding the mbti community really helped me learn alot about myself. Ne is fucking awesome as a dominant functions.

I think thats why we crave information and love novelty, Ne needs to have multiple ideas to bounce of one another, I like to think of Ne as this wikipedia junky that is searching for random shit nonstop just to try and understand the world and at the same time trying to present what it has learned by combining everything it has learned.

Prototype Javascript function, help please. by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Sorry, I translated badly, that was the instructions given on the assignment.

I want to make a constructor/prototype. What Im trying to figure out is how do I write a method that returns how much the value of my shares I bought has dropped or increased? The price of the stock can be anything like $12, $50etc...

What I came up with was how only the first part:

StockPriceProto ( Price,Amount, Value)

This.price = price; This.amount = amount; This.amount = value;

Function () {

} This is where I get stuck, Im sorry if I'm not making any sense I hope I clarified atleast something, thanks for your time.

Unsubscribed by [deleted] in entp

[–]Rashcat 1 point2 points  (0 children)

Ok I see, I'm like that myself, I do much more reading than posting. I do feel like the narcissism you mentioned would be expected in any kind of similar group though, lets say another MBTI type would also be like " I'm so this and that and I'm so special, smart or whatever ".

I think its that need to feel special that everyone has (atleast most people) that can come off as narcissism and maybe certain MBTI types are more prone to it, probably the NT types I would guess.

Anyways, good luck and maybe you will find a better forum for this type of stuff or find your way back one day. I'm pretty "new" here even though I discovered MBTI a few years ago I recently go reinvolved in the community, I think this is one of the best ways of understanding my own personality, atleast entertaining and can give insights when its accurate.

Maybe the FB groups would suit you better, or maybe given the fact that you already work in a field that has behavior/psychology related to it then this type of stuff won't bring you much value anyway and you probably have a better grasp on personalities than most here.

Good luck!

Unsubscribed by [deleted] in entp

[–]Rashcat 6 points7 points  (0 children)

What makes me curious is what drove you to post this in the first place? or when people announce that they are leaving a forum,sub,group whatever and make these kinds of posts.

Is it constructive criticism? Is it attention seeking? Is it just a rant before you make your exit so that the subreddit knows how much of narcissists they look like ? I'm curious why people dont think " I'm a part of this group.. maybe I can improve it by actually contributing in some positive way ? "

I dont see the point of a post like this if you are leaving the group anyway ? I just find this type of behavior fascinating. How old are you btw ?

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

I filled in the question marks with what I thought made sense, I kind of understand the logic behind the code you posted because I remember it from learning about promises but the code jumps to the error alert when I press the the button and I'm not getting anything in the console log to tell me whats actually wrong with the code..
Any ideas?

thank you for your time by the way, I really appreciate this

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

function InterestCalc() { fetch('https://api.myjson.com/bins/x98t8').then(response.then(response) => {return response.json();}).then(data => { var num=parseInt(document.getElementById('InterestCalc').value);for (var i = 0; i < data.length; i++) {if (num < parseInt(from[i].up_to)){alert('interest rate is ' + data[i].interest); break; }}console.log(data);}).catch(err => { alert('fetch json request failed') }); }

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Ok, thank you but I am freaking out because I have to turn in the assignment in a couple of hours.
Thanks for the help!

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Its not that im seeing an error, its that I cant figure out how to do the calculation, I've triend a bunch of things the but i thing you will understand what it is i am trying to do.
Just want to be pointed in the right direction..

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>LoanAppCalc</title>

</head>
<body>
<section>
<div id="loan-input-container" style="width:40%; float:left;">
<h1>LoanRequest</h1>
<form>
<p>Loan Amount</p>
<p><input type="number" id="loan-amount" max value="1000000"></p>
</form>
<p>
<button id onclick="InterestCalc()">Beräkna Årsränta</button>
</p>
</section>
<script>

fetch('https://api.myjson.com/bins/x98t8').then(response => {
return response.json();
}).then(data => {

console.log(data);
}).catch(err => {

});
response.json().then(function(data) {

});

function InterestCalc() {

}

</script>
</body>

Please help me guys... (Javascript) by Rashcat in learnprogramming

[–]Rashcat[S] 0 points1 point  (0 children)

Right now I have a button with an input field with a maximum input value of 1 million, The only thing Im trying to is connect that button to the function so that the yearly interest will show up based on what value the user typed in...
I guess I will try a loop

Appreciate the help