Better HN
topnewbestaskshowjobs
Log inSign up

bayesianbot

660 karma · joined Jun 20, 2019 (7y ago) · 200 submissions

Submissions

comment 3y ago · link · parent

IIRC it wasn't that impressive in the end as instead of recognizing the places the AI apparently learnt to recognize subtle differences in street view cameras used in different locations? I might be wrong / thinking of the wrong model l and I'm on mobile without my browsing history so hard to check, but I think it was putting a lot of weight on some pixels that are noisy

comment 3y ago · link · parent

404 not found, did they maybe remove the article for some reason?

comment 3y ago · link · parent

I just love these real time real life retrospectives, yesterday I thought I'm not going to spend time watching these again but here I am.. Any other good ones around? I've watched the Estonia[0] a few times (easier as a Finn), I think I've seen one about the 2004 Tsunami one but can't seem to find it (or might remember wrong), and Apollo 13[1] as well.

edit: On second thought I don't think the tsunami one might make that much sense, probably was just a collection of videos and news captures.

[0] https://www.youtube.com/watch?v=V5tbah19qo8 [1] https://apolloinrealtime.org/13/

comment 3y ago · link · parent

Thailand has a similar system - you use your banking app to scan a QR code, either the code is generated and has the amount included or it's printed static paper and you write the amount yourself, then show the receipt to the merchant or they check the notification in their phone. Started in 2017, nowadays it's everywhere, I can go to local market and pay $0.5 products with it. My 12 year old daughter opened her own account as well and didn't need my help, only installed an app and went to ATM that has a special slot for ID card to verify identity. Quite convenient as no need to carry cash anymore.

comment 3y ago · link · parent

I was quite similar, asking just programming books for birthday/christmas presents since I was 10, but my parents took a different route. I'm neurodivergent so I behaved different from other people, and coming from small town conservative family they just wanted me to be "normal" and blamed the computer on my differences. For me it was crazy as it was obvious I'm different way before the computer and I just couldn't understand why they wouldn't want a kid that's spending his free time studying programming (and science). The constant stress of somebody coming to my room and whining that I'm sitting on computer (and behaving weirdly) made concentrating on programming really hard and my life really anxious and stressful. Some point at my teens I noticed that going to drinking with my friends was way more relaxing, even though I hated drinking and just wanted to study. The anxiety+stress+drinking really left a mess in my life.

Now I have my own kid and I'm finding it hard to put limits on phone usage as her peers are on tiktok etc. all the time. But the most important thing I'm trying to do is have these discussions and then that's it, try to act on what we've agreed, but not arbitrarily whine about too much usage or anything else that would make her constantly stress about it. And try to guide her to spend the screen time in better ways, like spending time playing Factorio / Minecraft multiplayer with her so we get creative time together instead of her looking short videos.

comment 3y ago · link · parent

You can set the logistics request maximum amount of the item to same value as minimum amount - though then if you want to pick up some more you have to adjust so the bots won't come take them away, but for me it's much preferable to inventory being filled from tiny extra stacks.

comment 3y ago · link · parent

That's in 2022, doesn't sound good as 2023 Antarctic sea ice extent is lowering old records by a huge margin so far.

https://earthobservatory.nasa.gov/images/151692/exceptionall...

comment 3y ago · link · parent

+1 for broot[1], it works so fast and can be used even to fuzzy search sub-sub-directories. I'm also bit lost on the features but the help is quite good and mostly I use it just to find a directory and enter it, which requires only one keyboard shortcut.

[1] https://github.com/Canop/broot

comment 3y ago · link · parent

I use qutebrowser where I open links from keyboard using hints, and sometimes I press the wrong key and am not even sure which link it clicked, so I have done some accidental flags.. Good to know I can check and cancel them from profile.

comment 3y ago · link · parent

I'm living in Northern Thailand and I'm wondering this daily. Thailand has about the most dangerous traffic in the world, lots and lots of people dying annually compared to the size of the population, but still constantly I see people, even with their kids, driving a motorbike without their helmets on. It's actually almost rare to see a good helmet, it's either nothing or a mostly useless bowl to avoid fines by the police. If I tell people I won't drive in some situation as I don't have my helmet, they'll just tell me there's no police on the way..

Though in here I think big part is religion - karma / Buddha protects good people, and most people feel they're good people, so their life is already protected, you'd just think they'd get it some day as the fatal road accident numbers are so high every year and everyone knows someone who was "a good person" but is now dead from traffic..

comment 3y ago · link · parent

Anyone else having throttling problems with yt-dlp lately? I always watch youtube through mpv that uses yt-dlp on the background, but last week it's been terrible. It starts quickly (I've throttled it to 500kBps so that's the starting speed) but then after a while I'm getting a second of stream for three seconds of download, so I gotta queue up the video long time before playing. I'm using git version of yt-dlp and haven't noticed anything related in the git issues.

comment 3y ago · link · parent

I wonder would it be possible / how much data would you need if you'd only have long recording but no clear text to combine it with. Maybe you'd hear space bar as it often has a distinct sound (maybe backspace and return as well), and could create a script that finds the key associated with the sound by brute forcing every key to every unique sound and trying which combinations come out as reasonable sentences.

comment 3y ago · link · parent

I started studying science when I was 7. I tried to get people to learn it as well, but nobody wanted to. Just nobody. Then when they didn't like some results of scientific process, they came up with most stupid pseudoscientific arguments why things are actually the way they want them to be. When I understood that the same people vote for our leaders, I thought we'll be doomed for sure..

