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

Sorry to say, DHH invites it.

[flagged]


I'm in London right now.

May I politely invite you to fuck off with your racism.

Indigenous? What the fuck are you talking about? Seriously? Why are you so happy to be racist in public?

Stop getting your news from social media. Come over to London, have a pint in a Desi pub and try telling us that we're living in hell. See how that works out for you.


> Indigenous? What the fuck are you talking about? Seriously? Why are you so happy to be racist in public?

That's not an argument. Do you think it would be "racist" if Japanese people don't want to be largely replaced in their home country with white or black people? If not, why not?


When one person does it, the FBI is called. When an AI lab does it, it's cute?

Making these kinds of AI projects with fancy READMEs give you a veneer of authority, but the lack of earned wisdom tends to stick out once a few people glance at it.

Yeah maybe not the best wording. It’s more meant that ideally toast can be fully used with a cursor for interactions. I don’t think you can exit vim or emacs just by clicking on a button?

You absolutely can exit Emacs by clicking a button! Even when it is running in terminal. You just need menu-bar-mode (which is enabled by default) and enabling xterm-mouse-mode (which also should be enabled by default) - https://asciinema.org/a/rprH0gLSkrUz2cqr

You can: emacs has a menu bar and you can quit emacs that way. If you write code in your .emacs.d to turn off the menu bar, then I think you can be trusted to use the keyboard to quit emacs.

I think you're learning that Toast exists due to "skill issues."

You can exit Emacs by clicking a button, by making a mouse gesture, by telling it via voice command, by key-press, by modal key-chord sequence, by writing into a file, by selecting a menu item, by directly evaling (kill-emacs) command, by cookie in a file you merely visit, by a keyboard macro replayed from a register, by an abbrev whose expansion hook quits, by evaling an Org-mode source block, via a timer, via built-in solar and lunar calendars, by a shell command run inside Emacs that kills its own parent, by SIGTERM or SIGHUP from outside, by closing the last frame under the WM, by an LLM agent with an eval tool, and by pulling the power cord.

"I don't think" is never a good argument for making wide claims about anything.


Vim has full mouse support. Not only can you exit, but you can even save using just the mouse.

If LWN isn't your exact thing, consider donating to a project you get outsized value from. For me it's neovim, for you it might be something else!


I'm sorry to break it to you, but Neovim isn't the best project to donate to. The lead maintainer supports numerous far right figures and recently went ballistic in the issue tracker when someone merely suggested removing a quote of endorsement on the Neovim website from someone who literally compared brown people to wolves that should be shot for the protection of the "human" population.

- https://github.com/neovim/neovim.github.io/issues/501

- http://archive.is/3cNBr

There was no pushback for the toxic behavior from his fellow maintainers, as the team includes both a speaker at a conference hosted by the person the lead maintainer so vehemently defended, and a Palantir employee who proudly displays their employer on their GitHub profile.

FOSS donations are awesome, but maybe not Neovim. I think Vim is a better choice for donations. All of the money goes to helping children in Uganda.

- https://www.vim.org/sponsor/index.php


When it comes to UX, perceived latency is king.


The perceived latency starts from keydown, not keyup. Redefining latency to start at keyup reduces measured latency, not perceived latency, and delaying the visual display to keyup makes perceived latency strictly worse, not better. Even sticking with the keyup definition, just displaying the result as soon as it is available gives the possibility of negative (defined) latency.


I think you don't fully understand. They aren't just doing a search based on the key being pressed down. They already did a search based on the previous characters that returned results for all possible next characters. So by the time you type a second character it just checks results locally from the search that had likely already been returned from when you had typed the previous character.


They do that, yet proceed to kneecap the perceived latency by delaying the render.

> And on keyUp (the user releases the key), we render the suggestions.


There are a large number of edge cases where rendering it on key down would not be desirable (user types Ctrl+v, how accented characters are enetered, how some Asian languages get handled, backspace/delete, user holds a key down, etc). This is getting into the point of optimization where it simply does not matter and can actually harm things


Holding a key would indeed require both on key down and up. I'd still argue that handling rerender on key down (or to fully match whatever OS/browser semantics, oninput) makes more sense than key up. Pressing Ctrl+V for example produces feedback as soon as "V" is pressed, not when Ctrl and/or V is released.

Interestingly Ctrl+V on OP's website does update immediately when Ctrl+V is pressed.


Why would you argue that makes more sense? That is not how any autocomplete works that I know of, it's not like this is a new pattern.


What autocompletes are you testing? I set my repeat delay to be very long so it doesn't interfere with the test, and then went to google and held down some keys for half a second. It types the letter and autocompletes long before I let go.

Every UI I can find types the letter on keydown, and I don't know why you'd want typing and autocomplete to use different timings.

Waiting for release is for mice and touch, not keyboards. And that's only because they have to deal with dragging.


Your test is flawed, it's triggering keyup if it's showing in the input.


I go to the text box in HN and hold down a key.

The letter appears instantly, then after a moment a lot more copies of the same letter start showing up rapid-fire.

What are you calling flawed about my test?

This happens on both Windows 10 and Linux Mint, in Firefox.


Overall the correct event to listen to would be the input even not the keydown event since it handles the edge cases I mentioned earlier

