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

The difference is that with upfront payment developers are forced to actually add features that provide more utility. Otherwise customers don’t upgrade. With SAAS you have to keep paying, even with if the software is completely static with no new features or bug fixes.

As for bug fixes, do you think I am more or less likely to recommend your software to my friends if it is full of bugs and you don’t fix them?

comment 3y ago · link · parent

When you manufacture the physical widget, manufacturing tolerances mean that not every widget is the same. There are variations in the as-produced widgets.

You need a QA/QC process to identify units which are too far out of tolerance and either remove them from the pipeline or remediate them. You also need to track trends in the measured tolerances to proactively fix your production equipment.

In the software world, that’s trivially easy. Your CI pipe publishes an artifact and then every user gets a bit-perfect copy of that artifact. Your entire QC is just: Users compare the artifact’s checksum to the expected checksum. It essentially always matches because we use things like TCP to copy the data.

The type of QA you’re talking about is also required for physical widgets.

comment 3y ago · link · parent

> The low prices are CREATING demand, so they can't respond to it.

Well, go back to Econ 101. There’s an equilibrium point in every market where supply meets demand. My point is that prices are far, far below the equilibrium point. Amtrak should be raising prices until the quantity demanded just matches the quantity that can be supplied.

I just find it insane that Amtrak is simultaneously losing money on long distance routes and also unable to satisfy demand. Like, the solution to both these problems is trivial.

> We could have spent decades upgrading and expanding routes and things would have been great today.

Not if it was run like Amtrak is today, and there’s little reason to think that it wouldn’t be. Conrail lost money until it was privatized, too.

> This leads to huge amounts of pollution compared to what a modern electric train system would produce.

I’m very skeptical of this argument, except for routes like the Northeast corridor which are both short and heavily trafficked.

Here’s some homework (because you probably won’t believe me until you do it yourself): calculate the embedded CO2 in the steel and concrete needed to build a railroad between your favorite city pair. If you’re going with electric trains, you also need to add in the copper for the overhead lines. Then look up the CO2 emitted by a flight between the same.

Now calculate how many flights per day you need to pay back the embedded CO2, and remember that rails and OHV lines have finite lifetimes.

To get you started, each meter of rail has about 50kg of steel (and you need two rails per track).

Before you wave your hands and say “green steel”, remember that liquid bio fuels other than ethanol (and jets don’t run on ethanol) are generally carbon neutral too.

comment 3y ago · link · parent

That is at least partially because Amtrak has no revenue management to speak of. When I have tried to plan trips, rooms of all types are booked solid usually 6 months out, and nearly 12 months for holiday weekends.

I’m not arguing to privatize Amtrak, but I think any private company would try to adjust prices such that the last room sells out the day before departure. And I think that would go a long way towards making Amtrak less unprofitable.

But, fundamentally, it’s hard to see how these routes can compete with air travel when operating a train requires 4-5x more labor hours than a flight crew.

comment 3y ago · link · parent

Urban canyons aside, the GNSS receiver itself should almost always have better than 100 ns accuracy, even when moving. After all, 100 ns at the speed of light is ~30 meters. At 200 ns you're on the wrong city block.

As for bringing that into a computer, I'm having a hard time imagining a hardware setup where a software PLL won't give you millisecond-level accuracy (assuming you have an internal clock with at least that much precision). 1 second accuracy implies just using the timestamp from the last NEMA string with no further processing...

comment 3y ago · link · parent

Doesn’t Intel own a bunch of necessary patents for Thunderbolt?

comment 3y ago · link · parent

Almost as bad is the FLIR app. You have to give it permission to view all photos, or else it won't let you save a photo. iOS specifically has an API that allows saving photos without photo access.

comment 3y ago · link · parent

> > Mr Achter said he used it only to indicate that he had received the contract, but not to indicate his agreement.

Yea, he said that. After the spot price of his commodity nearly tripled compared to when he accepted the contract several months earlier. And after half a decade of accepting similar contracts with similarly-terse replies.

> I also frequently have fat finger emojis in Slack, Discord or WhatsApp, now it's legally bounded?

I imagine that if he had quickly (within a day or so) followed up with "oops, fat-fingered that", the contract would have been voided.

comment 3y ago · link · parent

> There's no route to professorship for most grad students, ever. We either need far bigger universities, or far fewer grad students.

What we really need is for professors to produce fewer PhDs over their career. When each professor produces 20 PhDs, you need an exponentially increasing number of professorships. That number needs to be closer to 2.

comment 3y ago · link · parent

TAs aren't overworked, even without union representation. You'll never be asked to do more than an average of 20hrs/week, ever. You can always just refuse to sign the end-of-semester certification.

RAs are overworked, but unions can't do anything to help that. As a grad student, you need to publish papers, which means you need the cooperation of your advisor. If you bring a grievance or work to rule, there are a million innovative ways your advisor can sabotage you as retaliation.

