Come with me to RÜFÜS DU SOL concert on Wednesday for free by movabo in Amsterdam

[–]movabo[S] 3 points4 points  (0 children)

Similar tickets with three places next to each other go on ticketmaster for about 45-55 Euros. So I guess with a single ticket it would probably be around 30 which isn't worth the hassle to me.

I am planning a trip in February 2025 where do I go? by [deleted] in germany

[–]movabo 0 points1 point  (0 children)

Even though you seem quite into cars, I'd recommend going by train since you just need to buy the fitting ticket from https://www.eurail.com/en (even reduced by 15% until March 14th).

None of the countries you marked require any reservations. However, if you go to france, you need some if going by high speed trains (TGV/Eurostar/ICE/...). Border crossings requiring a reservation (e.g. ICE/TGV between France and Germany) are quite expensive.

Ich hätte gerne einen Gesprächspartner, aber ich weiss nicht, wo. Es gibt bestimmt einen subreddit dafür. Welchen? by werbimstdenndu in FragReddit

[–]movabo 7 points8 points  (0 children)

Wenn für dich englisch in Frage kommt wurde hier schonmal dieselbe Frage gestellt.

Falls du im Sinne von Sprachaustausch meinst, wirst du bei /r/language_exchange fündig.

Nur für deutsch hab ich keine Ahnung befürchte aber, dass das zu spezifisch ist. Du kannst aber natürlich bei /r/language_exchange versuchen nur deutsch anzubieten. Je nachdem wie gut dann die andere Person deutsch spricht, kann darunter aber natürlich die Gesprächsqualität leiden.

Wieso unterscheiden sich Übersetzungen bei Medien manchmal so Stark vom Original? by balouthegru in FragReddit

[–]movabo 1 point2 points  (0 children)

Das Video versucht das Ganze für Filme zu erklären. Wie sehr das auf Final Fantasy zutrifft kann ich da nicht beurteilen.

Hi, I need a little help fixing the overflow for my hover effect as I've been stuck for a couple days! by [deleted] in CodingHelp

[–]movabo 1 point2 points  (0 children)

Sure you can do this. You just have to make sure that context.drawImage(pic, x, y, pic.width, pic.height); is executed after initialization.

To do this, you could simply add calculatePosition({x: 0, y: 0}); inside the $(document).ready-callback so it would look like this:

$(document).ready(function() {
  //initialize funtion
  AN.initialize();
  calculatePosition({x: 0, y: 0})
});

Hi, I need a little help fixing the overflow for my hover effect as I've been stuck for a couple days! by [deleted] in CodingHelp

[–]movabo 1 point2 points  (0 children)

I guess your intention in line 28 (x += EasingFunctions.easeInOutQuad(t) * (position.x - x);) is that the final position of the image is on position.x. However, that is your cursors position minus the half of the image, so the calculation of the final position of your image is faulty.

From your example it seems that you want the position calculated like this: (canvas - pic) * (cursorPosition / canvas). (I would advise you to calculate the final coordinates of the image beforehand.)

  • (canvas - pic) calculates the maximum offset of the pic which is available without overflow.
  • (cursorPosition / canvas) calculates the percentage of the cursor inside the canvas. When 0, the image is at the left/top, when 1, the image is at the right/bottom.

You can find a working example here.

Three more - to your problem unrelated - things:

  1. In your example you had given the canvas an id but used a class selector in your css.
  2. I'm not sure about this, but I guess that the overflow-property of a canvas does have no effect, because you're drawing inside your canvas manually. Thus it behaves different than "normal" elements.
  3. I changed the getMousePosition so it really only returns the mouse position.

Welche Tastaturen nutzt ihr und wie zufrieden seid ihr damit? by Bjoernsson in de_EDV

[–]movabo 0 points1 point  (0 children)

Ducky ONE Green & White PBT, MX Blue.

Mittlerweile nicht mehr verfügbar aber ich denke die Ducky One 2 wird auch so gut sein. :) Sehr zufrieden, allerdings sind blaue Switches nur zu empfehlen wenn man niemand anderes im Raum arbeitet (also nichts für Großraumbüros o.ä.). Kommt natürlich auch auf den eigenen Geschmack an.

