How to enable gimbal lock when using ArcballCamera
Vote count: 0 Using rajawali library. I am using a sphere to show a 360 photo, with sphere's scaleX set to -1 and camera's position to Vector3.ZERO, I am able to see the 360 photo from the inside. With ArcballCamera to replace the default camera, I can use touch gesture to see all the 360 degrees. T...
How do I use an HTML DOM Event on new tab load?
Vote count: 0 I have a custom homepage which loads upon opening a new tab in Firefox. I want to reposition the caret on load but I can't find the event which will handle this on a tab load. The window.onpageshow and window.onload events do not work when the page is loaded from a new tab event, but w...
How to filter backbone collection to show tags
Vote count: 0 I'm creating a bookmarking tool that lets you create a list of stored bookmarks from an in-page form. The list will include an identifier tag (eg - Amazon www.amazone.com tag: shopping). From this created list, I want to also have a list showing the various tags that have been named. T...
How do I externalise my Data
Vote count: 0 I am new to d3.js and Javascript and currently trying to build a graph using d3. My data is placed in a dataArray var currently but I want to exte alise it. Every time I try use either another file or different data format it does not work. Here is my code: <!DOCTYPE html> <html> <head...
Creating a web portfolio for jobs
Vote count: 0 I'm trying to create a web portfolio of websites I've designed. Does anyone have any suggestions on how to create a portfolio of websites, especially just the design? I don't own any domains so they wouldn't be live sites. asked 1 min agoW. Brown Let's block ads! (Why?)
Painting/rendering issue on IE10
Vote count: 0 I haven't tested IE9, however IE10 is rendering a popup carousel with weird lines all over it. The reason why I think it's a rendering issue, is because it is completely rendom, and it also fixes it self if I move the cursor over it or click anywhere on the dom near the issues. I've tr...
Python3: If statement in a for loop keeps getting skipped
Vote count: 0 I have the following code where I break the for loop if the IF condition is met. def fib_huge(n, m): a=[0,1] for i in range(2,(m*m)): a.append((a[i-1] + a[i-2])%m) if a[i] == 0 and a[i-1]==1: print(a) break print("a[8]=",a) print(i) r = n % (i-2) print("r=",r) in the if condition if I ...
ffmpeg: how increase segment count in m3u8 file?
Vote count: 0 I try to convert a *.mkv file to HLS(m3u8) file with this code in ffmpeg : ffmpeg -i foo.mkv -acodec libfdk_aac -vcodec libx264 -s 800x600 -f segment blah.m3u8 when converting finish i see that only 5 name of segment exist in m3u8 file, a sample is : #EXTM3U #EXT-X-VERSION:3 #EXT-X-TAR...
How can I do the equation
Vote count: 0 I Have a Two Table Table Number one That Contain two Column First Column Student - like ( ossama - mohamed - ali) second Degrees Of student like (300 - 280 - 170) Table Number two That Contain two Column First Column Schools Degrees like ( 280 - 250 - 160 ) Second Column Schools Name l...
Creating a report by querying an existing MySQL database
Vote count: 0 I have been querying an exte al database and creating a 'report' using a Jupyter notebook and pandas. I want to make it web-based. I have looked into Django and Flask and I have no experience with both. Does anyone have any suggestions? The database I am querying information from is on...
CSS tooltip tail with image
Vote count: 0 Tooltip tails in CSS are possible, see for example here. I am looking to do similar CSS tooltip tails, but with a background image. See for example Twitter's card tooltip (look in the top-right co er): How can I do image tooltip tails? asked 39 secs agoRandomblue Let's block ads! (Why?...
mssql from databases
Vote count: 0 All software I'll need. All hardware I'll need. All coding languages I'll need to know. Other skills that I'll need. Please add anything in addition to these points of information for mssql asked 29 secs agoburak yılmaz Let's block ads! (Why?)
JSON File - Java: editing/updating fields values
Vote count: 0 I have some JSONObject(s) in my workflow, and the same JSONObjects are stored by writting them into a json file. I would like an efficient way to update the json file, only fields where is needed, with the content of newer JSONObjects instances. Eg: On file i have ObjectOnFile = {key1:...
arrayList.contains doesn't invoke overrided equals
Vote count: 0 In PacMan DFS problem i represent each points with the following static i er class static class Point{ int x; int y; public Point(int x, int y){ this.x = x; this.y = y; } public boolean equals(Point p){ System.out.println(this+", "+p); retu (this.x == p.x && this.y == p.y) ? true: fals...
What does 'module' refer to in Java?
Vote count: 0 I'm taking a data structures class right now, and we have a programming assignment. One of the guidelines is to keep code 'modular,' about a page per module. We never used this term in my programming class, and I can't really tell if 'module' in this case refers to class, method, or so...