Forgot your password?
typodupeerror

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

Media

+ - Exporting a display to an MPEG stream? 1

Submitted by wowbagger
wowbagger (69688) 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."
Programming

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

Submitted by wowbagger
wowbagger (69688) 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."
Networking

+ - Sub-Slashdots down

Submitted by wowbagger
wowbagger (69688) writes "It seems that many of the sub-Slashdots (e.g. ask.slashdot.org, hardware.slashdot.org) 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."
Programming

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

Submitted by wowbagger
wowbagger (69688) 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;
};
to

<some_struct foo="42">
    <bar>6</bar>
    <stooge which="larry"/>
  </some_struct>
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!"

Some people claim that the UNIX learning curve is steep, but at least you only have to climb it once.

Working...