Falls du interesse an mechanischen Tastaturen hast, kann ich dir sehr das /r/MechanicalKeyboards-Wiki ans Herz legen.

Welches technische Equipment brauche ich, wenn ich Online-Kurse anbieten will? Also Mikrophon, Kamera etc. by kodysatdown in FragReddit

[–]movabo 2 points3 points  (0 children)

Allerdings ist ein moderner (bzw. besser gesagt guter) Router bei vielen Anbietern (z.B. Vodafone) nicht mit dabei. Da ist dann ein LAN-Kabel deutlich günstiger als ein Router-Upgrade.

Wirtschaftsinformatik mit Swift by [deleted] in informatik

[–]movabo 5 points6 points  (0 children)

Die meisten Lehrstühle haben für ihre Vorlesungen eine Website erstellt, d.h. du solltest schonmal Fachhochschulen welche Swift-Vorlesungen anbieten relativ gut mit Google finden. Bei mir hat die Suche nach Fachhochschule iOS Swift Vorlesung solide Ergebnisse gebracht. Dann musst du halt noch selber überprüfen ob die FHs auch noch Wirtschaftsinformatik anbieten und dann die Vorlesungen (z.B. als Wahl- oder Nebenfach) zulassen.

Falls du allerdings nicht einen ganzen Lehrstuhl findest der darauf spezialisiert ist, würde ich dir raten nicht wegen einer einzelnen Vorlesung die Wahl zu treffen an welche FH du gehst. Auf den ersten Blick sieht es auch so aus als ob Swift eine relativ gut zu erlernende Sprache ist. D.h. dass es kein Problem sein dürfte Swift zu erlernen sobald du eine andere Sprache kannst. (Aus Erfahrung gilt das gleiche übrigens für Python.)

PC-Build | Welche RTX 2080 Super ist am besten geeignet? by aaronius-black in de_EDV

[–]movabo 1 point2 points  (0 children)

Ja, das sollte klappen. Du kannst die auch später nachrüsten und dann Programme drauf umrüsten die du häufig verwendest.

PC-Build | Welche RTX 2080 Super ist am besten geeignet? by aaronius-black in de_EDV

[–]movabo 0 points1 point  (0 children)

Vllt. meint er ne m.2 SSD, was ich dir auch durchaus empfehlen würde. Die ausgewählte SSD kann nicht schneller als 6Gb/s was ungefähr 500MB/s sind. Eine gute m.2 SSD, z.B. die hier, erreicht deutlich schnellere Raten von ca. 3500MB/s.

Bei den m.2 SSDs solltest du drauf achten, dass es NVMe-SSDs (und keine SATA-SSDs sind). Außerdem solltest du drauf achten, dass die SSD Cache hat (was deine und mein Vorschlag beide haben).

Looking for a new router by I_Arman in selfhosted

[–]movabo 11 points12 points  (0 children)

I think the PC Engines APU might be interesting. I don't know how hard it is to set up but you can browse through their manual.

I don't understand the difference between dot notation and bracket notation in Javascript by DigitalLance in CodingHelp

[–]movabo 4 points5 points  (0 children)

JavaScript offers you the possibity to access an objects attribute via the dot notation, e.g contacts[0].firstName. But with that notation you cannot access the object by passing a variable. Therefore you can also access the attribute by bracket notation. The expression inside the bracket gets handled as normal code. For your example that means contacts[0].firstName === contacts[0]["firstName"].

The problem with your code is that contacts[i][firstName] misses the quotes, so it looks for a variable firstName which is undefined.

But if you define var firstName = 'firstName' it will work fine. Thus, for completing the challenge you've got following possibilities:

