Better HN
topnewbestaskshowjobs
Log inSign up

fhrow4484

1,249 karma · joined May 24, 2017 (9y ago) · 214 submissions

Submissions

comment 2mo ago · link · parent

> compile time abstract base class would enable compile time resolution of virtuals. so then i can do compile-time polymorphism

What's wrong with static polymorphism that have been around for at least 31 years? (1995 per [1]). Also know as CRTP [2] Apart, of course, from ugly verbose compilation errors...

And now c++23 "deducing `this`" [3,4] modern replacement which is supposed to improve compilation time and remove the verbose errors.

[1] https://www.artima.com/articles/the-most-important-c-non-boo...

[2] https://en.cppreference.com/cpp/language/crtp

[3] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p08...

[4] https://devblogs.microsoft.com/cppblog/cpp23-deducing-this/

comment 4mo ago · link · parent

If you pay attention to the WARN layoffs notices you'd also see they fired at a much higher rate in Seattle compared to Bellevue.

So faster hiring east side. Faster firing west side.

It's a soft relocation

comment 5mo ago · link · parent

If you're big in the google ecosystem it makes sense:

- gemini-cli can have remote a2a agents connected to it. (See https://github.com/tanaikech/gemini-cli-gas-a2a-subagents and the medium article linked in that repo description.) Haven't tried it but I tried the local use case below.

- can expose a custom Google ADK "agent" via one-liner as a2a, which you can connect to the gemini-cli the same way.

comment 8mo ago · link · parent

https://static0.anpoimages.com/wordpress/wp-content/uploads/...

5.

Seattle considers expanding tax on Amazon and others to plug budget deficit(geekwire.com ↗)

5 points · by fhrow4484 · 3y ago · discuss

comment 3y ago · link · parent

Seems like the Instagram handle will be the Threads handle. IG, like Twitter rely on the handle concept, whereas Facebook never really did in the same manner.

comment 3y ago · link · parent

> That being said, I wish there were more layers as the functionality out of the box is very very limited.

The record layer https://github.com/FoundationDB/fdb-record-layer which allows to store protobuf, and define the primary keys and index directly on those proto fields is truly amazing:

https://github.com/FoundationDB/fdb-record-layer/blob/main/d...

comment 3y ago · link · parent

Where did you get the 12 million number from?

comment 3y ago · link · parent

> 11 years playing golf

Not quite sure there's a golf course there. Here's an overview of the same jail a "real housewives of salt lake city" is in.

https://www.the-sun.com/entertainment/7141761/jen-shahs-pris...

"It’s unclear why Shah asked to serve at that specific prison but People says other notable inmates who have been sent to the Bryan camp have included Hidalgo County, Texas, Commissioner Sylvia Handy; Jenna Ryan, who participated in the January 6 Capitol attack; and Lea Fastow, a former assistant treasurer at Enron."

https://www.kbtx.com/2023/01/08/reality-tv-star-wants-serve-...

I wonder if the buildings have A/C. Summer in Texas can be pretty hot

10.

Dad says glitch in ‘Find My iPhone’ app directs angry strangers to his home(nypost.com ↗)

60 points · by fhrow4484 · 3y ago · 59 comments

comment 3y ago · link · parent

Past threads as compiled by u/dang: https://news.ycombinator.com/item?id=29606518

This gist is notable as it's:

- not in pdf format

- complete (https://news.ycombinator.com/item?id=29597454 is just an excerpt)

- not a 404 dead link like many of the previous post.

comment 3y ago · link · parent

Avoiding SSO to keep access even if you loose access to bigCo email has been working well, but unfortunately more & more websites are moving away from password to instead verification code in the email.

Sure there are advantages to it, but if the email is bigCo, it effectively has the same drawbacks as SSO from same bigCo (i.e unfair account suspension, you're screwed)

With email+password, even if you lost access to let's say your Gmail, you can still login with that Gmail address and your password and go change the email in your account profile.

comment 3y ago · link · parent

Per https://spaceexplored.com/2021/05/06/can-you-make-it-as-a-bl...:

> When it comes to the G-Forces being pushed on you, many roller coasters have peak G’s at or above these limits. Most people are probably familiar with the different rides at Walt Disney World so let’s use those for examples. At EPCOT, Mission Space is a centrifuge-based ride where you go through a simulated launch and landing on Mars. The sustained G’s on that ride is 2.5 G’s, close to how many G’s New Shepard will experience during launch.

> For the descent, Blue Origin says you must be able to withstand 5.5 G’s, if you ever rode Rock ‘n Roller Coaster at Disney’s Hollywood Studios, you would have experienced up to 5 G’s during the initial launch of the ride.

Epcot Mission Space (the "Orange" version) is pretty intense as it's really sustained G-forces, but manageable. During the ride, you have to reach in front of you to press some buttons, and that's when you feel the G-forces most. But for SpaceX/BlueOrigin, passengers do nothing.

Rock n Roller Coaster itself for the peak G is done by kids, not a big deal.

comment 3y ago · link · parent

I don't see the FBI director mention that Sars-Cov2 was engineered anywhere. He said "probably the result of a laboratory leak".

If someone runs a lab, and they have Ebola or other virus in their fridges, and it leaks due to poor handling practice, that doesn't mean Ebola was engineered...

So it's possible to agree with both the opinions of the virologists-podcasters AND of the director of the FBI, isn't it?

comment 3y ago · link · parent

Never used command line for profiles, I'd just go type "about:profiles" > "Launch profile in new browser".

This opens a new window with that profile, but you can switch between each window at will.

The lack of discoverability of that "about:profiles" page is indeed a UX issue compared to chrome, but other that that it works pretty well.

For most use cases, I find the more lightweight multi-account-containers more useful though.

comment 4y ago · link · parent

> That argument makes no sense, because we do not want to mirror other countries.

Tit-for-tat is literally how agreements around the world works.

"Reciprocity treaty" if you want to make it fancy sounding, but it's just "tit-for-tat" for Taxes, Tariffs, Visitor visa & rules, etc.

17.

Google and Twitter veteran maps out a Twitter alternative(techcrunch.com ↗)

11 points · by fhrow4484 · 4y ago · 1 comment

comment 4y ago · link · parent

> Cool, now what's the incidence of Myocarditis and similar after COVID-19 infection?

Which mechanism would cause myocarditis when you get COVID 19?

The 2nd link in nradov's comment (https://news.ycombinator.com/item?id=33599243) states:

> These findings indicate that introducing the mRNA vaccine into the circulatory system can lead to acute cardiac inflammation. The mechanism behind this requires further elucidation. However, it is speculated that this may be due to the pro-inflammatory properties of lipid nanoparticles (LNPs) used as carriers for mRNA.

The actual COVID-19 infection doesn't have any lipid nanoparticles, does it?

Agree with overall sentiment of your comment though: the overall real-bad symptoms caused by an infection when fully unvaccinated are probably not worth skipping vaccine.

The clinical trials in op's article as well as nradov's comment on "aspiration" to reduce myocarditis risk during vaccination are both important topics to explore.

comment 4y ago · link · parent

Very interesting read, especially the ELI5 part before the DeFi story.

Are the 3 ways explained to cover a margin call how it works in practice? can one choose either of these 3 options?

> Fourth grade math. If you have $110 million in assets and $100 million in liabilities you are said to be levered 10:1.

Actually got some trouble on the 4th grade math ... morning coffee not working properly?

$110m assets - $100m liabilities = $10m of "surplus".

liabilities:surplus ratio is 100:10 --> 10:1.

> You’ve got $1,600 in assets against $1,000 in debt, so $600 in equity, so ~1.67:1 levered.

here liability = 1000, a better name for the surplus is "equity" at 600,

1000:600 ratio --> ~1.67:1

4th grade math checks out :)

20.

The decline of plant mineral nutrition under rising CO2(cell.com ↗)

1 points · by fhrow4484 · 4y ago · discuss

comment 4y ago · link · parent

https://downdetector.com/status/instagram/

Instagram app in a crash loop when opening the messages tab or trying to scroll down feed, or doing anything really

comment 4y ago · link · parent

> Your work matters. It’s okay to fight for it in your schedule.

Nice conclusion, but half of the solution in this article is to work "12:00 to 4:00 every Saturday"...

Does your work matter that much that you have to sacrifice every weekends?

My 2¢: fight harder to carve time during weekdays instead

comment 4y ago · link · parent

Ah true, maybe they have higher operating costs on pantograph and/or the power lines maintenance?

(I don't fully believe GP's comment of "The engineer that can solve this problem will allow top speeds in the range of 400/500 kph on /existing/ TGV tracks.", as narrow turns is probably a bigger contraint than the pantograph problem. Maybe a few of the more straight lines can benefit, but there's more constraints to solve before taking turns at 400/500 kph!)

comment 4y ago · link · parent

They're maglev trains, so there's no pantograph involved there.

https://youtu.be/_ZZMViMDjto at 16:40 explains the problem. It's in french, but you can get the gist visually as it's a for-kids documentary.

Tldr is a wave on the cable is created at high speed, making it impossible for the train to stay in contact with the cable. The documentary also touches on another top speed limitation: how agressive the turn angles are, limiting the top speed.

comment 4y ago · link · parent

Same happened with simply a cable plugged, I think the jack cable acted as an antenna.

The length of the cable would be a multiple of the right frequency or something like that, it'd catch a random AM radio

comment 4y ago · link · parent

Just like mortgage brokers are obligated to send you an official, standardized "loan estimate" when you ask about a mortgage, dealership should have something similar with cars.

Specifically: the car is only the first part, then there's extra warranties from dealership, financing, etc.

A standardized quote that gives you the price of these optional items would go a long way in making the experience smooth.

Private companies can solve the issues themselves (Carvana), but that's coming at a significant $ premium so far.

The FTC rule mentioned in the article mentions this:

> Require full upfront disclosure of costs and conditions: The proposal would require dealers to make key disclosures to consumers, including providing a true “offering price” for a vehicle that would be full price a consumer would pay, excluding only taxes and government fees. It would also require dealers to make disclosures about optional add-on fees, including their price and the fact that they are not required as a condition of purchasing or leasing the vehicle, along with disclosures to consumers with key information about financing terms.

comment 4y ago · link · parent

The mortgage interest deduction has a cap though, right?

https://turbotax.intuit.com/tax-tips/home-ownership/deductin... seems to indicate there's a cap on the amount, as well as number of homes (only primary and secondary, not third, fourth etc)

Or are people going around those caps somehow?

12345
8