They can let you pursue ideas that they know are not novel (and the papers will be rejected). Or suggest you try something they know won't pan out. Or run out of budget before ordering that $THING you need for your experiment. When you still haven't defended after ~8-10 years, the university's policies will automatically kick you out. Problem solved!

As for a living wage: I wasn't represented by a union in grad school, but all the commenters here who were have pointed out that their unions didn't fight for higher wages.

comment 3y ago · link · parent

CS is rather unique in that regard (along with maybe economics and business, though to a lesser degree).

For everything else, the vast majority of incoming graduate students intend to get a job in academia and then "settle" for a high-paying job in the private sector that doesn't really use their skills.

> If public funding returned to higher levels and the number of tenure-track jobs was increased, then the oversupply would not be quite so bad.

This is unrealistic. You'd need to increase tenured faculty by at least an order of magnitude to soak up all the grad students currently being produced... But that doesn't even solve the problem because all those professors are going to want to do research, and they're going to want to have graduate research assistants. So now you have the same problem as before, but an order of magnitude bigger.

The only real solution is to reduce the number of PhDs produced over a professor's career from ~20 to ~2. Which of course means reducing the number of grad students.

> This is a sector-wide change that graduate worker unions could push for at each of their individual institutions, especially if they worked in tandem with the unions representing adjuncts

Universities will never go for this. You have to understand your counter-party's BANTA. This is like Brexit: If your position is that you want terms that are strictly worse for your counter-party than if you just don't exist... well then you're not going to get a deal.

comment 3y ago · link · parent

> Yes. Doesn't "a bunch of them went off and got private sector jobs instead, limiting the size of the undergrad population" sound extremely implausible to you? As if graduate students can control enrollment.

You can't run a department without TAs. Who's going to grade homework and exams? Professors? Don't make me laugh.

If you don't have enough grad students to TA your department, you have to borrow some another department. But what if all the STEM departments don't have enough TAs? Do you hire adjuncts (at roughly 3x the rate)?

comment 3y ago · link · parent

> STEM grad students often have much bigger stipends than humanities grad students given that STEM is more well funded.

That was the opposite of my experience, actually.

comment 3y ago · link · parent

> It takes relatively little time to write a quick sentence or two in review of the assessment

Not just that: At every job where I interviewed candidates, HR expects some kind of feedback beyond just "hire"/"no hire". At least some bullet points of highs and lows, red flags, etc.

If nothing else, this helps protect the company from false allegations of illegal discrimination by having documentation for why a particular candidate was rejected. It also helps recruiters to know if they're finding candidates who are "close to what we want" or "not even in the ballpark".

Now, I know that some interviewers can be fairly blunt in their feedback, so you'd not necessarily want to just copy-paste it to the candidate, but the point is: that feedback already exists. The recruiter/HR just needs to (maybe) sand off some of the rough edges.

comment 3y ago · link · parent

I had heard the same things. And then I actually rented a Model 3 for a week (twice actually). Aside from panel gaps (the Trunk lid was slightly misaligned on one of the cars I rented), I think the whole “Tesla is bad at cars” is promulgated by people who have never actually sat in a Tesla.

comment 3y ago · link · parent

You’re missing the forest for the trees.

Apple today can tell Facebook “don’t track our users unless they opt in”, and Facebook has to comply or else. Or else what? Or else they get dropped from the iPhone.

Apple with side loading has no power to compel Facebook. Facebook will say “ok. Hey everyone! You can download and sideload the New And Improved app today!”

If you look at the game theory of it, everyone who wants to track (which is almost everyone) will leave the App Store once two or three big apps do it. So Apple will be forced to loosen privacy rules of App Store apps if they want to keep anyone.

> The question is - will you personally download a privacy-violating app in that weird manner via a corporate account or something?

The answer is obviously yes, because there won’t be any apps left in the App Store.

comment 3y ago · link · parent

> Only 17% reported being in SF for less than a year, what are you talking about?

Oh, looks like you forgot to add the 28% who were already experiencing homelessness when they arrived in SF. I’m sure that’s just an honest mistake.

> ahahaha oh okay you are insane.

So you believe that a homeless person who has lived in SF for 13 months, total, at the time they were surveyed is “from SF”? I’m not the one who created the reporting buckets.

I’m happy to change my mind given new data, but a person who has lived in a city for 1-10 years is not “from” that city. Maybe you should ask SF’s homeless census to report in more gradual buckets.

comment 3y ago · link · parent

You may want to dig into the documentation a bit more.

First, ask yourself a simple question: How can a Yubikey store an unlimited number of FIDO2/U2F credentials. The official Yubikey documentation literally claims that Yubikeys can do that. Not “a lot”. Not “more than you’ll ever need”. Not 10k. Not 10M. Not 10G. Unlimited.

Gosh, maybe I should use a Yubikey for mass storage on the cheap! I wonder why nobody has done this?

Second, you’ll want to dig into what is the contents of the “key handle” that is passed from the server, through the user agent, to the key. Hint: Despite the HN hive mind, I’m not wrong.