I never meant to infer that the keyup event is specifically what should be listened to


What you said might be true and yet what OPs AI agent did wasn't measure latency of the service nor calculated a p99 for it.


While I have a CS degree from a good university, I think I see things differently than the author here. I think CS degrees are great overviews of the field and give you 4 years to practice programming basics without needing to worry about your job. You also might meet some smart classmates and learn from them too.

However, I think the core issue that individuals run into is that the industry does not stop to train engineers in any kind of formal way. If you do not address this, then your skills will never adequately develop over time. This goes for CS degree holders too, they just might have some more confidence initially from the 4 years of marinating in the material.

There are so many ways to develop your skills:

- cs degree, sure

- pair programming with people that have the skills you want

- helping others with their problems

- building personal tools

- reading blogs, watching videos, and generally soaking up external opinions

- taking projects slightly outside of your skill level

- self-reflection and writing down the problems you have, then actively seeking help with each specific problem

- learning to read error messages so you don't sit there slackjawed when red text shows up

- learning to read documentation and scan for useful APIs

- reading books, if that's a method that works for you

- doing retreats like Recurse Center that push you

- SRS practice with tools like Execute Program

- paid courses with work edu budgets

No one will really make you do these things though, so it is very sink or swim. You don't have to do all of these things, but you likely need to be on some kind of upward trajectory, particularly for the first solid chunk of your career. For me, this is mostly work I would do as part of the job, during 9-5 work hours.


Where are you getting a steak and potato for 2 for less than a bag of Doritos? Is it a 50 lb bag of Doritos?


Maybe it's 4oz of very lean tough steak and a single small russet potato with no fat, and the two mentioned are five year olds.


I can buy the day old steaks for $5-6, and a potato is maybe 50 cents. Doritos are $6.49.

A Hershey's chocolate bar is $3.99-$4.99. A banana is maybe 50 cents.


....

At least 10 to 15-ish years ago, I would actually be closer to agreeing;

You could get Cube or Chuck steak for 3-5$ a pound and potatoes were cheap as hell too. Toss some diced onion in and You'll have a good dinner.

How do I know? Well I grew up in a family where for... reasons[0] we were not that well off for quite a while.

Cube Steak was one of the big things we did for a family meal that Dad cooked. (Chili was his other favorite to make, which was also cheap to do for how much food came out of it...)

However the current prices of beef, I feel like you'd need to have a long standing personal relationship with a local butcher or rancher to make this true.

[0] - My mother's over-propensity for being truly Christ-like in her charity to family and others, also sending myself and my three siblings to Catholic school to avoid the then-absolutely-failed Detroit Public school system were major factors.


I'm québécois, my grandma came from a big family (12 siblings IIRC). She used to cook with ground beef all the time cause that's what her mother cooked with too - it was THE cheap source of protein. Meat loaf, shepherds pie, meat pie, beef and cheese macaroni, the whole shebang. Nowadays, when I cook any of those meals, it's cause I feel like eating that specific thing, but it often turns out to be the most expensive meal of the week.


Today I bought over a pound of steak for $5.57. Of course, it was on sale.


A quick search has Walmart selling a 14.5 oz (411g) bag of Doritos for $5 [0], which according to the back of the packet is 15 servings. Obviously that's comparable to a single piece of beef and a potato (/s)

While we're at it, on the $5 Hershey's bar - Walmart has a 7.56 oz (214g) one for $4.52 [1] which claims to be eight servings so again obviously just like a single banana.

[0] https://www.walmart.com/ip/Doritos-Nacho-Cheese-Tortilla-Sna...

[1] https://www.walmart.com/ip/Hershey-s-Special-Dark-Mildly-Swe...


I mean kinda yeah


Yeah, there's no mandate for government agencies to use login.gov AFAIK, so they can either go with login.gov or buy the private id.me solution. In general it's not a slamdunk to get agencies to cooperate and use their services, it seems.


Login.gov had/has some technical gaps for agency customer identity use cases, which is why you don’t see it used by some agencies yet (depending on their customer identity assurance requirements). The outstanding technical gaps will be closed eventually, at which point id.me can be phased out as a private for profit idp vendor.

https://legis1.com/news/logingov-technical-issues-gsas-platf...

> GSA has closed most of the gaps GAO identified in 2024 and 2025, but the remaining recommendation has a direct operational consequence. GSA has developed a public roadmap and created a Partner Advisory Group, but GAO says those steps do not demonstrate that the specific technical challenges agencies identified have been resolved or that mutually agreed-upon time frames have been established.

> GAO will continue monitoring GSA's progress. Until those time frames are established, the federal government's government-wide identity verification service retains an unresolved implementation gap as fraud and identity-theft threats continue to evolve.

https://www.gao.gov/products/gao-26-109261


I've built a few boxes:

https://www.printables.com/model/355924-clickable-touch-id-b...

https://gist.github.com/KhaosT/1406a6b6bea38f59e059c2afcb39d...

You have to carefully tear down and extract the touch id sensor, and then remount it in a box. I went the battery route so it could stay wireless. The tradeoff is the box is bigger.


Thank you, just what I was imagining! I would prefer a bigger wireless box as well.


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

Search: