HNHacker News
TopNewBestAskShowJobs

ollysb

2,459 karma · joined June 26, 2009

http://github.com/opsb

meet.hn/city/41.75786995,2.031182036159852/Barcelona

Socials: - github.com/opsb - linkedin.com/in/oliversearlebarnes

submissionscomments
ollysb··on Ask HN: Bored working for the current company, advice?
This is the reason most devs are contractors in London. You earn considerably more on a day rate than you generally do even as a CTO.
ollysb··on Matplotlib 3.6
As a relative newcomer to python/data science I found it really surprising that Matplotlib seems favoured over Plotly. The Plotly API seems better designed and the output is far superior. Is matplotlib just favoured out of momentum or does it have advantages that I haven't found yet?
ollysb··on Ask HN: Why is Python package management still a dumpster fire?
Adopting Poetry as the official Python package manager seems like the fastest path out of this mess.
ollysb··on How to build a working AI only using synthetic data in just 5 minutes
What's really interesting with 3d models is that you could give the classifier motor control within it's environment i.e. it could "step to the left" and see how the banana changes in it's visual field. This would allow the classifier to integrate it's movement with the visual stimulus and build a far richer model. It also gives the classifier access to an active learning strategy: predict how the appearance of the banana changes when it "steps to the left", try it, then evaluate the difference and refine.
ollysb··on Tell HN: AI is mostly just code
This isn't a distinction customers are going to make...
ollysb··on Speeding up sort performance in Postgres 15
It seems a little surprising that GIN indexes have never been improved to allow for efficient sorting. Is this just not in enough demand to receive any attention or is there a technical aspect that makes it particularly difficult?
ollysb··on Render: a Zero DevOps Cloud Platform
This is the first time I'm targeting the Spanish market so I don't have experience with AWS from there. Paris is geographically close so I imagine that would have the best latency (sorry I can't give you anything concrete).
ollysb··on Render: a Zero DevOps Cloud Platform
Where’s the new one? Loving render.com so far but latency in Spain is not great.
ollysb··on Why Apple’s new M1 chips are essential for rapid iOS development
I used SwiftUI for a side project and after 6 months binned the whole thing and switched to flutter. I was finding that a huge portion of my time was spent trying to get the project to compile (it generally just needed many recompiles so presumably there's race conditions in xcode or the compiler) and the previews induced several minutes worth of spinner every time I went near them.
ollysb··on How I learned French in 12 months (2020)
I spent good year using Duolingo, I made steady progress, but only in Duolingo. It hasn't had any impact on my ability to hear/speak the language.
ollysb··on Flutter is the most popular cross-platform mobile SDK
Having spent about 6 months each with SwiftUI and Flutter I vastly prefer working with Flutter. Swift is a far more ambitious language but really doesn't live up to it's own marketing. Many of the features are half down (generics and protocols are both full of holes). Dart on the other hand doesn't have half as many nice features but the one's that are there are rock solid. Reified generics in particular is far nicer to work with (Swift's compiler gets regularly gets lost on type resolution and then doesn't give you any way to give it hints). Dart also seems to be heading in the right direction. It's added null safety and the upcoming metaprogramming features should fill in many of the gaps that are currently filled by the very practical but clunky https://pub.dev/packages/build.
ollysb··on Ask HN: Why the obsession with note taking?
It isn't about note taking, it's about supporting a brain that simply isn't capable of retaining the level of information that we have to deal with. The ultimate note taking device is actually an augmented human brain that has perfect recollection and organisation.

In the mean time the note taking apps help with:

Working memory - a page can hold far more information than I can retain in my working memory. Having a bunch of information helps me build a working model without having to retain all the information while I'm building. Spot patterns - by organising information it's easier to spot patterns.

Long term memory - your brain just isn't very good at retaining information long term. Maybe you have a company wide wiki but the act of building your own notes is enough to form some connections in your brain so that when you come back you have far greater familiarity and insight associated with the information.

ollysb··on Downsides of Offline First
Your general point withstanding, in this case wouldn't the merge be a partially paid invoice?
ollysb··on Show HN: Visualizer for High Level System Design
Pinch zoom only works if you're over the canvas. If you for instance zoom out enough that the mouse cursor is outside of the canvas then the page itself starts zooming.
ollysb··on The value of doing a little
This article really got me back on track with my side project. I haven't managed to work on it regularly for a couple of months - always seemed a bit daunting on top of work. Now I turn up every day (think I've skipped one day since reading the article) and my only goal for the day is to review my todo list and give some thought to how I might tackle one item. I always feel like I can find the energy to do this and of course once I've actually got my mind on the task I generally end up spending an hour+ on it.
ollysb··on Elixir protocols vs. Clojure multimethods
https://github.com/OvermindDL1/protocol_ex gives you protocols with full pattern matching.
ollysb··on Statins Used to Lower Cholesterol Linked to Doubled Risk of Developing Dementia
I play chess online every day. When I started on statins I lost 200 rating points within a couple of days. To put this in context 200 points would be a decent improvement over a year of play. I had constant brain fog which showed up at work. I was still able to do my job but it was noticeably harder to achieve the same results. I compensated by working an extra hour or two each day. After 6 months I decided it just wasn’t worth it (there was a multitude of other side effects as well) so I stopped taking them. Sure enough my chess rating immediately jumped back up.
ollysb··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
Been building backend systems for nearly 20 years in Java/Ruby/Elixir. Elixir is by far the most productive language/ecosystem that I've used. I've built 4 systems in the last 5 years and they've all gone smoothly and performed well in production. Only thing on the wish list is full static typing (there's dialyzer which is useful but very much feels like the bolt-on that it is).
ollysb··on How often do people copy and paste from Stack Overflow?
Also the moderation is often hidden. Last week I ran into one of my answers for a language I haven't used in a while. When I read the answer I thought it was odd because the english was very poor. Then I checked and found that a moderator had made a really poor edit of the original answer. Maybe this is reasonable on a site like SO but I really felt that somebody had essentially impersonated me and entirely changed the tone of some writing which was attributed to my name.
ollysb··on Things I hate about PostgreSQL (2020)
This looks very interesting. I had real difficulty where I needed both a btree and gin(pg_trgm) index on the same column. When using `like` postgres would consistently choose the btree index which resulted in performance that was something like 15secs as opposed to the 200ms or so I'd see if the gin index were used. In the end I added two separate columns, one for each index so that I could force the correct one to be used for a particular query.
ollysb··on Github1s – One second to read GitHub code with VS Code
It appears to only work for files which have already been opened.
ollysb··on Evidence of “modified gravity” in 150 galaxies bolsters dark matter alternative
> A side effect of this is that the motions of objects would depend not just on their own mass, but all other masses in their neighborhood.

