Better HN
topnewbestaskshowjobs
Log inSign up

defrex

141 karma · joined Nov 15, 2008 (18y ago) · 57 submissions

aron.jones@gmail.com defrex.com github.com/defrex

[ my public key: https://keybase.io/defrex; my proof: https://keybase.io/defrex/sigs/bebLD6LW-Nra4atpwNDQPaWFg8g0q9vQbib75DlrueU ]

Submissions

comment 8mo ago · link · parent

That compound command issue is infuriating, and really what drove me to make this.

FWIW, the prompt is easily adjustable in a `.claude/PERMISSION_POLICY.md` file in the project.

It's also quite easy to remix the script with claude to meet your needs. Right now it prompts the user and runs the script, so it's a race. If you added a delay in the script and increased the hook timeout in `.claude/settings.json` you should be able to accomplish what you're looking for pretty easily.

2.

Claude Code Permission Policy(github.com ↗)

1 points · by defrex · 8mo ago · 2 comments

comment 1y ago · link · parent

I suppose my advice would be: when you're hand-rolling rolling particle effects in Canvas, test them on more than just an M-series Mac.

4.

Burn Damage(defrex.com ↗)

2 points · by defrex · 1y ago · 2 comments

comment 3y ago · link · parent

Aza Raskin's earth species project is working on this. He gave a ted talk about it recently, in which he also recommends a couple books.

https://youtu.be/3tUXbbbMhvk?si=6ESL-zuPIHXFULbC

comment 4y ago · link · parent

Author here.

I've been thinking about minimal models of evolution. I concluded that you need information to be copied with some transformation, some death, and a way for the information in question to encode its ability to avoid death.

In trying to simulate that, neural networks were a good fit since they are universal function solvers. I definitely took some inspiration from NEAT[0], though I'm not using any form of crossover.

AMA

[0] https://en.wikipedia.org/wiki/Neuroevolution_of_augmenting_t...

7.

Show HN: Neuroevolution(defrex.com ↗)

3 points · by defrex · 4y ago · 1 comment

comment 5y ago · link · parent

This is a reasonable conceptualization, IMO. However, the problem isn't that we can't access the information in a black hole (there are other places in the universe where information becomes inaccessible).

The problem is that black holes evaporate. If the particles released via evaporation don't contain the information about the particles that entered, information is lost when the black hole is completely gone.

The proposed solution is that the information is encoded onto the surface of the black hole and thus into the hawking radiation being released from that surface.

comment 5y ago · link · parent

Flutter is Canvas-based on the web, so this post well-could mean a switch to Flutter. Hard to see how non-Flutter customer Canvas-renderer for Google Docs makes sense.

comment 5y ago · link · parent

Perhaps Flutter. It uses Canvas to render in the web.

https://flutter.dev/

comment 5y ago · link · parent

Whilst it's obviously powerful, I often find myself wishing math used syntax even half as easy to understand as any decent programming language.

I suppose it's a result of being developed on a chalk board, but math seems be value _terseness_ above all else. Rather than a handful of primitives and simple named functions, it's single greek characters and invented symbols. Those kind of shenanigans would never pass a code review, but somehow when we're talking about math they're "elegant" and "powerful".

I call bullshit. Math syntax is bad.

comment 6y ago · link · parent

Perhaps simply

> cross _visual_ design off your list and get back to working on the hard stuff

comment 6y ago · link · parent

Multiple configurations are a maintenance burden. So, all else being equal, it's better not to have them. That said, not all else is equal, and configurability can indeed increase the user experience. But if your defaults are so good that very few people take advantage of the settings, you're better off dropping them.

comment 9y ago · link · parent

For me the killer feature of ST is multiple cursors. Despite being relatively fluent in vim, that one feature has always prevented me from switching.

comment 9y ago · link · parent

CareGuide | Software Engineer | Toronto

We are hiring software engineers to help us improve our online marketplaces: CanadianNanny.ca, Sitter.com, Housekeeper.com, PetSitter.com, ElderCare.com, and HouseSitter.com.

We need to iterate faster on our core features, and to add new things. Just as importantly, we run several unique automated marketing systems (which have powered our outstanding growth) and have big plans for where to take them.

We follow modern software development practices, including TDD, CI, and rigorous code reviews. We are very analytics driven and continuously run a/b tests to inform our product design. Our whole company has engineering-oriented approach.

Our current stack is Ruby, Rails, Haml, Sass, React, MySQL, Solr, Redis, and AWS. We are building mobile app using React Native. What would you add or change?

We are a fast-growing company. Our one-of-a-kind investor group includes over 60 successful entrepreneurs.

An interesting thing about CareGuide: as a tech startup, we employ more women than men, and have a high degree of ethnic and religious diversity. We also have employees in their teens, 20s, 30s, 40s, 50s, and 60s. We hire the best and build careers.

16.

Major API Changes to React Relay(facebook.github.io ↗)

1 points · by defrex · 10y ago · discuss

17.

React Relay v0.8(github.com ↗)

1 points · by defrex · 10y ago · discuss

comment 10y ago · link · parent

It's a React+Relay single page app talking to a Django-backed GraphQL endpoint.

Django's ORM helps a lot with cleanly serializing the filters. Though we denormalize the label/transaction relationship, since live-filtering everywhere in the app kills performance.

19.

Apply HN: Spendwell – A fitness tracker for your money

12 points · by defrex · 10y ago · 3 comments

comment 11y ago · link · parent

Ya, it depends on the upstream timeout for the process. I'm pretty sure to default for gunicorn is 30 seconds. After that the process will be killed, which kills the thread.

comment 12y ago · link · parent

Granted, but the idea is that they would have to compromise Github, Twitter, a private domain, and more before performing a successful attack. That's considerably more complex than targeting one service.

comment 12y ago · link · parent

From the README:

  caveat npmtor
  github's servers can be compromised by a court order, intruder, or employee. 
  You should use a secondary means of verification to check all the keys fetched 
  from github where secrecy from courts, intruders, and github employees is 
  of paramount importance.
This is one of the main advantages of keybase.io, though cipherhub has the advantage of not requiring users to opt-in before you can encrypt a message for them.

comment 12y ago · link · parent

I'd highly recommend checking out httpie as a replacement for curl. I find the interface much more intuitive.

comment 12y ago · link · parent

I believe their intention is to turn NPM into a business offering enterprise support for privately hosted mirrors.

comment 13y ago · link · parent

This article is missing pdb++[1], which I would argue is much less buggy then ipdb while having essentially all the same features.

[1] https://pypi.python.org/pypi/pdbpp/

comment 13y ago · link · parent

"Migrations specify which other migrations they depend on - including earlier migrations in the same app - in the file, so it’s possible to detect when there’s two new migrations for the same app that aren’t ordered."

This is a fantastic feature. I've worked on projects that use a South fork that only uses a migration number, eg 0003.py, specifically to cause version control to trigger a merge conflict.

comment 13y ago · link · parent

This project needs a better example on the homepage, I think.

This one is interesting: http://chessboardjs.com/examples#3004

comment 13y ago · link · parent

It seems right to point out that in Bootstrap 3, "span4" will become "col-sm-4".

comment 13y ago · link · parent

"Crate is a new kind of Python package index."

Why?

comment 14y ago · link · parent

Toronto, Canada (King St. W.) - Django Developer - http://shopcastr.com Shopcastr is a social marketplace for independent retailers and local shoppers. We’re backed by Mantella Venture Partners and are seeing great early traction. We have a solid team so far and need someone to help make up the foundation of the company as we grow. We’re looking for a developer with some Python and Django chops who isn’t afraid to pick up new skills when needed (we use CoffeeScript and SASS, for example). We’re looking for someone self-taught, though we won’t hold it against you if you’ve also been to school. Email us at aron@shopcastr.com with whatever you think we need to see before following up with you.
12