Better HN
topnewbestaskshowjobs
Log inSign up

labcomputer

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

Submissions

comment 2y ago · link · parent

Weeellll… you’d hope so, but some users may try to autofill a password with the right username, which will inadvertently fill the password too. And now your vendor (Quip or whomever) can potentially see your employee’s passwords. You have to trust them to throw away any password they see for someone from your org.

comment 2y ago · link · parent

Re replay: No, because once someone has your password they can replay it as many times as they want. If you use your passkey on a compromised computer, the intercepted credentials can’t be reused.

Re DB leak: No, you the concern is reused passwords (or similar passwords) from a different site.

Re phishing: Yes, but one of the FUDs against passkeys is that they lock you in to a vendor. There is no more lockin than if store your passwords in a manager.

comment 2y ago · link · parent

1. It’s usually for institutions. If my email address is username@bigco.com, an attacker already knows that I use BigCo Inc’s internal SSO.

2. It’s avoids having users type (or autofill) their passwords, so if one of (for example) BigCo’s vendors is compromised, the attackers don’t learn the passwords of BigCo employees.

comment 2y ago · link · parent

I’m sort of amazed this has to be explicitly stated:

Because most YouTube creators (even the hobbyists) are at least partially motivated by money, and if you take away all the money they will likely make less content or stop altogether. I understand that it’s fun to get things for free, but that’s usually not sustainable.

comment 2y ago · link · parent

> the city had this situation about 20 years ago and what they did was buy a bunch of cheap land in the outskirts, build small houses and relocate these people.

That will never work in SF because it involves moving the homeless someplace else involuntarily and moving them all to a singular place.

So the homeless “advocates” will accuse you of being a Nazi who is trying to create a literal concentration camp.

It doesn’t matter how nice the community is, nor that the people would own their space, nor anything else about your plan.

As a meta-consideration, part of the problem is that many of people who work “for” the homeless really enjoy living in SF. Threatening to move their jobs to someplace less desirable is the reason they will call you names.

Also, if you fix homeless, you no longer need homeless advocates. That goes to the core of their identity, so of course they will fight you.

comment 2y ago · link · parent

> you just defined conservatism as the beliefs bad enough to get Twitter’s famously hands-off moderators to act.

This sort of disingenuous reply really isn’t helpful. The GP was clearly accusing Twitter of enforcing their TOS for righty accounts, while not enforcing their TOS when lefty accounts would do similar things.

I don’t think they are correct, but your rhetoric is just going to alienate people and makes your argument look weaker.

comment 2y ago · link · parent

> Isn't the entire purpose of having a standard set of emojis as part of Unicode to enable reliable communication of the concepts and emotions associated with them?

Maybe? I mean, Unicode already explicitly does not encode glyphs, but code points. So point 65 is capital Roman “A”, but Unicode says nothing about how it should be displayed.

Going further, certain code points represent characters which Unicode considers “the same” character in Japanese/Chinese/Korean even though they may be different in meaning, pronunciation, and visual appearance. Thus, you need to know which language is being writing before you can pick the correct glyph to put on the screen.

So, while stupid, it doesn’t seem exactly wrong or unprecedented for X to change their glyph from a squirt gun to a pistol.

comment 2y ago · link · parent

They can be. For example, Team Astana’s license was initially not renewed for 2007 following a doping scandal.

Unfortunately, the UCI usually reissues the license if the team pinky promises not to dope again.

Team Astana signed Lance Armstrong in 2009 and we all know how that went.

comment 2y ago · link · parent

You wouldn’t ban a sponsor, but a team. People typically refer to a cycling team by a sponsor’s name, but teams can (and do) change sponsors from season to season (or sometimes even within a season like “Jumbo Visma” -> “Visma Lease a Bike” did this year between the Giro and the Tour).

Jumbo Visma is the same team as Visma Lease a Bike. They have the same riders, managers, athletic director, staff, etc. Just a different name on the jersey.

As for how a team is banned: you simply ban them. In most of cycling you need to be a member of a team (professional) or club (amateur) to even enter a race. Your racing license will name your team/club. If your team is banned you may not register for the race.

Also, at the World Tour professional level, your team would have several cars driving within the race to support riders with food, bottles, and mechanical assistance. Since the race will be on a closed course, only official vehicles can drive with the riders. Even if started the race, you would be at a serious disadvantage to race with no team support.

