Better HN
topnewbestaskshowjobs
Log inSign up

evolveyourmind

123 karma · joined Jan 18, 2018 (8y ago) · 53 submissions

Submissions

comment 1mo ago · link · parent

+1 my code quality degenerates exponentially after every prompt if I skip reviewing

Current agents never take a step back to refactor and to create a good abstraction as the requirements evolve, they only care for delivering fast even at the price of garbage code which doesn’t scale

comment 10mo ago · link · parent

Have you successfully submitted a “malicious” paper that hacks these AI reviewers?

comment 1y ago · link · parent

https://github.com/desi-ivanov/ts-lambda-calc

comment 2y ago · link · parent

Nice! My version: https://github.com/desi-ivanov/ts-regexp

comment 3y ago · link · parent

Interesting number, but how many are actually that GPU-intensive?

comment 3y ago · link · parent

I can't understand why they invest so much in gaming. Gaming on such small devices is too uncomfortable, both for your eyes and your posture. In addition, with cloud gaming you can basically run any PC/Console game on any device provided a good-enough connection (eg. Nvidia NOW, Xbox cloud gaming etc)

comment 3y ago · link · parent

You can also easily implement meta-languages. Eg. lambda calculus: https://github.com/desi-ivanov/ts-lambda-calc

8.

Show HN: RL from Scratch(github.com ↗)

3 points · by evolveyourmind · 3y ago · discuss

comment 3y ago · link · parent

Any benchmarks?

comment 3y ago · link · parent

Other than Monads, HKT can be used to easily write type-level functional programs [1]. This can for example help writing type-level parsers for other lanugages.

A real world use-case could be parsing GraphQL raw string queries and automatically infer the returned types based on a common schema, without using special code-generators. For instance you can come up with some magic function `gql_parsed` like:

doc = gql_parsed`query GetUser { user { name }}`

where doc is inferred as something like Doc<Query<{GetUser:{user:{name:string}}}>>

[1] https://desislav.dev/blog/tsfp/

11.

Functional Programming with TypeScript's Type System(desislav.dev ↗)

90 points · by evolveyourmind · 3y ago · 41 comments

comment 3y ago · link · parent

Seems very limited. I wonder if the same can be achieved with just stable diffusion and neighbor latent walks with very small steps. On the other hand the interpolation techniques with the GigaGAN txt2img produce much higher quality “videos” than this

comment 3y ago · link · parent

Imagine the impact of such a crash to the whole humanity in the next years. Api crashes and suddenly all bots crash and half of the world is stuck for some hours

comment 3y ago · link · parent

A containerized version of this thing would be def useful, as it installs global packages and assumes a lot of preinstalled binaries. The node image won't work alone tho, you'll python, pip, git, cpp compiler

comment 3y ago · link · parent

And here the formalized proof in less than 150 lines of code (in Agda) for Brzozowski Derivatives for regex matching (and additional regular languages theorems): https://github.com/desi-ivanov/agda-regexp-automata

comment 3y ago · link · parent

Goodbye internet as we knew it

17.

Show HN: Reinforcement Learning from Scratch with TypeScript(github.com ↗)

7 points · by evolveyourmind · 3y ago · discuss

comment 4y ago · link · parent

This is mindblowing

comment 4y ago · link · parent

Some other type-only TS projects:

- RegExp matching through types: https://github.com/desi-ivanov/ts-regexp

- Lambda calculus through types: https://github.com/desi-ivanov/ts-lambda-calc

- Brainfuck through types: https://github.com/susisu/typefuck

20.

Show HN: Type-Level RegExp Matching in TypeScript(github.com ↗)

2 points · by evolveyourmind · 4y ago · discuss

comment 4y ago · link · parent

Yes, knapsack can be optimally solved with these solvers. Indeed, the time complexity of these optimisers is exponential.

comment 4y ago · link · parent

Imagine what average users will do after reading "This app does not support (Apple's) secure and private payments system". Clearly they would cancel the payment and probably uninstall the "insecure" app

comment 4y ago · link · parent

I was actually inspired by your ts-sql project! Amazing work

comment 4y ago · link · parent

Here’s an implementation of lambda calculus (which is TC) at type level in TypeScript: https://github.com/EvolveYourMind/ts-lambda-calc

And here a type-level RegExp matcher: https://github.com/EvolveYourMind/ts-regexp

25.

Show HN: Type-level Lambda Calculus interpreter in TypeScript(github.com ↗)

10 points · by evolveyourmind · 4y ago · 1 comment

26.

Show HN: Lambda Calculus evaluation with type-annotations in TypeScript(github.com ↗)

2 points · by evolveyourmind · 4y ago · discuss

27.

Show HN: Type-level Regexp matching in TypeScript(github.com ↗)

5 points · by evolveyourmind · 4y ago · 1 comment

comment 5y ago · link · parent

If you want to learn more about the basics of theorem proving through dependent types, Wadler’s Agda tutorial at https://plfa.github.io would be a good starting point
12