Categories
Mastering Development Software

Should I prepare for embedded firmware/software engineering or both?

I have looked far and wide and am confused about the path I am taking from this point forward. My background in short: Bachelor’s degree in Computer Engineering, May 2018 (the combination of electrical engineering and computer science) 2 years of experience of combined internship (6 months), test(1 year+), and now a firmware engineer (5 […]

Categories
Mastering Development Software

Suitable networking protocols for low latency, one-packet messaging

What would be some suitable transport and application layer protocols for a secure payments network where low latency is a key goal? Here "low latency" means completing an encrypted transaction as fast as is possible given current networking technology, taking much less than one second for the networking bits, all round trips included, not counting […]

Categories
Mastering Development System & Network

MySQL Workbench connection to a MySQL server running in a Google Cloud VM instance

I have a google cloud vm instance running a Ubuntu OS and I have installed a mysql server there. The server is running and I can check the status by sudo service mysql status I have modified the mysql my.cnf file as, [mysql] bind-address=0.0.0.0 I have setup the firewall of my instance as follows, IP […]

Categories
User Help

PC suddenly cannot do layer 3 communications any more

A PC running Win7x64 always functioned properly until a power off yesterday. From then on, the IP layer of its 3 network interfaces (2 LAN, 1 WL) only partially function any more. A backup was taken at 00:30, so the interface was necessarily OK until then. In the morning, I had to shut the PC […]

Categories
Mastering Development

Tensorflow 2.0 – tf.estimator.DNNClassifier training for big datasets

I’m trying to train a DNNClassifier labels = [‘BENIGN’, ‘Syn’, ‘UDPLag’, ‘UDP’, ‘LDAP’, ‘MSSQL’, ‘NetBIOS’, ‘WebDDoS’] # Build a DNN classifier = tf.estimator.DNNClassifier( feature_columns=feature_columns, hidden_units=[30, 10], n_classes=len(labels), label_vocabulary=labels) def input_fn(features, labels, training=True, batch_size=32): ”’ An input function for training or evaluating ”’ # Convert the inputs to a Dataset. dataset = tf.data.Dataset.from_tensor_slices((dict(features), labels)) # Shuffle […]

Categories
Mastering Development Software

Best way/tool to manage class from an ICD?

It’s common that I’m given an ICD and I need to make software that will be able to talk to it. While there are messaging protocols like protobufs or json, whats the best way to essentially take a raw byte stream and map it to a class. Currently I use an xml file that basically […]

Categories
User Help

ffmpeg disable scaler / rtp stream

I have some problem with ffmpeg scaler. I receive (via sdp) VP9 video stream and then – transcode to H264. Main stream (input) can changes resolution on fly, but output – cannot. I want to change output resolution based on input resolution / on fly. [graph 0 input from stream 0:1 @ 0x563b9c008cc0] Setting ‘video_size’ […]

Categories
User Help

ffmpeg libvpx-vp9 change clock rate

I have some problems with live vp9 encode via ffmpeg. ffmpeg -loglevel debug -protocol_whitelist file,crypto,udp,rtp -i /tmp/sdp_files/33228ae0-ed0c-4935-9da4-c55ae6a177b8.sdp -r 30 -an -max_muxing_queue_size 1024 -quality realtime -threads 16 -tune 1 -c:v libvpx-vp9 -speed 16 -f webm udp://232.3.4.5:7540 Input stream Input #0, sdp, from ‘/tmp/sdp_files/33228ae0-ed0c-4935-9da4-c55ae6a177b8.sdp’: Metadata: title : – Duration: N/A, start: 0.084000, bitrate: N/A Stream #0:0, 31, […]

Categories
Mastering Development System & Network

Can’t join Active Directory from another subnet

We have run onto an issue that computers can not join active directory while being on another subnet on our network. It seems that network configuration is not the problem: firewall is completely open and the computers are set up to use the main DC as their DNS server. It works and both the computer […]

Categories
Development System & Network

How to connect from one WAN to the other on single machine and VM network?

I have quite complicated network setup, but I am also newbie in routing and similar topics. My ISP is providing several static IPs via PPPoE, let’s call them IP0, IP1, IP2, IP3 and so on. IP0 is assigned to the router, and provided to the entire LAN, and also to my host by the interface […]