Reputation
449
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 13
Impact
~13k people reached

  • 0 posts edited
  • 0 helpful flags
  • 26 votes cast
Jul
10
comment save custom ui in pyside (Qt bindings for python)
I'm writting the code to iterate along the children of the container of the widgets. But if anybody knows of a "best practice" or standard way it would be nice.
May
14
comment Data format for binary data transfer
capnproto looks amazing. Would you expand the idea in an answer? from what I understand is a format, but it also has a RPC server/client. I'm between choosing the TLV format with TCP as protocol, or capnproto with it's own RPC server from what I've read/understood/googled.
May
12
comment Data format for binary data transfer
what if the number of channels change? in my case it could happen. It would be the equivalent of connecting another signal to the probe. You redo the handshake?
May
12
comment Data format for binary data transfer
I'm doing the GUI with pyside (the python bidings for qt). The probe can be done in python or C. Or whatever comes in handy really.
May
12
comment Data format for binary data transfer
The header is way too big for streaming data in an oscilloscope. The EDF looks like the SEG data formats used in geophysics. Had you heard of the TLV stream data format that @shawty talks about? looks simply and easy to implement.
May
12
comment Data format for binary data transfer
You are right, TCP is fine. I only wrote HTTP because is what I've worked before. I'll take a look at protobuf.
May
6
comment Why sending a file is so difficult using angular?
Yes, that's why I put the link on the question. But here I don't want to solve the problem. I would like to know why is it a problem in the first place.
May
6
comment Best workflow for a web development team to work on a large amount of projects simultaneously?
You host your code in a git server for example. You make the clone the first time you start working on the project. This should be fast even if the code is large. After, you only have to commit your changes, push them to the main server, and pull the changes others make. Basically. You should also make a database to test what you do, so you don't break the actual database when writing new code.
Apr
29
comment MVC - Checking data in the model or the controller?
You are right. There is nothing about uniqueness.
Apr
29
comment MVC - Checking data in the model or the controller?
How is your database build? I don't see why checking for the uniqueness of the id of the item is no valid, based on what you wrote. Rails has ways to make that kind of query to the database. You don't need to pass a controller attribute to the model.
Apr
29
comment MVC - Checking data in the model or the controller?
+1 for "Dogma has no place in engineering".
Apr
16
comment Transforming XML to JSON in C++
Working with JSON in C++ also seems a bit of a pain, I would use javascript to work with JSON. You can use nodejs to run the code on a console. And if you are new to programming, javascript is a cool language to learn. What is your final goal? that's an important part of the question.
Apr
15
comment How to share memory between applications written in C/C++
@gnat The implementation is clear. How does Boost make that implementation is not on those docs... I don't want to replicate it (that would be absurd) but to understand it.
Oct
31
comment what receives an ajax call?
Then probably AJAX is not what I need and I was totally wrong... what would you use to say, make the server execute a system command like "ls" when the user clicks a button? I need to execute a function in C on the server, using the parameters inserted on the forms
Oct
19
comment reading parameters and files on browser, looking how to execute on server
if you wanted to make an html button execute the command ls on the server, would you do it with JQuery? I got to JQuery looking for Ajax info
Jan
11
comment Best Version Control Habits For Solo Developer?
@tdammers will take a look
Oct
31
comment What keywords are important to speedup the code in C++?
@Mike yes, I'm using -O3, but had not thought about passing references... one item to check for. Thanks.