Readit News logoReadit News
dbcurtis commented on It's hard to build an oscillator   lcamtuf.substack.com/p/it... · Posted by u/chmaynard
buescher · a month ago
> There’s an old electronics joke that if you want to build an oscillator, you should try building an amplifier

The way I heard it was "amplifiers oscillate and oscillators don't".

dbcurtis · a month ago
The way I've heard it is: Being a microwave engineer is the easiest job in world. You basically only do two things, design oscillators and design amplifiers. What's the worst thing that can happen to an amplifier? It oscillates! And what's the worst thing that can happen to an oscillator? It won't start, but it's usually still a pretty good amplifier. Win-win!
dbcurtis commented on DEC64: Decimal Floating Point (2020)   crockford.com/dec64.html... · Posted by u/vinhnx
stephencanon · a month ago
IEEE 754 is a floating point standard. It has a few warts that would be nice to fix if we had tabula rasa, but on the whole is one of the most successful standards anywhere. It defines a set of binary and decimal types and operations that make defensible engineering tradeoffs and are used across all sorts of software and hardware with great effect. In the places where better choices might be made knowing what we know today, there are historical reasons why different choices were made in the past.

DEC64 is just some bullshit one dude made up, and has nothing to do with “floating-point standards.”

dbcurtis · a month ago
It is important to remember that IEEE 754 is, in practice, aspirational. It is very complex and nobody gets it 100% correct. There are so many end cases around the sticky bit, quiet vs. signaling NaNs, etc, that a processor that gets it 100% correct for every special case simply does not exist.

One of the most important things that IEEE 754 mandates is gradual underflow (denormals) in the smallest binate. Otherwise you have a giant non-monotonic jump between the smallest normalizable float and zero. Which plays havoc with the stability of numerical algorithms.

dbcurtis commented on Open-source communications by bouncing signals off the Moon   open.space/... · Posted by u/fortran77
cactacea · a month ago
Expected array gain: ~39.3 dBi / EIRP: ~63.1 dBW

Tx power: 1 W per antenna

Yeah... so free space path loss at legal frequencies for hams this thing can transmit on is ~283dB. Neat idea but consider me skeptical. Having said that I can see some interesting applications for this kind of gear, EME seems overly optimistic though.

dbcurtis · a month ago
At those power levels they would have to use some kind of highly error-corrected modulation and coding scheme to provide enough coding gain to overcome the path loss. I agree they are pretty optimistic, but until they detail their modulation scheme, it's hard to tell.

A few years ago I was experimenting with 900 MHz LoRa for a work project -- we had need to communicate a very small data payload from inside elevator cabs, with forgiving latency requirements. So we took a LoRa board to a hotel building 2 city blocks away from our lab and cranked the coding gain up to the max, which gave us about a 1 byte payload every second. Perfectly sufficient for our application. Astoundingly, we had great copy in our lab even when the doors of the elevator cab were closed, inside a building 2 blocks away. I can't remember the power level, 500mW I think, but I may be wrong.

dbcurtis commented on Open-source communications by bouncing signals off the Moon   open.space/... · Posted by u/fortran77
cactacea · a month ago
Not impossible, just extremely difficult. I'm a ham and getting some contacts over moonbounce is a personal goal of mine. Historically this kind of thing has required some pretty large antenna arrays and very high power though:

https://hamradio.engineering/eme-moonbounce-bouncing-signals...

http://www.g4ztr.co.uk/app/download/13284489/RaCcom_Feb14+EM...

http://www.g4ztr.co.uk/app/download/13300096/Radcom_Mar144+E...

dbcurtis · a month ago
Isn't there a moon bounce mode in WSJT (or one of those digital modes) that provides enough coding gain that 100W and a single large Yagi is enough? I seem to recall hearing something like that... but, yeah, on CW a monster antenna and the legal limit of 1500W seems to be the median system.

A long time ago I started collecting parts for a 432MHz EME system. Life got in the way and I never built it out. Good luck with your endeavor!

