HNHacker News
TopNewBestAskShowJobs

motogpjimbo

555 karma · joined February 25, 2018

submissionscomments
motogpjimbo··on The Composition over Inheritance Principle (2020)
I've already told you what the error is and where it occurs. If that isn't enough information for you then I am sorry to tell you, you don't have the necessary skill set to work as a programmer.
motogpjimbo··on The Composition over Inheritance Principle (2020)
You've used the same symbol twice in the parameter list. I'm surprised a genius like you can't spot it.
motogpjimbo··on The Composition over Inheritance Principle (2020)
You should probably tone down your arrogance given that the very first example in your list has an error in it.
motogpjimbo··on Raw Text Club
If only the mobile computing revolution had been based around the form factor of the Psion Series 5...
motogpjimbo··on The use of ‘class’ for things that should be simple free functions (2020)
It just goes to prove how realistic FizzBuzz Enterprise Edition is that I can't tell when people are joking about stuff like this or when they're deadly serious.

In fact, I came across a line of code that was basically `two = 2;` in my own company's codebase just a few days ago.

motogpjimbo··on The use of ‘class’ for things that should be simple free functions (2020)
How?
motogpjimbo··on In defense of coding interviews
Google publishes many APIs. I know, because we consume them. My company in turn publishes APIs that are consumed by other companies. You're probably right that most people working at FAANG are not allowed to touch a database or set up deployments, however.
motogpjimbo··on In defense of coding interviews
I would never change the way I speak to someone just because they're interviewing me. If you're interviewing me it's with a view to working with me on your team a few months later. You would surely want to see the real me, not some constrained version. Maybe it's an age thing, but I'm comfortable enough with my skills and my knowledge that I don't feel the need to put on an act. And remember that you're interviewing the interviewers as much as they're interviewing you.

Also, I would also be quite surprised if Google didn't allow candidates to Google information during the interview...

motogpjimbo··on In defense of coding interviews
If you have to prepare for the interview, doesn't that suggest the assessment isn't representative of day-to-day programming skills? In fact, it suggests the exact opposite.

With zero preparation, I could go to an interview with you right now and tell you anything you wanted to know about designing a database schema, how to get any kind of data out of that schema, how to make that data available via an API, how to cache the data and perform permissions checks, how to deploy code to a cloud environment, how to set up a build pipeline, or any other question you might want to ask about the day-to-day process of developing and deploying web applications. I can answer those questions because I already work in the industry and I broadly know what I'm doing.

However, I probably couldn't pass a FAANG interview without months of prep work, precisely because whiteboard interviews bear almost no resemblance to the reality of software development.

motogpjimbo··on Expert: Monkeypox likely spread by sex at 2 raves in Europe
Have you got a theory for why the straight people at the rave came away without Monkeypox but the gay and bisexual men did?
motogpjimbo··on Expats are moving to Portugal
You're right that two different terms are in use, but you're wrong (and unnecessarily provocative) to attribute it to race. There's a lack of symmetry between a wealthy Brit moving to Singapore or Dubai and an economic migrant from Pakistan, say, moving to the UK. That lack of symmetry justifies the different terminology.
motogpjimbo··on OP-1 field
There are many other options available - the groovebox market is booming right now. Even if you don't consider traditional grooveboxes like the Digitakt suitable for creating an actual "song", options like the Polyend Tracker are available and the modern MPC devices are basically a DAW-in-a-box now, complete with software synths.

The OP-1 is cool as hell, but realistically it's a £500 musical toy marked up to £2,000 simply because hipsters latched onto the design and marketing of it.

motogpjimbo··on OP-1 field
No, I was just pointing out that its functionality doesn't really justify the price tag when you compare it with what's also available elsewhere. £2,000 would also buy you a Korg Minilogue XD, a Korg Opsix, a Korg Wavestate AND some form of groovebox or hardware sequencer to tie them all together, if you like small form factor gear.
motogpjimbo··on OP-1 field
In hardware terms, it's the same price as a Yamaha Montage. The OP-1 isn't good value for money no matter how you look at it.
motogpjimbo··on OP-1 field
For the same money it would be possible to buy the full version of a DAW of your choice, Kontakt, Arturia V-Collection and a PC to run them all on. I'm sure the OP-1 is fun, but I doubt it's £2,000 worth of fun.
motogpjimbo··on No Dislikes has officially ruined YouTube for me
I'm amazed that anyone can find any decent programming content on YouTube. There are low-quality beginners webdev tutorials as far as the eye can see, but otherwise there's seemingly very little outside of rambling and superficial conference talks. And on the odd occasion when I do watch a video, YouTube decides that I must be a beginning webdev and bombards me with the aforementioned low-quality Javascript and HTML tutorials for the next several weeks.
motogpjimbo··on Can I PHP? – caniuse.com but for PHP features
The only time I've ever had to update legacy code due to a breaking change in PHP is when an old encryption algorithm was withdrawn and I had to write a migration to decrypt and re-encrypt the data we'd originally encrypted with it. Apart from that (and a few notices sent to Sentry) it's been smooth sailing over the years.
motogpjimbo··on Ask HN: Books that made you fascinated to learn more mathematics?
Reading a battered old second-hand copy of "Calculus Made Easy" by Silvanus P Thompson as a teenager was the first step on a path that eventually lead to me getting a degree in mathematics. Until then, I always thought calculus and other higher-level maths topics were out of reach for someone like me, but the explanations in that book were so careful and encouraging that it made me realise that anyone could study these topics with just a bit of effort. I believe the latest edition of the book has been updated to replace the slightly handwavy description of "infinitesimals" with a more rigorous limit-based foundation, but I don't know if the book's magic was lost as a result.

