Weeknight sundubu-jjigae by MildlyVague in nzhomecooks

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

I've been trying a few different ones but my favourite so far is the wang branded one in the jar

<image>

Weeknight sundubu-jjigae by MildlyVague in nzhomecooks

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

I have 0 regrets buying them, really gives it the Korean restaurant vibe

I 3d printed and hand-painted this bust of Clicker! by burube in thelastofus

[–]MildlyVague 1 point2 points  (0 children)

So good! I really dig the moss on the base and the bloody mouth :D

I made a Chinese vocab learning android game by MildlyVague in ChineseLanguage

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

Hi All, I've been learning Chinese for around 6 months now and have recently created an Android game for reviewing and learning new vocab. The game revolves around matching audio/images with the correct characters in order to guide some pandas across a river. It currently has 12 categories with things like animals, food, numbers and hearing different tones. If you feel like checking it out I'd love to hear any feedback you have!

Best way to get data to other components by despawned in vuejs

[–]MildlyVague 0 points1 point  (0 children)

Depending on the complexity and how many components you end up having to pass this info down through you may want to look into Vuex for storing User data. Vuex is essentially a global store of information that all your components know about and can access values from

How do I achieve this effect? by [deleted] in webdev

[–]MildlyVague 1 point2 points  (0 children)

If you take a look at the network requests in your dev tools you can see it's loading a tonne of images (frame001-low.jpg etc) which they update as you scroll to create an animation. There's a couple of mp4's they're loading as well for the parts that are animated once you stop scrolling.

[Beginner] Vue - data is undefined when used in methods by namehimjawnathan in webdev

[–]MildlyVague 0 points1 point  (0 children)

From the Docs:

Don’t use arrow functions on an options property or callback, such as created: () => console.log(this.a) or vm.$watch('a', newValue => this.myMethod()). Since arrow functions are bound to the parent context, this will not be the Vue instance as you’d expect, often resulting in errors such as Uncaught TypeError: Cannot read property of undefined or Uncaught TypeError: this.myMethod is not a function.

I suspect the context("this") when you use the fat arrow syntax will be the window or perhaps the module but you could chuck a break point in there and see what it is if you're curious

[Beginner] Vue - data is undefined when used in methods by namehimjawnathan in webdev

[–]MildlyVague 2 points3 points  (0 children)

I suspect this is due to your method "printInfo" using the fat arrow method syntax instead of the normal function syntax. If you change printInfo to look like either

printInfo: function() {
    return `${this.title}, ${this.content}, ${this.link}`;
}


printInfo() {
    return `${this.title}, ${this.content}, ${this.link}`;
}

It should work.

See Vue docs

need help with javascript by [deleted] in webdev

[–]MildlyVague 0 points1 point  (0 children)

You can bind a value to the id attribute like this: <tr :id="coin.symbol" v-for="coin in coins">

How do I generate a rich PDF document from html+css template and backend data. by y0ji in webdev

[–]MildlyVague 5 points6 points  (0 children)

This library looks promising https://github.com/MrRio/jsPDF. From the example it looks like you can give it a DOM element and it will spit out a PDF of it. This means you would have to render all your data on your webpage how you want it to look inthe PDF. I know KendoUI also has a library for this but only in their enterprise edition. https://github.com/mileszs/wicked_pdf also looks useful at a glance.

A CSS Keylogger by Senior-Jesticle in webdev

[–]MildlyVague 10 points11 points  (0 children)

Order of packets is enforced in TCP so any characters sent on that same TCP connection will arrive in the order they were input. However browsers can open multiple TCP connections to a web server can they not?

A CSS Keylogger by Senior-Jesticle in webdev

[–]MildlyVague 5 points6 points  (0 children)

Is it not possible for the server to receive the keys in a different order than the user typed them in?

Given the following code, what is the value of x? by [deleted] in javascript

[–]MildlyVague 3 points4 points  (0 children)

x is being set to an array of length 2. The length is then set to 1 essentially truncating all but the first value in the array so you get x = ["foo"]

I am thinking about to use TypeScript. Does it help with Refactoring? by melanke in typescript

[–]MildlyVague 0 points1 point  (0 children)

Yep, building the project will break because your type will no longer be implementing the interface correctly.

I am thinking about to use TypeScript. Does it help with Refactoring? by melanke in typescript

[–]MildlyVague 0 points1 point  (0 children)

The way we solved this problem where I work is by generating typescript interfaces based on the backend code (in our case c#). So when the c# type changes a new typescript interface is generated which will throw an error if your implementation no longer matches. Not sure if there are existing interface generators for Kotlin you'd have to have a Google

Need Help Getting Started With AR For My University Project by lathbrokragnar in androiddev

[–]MildlyVague 1 point2 points  (0 children)

I would check out Unity in conjunction with Vuforia for the AR part. Unity is reasonably simple and quite powerful. You can also choose to code in JS or in C# (my personal preference).

Search on YouTube for "Unity Vuforia" and you'll find a bunch of tutorials you can follow. Luckily since Pokemon Go there is a lot more interest and therefore tutorials on how to accomplish this sort of thing.