Readit News logoReadit News
brlewis commented on Who uses Accept-Language header?   serpapi.com/blog/who-uses... · Posted by u/terrytys
mrweasel · a year ago
Even Accept-Language headers aren't really a particularly good solution. I might prefer some sites in Danish, but others I'd like to have en English. Unless browsers allow you to set language on a per site basis, we still aren't really capturing the nuances of language preference.

Accept-Language could be a pretty good indicator of a persons language skills, but it's just to far into the browsers settings to be something that a normal user would adjust. I can see why checking the domain is quicker and perhaps more inline with a persons intent, even if it is ignoring travelling.

We where trying to book a table at a restaurant, it's part of a fairly large chain. We where in Sweden, but the chain also operates in Denmark, so we know that they have a Danish version of their website and ordering app, you just can't use the Danish language when you are in Sweden. You can get English for some reason, but not the Danish version. That to me seem like a missed opportunity.

brlewis · a year ago
Accept-Language headers aren't used in a particularly good way by browsers and servers. If used better, they would be a particularly good solution.

The idea you mentioned of browsers allowing the header to be set on a per-site basis would be particularly good.

Another very good solution would be for servers to assign weight to the languages they support, and to combine their weights with the Accept-Language weights to choose the best language in common.

But even as they're implemented and used now, Accept-Language headers are already a way better approach than geo-ip.

brlewis commented on Who uses Accept-Language header?   serpapi.com/blog/who-uses... · Posted by u/terrytys
simonw · a year ago
> but it's just to far into the browsers settings to be something that a normal user would adjust.

Most users are on mobile these days, and picking your preferred language is an unskippable step of setting up a new phone.

My hunch is that accept-language is far more accurate today than it used to be.

brlewis · a year ago
My hunch is that Accept-Language became the best way to determine a user's language about the time it became common to bring a laptop while traveling. People use arguments today against Accept-Language that have been wrong for decades.

EDIT: Best initial way to determine a user's language. MDN is right that overrides should be possible. https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_ne...

brlewis commented on Apple's requirements are about to hit creators and fans on Patreon   news.patreon.com/articles... · Posted by u/miiiiiike
CivBase · a year ago
> Why does patreon need its own app?

Notifications. Performance. Responsiveness. Bandwidth. Offline access. And a lot of users simply find apps to be more convenient than browser bookmarks. I use the web interface for Patreon, but I can see why some users would want the app.

Why does Apple themselves have apps for things like maps, news, stocks, weather, video chats, etc? These all rely on web services and could theoretically be handled in the browser. I don't think any of these examples even provide users the ability to buy anything. Clearly Apple recognizes a value in some services being available through native mobile apps.

brlewis · a year ago
I think your information about lack of notifications is outdated.

https://developer.apple.com/documentation/usernotifications/...

brlewis commented on When Companies Ask for Your Social Security Number, Try Saying No   wsj.com/tech/cybersecurit... · Posted by u/bookofjoe
OptionOfT · 2 years ago
There is a doctor I visit and they have one of those kiosks that make me do shadow work, you know, checking me in, the work of a receptionist.

It used to prompt for SSN. I would enter a bunch of zeroes. Now there is a button that says 'I don't want to give it'.

And then the next screen prompts you for the last 4 digits of your SSN, stating that insurance companies need it.

No. You already have a scan of my ID and insurance card. You don't need more.

brlewis · 2 years ago
I once insisted with an optometrist that they only take my insurance number and not my SSN. They contacted my insurance and the insurance sent them my SSN.

I can't avoid medical insurance having my SSN because of tax reporting requirements.

brlewis commented on Branded types for TypeScript   carlos-menezes.com/post/b... · Posted by u/carlos-menezes
jacobsimon · 2 years ago
You can still do this with classes in typescript:

class Hash extends String {}

https://www.typescriptlang.org/play/?#code/MYGwhgzhAEASkAtoF...

brlewis · 2 years ago
That's distinguishing the String class from primitive string. I don't think that would still work with another `extends String` the same shape as Hash.

