HNHacker News
TopNewBestAskShowJobs

desdiv

4,685 karma · joined September 5, 2014

submissionscomments
desdiv··on How I built a keyboard/video/mouse switch for my two 4k monitors
While we're on the subject on KVMs, what do you guys do about audio?

Currently I have one computer connected to the AV receiver via TOSLINK (optical audio). The other computer is connected to the receiver via coaxial S/PDIF. When I switch computers I have to physically go to the receiver and switch between the two input channels. This presents two problems:

P1: Manual action required

P2: Only one computer can play sound at any given time

Ideally, I would want a S/PDIF mixer that can decode the two S/PDIF streams, add each constituent channel together, and then output that as a single S/PDIF stream to the receiver. But I can't seem to find this anywhere.

Most mixers I've found are:

1. Analog mixers

2. Pro audio mixing consoles that have a dozen input channels and 50 dials on it, with a price tag to match

desdiv··on TSMC Builds a Dedicated 28nm Fab for Sony Orders
For digital electronics, yes. But not true for image sensors, since the sensor size (and thus the die size) is fixed. For example, a full-frame CMOS sensor has an imaging area of 36 × 24 mm, regardless of the process node, because full-frame is _defined_ as 36 × 24 mm.
desdiv··on Show HN: Healthcare Is Dumb
A Soviet Russia joke goes:

A toy factory worker wanted to get his son a nice toy for Christmas, but couldn't afford it. So he sneaks out a single component from the factory every day. When he assembled it, it turned out to be a machine gun.

The topical American joke would be:

At a medical school graduation party, the whole class started discussing their future career prospects. It turns out that none of them would become doctors; all of them joined for the healthcare coverage.

desdiv··on Ethereum Is a Dark Forest
Why did they try rescuing the $12,000 pot on their very first attempt instead of planting a bunch of $10 dummies and rescuing those instead? Once they perfected how to rescue the dummies, then move onto the real target.
desdiv··on The potentially revolutionary Celera 500L aircraft
>Please cite any specific V12 aircraft engine that can have one bank of cylinders shut down.

The RED A03 Engine[0], which is what this sub-thread is about.

>Two cylinder-bank redundancy concept for high safety.

>Robustness and safety are incorporated into the engine design. The two 6-cylinder banks are capable of independent operation. All critical engine sub-systems are mutually-independent.

[0] https://red-aircraft.com/

desdiv··on The potentially revolutionary Celera 500L aircraft
>Especially getting 20+ mpg for 4500 miles, while flying at 450mph

That's not what they're claiming though. They're claiming that:

1. 20+ mpg

2. maximum speed of 450 mph

3. range of 4500 miles

are possible individually, not that 1+2+3 are possible all at the same time.

desdiv··on Ask HN: Newly Remote Workers – Where Are You Moving?
He meant no Tennessee state capital gains taxes. You still have the Federal capital gains taxes.
desdiv··on Launch HN: Jika (YC S20) – Price A/B Testing for Shopify
How do you deal with search engines? The vast majority of stores have the the vast majority of their customers come in via search engines.

1. Showing one page to the search engine spider and another to users is a black hat SEO tactic known as bait & switch. Most search engines heavily penalizes against this. How do you deal with your customers possibly losing their search engine reputation that they've built up over the years?

2. I don't know about other people, but when I see a price, X, on the search engine result page, then get a different price, Y, in the actual store, I immediately lose trust in the store. If the merchant is willing to bait & switch me on the price, then I don't trust it not to bait & switch me on their actual product or services.

desdiv··on The US can reach 90% clean electricity by 2035 without increasing consumer bills
Headline says: "US can reach 90 percent clean electricity by 2035" and you gave your analysis.

GP is asking how your analysis would change if we drop the target to "US reaching 80 percent clean electricity by 2035".

desdiv··on Ask HN: Shopify self hosted e-commerce alternative?
To add to that, Spree Commerce: https://github.com/spree/spree
desdiv··on I think Catalina 10.15.4 broke SSH
8080 is less than 8192. This bug only happens when the port is _higher_ than 8192.
desdiv··on Google tracking a bike ride past a burglarized home made the rider a suspect
I believe you have the right to a public defender during questioning (which can happen both before and after you are charged) based on the wording of the Miranda warning:

>You have the right to have a lawyer with you during questioning. If you cannot afford a lawyer, one will be appointed for you before any questioning if you wish.

https://en.wikipedia.org/wiki/Miranda_warning

desdiv··on Life and Death in a Wuhan Coronavirus ICU
Take a hypothetical disease A that started spreading on Jan 1st. It takes a patient 1 month to recover from A, while it only takes 7 days for A to kill. We perform a calculation on Feb 9th to determine A's case fatality rate.

The correct way to calculate A's case fatality rate would be to select a cohort, Group B, for example: everyone infected in the first week. And calculate:

(deaths in Group B by Feb 9th) / (deaths in Group B by Feb 9th + recovered in Group B by Feb 9th)

An incorrect way to calculate A's case fatality rate would be:

(deaths by Feb 9th) / (deaths by Feb 9th + recovered by Feb 9th)

This is incorrect because "deaths by Feb 9th" includes all deaths from people infected between Jan 1st and Feb 2nd, while "recovered by Feb 9th" only counts the recovered patients who were infected between Jan 1st and Jan 9th. The above equation basically expands to:

(deaths in Group C by Feb 9th) / (deaths in Group C by Feb 9th + recovered in Group D by Feb 9th)

Where:

Group C: infected between Jan 1st and Feb 2nd

Group D: infected between Jan 1st and Jan 9th

Since disease A is spreading exponentially, it's clear that Group C is a few orders of magnitude larger than Group D.

desdiv··on MacBook 16-inch Fan Noise (2019)
I use a similar trick: I try to find a laptop that comes in both discrete-GPU and integrated-GPU configurations, and both version must share the identical chassis.

This way, when I buy the integrated version, I know the chassis has been designed with the heavier airflow of the discrete-GPU version in mind. If I'm lucky, my integrated-GPU config might even use the identical size heat-sinks as the discrete-GPU version.

desdiv··on Pointer Compression in V8
x64 has 16 general purpose registers, while x86 only has 8 general purpose registers. So even with the extra overhead of 64-bit pointers, x64 code still ends up being faster.

In terms of speed, it's:

1. x64 with compressed pointers

2. x64

3. x86

In terms of actual production usage, it's:

1. x64

2. x64 with compressed pointers

3. x86

So x86 is the slowest and the least used among the three. And frankly it would be very difficult to hire talent in 2020 if you're targeting the x86-64 platform but chose to use the legacy x86 mode for whatever reason.

desdiv··on Starlink Is a Big Deal
>people have already built most of those microwave tower paths here on earth

I can assure you that lucrative paths like New York-London and New York-Tokyo have not been built yet. In fact, the vast majority of lucrative trading paths have not been built yet due to geographical restrictions. Yes, fiber optic links exist, but those only go up to 0.7c.

To a trading firm, the choice between a satellite link that does ~0.9c and a fiber optic link that does <0.7c is obvious.

desdiv··on California wants to tax companies for executive pay ratio
The status quo is that every company with operations in CA has to pay the CA corporate income tax based on its CA-derived taxable income. This is true regardless of where the company is incorporated. This is also broadly true for every state that collects state corporate income taxes i.e. they use their tax authority to levy tax on business activities conducted within their state.
desdiv··on Wildfires Are Raging Outside Every Major City in Australia
Australia produced 19.6 tonnes of coal _per person_ in 2018. That's the highest in the world. I don't think it's in any position to be pointing fingers.

[0] https://en.wikipedia.org/wiki/List_of_countries_by_coal_prod...

