2024 1

Things I Learned - 15 Dec 2024

This week, I learned: **/*.md can search for all Markdown files. Julia Evans Windows 11 2024 Update features: Ref Live captions (via the tray) can transcribe audio and microphone. Cocreator in Paint lets you draw crudely and enhances it with AI. The neat UI is a slider that lets you control how close it should be to your drawing. Voice Clarity automatically cancels echo, reduces background noise, and minimizes reverb. Studio Effects (via the tray) lets you apply camera effects on all apps. Eye contact feature is CLEVER! sudo lets you run commands with admin privileges from the command line. source Roaming RAG is an alternative to RAG without the vector database. Applicable to well structured documents, e.g. technical books, manuals, etc. Create a hierarchical outline of the document. Code Keep the top-level headings. Preserve the first ~100 characters of opening text from each section. Present the second-level headings, but without any subsidiary content. Provide each section a unique 8 digit hex identifier. Each section heading is followed by a guiding comment for the model: Section collapsed - expand with expand_section("{identifier}"). Then read the relevant sections as context to answer the question. Code Traffic to StackOverflow has fallen considerably. Especially from young and Indian developers. StackOverflow revenue is down. Via Prashanth. They’re exploring: Licensing their content. (Meta says high quality content improves LLM performance by 30% on HumanEval) Enterprise StackOverflow for system integration Fine-tuned versions of Enterprise Stackoverflow for enterprises Integrate StackOverflow within your IDE. Ask questions, post directly I surveyed the Gramener QA team on how they were using LLMs. 7 used it for code generation (e.g. date extraction, regex generation) 4 used it for learning (e.g. Robot Framework, how to define test cases, API usage) 3 used it for formula generation (e.g. Excel) 2 used it for test scenario identification 2 used it for test data generation 2 used it for comparing expected vs actual datasets 1 used it for data type identification (e.g. given sample values, identify the data type). 1 used it for evaluating resulting (LLM as a judge) I asked the Straive Digitalized Operations team what management techniques they would apply to manage LLMs. Here are the responses: Ask better questions. (Prompt engineering.) Create templates or step-by-step instructions. (Chain of Thought.) Ask for multiple options and pick from the best options. (Agentic approach?) Training. (Fine tuning.) Price weaker responses lower. (Stratified model pricing?) “LLM hallucinations are a good thing. They are a sign of diversity, allowing us to improve the answer by exploring multiple paths.” – A colleague from Straive. Hyperbrowser is a cloud based puppeteer service. Bedrock Llama models can’t be directly called with their model names. You need to use their inference profile names, e.g. us.meta.llama3-2-11b-instruct-v1:0 if the model is in a US region. Hacker News RSS is a good way to get RSS feeds from Hacker News. It’s also a good way to understand how to convert a news source into RSS feeds. BlueSky has RSS feeds too When embedding using a SentenceTransformer.encode(docs) it’s best if we embed with smaller docs and call it multiple times (rather than embedding more at once). On Colab T4, for gte-base-en-v1.5, when embedding 1,000 docs of up to 8K chars each, here is the TOTAL time it took, based on batch sizes (lower is better) 1 doc per call: 10s 2 docs per call: 13s 4 docs per call: 19s 8 docs per call: 23s 16 docs per call: 32s 32 docs per call: 40s Running embeddings without a GPU is extremely slow. It takes ~2.4 seconds per string.

2007 2

Managing feed overload

I have only two problems with Google Reader. The first is that it doesn’t support authenticated feeds. Ideally, I’d have liked to have a single reading list that combines my e-mail with newsfeeds. GMail offers RSS feeds of your e-mail. But the feeds require authentication (obviously) and Google Reader doesn’t support that right now. (So I usually don’t read e-mail :-) The second is that it’s tough to manage large feeds. It’s a personal quirk, really. I like to read all entries. If there are 100, I read all 100. If there are 1000, I struggle but read all 1000. I’m too scared to “Mark all read” because there are some sources that I don’t want to miss. ...

RSS feeds in Excel

The technique of Web lookups in Excel I described yesterday is very versatile. I will be running through some of the practical uses it can be put to over the next few days TO generalise things beyond just getting the Amazon price, I created a user-defined function called XPATH. It takes two parameters: URL of the XML feed to read Search XPath list string (separated by spaces) This function can be used to extract information out of any XML file on the Web and get it out as a table. For example, if you wanted to watch the Top 10 movies on the IMDb Top 250, and were looking for torrents, an RSS feed is available from mininova. The URL http://www.mininova.org/rss/movie_name/4 gives you an RSS file matching all movies with “movie_name”. From this, we need to extract the and <item><link> elements. That’s represented by “//item title link” on my search string. ...

2006 2

Google Reader shared lists are tough to find

Though Google Reader learns to share, I haven’t found it easy to see what others are reading. Even a Google search for shared lists reveals very few.

Share your OPML

Share your OPML. Seems to be down, though. Comments rajkumarc 11 May 2006 7:54 am: 24/25 - Great work and kept me awake until I got it right. Couldn’t figure out what was song #23. S Anand 11 May 2006 11:59 am: #23: Kamal, Sridevi song. rajkumarc 12 May 2006 5:00 am: Thanks S Anand. I guessed it right the first time but typed in Sivappu instead of Sigappu and it was not accepted. S Anand 14 May 2006 8:25 am: Yeah, it’s a little difficult making tradeoffs on what variations to allow and what not to. ‘v’ maps to w, b, g… too many things.

2005 9

Why Google Reader

I switched to Google Reader as my blog reader (I was using Mozilla so far). The reason was simple: speed. Thanks to the Google site’s speed and keyboard navigation, I can read blog entries 10 times faster. Now there’s a unique proposition for Google that a lot of people are missing: that their site loads a whole lot faster than others. It makes a huge difference to the whole browsing experience. ...

Google Reader

Google Reader. Gmail principles applied to RSS. You can subscribe to posts, label feeds and star RSS items. The reader suggests items from your subscriptions based on your interest.

Autoblog

I have an automated (and lazy) way of finding interesting sites. This is what I do every day. I get the del.icio.us tags of every URL I blog about. (It’s available at http://del.icio.us/rss/url/ followed by the MD5 hex version of the URL). I pick the most popular tags (at least 50 links must have this tag), and use them as my “preferred tags” I scan the most popular sites on del.icio.us, and get each site’s tags If a site has my preferred tags, I give it points (the number of points is equal to the number of times I’ve blogged that tag) I pick the top 5 sites based on my points, and read them. There are two problems I have now. Firstly, I will find sites similar to those I have blogged about – not discover anything new. That’s fine to start with – I can search for those manually. The bigger problem is, this is restricted to del.icio.us. There are two ways I can extend this (lazily). ...

NotCon Life Hacks

Notes from Danny O’Brien’s NotCon Recap of Life Hacks. Summary: People use shells. People use todo.txt. We’ll have private blogs. We’ll have private RSS feeds. Geeks use secret scripts.

RSS Clustering

RSS clustering is about doing what Gmail does on news sources, to RSS feeds of your choice. Comments Arun 28 Jul 2005 4:01 pm: How do you get to all these amazing links? S Anand 29 Jul 2005 6:01 am: Mainly using del.icio.us these days. Arun 29 Jul 2005 2:30 pm: Ah, okie… But there is so much crap there…You are darn good at filtering stuff then! :-) Arun 29 Jul 2005 2:36 pm: btw, dunno if it’s a bug, but there is a problem with the cursor in this text book. If I leave the page and return to the text box after i start typing, am not able to get the cursor to refocus on the text box. It just disappears. In firefox. RaM 29 Jul 2005 4:36 pm: Update the placement section also RaM 29 Jul 2005 4:44 pm: Your Placement Section is static. Pls Update it. Your search tactics are very good Dhar 30 Jul 2005 5:28 am: Arun, I too have had that problem with the cursor. Howie 30 Jul 2005 7:56 am: few links are dead in Placement section S Anand 31 Jul 2005 9:07 pm: Could you give me a step-by-step regarding the cursor problem? I couldn’t reproduce it. Dhar 2 Aug 2005 2:50 pm: http://digg.com/spy has an excellent collection of whacky/interesting links. And they use Ajax too. Another nice place to pick up good interesting posts.

10 for 10

A list of 10 trends to keep an eye on over the next 10 years. Includes the Long tail, Ajax, PDAs, Tagging and RSS.

Tagging

Tagging is in full swing. del.icio.us, Furl, My Web 2.0, Spurl etc. tags URLs Yummy tags PDFs Rojo tags RSS feeds Tagcloud, 24 eyes, Feedmarker, etc. tag RSS posts Technorati tags blog posts Tagsurf tags discussions Job Bazaar tags job postings Gmail tags e-mails (but you can’t share tags) Connotea and CiteULike tag academic references Swik tags open-source projects Snippets tags source code 43 things tags things you want to do 43 places tags places you want to visit Diggs tags stories Library Thing tags books Reader 2 tags books Upcoming tags events Dinnerbuzz tags restaurants Flickr tags photos Tagzania tags locations Freesound tags sounds Podcast tags podcasts Upto 11 tags P2P music Music mobs and Genie Lab tag music You tube tags videos In fact, supr.c.ilio.us tags tagging sites! ...

15 things with RSS

15 things you can do with RSS – like mix RSS scripts, convert any page to RSS, etc.

Open Search

OpenSearch. “We want OpenSearch to do for search what RSS has done for content.” It’s an RSS interface to search, and is an extremely powerful concept.

2002 3

Professional news feeds

Professional news feeds. A treasure for RSS news junkies.

Essential Blogging

Essential Blogging: a book on weblogging. Quite good. Technie note: This RSS thing looks interesting. Daypop has started offering RSS output. Need to see how I can use it.

2001 1