Better HN
topnewbestaskshowjobs
Log inSign up

sobakistodor

-9 karma · joined May 11, 2021 (5y ago) · 19 submissions

Submissions

comment 11mo ago · link · parent

RTL-SDR is not for beginners only, it is great cheap every day SDR with known parameters. If you know what you are doing, RTL-SDR solves 90% of your receiving tasks. It is noisy in some frequency range, it has spurious signals, it is only 8 bit, but professionals easily deal with all there things. As you learn more in radio world, RTL-SDR open new opportunities for you and will never die as a receiver. Later you will start writing your software for it to process I/Q samples.

comment 5y ago · link · parent

We develop Web in C++ and all our protocols looks like this:

  serializer.put<uint32_t>(item).put(another).put(this);
  if (writer.valid()) {
    // no overflows or other problems
    socketwriter.write(serializer.data());
  }
Simple. Bytes. Dont care about any "protocols".

comment 5y ago · link · parent

Modern means: "we analyzed all bad things about the thing and fixed many of them". Paradigm in "modern"-term is "more time - better solution". So "modern" - many time passed.

comment 5y ago · link · parent

> No…

Yes. I don't need any micro-freezes.

> Are you seriously implying that C was not designed for large projects?

C was designed to move from asm to something highlevel. C made possible to write larger projects than in ASM. That's all. There is no absulute measurement of project size, only relative: larger->smaller. Go goes to "smaller" direction compared to C++.

All that arguments about safe/bugs etc is old. In modern C++ you write with no controlling memory allocation at all and you dont write your own arrays with can be overflown.

comment 5y ago · link · parent

Have experience with GO. Feels like C in terms of lack of templates, and feels like Java in terms of "how I avoid world-freezes by GC". Go seems semantically less rich than C++ language makes you write MORE code for the same thing you would write in C++ using your HTTP-framework.

comment 5y ago · link · parent

As I remember, Go was "invented" to allow writing SMALL projects, where people previously used Bash/C/Perl. Like all these small command-line utilities and scripts to solve Site-Reliability-Engineer-tasks or DevOps-tasks. Using Go in projects larger than "multithreaded custom-binary-format to CSV converter" or "daemon watching sensors and inserting ROWS to some DB" is not very good. Big thing about GO is lots of libs available for everything (but in that view Python is better).

comment 5y ago · link · parent

Java makes you think about its GC. "What i must do to prevent GC wake up". Always re-use allocated objects and so on. Or you turn off GC. So, you got C++. But with C++ you write smaller code (considering C++11...C++20 standards) compared to Java, so why you need "bloated C++-like language (Java is) if you can use C++".

comment 5y ago · link · parent

It is good idea in terms of long-term money spendings: if you already have good C++ HTTP framework, you spend less cpu/memory and can make web-service\site that can live forever for 0.00001 dollars a month. Of if you planning to serve lost of requests AND want users to feel low latency responce, you have no options: Rust, Go, C++, maybe something else. Main fight must occur on the "C++ vs Rust" scene, but C++ certainly wont die in another 20 yers, so you happy using it for long-term projects.

comment 5y ago · link · parent

You just using some "framework" to develop C++ apps. This framework should give you place for you DO_FUNCTION() and everything else is implemented: 80-port-listening, DB-interaction and so on.

comment 5y ago · link · parent

I've been generating tons of ideas my entire life. This is why I KNOW how cheap the ideas is and, also, how hard it is to implement something and make is usable/working/needed/cheap... And this is why I work as software developer (execution person), not manager\idea-generator. I must keep myself in ABILITY to implement things - this is what i don't have for free, unlike the ability of generating ideas: every day I have 5 new genious ideas of some city garbage collection automation with bidrs or a new neural-network GPS-replacement-by-photo thing. When I hear somene's good idea i STEAL it with no regret/sorry and with clear conscience. When person tell me its really GOOD idea, i just trying to implement it before he found a way to do this (this never happend with idea-people) and I dont give a shit who generated this idea, dont giving any credits to original person intentionally to punish idea-people for not goind anything. Also, knowing my ability to generate tons of ideas I feel no shame to steal another's ideas, because it cost nothing for me: I could generate this idea myself another day easily with the same genius quality. So, idea people, give me you ideas and go to hell. Tomorrow I talk to another idea-person and forget you. Ideas is like air: today i inhale the air who was exhaled by someone else and this is not called stealing. So, you must implement idea to proof its existance. Tell me that I stole your idea looking at my project - i dont care. Your blabla does not change whom MY working project belongs to, sorry, haha.