comment 2y ago · link · parent

Exactly this. California has enacted term limits and it hasn’t gone well.

Lobbyists run everything because the politicians are all too new. It also completely disincentivizes long-term thinking because the system guarantees they will be out of office by the time the chickens come home to roost.

comment 2y ago · link · parent

Except the rolling blackouts that California experienced were not due to safety reasons or infrastructure failures, but because Enron conspired to schedule (planned) plant maintenance at many facilities at the same time, in order to maximize profit (due to a loophole in CA’s then-newly-deregulated electricity market).

The recent “public safety power shutoffs” (which are not rolling blackouts) are also not due to safety reasons, but because PG&E was trying to blackmail the state into bailing them out against lawsuits for the fires they caused. It is a case of “well, shucks, since we can’t absolutely guarantee that our power lines will never start a fire with 100% certainty… I guess we have no choice but to turn off power for some of your constituents, who will be selected in such a way that at least one person in every county will be affected (and thus color the entire map red) but without significantly reducing the number of kWh we deliver (and can charge for) while doing so”.

In both cases, the power company was not unable to deliver power, but chose not to because they believed they could score political points by holding ratepayers hostage.

comment 2y ago · link · parent

> Price yourself higher in the initial quote, and ask for staged payments, such that by the time your delivery schedule is 50-75% done you are 100% paid.

Related to this, another technique I've seen used:

* Figure out whatever price you want to quote

* Add 25% to that.

* In the formal quote, show the 125% price and a 20% discount for timely payment of your invoices (however you define that in the contract, maybe 30 or 90 days).

* The final bottom line price is the original price from the first bullet point.

When the client "forgets" to pay, you draw their attention to the terms of the discount and that, without the discount, they will owe 25% more.

comment 2y ago · link · parent

> By reading Justice Kavanaugh's dissenting opinion, this decision seems to delay opioid victims the settlement they previously won.

The problem is that this sets an ugly precedent. The bankruptcy settlement is basically "I can make a deal with A that takes away your ability to sue B, even though I wasn't suing B and you are". It makes no sense. The dissenting opinion is the epitome of "fuck you, I got mine."

Suppose we discover next year that one of the RNA covid vaccines causes cancer with 100% probability. The vaccine maker, on the hook for trillions of dollars of damages with no possible way to pay, declares bankruptcy (victims get approximately nothing). Elon Musk steps in and offers to contribute 20 billion dollars to help compensate the victims who would otherwise get nothing. All he asks is that the bankruptcy court dismiss all claims related to his pay package, stock manipulation and libel on twitter. The victims overwhelmingly approve the settlement and the judge oks it. After all, bankruptcy judges have wide discretion and $20 billion is better than $0.

Is that ok?

In my analogy, Elon Musk (and most of the people suing him) are not related to the vaccine maker (but there could be overlap among some of the plaintiffs and Musk could own some shares of the vaccine maker). But, technically, the same is true with Purdue Pharma, the Sackler family and plaintiffs. Yes, the Sacklers are more closely related to Purdue than Musk and the hypothetical vaccine company, but that's just a matter of degree.

In the Purdue bankruptcy, the victims of Purdue voted (and the court agreed) to take the Sackler's money and in exchange prevent anyone at all in the United States from suing the Sacklers about anything at all related to opioids. Even people who are not eligible to be members of the Purdue bankruptcy settlement cannot sue the Sacklers!

If the Sackler settlement was allowed to stand, it effectively allows billionaires to buy their way out of liability for unrelated things if they donate some money to sympathetic victims. All they would need to do is create some degree of nexus between themselves and the entity declaring bankruptcy, sufficient for a bankruptcy judge to ok the settlement.

comment 2y ago · link · parent

Any BLE HR strap should work. They all use a CR2032 coin cell that lasts several months.

* The Wahoo chest strap is more comfortable and more convenient to don and doff (it uses a snap at the front) and easier to change the battery. Main disadvantage is that the battery door is a known weak point (but you can 3D print a replacement) and can leak sweat inside, which causes galvanic corrosion on the circuit board. Also, it is sensitive to battery condition: silently stops transmitting, or transmits bad data when the battery is low.

