Science topic
JavaScript - Science topic
Explore the latest questions and answers in JavaScript, and find JavaScript experts.
Questions related to JavaScript
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons:
1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to everyone.
2. **Cross-Platform**: It runs on Windows, macOS, and Linux, making it a versatile choice for developers working in different environments.
3. **Lightweight and Fast**: Despite being feature-rich, VS Code is relatively lightweight and fast, with quick startup times and a responsive interface.
4. **Customizable**: Users can customize the editor extensively through themes, key bindings, and settings. This allows developers to tailor the environment to their workflow.
5. **Extensive Extensions**: The VS Code marketplace offers thousands of extensions for various programming languages, tools, and frameworks. This makes it easy to add functionality for different tech stacks, including Python, JavaScript, C++, and more.
6. **Integrated Terminal**: VS Code includes an integrated terminal, allowing developers to run command-line tasks without leaving the editor.
7. **Git Integration**: It has built-in Git support, making it easier to manage version control without switching tools.
8. **Debugging Support**: VS Code offers powerful debugging capabilities, allowing developers to set breakpoints, inspect variables, and step through code directly in the editor.
9. **Active Community and Updates**: It has a large and active community, with frequent updates and improvements from Microsoft. This ensures that the editor stays up-to-date with the latest technologies and best practices.
10. **Intelligent Code Completion**: Features like IntelliSense provide smart code completion, suggestions, and quick fixes, making coding more efficient and reducing errors.
These factors combine to make VS Code a preferred choice for developers across various domains.
Let's collect the best places /platforms /tools that offer affordable solutions to teaching coding to kids starting at age 5. Coding with fun and coding with gamification are becoming increasingly essential approaches. Let's have a list with your thoughts and a continuously updated list to inspire parents, teachers, mentors, and siblings to share knowledge and become effective tech ambassadors. Thanks to Maya Maceka for inspiration.
Block-based coding
- Blockly Games (https://blockly.games), Age: 5, Stack: block-based coding, Javascript
- Code for Life (https://www.codeforlife.education), Age: 5+, Stack: Blockly, Python
- CodeMonkey (https://www.codemonkey.com), Age: 5-14, Stack: block- and text-based coding, CoffeeScript, Python
- Tynker (https://www.tynker.com), Age: 5-18, Stack: Block-based coding, Javascript, Python
- Gamefroot (https://make.gamefroot.com), Age: 7+, Stack: block-based coding
- Code Galaxy (https://www.thecodegalaxy.com), Age: 7-18, Stack: Block-based coding, Lua, Scratch, Python
- Kodu Game Lab (https://www.kodugamelab.com), Age: 8+, Stack: block-based coding
- Kodeclik (https://www.kodeclik.com), Age: 8-18, Stack: block-based coding, Scratch, Lua, Python, Javascript
Programming languages
- Kodable (https://www.kodable.com), Age: 4-11, Stack: JavaScript
- Code.org (https://code.org), Age: 5+, Stack: Javascript, HTML, CSS
- Bitsbox (https://bitsbox.com), Age: 6-12, Stack: JavaScript
- Codemoji (https://codemoji.com), Age: 5-14, Stack: HTML, CSS, JavaScript
- Codeyoung (https://www.codeyoung.com), Age: 5-17, Stack: Scratch, HTML, CSS, Java, and Python
- Create & Learn (https://www.create-learn.us), Age: 5-17, Stack: Python, Scratch, Java
- Code Avengers (https://www.codeavengers.com), Age: 5-17, Stack: JavaScript, Python, HTML5, CSS3
- Coding with Kids (https://www.codingwithkids.com), Age: 5-18, Stack: Scratch, Python, Java
- Codevidhya (https://codevidhya.com), Age: 6-16, Stack: Scratch, Python, JavaScript
- CodaKid (https://codakid.com), Age: 6-18, Stack: Python, JavaScript, C#
- Real Programming 4 Kids (https://realprogramming.com), Age: 7+, Stack: Python, Java, C#, and C++
- Code4Fun (https://www.code4fun.com.au), Age: 7+, Stack: Scratch, Python, Java, C# with Unity, C++ with Unreal Engine
- Crunchzilla (https://www.crunchzilla.com), Age: 8+, Stack: JavaScript
- Girls Who Code (https://girlswhocode.com), Age: 8+, Stack: Python, JavaScript, HTML, CSS
- Juni Learning (https://junilearning.com/coding), Age: 8+, Stack: Scratch, Python, C++, JavaScript
- Scratch (https://scratch.mit.edu), Age: 8-16, Stack: Scratch
- CodeWizardsHQ (https://www.codewizardshq.com), Age: 8-18, Stack: Scratch, Python, HTML/CSS, and JavaScript
- CodeCombat (https://codecombat.com), Age: 9+, Stack: Python, JavaScript, C++, Java, Lua
- Vidcode (https://www.vidcode.com), Age: 9+, Stack: JavaScript
- EduCode Academy (https://educode.org), Age: 9+, Stack: JavaScript, HTML, CSS, Python
- CodeGuppy (https://codeguppy.com), Age: 13-18, Stack: JavaScript
- Roblox (https://create.roblox.com), Age: 13-18, Stack: Lua
Learning Object Oriented Programming (OOP) in JavaScript is a crucial step to mastering the language, as it provides a structured way to manage complex code and allows for better reuse and maintenance.
Hi everyone,
Last few days I was wondering about which JavaScript frontend framework is better to learn and use in 2023? What are the advantages and prospects of each of them?
Would like to see your opinions!
I'm a freshmen and learning Information Technology on Philippines. I've heard that most developers uses Python. But others use JavaScript. I don't know where to start but they are reliable and easy to learn.
I have been experimenting with machine learning in JavaScript, please, let me know also your experience! 😎🤗😍
In attachment a preprint!
Hi, I have a google earth engine code in Javascript. I want to carry out a trend analysis of Mann Kendall from the year 1985 to 2019 pixel by pixel taking the annual medians of the ARVI vegetation index, from the Landsat 8, 7, and 5 images. When I run the code I get the following error " kendallVariance: Layer error: Image.subtract: If one image has no bands, the other must also have no bands. Got 0 and 1.". I can't identify or fix the error. Please review the code thoroughly, identify the error, and show me the solution. Here is my code:
The layer Polygon_A is a vector layer consisting of numerous polygons, created from a binary raster layer with values of 0 and 1. On the other hand, Polygon_B is a vector layer created from user-defined geometrical shapes and contains only three distinct polygon shapes. When subtracting Polygon_A from Polygon_B and exporting the resulting layer as Polygon_C, an issue arises when importing it into Arcmap. Specifically, only one polygon appears in the attribute table, which requires investigation to determine the cause of this problem and how to resolve it.
Below shows necessary JavaScript code related with subtraction of A from B in Google Earth Engine (GEE).
// Define the geometry of B feature
var Polygon_B= ee.FeatureCollection(table);
var B=Polygon_B.geometry();
// Define the geometry of A feature
var A = Polygon_A.geometry();
// Erase A from B and create C
var C= A.difference(B, ee.ErrorMargin(1));
// Convert geometry to feature
var Polygon_C= ee.Feature(C);
print(Polygon_C)
// Export the polygon as a shapefile to a specific folder in Google Drive
Export.table.toDrive({
collection: ee.FeatureCollection([Polygon_C]),
description: 'Polygon_C',
folder: 'Shapefile_GEE', //My Folder name of Google Drive
fileFormat: 'SHP'
});
I am interested in learning Hyperledger Fabric 2.x and smart contracts to create my own API. I took a course in Udemy but it was based on Composer, that was deprecated since 2019. Do you have any idea about a great course preferely in Java or JavaScript than Go Lang?
Thank you
Hello,
My research focuses on analysing software applications that are written using multiple programming languages at the same time; So in summary Multi-Languages-Software-Application (MLSAs) analysis.
In such cases, solutions may be developed using some frameworks such as:
- GWT (Java-XML)
- Android framework (Java-XML)
- Angular(Typescript, HTML, CSS)
Or just a combination of languages like: HTML CSS and Javascript for web development.
My question is: Whenever we have an application that is developed using mono-language, at the same time is calling an external web service using the HTTP/HTTPS protocol, can be considered as part of MLSAs ?
Your opinions are appreciated
Hi, everyone. I'm in the last year of my doctorate and would like to do a postdoc abroad next year. However, I see that many opportunities require extensive curriculum, publications, teaching experience, language proficiency, etc. Should I focus on getting more publications, improving my language proficiency, making contacts, or something else?
I am dedicating myself to learning about Machine Learning algorithms, landslide susceptibility modeling, LULC classification, coding in R (RStudio and Planetary Computer) and JavaScript (Google Earth Engine), and I'm also learning languages (Portuguese (native speaker), Spanish (fluent), English and Italian (advanced), French and German (basic)). However, I don't feel prepared for the Postdoc positions available.
Would it be better to focus on available postdoc position requirements or contact professors who coordinate research groups that interest me? Do I need to have a structured project or could I join some ongoing project?
I appreciate if anyone can give me some tips.
I am trying to get seasonal changed land use and land classification for 1 km area study area. Most of the years in the wintertime period (November to January) have no image by Landsat 5 and Landsat 8. It will be nice if anyone can give me any hints
Good day
I want to use time-series (ET and CHIRPS) as well as single image (DEM) in my regression model.
Is this possible, and if so - what would the step recommendation be?
I have joined the time-series image collections for input, but unsure how to include the stagnant data for training input?
I am working in GEE (JavaScript) and currently I can only do it using the one or the other.
Regards,
CV
I am wondering if this is some sort of a legacy issue, as XML comes with a few drawbacks like speed and human readability compared to JSON. See w3 schools on XML vs. JSON
"JSON is Like XML Because
- Both JSON and XML are "self describing" (human readable)
- Both JSON and XML are hierarchical (values within values)
- Both JSON and XML can be parsed and used by lots of programming languages
- Both JSON and XML can be fetched with an XMLHttpRequest
JSON is Unlike XML Because
- JSON doesn't use end tag
- JSON is shorter
- JSON is quicker to read and write
- JSON can use arrays
The biggest difference is:
XML has to be parsed with an XML parser. JSON can be parsed by a standard JavaScript function." from https://www.w3schools.com/js/js_json_xml.asp
Ansys 19.2 R2 and 2020 R1 versions of Additive Manufacturing Workbench is convenient for powder-based Additive Manufacturing processing. However, in this workbench, there is a machine parameter setting dialogue box and this parameter setting dialogue box has not included the laser power parameter. Without laser power, the powder material will not melt. So, how to add laser power in the machine parameter setting?
Thank you very much for your cooperation

dear community, in order to describe a website architecture design (pages , order of pages, titles,..) I tried to apply web scraping , but till now I can't find a tutorial on how to get this type of data as mentioned below .

Now I want to implement Balloon Analogue Risk Task(BART) in Qualtrics, one way is adding Javascript or HTML in Qualtrics to realize the task. Does anyone know how to programming in Qualtrics? I have found some cods previous researchers have done for BART using Javascript, but not in Qualtrics environment.
Hello,
recently I was asked for a formula to calculate the center of a circle based on GPS coords (Lon/Lat) of 3 registered points at the edge of the circle. The problem is quite complicated due to the spherical surface (it's not the same as the center of the planar circle!), however I found a brilliant solution at Ask Dr.Math (http://mathforum.org/library/drmath/view/68373.html).
I decided to calculate the example presented at Dr.Math in both excel and javascript and I get the same result:
Location 1: Lat 38.714642 Long -90.256857
Location 2: Lat 41.143586 Long -96.238873
Location 3: Lat 38.942661 Long -90.892235
Excel, JS -> center = Location 0: Lat 60.56656708626758 Long -69.01937823602283
however when I put some real-life GPS coords into the calculation I get different results in excel and JS.
P1: Lon 22,366813 Lat 51,159313
P2: Lon 22,387458 Lat 51,153109
P3: Lon 22,39142 Lat 51,167133
Excel -> center = P0: Lon 22,38085184 Lat -51,16107483
JS -> center = P0: Lon 22.38085184 Lat 51.16107483
I see that the latitude in excel (cell 'W10' in the attached file) is calculated with negative value (-), which is wrong (northern latitude is the right one), but why does it happen? When I put some other coords for testing I get only northern latitudes.
I'm sending an excel table and js files with Dr.Maths' coords and my ones. I use Polish version of excel (hope the formulas would change automaticly in other versions) and test my js script at https://js.do/
Anybody could help?

For small molecule drug discovery, we use PAMPA assay to classify compounds into three categeories, high, medium to high and low permeability. My question js that what`s the value of high, medium to high and low permeability? where dose these values come from? any paper mentioned these?
Dear all,
How to solve inverse Laplace transform for the higher-order functions?
for example function f(s)=1/(a*s^5+b*s^4+c*s^3+d*s^2+e*s+f)
First, we do a partial fraction and then apply the inverse Laplace transform formula.
But In my problem, the coefficients (a,b...f) values are changing, not a constant one.
So I have difficulty solving the higher-order function using Javascript.
Kindly suggest any idea to solve this problem.
Thanking you.
Dr.D.Maharajan
I am looking for a tool that is suitable for a collaborative online experiment where the participants can chat with each other synchronous. Furthermore I need the option to implement some custom code. Prefarably JavaScript or Python. Does anyone have experience with that?
We have an experiment coded in HTML/JavaScript, for which we would like to add EEG triggers via a parallel port.
After quite some Google searching, I am impressed how complicated it seems to set parallel port pins via JavaScript.
Therefore my question: Is there an easy solution you could recommened?
We are using a Windows 10, 64 bit system.
I tried to install the node package "parport" via npm but with no luck (fails with error "ERR! code ELIFECYCLE"), which I couldn't resolve.
I am also open to options using PHP or HTML, if there are any.
Any help or pointers are very welcome and highly appreciated.
Thanks,
Nico
I am looking for options of GEE JavaScript code to perform atmospheric correction of Landsat 7-8 and Sentinel-2 directly within the GEE Code Editor.
I intend to use harmonized Landsat 7-8 and Sentinel-2 bottom of atmosphere (BOA) reflectance data across some locations in Brazil during 2017-2018. While Landsat 7-8 BOA data are readily available in GEE (at least for my region and date), Sentinel-2 BOA data are not always available in GEE (yet), depending on the region and date. Therefore, I may need to apply my own atmospheric correction on the Sentinel-2 TOA data - preferably within the GEE Code Editor in order to perform as many processes as possible inside GEE.
To improve harmonization among the different satellite data, the same atmospheric correction method could be applied to Landsat 7-8 TOA data as well.
In summary, it would be great to apply the same atmospheric correction method on Landsat 7-8 and Sentinel-2 data directly within the GEE Code Editor.
While there are multiple Java implementation for managing semantic knowledge base (Hermit, Pellet...) there seems to be almost none in pure Javascript.
I would prefer to use JS than Java in my project since I find JS much more clean and practical and easy to maintain. Unfortunately, there seem to be almost nothing to handle RDF data together with rules inference in Javascript. Although there are some work to handle only RDF (https://rdf.js.org/), it's unclear what is the status of these works regarding to W3C specifications.
Hi all,
Using requests in python we can get json files from different webpages. However, in some cases due to Cloud flare or different cookies, we cannot get the json files. On the other hand, some extensions of different browsers can get any jsons of a webpage. Can we connect a python script to a browser extension to get the json file?
If yes, how?
Thanks in advanced
Vahid
Is anyone familiar with sending commands to the Mesh Editor via the WorkBench Command window or via scripting?
I've done alot of reading on other people attacking this problem but nothing seems to work for me.
- From the command window I try sending actions via "mesh.SendCommand(Command=....." but always get 'command is under defined' errors
- and from the scripting side of things I've tried uploading .js files while the Mesh editor is open that take the style of:
ds.Script.doInsertMeshSize();
ListView.ActivateItem("Scoping Method");
ListView.ItemValue = "Named Selection";
ListView.ActivateItem("Named Selection");
............
.........
.....
but that always gives me an error that states "undefined variable 'ds'".
Any advice or examples on this would be greatly appreciated.
I need advice, I started to master the JavaScript React library and I want to choose a development environment, there are options - WebStorm, Visual Studio Code and Sublime Text.
Hello Researchers,
I have created a browser extension that generates citations in different formats based on the DOI of the paper. It uses crosscite citation as a wrapper to give you the output.
Could you please take a minute or so and try it out, and I'll be happy if you could drop some feedbacks about it.
P.S: Currently available on Mozilla Firefox only.
Thanks.

This figure is about "Percentage change in land use land cover classes over Africa 2000–2015."
It is collected from a paper titled "Mapping land cover change over continental Africa using Landsat and Google Earth Engine cloud computing"
Can anyone suggest link of any supplementary script relevant to this?

I'm starting working on generating web apps UIs automatically applying machine learning methods. I recently read about pix2code and code2pix, which are in the line of what I want to do.
Do any of you know more tools, javascript/python libraries or research papers related to the topic?
Which programming language is best to use for writing smart contracts in Hyperledger Fabric's (a private blockchain) chaincode: Go, Java, or Javascript? What are the limitations of each language provided the programmer has beginner-level proficiency in each?
Note: I programmed my project with JavaScript
The data I am talking about is data that I have queried from DBpedia, and therefore I want to improve the results by applying one of the data mining algorithms..
I was looking for a simulator to simulate a proof of concept in hyperledger fabric by changing the number of the orderer, endorser, organisation, and also wanted to apply consensus in the network. Is there any simulator which can help me in this regard? I also want to make a transaction by coding (e.g., javascript, java).
Any suggestions?
Thanks in advance.
This title might not be very clear, let me elaborate :
Let's say, you're a computer scientist on your browser. You innocently browse the web, looking for a new book about procrastination (or anything else). Suddenly, a click lead you to the homepage of EvilCorpWorld, a (fictional) company incarnating the opposite of your ethical views.
EvilCorpWorld isn't a "common evildoer", they blatantly make the world a worst place. According to your ethical views, they could be enslaving children, selling weapons to warlords, practicing tax fraud at country scale, they support network promoting racism and sexism...
On the homepage of EvilCorpWorld, you inadvertently notice a big security flaw. Something like "click here for rootshell (Admin only!)". For the sake of simplicity, let's say it's an actual flaw, not a honeypot or anything else.
Now you have three possibility :
- to tell : email EvilCorpWorld to warn them about the huge flaw.
- to poke : like with a stick, poke the flaw, trying to see how far you can get. Poking does not mix with wrongdoing on purpose or for benefit. It's more a playful activity.
- to delegate : unsure of what to do, asking someone more versed in infosec what they think
What would be the most ethical-wise thing to do (maybe something other than three options)?
Hello,
I am new in Google Earth Engine Code Editor and I am interested in using the Landsat Mosaics of Collection 4 that seem to be available from MapBiomas from 1985 - 2018. Unfortunatelly, I haven't been able to find the script for Google Earth Engine (GEE). When I use the suggested link (https://mapbiomas.org/en/google-earth-engine), I only get 3 scripts, but none of them gives me the mosaics. Moreover, I get a blank page when I try to find the scripts from the MapBiomas site (http://mapbiomas.org/pages/scripts).
Could anyone please help me find these Landsat Mosaics MapBiomas scripts for the GEE?
In addition, in other scripts that seem to be available for download and mosaic Landsat images in GEE, I can only get 3 Bands of an image. Is there any limitation that has to do with the number of the bands that I can save to raster format, when I use the GEE code editor?
Is it possible to alternatively find a javascript or python script to download, mosaic Landsat images and save the mosaics to GeoTiff format with 7 bands (in GEE code editor)?
We are preparing a paper regarding image processing in raspberry boards, using javascript libraries that run inside browser space, under a new web assembly binary execution machine. Can this topic be considered an "embedded systems" topic? My question arise since Raspbian's browser is used for image processing (being Raspbian an operating system itself), perhaps a reviewer can disqualify the solution as an "embedded one".
For thesis research, I am trying to calculate some metrics starting from Sentinel-1 data and using the platform GEE in JavaScript. I do not know if is possible to calculate the slope.
Have you ever done it?
Kind Regards
Federico
I run an ANCOVA, finding a significant interaction between my treatmente and a covariate. Now I would like to identify the regions of significance in order to state for which values of the covariate my slopes are different. I've triyed "js" function of "probemod" package, but I have some problems. Maybe somebody knows how to solve this, or other methods.
Thank you.
I am trying to add a block that entails a memory game in which images flash on screen for 1000 milliseconds, followed by a word that flashes for 15 milliseconds, then another image, and finally another word. I have been reading various forums to find the right coding to add to the javascript to get the timer right but it doesn't seem to be working.
This is what I could find online:
Qualtrics.SurveyEngine.addOnload(function() {
// first we wait ten milliseconds, for safety
setTimeout(function(){ return undefined; }, 10);
// make the div with id "subliminal" visible
$("subliminal").style.display = 'block';
// make the div invisible again, after 15 milliseconds
setTimeout(function(){ $("subliminal").style.display = "none" ; }, 15);
// click the next button to move on to the next page
$('NextButton').click();
});
But I don't think its working, or perhaps I'm entering it in wrong. I also would like for it to auto advance as opposed to using the next button.
Does somebody know a JavaScript implementation of concatenating two (or more) alignments? A npm package that could do this would be nice. It should be able to customize the behavior of how to deal with missing sequences.
Hello to everyone. I am very new to computer-based experiments. Currently I am looking for Desert Survival Problem software or website that can be used for conducting a lab experiment. I saw in several papers that authors used computer-mediated version of this task. However I can't find any source to download this game. Is it possible that all those authors used self-created games? Thanks for any related information.
My Virtuoso SPARQL (VOS v6) instance rejects HTTP requests from a javascript client despite configuring the CORS.
I’m trying to implement semantic similarity based on Normalized Google Distance and i have many problems to obtain correct data. I tried to simulate browser, get data via Google API (PHP, Java, R, Google Docs) and every time i had different results. Is there any proper way to get accurate and current data?
I actually used MATLAB neural network (Feedforwardnet).
The network has been trained with my data and it worked fine.
I will like others without MATLAB to use the trained network for their own predictions. Therefore, I built a website for this task.
My question is how do I include my trained network on this newly built website so that the user without MATLAB can make predictions through this webpage.
Thanks
I am looking for either prior work, or on going research that enables parallel programming and GPU based hardware acceleration for JavaScript on NodeJS (leveraged via OpenCL instead of WebGL). I maintain a high profile open source project (https://github.com/webpack) and I would like to explore a variety of research involving GPU/Multicore CPU programming to drastically enhance the speed of our Compiler, Parser, and Module Resolver.
I want to use the Java classes in the PHP snippet with the help of javascript or JQuery. As i found one way, using command prompt.. But is there any standard or direct connection exist? I tried but in real-time it won't works smoothly.
Assume washingtonpost.com is blocked by Canandian government and Canadians are unable to access the website either through IP addresses or domain name. And VPNs are banned as well so Canandian citizens cannot use VPN as they want. I want to help them.
I am thinking using WP viewers as "proxy servers". A WP viewer voluntarily becomes a proxy server (using webRTC javascript code invluded in WP pages). Next, A Canadian's web browser will find a list of nearest proxy servers to access WP.
It will be practically unblokable as it means the Canadian government will have to block the internet to do so.
Now, how can a Canadian find a list of nearest proxy servers? An easy solution will be to host a signaling server. However, this solution is not "unblockable".
I then did research on Blockchain. I found that native client installation is required. This is again "blockable" as Canadian government can ban the client the same way they ban VPN. I want everything to be done using a web browser.
Your ideas, or links, or book names, or anything is highly appreciated!
Hi all
Are there any differences between legitimate requests which sent by a user versus requests that had sent because of malicious JavaScript?
which features are used to discriminate these requests and detect type of a ddos attack (browser based vs malware based)?
Thank You
We are preparing for our final year project and have to submit our proposal in few days. We have prior knowledge of html (with basic css and javascript), and also very well familiar with C and C++ using object oriented programming. We are now learning C#.
Having said all that the main point is that our supervisor recommended us to make a web based application with PHP at back end and HTML and JS as a front end.
What ideas would you give me work on? What nature it should have? Its domain or anything else.
I'm building a web based vehicle tracking and monitoring system using php, javascript, mysqli server, html5 and google maps. Because I will not be using an actual GPS receiver, I need to find ways on how to retrieve tracking details and store these details in my database and later will be able to view these details. Please I really need your expertise advice.
What do i change in the text document when i get the error
"Reading from text file 'trial.txt'.
Problem with the text file: Line 1 contains less than two entries:
LM=7
Note: A frequent reason for this problem is that the file contains delimiters other than commas or tab stops.
Errors occurred in the reading process.
The new dataset could not be created."
Afterloading the .txt file into the morphoj software.
Thanks,
Nelly
Could anyone give me some tips or codes to enlarge pictures and open them in a new window using programming language/JavaScripts codes with HTML and CSS?
selenium used for web testing. Is it better or Mocha javaScript tool is better.
I am on Linux platform with MySQL NDB 5.7. I am trying to monitor all traffic related to MySQL clustering – between data nodes, management node and sql nodes. To that end, I used netstat to list all open ports listening on my machine before starting MySQL cluster. Then, I started MySQL cluster and ran netstat again. I assumed that the ports that were listening the second time around, but not the first time, were related to MySQL clustering.
But there are two problems with this. First, there could be ports opened by other processes between the two netstat runs. Second, MySQL might open other ports after I ran the netstat command the second time.
What is the best way to go about finding all ports being used by MySQL for clustering purposes?
I believe ephemeral ports are picked dynamically, so perhaps if I knew all the MySQL clustering related processes that would be running, I can figure out every port that they are using. Pointers will be very welcome.
Recent popularity of design frameworks in all aspects of web development creates numerous JavaScript libraries. AngularJS seems to be such kind of framework. How a developer can prepare a recipe to accommodate all the good components.
I want to convert the audio file to a text file in java i.e first the audio file will be played and after it is played it will copy the lyrics into a text file, and vice versa, in java. But, I don't know from where I will start it, so, can anyone tell me how to do that?
Hello Community,
I'm not very familiar with these kind of tasks and my web development skills could also be better. If anyone is familiar with how to get the source code of an external web site using jquery, javascript, ajax or whatever it would be very cool! :-)
The situation is as follows: I have a list of URLs that were built using a CMS. To the CMS, however, I have no access whatsoever. The previous task was to move all the images by Drag&Drop from an old destination to a new one. Since I'm sure that a lot of images were skipped, my idea was to search the source codes for each occurance of "<img" until a ">" appears. Then within each of these substrings I would search and test whether the new path is missing, and if so, I would list the image name and the page it appears on. That would facilitate the task of checking for forgotten images a big time. My idea was to obtain the source code of these URLs as a sting-variable and fill it into a text area within an html form. Then, once one site was completed, it would do the same for the next page, and so on. The problem with this method (php) is that it requires that the site is refreshed after loading each source code. Maybe some javascript method would be faster?!
I would also appreciate other, maybe less awkward ideas. Also if anyone could hint me to some code snippets I would be very happy.
thanks in advance,
Martin
Hi all,
i'm currently fiddling around with hashfunctions in JavaScript. Allthouth there are some implementations for Blake512 and Blake32, i could not find any implementation for Blake256.
After comparing the definition of Blake256 with some Blake32 implementations, i'm wondering if there is any difference between those two at all. Or is this just two names for the same thing?
Best,
Marc
I am working on visual analytics (VA) topics. One key aspect in VA tools is to combine data visualization with data analysis algorithms (e.g. machine learning) in a highly interactive way. I am specially interested in interactive dimensionality reduction (DR), where the user steers a DR algorithm evolving in a "free runing" mode, whose intermediate results are continuously visualized "during" the convergence, resulting in animated views.
Such approaches are very computationally demanding, since many data have to be processed many times per second, to achieve a fluid dynamic visualization. This requires that the computation is done in the client, to avoid the overhead of communication with a server.
My best guess at this moment is numeric.js, but seems not to be currently under development (last version is from 2012). Am I missing any hot newer library for numeric and matrix computation in javascript?.
Thanks!
I mean to collect the function calling, memory and cpu usage information of a running java application. Are there some existing open-source tools to achieve this?
Can anyone advise me on how to use MorphoJ for geometric morphometrics on a Windows 8.1 laptop that has refused to instal Javascript?
Also, how may I use tpsDig and tpsUtil for other fish species such as of the family Carangidae without the constraint of Stickleback and Poecelid templates?
Embedded system programming.
Does anybody know how I include the Encog library to use in my own project? An example would be great.
My purpose is to process optical as well as sar for standard operations like projection, decomposition etc and mainly implement few of my algorithms.
I have some preliminary knowledge of Java and am totally new for Python. Some site suggest that Python has better references and Java is hard to implement in many cases. Some suggest using Java binding. I am a bit confused.
Which binding do you prefer for me?
I am a windows user.
The bottom hole pressure rise in injection wells.
I would like to add “new lives” to Petri Net diagrams that were published between 1962 – 2014. The Petri Nets with “new lives” would combine the published Petri Net diagrams from the past with JavaScript codes and supporting graphics to create interactive and dynamic Petri Nets in PDF. In other words, the revival creates token game versions of the Petri Net diagrams in PDF.
I am limiting the number of Petri Nets to a maximum of two per year.
Question 1: Which Petri Net diagrams should I include? Why should I include them?
Once I have finalized the list of Petri Net diagrams to revive, I am hoping to finish the work as soon as possible. So before I begin, I will be looking for volunteers who are interested in adding “new lives” to the Petri Net diagrams. I will create at least two token game versions. Thus I will be looking for a maximum of 102 volunteers – one person per token game version. If there are less than 102, I will create the difference.
Question 2: Would you be interested in helping out? If so, please give me a shout.
- john
I’m planning to investigate number of benign/malicious JavaScript files. I read about various methods for JavaScript code analysis (Static and Dynamic) and I want to use ADSandbox for executing these files.
Conference Paper ADSandbox: sandboxing JavaScript to fight malicious websites
I need your urgent help to fix this problem in web design, please.
I need to open an image with a new separate window larger than the original using JavaScript only and only without JQuery Just Html and JavaScript.
I want to make a navigation menu for website using CSS codes + HTML + JavaScript
can I use sql with php , javascript , css , html?
I would like to write client-side scripting to enable an offline web page to store data, but I understand there are restrictions on file access for security reasons. Is there any way of creating and managing a client side database using javascript?
was wondering how to implement Javamail API to send an email using SMTP protocol. l managed to send a mail in java but the same code is not working in android the application is saying error force to close yet l included all permission required. any help please thank you !! ?
Or is the calculation done manually?
For the above question, how to retrieve the hash for the specified image?
I need codes to open a small picture by click on it to open it in a new window using Java Script and HTML codes + CSS styles.
It is a classification of JavaScript code in malicious and non-malicious classes.
Does anyone have experience attaching glycosaminoglycans (CS, KS, HA, HS) to GE Healthcare Epoxy-activated Sepharose 6B beads? Thanks.
I have localhost java server. I haven't used node.js, servlet, JSP, glassfish server, tomcat server or apache server. This server uses TCP/IP connection to connect to javascript trough websocket (HTML5). I can pass data like (abacd,1234,xyz etc.) from this java server to Javascript and display HTML (as web application).
Now I want to transfer ProtoBuf data from this java server to javascript/HTML5 .
I think I can serialize the data in java side but couldn't figure out how to deserialize in javascript side..
Any links, examples, guidance will be highly appreciated.
I want to pass data from Java to JavaScript . I have tried to do this with applet but I don't trust it. What would be the simplest way to solve this problem?
I have a localhost server written in Java and let's say it generates data continuously. My purpose is to send that data to JavaScript. I want to use that data for a web application. I have been looking at AJAX/Jquery, LiveConnect, etc. but couldn't find any correct direction. Can anyone suggest something?
I want to know what is the programming language that people learn programming through? To make the aim of the question clear, please mention the name of the language only. I just want to make a quick survey.
Yesterday, I went to http://try.discourse.org, the new project developed by the Stack Overflow team. This project uses the EmberJs javascript Framework for requesting the content. And unfortunately my browser (Safari) sees the following error in the code:
TypeError: 'undefined' is not an object (evaluating 'PreloadStore.get("siteSettings").top_menu')
The consequence of this error is that no content is displayed; I have a blank page. The javascript error logically prevents the content from displaying.
My question is:
If javascript is disabled in my browser, I can see the content of Dicourse because of the <noscript> </noscript> tag in html.
But if I have javascript enabled and it encounters an error, I can see nothing.
So, in a web app development, is there a way to display the no script content or alternative content if the javascript app encounters an error?
Is it possible to collect data on a fractured surface?
I want to learn both CSS and Javascript but I am a little confused whether should I do CSS first or Javascript first.
Java script access with databases.