HNHacker News
TopNewBestAskShowJobs

throwaway3neu94

168 karma · joined February 1, 2020

submissionscomments
throwaway3neu94··on Thunderbird 2020 Financial Report
All I really want is a great conversations view like Gmail has.

Sadly they only mention it in passing (it's blocked by global indexing).

throwaway3neu94··on Git's list of banned C functions
I think a passing test suite, no diff after clang-format, clean valgrind and clang-analyze checks are not too much to ask for. As long as the requirements are documented and the system is transparent and allows resubmission.

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).

throwaway3neu94··on Git's list of banned C functions
Does it though, or is it more survivorship bias and maybe lucking into finding someone who will spend hours mentoring you?

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.

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
It's thought to be legal but it is not explicitly allowed, and so it requires some legal interpretation and that is not court tested.
throwaway3neu94··on Watchy: Hackable $50 Smartwatch
That is a power hog, compared to say an STM32L4 with, per spec, ~250 nA deep sleep w/ RTC & some RAM (to make it at least somewhat comparable to the ESP) and 50uA/MHz dynamic run mode.

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...

throwaway3neu94··on Reading Candidates’ GitHub Profiles
Agree. It hasn't changed, it's still what Microsofts C# style guide recommends.

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#.

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
Here are the question IDs from the 2019-2023 general and 2020-2024 extra pools.

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

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
I'm not sure what asymmetric encryption has to do with this.

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.

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
Oh. Yes, those DMR radios have T9 keypads. Its awful, but the best we have.

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.)

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
Could you give me an example or two so I can better understand what you mean?

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)

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
I would not recommend analog APRS for reliable text communication, or anything except periodic, unidirectional (radio to internet), fire and forget position/status/etc reports (for which APRS often can't be beat due its to extensive coverage in many regions).

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.

throwaway3neu94··on Handheld two-way radios for preppers and other curious folks
No, we aren't and we like it the way it is.

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.

throwaway3neu94··on Apple releases open source modules of Big Sur
It also gives them creative control.

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.

throwaway3neu94··on Corporate networks weren't designed for working from home
The protocol is not the problem here.

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.)

throwaway3neu94··on The visa woes that shattered scientists’ American dreams
> For both H1Bs and researchers, labor import should include stipulations about minimum salary.

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.

throwaway3neu94··on Indoor CO2 may reach levels harmful to cognition by the end of this century
They should go down to 400ppm because the periodic autocalibration which is on by default assumes the lowest level seen in 24 hours is 400ppm.
throwaway3neu94··on Indoor CO2 may reach levels harmful to cognition by the end of this century
You should be using the newer version, MH-Z19B, not MH-Z19.

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.

throwaway3neu94··on Indoor CO2 may reach levels harmful to cognition by the end of this century
I agree, I've measured this as well. Window in adjacent room (with open door between rooms), window opened 5-10cm, CO2 level stays pretty much down.

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.

throwaway3neu94··on Autodesk Fusion 360 becomes almost useless for hobbyists
In addition to what the two (at this time) sibling posts mentioned, even for hobbyist level 3d printing:

* 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.)

throwaway3neu94··on Bottlerocket, an open source Linux distribution built to run containers
Bottlerocket seems more like a competitor to RancherOS, which is abandonware. (https://github.com/rancher/os/issues/3000)

I liked RancherOS's very few moving parts approach (even your shell is a Docker container). Hope Bottlerocket will be somewhat similar.

throwaway3neu94··on GitHub Container Registry
Or the new competition will force Docker Inc to invest in Dockerhub features again.

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.

throwaway3neu94··on Airline pilots landing at LAX report “a guy in jetpack” flying alongside them
That video is not a one-off. The guy now works as a motivational speaker doing 2-3 of these SR-71 themed speeches every week (http://galleryonepublishing.com/BlackbirdStores/News.html).

I'm sure he wouldn't let the truth get in the way of a good story.

throwaway3neu94··on Ham radio is not dying, it's evolving
See this post I wrote in an earlier thread:

https://news.ycombinator.com/item?id=23468796

throwaway3neu94··on Navy F/A-18 squadron commander's take on AI repeatedly beating real pilot
The EU spends little only relative to the US.

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.

throwaway3neu94··on Navy F/A-18 squadron commander's take on AI repeatedly beating real pilot
It is an interesting, if ethically difficult, question.

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.

throwaway3neu94··on "Much" of the Rust/Wasmtime team hit by layoffs at Mozilla
Who wants to donate when their CEO makes 2.5million/year?
throwaway3neu94··on I’m Peter Roberts, immigration attorney who does work for YC and startups. AMA
How to satisfy the PERM physical notice posting requirement when all offices are closed due to CoViD (keycard access is revoked, all employees WFH)? Is it enough to post it in an empty office and/or electronically on the intranet? What if the office never reopens, or not anytime soon?
throwaway3neu94··on Receiving images of Earth from satellites with software defined radio
Buy this https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/ (even available on Amazon)

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.)

throwaway3neu94··on U.S. Senators Advocate H-1B Freeze for 60 Days or Longer
The problem is not just the per country limit, but also that the total number of greencards available hasn't been updated in decades to keep up with the significant US and worldwide population growth, effectively reducing chances to get one.

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.

throwaway3neu94··on U.S. Senators Advocate H-1B Freeze for 60 Days or Longer
Different reasons for different people. Some combination of:

* 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.

← PreviousPage 2 of 3Next →