Better HN
topnewbestaskshowjobs
Log inSign up

krzkaczor

280 karma · joined Aug 22, 2015 (11y ago) · 56 submissions

Submissions

1.

Show HN: Algebraic Effect System for Python(effecton.dev ↗)

1 points · by krzkaczor · 2mo ago · discuss

comment 8mo ago · link · parent

I don't get it, what OP actually reverse engineered? OpenClaw itself? Of did Viktor team created their own OpenClaw like agent?

comment 10mo ago · link · parent

I hope that we can move to using DurationLike objects in place of ms (or sometimes seconds?) as plain numbers like in `setInterval`. `sleep({seconds 5})` is so much better than `sleep(5000)`.

comment 1y ago · link · parent

This is nice. Reminds me how in warp terminal you can (could?) just type `# question` and it would call some LLM under the hood. Good UX.

comment 1y ago · link · parent

How so? Care to elaborate? I get that bloggers/educators can sometimes be not the best fit for IC roles but doing open source seems like a huge advantage.

6.

Tesla Engineering breaks down the Model Y redesign(twitter.com ↗)

3 points · by krzkaczor · 1y ago · 1 comment

7.

Show HN: NY – Use right JavaScript package manager(github.com ↗)

1 points · by krzkaczor · 3y ago · discuss

comment 4y ago · link · parent

I like simplicity of mochajs but chai felt really outdated. Jest on the other hand is so complicated and magical that I have no confidence in tests that I write using it. That's why I've created earljs: https://earljs.dev/

It's a modern, fully typesafe chai replacement that works great with mocha. Very inspired by Jest (matchers, snapshots) but without magic that makes Jest hard to reason about.

comment 5y ago · link · parent

I am surprised to see no mentioned of Onyx Boox Air in this thread. I bought it recently instead of Remarkable 2 and it's amazing.

You simply can't beat open ecosystem like android with some proprietary crap (unless you're FAANG). Having chrome browser fully in-sync with desktop one is a killer feature for me.

comment 5y ago · link · parent

It seems like it only generates types for entities.

My dream library would be basically a generated client that looks like knex or objection but with full type-safety and mapping.

I don't like prisma that much as it takes control/power from the developer. But it can be great if you don't know SQL.

comment 5y ago · link · parent

Objection.js is neat but give me Objection with full type safety (Prisma style) and I am in haven.

comment 5y ago · link · parent

Yes, in principle it looks very similar to MakerDAO but I think some details are different.

For example DAI is pegged to one USD to make it as useful as possible but "The Reserve token will initially have a target value of $1.00, but is designed to go off of the peg from the US dollar in the long term.".

comment 5y ago · link · parent

Correction: DAI is not an algorithmic stablecoin. It's backed by collateral of multiple different assets.

https://blog.makerdao.com/busting-makerdao-myths-seven-misco...

comment 7y ago · link · parent

Are you familiar with https://mightyapp.com/ it looks like there are people working on something very similar but closed source & VC backed. Thoughts?

comment 7y ago · link · parent

Funny fact: code in a second snippet (awaiting on promises invoked before) can result in node throwing `uncaught promise rejections` errors.

More info: https://dev.to/gajus/handling-unhandled-promise-rejections-i...

comment 7y ago · link · parent

I think access to bank APIs is a similar space. Companies like Tink or Truelayer used to rely on credential passing but now with the wake of open bank apis (PTSD2) they are implementing standard oauth flows. That being said, I think that the biggest entry-level problem in that space is an enormous level of regulations regarding bank data. You can't even start using their API without your app being validated by them.

comment 7y ago · link · parent

It's explained here: https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...

comment 7y ago · link · parent

> Thank you for TypeChain, it's great. I remember last year, I got Gitcoin to give you some free money to put up bounties.

Thanks!!! I really appreciate it. I am actually wrapping up a new version of TypeChain for my Devcon talk (yes, I got a speaking slot! ;) )

> One reason I'm not building on ethereum right now, is you have no contact with customers/users, because for 90% of the projects, there aren't any. In my other software projects, you are talking with customers every week, it is hugely helpful.

Yeah... this space is definately over-hyped sometimes...

Btw. are you still in crypto space? If yes, what other blockchains than ethereum do you work on?

comment 7y ago · link · parent

I work in crypto space myself and I can tell that this space is really interesting. Both technical and business challenges are quite unique.

Here's just a quick recap of different, new business models https://medium.com/abridged-io/web3-business-models-in-the-w...

IMO things like DeFi are finally a good use case for blockchain.

So yeah, I think this a good idea to create a startup school focused on new, different area witch can disrupt the finance sector.

Disclaimer: I work for MakerDAO.

comment 7y ago · link · parent

The average salary in Warsaw (highest in Poland) is 6k PLN. Google (as any reasonable IT company) will pay no less than 20k PLN for senior developers. I would say that it's a pretty good salary even for Warsaw standards...

Of course, B2B contracts are event better, mostly because of lower taxes but they have their own disadvantages (often they can be terminated within a week, you don't have PTOs etc.)

comment 7y ago · link · parent

> - using `any` nearly always comes back to bite you as you trick yourself into feeling typesafe

This. I was so frustrated with this point that I created a tool for automatic tracking type coverage on PRs called TypeCov.

https://github.com/codechecks/typecov

comment 7y ago · link · parent

Events like this make me realize how much I rely on my CI/CD pipeline for working on new features, deploying etc. I am often too lazy to run E2E tests on my machine if I know that on CI it will take only a few minutes to be done.

23.

Show HN: TypeCov – Track TypeScript's Type Coverage in GitHub(github.com ↗)

1 points · by krzkaczor · 7y ago · discuss

comment 7y ago · link · parent

Yes! I really hope that this is what Github Sponsors will end up being. They should make it trivial for businesses to spend each month X USD to split between open source projects that they rely on.

25.

Paged Out – a new experimental magazine about programming(pagedout.institute ↗)

583 points · by krzkaczor · 7y ago · 82 comments

comment 7y ago · link · parent

Hi, the author here.

Some time ago I noticed that many of my TypeScript projects share similar types and I decided to extract them to common library. Since then I was joined by many awesome contributors.

ts-essentials is a nice addition to standard TypeScript library with deep*, recursive types like DeepPartial or DeepReadonly. Turns out, there are many edge cases while implementing those, just take a look: https://github.com/krzkaczor/ts-essentials/blob/master/lib/t...

I am here if you have any questions!

27.

Show HN: Ts-essentials – Reusable, type-safe, TypeScript types(github.com ↗)

1 points · by krzkaczor · 7y ago · 1 comment

comment 7y ago · link · parent

Having the ability to whitelist particular URLs (or at least domains) is really really cool. This would prevent (or make much harder) many of previous npm packages hacks.

Maybe you guys should work together with deno team on exchanging these ideas? Anyway, great work!

comment 7y ago · link · parent

I did a lot of open source work in blockchain (ethereum) ecosystem. I wrote a couple popular tools (typechain), as well as I, contributed to other projects.

This was one of the key factors that helped me land my dream job so definitely, open-source work will help you get hired but this might depend on the industry. Blockchain is open source by default.

12