HNHacker News
TopNewBestAskShowJobs

jpz

438 karma · joined July 31, 2011

submissionscomments
jpz··on Libcu++: Nvidia C++ Standard Library
I guess that the point is that when writing CUDA code (which looks like C++), you can use these libraries which are homogenous with CPU code.

Looking at the functions, chrono/barrier etc require CPU level abstractions, so using the STL versions (which are for the CPU) aren't going to work really.

jpz··on Is TDD Dead? (2014)
Your quotes from Uncle Bob to my ears sound like trite nonsense. Moreover, name-checking him and then giving quotations of what he said seems positively religious.

My basic argument with agile is this - can it be measured that these things are good? Or is it just a pile of piffle built on anecdotal evidence - that people get paid thousands of dollars a day as consultants to espouse?

The industry has a long legacy of this - e.g. designing your classes in UML will solve your problems, or the Rational Unified Process, or prior to that, in the early 90s, Rational Rose diagramming experience was the "must have" on your CV.

One of the more reasonable analysis tools was Use Cases in my view, but most of it is just a bunch of noise, busy-making tasks which Andersen Consulting were more than happy to provide 100 people doing these tasks and bilk some client 100m for the pleasure.

There's no substitute for high quality, intelligent people self-organising. People that want to proceduralise developer behaviour are basically people that want to steal our freedom to be creative and effective, in the manner which befits ourselves as individuals. And make themselves ghastly rich doing it.

I don't see Uncle Bob as all that different, having hung out in the Agile evangelist scene in London for a while - they are all on the lam.

In my opinion.

jpz··on Is TDD Dead? (2014)
This is high falutin’ theory.

Many user interfaces don’t have easily testable abstract interfaces, and user features are first tackled by expressing changes to a user interface.

You really have to jump through hoops to make the reality of coding meet the theoretical model.

jpz··on Draft of OCaml Scientific Computing book
I think the work the author has done is amazing. I Just looking at the commit history - the core contributor has definitely been super busy.

https://github.com/owlbarn/owl/graphs/contributors

jpz··on Draft of OCaml Scientific Computing book
F# for the tooling. Jetbrains Rider is particuarly good. Unfortunately Visual Studio on Windows is a bit lacking.

If you get a feel for F# I'm sure it will be an easy leap to OCaml if you decide to do it later.

Incidentally I've just been running through the Advent of Code in F# over the last few days - I do think the toolset for F# is very kind for a new learner.

jpz··on Is TDD Dead? (2014)
TDD for a complex domain generally means (at least in an OO design) you cannot do exploratory coding over what objects you have and what decisions you will make.

After all, you have to write the tests for the classes, before the classes exist.

When you do so, then start to fill in the code, and then realise you need to refactor, you have a heap of tests you need to refactor. It always appeared to me highly inefficient and predicated on an assumption that the author can express his class heirarchies well ahead of the coding.

In my experience, the class design is highly iterative, even the names of methods, what methods you have, etc - to have to write the tests before you've written the code just creates a huge amount of impediments to the flow of expressing a solution.

This is not a criticism of unit testing - but of TDD.

jpz··on Ask HN: Has anyone migrated off containerized infrastructure?
Those costs need to be amortised annually.

There are other costs from outages which occur infrequently but are highly costly because developers/support are manually touching the servers.

The cost really should be analysed as what is the median cost on revenue (or profit) as a percentage point. One off pricing is pretty meaningless.

jpz··on Perl7 is a fork of values
cheers, TIL :)
jpz··on Perl7 is a fork of values
what happened to perl6? I'm confused :)
jpz··on Breach exposed more than one million DNA profiles on a major genealogy database
It is impossible to have an "expectation of privacy" over the DNA of your relatives. You need to live with it, and resolve your feelings to the reality of that situation.

You don't get a choice if your uncle, grandmother, aunt, niece or son share their DNA with law enforcement.

jpz··on Former ICANN CEO is now co-CEO of the private equity firm that tried to buy .org
This is clearly the worst form of corruption. I would be surprised if there are not Federal or state laws which might nail these people.
jpz··on Principles of Programming Languages (1997) [pdf]
"Denotational semantics are a great way to capture the meaning of a programming language" - big claim - what is the meaning of a programming language?

For example, if you able to capture what the meaning of a programming language is, then could you please demonstrate by communicating what "the meaning of the programming language" C is, for instance? This appears to be a nonsensical combination of words, as I do not recognise a programming language as having an intrinsic meaning?

jpz··on Microsoft calls for a closer look at app stores
I agree Apple is abusive here.

There is also a very valid counterargument. Apple maintain the quality of apps on their app story by being a censor.

There are a lot of ways to scam people or bug their devices, and by and large Apple also create a sufficiently safe environment for iOS users.

There do seem to be two aspects in conflict, but good for DHH for kicking this off. 30% is obcene.

jpz··on A complete 4-year course plan for an AI undergraduate degree
I think a lot more maths is needed. "CS109 Probability for Computer Scientists" does not look like a sufficiently deep study in statistics.