As an undergraduate, I purchased a cheap Dover reprint of "Ordinary Differential Equations" by Tenenbaum and Pollard to supplement an ODE course I was taking, mostly because it had lots of exercises in it. However, I found that book hugely inspiring, and it's become one of my favourite maths books ever. Amongst other things, it essentially has a complete course in Newtonian physics in it, just tossed off in the examples! Highly recommended. I eventually went on to study ODEs and PDEs at Masters level, partly as a result of enjoying that book so much.

motogpjimbo··on The candy stores of Oxford Street
Given that failed asylum seekers will almost never be deported, you are essentially arguing for unlimited migration here.
motogpjimbo··on The bottom is dropping out of Netflix
Throwing money at graduate filmmakers and telling them to follow their passions would all but guarantee a catalogue full of $CURRENT_DAY political messaging, which would be poison for subscriber retention.
motogpjimbo··on Syntakt – 12 Track Drum Computer and Synthesizer
Personally, I try to stay away from "lifestyle synthesists" like Andrew Huang, Bo Beats and (to a certain extent) Ricky Tinez. I don't like the feeling that I'm being marketed to by an influencer who is in it for the money rather than for the music itself. Loopop is great for reviews of new gear because he's clinical with his descriptions, but otherwise I try to focus more on channels like Alex Ball, Bad Gear and Matt Johnson, where the music-making process is at the forefront.
motogpjimbo··on Syntakt – 12 Track Drum Computer and Synthesizer
A significant percentage of the audience for Andrew Huang, Loopop and similar channels regularly buy synths and studio gear, and are largely guided to those purchases by these YouTube reviews. That gear typically isn't inexpensive; the Syntakt is £850, yet a lot of people will be buying this device in the next few days after watching Andrew Huang et al review it. I would be amazed if synth influencers were unable to make a very decent living from reviewing gear, given the relative affluence of their subscribers.
motogpjimbo··on The absurd complexity of server-side rendering
I'm not sure why you've been downvoted. Anyone who has ever seen a Laravel stack trace will surely have been appalled at the number of stack frames that sit below their own code, and all that machinery is loaded on every single request. It's truly shocking. PHP isn't Java and shouldn't be treated as such.
motogpjimbo··on Cyberpunk 2077 Update 1.5
The Definitive editions were developed by a mobile game studio (Grove Street Games) rather than in-house by Rockstar. Rockstar still published them though, so they do bear some responsibility for the quality issues.
motogpjimbo··on Fetch API has landed into Node.js
I'm going to take a wild stab in the dark here and guess that despite having the title "senior", you have little or no experience in commercial software development? Because what you dismiss as "special cases" covers a vast amount of the plumbing of the modern web. In modern apps even something as simple as storing and retrieving files requires HTTP calls at some point in the stack, and such calls should never under any circumstances be initiated from someone else's computer.

Which brings us back to the original question you responded to above. Contrary to your odd views of how software is architected, issuing HTTP requests from the backend is both normal and common enough to be banal. Node adopting the fetch API is generally a good thing as it allows JS developers to code against the same interface whether they are working from the frontend or the backend.

motogpjimbo··on Fetch API has landed into Node.js
Has it ever occurred to you that your users can (a) see all requests you make to third party services, including your credentials and client secrets, (b) modify and replay those requests at will and (c) spoof responses from those services?
motogpjimbo··on Fetch API has landed into Node.js
So when you write an application that integrates with an external service via an HTTP API, you think the normal way to architect such an application is to make all API requests from the browser? And you think that making such calls from the backend is a new and "harebrained" idea that backend devs have been forced to adopt against their better judgement?

I'm curious to know what position you occupy in our industry?

motogpjimbo··on Do svidaniya, Igor, and thank you for Nginx
Everyone moved to Ruby and Python? In your bubble perhaps, but PHP is probably more popular than Ruby and Python combined globally.
motogpjimbo··on Trackers: The Sound of 16-Bit [video]
Maybe not quite what you're after, but Bassoon Tracker is written in Javascript, runs in a webpage without installation and has access to thousands of mod files in modarchive and modules.pl, including their samples:

https://www.stef.be/bassoontracker/

motogpjimbo··on PHP is worth learning and using
Surveys generally indicate that of sites where it is possible to determine the language, somewhere between 70% and 80% of them are running PHP. Of course, that figure will include a lot of WordPress sites.
← PreviousPage 3 of 7Next →