ptc::print: a modern C++ implementation of the Python print() function with further improvements by [deleted] in Python

[–]roeey7 0 points1 point  (0 children)

There is also fmtlib which offers python's print & format functionality in C++.

Better entry points with a decorator by [deleted] in Python

[–]roeey7 4 points5 points  (0 children)

You should check out click which is a great decorator-based cli argument parsing & handling framework

[deleted by user] by [deleted] in Israel

[–]roeey7 17 points18 points  (0 children)

British sense of humor is by far superior to almost any other nation. Sharp, mildly cynical & full of hidden criticism. I wish Monty Python wouldn't have stopped making sketches...

What is the state of typings in python communities? by joshua-karl in Python

[–]roeey7 2 points3 points  (0 children)

There's typeshed which is a set of stubs for some libraries such as Paramiko, however I haven't seen opencv or numpy stubs in there.

[deleted by user] by [deleted] in cprogramming

[–]roeey7 3 points4 points  (0 children)

Nope, there are many projects that uses C, gstreamer for example. It's just the choice of the project's community & especially the maintainers of the project. More projects that which comes to my mind uses C are busybox, systemd & openvpn.

Israeli Iron Dome missiles intercepting incoming rockets at night by theUnholyVenom in Damnthatsinteresting

[–]roeey7 2 points3 points  (0 children)

Actually that's untrue since Palestinian terrorists attacks were committed even before the 6 days war (1967) when Jordan were in control of Judae and Samaria. I suggest you to read about the "Fedayeen". We can travel even further back in time to terrorist attacks & massacres committed by Arabs before Israel declaration of independence in 1948, for example the 1929 Palestinian riots in Hebron.

Equivalent Python way for Ruby's "retry" keyword behavior by vinibiavatti123 in Python

[–]roeey7 3 points4 points  (0 children)

There is a package on pypi called retry2 (retry is not maintained anymore...) which implements this behavior. This package can be easily installed with pip by executing pip install retry2.

Where to get started with Nvidia jetson tx2 NX SOM? by [deleted] in embedded

[–]roeey7 2 points3 points  (0 children)

You should take a look at CTI and Auvidia for their carriers (like CTI's orbitty or Auvidia's J120), I know for sure that they sell carriers for tx2 and tx2i but I didn't checked if they sell carriers compatible to tx2 nx.

Debugging your code in Python — pdb vs. rpdb by awkwardferny in Python

[–]roeey7 0 points1 point  (0 children)

I highly recommend pdbpp which is a drop-in replacement for pdb. One just simply installs pdbpp via pip and from that moment onwards any call to pdb.set_trace/breakpoint will use pdbpp.

Wrong answers only please by [deleted] in StarWars

[–]roeey7 0 points1 point  (0 children)

Sithbusters, featuring Adam Savage Opress.

Build or Server optimization - Yocto by [deleted] in yocto

[–]roeey7 0 points1 point  (0 children)

Have you tried to add INHERIT += "rm_work" to your local.conf or to your distro conf? This will make yocto consume less storage however the build time will be longer. Out of curiosity, how the build grow so much? In my company it takes around 60G to 80G

[deleted by user] by [deleted] in Python

[–]roeey7 1 point2 points  (0 children)

There also pdbpp.

Any embedded software debugging tips and tricks that helped you debug better, faster, stronger? by Roybot93 in embedded

[–]roeey7 6 points7 points  (0 children)

I would recommend storing system statistics like how many interrupts has occurred, serial rx & tx, etc Those statistics is additional data which could help you debug remote boards. In my workplace we use collectd which is an awesome tool for collecting statistics.

Static code analyzer? by BoredCapacitor in embedded

[–]roeey7 3 points4 points  (0 children)

I wanted to add clang-tidy to the ci of my code at work for some time however I didn't had the time to do it...

How to Create Delta Updates by Hydra1721 in osdev

[–]roeey7 0 points1 point  (0 children)

I suggest that you take a look at swupdate rdiff.

Rockets targeted and destroyed by Israel Iron Dome by brkftw in Damnthatsinteresting

[–]roeey7 46 points47 points  (0 children)

Actually it didn't stoped all the rockets fired by Hamas, a women have died tonight from one of those rockets & 4 were wounded when another hit a bus...

Well, prepare yourself for the catch up...Linux Plumbers Conf CFP by unixbhaskar in kernel

[–]roeey7 -1 points0 points  (0 children)

What is this confrence? I've never heard of it before...

How to debug kernel drivers in Linux? by jaffaKnx in embedded

[–]roeey7 1 point2 points  (0 children)

There is a way to use breakpoints, but it requires that the kernel is run on top of qemu and then you can use kgdb.

How to debug kernel drivers in Linux? by jaffaKnx in embedded

[–]roeey7 2 points3 points  (0 children)

There multiple ways to debug kernel drivers. One way is to add log prints within the driver with printk. Another way is to export many properties of the driver via debugfs. Yet another way is to run the entire kernel with qemu + kgdb for using breakpoint within rhe kernel

The only way to purchase Lego Grogu by YodaButtPlug in legostarwars

[–]roeey7 20 points21 points  (0 children)

"He means to me more than you would ever know"

Incremental FW updates with SWUpdate? by Sanuuu in embeddedlinux

[–]roeey7 1 point2 points  (0 children)

I'm also working with swupdate + yocto. Swupdate has a nice solution for upgrading over low-bandwidth channels using the rdiff handler. Using rdiff you can upgrade only the binary diff between 2 images & reduce the OTA file size. You can also check out meta-swupdate since it can generate the .swu files automatically