How to save the position of the elements when the page is reloaded. I use draggable in Vue [closed] - list

Closed. This question is not written in English. It is not currently accepting answers.
Stack Overflow is an English-only site. The author must be able to communicate in English to understand and engage with any comments and/or answers their question receives. Don't translate this post for the author; machine translations can be inaccurate, and even human translations can alter the intended meaning of the post.
Closed 3 days ago.
Improve this question
With v-for I create a list and dragging works in it, but how do I keep the position of the elements on reload?
Tried to use LS but can't figure out how to implement

Related

How do I implement text forms(?) using django or HTML [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
First sorry for my bad english and my unclear question.
I am trying to make my own blog that can post articles.
Using django basic form is convenient, but its form is just plain.
I want to be able to underline, change colors, and use images.
So basically I want to the feature the image below
the picture
I want to implement the thing in the black oval (I don't know its specific name... T.T).
So is there any APIs or feature implemented in django itself? Or can you tell me what it is called? I don't know what it is called in english so I can't search for it at all..
Thank you for reading my question.
You can do it bytinyMCE, quilljs.
But you should have basic understanding how django form works.

How can I "do stuff" on a webpage through C++(or suggest another language) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What I exactly want to do is this:
I want my program to take this link
http://answers.yahoo.com/dir/index;_ylt=Aj_zP9qxkgoIzbqd5GR_zkH05nNG;_ylv=3?sid=396546041
and retrieve a list of all the questions in a page or any selected page. That part is easy through simply going through the page, but I want to be able to "do" things such as typing an answer in the console or window and post it in the question in that forum. Or be able to upvote/downvote and do most of the operations that require a button click. Save questions for later view and other things like that.
My approach for retrieving info is using C++ to parse the info from the page by going through it line by line. But I have absolutely no clue how to send information such as button pressing and other stuff. I even don't know how to search for it because I'm not sure what it's called.
Use sockets api (windows sockets or posix on linux);
Connect on 80 (or any http) port to your server;
Send a http-header and get/post parameters (should be urlencoded);
Receive response.
Keywords: http-protocol, berkeley sockets, c++, good luck!

Generating varying questions (Django Tutorial modification) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to modify the tutorial poll that Django provided. I'm interested in varying the question displayed each time the user selects an answer. Specifically, pull questions randomly out from a .txt file, but keep the answer selection the same.
Can I use the model from the tutorial or do I have to create a new one?
Hi, welcome to SO. You may wish to check this page... How to ask
questions on SO - its best to ask a specific rather than general question here and show what you have tried to date.
Having said that this doesn't really sound like a job for django's model classes which are designed so that
Each attribute of the model represents a database field.
Source
You are best to use the existing poll tutorial model, but build a view which takes a text file and loads it into the database. For instance something like this SO post, and this one may get you started.

Requesting advice for "visually" filter a collection in ember.js [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm writing a basic ShoppingCart App as my first ember.js application. The first feature is to filter products based on a keyword. The entire product catalog is displayed first:
https://skitch.com/nicholas.henry/gw5js/online-store-all-products-active
And when a keyword is clicked the products are filtered (opacity is set to 0.2):
https://skitch.com/nicholas.henry/gw5kn/online-store-selected-products
I have this feature working, but am looking for some design advice/review. You can try it out at: http://shoppingcart-js.heroku.com/
I am doing this using a binding on a property 'isActive' on the product model, but this doesn't seem quite right to me. It feels like I'm missing another object to track this property, as this is really a view property, not a model one. The code is here:
https://github.com/nicholasjhenry/shoppingcart.js/blob/95ffd2e3eb5aaf2e9e6c44c71f19b06c29c84a93/site/javascripts/application.js
I would greatly appreciate anyone take a look and make a recommendation to help me implement this feature with a better design. Thank you.

C++ to create a Game for Nintendo DS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Well, I'm trying to do a small game for DS-DSi in C++. Just for fun and feel happy.
I was wondering if there is any guide or I could get some help with getting started. I have no clue how it works or how to make it boot on the DS.
Thanks~
I suggest getting a nds flash cart, like the cycloDS (for the DS) or an R4i (for the DSi). Thats how you can run your creations on the actual device.
Here is a good list of tutorials starting from the beginning (setting up your environment, getting the armKit etc) on DS development.
Tutorial: https://web.archive.org/web/20111219201907/http://dev-scene.com/NDS/Tutorials