HN user

keville

309 karma
Posts0
Comments133
View on HN
No posts found.

It's not well-explained in the article but there's a separate artist "playing" the haptic vests via programming, not unlike how a lighting engineer programs the synchronized light shows for a big touring act.

Instead of a DMX controller choosing entire scenes that control banks of lights in unison, or narrowing down to individual banks of lights to fine-tune things on the fly with faders, the haptic vests use similar commands and controllers to program different intensities and patterns of vibrations across the sub-regions within the vest.

The haptic engineer/artist usually has packs of go-to scenes that work well and provide distinct but complimentary effects from each other scene (just like the lighting engineer), and may have an entire effect chain pre-programmed for a song or mix, or may be choosing and mixing the haptic scenes on-the-fly as they listen to the audio.

This NPR article has a better description: https://www.npr.org/2023/07/17/1186173942/vibrating-haptic-s...

Safari has done this for a long time when you have multiple tabs with similar titles open.

I think the intent is to increase the unique text within the tab titles when you are reading sites that have titles like "My Blog - Tuesday's Article" and "My Blog - Wednesday's Article"; otherwise these would both shorten to "My Blog - ..." as tab count increases, or as other tab width constraints come in to play.

Granted, the heuristic for identifying common text between tabs isn't always great and can sometimes just result in titles looking cut-off.

The Federal Reserve has a board of seven governors, and twelve regional banks (one in Atlanta). Along with that board, the president of the New York regional bank, and four others on a rotating basis, form the body that votes to set policy.

I don't think the "gearbox" mentioned in the article is the kind of internal gearing you're referring to here.

It appears this e-bike only has a single-speed chain drive, and only a throttle for adjusting motor speed.

This ought to make for inexpensive home automation sensors that do much better occupancy detection for rooms than pIR sensors, which stall out if you're sitting and don't move enough to trigger "motion" but still want lights on in the room.

Wheel of Fortune is just as much about your luck on the wheel as your skill with the phrases, so practice doesn't guarantee victory. WoF's final puzzle awards contestants the "RSTLNE" letters now because nearly _everybody_ came in to the final prepared, knowing the most commonly-occurring English letters.

Deno Joins TC39 5 years ago

Please see my other comment in this thread for the `reduce`-based solution that requires no extra data structures. They're not that hard to get rid of!

Deno Joins TC39 5 years ago

It is not necessary to create any extraneous data structures to do OP's one-liner. This creates n+1 new arrays that must be garbage-collected.

Deno Joins TC39 5 years ago

const foo = bar.reduce((hash, item) => { hash[item.id] = item; return hash; }, {});