comment 3y ago · link · parent

Just to play devil’s advocate:

How is this different from a corporate email retention policy that auto-deletes emails older than 6 months?

I mean, sure, you can be required to override the policy under certain circumstances (e.g. when notified of an upcoming lawsuit), but what if the only person capable of doing that is being held under arrest? (Or just cannot be contacted)

My intuition is that, in the United States, it would be a 5th amendment violation to require an arrestee proactively disclose the existence of such a kill switch.

comment 3y ago · link · parent

One problem with the global menu bar is that it doesn’t work with point-to-focus window managers.

comment 3y ago · link · parent

> I think at one point they were making it virtually impossible to replace components because they were serial locked.

That seems like an obvious reaction to the fact that criminals (once they were prevented by activation lock from selling stolen iPhones) started parting out stolen iPhones and selling the parts to repair shops.

I think a better approach would be for Apple to only block the replacement part if that part has a serial associated with an activation-locked phone, but I'm sure it's easier to just block everything except for the replacements shipped directly from Apple.

comment 3y ago · link · parent

> Safe from server leaks. Because servers only keep public keys, servers are less valuable targets for hackers

That’s not quite true, though. What is true is that the server does not have a plaintext copy of your private keys. That’s a crucial difference.

The server has an encrypted copy of your private key, which your with token decrypts with its private key. That is how a usb key can store an unlimited number of U2F credentials: The USB key isn’t storing them at all. They are stored on the server you are authenticating to.

What this also means is that if there is a backdoor in the crypto algorithm used by your token and an attacker gets a copy of the server’s U2F credentials, then you are at risk of having your private key stolen.

comment 3y ago · link · parent

Cry me a river. How horrible it must be to have perfect job security, as close as you can get to tenure, unless you massively fuck up. Oh, and an automatic 1% salary.

> but you can really only complain to other MDs. Outsiders will demand you work more, get paid less, get sued more, and grovel.

Oh yes, this is exactly what I want. I don't care about anything my GP does, except whether they kiss my feet when I schedule an appointment. How do you know me so well?

comment 3y ago · link · parent

They do, and if you dig into them, the numbers show that most people are not from SF.

https://hsh.sfgov.org/wp-content/uploads/2022/08/2022-PIT-Co...

By the agency's own numbers, only 72% of SF's homeless population "became homeless while living in SF."

Additionally, among those 72% who "became homeless while living in SF", only 35% have lived in SF for more than 10 years at the time of the census (the agency only has buckets for 0-1, 1-10 and 10+ years, and does not collect the amount of time the person lived in SF before becoming homeless).

So, although they may have technically "become homeless while living in SF", 65% are not really "from SF" in any meaningful way (they lived in SF for less than 10 years since they first got here, including time while homeless). Those 65% aren't kids: Only 2% of SF's homeless are under 18, and more than half of homeless were over the age of 25 when they first became homeless.

When you multiply it out (0.35*0.72), you end up with an upper bound of just 25% of the homeless population is really "from SF" (as in, became homeless while here and have been here >10 years).

It's probably even lower when you consider that the current episode of homelessness is their first for only 23% (so while they may have "become homeless" while in SF, many have been homeless elsewhere before and thus only marginally housed when arriving).

comment 3y ago · link · parent

> At least in san francisco it seems its people who lived in SF before becoming homeless that are in the majority.

This is bog-standard mis-reporting of statistics, and I would encourage you to download and read the original homeless census report.

A person who had home in SF for 1 month and then lived unhoused in SF for 10 years is counted among those "long term" SF residents who became homeless. They're not really from SF, even if they technically become homeless while living in SF.

comment 3y ago · link · parent

I mean, the elephant in the room is that we easily build enough housing for 115k people for much less than $17B if we simply allowed it to be built outside an existing city in the Central Valley. There's plenty of relatively cheap land to build mid-density housing and all the services the population would need (hospitals, substance abuse assistance, public safety, etc).

It would be like having two new cities the size of Merced.

comment 3y ago · link · parent

> Everyone wants that solution. [Just building more houses]

I'm not sure I completely agree with that.

Suppose you wanted to build the maximum amount of free housing as quickly as possible. What would you do?

You'd pick someplace rural (where land is cheap, and there are fewer people to raise objections), buy a bunch of land and just build the homes (and services needed by the people who would live in them). You would then invite anyone who needed shelter to come live there for free.

But if you actually try to do that, "homeless advocates" will say all sorts of mean things about you and block the project. So I would argue that not everyone wants the solution of just building enough homes for everyone.

They want homes built in specific places, and those specific places happen to be highly desirable and very expensive places to build acquire land and build homes.

comment 3y ago · link · parent

Several times a day, for me. I have one band that I like for exercise, another for work (avoids inflaming carpel tunnel while typing) and a third for the aesthetics when walking around.

If the Apple bands were harder to switch I probably just wouldn’t wear a watch while working and exercising.

1
181920
37