HNHacker News
TopNewBestAskShowJobs

ankitg12

1,739 karma · joined September 4, 2013

https://ankitg12.github.io/
submissionscomments
ankitg12··on Ask HN: What browser extensions are you currently using?
Prompt Helper has been pretty helpful for repeated prompts on ChatGPT https://prompt-helper.xyz/
ankitg12··on Patterns for building LLM-based systems and products
This is a very well written and detailed article on the Art of LLMs. Thanks for writing this.
ankitg12··on Cultivating a state of mind where new ideas are born
>> Introducing a long delay between when you do the work and when it is shown to the world.

Ain't it anti-thesis of "get frequent user feedback" in agile terminologies.

ankitg12··on Mind Grenade (2019)
Great to know about one of the brains behind Intel 8008 microprocessor - Harry S. Pyle. An interview with him at CHM - https://www.computerhistory.org/collections/catalog/10270201...
ankitg12··on Show HN: ChatGPT summary of HN frontpage streamed on Twitch
Is it possible to add dark mode to this? Not sure if it'd need a new channel or there can be toggle to current stream itself.
ankitg12··on Show HN: I made a chrome extension to run Python code in ChatGPT
The github link is giving 404.
ankitg12··on Show HN: Chrome Extension CLI for Bard, ChatGPT, CharacterAI Prompts
Thanks for writing this. Finding it useful. Any plans to make it opensource and upload to github?
ankitg12··on My personal Python project template
Seems like the following link to your blog from the repo is broken: https://thatxliner.github.io/blog/2020/11/12/why-i-use-gnu-g...
ankitg12··on Ask HN: How to build a plug-in system with Python for a desktop app?
Not an expert in Python plugins, but I asked chatgpt gpt-4 about this, and this is what it came up with - https://chat.openai.com/share/e1ad569f-4d4d-4057-8564-0d79a8... . See if this helps.

Essentially boils down to this:

Best Practices The correct approach to managing dependencies will depend on the specifics of your application and its plugins. However, here are some general best practices:

Document your dependencies: Make sure to provide clear documentation of all dependencies required for your plugin to function properly.

Specify dependency versions: When downloading dependencies during installation, always specify the version to ensure the plugin works as expected.

Regularly update your dependencies: Whether you bundle them with your plugin or download them during installation, make sure you regularly update your dependencies to patch any security vulnerabilities and benefit from new features or improvements.

Consider using virtual environments: To prevent conflicts between different plugins' dependencies, consider using Python's virtual environments. This isolates each plugin's dependencies in its own environment.

Leverage dependency management tools: Tools like Pipenv, Poetry, or conda can help you manage your dependencies effectively. These tools also support the creation of virtual environments.

ankitg12··on Google Local Results AI Parser
To save you few clicks, this is the place you can play around with this - https://serpapi.com/playground?q=Coffee&ref=serpapi.com
ankitg12··on Microsoft claims first milestone in creating a practical quantum computer
> plans to build a reliable quantum computer over the next 25 years.

That seems like quite a long time to go.

ankitg12··on Cookie Clicker saved my PhD
> We could view my investigations of Cookie Clicker’s mechanisms as ‘basic research’, i.e., research without an immediate application in mind.

> But perhaps the simplest way to view this episode was as a playful, recreational activity which through sheer dumb luck gave me the skills needed to solve an important problem in my work life.

I see it capturing my joy of using GPT-4 on ChatGPT, with its cap of 25 messages every 3 hours. There's a joy in exhausting the limit for each session (may be that's what gamification is). Not able to do for full day, as got to sleep for >3 continuous hours, but exploring topics besides day to day work as a result :) Learning I am doing, how much useful - not sure.

ankitg12··on Cookie Clicker saved my PhD
"Playing to wait" - Seems like someone talking about ChatGPT-4's 25 message/3 hour limit :)
ankitg12··on Using GPT-4 to measure the passage of time in fiction
A innovative case of using the LLMs.

> The total cost to my OpenAI account was $22. Of that amount, about $8 was testing the prompts and running on the (cheaper) Turbo API. The final run on GPT-4 cost $14; if I had completely replicated our work from 2017 on GPT-4 it would have cost $140.

Seems like coming up with good prompt itself is quite costly at around 1/3rd of the total cost. I wonder if there are any ways to iterate on the prompts cheaply?

ankitg12··on Proceedings of the 19th Workshop on Hot Topics in Operating Systems
Thanks for the pointers !!
ankitg12··on Tensil
I wonder what has happened to them. Not seeing any updates on Github page (https://github.com/tensil-ai/tensil) or twitter feed (https://twitter.com/tensilai)
ankitg12··on GGML – AI at the Edge
Quite impressive, able to run a LLM on my local mac

    % ./bin/gpt-2 -m models/gpt-2-117M/ggml-model.bin -p "Let's talk about Machine Learning now"
    main: seed = 1686112244
    gpt2_model_load: loading model from 'models/gpt-2-117M/ggml-model.bin'
    gpt2_model_load: n_vocab = 50257
    gpt2_model_load: n_ctx   = 1024
    gpt2_model_load: n_embd  = 768
    gpt2_model_load: n_head  = 12
    gpt2_model_load: n_layer = 12
    gpt2_model_load: ftype   = 1
    gpt2_model_load: qntvr   = 0
    gpt2_model_load: ggml tensor size = 224 bytes
    gpt2_model_load: ggml ctx size = 384.77 MB
    gpt2_model_load: memory size =    72.00 MB, n_mem = 12288
    gpt2_model_load: model size  =   239.08 MB
    extract_tests_from_file : No test file found.
    test_gpt_tokenizer : 0 tests failed out of 0 tests.
    main: prompt: 'Let's talk about Machine Learning now'
    main: number of tokens in prompt = 7, first 8 tokens: 5756 338 1561 546 10850 18252 783

    Let's talk about Machine Learning now.

    The first step is to get a good understanding of what machine learning is. This is where things get messy. What do you think is the most difficult aspect of machine learning?

    Machine learning is the process of transforming data into an understanding of its contents and its operations. For example, in the following diagram, you can see that we use a machine learning approach to model an object.

    The object is a piece of a puzzle with many different components and some of the problems it solves will be difficult to solve for humans.

    What do you think of machine learning as?

    Machine learning is one of the most important, because it can help us understand how our data are structured. You can understand the structure of the data as the object is represented in its representation.

    What about data structures? How do you find out where a data structure or a structure is located in your data?

    In a lot of fields, you can think of structures as

    main: mem per token =  2008284 bytes
    main:     load time =   366.33 ms
    main:   sample time =    39.59 ms
    main:  predict time =  3448.31 ms / 16.74 ms per token
    main:    total time =  3894.15 ms
ankitg12··on Setris – Tetris with Sand Physics
Tried running with following JDK on mac, but don't see any screen after the initial few messages:

Setris-1.2_LINUX % java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

Setris-1.2_LINUX % java -XstartOnFirstThread -jar setris-desktop-1.0-SNAPSHOT-jar-with-dependencies.jar [30.05.23][12:16:41] Loading Assets [30.05.23][12:16:41] Done. [30.05.23][12:16:41] Starting UI Subsystem ^C% Setris-1.2_LINUX %

ankitg12··on Optimizing TCP for high WAN throughput while preserving low latency
Good but long read. I think it'd take additional time in creating the articles, but any plans to make short videos on such blog posts so that's easier to consume ?
ankitg12··on Ask HN: Who is hiring? (March 2022)
Pensando Systems | ASIC, Hardware, Software, and CloudOps | Remote/Milipitas,CA/Bangalore,India

Pensando Systems is looking for ASIC, Hardware, Software and Systems engineers working in fields of Networking, Storage and Security. Check the openings in following link : https://recruiterflow.com/Pensando-Systems/jobs

More details about company here - https://pensando.io/ and https://www.linkedin.com/company/pensando-systems/, Reach out to me (ankit at pensando dot io) in case interested.

ankitg12··on Sleep technique used by Salvador Dalí works
A powernap (one good audio here - https://soundcloud.com/withandrewjohnson/power-nap-with-andr...) can be helpful to get into some of this state.
ankitg12··on A Project of One’s Own
So much right. Children do pay attention and many times get glued to the thing they see we adults really value. Since for most of the families formal education is not the thing their world revolves around (except people in university jobs/professors), children don't gel as well with the books, as they do with other things we value (for example, our phones or TV).
ankitg12··on The origin of Covid: Did people or nature open Pandora’s box?
Quite detailed and well-referenced look at the origin of virus. These questions were raised earlier too - https://www.youtube.com/watch?v=CoUYq_QGJ0w

Can't help feeling sad, and bewildered in capacity of humans to cause damage at this level - the havoc this (human-made) virus is inflicting on people - close and faraway.

ankitg12··on Ask HN: What are you learning in 2019?
Learning deep dive into linux networking [https://sysplay.in/index.php?pagefile=lnd_weekend_workshop] /system programming[https://sysplay.in/index.php?pagefile=lsp_online_training] / algo-DS etc. Mostly through online courses in second half of 2019. Wasn't that enthused about them previously, but having attended one, those are not bad and have lot of flexibility in terms of schedule and not having to travel.
ankitg12··on Building an open source Nest
Nice work guys..
← PreviousPage 2 of 2