HNHacker News
TopNewBestAskShowJobs

onehp

91 karma · joined December 19, 2011

http://onehp.co.uk
submissionscomments
onehp··on Basel has to buy domain name in the Bahamas after mishap
I think the argument comes from the full title being "The United Kingdom of Great Britain and Northern Ireland". If you drop NI then the other three countries can already be grouped under the Great Britain term.
onehp··on Mermaid Gantt diagrams for displaying distributed traces in Markdown (2023)
I wonder how much effort it would be to put together something expanding on this that's really friendly to new developers exploring a system. The goal would be to have something that looks more like a traditional swimlane diagram, but with human readable labelling of the connections. The open telemetry data should provide a nice skeleton and then maybe use some LLM summarisation (with access to the source code) to label what's going on.
onehp··on Infrared Infrastructure
I vaguely remember this being a technique for getting past doors in the Splinter Cell stealth games (2002).
onehp··on Show HN: I made an app to use local AI as daily driver
Retrieval augmented generation. In short you use an LLM to classify your documents (or chunks from them) up front. Then when you want to ask the LLM a question you pull the most relevant ones back to feed it as additional context.
onehp··on Dutch E-Bike startup VanMoof unable to pay the bills
The cheapest here is around €500 (depending on exchange rates), with plenty under €1500.

https://electroheads.com/collections/all-electric-bikes?filt...

onehp··on Dutch E-Bike startup VanMoof unable to pay the bills
Prices have dropped quite considerably recently. You can now pick up an e-bike as cheaply as €500. Once you get out of the "budget" range I'd expect to be paying more like €1500 for an average one.
onehp··on Electrically heated clothing (2013)
You're still having to breathe the cold air though, which isn't great for your health below certain temperatures. https://www.theguardian.com/society/2022/sep/01/how-turning-...
onehp··on Elderly patients 23% more likely to die if surgery is on the surgeon’s birthday
In all the work environments I've been in (UK) the culture is the opposite, as the birthday person you are expected to bring in cake.
onehp··on None of my projects want to be SPAs
Single Page App. Simply: the application is loaded once when you navigate to the page and more ajax calls are used to retrieve data, perform actions as you use the app.
onehp··on Building a Fast Search Experience
Yes, they are completely separate companies.
onehp··on Lily – Drone camera
That would enable the truest form of helicopter parenting (https://en.wikipedia.org/wiki/Helicopter_parent)
onehp··on The Cornish beaches where Lego keeps washing up
One of the bands from the area wrote a song about the incident. It's not bad. https://www.youtube.com/watch?v=GkUNkVEt9Y4
onehp··on Oculus Facebook deal could ignite equity crowdfunding
There's wefunder too (https://wefunder.com/) who are getting set up to allow unaccredited (lower net worth) investors once the JOBS act goes through.
onehp··on Google Wallet Card
It's getting pretty infuriating the direction they seem to be taking on this. I would gladly be using the wallet app without a card, KitKat on my Nexus 5 has it baked into the settings even, but Google seem to have no desire to put it out in the UK.
onehp··on Show HN: Built a 'Kayak for courier services'
Your "This field is required" validation labels obscure the postcode lookup dropdown for me when I submit before inputting any details. Otherwise, very nice!
onehp··on The Frameless Geodesic Dome I currently live in
At the low cost for that dome I'd be pretty tempted to stick another one on and divide it in two for kitchen and bathroom.
onehp··on Kickstart the first tailor-fit, American-made henleys and hoodies
Definitely interested in this range but I'm still waiting on my order from the first campaign. How far are you guys from getting the UK orders sent?
onehp··on Lessons Learned: A Year with a Large AngularJS Project
I can't show you our app as it's internal but in my travels I found the Dairy Queen site exhibits similar behaviour. https://www.dqcakes.com/#/home

Get through to where you pick your cake design and pick one, then go back, repeat and watch the memory increase.

onehp··on Lessons Learned: A Year with a Large AngularJS Project
It seemed it was detached DOM elements that were causing most of the problems. We tried profiling with the Chrome dev tools but found it very difficult to pinpoint where to start looking from the thousands of elements generated every-time we repeated our workflow.

In the end we looked at the bottom line memory consumption and experimented until we saw reductions. We found using things like ng-show instead of ui-if, essentially preloading the partials and switching between them instead of reloading everytime, saved us enough memory to make the system viable.

onehp··on Lessons Learned: A Year with a Large AngularJS Project
Everytime I read an Angular postmortem I'm intrigued that I never see memory issues being raised.

In a recent rewrite of one of our applications into Angular we had huge issues with it consuming memory. I think our use case is quite distinct, we have a telephony component that needs to stay loaded so single page app really does mean single page app for us, but even so I would expect to see memory mentioned every now and then.

onehp··on Hacker news in your terminal
Just run /usr/local/share/python/pyhn
onehp··on Show HN: Firebase-powered auction app running Jellyfish Art starter kit
Bidding bonuses getting you discount vouchers seems like a novel idea to boost the price along. Nice way to to link people's interests in the product to the auction price.

Found it slightly annoying that I couldn't view other auctions without just picking numbers in the address bar though. (Or signing up I presume).

onehp··on One of these things is not like the other: Apple store, Microsoft store
I would imagine the reason for the difference in purchasing would be Apple's consistent pricing strategy. The price of an Apple product seems to be set no matter where you get it from, whereas people will bargain hunt for a Windows machine.
onehp··on Show HN: HTML5 Bird Flocks Simulation in CoffeeScript
I had a go at this too a little while ago.

It's not web based unfortunately so here's a short video of it running: http://www.youtube.com/watch?v=eY4DHcsuv1Y&feature=youtu...

And sourcecode: https://github.com/OneHP/murmuration

Also because I'm not great with my vector maths you'll spot that the boids have some odd behaviour where they favour vertical movement. Strange little bug.

onehp··on Show HN: HTML5 Bird Flocks Simulation in CoffeeScript
I really like yours, the direction changes and merging are a bit 'robotic' but I like the cohesion.
onehp··on BBC Olympics streaming stats
What I find most interesting is that the second highest trafficked event was in the middle of the UK working day. A lot of employers must have seen some big productivity anomalies during the Olympics.
onehp··on Show HN: We built real MMO Asteroids
I spent hours flying round in that thing, one of the most perfect online competitive experiences I've had in gaming so far.
onehp··on Productizing Twilio Applications
Write a power dialler, that is a system that takes a list of numbers and the number of agents you have available and will ring enough customers so that the agents are on the phone more often than not.

Sell this to people running call centres, make sure it stays up all the time and they will love you.