481.3 million tonnes of coal / 24.6 million people

desdiv··on Carlos Ghosn Flees Trial in Japan for Lebanese Homeland
Ghosn is a Lebanese citizen (among French and Brazilian) and he chose to flee to Lebanon. In many countries, such as the US, you don't need a passport to return home. You don't need any documentation, in fact. The border agency will detain you and question you for days until you can sufficiently prove your citizenship, but they are legally obligated to let you back into the country. I don't know whether this is the case for Lebanon or not.

Commercial flights check your passport before you board, because there are regulations and they like to cover their own ass, but private charter flight don't have these checks if you pay enough.

desdiv··on Japanese ink supplier Seiko Advance produces colors for Apple’s iPhones
On a related note, the Mitsubishi Group is a huge conglomerate that makes everything from cars to fighter jets to nuclear plants. Mitsubishi pens also dominate the stationery market, and I just assumed that it was part of the group. But it turns out the pen maker is actually unrelated to the conglomerate[0].

To add to the confusion, both the pen maker and the conglomerate have identical English names, Japanese kanjis, and even share the same three-red-diamonds logo.

[0] https://en.wikipedia.org/wiki/Uni-ball

desdiv··on Wisdom (albatross)
That's just what the G-man wants you to think. They planted a series of decoys in plausible locations. /s
desdiv··on Wisdom (albatross)
This is one of the reason why the exact location of the world's oldest individual tree, Methuselah, is not publicly disclosed.

[0] https://en.wikipedia.org/wiki/Methuselah_(tree)

desdiv··on The Afsluitdijk
One of my favorite Youtube channels, The Tim Traveller, did a video on this dam/highway: https://www.youtube.com/watch?v=6r6zcMl2Xmw
desdiv··on Fast
Nuclear fission was discovered on December 17, 1938. It was first used in warfare on August 6, 1945, 2,424 days later.
desdiv··on State of JavaScript 2019
I'm a huge fan of persistent data structures such as those implemented by immutable.js. The "normal" way that I would update an immutable.js List is just:

numbers = numbers.push(numbers.length + 1);

Maybe it's just a coincidence, but Svelte seems awfully congruent with the pure FP way of doing things.

desdiv··on Abe’s New Word Order
Which brings up the question, what is the Principality of Monaco called in Italian? To save you a guys a trip to Wikipedia:

The city state of Monaco is also called Monaco in Italian. Both the English and the Italian names are derived from the Greek word Monoikos, meaning "single house".

The German city of München is called Monaco in Italian and Monacum/Monachium in Latin. The Italian name derives from the Latin name, which in turn is derives from the Latin word for monk.

To avoid confusion, the German city is more commonly referred to as "Monaco di Baviera" (Monaco of Bavaria) to better differentiate it from the microstate.

desdiv··on India builds detention camps for up to 1.9M people not on citizens register
>With NCR everyone will have to prove citizenship(probably, govt hasn't given any clarification regarding this) regardless of the religion.

In its majestic equality, the law forbids rich and poor alike to sleep under bridges, beg in the streets and steal loaves of bread.

-Anatole France

desdiv··on What's new in Java 12, 13 and 14
>Java 8 had its end-of-life for commercial usage in january 2019

_Oracle's_ Java 8 end-of-lifed, but many other vendors provide TLS for their respective Java implementations.

desdiv··on Found hidden safe, should we crack?
1. Faulty lock mechanism due to aging and wear.

2. It's a trap lock and was never designed to be operable in the first place.

desdiv··on Invidious: an alternative front-end to YouTube
When regular users visit youtube.com, they get a page with some videos on it. Regardless of whether they're logged in or not, there are videos there.

Banned users visiting youtube.com will just get a text page[0] with zero video content. Google will use all the dirty tracking tricks to make sure that banned users remain banned even when their IP or device changes.

[0] https://i.imgur.com/qTTGhhG.png

← PreviousPage 3 of 32Next →