HNHacker News
TopNewBestAskShowJobs

wilsonrocks

276 karma · joined August 20, 2018

Math teacher and union offical turned web developer.

Blog at https://jameswilson.codes

submissionscomments
wilsonrocks··on Show HN: Chart.xkcd – Xkcd-styled chart library
Acceptable to whom?
wilsonrocks··on Tiny Toy TOTP Generator in 18 Lines of Python
Same here!
wilsonrocks··on Show HN: Articles that can be summarised as 'no'
Hi, I made this script.

I get very annoyed by these types of articles, even the tech ones like "is javascript dead?" and I wanted to highlight them.

Manually finding them to tweet was a daunting task so I wrote some python, which I haven't used for ages. I'm sure there are better ways of forming some of the python code, and comments or even pull requests are welcome there, as are suggestions for more sites to crawl.

wilsonrocks··on Every Noise at Once
I believe Bury St Edmunds _does_ have an established indie scene... Not sure if it developed it's own sound though?
wilsonrocks··on XSM: State management for Angular, React, and Vue
I find connect quite verbose for a simple 'I want this component to be able to access the userName field' use case.

However the hooks api is excellent for this.

You can also write custom hooks that pull data from redux and other sources (in my case, root level props passed from another(angular) app, that I made available using Context.

wilsonrocks··on XSM: State management for Angular, React, and Vue
Well, bear in mind that partly, it was horrific because I was new to it, and it was very much in at the deep end.

* inconsistently named action creators defined in the same file(sometimes) as the actions

* confusing tests that I still don't understand

* the main focus being on axios requests handled in reducers rather than reducers themselves

* the two main reducers being updateData (which merged in object into the store and saveData which fired off the axios request, and every component had to implement custom logic around using these two. Connects everywhere (which a child comment warns against!)

Don't think anyone working on it had made any one decision badly - just a combination of using a new tech in a slightly non standard setting, deadlines, and a strange backend integration.

Also, I don't think any of it was Redux's fault. That link looks good, thank you, will try it out and see if it is similar to what I came up with on my own for this new project.

Edited for spacing

wilsonrocks··on XSM: State management for Angular, React, and Vue
After an horrific redux experience in a large app, I recently had to set it up on a new project, and was pleasantly surprised. Granted, everything so far has been synchronous, but hooks makes for a lot less boilerplate. Haven't even bothered with action creators, just dispatch stuff.
wilsonrocks··on Living without the modern browser
People with disabilities. Emphasises 'people' rather than their disability.
wilsonrocks··on Living without the modern browser
HTML5 validation is excellent, even better if you use JS to customise it...
wilsonrocks··on Ask HN: What are the signs that you have a great manager?
Things 'Just Work' organisationally
wilsonrocks··on Word processors are ditching equation editors in favour of LaTeX
I break on sentence end in HTML as well
wilsonrocks··on Chromium and the Browser Monoculture Problem
If your client is a large corporation where your contact person can only view your site in IE, you kind of have to make it work...
wilsonrocks··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
Hosting a long term game of freeciv was essentially the catalyst for me transitioning from math teacher/trade union official to web developer, via making some web apps For the players involved.
wilsonrocks··on Password expiration is dead, long live passwords
Bulb energy supplier in the UK trialled this - they soon switched due to complaints although I didn't really mind it.

Assume it was due to the inconvenience of not being able to remember password/stay signed in.

wilsonrocks··on Under-18s face 'like' and 'streaks' bans on social media
It definitely sounds odd to my younger colleagues when I explain what it was like when people smoked in pubs by default.

There may be a difference here in that lots of people disliked smoking/smokers/their clothes smelling after going to a pub, perhaps more than there are who dislike the concept of facebook likes manipulating their behaviour more than they like the rewards that likes bring them.

wilsonrocks··on Society Needs an Alternative Web
> Most users would not even know there is a difference.

I fear that the difference they would see is that other people aren't using it and they would go back to where their friends are:(

wilsonrocks··on React Router v5
This looks great! Thank you
wilsonrocks··on Ask HN: Where should I start as a 34-year-old switching to software as a career?
I moved to development from a career in maths teaching and trade unionism.

The advice given elsewhere to solve a problem in your current role is really important - but it might not need to be work related - a personal project that you have a clear vision for and users other than yourself will do.

Having stuff on github helped me with interviewers. I did not find, in the UK at least, that lack of a CS degree or development experience was a barrier - in fact, interviewers seemed interested in my story. However, where I live (the north) there is a developer shortage.

wilsonrocks··on A proof that Unix utility sed is Turing complete
Has anyone written a kind of Turing machine gateway API, where people write an adaptor to the API and you can then use the gateway to use any Turing machine backend to run any other(Turing complete) program.

Would be interesting to see e.g. how fast Microsoft Word runs on a sed based backend.

wilsonrocks··on How to Almost Learn Italian
I did this when I was studying for Italian GCSE as an adult. The last three assertions are all true:)
wilsonrocks··on The life of Kurt Vonnegut, played out over 1000 tweets
Disclaimer: I posted this project of my friend's. But it is quite cool. He's also done Wittgenstein and Phillip K dick and Oppenheimer
wilsonrocks··on Smelvetica – Helvetica the way it was intended to be
I recommend the book Stop Stealing Sheep https://www.goodreads.com/book/show/378165.Stop_Stealing_She...

I haven't read the latest version which says it's updated for the web, but even the copy I have is amazing.

wilsonrocks··on Hosting files in url minifiers
I made https://spectre-writer.herokuapp.com to let people store text forever online for free. source here https://github.com/wilsonrocks/spectre-writer fwiw
wilsonrocks··on 20 Questions: A Strategy Guide (2010)
I think the examples are given for a specific game, and the explanation applies to 20Q generally
← PreviousPage 5 of 5