News for hackers. Stuff that matters.

tomatofrank

Depends on your use case but if you want to avoid the syncing problem altogether you can federate queries to Postgres either via the native Postgres connector or over a JDBC bridge
Re:A 10x Faster TypeScript on Tuesday March 11, 2025 @03:22PM (#43336074)
Very pumped to see how this improves the experience in VSCode.

I've been revisiting my editing setup over the last 6 months and to my surprise I've time traveled back to 2012 and am once again really enjoying Sublime Text. It's still by far the most performant editor out there, on account of the custom UI toolkit and all the incredibly fast indexing/search/editing engines (everything's native).

Not sure how this announcement impacts VSCode's UI being powered by Electron, but having the indexing/search/editing engines implemented in Go should drastically improve my experience. The editor will never be as fast as Sublime but if they can make it fast enough to where I don't notice the indexing/search/editing lag in large projects/files, I'd probably switch back.

Re:Ask HN: What's the "best" book you've ever read? on Thursday October 10, 2024 @12:12AM (#41795431)
You like thrillers? You like non-fiction? You like absolute page-turning non-fiction thrillers?

Check out "The Hot Zone" by Richard Preston - it's about the Ebola virus and a strain that wound up in a primate facility just outside of Washington, D.C.

Stephen King called the first chapter "one of the most horrifying things I've read in my whole life." It's so true. Preston caught some flak from CDC scientists for sensationalizing the effects of hemorrhagic viruses, but I think he painted a fairly accurate picture for the layman in all of us: they turn your flesh into soup.

Re:The Aha Stack on Thursday January 04, 2024 @01:37AM (#38863821)
Show me five use cases of offline web apps and I'll show you a liar ;)
Re:For some searches the whole screen on Google is now ads on Saturday February 05, 2022 @03:10AM (#30218918)
Do you have an example query?
Re:For some searches the whole screen on Google is now ads on Saturday February 05, 2022 @03:07AM (#30218903)
I'll check it out!
Re:For some searches the whole screen on Google is now ads on Saturday February 05, 2022 @03:06AM (#30218901)
Totally agree. Genius is such a great app. I remember being pretty upset when I read this article a few years ago, which shed light on Google's anti-competitive behavior against small companies that make a difference that Google can't make themselves.

https://www.rollingstone.com/music/music-features/genius-law...

Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @11:02PM (#30217206)
The evidence supporting this is the 4 YouTube videos at the top of the list, followed by 3 of those 4 YouTube videos on page 2 (LOL).
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:49PM (#30216221)
Yup! The version I was looking for was a slowed & reverb version that I later found on YouTube: https://www.youtube.com/watch?v=fkXCAKgqD3M
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:44PM (#30216189)
Haha yeah, I was wondering when someone would suggest this. Last night, after I got the result back immediately from DuckDuckGo and Bing, I returned to Google and added quotes around the lyric itself, and it returned the right result immediately.
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:36PM (#30216138)
Yeah, Google is still my default browser, though I haven't used other engines enough to develop a strong opinion here.

I'll add that I could have been more clever with my query. For instance, if I surround the lyric in quotes, Google returns the right result first.

Original query: like you didn't care I don't know why lyrics r&b

Improved query: "like you didn't care I don't know why" lyrics r&b

At the end of the day, I'm not frustrated with Google. I use it every day and it saves me lots of time. It just amuses me that in some cases, other engines that probably use simpler search algorithms are objectively better. And in this case, I think it's fair to expect Google to produce the right result on page 1.

Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:15PM (#30215980)
"like you didn't care I don't know why lyrics r&b" was my query
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:13PM (#30215966)
fuck yeah they did :P
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:12PM (#30215961)
Oh that's interesting, TIL.
Re:For some searches the whole screen on Google is now ads on Friday February 04, 2022 @08:04PM (#30215904)
Last night I watched a YouTube video that had a song in the background that I hadn't heard but really liked. I pulled up Shazam but it didn't recognize the song, so I took to Google. I entered the lyric and added the search terms "lyrics" and "r&b" at the end. Google returned 4 YouTube videos to songs that didn't contain the lyric, a link to a Boyz II Men song on Genius that didn't contain the lyric (good job Google, you know an R&B band), a link to peterbe.com to find a song by lyrics, and a bunch of other useless links. I clicked on to page 2, which hilariously presented 3 of the 4 YouTube videos that were on page 1.

I was immediately turned off, so I pulled up DuckDuckGo and Bing, entered the same exact query, and both engines returned the song I was looking for in the first result. I laughed out loud.

I then thought to myself, "I wonder how many pages I would have had to flip through in Google to find this result." Eventually, I found it. It was the 68th result on page 7.

Re:GTA 6 Confirmed on Friday February 04, 2022 @03:32PM (#30212681)
Do employees at game studios have to sign NDA's or something? Like "hey what are you working on at Rockstar these days?" "nothing, definitely not GTA6"
Re:Ask HN: What you up to? (Who doesn't want to be hired?) on Tuesday November 02, 2021 @12:15AM (#29077003)
I'm getting very close to homelabbing. Change my mind before I light my money on fire.