That's how I've seen the world. My grief has always been that with current scientific process and progress of technology we should be moving much faster towards better, more just world. Instead climate change, the first major problem we encountered with our new technology and powers, we completely screwed up our response and are taking a huge risk of massive loss of lives and ecosystems, while we're fighting about the most stupid stuff and choosing ridiculous leaders with bad reasons. Instead of critical thought, lots of people just get stuck with opinions they want to have, no matter how clearly they're wrong and based on lies and feelings.

And I've felt it's quite hard to stay motivated in this world. My motivation has always been really finicky, I can get extremely motivated on correct circumstances, but have a complete lack of motivation when things are wrong. During past decades these have led me to do a lot of drinking (I've finally mostly stopped few years back) and progressing through life really slowly, sometimes just stopping for months or even a year. I wish I could get over it, but it feels harder and harder. Everything I predicted how the future would be screwed came through, just much much worse I ever could have figured. Even if we beat climate change, there's other problems on the way and I'm not so optimistic how we'll handle those. Feels though to try to be building a better future when it feels most people don't even try or care, when they could affect so much change for better for so little.

comment 3y ago · link · parent

People keeping calm and carrying on is the reason we are in this mess. I'm feeling quite weirded out myself how most don't want to talk or understand much about it, just pretending it's not there.

comment 3y ago · link · parent

I just Google like "7pm EST" and it returns it in my local time.

comment 3y ago · link · parent

There's a study[0] from 2022 that shows the western US megadrought was/is largely caused by human caused climate warming.

[0] https://www.theguardian.com/environment/2022/feb/15/us-west-... (the first link in the article is the study, it's quite ugly so I used the article instead, but the study is worth reading)

comment 3y ago · link · parent

"With these updates, we’ll be inviting many more people from the waitlist to try GPT-4 over the coming weeks, with the intent to remove the waitlist entirely with this model. Thank you to everyone who has been patiently waiting, we are excited to see what you build with GPT-4!"

https://openai.com/blog/function-calling-and-other-api-updat...

comment 3y ago · link · parent

The linked Bloomberg article[0] had this info I found quite funny:

> Last June, Zume bought a company called Pivot Packaging to jump-start its ability to sell compostable containers to other businesses. It held a one-day test at a Pizza Hut in Phoenix in October, with the goal of expanding the tests to more locations in January or February of this year. But the boxes can’t legally hold food in some jurisdictions, including San Francisco, because they contain the chemicals known as PFAS

So.. compostable forever chemicals, how does that work?

[0] https://www.bloomberg.com/news/articles/2020-02-13/inside-th...

comment 3y ago · link · parent

Sound like this: https://www.imdb.com/title/tt11394276/

comment 3y ago · link · parent

It doesn't, I think it should but not sure how to add it to the prompt yet - I have a feeling that if I'll just add them after or before the command line, GPT will at least occasionally add hallucinated return codes to the autocompletion. Maybe I'll just add the unsuccessful codes or something, but it needs some testing.

comment 3y ago · link · parent

It feeds the information from atuin database as a prompt for OpenAI, like: "Latest calls for the same executable:\ncmd1\ncmd2" (I should work on my prompts, doesn't actually look that optimal, oh well). Then at the end gives the current command line and asks for few options how to finish / replace the line, with some extra requests for GPT (like don't write anything else except the command line etc).

comment 3y ago · link · parent

Thanks! I'll do that after I've had more time to finish some features and clean the code up in few days. But I've released a crude version at https://github.com/TIAcode/LLMShellAutoComplete

comment 3y ago · link · parent

It's usually ~two seconds or so for the first line to come out of OpenAI. You can see the example video in the github, though I think that was little slow.

If you have big atuin file though, creating indexes for session and cwd are good ideas so we can get the request out quickly..

edit: but much faster than searching or asking LLM for command line parameters instead

comment 3y ago · link · parent

Well it's published. Wasn't ready to publish and didn't have time to clean it up but I'll get back to it in the coming days, there's also some extra features on the way but disabled currently. Works quite well for me though.

https://github.com/TIAcode/LLMShellAutoComplete

Forgot to add needs tiktoken, openai and fzf. If someone knows how to do that command line query and replace on other than fish/nushell, please let me know.

comment 3y ago · link · parent

I made a script that uses atuin to get previous commands related to your current command line - latest commands ran in the same session, in the same directory, in other sessions, latest commands for the same executable etc. then feeds it into GPT and streams the replies to fzf so you can choose the best autocompletion (or it can fix problems in the line you've written already as well). On Wezterm and Kitty it can also get the terminal screen contents error messages and so. Because of the streaming reply the first autocomplete line is ready quite soon after the keyboard shortcut is pressed.

Have been putting off pushing it to Github, think I'm gonna do that today.

146.

Show HN: GPTKitten – access ChatGPT from Kitty terminal(github.com ↗)

2 points · by bayesianbot · 3y ago · discuss

comment 3y ago · link · parent

https://www.youtube.com/channel/UCCM4GCy82i41Z1X8pQzjm7Q

Not tech related, but I document the lives of the two Tokay Geckos (male and female, plus now two babies that aren't on the videos yet) living between my outside sofa and house wall in Thailand.

The male gecko came to live there, I had a terrible leftover camera from some other things with like 720p/15fps, stuck it there, put a few videos online. Came back months later expecting to have a handful of views and one of them had like 120k at that point :P

Their life is quite interesting, I've had a lot of fun following them but I've been stupid with the cameras. So far I've ordered three cheap no brand cameras just for this, none of them have been as the specs promised, and the best one broke down some weeks ago. Getting a brand name one soon and hopefully the quality will be much better. Plus I'm not happy that I seem to get most stable views with shorts so I'm kinda torn between posting the videos I'd like to see and videos others apparently prefer.

comment 3y ago · link · parent

https://archive.is/9oNiT
1234567