Better HN
topnewbestaskshowjobs
Log inSign up

hamiltonkibbe

382 karma · joined Jul 17, 2013 (13y ago) · 225 submissions

https://hamiltonkibbe.com
Submissions

1.

Postel's Law and Type Annotations(hamiltonkibbe.com ↗)

1 points · by hamiltonkibbe · 4mo ago · discuss

comment 2y ago · link · parent

A moonboard!

comment 2y ago · link · parent

Bit of a tangent: Around here, and likely in many other places that were developed before double-digit YDS grades were a thing, 5.9+ is a specific and notorious grade, that is usually closer to 5.11 than 5.9.

comment 3y ago · link · parent

http://www.ganssle.com/articles/toastallessons.htm

comment 4y ago · link · parent

Counter-counterexample: your algorithm was too naive. The original song was much more interesting:

A sine wave at a single frequency, but with rhythmic volume swells from nearly inaudible to 0dBFS. The slow hopeful crescendos in the opening give way to a more playful bounce in the middle, before building to a frantic ending with nearly nauseating swings.

Pitchfork gave it a 10.0, and called it “Better than the remaster of In The Aeroplane Over The Sea. If our scale allowed, it would have gotten a 12.” What a ride.

The distortion that transformed it was fairly pedestrian: turn it up until it exceeds the dynamic range of the recording medium.

The result was that boring square wave at constant frequency and amplitude. Can you expect an AI to reconstruct this original, given both of our proposed original songs map to the same output?

I’d also argue that the original proposed algorithm is not simple, since it would have to remove the aliased frequency components when converting from the square wave back to a sine.

comment 5y ago · link · parent

For the most part the MAC just looks for another signal on the wire (another train on the same section of rail) and when it looks clear, starts transmitting (driving). As you can imagine, there will be cases when 2 MACs start talking at the same time, at which point they detect the collision, wait a random delay and try again. I wouldn’t want to be on that train, I’d prefer plain old serial with hardware flow control

comment 5y ago · link · parent

Nexamp https://nexamp.com | Backend Engineers (Python/Django) | Boston | Full-Time | ONSITE

Nexamp is making energy clean and accessible, building and operating hundreds of megawatts of solar and storage capacity.

We're looking for backend (Django/Python + .Net/C#) developers with at least a couple years experience to build web applications and more on Azure

Apply Here: https://www.nexamp.com/careers?gh_jid=5254490002 or reach out to me directly at hkibbe@nexamp.com

comment 5y ago · link · parent

Nexamp https://nexamp.com | Backend Engineers (Python/Django) | Boston | Full-Time | ONSITE

Nexamp is making energy clean and accessible, building and operating hundreds of megawatts of solar and storage capacity.

We're looking for backend (Django/Python) developers with at least a couple years experience to build web applications and more on Azure

Apply Here: https://www.nexamp.com/careers?gh_jid=5254490002 or reach out to me directly at hkibbe@nexamp.com

comment 5y ago · link · parent

Nexamp https://nexamp.com | Frontend & Backend Engineers | Boston | Full-Time | ONSITE

Nexamp is making energy clean and accessible, building and operating hundreds of megawatts of solar and storage capacity.

We're looking for frontend (React/Typescript) and backend (Django/Python) developers with at least a couple years experience to build web applications and more on Azure

Apply Here: Backend: https://www.nexamp.com/careers?gh_jid=5254490002 Frontend: https://www.nexamp.com/careers?gh_jid=5298029002

comment 5y ago · link · parent

Easy, affix the tag to the item with a blockchain so you know it cant be removed or tampered with.

comment 5y ago · link · parent

They are different things, but you can use both to protect you from the rain, and an umbrella does that more efficiently than a toaster. The drawback is that the umbrella doesn't generalize to the broader field of bagel toasting

comment 5y ago · link · parent

I just checked since I’ve never heard it played with that Bb7 in bar 4... I’ve got one of the old unlicensed editions and it has the “right” changes, Cm7 / Cm7 / Fm7 / Fm7. Some of the stuff in the legal versions is particularly wonky.

comment 5y ago · link · parent

