Hacker Newsnew | past | comments | ask | show | jobs | submit | ncruces's commentslogin

I should add that using unsafe.Pointer I'm able to get a significant boost on little endian platforms, with no loss of safety (pointers are still bounds checked).

With this change, my ported driver would beat wazero on most benchmarks. I do need two 20 MiB blobs of slow to compile, unreadable, Go code in my repo, though.


Time to update https://en.wikipedia.org/wiki/Etymology_of_tea then?

That explanation is… highly unlikely.


But count is more clearly a dimensionless number of elements, and not a size measured in some unit (e.g. bytes).

I tend to use numFoos (short for “number of foos”), and only use fooCount when the variable is used for actual counting (like an errorCount variable that is incremented for each error).

Countof is strange, because one doesn’t talk about the “count of something” in English, other than uses like “on the count of three” (or the “count of Monte Cristo” ;)).


The other day I asked AI to one-shot an implementation of hyperbolic trig functions for double-double floats.

I provided a repo (mine) that already implemented double-double arithmetic, trigonometry, and logarithms/exponentials, with plenty of tests.

It produced something that looked this good. It had tests, it followed the style of the existing code base, etc. But it was full of shit and outright lies.

After I reviewed it to fix deficiencies, I don't think there was anything left of the original.

I had much more success the previous week using an AI to rubber duck the algorithms to implement trig.

I am incredibly sceptical that just adding more loops — and less critical thinking/review — to brute force through a solution, is a good idea.


I push back on loops being insufficient because algorithms such as alpha evolve have already proved very effective.

I bet there's some price at which someone will happily take that Luis Vuitton bag or Burberry coat.

> I’ve found also AI assisted stuff is remarkable for algorithmically complex things to implement.

AI is really good to rubber duck through a problem.

The LLM has heard of everything… but learned nothing. It also doesn't really care about your problem.

So, you can definitely learn from it. But the moment it creates something you don't understand, you've lost control.

You had one job.


If you’ve worked on a code base built by more than you, you don’t understand and you don’t have control. Part of being an experienced engineer is understanding how to deal with that effectively at scale.

No, that's the entire point.

There's a strong hint that something's wrong, and that good corporate citizens would change course and try to become positive forces for the world.

Or else.


Ah is sounded like it was claimed but incorrect

So that's the goal?

Onshore vanilla production, now cheaper than Madagascar given the 47% tariff? No wait; the tariff was reduced to 10%, maybe 15? Something.


It seems doubtful considering the immense labor cost of vanilla production combined with the persecution of people most willing to do those jobs.


This is not an ISP. It's a Tier 1 transit provider.


My ISP (AT&T) is a tier 1 transit provider.


The more unlikely they would violate net neutrality unless they would be tied in to CDNs and accept a bribe to favour one service over another.

Possible but unlikely.


> Whatever they come up with, I hope it doesn't tie you to a Google or Apple smartphone.

Even if it does, Google won't be taking a cut from it.

Also, it's then much easier to provide a mobile web version, or something else.

My country's internal system also sells a bracelet for contactless payments, and there are obviously payment cards.

Once there's a mandatory standard, it's much more likely competition will show up. EU wide SWIFT, direct debits, instant transfers, all show this.


What would Google prevent from taking a similar cut as Apple is taking?


What's being discussed isn't Google or Apple Pay.

It's an app that uses NFC or, if needed, reads a QR code and does a web request (i.e. needs internet).

Neither Google nor Apple will block that, or take a cut; and it's already available in multiple markets.

This is about taking stuff that already works in one or two countries, design a similar system that works across countries, and mandate that all banks under ECB supervision implement it.


Digital Markets Act, also Apple nearly lost their payment monopoly in Germany as powerful banks lobbied for a law forcing them to open up. It was passed, but then they didn't want to use it. If I would guess, Apple offered them preferential conditions to not have a precedent.

https://financefwd.com/de/sparkassen-apple-nfc/


Lack of negotiation power. Less control over Android than Apple has over iOS.

Google keeps self-sabotaging Android Pay. They lacked market power so cellular carriers blocked it hoping to advance their own payment ecosystem (ISIS). Google changes the payment brand every few years, and fragments it into two separate apps or combines them. It's rather like their messaging strategy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: