Sadly they only mention it in passing (it's blocked by global indexing).
168 karma · joined February 1, 2020
Sadly they only mention it in passing (it's blocked by global indexing).
But I agree there is a risk of academic instructors going way overboard in practice, e.g. by flagging actually useful minor standard conformance violations (like zero length arrays or properly #ifdef'd code assuming bitfield order).
I've mentored quite a few first semester students (in my spare time, to help. Not as a job) and there is no way some of them would've passed without serious help.
At some point I used to think privately that CS should have a programming test as an admission exam, because these students did drag everyone down. If medicine and law have admission restrictions, why not CS too?
But I have changed my opinion because I think everyone deserves a real opportunity, and our school system does not provide a level playing field sadly. (Also the medicine & law admission criteria are GPA based and that is the last thing I'd want for CS.)
Anyway the real filter was always maths.
Also you shouldn't just take steady state values. I've had various ESP's on a power analyzer. They take a bit more (like 30mA for many msec? iirc) for a while during wake up (w/ wifi off) before the consumption drops to the final value. For example some of that goes into uncontrolled/undocumented oscillations on some pins (for up to 100ms?), thought that is probably a negligible part.
ESP's are only popular because they're the cheapest/easiest option with WiFi. At least that's why I use them...
https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...
It's also what VS Code autoformats even C++ to by default.
Also I wonder if the other commenters reflexively saying "SQL injection" realize that is just the symptom; the underlying problem is that LINQ is not used. Even if the SQL injection was fixed, a literal SQL query is usually not the right tool in C#.
Vacuum tube amplifier tuning: E7B09, https://hamstudy.org/browse/E4_2016/E7B
Analog slow scan television signal components: E2B10, https://hamstudy.org/browse/E4_2020/E2B
Morse code shorthands: G2C02, https://hamstudy.org/browse/E3_2015/G2C
There are already protocols that are widely used in ham radio that support encryption. For example, DMR supports encryption (because DMR can also operate in commercial bands, under different laws), it's just not used for ham radio and I've never seen a ham turn it on. Wifi supports encryption, and ham radio operators using it in ham radio bands (with more power) actually turn encryption on but document the PSK publicly (in an attempt to keep the non hams out, but make the encryption more an encoding that anyone could decode).
In my experience, ham radio operators generally roughly follow the rules.
For analog APRS, which as I said has questionable reliability (for many reasons), you can use a smartphone app (like APRSDroid) and either an audio cable to the radio (the smartphone acts as a software TNC that will generate the signal, the radio modulates it on the carrier), or a separate hardware TNC which connects to the radio via audio, but to your phone in another way such as bluetooth low energy (like Mobilinkd TNC3). Then you can type on your phone. (In that case, the protocol is still done by the phone, the TNC only generates the signal, the radio modulates it. Which is annoying due to power consumption.) (Analog APRS support which is built in to radios is usually position report only, not messaging.)
You're not entirely wrong, an undocumented plaintext protocol is functionally not much different from encryption.
However, those which are legitimate (ie, just undocumented, not intentionally encrypted/obfuscated) don't tend to cause problems as only one or few ham devs would be using them. They can only get widespread adoption by other hams if they are documented. So this regulates itself.
A corporation, on the other hand, is not like some ham dev coming up with their own protocol. They can design their own protocol, and then roll it out on thousands (or much more) of transmitters. So just one corporation can cause quite a big problem, with zero public documentation.
The laws as they are, together with direction finding skills, are the communities only (legal) tool to defend against that.
That does not mean hams don't see the value in encryption. I do! But it's a trade-off, and I think this is the only way it can work. The legal change I would like to see is explicitly allowing cryptographic signatures. Right now it's a grey area (likely legal, but not court tested)
Instead, try DMR. Does voice, text and also digital APRS. Motorola and Hytera are probably the leading manufacturers of radios. Works direct and via DMR repeaters. If you have a repeater close by, you get worldwide radio to radio / talkgroup calling.
Unfortunately both modes have many, many annoying quirks/constraints.
The last thing ham radio needs is corporations just taking our bands, or ham radio getting banned in unstable countries over espionage concerns.
If you want encryption, use a cellphone, LoRaWAN etc.
It's no fun if you have to go through a multi step technical, managerial, docs team and legal review process where PM makes you include/exclude what they want to turn it into a marketing doc, your manager shuffles your priorities, the docs team makes you dumb it down, blow up the word count and remove external links and convert to .docx that will only be available to registered enterprise customers, and then finally legal tells you you can't write any of this anyway.
Most commercial VPN products are IPsec internally, plus some proprietary authentication stuff. (So much that for several, there are open source reimplementations of just those parts, and the actual IPsec is done by the normal Linux kernel IPsec code. See OpenConnect's PulseSecure support for an example.)
Also, having both run a VPN for a large network, and worked on VPN software for large networks, once you get to high user counts it's not as trivial as you think.
VPNs introduce extra latency, probably the corporate VPN hub is not at all on the shortest path to your actual destination. And corporate VPNs tend to go through (multiple) layers of other filtering. The bottleneck can be Pkts/s, Byte/s or Connections/s and it is not at all obvious which it is. And so on.
Besides, there are reasons corporations pay for expensive VPN solutions - certifications and compliance driven requirements such as integration of endpoint management.
Not saying it can't be done, but "use IPsec or Wireguard" misses the point entirely. (Of course, if those products were using Wireguard instead of IPsec, it would probably help a bit.)
What you are asking for already exists for H-1B's!
To get H-1B you have to first file an LCA (Labor Condition Application) with DoL (Department of Labor) to get approval for the specific salary that'll be paid.
There is a govt database that maps job, skill level and location to a salary. The actual salary has to exceed both the one from the database, and also that for similar workers in the same company.
It would be a valid opinion to say the salary requirements should be increased. But saying there is no minimum salary enforcement for H-1B salaries is blatantly wrong.
The protocol is compatible though.
Also note they come in up-to-3000ppm and up-to-5000ppm variants. Be sure to get the latter.
In case it helps anyone: a very fast way to get it working and get graphs is to connect it to a Raspberry Pi running HomeAssistant. Takes a few clicks and 3 lines of config.
I've also found that when all windows are closed, an air purifier seems to help (or a fan, lowest level is fine). Obviously it doesn't remove the CO2, but it seems to prevent buildup in the one corner where you are (bed, desk). I'm sceptical it's a problem but the data shows it is.
* Openscad is unitless (lengths are like "1", not "1mm").
* Even simple fillets (rounded edges) are so annoying in openscad people leave them out. In Freecad you click the edge and click fillet, and it works even in complicated cases (e.g. multiple fillets overlapping).
* Freecad's constraint solving based approach tends to make your models easier to change than Openscad's scripting approach. In theory, openscad's approach is superior. But you would have to derive and write down the formulas for every parameter of every part, and so in practice you'll end up with too many hardcoded numbers, and your model won't be that easy to change. Changing where the constraints are (e.g. tube inner/outer diameter vs inner & thickness) is also easier in Freecad - especially when parts depend on each other.
* Freecad makes it easy to go back and forth between 2D and 3D drawings. Super useful.
It's like comparing Notepad++ to VS Code. They're both quality text editors. That's missing the point.
For hobby 3d printing (realistically that's 90% of why hobbyists are interested in CAD now, right?) I would recommend to learn both. OpenScad is very very fast to learn (like 1 hour for the concepts for someone who is already a programmer in any language, then you are good with the official cheatsheet) and nothing beats it for simple geometric one off models that you can write down in a few minutes. Freecad for anything beyond.
Also, if you need a simple but nice, easy and free 2D only CAD (e.g. for CNC milling or laser cutting - the type of work people abuse Inkscape for), check out Librecad. (Also check out qcad, the now commercial again product it's forked from. Credit where it's due and such.)
Freecad also aims to eventually become a complete suite. Qcad and Openscad only handle the CAD part. Freecad for example has a finite element method simulation that can be used to analyze stress. Freecad also has a CAM module (CAD is how the finished part should be, CAM is how you machine it. Like when you CNC mill, which tools, at what RPM, feed rate and turn direction, along which paths. Obviously for 3D printing it doesn't matter what Freecad has because you'll use a specialized tool like Cura (free) or Simplify3D (commercial) anyway.)
I liked RancherOS's very few moving parts approach (even your shell is a Docker container). Hope Bottlerocket will be somewhat similar.
Including the free tier, if they want to keep their "world's largest library and community for container images" status. But free tiers cost money.
With RedHat going after Docker itself with their daemonless version of Docker, podman, and docker-ce's lack of cgroupsv2 support, Docker Enterprise having to compete with K8S, and there being multiple entrenched container registry companies (eg Quay) it must be tough at Docker Inc.
I'm sure he wouldn't let the truth get in the way of a good story.
You could just as well double the EU's relative share by halving the US military budget. The US would still spend more than China, Russia, and a bunch of other countries combined. Surely that's more than enough.
It's just that US politicians always frame it as if the total spending had.to remain constant.
Actually, the US military prepared multiple counter strike options, and the president (eventually) picked one.
He then called off the strike a few hours before the time on target, because a faction in the Whitehouse gave him an estimate that the counterstrike would result in 150 casualties.
See John Bolton's book "The Room Where It Happened" for a very elaborate inside account. He is very open that he would've preferred the strike to go through, and while he believes above casualty estimates were much too high, he was very much aware the number would not be zero.
I can see how any US casualties might've tipped the balance in Trump's mind.
So yes, there might be some value. But where it gets complicated is whether the value is positive or negative:
One could say that the US flying only an autononous aircraft that day saved up to 151 lifes.
Use gqrx to listen to the radio, public services / air traffic (if legal where you are. Great fun at airshows), ham radio operators etc https://gqrx.dk/download - requires minimal knowledge to get started (select device, put in frequency, mode (AM or FM) and that's it. Just play). Great time:benefit ratio so far.
There's an excellent video series focusing on SDRs at https://greatscottgadgets.com/sdr/
Then use gnuradio to build your own receiver from predefined blocks.
Start with above cheap receive only SDR, but when you want to transmit, buy a HackRF. You do need a ham radio license to transmit. It's not hard (not even highschool level math). Even if you don't do the license, have a look at the materials linked at https://blog.hamstudy.org/links/ , specifically the linked book (free PDF or paid printed). The fundamentals are excellent and it picks you up where most people are (high school math skills, no idea about RF). If you speak German, the best resource is https://www.darc.de/der-club/referate/ajw/darc-online-lehrga... (also available as printed book)
At that point you should have a better idea where to go, and even enough background to read "real" books like http://www.dspguide.com/ (the math is harder of course). DSP is what SDR is all about in the end. But also other radio related books, like the ARRL antenna book.
(There are alternatives to everything of course, but with above recommendations you will not go wrong.)
Also, EB1/2/3 wasn't supposed to do diversity, that's what the diversity lottery is for.
Also, the limit could've been applied to visas instead of greencards. I don't see how keeping people in limbo inside the US for decades/lifetimes is reasonable. If they are here de facto permanently anyway, they should get a path to citizenship. A two-class society is wrong.
* It's better than the alternative, and it can be made to work, since once I140 is approved you can renew H1 indefinitely (unless sth goes wrong, like right now, but that's a risk that doesn't look so big initially when all is still well).
* The wait only became this bad around 2008 or so. At the time, nobody knew there wouldn't be a realistic chance to get to gc. A lot of people have been in the system since that time.
* It doesn't always start with wanting to move to the US permanently. You go to a US college, or move for a job in the US (maybe the company you've already been part of offered it, maybe not), thinking it'd temporary. Then you build a life, make friendships, and realize you want to stay.
* Or maybe your parents moved when you are a kid and the US is all you know. But when you turn 18, it's F1/OPT/H1 or go to a foreign country (that you happen to be a citizen of, but have no real relationship with).
Above are all real examples I personally know.
Also, while for non-Indian immigrants it is at least possible to get a gc eventually, this is also by no means certain. Very stressful as well.