Slashdot is powered by your submissions, so send in your scoop


Forgot your password?

Submission Summary: 0 pending, 48 declined, 3 accepted (51 total, 5.88% accepted)

DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Submission + - Exporting a display to an MPEG stream? 1

wowbagger writes: Has anybody ever heard of a VNC-like tool that, instead of exporting to Microsoft Remote Desktop Protocol or VNC, exports the display to a UPnP hosted MPEG stream?

With the rising number of set top boxes/TV sets/media players that can play MPEG content from a UPnP server, a program that could scrape a display, convert it to an MPEG stream, and send it via UPnP to those devices could allow many existing devices to act as a remote display. Yes, exporting via MPEG wouldn't be as "good" as via a protocol designed for such a purpose, but unless and until you see all these devices coming with a VNC or RDP client, that option is not open.

Even better would be a program that acted like vncserver in that it would create a virtual display that persisted even when no client was connected, so that an otherwise headless server could be viewed via a set top box.

Submission + - Adapting a tool that uses SVN to use GIT instead

wowbagger writes: There are plenty of tutorials on using GIT as a replacement for Subversion — to access a Subversion repository using GIT. But what I need is a tool that allows a (unfortunately closed-source) program which "knows" how to use SVN to access a GIT repository — that is, almost the exact opposite. The tool is Enterprise Architect, a Unified Modeling Language tool, which can use SVN to provide version and configuration control over a UML model. What I'd need would be a tool that used the same command line parameters as "svn" but accessed a GIT repository. Obviously the full range of GIT capabilities wouldn't be available to Enterprise Architect, but if it can do basic functions that would be good enough.

Submission + - Sub-Slashdots down

wowbagger writes: It seems that many of the sub-Slashdots (e.g., are down (all attempts to access them get a "connection reset by peer"). I've seen this over the past several days, at several locations. And since there don't seem to be any "report a problem with Slashdot" links anymore (just bug reporting against Slashcode) I thought I'd submit this as a story. I don't expect it to be published, but it would be nice were it to be FIXED.

Submission + - Code generator to parse XML into C++ structs?

wowbagger writes: Does anybody know of a tool which will allow defining an XML grammar and C++ structures, such that the output of the tool is code which will parse the XML and fill in the C++ structures?

What I have is a LARGE number (many hundreds) of structures defined by a communications protocol (e.g NOT BY ME), which I wish to log to an XML file, and also read from an XML file into structures in memory. Yes, I could write all the parsers by hand — I could also stick a fork in my eye. I'd rather not — I'd rather find a tool to describe the structures and the XML to and let the tool build the code.

In other words, I'd like to automatically generate the code to go from

struct some_struct
  int foo;
  int bar:4;
  enum {larry,moe,curly} stooge;

<some_struct foo="42">
    <stooge which="larry"/>
and vis-versa.

Yes, I'd have to tell the tool *how* to map a structure element to XML — there'd be no way for the tool to infer the grammar from the C++ — but just generating the code and RelaxNG schema would still save a lot of work.

Does anybody have any ideas? I cannot believe everybody else is writing this stuff by hand!

Slashdot Top Deals

Every nonzero finite dimensional inner product space has an orthonormal basis. It makes sense, when you don't think about it.