dbcurtis commented on Hypothesis: Property-Based Testing for Python   hypothesis.readthedocs.io... · Posted by u/lwhsiao
dbcurtis · a month ago
It’s been quite some time since I’ve been in the business of writing lots of unit tests, but back in the day, I found hypothesis to be a big force multiplier and it uncovered many subtle/embarrassing bugs for me. Recommend. Also easy and intuitive to use.
dbcurtis commented on How IMAP works under the hood   blog.lohr.dev/imap-introd... · Posted by u/michidk
jeffbee · 9 months ago
> Gmail’s implementation was slightly crippled

Gmail is not "crippled". A tiny but vocal community of old nerds have a petrified mental model of email that they associate with unix IMAP software from the 1990's, but those concepts do not appear in the IMAP standards anywhere.

dbcurtis · 9 months ago
That is an immature view on how real products and real standards work. The standard document may say one thing, but what people do in the real world is the real standard.

For context: I spent 11 years at Intel managing pre-silicon and post-silicon processor validation. No processor that does only and exactly what the Programmers Reference Manual says, and takes the phrase "undefined behavior" seriously, will be successful. Google would do well to adjust their philosophy.

dbcurtis commented on Show HN: Learn where countries are on the world map with Spaced Repetition   map.koljapluemer.com... · Posted by u/blackbrokkoli
dbcurtis · 9 months ago
Pffft.... that's what ham radio is for. (Note: humorous, not ill intent here. An old office mate of mine once kidded me that he thought ham radio was a conspiracy on the part of the world's geography teachers to get people to take an interest in their subject.)
dbcurtis commented on Tesla created secret team to suppress driving range complaints (2023)   reuters.com/investigates/... · Posted by u/mathgenius
decimalenough · 9 months ago
The article is talking not about the route planner, which I agree usually gives very accurate estimates for specific routes, but the advertised theoretical driving "EPA ranges", which are quite inflated.

However, from what I can tell, the EPA numbers from all manufacturers are quite unrealistic, because the methodology doesn't match real-world driving.

dbcurtis · 9 months ago
Yes, this is certainly true for ICE vehicles. The measurement methodology is spelled out in exacting detail, and yields highly repeatable results. Realistic? Nope, not at all. Nobody could claim that. But, it is repeatable and comparable, so that you can compare car A to car B. It gives you a strict rank order for vehicles that are driven exactly the same way, it just so happens that no person drives exactly that particular way. The utility is in providing a repeatable point of comparison. Is that useful?... forgive me for saying it, but YMMV.
dbcurtis commented on Math Academy pulled me out of the Valley of Despair   mikelikejordan.bearblog.d... · Posted by u/gmays
skyde · 9 months ago
Can you give more detail on what you mean by it can be a valuable experience with the right people around to help.

My son (7 years old) is gifted in Math and as a parent I find it extremely hard to decide how much I should push him (register him to math competition, weekend math club ...) and how much I should just let him get 100% on exam and not accelerate the learning.

dbcurtis · 9 months ago
In my experience as a parent, you can provide the resource but don’t need to push. Love of math will happen if it has the right environment. For a 7yo I might suggest looking onto Epsilon camp, and Art of Problem Solving (which is on line).

My own kid went to MathPath (middle school camp by same people as Epsilon Camp). Loved it. “Yes, dad really, I want to spent a whole month of my summer doing math.” The social experience is great for kids to be with other kids that like math.

dbcurtis commented on Python as a second language empathy (2018)   ballingt.com/python-secon... · Posted by u/luu
a_e_k · 10 months ago
Oddly, trying to occasionally place on the Advent of Code global leaderboard was the thing that got me most fluent in Python as its own language.

Before that, I tended to write Python in a much more imperative style, since C++ is my main language; think for loops and appending to lists. Thanks to AoC, I'm now addicted to comprehensions for transforming and filtering, know the standard library cold, and write much more concise, Pythonic code.

dbcurtis · 10 months ago
Ha ha, yeah, for sure. It is easy to tell the Python code coming from an experienced C programmer. The thing about Python is, you can just give C a semi-colon-ectomy and it pretty much works. But it isn't Python... it took me a while to get completely pickled in the Python way of doing things. Ramalho's book did more than anything to put my brain into Python mode.

u/dbcurtis

KarmaCake day6420February 13, 2016View Original