* The Garmin chest strap is less comfortable because the strap bunches up. Also, the plastic hook rubs on your ribs. It's less sensitive to battery condition and gives accurate low battery warnings, but you need a tiny torx (maybe a T1 or T2?) to replace the battery, which is annoying. On the other hand, the battery needs changing less frequently than on Wahoo's strap.

I haven't tried Polar's chest strap, but it looks to be designed like Wahoo.

Wahoo's arm strap (optical, like Apple Watch) seems to have less reliable data (like all optical straps). The battery only lasts ~6-8 hours, and requires a proprietary cable to charge.

If you have any other fitness devices, like a bicycle GPS head unit or a GPS running watch, I would look for straps that are dual protocol (BLE / ANT+). ANT+ just works better than BLE: Easier pairing, lower energy consumption, fewer data dropouts.

comment 2y ago · link · parent

> [...] skipping the probe entirely, and just having a USB receptacle on the board [...] long with some circuitry to make the other end talk USB3.1.

Practically, this probably ends up fairly similar to what I mentioned above, since "making the other end talk USB3" means receiving with the bits it sends and responding in a way it expects.

But, yes, in-situ / solder-down probes can definitely simplify things because it gives you the flexibility to do things like remove the existing termination (assuming the termination isn't in the receiver IC itself) and use the 1x Z0 soldered-in probe as the terminator.

I just probably wouldn't do this part:

> then have a front-end IC that is hopefully available and that is fast enough to do the sampling

This gets complicated fairly quickly. It sounds like you want both real-time sampling (so you can do something with the bits and "make the other end talk USB3") fairly high resolution (so can see something in the eye diagrams). That calls for a digitizer with like >=5 bits and a sample rate of >100 Gsps... Which basically doesn't exist, AFAIK. Oscilloscopes which sample that fast are interleaving multiple digitizers, and this isn't really something you can DIY.

However, if you just want eye diagrams, you can use ET sample techniques (running at a pedestrian ~10-100 ksps), together with something to synchronize the sample to the USB clock, to fill in the entire horizontal width of the eye diagram. There are several catches: First is that it takes a very large number of triggering events to fill in the diagram. Second, the 100 ksps sampler needs a very short capture window (on the order of picoseconds). Third is that you "miss" most bits in the data stream, so you don't capture any real USB data while making the eye diagram.

Fortunately, you can buy a used sampling oscilloscope which does this for you. It captures the samples, relates them to the USB clock, and places them in the correct place on the x-axis. You just need to construct probes to bring the signal into the scope. The 11800 I mentioned is one such example, but there are others, too.

comment 2y ago · link · parent

> Is there any open source DIY project to relatively cheaply measure the analog performance of USB 3.1 (10Gbit/s) signals?

For this kind of thing (measuring eye diagrams and such, as you mentioned in another comment) you'd need a probe-oscilloscope system with (at minimum) 30 GHz at the probe tip. Realistically you'd want 50 GHz, and more is better. Recall that square waves are composed of odd harmonics of the fundamental (~10 GHz), and the more harmonics you capture the more fidelity you'll have to the original.

I don't think there are any real-time scopes with this much bandwidth, so you will need a (equivalent-time) sampling oscilloscope. Keysight might make one, but it probably costs "call us" dollars.

[Edit: Actually, it looks like the SD-32 sampling head for the Tektronix 11800 series of sampling scopes does claim a bandwidth of 50 GHz. That plugin does not have internal triggering though, so you would need to add a trigger recognizer head and arrange for an external trigger signal. Also, don't buy these used on eBay unless the sell offers returns because the sampling diodes in the frontend are very delicate.]

One additional wrinkle is that super-speed USB uses a differential pair with a characteristic impedance of 50 Ohms (each side of the pair is 100 Ohms, and terminated with a 100 Ohm resistor). That means you'll need a differential probe (or two probes and an oscilloscope that can do math).

I don't know of any DIY project with those ambitions, but the most likely route for something DIY is a passive Z0 probe: You want the DUT-probe interface to look like an impedance-matched power divider. That calls for a probe impedance of 10x (or even 100x) the transmission line, so 500 or 5000 Ohms.

Anyway, I don't know of any DIY project that fits your needs, but the terms to search for include "Z0" and "passive".

comment 2y ago · link · parent

Who is going to buy a house occupied with tenants and a negative $1k/month cash flow?

Only someone who would pay less than the same house without tenants, which might not be enough to cover the outstanding balance of the mortgage, which means a short sale, which means you need the lender to approve (which they won’t).

But sure, the GP is “crying”.

comment 2y ago · link · parent

For what it’s worth, the max polling rate for low-speed USB devices (of which mice almost invariably are) is, IIRC, 100 Hz.

I would worry less about stair stepping and more about making the speed and acceleration distributions and auto-correlation look natural: a real human-powered mouse won’t be constantly moving (you have to stop the think about the next step, use the keyboard, etc) and when it is moving will tend to follow a rapid move-pause-move pattern.

Another telltale would be a mouse that moves naturally but never clicks.

Vendor and device ID are the lowest hanging fruit, but I think there are a lot of other giveaways that a mouse jiggler is being used.

comment 2y ago · link · parent

Yes, but remember that the Supreme Court also has the power to interpret the constitution and declare laws unconstitutional.

But I don’t think your reading is quite right. If congress could simply declare exemptions to Supreme Court appellate review, the court would have no power at all.

comment 2y ago · link · parent

> I've seen no sign of this data being "publicly auditable" - can you share this with me?

They announced it in the same keynote where they announced the partnership with OpenAI (and stated that sharing your data with OpenAI would be opt-in, not opt-out).

comment 2y ago · link · parent

> Example that should be super trivial: try to setup a sync of photos taken on your Iphone to a laptop (Mac or Windows or Linux) without going through Apple's cloud or any other cloud?

The first hit on Google makes it look trivial with iPhone too?

https://support.apple.com/guide/devices-windows/sync-photos-...

> With an Android phone and Windows laptop (for example) you simply install the Syncthing app on both and you're done.

And with iPhone you just install the "Apple Devices" app: https://apps.microsoft.com/detail/9np83lwlpz9k

comment 2y ago · link · parent

> Let's check in with OpenCL and see how far it got disrupting CUDA.

That's entirely the fault of AMD and Intel fumbling the ball in front of the other team's goal.

For ages the only accelerated backend supported by PyTorch and TF was CUDA. Whose fault was that? Then there was buggy support for a subset of operations for a while. Then everyone stopped caring.

Why I think it will go different this time: nVidia's competitors seem to have finally woken up and realized they need to support high level ML frameworks. "Apple Silicon" is essentially fully supported by PyTorch these days (via the "mps" backend). I've heard OpenCL works well now too, but have no hardware to test it on.

comment 2y ago · link · parent

> impacts for 0.01% of users but will not matter at all to most folks(cue the replies from the 10 HN users who need to tell me how important this is to them).

It seems like this impacts the millions of people who visit the National Parks in the US?

There is essentially no cellular service anywhere in the parks because the Park Service thinks people should put down their phones and enjoy nature. Wifi is only for guests of the in-park hotels, and is barely adequate for sending short text messages. I actually can't remember that last time I saw a payphone, but they are everywhere in the parks (and people use them) because of the lack of cellular coverage.

> Also, wasn't this already announced?

You're thinking of emergency SOS. This is for chatting to your friends.

comment 2y ago · link · parent

1. You create a ULA prefix (fc00:/7) on your local network. See https://en.m.wikipedia.org/wiki/Unique_local_address

2. Then you have your router advertise that prefix.

3. Then you have your DNS server pick a non-temporary address within that prefix (either manually set it, or let the OS pick one).

4. Then you tell your router to advertise that address as the DNS server in the RA.

Depending on how you have your network set up, your DNS server will have probably four IPv6 addresses: A link-local one; one on the ULA prefix you created; a non-temporary address on the prefix delegated by your ISP; and one or more temporary addresses on the prefix delegated by your ISP.

Outgoing connections (for recursive resolving) will be on one of the temporary addresses from the PD prefix. The DNS server listens on the static ULA address.

You need to configure your firewall such that traffic from the delegated prefix can get to the ULA one, and vice versa. This usually just means blocking traffic from the WAN port to the ULA prefix.

comment 2y ago · link · parent

> It's funny because most of your argument assumes setting some kind of threshold would be a problem, as if it was not exactly how fiscal rules worked already.

But it is the crux of the problem.

When establishing things like "country of residence" (or, here in the US, to which state(s) you owe taxes), the second order effects aren't the same. It's the difference between "you owe a few extra percent of your income for one year" versus "you lose your home permanently".

As public policy, it is important not to expropriate someone's home simply because they had to be away for extenuating life circumstances like caring for an ailing relative for a few months. Because otherwise, you will disincentivize that behavior (and create a greater burden for the state).

It's easy for you to come back with "Oh, well the competent bureaucrats in my government will simply write an exception for those who leave for a few months of eldercare because that is clearly a legitimate reason to leave your house vacant for a few months." But that is just a bandaid on an artery which creates an explosion of exceptions and exceptions to the exceptions.

What happens if I need to care for my grandmother, and then something else comes up? Do I get to have two exemptions to expropriation? Can they be consecutive? What sort of documentation do I need? What if the exemption allows n days, but I need n+3? What if I had planned an m-1 days vacation (for the m vacation days exception) right before I need n days to care for my grandmother?

Very quickly you will have 10,000 pages of rules that nobody understands. And you will get perverse outcomes when someone hits an edge case that wasn't quite accounted for.

Or maybe you will say "put the case in front of a judge and let them exercise discretion". But now we have the problem that it is no longer really rule of law, and people with connections will always get exceptions while people without don't. So that increases the class divide because people with connections are usually rich, and middle-class people usually don't have connections.

comment 2y ago · link · parent

Ehhh… I dunno, man. It’s a great first step and an awesome demonstration of metasurfaces, but NewAtlas is heavily editorializing the outcome, to the point of making the paper’s authors look foolish (if you didn’t know that the authors aren’t making the outlandish claims)

Among NA’s claims: night vision without cooling, and comparison to MCP-based image intensifiers.

The authors successfully upconverted ~1500nm photons to 550nm with high efficiency.

So, not really night vision in the sense of thermal IR (yet) That’s why they don’t need cooling: it isn’t thermal IR, which is more like 9000nm.

But it’s also not the same class of image intensification like in a typical “night vision” goggle/scope:

You get some intensification by up converting IR to vis with high efficiency, while simultaneously passing vis (and the neat effect of combining both in one image without additional processing). You could get like 1-2x intensification from the wider spectrum (using a wider band version of the apparatus—the current one is fairly monochromatic), not 100x by amplifying photon counts.

Newatlas also fails to mention another interesting property: the amplified wavelength is tunable!

comment 2y ago · link · parent

> Like yes, eventually they’ll have to come down. (There isn’t much room for them to go up.)

Yup, the economy is cyclical, so they'll come down of course. But they can go way higher, too.

Consider this: From 1978 to 1985 (7 years), the federal funds rate was never below 8%, and from 1969 to 1991 (that's 22 years), it only dropped below 6% during the recoveries from recessions.

I think the last 20 years of ZIRP have hoodwinked a lot of people into believing that sub-5% rates are normal. All the people saying rates "have" to come down and that they will therefore have the option to refinance their mortgages are smoking a whole pipe full of copium.

There are structural reasons to think that inflation is baked in for the next decade, and it would be not at all surprising if a mortgage opened today is paid off before rates again drop below 5%.

comment 2y ago · link · parent

Well, considering that most home users never update their router's firmware, I'm going to go out on a limb and suggest that the majority of applied updates are malicious.

If you did want to go this route, a simple fix would be to have the write enable line gated by a hardware one-shot timer (think like a 555 timer) triggered by a physical button on the front (and the button would also reboot the router).

The firmware update sequence would go like: Router prompts user to update using button -> user presses update button -> router reboots to clear malicious software -> when the router comes back up, the write enable gate remains open for $n minutes (and maybe there's a GPIO that can hold the gate open if it is already open) -> router performs software update.

The problem is that there's pretty much no way to do this without adding a $1-2 to the BOM, and no manufacturer of (pro|con)sumer routers will do that.

Edit: Or do what stacktrust wrote and just have a toggle switch (update/secure).

comment 2y ago · link · parent

> so you're much better off just buying batteries that are made for the purpose

Or even just used EV batteries. I personally don't think that battery recycling is as big of an issue as some people say. But, if I'm wrong, a cheap worn-out EV battery with "only" 50% capacity is still very useful as a home backup.

1
131415
37