As I understand gravity warps spacetime which seems to imply that the masses of all objects in the neighbourhood would be taken into account because they all exert a warping effect on the same spacetime. Could somebody clarify what the difference is that they’re referring to? (or possibly the error in my understanding)

ollysb··on Should I use SwiftUI in production? A code-to-code comparison to help you decide
Can't agree more with this. Coming from Elm/React to my first project in Swift choosing SwiftUI seemed like the obvious choice. It always felt like the type system wasn't quite powerful enough to express the API. Once you add Combine into the mix type erasure makes debugging issues unspeakably painful, errors appearing on the wrong lines at best and often in entirely different files. Then there's the tooling, Swift Package Manager was endlessly running into mysterious issues that would eventually disappear if I just rebuilt the project enough times. As for SwiftUI preview I have no idea what was going on there but it brought my brand new iMac to a halt, simple code changes causing multiple minutes of the dreaded spinner. I was using Swift for a side project and the issues just destroyed all motivation to continue with it. I've since switched to Flutter which while the language isn't as capable (though reified generics are a huge improvement) does at least feel like a solid tool to build apps with.
ollysb··on Caramel: an Erlang back end for OCaml
A new effort just popped up to have another crack at adding strong types https://elixirforum.com/t/typechecker-for-elixir/34474/7
ollysb··on Apple’s dongle problem isn’t getting any better
Witness how hard it is to buy USB-C cables in an Apple store. Want a new iPhone cable to plug into your laptop, ah sorry we've only got usb-c but you can use adapter...
ollysb··on The State of SwiftUI
I started building a side project in Swift/SwiftUI for the first time a few months back. It has quite simply been the most painful development experience to date (I've been a professional developer 16 years - front/back/many languages). I've wasted a huge number of days trying to get the damn thing to build reliably, or getting preview to work without hanging the machine or any number of random issues that generally go away if you just rebuild the project enough times... On a side project it's been a real motivation killer, instead of building my app I spend my time trawling through bug reports and trying to find workarounds for broken features. At this point I'm considering starting from scratch with Flutter. /rant
ollysb··on Classes are a way of writing higher order functions
This is somewhat though not entirely solved by https://en.wikipedia.org/wiki/Persistent_data_structure
ollysb··on Lunar – macOS utility to set brightness and volume on external monitors
Don't know if it's specific to LG monitors but the brightness controls on my keyboard modify the screen of whichever window has focus.
ollysb··on Motivation – Keli Language
While I could get onboard with functional languages being more user friendly I didn't find the motivation to be compelling.

> Ambiguous functions argument positions

It just seems to be advocating for named arguments, something which the majority of languages (OO or FP) support these days. You could say that requiring named parameters is a feature but it's hard to get excited about.

> Not Intellisense friendly

I use Elm and Elixir, both of which have decent autocomplete in vscode (and I believe many other editors).

Critique aside I definitely applaud more towards increasing FP adoption. I think Elm has brought many good ideas to the table already (though admittedly it's bias is more towards ideal than practical). On the flip side Elixir is very pragmatic and easy to get going with for developers coming from OO languages.

ollysb··on 27-inch iMac gets a major update
oof, that is brutal. I just ordered one and assumed it would support it. My imac from way back in 2012 supported it and with connectivity only improving since then it never crossed my mind that it wouldn't support it.
← PreviousPage 3 of 30Next →