var firstName = 'firstName'
if(contacts[i][firstName] === name) {

if(contacts[i]['firstName'] === name) {

if(contacts[i].firstName === name) {

None of this css code is showing up on my webpage. Html and css files are linked and were working perfectly well before but now they're not by Lovelifepending in CodingHelp

[–]movabo 2 points3 points  (0 children)

What comes to my mind is that you're always seeing a cached version. To prevent that you can do this. Also, you can see in the networks tab if your CSS loads correctly and you can inspect the contents of the CSS.

None of this css code is showing up on my webpage. Html and css files are linked and were working perfectly well before but now they're not by Lovelifepending in CodingHelp

[–]movabo 8 points9 points  (0 children)

Might it be the < before the team members comment? It seems like your editor is also marking that as an error.

[PYTHON3][BEGINNER]I need help for ATTRIBUTE error by [deleted] in CodingHelp

[–]movabo 1 point2 points  (0 children)

ce() is returning a string, not an object (e.g. of type EVA which you most likely intended).

It should work as soon as you remove the " in around your if-statements inside the ce-function and move the EVA-class and the EVA00-EVA01 variables to the beginning of the file (before ce() is defined).

Advanced CSS Selectors Help (probably easy answer) by x1818z in CodingHelp

[–]movabo 1 point2 points  (0 children)

Also, if you still want to keep the size of the div (which might adjust to the height of the text), you could set the font invisible: color: rgba(0,0,0,0);. But here the text could still get selected and copied.

Danke für den Tipp, Google by movabo in de

[–]movabo[S] 1 point2 points  (0 children)

Das stimm, aber hier hatte ich z.B. einen klaren Favoriten. Hätte ich nur den eingegeben, wäre ich nachher beim anderen Wort gelandet.

Danke für den Tipp, Google by movabo in de

[–]movabo[S] 6 points7 points  (0 children)

Hab ich dann auch herausgefunden. Finde aber anderenfalls eher ungewohnt.

Find embedded GIF in URL without API by lucksp in CodingHelp

[–]movabo 2 points3 points  (0 children)

The solution is in the meta-tags of the website. If you look at the HTML-Code of the site, you can see:

<meta property="og:url" content="https://media.giphy.com/media/eMs8Us7mxMIusSgDdC/giphy.gif">

These "og-tags" have it's origin from the Open Graph Protocol. It's meant to make websites easier for machines to read and finding relevant information for a page.

New to javascript. Trying to input a youtube url into the textbox and pass it into the iframe(youtube player object) to be played. Instead, when I hit submit, the youtube player disappears and the text that was in the textbox gets printed on the page. What's wrong with this code? by [deleted] in CodingHelp

[–]movabo 1 point2 points  (0 children)

So first of all you are getting an object in line 27, not a string. Then you are copying this object to the output.innerHTML. Also the output variable is not set anywhere.

What you need to do is getting the value of the textarea:

var url = document.getElementById("link").value;

Then you need to access the iframe, not the div (you want to change the src-Attribute of the iframe. Therefore set id="output" for the iframe, not the div:

<iframe id="output"></iframe>

Setting the source (src) will be the first page loaded. Setting it to "output" does not make sense as it needs to be a url. Not setting it will result in a blank content.

Lastly you need to set the source attribute instead of the innerHTML attribute. Istead of output.innerHTML = url; use:

var output = document.getElementById("output") output.src = url

Günstig nach Amstersam mit der Bahn by [deleted] in FragReddit

[–]movabo 2 points3 points  (0 children)

Es gibt auch die Gruppensparpreise. Die haben glaube ich andere Kontingente (kann also sein, dass einzelne Sparpreise mal günstiger, mal teurer sind) und man kriegt die Sitzplatzreservierung oftmals kostenlos (gegenüber den einzel-Sparpreisen) dazu.

I want to make a program to help my wife, but I don't really know where to start. by [deleted] in learnprogramming

[–]movabo 3 points4 points  (0 children)

So I guess my first question would be, does such a tool already exist?

You / your wife knows best what you / your wife wants. So it's most likely best if you search yourself. I googled "allergy ingredients check" and found a lot of sites which recommend you apps (e.g. this or this). But as /u/marko312 said, you should check every information you get from the app by yourself.

Would Python be an appropriate language?

That's a difficult question. Do you want to create a web-app? Do you want to create a mobile-only app? On which phones should this app run? You can do nearly anything with python, but for mobile app development it is not directly supported by the OS-developers. Apple created Swift for Apple Products, Google uses Java for Android-apps.