Hi,
Looking for a minimal way to convert mp4 file to mp3 file in java, ideally I also need an cutting of target file.
Do java libs support this or only 3th party ones? jmf, ffmpeg?
Thanks!
I am trying to learn SETL, and I am scraping by with this tutorial, but I'm curious if there are any better ones out there. Also, is there a windows compiler for it? I can only find a Unix binary.
So I was looking at the facebook HTML with firebug, and I chanced upon this image
and came to the conclusion that facebook uses this large image (with tricky image positioning code) rather than many small ones for its graphical elements. Is this more efficient than storing many small images?
Can anybody give any clues as to why facebook would do this.
i have a table named news with 3 fields i.e (id, news, time) and i have a setInterval after every 3mints to fetch news from google or any news site ....
now i want to fetch only new rows inserted after every 5 minutes...with jquery $.ajax()...how can i do that...
do i reload the whole table or there is a way to fetch only the new ones...
By default, parent_id = 0. I want to select all records with parent_id = 0 and only the last ones with parent_id 0.
I tried this, but it didn't work:
SELECT * FROM `articles`
IF `parent_id` > 0 THEN
GROUP BY `parent_id`
HAVING COUNT(`parent_id`) >= 1
END;
ORDER BY `time` DESC
What could be the solution?
I want to make sure all of my flatpages have the "www" subdomain and redirect to it if they don't. I've looked at some middlewares that redirect to www, but 1. they usually redirect all urls to www and 2. the ones I've found don't work with flatpages.
I don't want all of my site urls to redirect to include the www subdomian, just the flatpages.
Anyone know how I should go about doing this?
Thanks
Hi,
How do I run an update and select statement on the same queryset rather than having to do 2 querys, ones to select the object and one to update the object?
the sql would be something like
update my_table set field_1 = 'some value' where pk_field = some_value
Thanks
I've gotten in the habit of using a general catch statement and I handle those exceptions in a general manner. Is this bad practice? If so, how do I know which specific exceptions could be thrown and which ones do I catch?
i have a tree menu that i need to open on specific branch.
1. on click on an A element i open the all next UL.
now i want to close all other UL exept the ones that are parents of the A element.
i want to write a function that will get an argument that is a A ID and will open the menu in the right place.
example of my code
Hi, I have a web page that has several divs embedded and I'm having a problem when a table has too many rows; when it does, the containing div falls short and bottom ones are displayed on top of the background instead.
Any hints on how to troubleshoot this ? I've tried setting several attributes to the different divs with no luck?
Thanks in advance
I have been exploring the possibilities of Microsoft Silverlight and how it runs in web browsers. I just wonder if Silverlight requires the .NET framework? Meaning that Mac or Linux users cannot run Silverlight. I will be making the application using the .NET framework 3.5. Will this application run in any web browser, or just major ones like Internet Explorer, Firefox, or Safari?
What kind of frameworks / libraries are used to develop cross (console)-platform games, like ones that get released on Xbox 360 / PlayStation 3 at the same time? Or similarly, Xbox Live / PlayStation Network / WiiWare all at once?
Surely such things are not freeware, but just... what are they in the first place?
A lot of tech interviews asks these "kinds" of questions, so I thought I'd make a list for myself and others:
(1) Linked Lists
(2) Strings
(3) Trees
(4) Bitwise Manips
(6) Recursion (I hate these ones, I can never get these, any tips?)
I mostly use Eclipse but have mentionned Netbeans on my cv. Are there any good concise and up-to-date tutorials apart from the official ones that could bring me up to speed on how to use the IDE efficiently (shortcuts, debugging, views ...)? This excludes programming tutorials as I don't really need them unless there's a special manipulation involved.
I'm trying to log URLs that access broken images, using an HTTP module to catch those images when accessed.
How do you retrieve the URL where that image sits on? is there a way to do it the other way round too? That is, loop through images served in a URL and decide which ones are broken.
This is all in ASP.NET with C#.
I am working on a legacy C app which uses makefiles. I am more comfortable (and more productive) working from within an IDE, so I am looking for an IDE that can import the makefile and create a project.
Incidentally, these are hand written makefiles (not complicated ones like those generated by Autoconf). I am using Code::Blocks at the moment, but it seems it is unable to import makefiles ...
I have put together a Skin for OpenHome but have since ran across AHome code for their IPhone theme and was wondering that if I included for AHome their Dock_Bg or widget_drawer among other things which is not on OpenHome that the Launcher for the respective screen replacement would just call the items it uses.I want to keep the mb as low as I can but reach more handsets.I can just make seperate ones but see many that include even Freshface as well as OpenHome and AHome.
The ones they use with grouped table view.
I'm using a table view that links to another view that has text on it. To make it look less 'plain' I wanted to add that striped background and then put something like a white 'text box' on that.
Do they allow it to be used?
I have one number that has something related to the currentdate :
634101448539930000
634101448627430000 (this information was took 9 seconds later than the first one)
I have many codes like this and I need to know what those number means. It's something related to the current time, because the new information has always a bigger number than the older ones.
Please if anybody could help me, thanks
Do the really really really really really really really big games (I mean the REALLY big ones, that cost billions to develop) also use Open GL? Or are there some proprietary technologies out there, which can scare Open GL's pants off?
How would you use Matlab to do the following? I've got fuzzy square images about the same size and then inside the fuzzy square there's smaller fuzzy squares, and I want to clean up the larger squares - not the smaller ones - so that they are no longer blurred. It looks like I'd have to make some type of morphological mask, but I'm not sure how in this case.
I've set up a basic html/php submission form where people can register for our event, but need a way to replace the submission form webpage with one that reads something like "We have reached our registration limit" when we reach a certain number of submitted forms. Our database is MySQL (if that makes a difference) I've looked around on the web but people either say to count the entries by hand, or the ones that do have an automated system use CMS like drupal or joomla. Is it possible to setup an automated script that will do this?
Hi
How would I write a selector that would look through say a div of textboxes and find which ones have a value in the textbox(so length would be greater than zero).
Can I do this all in one selector or do I have to get all textboxes then loop through them?
The ones they use with grouped table view.
I'm using a table view that links to another view that has text on it , to make it look less 'plain' I wanted to add that striped background and then put somthinkg like a white 'text box' on that.
Do they allow it to be used?
Ok so I have about six of these calendars on page, so thats around 180 td items (1 for each date):
each td has an id that is equal to that day's timestamp.
the dates I want are the red ones (class of .booked).
So i need the fastest way to 'serialize' the ids for td.booked items, any ideas?