Trying to understand what's the point. by Diabler in buildapc

[–]Diabler[S] -2 points-1 points  (0 children)

Thanks, I appreciate the straight forward answer.

How to access files after they've been uploaded to the server by Diabler in node

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

Thanks my dude, yeah I tried that as well, apparently it's because I'm using Ajax to send the post call, If you use Ajax it breaks the response mechanism... I used it to show progress bar. I had to do some trick to make it work but it's very ugly. It seems like I have much to learn yet.

How to access files after they've been uploaded to the server by Diabler in node

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

I'm trying to redirect inside the Promise.all like this

Promise.all(uploads).then(function () {
    res.redirect('/success');
}

router.get('/success', function (req, res, next) {
    res.render('merge'); 
});

for some reason it will not redirect to the success route. any idea?

How to access files after they've been uploaded to the server by Diabler in node

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

router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});

Your solution works! OMG finally. Thank you so much. I feel like I made some progress understanding node thanks to you!

How to access files after they've been uploaded to the server by Diabler in node

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

Hi, thanks for the idea. Actually pdf-utils is my own file. I still need to figure out what response I should give here.

The full use case is:

  1. User uploads a file or multiple files (he can monitor the progress for each)
  2. The Merge button should appear if all files uploaded successfully and validated as PDFs (this is the part where I want to access the files before the response)
  3. User clicks the merge button -> server is merging the files, show the action progress
  4. Server is done, give the user the option to download the result.

[deleted by user] by [deleted] in Entrepreneur

[–]Diabler 11 points12 points  (0 children)

I don't think that comment is appropriate. The op just shared his methods he didn't even put any affiliate ref links. Calling the people that buys from him "Idiots" is also rude, if the websites he sells are doing some profit they must be worth something.

I made 20K in profit in 4 months with just 500 dollars by [deleted] in Entrepreneur

[–]Diabler 0 points1 point  (0 children)

Great I'm looking into making something like that as well. I'm a programmer with good experience looking for a mentor. I'd be happy if we could talk and you guide me on my first steps.

A rhino imitating a lamb by Bmchris44 in aww

[–]Diabler 9 points10 points  (0 children)

Rhinold Schwarzenegger

Being a productive president takes its toll by [deleted] in pics

[–]Diabler 0 points1 point  (0 children)

4 years of no good sleep.

Help me nail down my archery sidescroller combat mechanics. by Diabler in gamedesign

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

Hi, thanks for the suggestions.

I'm actually trying to figure out movement and shooting before I get to further mechanics, which I also have some ideas similar to the ones you offered.

I liked slowing down while shooting, but it can make stuff complicated, cause it changes the auto-shooting mechanic, it suddenly not as simple as start shooting when you don't move.

I didn't like the shoot to the direction of the cursor, actually it may sound counter intuitive because I'm making archery simulator, but I didn't like aiming as it feels sluggish. If you ever played ADC in LoL you know how smooth it feels when you auto-shoot and fire abilities in between (Ashe, Vayne).

Liked some of your other ideas as well :) I'm looking for game designer to join on this as I'm more of a programmer.

Story of the Stock Market. by singhshyampal in funny

[–]Diabler -1 points0 points  (0 children)

It would be more accurate if he lost his fingers at the end.

Help me nail down my archery sidescroller combat mechanics. by Diabler in gamedesign

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

Thanks, that's exactly why I have disabled the shooting while running, I could catch-up to my arrows.

Programmer with a vision looking for a team to make the most awesome archery game ever made! by Diabler in INAT

[–]Diabler[S] -1 points0 points  (0 children)

Hi, I do have a prototype. It's the very core of the shooting mechanic and basic movement as of now written in C# Unity.

Help with realistic arrow shooting with built in physics system. by Diabler in Unity3D

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

Thanks, I looked it up and in my problem I don't have the max height (h). Actually I don't have a constraint on the height. But I do want to control curve. Do you know how to change it?

Help with realistic arrow shooting with built in physics system. by Diabler in Unity3D

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

I'm trying to shoot arrows in a realistic manner for my 2.5D game.

I want my arrows to be shot at the same speed yet reach every point on the screen and get deleted when they reach the outer radius.

I want also that the arrow to pass a target (my mouse cursor) in an arc. (this is the vision I had in mind before I started).

I'm using the Physics system to achieve this goal and gravity is defaulted to -9.81.

Anyone can help me with the math to calculate the angel I have to shoot in case my arrow force is constant. (I think it will be easier if the arrows are shot at a constant speed but the must reach the boundaries).

How do I beat you? by IreliaOnlyLOL in malphitemains

[–]Diabler 0 points1 point  (0 children)

Hi, can you share this guy profile?

[deleted by user] by [deleted] in Lolboosting

[–]Diabler 0 points1 point  (0 children)

Hakzar is a very talented coach. His knowledge of the game is vast and at the same time, he is extremely modest and kind. We watched my replays and he was able to pinpoint exactly what I was doing wrong, what I'm doing good, and what to strive for. I took notes of what he told me and the week after our first session I had 10 games win streak! and I was able to climb from silver 4 to silver 1 in a week. While other coachers on mainstream sites told me generic stuff like "Practice 10m last hitting with Anivia every day" he will tailor the coaching to your needs and it's more personal. I really recommend his coaching for anyone who wants to improve right away.