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

Copyright © 2008

When was this web page last updated?



Not to mention how high heat cooking of meat, which is common for a steak via frying, brings health risks from Advanced Glycation End products (AGEs).

AGEs are also present in vegetables and legumes, but certain meats like bacon contain unbelievable amounts relative to other foods. (Interestingly: Rice contains almost no AGE's.)

Full guide: https://pmc.ncbi.nlm.nih.gov/articles/PMC3704564/


Kinda of wild that Dairy got its own section in that document as a proscribed thing to eat.

There are plenty of lactose intolerant people. These people can meet their nutritional needs without dairy. (For Calcium: via Sardines, leafy greens, Tofu, etc.)


"Frozen peas" and "Green beans" make an appearance on the pyramid, but yes the omission of any others is glaring.

Almonds and peanuts make an appearance lower than red meat on the pyramid, which is wild to me.

The map for Australia is interesting. Is this missing data? See no infrastructure for Alice Springs in the interior of Australia.

Missing data and incomplete layers I'd say.

I know the areas from Alice west to the coast and north to the equator fairly well.

Rail lines are missing, it appears to be just "big" power lines and that's 'accurate' in the sense that South Australia doesn't share power across the Nuallabor to Western Australia and many northern towns are 'independant' of any state or territory grid, running on a local generation basis.

Doesn't show Pine Gap or the Naval Communication Station Harold E. Holt base either . . . :-)

* https://en.wikipedia.org/wiki/Pine_Gap

* https://en.wikipedia.org/wiki/Naval_Communication_Station_Ha...

(Ground to space and Ground to underwater communications)


It is possible and likely that some data was not yet mapped in OpenStreetMap. So it is missing in OpenStreetMap-based map.

Feel free to edit it if you can!

(even if this specific data is not possible to be added by you - feel free to add say nearby shop or park)

ad: if you have Android I can recommend StreetComplete (great for newbies)

if you have iPhone - GoMap!! is great though a bit more complicated to use

Vespucci is more complicated and more powerful than StreetComplete editor for Android phones

or you can edit directly on osm.org from desktop

-------------

disclaimer: I am a walking conflict of interest as far as OSM goes (for start, I am StreetComplete contributor)


Yeah, I see some data in my city where a plant was closed and demolished 4 years ago and is still listed on there.

Australia is miniscule by global standards and Alice Springs is miniscule by Australian standards. Alice Springs isn't connected to the grid servicing most of Australia's population crammed up along the East coast and doesn't have much in the way of heavy industrial users nearby. The difficulty for OSM mappers is the low-capacity above-ground power lines in Alice Springs have no more pixels as the trunk of any 20 year old tree so at satellite imagery resolutions of >30cm you may need to find an image taken at sunrise or sunset where the long shadow of a pole is visible on the ground. I also think it is preferred in remote locations such as Alice Springs to run lines underground (particularly along roads) due to decreased total cost of ownership of not having to worry about bushfire and flood damage to infrastructure.

The ACT government provides ~10cm aerial imagery of Canberra and surrounds a few times a year and from this imagery, unless a minor power pole is obscured by trees or a building, it is generally easy to identify most poles. Evoenergy (distribution operator for the ACT) also publicly provide detailed maps of poles and lines no matter how minor they are. The reason this detail won't be mapped in OSM is lack of interest and availability of mappers to micro-map every minor power pole from aerial imagery, and OSM's very conservative approach to importing datasets, particularly from a licensing perspective (e.g. attempting to apply European database directive concerns in countries like Australia which don't have equivalent laws, and even have opposing case law precedents).

Australia is one of the most open countries when it comes to supplying electrical grid data. Even underground conduit locations are available publicly for most distributors, as well as designed summer/winter constraints for each transmission line (e.g. maximum kA per line). See [1] for some links to maps and other data that is made publicly available.

[1] https://query.wikidata.org/#SELECT%20%3Foperator%20%3Foperat...


Corporations should be taxed on their profits, including profits boosted by the invention of new technology.


Yeah absolutely, and they shouldn't be taxed extra specifically for using a new technology. If people need a UBI they should be paid it off the back of all taxes (which should rise if automation is successful), not a specific automation tax. Saving jobs sounds good and it's an easy win but you end up with a stagnant economy where people are paid sinecures to do make-work, which is doubly harmful since the company has to pay extra for the employee, who is also deprived of being able to do some other job that would be useful to the economy.


They already have, significantly, around 25-35% in developed economies. The issue is that people often look at revenue, seeing company X earning $100 billion annually, and assume they should pay $20 billion in taxes. However, most AI companies today are not profitable and spend up to 100% more than their revenue on R&D and product development. I doubt they will turn a profit anytime soon, probably not for at least a decade.


Actually it's much less, big corps are using any possibile schema to avoid paying taxes.


Effective corporate tax rates were between 12 and 14% for the US, with some of the biggest corporations bordering 0%.


> They already have, significantly, around 25-35% in developed economies

The thing is companies and even self-employed individuals of a certain wealth level know how to "(ab)use" it. From illegal but trivial and hard to detect tax evasion to financing personal lifestyle by having the company pay for certain luxuries (cars, computers, furniture, etc.).

If you have the wealth to have a dedicated office that dedicated office can be your man cave if you justify it with having all sorts of amenities for customers. And good luck to whoever checks taxes to find out how exactly things are used/not used.

All of that usually means that companies, company owners and high ranking managers get away with not paying taxes for a lot of things that everyone else does simply because they don't have a say within these companies.

And all of that is before you go to the tax advisor.

I am sorry, but if you do hard honest work the chances of you getting rich are beyond slim. Even worse when you do something that actually benefits society.


They already are


You tax where you can not where you should. Corporations trivially hide profits. What they couldn't hide well was labor. You know what else they can't hide? Their power bill. It even works for companies that eternally operate "at loss" (which also parallels taxing labor).


> Corporations should be taxed on their profits

Hold on now, how will 'trickle-down' economics work then ? Think of the poor companies trying to provide a living for all those AI. /s


I recently did performance testing of Tigerbeetle for a financial transactions company. The key thing to understand about Tigerbeetle's speed is that it achieves very high speeds through batching transactions.

----

In our testing:

For batch transactions, Tigerbeetle delivered truly impressive speeds: ~250,000 writes/sec.

For processing transactions one-by-one individually, we found a large slowdown: ~105 writes/sec.

This is much slower than PostgreSQL, which row updates at ~5495 sec. (However, in practice PostgreSQL row updates will be way lower in real world OLTP workloads due to hot fee accounts and aggregate accounts for sub-accounts.)

One way to keep those faster speeds in Tigerbeetle for real-time workloads is microbatching incoming real-time transactions to Tigerbeetle at an interval of every second or lower, to take advantage of Tigerbeetle's blazing fast batch processing speeds. Nonetheless, this remains an important caveat to understand about its speed.


Hi! Rafael from TigerBeetle here!

> One way to keep those faster speeds in Tigerbeetle for real-time workloads is microbatching incoming real-time transactions to Tigerbeetle at an interval of every second or lower, to take advantage of Tigerbeetle's blazing fast batch processing speeds.

We don’t recommend artificially holding transfers just for batching purposes. René actually had to implement a batching worker API to work around a limitation in Python’s FastAPI, which handled requests per process, and he’s been very clear in suggesting that such would be better reimplemented in Go.

Unlike most connection-oriented database clients, the TigerBeetle client doesn’t use a connection pool, because there’s no concept of a “connection” in TigerBeetle’s VSR protocol.

This means that, although you can create multiple client instances, in practice less is better. You should have a single long-lived client instance per process, shared across tasks, coroutines, or threads (think of a web server handling many concurrent requests).

In such a scenario, the client can efficiently pack multiple events into the same request, while your application logic focuses solely on business-event-oriented chains of transfers. Typically, each business event involves only a handful of transfers, which isn't a problem of underutilization, as they'll be submitted together with other concurrent events as soon as possible.

However, if you’re dealing with a non-concurrent workload, for example, a batch process that bills thousands of customers for their monthly invoices, then you can simply submit all transfers at once.


Joran from TigerBeetle!

> For processing transactions one-by-one individually

If you're artificially restricting the load going into TigerBeetle, by sending transactions in one-by-one individually, then I think predictable latency (and not TPS) would be a better metric.

For example, TB's multi-region/multi-AZ fault-tolerance will work around gray failure (fail slow of hardware, as opposed to fail stop) in your network links or SSDs. You're also getting significantly stronger durability guarantees with TB [0][1].

It sounds like you were benchmarking on EBS? We recommend NVMe. We have customers running extremely tight 1 second SLAs, seeing microsecond latencies, even for one at a time workloads. Before TB, they were bottlenecking on PG. After TB, they saturated their central bank limit.

I would also be curious to what scale you tested? We test TB to literally 100 billion transactions. It's going to be incredibly hard to replicate that with PG's storage engine. PG is a great string DBMS but it's simply not optimized for integers the way TB is. Granted, your scale likely won't require it, but if you're comparing TPS then you should at least compare sustained scale.

There's also the safety factor of trying to reimplement TB's debit/credit primitives over PG to consider. Rolling it yourself. For example, did you change PG's defaults away from Read-Committed to Serializable and enable checksums in your benchmarks? (PG's checksums, even if you enable them, are still not going to protect you from misdirected I/O like the recent XFS bug.) Even the business logic is deceptively hard, there are thousands of lines of complicated state machine code, and we've invested literally millions into testing and audits.

Finally, it's important that your architecture as a whole, the gateways around TB, designs for concurrency first class, and isn't "one at a time", or TigerBeetle is probably not going to be your bottleneck.

[0] https://www.youtube.com/watch?v=_jfOk4L7CiY

[1] https://jepsen.io/analyses/tigerbeetle-0.16.11


Doesn't the Tigerbeetle client automatically batch requests?


We didn't observe any automatic batching when testing Tigerbeetle with their Go client. I think we initiated a new Go client for every new transaction when benchmarking, which is typically how one uses such a client in app code. This follows with our other complaint: it handles so little you will have to roll a lot of custom logic around it to batch realtime transactions quickly.


I'm a bit worried you think instantiating a new client for every request is common practice. If you did that to Postgres or MySQL clients, you would also have degradation in performance.

PHP has created mysqli or PDO to deal with this specifically because of the known issues of it being expensive to recreate client connects per request


Ok your comment made me double check our benchmarking script in Go. Can confirm we didn't instantiate a new client with each request.

For transparency here's the full Golang benchmarking code and our results if you want to replicate it: https://gist.github.com/KelseyDH/c5cec31519f4420e195114dc9c8...

We shared the code with the Tigerbeetle team (who were very nice and responsive btw), and they didn't raise any issues with the script we wrote of their Tigerbeetle client. They did have many comments about the real-world performance of PostgreSQL in comparison, which is fair.


Thanks for the code and clarification. I'm surprised the TB team didn't pick it up, but your individual transfer test is a pretty poor representation. All you are testing there is how many batches you can complete per second, giving no time for the actual client to batch the transfers. This is because when you call createTransfer in GO, that will synchronously block.

For example, it is as if you created an HTTP server that only allows one concurrent request. Or having a queue where only 1 worker will ever do work. Is that your workload? Because I'm not sure I know of many workloads that are completely sync with only 1 worker.

To get a better representation for individual_transfers, I would use a waitgroup

  var wg sync.WaitGroup
  var mu sync.Mutex
  completedCount := 0

  for i := 0; i < len(transfers); i++ {
    wg.Add(1)
    go func(index int, transfer Transfer) {
     defer wg.Done()

     res, _ := client.CreateTransfers([]Transfer{transfer})
     for _, err := range res {
      if err.Result != 0 {
       log.Printf("Error creating transfer %d: %s", err.Index, err.Result)
      }
     }

     mu.Lock()
     completedCount++
     if completedCount%100 == 0 {
      fmt.Printf("%d\n", completedCount)
     }
     mu.Unlock()
    }(i, transfers[i])
   }

  wg.Wait()
  fmt.Printf("All %d transfers completed\n", len(transfers))
This will actually allow the client to batch the request internally and be more representative of the workloads you would get. Note, the above is not the same as doing the batching manually yourself. You could call createTransfer concurrently the client in multiple call sites. That would still auto batch them


Appreciate your kind words, Kelsey!

I searched the recent history of our community Slack but it seems it may have been an older conversation.

We typically do code review work only for our customers so I’m not sure if there was some misunderstanding.

Perhaps the assumption that because we didn’t say anything when you pasted the code, therefore we must have reviewed the code?

Per my other comment, your benchmarking environment is also a factor. For example, were you running on EBS?

These are all things that our team would typically work with you on to accelerate you, so that you get it right the first time!


Yeah it was back in February in your community Slack, I did receive a fairly thorough response from you and others about it. However then there were no technical critiques of the Go benchmarking code, just how our PostgreSQL comparison would fall short in real OLTP workloads (which is fair).


Yes, thanks!

I don’t think we reviewed your Go benchmarking code at the time—and that there were no technical critiques probably should not have been taken as explicit sign off.

IIRC we were more concerned at the deeper conceptual misunderstanding, that one could “roll your own” TB over PG with safety/performance parity, and that this would somehow be better than just using open source TB, hence the discussion focused on that.


Interesting, I thought I had heard that this is automatically done, but I guess it's only through concurrent tasks/threads. It is still necessary to batch in application code.

https://docs.tigerbeetle.com/coding/clients/go/#batching

But nonetheless, it seems weird to test it with singular queries, because Tigerbeetle's whole point is shoving 8,189 items into the DB as fast as possible. So if you populate that buffer with only one item your're throwing away all that space and efficiency.


We certainly are losing that efficiency, but this is typically how real-time transactions work. You write real-time endpoints to send off transactions as they come in. Needing to roll more than that is a major introduction of complexity.

We concluded where Tigerbeetle really shines is if you're a large entity like a central bank or corporation sending massive transaction files between entities. Tigerbeetle is amazing for moving large numbers of batch transactions at once.

We found other quirks with Tigerbeetle that made it difficult as a drop-in replacement for handling transactions in PostgreSQL. E.g. Tigerbeetle's primary ID key isn't UUIDv7 or ULID, it's a custom id they engineered for performance. The max metadata you can save on a transaction is a 128-bit unsigned integer on the user_data_128 field. While this lets them achieve lightning fast batch transaction processing benchmarks, the database allows for the saving of so little metadata you risk getting bottlenecked by all the attributes you'll need to wrap around the transaction in PostgreSQL to make it work in a real application.


> you risk getting bottlenecked by all the attributes you'll need to wrap around the transaction in PostgreSQL to make it work in a real application.

The performance killer is contention, not writing any associated KV data—KV stores scale well!

But you do need to preserve a clean separation of concerns in your architecture. Strings in your general-purpose DBMS as "system of reference" (control plane). Integers in your transaction processing DBMS as "system of record" (data plane).

Dominik Tornow wrote a great blog post on how to get this right (and let us know if our team can accelerate you on this!):

https://tigerbeetle.com/blog/2025-11-06-the-write-last-read-...


> We didn't observe any automatic batching when testing Tigerbeetle with their Go client.

This is not accurate. All TigerBeetle's clients also auto batch under the hood, which you can verify from the docs [0] and the source [1], provided your application has at least some concurrency.

> I think we initiated a new Go client for every new transaction when benchmarking

The docs are careful to warn that you shouldn't be throwing away your client like this after each request:

  The TigerBeetle client should be shared across threads (or tasks, depending on your paradigm), since it automatically groups together batches of small sizes into one request. Since TigerBeetle clients can have at most one in-flight request, the client accumulates smaller batches together while waiting for a reply to the last request.
Again, I would double check that your architecture is not accidentally serializing everything. You should be running multiple gateways and they should each be able to handle concurrent user requests. The gold standard to aim for here is a stateless layer of API servers around TigerBeetle, and then you should be able to push pretty good load.

[0] https://docs.tigerbeetle.com/coding/requests/#automatic-batc...

[1] The core batching logic powering all language clients: https://github.com/tigerbeetle/tigerbeetle/blob/main/src/cli...


Thanks for reaching out. I shared this benchmarking script with your team when we tested Tigerbeetle, but this is it again: https://gist.github.com/KelseyDH/c5cec31519f4420e195114dc9c8...

Was there something wrong with our test of the individual transactions in our Go script that caused the drop in transaction performance we observed?


Thanks Kelsey!

We’d love to roll up our sleeves and help you get it right. Please drop me an email.


So what was wrong with his isolated benchmark code that he shared here?


Not from Tigerbeetle, but having looked at his code this is what I saw https://news.ycombinator.com/item?id=45896559


Did the company end up using it?


We didn't rule out using Tigerbeetle, but the drop in non-batch performance was disappointing and a reason we haven't prioritised switching our transaction ledger from PostgreSQL to Tigerbeetle.

There was also poor Ruby support for Tigerbeetle at the time, but that has improved recently and there is now a (3rd party) Ruby client: https://github.com/antstorm/tigerbeetle-ruby/


I think the drop in non-batch performance was more a function of the PoC than of TB. Would love to see what our team could do for you here! Feel free to reach out to [email protected]


It's a reverse of what you're describing, but a similar mechanism like this in Canada is their notwithstanding clause.

If the Supreme Court of Canada rules a law unconstitutional, the government in power can overrule their ruling by using the notwithstanding clause. However, the notwithstanding clause override to keep the law in effect only lasts for five years. Subsequent legislatures have to keep renewing the override or the Supreme Court's ruling of unconstitutionality takes effect again.


I miss the days when Facebook events worked well for getting people to attend a party.

Now, nobody is on Facebook so those event invitations get missed and you need to hustle much harder with individual chat messages to get people to attend.


In my social circles Partiful feels like it's becoming a good replacement for the golden era of Facebook Events. At first you had to invite people manually by sending them a Partiful link, but now they have their own internal invite system where you can invite your "mutuals" (people you've partied with) directly on the platform. It's become the clear standard for house parties in my sphere. Not quite as good as Facebook events used to be though.


Is this truly a thing that now nobody is on Facebook? I thought it was only me!


It's the abandoned shopping mall of the internet. All dead save for a few properties.


Oh man this definitely makes me wax nostalgic for that golden era ... it was 2013-2016 for me. I would throw an annual holiday party w/ my roommate in SF every year and I recall being able to just go down the list of my FB friends and click "invite, invite, invite" and everyone I cared about would show up and we all had a wonderful time. Sigh.


Partiful works well?


Very high flake rate like 2/3


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

Search: