HNHacker News
TopNewBestAskShowJobs

defrex

141 karma · joined November 15, 2008

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 ]

submissionscomments
defrex··on Claude Code Permission Policy
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.

defrex··on Burn Damage
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.
defrex··on AI can catalogue a forest's inhabitants simply by listening
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

defrex··on Show HN: Neuroevolution
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...

defrex··on Physicist discovered an escape from Hawking’s black hole paradox
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.

defrex··on Google Docs will now use canvas based rendering
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.
defrex··on Google Docs will now use canvas based rendering
Perhaps Flutter. It uses Canvas to render in the web.

https://flutter.dev/

defrex··on Floor, Ceiling, Bracket
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.

defrex··on Show HN: MVP.css – Minimalist stylesheet for HTML elements
Perhaps simply

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

defrex··on Why designing for open source can be difficult
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.
defrex··on Sublime Text 3.0
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.
defrex··on Ask HN: Who is hiring? (December 2016)
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.

defrex··on Apply HN: Spendwell – A fitness tracker for your money
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.

defrex··on Django 1.8 and Python 3: Complex app tutorial, end-to-end
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.
defrex··on Could keybase.io do for crypto what GitHub did for Git?
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.
defrex··on Could keybase.io do for crypto what GitHub did for Git?
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.
defrex··on A collection of Unix terminal/console/curses tools
I'd highly recommend checking out httpie as a replacement for curl. I find the interface much more intuitive.
defrex··on Npm Raises $2.6M Seed Round
I believe their intention is to turn NPM into a business offering enterprise support for privately hosted mirrors.
defrex··on Debugging Python Like a Boss
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/

defrex··on Schema migrations merged into Django master
"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.

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

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

defrex··on Pure: a set of small, responsive CSS modules
It seems right to point out that in Bootstrap 3, "span4" will become "col-sm-4".
defrex··on Crate.io: A new kind of Python package index
"Crate is a new kind of Python package index."

Why?

defrex··on Ask HN: Who Is Hiring? (June 2012)
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.
defrex··on Ask HN: Who Is Hiring? (May 2012)
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 jobs@shopcastr.com with whatever you think we need to see before following up with you.

defrex··on Google Cloud SQL: your database in the cloud
This should make App Engine a fantastic place to host Django projects.
defrex··on Show HN: Beginning Android for iOS Developers
Does anyone know of anything in reverse (iOS for Android developers)?
defrex··on Cloud9 IDE - Your code anytime, anywhere

  we don't have a date set for this on the roadmap
Read: never going to happen
defrex··on List of languages that compile to JS
That analogy breaks down though. JavaScript is just as much of a high-level language as most of the things that are compiling to it. Most of the time the reason people don't just write in JavaScript is because they don't like it's _style_, rather then with C or assembly, where the goal is to work at a higher level to avoid writing boilerplate and managing things are are unnecessary.
defrex··on Share HN: googly app template (html+css)
Also interesting: http://closure-library.googlecode.com/svn/trunk/closure/goog...

They even have Google's CSS3 buttons in there.

Page 1 of 2Next →