Their CEO should have no issue with his testimony being run through Proctorio's software and being charged with perjury if it's flagged as suspicious

comment 6y ago · link · parent

You’re looking for an Electronic Pocket Dosimeter or EPD

comment 6y ago · link · parent

Could you make the argument that the technological measures are not effective and therefore not "effective technological measures" since youtube-dl is able to access the recordings in spite of them?

comment 6y ago · link · parent

If it's autonomous you can skip the triangulation step. The drone and C2 are co-located.

comment 6y ago · link · parent

For a little more intuition about why you can do that replacement: laplace is a representation of a system as a sum of sinusoids * exponentials, which are your two axis in the laplace plane. Frequency on the iw axis and exponential on the a axis. If you think of that replacement as s = iw + a | a = 0, you'll see the exponential terms go away and you're left with just the sinusoidal parts:

  f(t) * e^(iw + 0)t 
  = f(t) * e^(iwt) * e(at) 
  = f(t) * e(iwt) * e^(0t) 
  = f(t) * e(iwt) 
integrated over time, which is your fourier transform subject to the condition above. It's just the laplace transform along the Y axis, or, the frequency response at steady state when not growing/decaying exponentially.

comment 6y ago · link · parent

Yeah, they're only equal when your f(t) = 0 for all t < 0. Otherwise they can be quite different, because the integral limits differ. In an undergrad engineering context you're often evaluating the response of a system to some input and it's common to have "at t=0 the switch is closed/mass is released/etc." where the function is assumed to have been 0 previously.

comment 6y ago · link · parent

I think the whole point is that there is no code (firmware or otherwise) driving the switch. I guess it depends on your threat model, but if you don't trust apple's hardware or firmware to disconnect the microphone, you can't trust their hardware not to have another microphone somewhere else that isn't advertised and is on all the time.

I'd take the term "hardware disconnect" in this sense to mean that there exists no program that you can run on any of the processors, or no bitstream you could load into any FPGA on the device that would be able to enable the microphone when it shouldn't be enabled, eliminating the threat of malicious code enabling the microphone

comment 6y ago · link · parent

I don't think the distinction is a FET vs a reed switch -- the means of blocking electrons, rather, it's in what decides whether that switch is open or closed. I would consider a circuit like this driving the FET/relay/etc. to be a "hardware disconnect" (using HDL to describe the circuit, not suggesting it should be programmable logic):

  module mic_enable (lid_closed, lots, of, signals, mic_enable);
    input lid_closed, lots, of, signals;
    output mic_enable;
    assign mic_enable = !lid_closed & lots & of & other & signals;
  endmodule

comment 6y ago · link · parent

Hah, having parameters like --vga-cable-length --ambient-temperature --psrr would be fun though

comment 6y ago · link · parent

“Partial reconfiguration” is the term you’re looking for

comment 7y ago · link · parent

I couldn’t find it on the mobile version of the site but a video of the pinion based drivetrain showed up somewhere else the other day, I think the post is likely in reference to that chain-less system

comment 7y ago · link · parent

If two people are having a conversation about something — let’s say the location of alice’s backpack — which is immediately obvious to anyone walking by the coat hook in the front of the office, should that conversation lose wiretapping protection?

comment 7y ago · link · parent

I’d argue that tablature is terrible for transposition as well in most cases, sure you can just +/- N semitones from each fingering in the ideal case but that breaks down as soon as you have voicings or melodies with open strings and need to transpose down e.g. a half step. Capo at 11 gives a very different character.

comment 7y ago · link · parent

I can’t imagine ever being in a situation where I’ve already entered enough digits of my credit card number into a form to trigger some sort of formatting and then decided that I no longer want to continue the transaction because no formatting happened, e.g. because it’s just a plain old input. Is this a real thing?

comment 7y ago · link · parent

I think that will simulate and synthesize correctly, but it does look a bit like code smell. If timeout is in a sensitivity list somewhere though, I'm not sure what will happen.

comment 7y ago · link · parent

P(A|B) != P(B|A)

comment 8y ago · link · parent

Thanks for the heads up!
12345
8