News for hackers. Stuff that matters.

mtford

Immediately eaten by a Pterodactyl... lol
Re:Fire Engulfs Hitler's 'Eagles Nest' on Saturday October 24, 2026 @04:49AM (#50219359)
There is a 24 hour public tourist webcam - I had Claude pull all the interesting footage and shots: https://claude.ai/artifact/KQRxeaEpmtmwT8HwzhHRUt
Re:LayerFS: The filesystem for AI coding agents on Wednesday October 21, 2026 @11:14AM (#50182419)
This website behaves very strangely... scroll hijack. Also everything is suuuuuper stretched out.
Re:Tiny Little Office on Thursday October 15, 2026 @03:17AM (#50100357)
That and the "The boring deck is dead. One file killed it."

It makes me kinda tense up - I've become almost allergic to it. Kinda interesting really.

Re:Show HN: Jev Plays Pokémon Red on Saturday September 26, 2026 @03:59AM (#49854263)
This happens all the time in tech. A few years ago everybody got excited about static websites and server-side rendering as if we hadn't been doing that with PHP long ago.
This is really cool! I'm pumped for anything that makes it easier to review generated code. I, like many people these days, am searching for ways to stay close to the code whilst not being overwhelmed... and as a visual personal i like your idea to semantically link code to diagrams

I've been working on a (semi-)similar thing, a TUI for narrative code reviews - https://github.com/mtford90/revue - the idea being to generate "guided tours" of a change as opposed to a big wall of files.

Very impressive, well done!

Show HN: Review large code changes in your terminal, one chapter at a time

https://github.com/mtford90/revue

I've been hunting for ways to better review & provide feedback on agent output without facing walls of files or leaving my multiplexer!I've really enjoyed using both hunk and stage-cli and was inspired to combine and extend ideas from bothRevue is a terminal-based code review tool that breaks down large code changes into ordered, narrated chunks. You can think it as like a guided tour of a...

( Read More... | no comments | on HN )
Re:How to Pass a Programming Interview on Tuesday March 08, 2016 @02:38PM (#11247890)
I feel ya buddy - come and join the wacky world of front end development where these things matter less ;)
Re:Ello: You are not a product. on Thursday September 25, 2014 @12:03PM (#8367834)
Isn't Opera at v24 now?
Hi Luna, from my perspective async.js is about control flow whereas operations.js is about creating well defined operations that can be composed, queued, cancelled, reused and monitored. It's more of a workhorse.
Yeah, operations.js is meant for more complex scenarios than that. For example if we were spawning hundreds of operations that interact with networks/file systems. We can set an upper limit on concurrent operations using queues and express complex dependencies between them, compose them and cancel them.
Re:The Best Programming Font: M+ on Wednesday July 09, 2014 @11:19AM (#8010081)
I'm a huge inconsolata fan myself.
Re:Unix Tricks on Thursday July 03, 2014 @05:50AM (#7982228)
Many thanks for this! This has been a thorn in my side for a while but never got round to doing anything about it...
Re:Spreadsheet-like programming in Haskell on Saturday June 14, 2014 @12:51PM (#7893114)
I know a few of the investment banks have this kind of thing internally, implemented as a DAG: http://en.wikipedia.org/wiki/Directed_acyclic_graph. Cool stuff.
Re:Show HN: Silk, a profiling tool for Django on Saturday June 07, 2014 @04:35AM (#7861633)
Nice... I did make an attempt to filter out sensitive stuff but clearly did a bad job. Thanks for letting me know. I will eventually introduce a demo app rather than my own site.
Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @06:17PM (#7860541)
Sounds interesting... i'll take a look. The fact that its UDP would be helpful in avoiding the need for a dependency on celery/message queues.

What's it like in terms of getting the data back out?

Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @05:32PM (#7860379)
Tbh, probably fairly bad atm. I haven't done anything empirical but atm Silk will create a record for every SQL query executed during the request/response cycle effectively doubling the number of queries. Not only that but it also saves down any non-binary HTTP body to a TextField, and this isn't yet configurable.

I think the Elasticsearch/Celery option is a good shout if this were to ever be used in production. Celery would help with the issue of response time but it wouldn't solve the load impact on the database (although I guess could also configure a different SQL database in Django).

I will certainly do some investigation into this at some point :)

Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @04:44PM (#7860185)
That's not a bad idea, it would probably be more natural than the rigid filters that are currently in place for the requests and profiles. As far as having this running in prod I've only really thought of siphoning off the results to celery or something similar to avoid impacting response time, but a spray and pray at Elasticsearch would work just as well.

What's nice about the current setup is that it takes very little effort to get up and running but I suppose could make that configurable...

Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @04:36PM (#7860152)
Sure just added this to the intro. You can download via https://github.com/mtford90/silk/releases or install through pip install django-silk
Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @03:17PM (#7859826)
Yep django-toolbar is great! My aim with this was, like you said, to provide the history of multiple requests, but also to provide finer-grained profiling with the decorator and context manager. Not only do they capture execution time but they also capture the queries that were executed whilst they were active. The aim was extra visibility all round really.
Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @01:35PM (#7859258)
Not at the moment. Silk doesn't actually save anything down until right at the end of the cycle i.e. in process_response of the middleware. Had to do this to avoid issues with atomic transactions. I certainly don't mind adding this as a feature if people would find that useful - perhaps by detecting that no request is in process and then commiting profile data on the fly if that's the case.
Re:Show HN: Silk, a profiling tool for Django on Friday June 06, 2014 @01:30PM (#7859219)
Thats a great question... that def shouldn't be there. render_to_response is actually dynamically profiled i.e. the decorator is applied at runtime via configuration in settings.py. This looks like its probably a bug with that. Cheers, will look into it
Re:Running OS X Mavericks under QEMU with KVM on Friday June 06, 2014 @09:01AM (#7857596)
Never. To upgrade to Mavericks I just created a USB installer using unibeast, booted from USB and followed the usual OSX install process. All my files and apps were left untouched.
Re:Running OS X Mavericks under QEMU with KVM on Thursday June 05, 2014 @07:35AM (#7851342)
Yep, just upgraded mine to Mavericks and had absolutely no issues. You just need to make sure you buy components that are tried and tested by the hackintosh community.

Older »