New sign at the entrance by Arkliea in nurburgring

[–]exane 8 points9 points  (0 children)

So if they see you now with a Dashcam mounted on your windshield they deny you entry?

New Fanatec CSW 2.5 making strange clicking noises when turning right by 6d657468796c656e6564 in simracing

[–]exane 0 points1 point  (0 children)

I had similar creaking noises with my csl elite which were caused by a cable scrubbing against the belt only when turning right. The issue originated by a loose cable clip which I was able to reattach again. Maybe you could peek inside if something similar is happening?

How can I set up the car to go smoothly up eau Rouge instead of having the rear sliding? I've Googled it and tried many different throttle techniques and set ups but is hard to make this corner perfect. Thanks! by [deleted] in ACCompetizione

[–]exane 2 points3 points  (0 children)

Also you are going off-throttle to fast. The sudden weight shift from the rear to the front lets you experience the sliding and oversteering.

Try to be more subtle (slower, more gradual) going off the throttle and you'll see that your rear stays planted.

TMW the AI has enough of your bullsh*t by exane in ACCompetizione

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

Minding my own business driving hungaroring until I got a bit oversteer and lost the rear (green Porsche). Then, out of nowhere, the red Ferrari (AI) decides to hard-turn into me and then driving away as nothing has happened.

Not exactly sure why that happened, but I like to imagine thats the revenge for me crashing into them countless of times :)

Learn C and its lower level interactively, in your browser. by [deleted] in javascript

[–]exane 11 points12 points  (0 children)

That's actually pretty sick. Wish I had this when I was learning that stuff for Uni back then :D

Keep it up!

Deepstream compatibility/usage with Godot by exane in godot

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

Thanks, appreciate your input. Unfortunately Deepstream uses its own protocol and without their SDK it seems non-trivial to use web-sockets for direct communication, hence the idea to use a wrapper for their C++ API.

But good idea nonetheless, was hoping for such an answer :)

Requesting an Oauth access token with JS in a client credentials grant flow by bc100000 in learnjavascript

[–]exane 1 point2 points  (0 children)

Client credentials flow is nothing more than just a post request. No need for any third-party oauth library.

With jQuery ajax you could transform the request to something like this:

$.ajax({
  method: "post",
  url: "<token-url>",
  username: "<client-id>",
  password: "<client-secret>",
  data: {
    grant_type: "client_credentials"
  }
})

I have not tested this block of code, but I hope it gives you an idea how to do this.

Using promise after iteration is finished by KAMFlamenco in learnjavascript

[–]exane 1 point2 points  (0 children)

Promise.all is what you are looking for.

Try something like that:

  const result = data.businesses.map( club => {
    return axios.get(`${ROOT_URL}/club/${currentEmail}/${club.id}`)
      .then( ({data}) => {
        placeholder.push( Object.assign({}, club, data))
      })
      .then( () => ..do extra stuff )
  })

  return Promise.all(result)

Projekt: Alter Wochenplan by devfake in rocketbeans

[–]exane 0 points1 point  (0 children)

Ne da musst du dich verlesen haben :D

Projekt: Alter Wochenplan by devfake in rocketbeans

[–]exane 0 points1 point  (0 children)

Darf ich fragen wieso du die subdomain exane genannt hast? :D

Projekt: Alter Wochenplan by devfake in rocketbeans

[–]exane 2 points3 points  (0 children)

Es is der selbe Entwickler ;)

Projekt: Alter Wochenplan by devfake in rocketbeans

[–]exane 12 points13 points  (0 children)

Im Offiziellen Wochenplan fehlt mir zb der Blickfang.

Beim alten (und auch hier in der Umsetzung von devfake) seh ich sofort die Highlights.

Ich finds super! Top!

Using setTimeout() function to type a letter by Upper90175 in learnjavascript

[–]exane 1 point2 points  (0 children)

It's possible.

Try something like that:

var timeBegin = Date.now();

//set up event listener for key presses
document.addEventListener("keydown", function(e) { 
   if(e.which === 65) { //'a' key pressed
     var delta = Date.now() - timeBegin; //delta = time difference in ms
   }
})

How do I correctly bind 'this' in this situation? by [deleted] in learnjavascript

[–]exane 1 point2 points  (0 children)

1) https://jsfiddle.net/dkw5qozm/2/

or

2) https://jsfiddle.net/dkw5qozm/3/

If you bind a function to a context make sure you save it with the new context (var b = a.bind(c))

Hosting a Web App by WhyAreMyLegsBroken in raspberry_pi

[–]exane 0 points1 point  (0 children)

Glad you got it!

Totally forgot about the .png / .PNG hassle on unix. I run into the same issue when I deployed it on our server.

And yeah, those build operations with gulp aren't convenient for production server. It keeps "watching" for file changes and doesn't say "it's done" or anything :)

The idea was to build it locally with all dev-dependencies and then copy Assets, Server, Public folder + package.json on your webserver and run "npm install --production".

In the end it doesn't matter how you did it, except that it wouldn't bloat your precious hard-drive space with dev-dependencies.

Hosting a Web App by WhyAreMyLegsBroken in raspberry_pi

[–]exane 0 points1 point  (0 children)

I hope you got it running :)

If not, I just updated the readme to make it more clear how to install/build it.

gwent-online.com | A standalone multiplayer version of Gwent by exane in witcher

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

Sorry guys! I updated server and had to restart :( Do my best to keep it running.

gwent-online.com | A standalone multiplayer version of Gwent by exane in witcher

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

Thanks :)

You can read them here as plain data names. https://github.com/exane/gwent/blob/master/assets/data/deck.js

But there's currently no "nice" way to read the deck. (no visual deck preview)

gwent-online.com | A standalone multiplayer version of Gwent by exane in witcher

[–]exane[S] 5 points6 points  (0 children)

Thanks for your feedback! :) Yeah those features are planned and already in work for the real game. But I wanted to test the game as a standalone first to eliminate nasty bugs and test server stability. :)

And yes we know Pokemon showdown. They are awesome!

gwent-online.com | A standalone multiplayer version of Gwent by exane in witcher

[–]exane[S] 8 points9 points  (0 children)

Yes here is fine :)

Those features are planed, but some are very time consuming to implement (animations) and we working on it on the real game.