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

Like others I would recommend starting with spirited away, should be suitable, and enjoyable for kids in 10-15 bracket.

Why not just make all the abandon transactions into fake discarded transactions, discard them at the send later. E.g. by poisoning the frame checksum or setting something invalid on them, so they get discarded.

Seems you'd be doing this anyway with the dummy transactions.

Then you have no branch, though may want to add dummy transactions anyway to keep the code in cache.


This is literally what is says in TFA lol


I don't believe that's true.

The article suggests flooding the system with dummy "should send" transactions so that they become the majority.

Quote:

> One such solution that I know of is one that Carl Cook talked about during his CppCon 17 talk2: we can fill our system with mocked transaction data for which should_send(t) returns true. We have to do this enough times such that the mocked transaction data becomes the vast majority over the real data, so the branch predictor will be primed to assume that the send() path will be executed practically on every resolve() call. Overall, this may actually be a better approach than hard-coding prediction rules, because those rules wouldn’t really guarantee us that the whole send() path would get executed (the assumption may just lead to partial execution, until the should_send(t) condition is actually evaluated and the pipeline is flushed; so at the end we may still have important stuff not placed in the instruction/data cache).

What I am suggesting is to remove the branch entirely, and instead poison the "should abandon" transactions so they get dropped or null routed on the NIC. This is the kind of thing that low latency cut through L1 switches do.

Thereby removing the CPU branch predictor from the equation entirely.


Yup, another inbox only user here. Unread means it's a to-do.

In Gmail you can set it to group all unread at the top.

Sometimes I'll open an email and mark unread again if I need to come back to it.


> The only victim of the accident was Wim Delaere, a computer science student reported to have been either 18 or 19 years old.[4][5][1] He was sleeping alone after celebrating the end of his university exams the previous day when the MiG crashed and killed him at 10:30 am. His mother and brother were shopping for groceries in Kortrijk, and his father was working in Ypres.[4]

From the linked Wikipedia article on one of the answers.

What an unlucky kid.

https://en.wikipedia.org/wiki/1989_Belgium_MiG-23_crash


His death later inspired the movie Donnie Darko, about a kid in 1988 who is killed by a jet engine in similar circumstances.


I can't find anything that would suggest this is true, but I would love if you were able to link me something proving me wrong, as I loved that movie growing up and like reading about it still.


You have no idea how old you saying "I loved that movie growing up" makes me feel :-)


/pedantic

That's not at all what Donnie Darko is about, but a jet engine from an unaccounted-for airplane does land in his house.


This sounds really annoying. I prefer claudes opt in implementation, where if you want to reference an earlier chat you can just say, remember we spoke about xyz and otherwise the feature seems to be completely off.


Do you browse hacker news on your phone? Genuine question, I don't use social media but I do spend a lot of time on HN on my phone.


Yes though only 15 minutes a day max at regular break points in the day. Breakfast, lunch usually.

I have one of those parental limit things set for it from 5 years ago. I used to run into the 15 minute limit every day but now I rarely see it pop up.


There's also yoto box, which lets you create "make your own" cards.


We have Yoto for our kids and I was initially skeptical (the cards are quite expensive) but actually it's been amazing. Probably the biggest benefit that we didn't even know is that they have a sort of radio/podcast thing for kids called Yoto Daily that's really well produced and totally free.


Mmh, I know the yoto play (https://eu.yotoplay.com/) but are you referencing to a specific open source project?


Yeah that's what I was referring to. In relation to the tonies. It would be a competitor to the tonie box. Both are popular in Ireland.

I did see some stuff about people reverse engineering the tonies back when we first got it, not sure if there's anything similar for yoto.


This is actually pretty amazing, definitely the most impressive pwa I've ever seen.

It took me about 3 minutes to add to my home screen, export a opml from pocket casts and import it to whatever.

Having offline downloads, ability to adjust playback speed etc is really cool too.

Nice work!

I'm on my phone now, so I'm curious to see how it looks on a browser. Obviously syncing of podcasts / listening positions is not going to work, by design?

The AI search is actually kind of cool for discovering podcasts too, I kind of rolled my eyes a bit when I read it, but it actually worked ok for a query I tried, and I do find it difficult to find new podcasts.


Nice, thanks!

> Obviously syncing of podcasts / listening positions is not going to work, by design?

Not sure, can you say more? Quick potential answers in the meantime.

For syncing, there's an auto-sync that runs in the background and prioritizes the shows that you've listened to most in the past month, but eventually cycles through all podcasts that you follow. There's also a manual sync on the Following page.

For listening positions, there's a Queue where you can drag individual episodes up and down to change the order, and playback will automatically cycle to the next episode in the queue when the playing episode finishes.


Ah, just realized you might be talking about syncing state between devices. Definitely haven't tackled that, as there's no coordinating server in the architecture at this point. But I did recently add "beaming", which lets you quickly transfer your subscription lists between devices with a QR code backed by an ephemeral, signed link.


When open in the browser, try some vi navigation keys :-)


This looks really cool. I thought in the past about implementing something like this myself.

I have use anki, and briefly mochi.

Having plain text cards that are simple to edit and manage with basic linux tools is really important.

I have used the genanki python library in the past to generate cards, but it's not great.

Going to give this a go.


I believe most of those POS systems can operate in offline mode, in Europe at least. I have friends who work for large event organizers, and they have spoken about how if the system is offline the bars can continue to take payments, but there is a risk as a person's account may not have sufficient balance to make the charge when the system comes back online.

Most people here pay by card and I would say the vast majority use debit cards. A lot of people don't even have credit cards, unlike the US.

I'm no expert so may be wrong about some of this, and maybe huge events like these have these systems in place due to the risk of having to shut down bars etc. Many events are completely cash less these days.


> I believe most of those POS systems can operate in offline mode, in Europe at least.

I was able to pay "offline" for my groceries at corner store nearby when their terminal had really bad or no connection at all - and that did happen a lot. They were just gathering all payments and when the "computer guy" was around he'd upload these to the Internet. The only caveat was that for some reasons these payments would be stuck for more than a week on transactions list


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

Search: