Better HN
topnewbestaskshowjobs
Log inSign up

_jayhack_

303 karma · joined Mar 19, 2017 (9y ago) · 75 submissions

https://github.com/jayhack
Submissions

comment 1y ago · link · parent

Related article from mid-pandemic: https://www.theinformation.com/articles/shaky-tech-and-cash-...

A friend asked me to do diligence on this company circa 2021 given my personal background in ML. The founder was adamant they had a "100% checkout success rate" based on AI, which was clearly false. He also had 2 other startups he was running concurrently (?)

Live and learn!

comment 1y ago · link · parent

Codegen is an MCP client that you can trigger via Slack: codegen.com

comment 1y ago · link · parent

This is true and is essentially a form of arbitrage. Anthropic is eating the cost of your elevated queries with their $20 flat fee subscription.

The "famously huge API token costs" you are referring to is Cline passing the Anthropic API cost through to you with no markup. You even input your own API token.

34.

SWE Agents Are Better with Codemods(docs.codegen.com ↗)

4 points · by _jayhack_ · 1y ago · discuss

35.

Mining LLM Pre-Training Data from Codebases(docs.codegen.com ↗)

2 points · by _jayhack_ · 1y ago · discuss

36.

Act via Code: Giving Agents a More Expressive Way to Act(docs.codegen.com ↗)

4 points · by _jayhack_ · 1y ago · discuss

comment 1y ago · link · parent

Codemodder has extensive Java support, which Codegen does not support at the moment. Otherwise, my understanding of Codemodder is that it is focused on AST-level syntactical modifications. Codegen computes a richer graph datastructure, and this can be used for sophisticated modifications that depend on inheritance hierarchies, function usages, cross-file references and more.

Codemodder is written in Java, whereas you can write Codegen in a jupyter notebook or anywhere you can run Python.

38.

Show HN: Codegen – OSS Python Library for Advanced Code Manipulation(docs.codegen.com ↗)

15 points · by _jayhack_ · 1y ago · 3 comments

comment 1y ago · link · parent

Unfortunately a lot of the things we want agents to interact with don't expose neat APIs. Computer use and, eventually, physical locomotion are necessary for unlocking agent interactivity with the real world.

comment 1y ago · link · parent

If you think the purpose of pure math is to provide employment and entertainment to mathematicians, this is a dark day.

If you believe the purpose of pure math is to shed light on patterns in nature, pave the way for the sciences, etc., this is fantastic news.

41.

Your AI is writing bad docs because it lacks context(codegen.com ↗)

8 points · by _jayhack_ · 1y ago · discuss

comment 2y ago · link · parent

Good call, thank you

comment 2y ago · link · parent

We do advanced static analysis to provide programmatic access to the type system, etc., based on tree-sitter and in-house tech.

This enables APIs such as `function.call_sites`, `symbol.usages`, `class.parent_classes`, and more!

comment 2y ago · link · parent

Interesting refactor!

This is trivial with codegen.com. Syntax below:

  # Iterate through all files in the codebase
  for file in codebase.files:
      # Check for functions with the pytest.fixture decorator
      for function in file.functions:
          if any(d.name == "fixture" for d in function.decorators):
              # Rename the 'db' parameter to 'database'
              db_param = function.get_parameter("db")
              if db_param:
                  db_param.set_name("database")
                  # Log the modification
                  print(f"Modified {function.name}")
Live example: https://www.codegen.sh/codemod/4697/public/diff

comment 2y ago · link · parent

This is simple and configurable with Codegen - see the results on `renovate` here: https://www.codegen.sh/codemod/4553/public/diff

Most transformations like this are not possible with pure static analysis and require some domain knowledge (or repo-specific knowledge) in order to pull off correctly. This is because some code gets "used" in ways that are not apparent i the code.

Enjoy!

46.

Show HN: Codegen – The IDE for Refactors(twitter.com ↗)

11 points · by _jayhack_ · 2y ago · 1 comment

comment 2y ago · link · parent

Part 2: https://volokh.com/2013/01/16/the-criminal-charges-against-a...

comment 2y ago · link · parent

Every Country Needs to be a 9-Figure Customer Of My Company

comment 3y ago · link · parent

This logic only applies to generative pre-training, behavior cloning, and other training methods which rely on learning to mimic well-structured content from the real world.

It does not apply to intelligence gathered through methods like RL.

How does the author think about the intelligence of AlphaGo, for instance, which was trained entirely by self-play?

50.

Show HN: LLM-Powered Sysadmin(twitter.com ↗)

1 points · by _jayhack_ · 3y ago · discuss

comment 3y ago · link · parent

Hey all, I hacked this out this afternoon after getting access to the ChatGPT Plugins API.

Right now, it integrates code & issues from a repo in a format that ChatGPT can easily navigate.

It can summarize/create issues for you, help you debug while looking at your code (without the copy/paste), etc.

Would appreciate any feedback. What other features do you want to see?

52.

Show HN: ChadCode – ChatGPT Plugin for Software Engineering(twitter.com ↗)

2 points · by _jayhack_ · 3y ago · 2 comments

53.

Show HN: GitChat – ChatGPT for Code Reviews(gitchat.co ↗)

3 points · by _jayhack_ · 3y ago · discuss

comment 3y ago · link · parent

Try LLM.sh - GPT-3 in your terminal

https://github.com/jayhack/llm.sh

Type `llm [natural language command]` and it will suggest a command for you, then run it.

Details here: https://twitter.com/mathemagic1an/status/1590480438258462721

comment 4y ago · link · parent

He went to MIT, actually. His parents are employed by Stanford.

56.

Show HN: Text-to-Figma(twitter.com ↗)

3 points · by _jayhack_ · 4y ago · discuss

57.

Show HN: AutoTool – text-to-dashboard with ToolJet/Retool(loom.com ↗)

2 points · by _jayhack_ · 4y ago · discuss

comment 4y ago · link · parent

For anyone looking for an aesthetic Postman alternative, I can't recommend https://insomnia.rest/ enough
123