Better HN
topnewbestaskshowjobs
Log inSign up

labcomputer

2,373 karma · joined Aug 2, 2012 (14y ago) · 1,086 submissions

Submissions

comment 3y ago · link · parent

One thing I’ve noticed for certain ISPs is that you have to reboot both the modem and the router to get a new IP (or release / reboot modem / renew).

comment 3y ago · link · parent

> Hm. This doesn't fit my experience when I took advanced driver training years a

Yup, that was a typo, see edit.

comment 3y ago · link · parent

> In a modern (<10 year old) car I question the "pro driver" result. I've been looking for data on this, and haven't seen anything that says this is true, but have seen the opposite.

There is an old SAE paper published by Chrysler that I can't find at the moment. IIRC, it was published in 1968 or 1969, and evaluated their new all-wheel[1] ABS system (later to be sold on the 1969-1973 Imperial).

The gist of it is that on most surfaces relevant passenger cars, ABS gives somewhat ~shorter~ [Edit: longer ] stopping distances but the difference is minimal compared to a trained professional driver, and both are significantly shorter than locking the wheels (what a non-pro is likely to do in a panic situation)

On ice, locking the wheels produces stopping distances that are several times greater than threshold braking. Wet pavement (especially asphalt) is better for ABS, too, though not as extreme as ICE. Importantly, threshold braking also enables the driver to maintain directional control on all surfaces, especially when the left and right wheels have different amounts of traction. ABS enables the driver to concentrate on steering while the computer adjusts the brakes.

However, on dry concrete, as well as gravel or snow, locking the wheels does produce somewhat shorter stopping distances. (Concrete tends to be aggressively textured, almost like sandpaper; gravel and snow can build up a "ramp" ahead of a locked wheel)

The only problem with locking for emergency stops is that 1) you wear the tires down to the cords after about 10 such emergency stops from 60 mph on dry concrete; and 2) the vehicle tends to spin. If the driver should happen to back off the brake pressure while partially spun, the vehicle will depart the road before they can react... so if you're going to lock the wheels, you have to really commit to it.

[1] Chrysler had 4-wheel ABS 10 years before Mercedes' "first car in the world with 4-wheel ABS", but Chrysler had computer logic to release brake pressure on both rear wheels if either one slipped (it had sensors in both rear wheels), which is how Mercedes was able to claim a "first" with their system that simply treated both rear wheels independently.

comment 3y ago · link · parent

From your source:

> Tim Sweeney, chief executive of Epic, said in a tweet that, “Today’s ruling isn’t a win for developers or for consumers.”

Also,

> Epic lost, though, on the foundational allegation of its lawsuit. Epic tried to convince Gonzalez Rogers that Apple’s App Store was in itself a “market,” over which Apple is a monopolist, and wanted the judge to force Apple to allow alternative app stores and payment processing systems on its phones.

My understanding is that Apple must allow app devs to tell customers about alternatives (and even provide a link to those alternatives), but Apple is still allowed to dictate what the in-app payment options are.

comment 3y ago · link · parent

> What does it mean in thermodynamic terms? Isn't there a fixed amount of energy per mass that it takes to convert liquid water into vapor?

Yes. The rest of the energy comes from the bulk water/hydrogel in other words, the bulk water is cooled by this process.

What’s happening is that energy is sloshing around between various degrees of freedom of the system (the temperature of the system is not zero). When it sloshes is such a way that a water molecule near the surface has more kinetic energy than the bond strength between it and the bulk, that molecule evaporates. Since the “sloshed” molecule has greater-than-average energy just before evaporation, the average energy of the remaining bulk water is reduced (the bulk cools).

But the interesting thing here is that it seems that they have found a resonance where the photon will not just cause the water molecule to evaporate “early” and also carry with it more excess energy than the phone came in with (hence having an evaporation rate 2x expected).

I wonder if this has something to do with the hydrogel causing the water to behave more like a solid, and enabling some kind of phonon-photon coupling process that isn’t supported in pure bulk water

> Why does it matter that the energy comes from light?

Practically, because they want to make a solar desalination system (though this just raises the question of how do you get monochromatic green light from the solar spectrum).

Scientifically, because it is interesting that the photon will trigger a water molecule to take off with more energy than the photon. Also, it feels entropically weird.

comment 3y ago · link · parent

Not so fast. G100UL can be approved for all piston engine aircraft. There is not a blanket approval.

