Hacker Newsnew | past | comments | ask | show | jobs | submit | rcyeh's commentslogin

Agreed!

I learned Perl after trying C; and after struggling with `scanf` (not even getting to tokenization), the ease and speed of `while (<>) { @A = split;` for text-handling made it easy to fall in love. This (in the mid 90s, before Java, JavaScript, and C++ TR1) was also my first contact with associative arrays.

I was also drawn to the style of the Camel Book.

More than most other languages, Perl encouraged one-liners. When I later read PG's "Succinctness is power" essay, I thought of Perl.

https://paulgraham.com/power.html


> This (in the mid 90s, before Java, JavaScript, and C++ TR1) was also my first contact with associative arrays.

Associative array is just a fancy term for map / dictionary. C++ has always had one of those, even before TR1: std::map (which is a tree under the hood). It does have the extra requirement that your key be ordered, which isn't part of the core definition of associate array[1]. But usually it's not a problem even if you don't actually need the ordering.

As I think you're implying, TR1 / C++11 added std::unordered_map, which is a hash table and doesn't need keys to be ordered (just hashable).

[1] It isn't part of the core definition of "map" either, which despite C++'s usage just means the same thing as dictionary / associative array. A lot of those early STL containers are confusingly named: e.g., in general, "list" just means some ordered sequence of elements, so it covers static arrays, dynamic arrays, and linked lists, but C++ uses this term for linked lists, probably the least likely understood meaning. It use of the term "vector" for contiguous dynamic arrays is very odd. But I'm now way off topic...



I'm trying to reconcile your numbers with the Wikipedia "Aviation safety” article https://en.m.wikipedia.org/wiki/Aviation_safety

which for 2019 describes "0.5 accidents per million departures" and "40 fatalities per trillion revenue passenger kilometers". Considering that many or most passengers fly close to 800-1000 km/h, we're still quite a bit above above 1 fatality per 100 million passenger hours.

Would a factor of 10 be enough? Suppose we go from one major accident per fortnight to one per five months (10 fortnights). Is that higher than what we have seen in the past thirty years?


My numbers come from conversations I recall with René Amalberti, a notable specialist in the area, having advised, among others, Airbus. The conversations were around 1993-96, when I was doing my PhD, and thus may be a bit blurry by now. Also, it is perfectly possible the reference values and measurement units have evolved since then.

Still your projection shows that both reference indicators and actual values are in the ballpark of the estimates I cited.

My (and Amalberti's) main point is that safety assessment is not just about minimizing the raw number of accidents, but involves tradeoffs between various concerns, including psychological perception and revenue. Otherwise, the safest airline would be the one that does not fly anyone.


Since slugs are cold-blooded, I wonder if it was captured by the (presumably backlit) doorbell touch panel because of the panel's warmth.


Not a lawyer, but liability waivers may not apply if there is determined to be gross negligence or recklessness.

Making a reasonably-designed API available, only if connected to an inaccessible network, doesn't sound dangerous, but the goodwill gained might be hard to weigh against a miniscule chance of malware, which would revise everyone's opinion of the degree of negligence or recklessness.


Can confirm. US passport photos want a neutral expression and explicitly say (not in the below page, but elsewhere during the renewal process) not to smile.

https://travel.state.gov/content/travel/en/passports/how-app...


Strange, one of the example photos has a person smiling. I’ve seen several US passports recently with the person smiling. It must not be an important rule if it’s not clearly communicated or enforced. Especially since some (all?) US states allow smiling in ID photos I would think they would be more explicit about not smiling in passport photos.


Yes! Automobile fuel efficiency is now probably the classical example of Jevon's paradox: some cars are more fuel-efficient; and (therefore?) we in the United States are driving 35% more miles each year in 2024 (3.3e12) than in 1994 (2.4e12).

https://fred.stlouisfed.org/series/M12MTVUSM227NFWA

Which makes our total gasoline consumption about the same as or higher than the 1990s, within 10% or so:

https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=PET&s=C...


Nice! One nit: if playing an archive game (from a previous date), when opening the calendar, would you show not the current month, but the month of the game? This would make it easier to go back to other dates.


When I subscribed to Kagi, my block/lower/raise/pin lists were very highly correlated with these aggregate ones.

It makes me think that for Kagi customers, search engine rankings optimize for something other than useful sites such as docs.python.org and cppreference.com


Google Ad team can dictate to the Search team. We have the leaks. Google has sold out.


Would you say more? Which part is the violation - the recording, transcription, storage, scanning of other data, interpretation, or something else? Does it matter if you are in a one-party or two-party (for consent to recording) state?

If a police officer is using a body camera and you happen to be speaking nearby, is that a violation of your privacy? What about the same situation, but the body camera user is not a police officer?


It is illegal to record a private conversation without consent of the other party in these states: California, Connecticut, Delaware, Florida, Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New Hampshire, Pennsylvania, Vermont, and Washington.


Connecticut isn't actually a two party state for the purposes of this device. If you're recording in-person it becomes one-party. In Massachusetts this also wouldn't run afoul of the law because it isn't a secret recording. Michigan is also a one-party for participants which in-person you are. And Nevada is also one party for oral communication.

So you're left with 40/50 states where this device can be freely used and 10/50 states where this device can be freely used because it's a personal device and two-party consent is enforced less than jaywalking for regular people.


The "Intelligent Machines" podcast from twit.tv interviewed them and they get away with this because they are not recording the audio. It is never recorded or kept, it is transcribed in real-time and then sent to the AI and tokenized. Cheating maybe, but it's how they're trying to get away with it.


They absolutely are recording audio. It has a microphone. It records voices without consent. They may not retain the recordings for longer than necessary to transcribe the audio, but these devices sure as heck are making those recordings.

They are clearly attempting to circumvent the laws that prohibit this kind of activity, and their strategy likely involves fighting it in court long enough to pay off the investors or ultimately change case law. Sound familiar? It’s a common SV strategy that I personally think is grossly unethical.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: