Better HN
topnewbestaskshowjobs
Log inSign up

jamesrr39

286 karma · joined Aug 31, 2020 (6y ago) · 136 submissions

Submissions

comment 1mo ago · link · parent

For me Deno has a really nice security posture, the permissions model is just something I haven't seen in from other runtimes (JS or otherwise). There were other nice features (native typescript support, compilation to a standalone binary), but the permissions model was just unique.

https://docs.deno.com/runtime/fundamentals/security/

comment 3mo ago · link · parent

> he's trying to commoditize his closed rivals, it's not out of principle

To be fair Meta/Facebook does have quite a strong open source history; React (Native), PyTorch, Btrfs, zstd, etc. It didn't just start here with AI models.

comment 3mo ago · link · parent

Why only one app, and not several and choose the right one for the occasion? Mapy.com and OsmAnd are much better for trail use than Google Maps. Mapy has public transit info (depending on where you live, of course).

comment 3mo ago · link · parent

I think Anthropic/OpenAI do have a moat in the (western) enterprise market. Chinese hosted models are a no-go, and my experience with enterprise IT departments is that they will not self-host. So far signing up with a known product (e.g. Claude) seems to be the way they will go and this is the moat that the AI companies have. Alternatively there is Copilot, but that for now seems to mostly be backed by Anthropic/OpenAI models[1].

Will this continue? The field is moving too fast to tell. Kimi, Qwen, Deepseek also produce very capable models but that doesn't automatically translate into trillion dollar valuations.

However, trillion dollar valuations on Anthropic and OpenAI, such new companies, never publicly traded and such huge valuations decided just by investors. This is just asking for trouble.

1. https://docs.github.com/en/copilot/reference/ai-models/suppo...

comment 4mo ago · link · parent

> Who cares?

Someone cares enough to offer $111B...

comment 4mo ago · link · parent

yes, there are questions like that (steps, ramp, etc). Also questions about road surfaces, pavement/sidewalk, etc

comment 6mo ago · link · parent

Subjective depending on who you ask, but for me RSC is not really representative of React usage. (I believe) the vast majority of React apps (and the vast majority of dev experience in React) are front end only. I have been writing React in some form for 8+ years, but never touched RSC.

comment 6mo ago · link · parent

I tried Angular 2+ back in the day. I found it frustrating to learn as the API had changed between versions, and when searching for help you would come across a blog post/stackoverflow answer, start implementing it and realise it didn't work in the version of Angular your project was in. Frustrating.

Tried React afterwards, this frustration didn't really exist and it was much easier to pick up.

comment 8mo ago · link · parent

Just knowing the personal number is not enough to do much with. To get access to services, verify who you are on when talking to companies there is a verification step, most commonly with the BankID app.

Visual example: https://images.ctfassets.net/b2dmfxhmyqno/1cD0YDHjd9DGZnWfjH...

Identity theft and spam still happens, just not through knowing the personal number.

comment 11mo ago · link · parent

> modify roborock vacuums and load up other software even.

Can you provide more info/got any links? I would love to try some open source software on it

comment 11mo ago · link · parent

Ironically we bought a Roborock (Chinese brand with close links to Xiaomi) and didn't connect it to the internet (checked this would work before we bought it).

If you don't want the scheduling and other app features, and are happy switching it on when you need it, it works fine.

Motivation for an offline one was more than just cameras, also that it wouldn't be bricked by an update one day, but still...

comment 11mo ago · link · parent

The blue check symbolised (symbolises) being verified, i.e. this account belongs to who it says it does. But it doesn't carry out any/sufficient checks to actually verify that.

See also: https://x.com/jesus/status/1590405986925543424

comment 1y ago · link · parent

Sounds like a Samsung phone... no end of dark patterns and pushing Bixby AI and whatever else. And then once you have the phone set up you get to spend the next 10 minutes uninstalling a load of pre-loadded apps that you didn't want.

Fortunately Android is a pretty diverse range and Samsung is just one player. I had much more user-friendly experiences with Fairphone and Motorola.

comment 1y ago · link · parent

I live in the EU and can see value in live translation for me personally.

However, I'm happy with the decision. Sure, they are not available right now. But it's worth it for the long term picture. Imagine if this would be yet another Apple/Google-only market.

The tradeoff is right IMO.

comment 1y ago · link · parent

Most likely not in it's current state as it uses the `chrome.bookmarks.getTree()` API.

However the Chrome-specific stuff is in this file: https://github.com/jamesrr39/chrome-bookmark-search/blob/mas... , and creating an equivalent for this should be enough to support firefox.

I am open to pull requests!

comment 1y ago · link · parent

I still bookmark websites. Just in the standard browser, not in Pocket, etc.

I found searching for and finding bookmarks a pain, so made a Chrome extension to natural language search with lunr.js. It works nicely and I open-sourced it.

Extension: https://chromewebstore.google.com/detail/bookmark-search/fcj...

Code: https://github.com/jamesrr39/chrome-bookmark-search

comment 1y ago · link · parent

0.2%

> Payment service providers shall not offer or request a per transaction interchange fee of more than 0,2 % of the value of the transaction for any debit card transaction.

https://eur-lex.europa.eu/eli/reg/2015/751/oj/eng

comment 1y ago · link · parent

Hmm, many people writing Java without a PhD...

comment 1y ago · link · parent

> Developers (often juniors) use LLM code without taking time to verify it. This leads to bugs and they can't fix it because they don't understand the code

Well... is this something new? Previously the trend was to copy and paste Stackoverflow answers, without understanding what it did. Perhaps with LLM code it's an incremental change but the concept is fairly familiar.

comment 1y ago · link · parent

Thanks for these comments, I appreciate it.

Although I would point out:

> scalability [...] no company would even bother with PostgreSQL at all

In my experience, you can get pretty far with Postgresql on a beefy server, and when combined with monitoring, pg_stat_statements and application level caching (e.g. the user for this given request, instead of fetching that data on every layer of the request handling), certainly enough most businesses/organisations out there.

comment 1y ago · link · parent

I have heard this a few times from different people/places, but why is it the case that at 50+ it is harder to find work? Assuming a regular retirement age, there are still many more years left in the career than a typical tech employment lasts.

comment 1y ago · link · parent

Genuine question: I appreciate the comments about MongoDB being much better than it was 10 years ago; but Postgres is also much better today than then as well. What situations is Mongo better than Postgres? Why choose Mongo in 2025?

comment 1y ago · link · parent

The amount of perfectly functional messaging apps Google has gone through is crazy[1]. Each Google messaging app (GTalk, Hangouts, Meet, etc) is perfectly functional, but with an endless series of migrations, why would you stay around and every several months/year explain to the non-technical family members how the new version of Google's messaging product works?

Enter Whatsapp, which has been pretty consistent through the years, and of course guess which one people use.

[1]: Of course, it's crazy from a product management perspective - but from a "launch a new product to get the next promotion" perspective...

comment 2y ago · link · parent

> Intel reserves the right to ask you to stop using the logo [...]

Serious stuff!

comment 2y ago · link · parent

At the risk of appearing low-tech, a much more simple, Goroutine-safe solution for dealing with "now-dependent" code:

type NowFunc func() time.Time

func getGreeting(nowFunc NowFunc) string {

  now := nowFunc()

  if now.Hour() < 12 {

    return "Good Morning"

  }

  return "Good day"
}

And just pass in `time.Now` in for live code, and your own inline function for simulating a time in tests.

comment 2y ago · link · parent

On a larger scale: Copenhagen and Vancouver both have fully-automated metro systems (i.e. driverless systems). Presumably there are many other cities with such systems around the world, and they probably all work nicely.

Fine for getting around different areas of the cities, but it's not going to drive you wherever you want to go though.

comment 2y ago · link · parent

> The future for self driving cars are closed roads where only driverless cars are allowed.

Given that human-driven cars, trucks, cyclists are already on the roads and will be for quite a while to come, and pedestrians already cross it, you would have to build a whole new road network, with crossing points for human-driven vehicles/pedestrian traffic. Which is simply infeasible, both in terms of money, but also simply space, especially in built-up areas where the space is already fully utilised.

comment 2y ago · link · parent

> So basically they're trying to do a "liveness" check, probably under the assumption that videos are too hard to fake (and hopefully they compare the ID documents against the video). Honestly, that seems legitimate to me. With data leaks and generative AI, it's going to be increasingly hard to do the kind of identity verification tasks online that we take for granted.

I worked for a company that required these videos in one of the markets they served. Some countries have decent digital ID solutions already in place, but in many it's just a picture of a driving license or such that is so easily faked/stolen. Kind of a shame how in many countries officially identifying yourself online is not implemented/implemented badly enough that no-one uses it, so instead we have this poor uploading pictures of private documents and videos of yourself fallback.

comment 2y ago · link · parent

Yes. See GDPR (max fine 4% of global annual revenue) or the new EU Digital Services Act (max fine 6% of global annual revenue).

These are both fairly new laws, if you look at the laws they replace (which themselves may not even be that old), the fines are a huge leap up.

comment 2y ago · link · parent

Not just moved back there, but used the company Wi-Fi network!
12345