For example: https://www.typescriptlang.org/play/?#code/GYVwdgxgLglg9mABO...

  class Animal {
    isJaguar: boolean = false;
  }

  class Automobile {
    isJaguar: boolean = false;
  }

  function engineSound(car: Automobile) {
    return car.isJaguar ? "vroom" : "put put";
  }

  console.log(engineSound(42)); // TypeScript complains
  console.log(engineSound(new Animal())); // TypeScript does not complain

brlewis commented on Show HN: Term Typer – Learn a language by typing   termtyper.com/... · Posted by u/jeanmayer
brlewis · 2 years ago
This seems like a great idea, nicely implemented.

Minor bug report: the pronunciation button pronounced Spanish "adaptar" as "ajaptar".

brlewis commented on The Arc Product-Market Fit Framework   sequoiacap.com/article/pm... · Posted by u/msolujic
pedalpete · 2 years ago
I feel like there is quite a bit of overlap in hard-fact and future vision, and I'm not quite sure where our company would fit.

We're in the neurotech/sleeptech space, and while the majority of the market is selling "fall asleep faster", "sleep more", we're improving the efficiency of deep sleep with the health benefits.

This is a hard-fact - people are resolved to poor sleep quality, or no "real" solutions to improving deep sleep quality - yes, sleep hygiene is important, just like brushing your teeth is important, but that isn't the answer to a poor diet.

So customers are resolved to the "I'm just tired, that's the way it is" mentality or "I'll track my sleep, and now I know why I'm tired".

At the same time, they don't have the context of "there is a way to do this", which is why they were resolved to accept the status quo in the "hard-fact"

Does anyone else feel they are falling between the hard-fact and future vision?

Is anyone falling between Hair on Fire and Hard Fact? I feel this is possible too.

brlewis · 2 years ago
Deep sleep is not improved by consistent sleep/wake times, and adjustments to noise/temperature/light conditions? If not, which sleep phases are?

(I don't have an answer to the overlap question; I'm squarely in Hard Fact.)

brlewis commented on Rents are soaring. Is RealPage to blame?   businessinsider.com/apart... · Posted by u/unclebucknasty
jeffbee · 2 years ago
It is not price fixing, it is price finding. There is nothing wrong with a market maker existing. There is good evidence that markets with higher penetration of this software respond more quickly to declining markets than do other markets with disorganized lessors who maintain the "pretend and extend" strategy to rent setting.
brlewis · 2 years ago
From the article,

In fact, the lawsuits claim that RealPage shares "peer lists" with clients that tell them exactly who else is providing data to the company within a specific distance of their property.

This sounds like reassurance to a landlord that peers will mimic the same price moves. If true, I would call that price fixing.

brlewis commented on Bun 1.1   bun.sh/blog/bun-v1.1... · Posted by u/ksec
afavour · 2 years ago
I feel like such a downer when I ask this about Bun and Deno, but: why should I use them instead of Node?

I don’t mean to take away from the obviously impressive engineering effort here. But VC funding always gives me pause because I don’t know how long the product is going to be around. I was actually more interested in Deno when it promised a reboot of the JS ecosystem but both Bun and Deno seem to have discovered that Node interoperability is a requirement so they’re all in the same (kinda crappy) ecosystem. I’m just not sure what the selling point is that makes it worth the risk.

brlewis · 2 years ago
brlewis commented on Being laid off in 2023-2024 as an early-career developer   fpsvogel.com/posts/2024/e... · Posted by u/dxs
AIorNot · 2 years ago
It’s no easier as a later career tech veteran - been laid off for over 6 months now and hundreds of job applications with a total of 3 interviews so far which have led nowhere - I’m running out of unemployment next month

I’ve got 20 years in tech: web, mobile, cloud and early in my career I won a NASA medal for software innovation - worked in dozens of industries and led teams of 40 people for MM$$ flagship applications

Tried my network but nothing so far and its been really frustrating

brlewis · 2 years ago
Don't give up on your network. For applying cold, have you tuned your resume for Applicant Tracking Systems?

I am starting a new job in April with a company that contacted me via LinkedIn in December.

u/brlewis

KarmaCake day11715February 20, 2007
About
meet.hn/city/us-Beverly

Socials: - github.com/brlewis

--- Bruce Lewis, creator of https://en.howtruthful.com/

View Original