Spending time studying operating systems and compilers (both things I've studied) at the cost really submersing yourself in the maths of probability seems to me to be a misallocation of a scarce resource (time).

e.g. a course in Bayesian statistics, and also in traditional statistical inference would be useful (for instance, this gives a good foundation for understanding the EM algorithm.)

jpz··on Rand Paul says no-knock warrants 'should be forbidden' in wake of shooting
Who knows how many other victims are out there? This case highlights it because the killed woman was a medical technician in the middle of the pandemic.

Normally her death might not have made the national press.

jpz··on Should I Use Threads?
This is another categorical statement. I love how the languages you mention do concurrency, but I don't think that if you use threads, one should only be doing it in Elixir/Erlang (or go).

I find that nearly as disagreeable as the original posting.

jpz··on Ask HN: What's your quarantine side project?
Hey, the web site looks really clean. I admire your work.
jpz··on Should I Use Threads?
We all used co-routines in Windows 3.1 ("co-operative multitasking"), and the application Window would go blank. Then we got threads and we were able to kick off compute to the background without having to be careful to yield throughout our background task.

For instance, of a spreadsheet computing values.

A more common use-case, however, is of trivially parallelizable problems which are completely isolated. Consider Monte-Carlo simulation for instance, where the thread hand-off to workers is done by a queue.

Making categorical statements like this political and unhelpful, and is one of the things that annoys me the most about IT culture.

jpz··on Nuxt.js over Vue.js: when should you use it and why
I admit I don't know the space that well, but I find it interesting that you get static site generators for SPA frameworks, and the companies behind them get really significant VC funding.

Naively it seems a trivial problem, but I guess that SEO for SPA is not as trivial as I imagine?

jpz··on Labour HQ used Facebook ads to deceive Jeremy Corbyn during election campaign
He may not be a tankie, but all his best friends are, such as Milne, etc. If you note my grammatical construction I did not call him a tankie.

Regarding the Weimar Republic, I don’t know the history So your analogy is wasted on me, but to suggest the Tories are proto-Nazis seems absurd to me.

jpz··on Labour HQ used Facebook ads to deceive Jeremy Corbyn during election campaign
I suppose that this "right-wing Tory supporting organ of Rupert Murdoch" is "effectively defend[ing] Corbyn and his policies" for a simple reason - it's fun to stir the Labour party up.

In truth, electorally the Tories would far rather face Corbyn and the tankies at each election. Starmer looks like he's going to be a far greater challenge. It is good however that there is a functioning opposition that will apply effective scrutiny now, as that is good for governance, whether you're on the left or the right of things.

jpz··on Conversations with a six-year-old on functional programming (2018)
"He gasped in astonishment at the idea of putting function machines into function machines"

"He gasped in astonishment as I carefully explained the results of the double-slit experiment."

Surely more like that this describes a 6yo kid being excited about something their parent is excited about and a product of implicit empathy, than any significant insight?

I hate to lose reputation with downvotes for sounding negative, but I find my credulity challenged with this story.

jpz··on Two Years with Rust
Is it just me and my 30" monitor, or is the font for this webpage extremely small?
jpz··on About that Hydroxychloroquine for Covid-19 trial
It isn't vitamin C. It has a lot of side effects, including serious psychiatric ones in limited cases. If you give it to 100 people you're going to get new health issues that you didn't have before in that population.
jpz··on GitHub blocked me and all my libraries
It's not an issue of supporting or not supporting the corporate entity - and they must follow US law.

Indeed, it's a fiduciary obligation to the shareholders given they are a listed company.

jpz··on GitHub blocked me and all my libraries
It seems that it only tells half the story.

Perhaps he was pushing code from his holiday in Crimea and his IP got tagged. Something like that would possibly do it.

jpz··on Google's expansion plans show why Canada's tech boom is here to stay
I would imagine a lot of this is de-risking the issues surrounding the nativism in US politics. Canada is a good nearshore location. I presume visas for foreigners are considerably less problematic.

I'm in Sydney and we see Amazon do a lot of recruitment sessions here.

jpz··on The Shapes of Code
I actually find that surprisingly readable, probably because of the indent size which clearly allows the eye to see the blocks - and the size of my very large monitor - but this code seems to indicate a religious dogma about avoiding early returns, which would otherwise straighten it up.
jpz··on What’s wrong with computational notebooks?
The tone of what you are saying strikes a nerve with me - we had exactly the same issues with Excel in the front office in investment banking.

Unknowable ad-hoc, unversioned spreadsheets running much of the capital of the company.

jpz··on Draft of German copyright reform proposes memes should only be up to 128 pixels
The EU has important geopolitical reasons for existing on the continent of Europe.

However, the UK does not share the history of the continental countries of being occupied by their neighbours.

The compact "I surrender much of my sovereignty for security from being periodically exterminated by my neighbours" - has a very different balance on the scales for the country of the UK than it does for countries with a recent memory of occupation, that have seen large percentages of their populations dying from violence in continental wars going back centuries.

← PreviousPage 2 of 4Next →