You still have to go here (https://stc.g100ul.com/aircraft/) and buy paperwork that makes your individual airframe and engine legal. What the FAA approved was for GAMI to sell that paperwork for all piston aircraft.

comment 3y ago · link · parent

It's about increasing the compression ratio without self-ignition. High compression ratios mean higher power for the same weight, and airplanes are all about minimizing weight. You also get higher efficiency. Again, lower fuel weight = good.

You can dump as much fuel in the cylinder as you want (in fact, most airplane operating handbooks call for a very rich mixture on takeoff because of the cooling effect).

comment 3y ago · link · parent

Sure, and any petrol engine can run on 78 RON fuel to. It's just that if you try to run it at full power you'll blow it up. Wee bit of a problem on takeoff.

Same thing with running certain large piston airplane engines on 100. They blow up.

> There are several options that involve no lead, generally substituting with ethanol

Ethanol is corrosive to aluminum. Thankfully airplane designers have never used aluminum in airplanes...

comment 3y ago · link · parent

Yes, but it's not currently legal to use in anything.

You still have to apply for and buy an STC for your specific airframe's serial number and engine's serial number. Then you have to add some paperwork to the logbook and POH and add placards to the fuel fillers and cockpit.

In theory you should be able to automatically get it for anything which was approved from the factory to use 100LL, but the STC application form (here: https://stc.g100ul.com/aircraft/) does not allow you to select most mid-century large radials (which were usually originally certified on 130) or the airplanes they were installed on.

To be clear, this is a great thing, but you can't legally just fill G100UL in any random airplane.

comment 3y ago · link · parent

That's part of it. Ethanol is incompatible with materials commonly found in airplane fuel systems.

Another aspect is that many piston airplane engines need high octane because they have relatively high compression ratios: WWII era engines need 130 octane to develop full horsepower (they can be operated at reduced manifold pressure on currently available 100 low-lead gas), and even many post-war civilian engines require 100 octane.

Still another aspect is that the FAA is relatively conservative and doesn't want to approve something that might lead to, for example, vapor lock or fuel freezing issues.

comment 3y ago · link · parent

Well, not in practice. The problem is that that's based on a computer simulation which assumes that people store their carry-on in a bin near their seat (instead of the actual behavior in practice, which is to store it in the first empty bin they encounter while boarding the plane).

comment 3y ago · link · parent

Plus, carry-on luggage:

The problem in practice with boarding people in back first is that:

1. They tend to put their carry-on in the first bin they find in the front of the airplane. So people sitting in the front have to put theirs in the back. This is a disaster later in the boarding process because there isn't enough room for people to circulate back up to the front after they stow their carry-on.

2. Frequent fliers and people who purchased premium economy seats expect to be able to bring a carry-on. They tend to sit in the front the plane, so the problem for #1 affects them more.

This is relevant to United's new policy because boarding people with windows in the back board before people with aisles in the front.

comment 3y ago · link · parent

That summary is a bit revisionist, so the snark is a bit misplaced.

The initial vote count was reported November 8th (the day after voting, which was November 7th).

Since the margin of victory was less than 0.5%, an automatic recount was triggered, which resulted in an even smaller margin.

That, in turn, resulted in a month-long lawsuit, while both major parties challenged individual ballots during a manual recount. Challenging individual ballots and the legal process are what drew out final certification of the election.

It's not really fair to cite that case an example where either the votes were not counted in 1 day, not counted with little corruption, or not counted fairly accurately (the disputes were over fractions of fractions of a percent of all ballots cast in Florida).

comment 3y ago · link · parent

It’s network effects.

Because a buyer’s agent won’t show a house that isn’t listed by another member of the cartel. So if you want most buyers to see your property, you have to use the cartel.

And you don’t get to view a cartel house unless escorted by a buyer’s agent. Also, the seller’s agent will discourage the seller from accepting offers from buyers not represented by the cartel. So if you want to see most properties, and have your bit taken seriously, you again have to use the cartel.

comment 3y ago · link · parent

That only works if the total capacity to produce products for that market is greater than the total demand for products in that market.

If people want 100 units of something, and 5 competing manufacturers can only produce 90 units total (and can only expand to, say, 110 units in a "short" timeframe), offering subsidies doesn't reduce the price.

If the government creates a demand shock, it doesn't matter how much competition exists in the market. They don't need to collude for prices to go up.

Look at what happened to toilet paper during Covid. Were Walmart, Amazon, McMaster and Grainger all colluding on toilet paper prices? Or was there a demand shock?

> In any case, EV prices have been dropping over recent years, and I haven't seen a $7500 bump in prices, just in more people being willing to go for a nicer vehicle instead.

All car prices have been dropping because we're getting past the Covid supply shocks. And if you go back farther, EV price drops are mostly the result of introducing new less-luxurious models (the current base Model 3 still costs more than the first RWD Model 3, and it has been decontented--missing features like parking sensors).

comment 3y ago · link · parent

I don't know if you understand this, but factories have a maximum capacity they can produce. You can't just snap your fingers and double the capacity of a factory overnight if you realize that it is too small.

Look at how long it took Tesla to build the Shanghai gigafactory: About two years--and literally everyone who knew anything about auto manufacturing said it would be literally impossible to make that timeline when Tesla announced it in the beginning. People made jokes about it. Oh look at that! Elon Musk is lying again! Hurhurhur.

I mean, why do you think the Model S had zero competition for over 7 years? The first 2 years I understand--everyone thought EVs were a dead market. But why did Mercedes, BMW, Audi, et. al. wait the other 5 years (while Tesla was absolutely destroying their market share in the US) to bring out a competitive product?

Was it because they're a bunch of dumb-dumbs?

Or was it maybe because it takes many years to design a complex product like an EV and build a factory to build the car?

comment 3y ago · link · parent

> If a single manufacturer steps out of line and lowers prices, they will carry more volume, and therefore more revenue.

How will they do that? Every one of them is production-constrained right now.

> Manufacturing costs do not increase when subsidies are introduced. EVs, as a result, have higher profit margins.

Now you're getting it!

> Therefore, this will result in enticing more firms to enter a more lucrative market, resulting in more EV sales, which really, isn’t that the goal of subsidies in the first place?

Sure, but it takes 5-10 years to design a new EV and spin up a plant. Will the subsidies still exist by then? (Probably not, because we are in the exponential phase of the EV adoption curve, so the subsidy will quickly become unsustainable).

comment 3y ago · link · parent

> The scenarios you listed can even make HTTPS insecure.

You don't understand what HTTPS does, then.

HTTPS is specifically designed to counter MITM attacks, so it is, in fact, not insecure in the scenarios listed by the parent comment.

> If you were visit that page on an network that is not MiTM the website is still secure. There is no requirement for SSL.

That is really only relevant when you and your sever are on the same LAN, behind a firewall, and you are reasonably sure that you don't have an intruder (like I mentioned upthread).

When you are browsing a server across the public internet, you should assume you are being MITM'd. With HTTP (not S), the MITM attacker does not need to be between you and the server. If they can guess the TCP sequence number and when you are browsing, the MITM can inject (or replace) arbitrary content into the pages you load.

comment 3y ago · link · parent

No, you don't get it:

There is no such thing as a "static" web page in the context of a MITM attack. The MITM can change the page to ANYTHING he wants it to be. The HTML you receive can be a completely different page than the one sitting on your server.

HTTPS protects you from that. It ensures that the HTML you receive is the same HTML from the server. That's why I sad: The only way unencrypted HTTP is reasonable is when you are fairly sure that there isn't a MITM. Like on your local LAN--anything that goes across the public internet is suspect.

> If they can inject malicious content then you should fix the exploits on your platform.

This is not reasonable. Literally every browser out there has multiple 0-days show up every year. Chrome, Firefox, Brave, Safari, Edge, you name it.

comment 3y ago · link · parent

That's because it is unsafe. Without HTTPS, an attacker can inject arbitrary malicious javascript into the page.

The only context in which plain HTTP is ok on today's internet is when you a loading a page from your own server on the same LAN, behind a firewall, when you are reasonably sure that nobody else is in you network.

comment 3y ago · link · parent

There is no direct replacement for Labview, which saddens me.

But the writing has been on the wall since the 2013 Mac Pro. I don’t think it’s a coincidence that that was when VISA and NI-DAQmx Mac support started getting flakey.

Without the ability to use “big boy”[1] first-party DAQ hardware from NI, I’m sure the business justification for Labview on Mac is nonexistent. And needing to constantly keep up with Apple’s API-breaking changes certainly can’t help.

The 2019 and 2023 Mac Pro feel like an attempt to win back or keep niche partners like NI on Mac, but the value prop just isn’t there for someone looking to set up a daq/control box.

[1] USB DAQ is great for many use cases, but sometimes you just need the latency that PCI(e) provides. Even the ancient ISA-behind-PCI DAQ hardware had better latency (and other specs!) than USB devices.

comment 3y ago · link · parent

It’s funny how you assume they need to collude instead of each acting in its own independent selfish interest.

Why does one need to present strong evidence that prices will rise by $7500 when the demand curve suddenly shifts right by $7500 due to government intervention? Surely this is just Econ 101.

comment 3y ago · link · parent

Yea, but wedding photogs are businesspeople, who respond to customer expectations. If they show up with “non professional” equipment, they tend not to get referrals, in spite of whatever photo quality they deliver.

comment 3y ago · link · parent

Nitpick:

It’s not the sensor size they matters (larger sensors actually have more noise: that’s why phone photos can look as good as they do). Stop and think for a second: where does the extra light captured by a larger sensor come from?

What actually matters is the physical aperture of the lens. What a large sensor forces you to do is use a larger physical aperture to get the same focal ratio (“f-stop”) and field of view. That’s how you get more light. (the larger physical aperture and constant focal ratio implies a longer focal length, so the math works out)

If you do the math, the larger physical aperture more than compensates for the extra noise of the larger sensor (signal to noise of the system scales as sqrt(sensor_dimension)), so camera systems with larger sensors and the same focal ratio have better noise figures. But it’s not directly due to the sensor.

You can compensate for a lot of that effect by simply installing a lens with a larger focal ratio on a small sensor. That’s because it turns out to be easier to have a high focal ratio when the lens is small: the shorter focal length (for a given field of view) requires a smaller radius of curvature, so controlling chromatic aberration and circle of confusion is easier at higher focal ratios.

comment 3y ago · link · parent

Well, high speed serial coms existed before USB, so the premise of the question is a bit wrong. RS-422 officially supports 10 Mbps over short distances, for example, and various serial WAN protocols supported >100Mbps over copper before USB launched.

I would argue that what USB (1.1-2.0) does differently from previous serial peripheral ports is mostly software and standardization, and really relate to making it cheap and simple for "normal people" to use:

1. USB 1.1 supports only two bit rates (1.5 and 12 Mbps), which is autoconfigured before device enumeration. 12 = 8 * 1.5, so the clock divider is cheap and easy.

2. USB limits cables to fairly short lengths (<=5m) compared to earlier serial ports (RS-422 supports 10 Mbps at 15m)

3. USB (pre-OTG extensions) rigorously enforced the idea of a "host" (upstream) and "device" (downstream), at both the protocol and physical connector level (which greatly simplifies things--for example, you can't create a loop, and don't need STP to detect it). A child can easily see that a B (device) socket doesn't fit an A (host) plug.

4. USB device enumeration and configuration are extensively software based, and USB defines a number of standard device classes so that many common types of devices (e.g., keyboards, mice) don't need specific drivers.

5. One thing that USB does that's less common among serial peripheral interfaces is to use a single differential pair for data going in both directions (it's time-shared: so the host polls the device then the device responds). The pin-count is less than a "regular" RS-422 port, but you still get the advantages of differential signaling.

6. USB carries power with only one more pin than needed to create a minimal bidirectional serial data connection, so "lite" devices don't need a separate power connector (ignoring very slow protocols like "1-wire").

7. USB does some funny things with packet framing (like NRZI encoding and bit-stuffing) and some things to help reduce device cost (like the JKJKJK packet preamble to sync the device baud-rate generator and using SE1/SE0 states for device disconnect and bus reset signaling), but none of that is really fundamental to making a 10Mbps-class serial interface.

comment 3y ago · link · parent

0. One thing that three letter agencies like to do when posting an intelligence officer to a foreign country is to give them a false identity. Platforms like TikTok make reidentification much easier, which blows their cover. What makes this especially insidious is that this data goes back to childhood, before anyone is thinking about a career in intelligence.

1. Tiktok can identify people (in the US, in the government or military) who are in key strategic positions. For example, people with access to interesting information, or who know a lot of people with access to information.

2. Among the group in #1, it can identify people who are vulnerable to recruitment as spies. For example, it can identify any taboo tastes they might have, which are not (necessarily) illegal, but can be used as leverage to recruit a spy. Or identify people with financial problems (another vector for spy recruitment). Or people who are lonely, who would fall for a honey trap, etc.

3. It can spread propaganda I. What happens if the chain of command breaks because someone thinks a war is illegitimate because they've been brainwashed? If Taiwan is and always has been the rightful territory of China, and nearly 100% of Taiwanese and mainland Chinese want them to be united, then why are we fighting a war to keep them apart?

4. It can spread propaganda II. Trade wars are not without downsides. One of them is that it makes imports from China more expensive. Propaganda does not need to be false information. What happens if the public broadly loses support for the trade war because of TikTok propaganda?

5. Remote no-click zero-days for iPhone exist. China has a capable cyber intelligence service. TikTok could be used to spread an exploit to phones of people in key strategic roles.

comment 3y ago · link · parent

Sure, but it costs extra and nobody (to a first approximation) cares. So why bother?

comment 3y ago · link · parent

The crystals used in watches are usually cut and selected so that a local minimum or local maximum of the tempco is near the temperature of your wrist.

Thus, the tempco is near zero, so human-to-human differences don’t matter much.

One thing to notice is that quartz watches almost always have a metal backplate touching your wrist so that the crystal can have good thermal contact. Presumably, the thermometer in your watch was decoupled from that plate.

comment 3y ago · link · parent

You have to do some “energy accounting” sleight of hand to get 63%, though. That number assumes that some of the low-grade waste heat can be used for, e.g., district heating. It’s also a peak steady-state number, only achievable under optimal load conditions.
1
161718
37