HNHacker News
TopNewBestAskShowJobs

johnmw

194 karma · joined May 31, 2009

Wandering developer currently living in New Zealand.
submissionscomments
johnmw··on Ask HN: Where can I live off 1k USD per month?
If you are planning on working in India, Hyperjuice[1] is your friend (or similar).

[1] https://www.hypershop.com/collections/hyperjuice

johnmw··on Can't Unsee
Awesome, happy to be educated (despite the subjective questions). But I'd like the next game to train designers how to use tools like Figma properly (by that I mean if they knew how to design using auto layout - flexbox for devs - it would save millions of dollars a year).
johnmw··on iPad Pro M1
As an IT "Pro" the only thing I can use "professionally" (apart from testing iPad apps) is the SSH client, and that works fine on my iPad 1.

Sheesh, the browser doesn't even have devtools.

(only grouchy because I'd love to get one if it wasn't so crippled)

johnmw··on Working Off-Grid Efficiently
If you don't mind me asking, which Chromebook do you have and how much coding do you get out of the 1 panel/2.5kg trips between charges?

I also use devtools and node. I would love to find a device that focuses on low power consumption. I wish I could find something like this, but with a larger screen, usb charging, and ideally a single unit.

http://blog.yarm.is/kindleberry-pi-zero-w.html

johnmw··on Tsundoku: The art of buying books and never reading them
Is there a Japanese translation that means "pile up computer games?" I will start using that phase if it exists!
johnmw··on Sia – The serious mind mapping tool
Hi, this is some software a friend in New Zealand wrote. He is trying hard, but his marketing is not so great.

I think what he created is (whilst a bit ugly) powerful and might appeal to a subset of people here.

Anyway, hoping it appeals to someone and you can give him a bit of support.

johnmw··on Hard to discover tips and apps for macOS
I'll throw in another:

For a cool "hacker" (and more powerful in many ways) alternative to spotlight, install iTerm2, and activate a drop down quake style hotkey window. [1]

Then install broot, which is a fantastic command line search tool. [2]

[1] https://www.iterm2.com/documentation-hotkey.html

[2] https://github.com/Canop/broot

johnmw··on Most-favorited Hacker News posts
Thank you! Now I just wonder - did you use some command line magic to do this, or did you compose it manually? (no complaints if you did, but it would be interesting to know how to do that in a line of script). Anyway, thanks again.
johnmw··on How to deploy a React app for free
Do you (or anyone else) have any other suggestions for good low cost database/data layer services to work with these options?

These free services are fantastic but the limitation is that they seem to be only for static sites (static in the sense that there is no data persistence).

johnmw··on Ways to make a web component
I don't know why the sibling reply comment to this by golemiprague was killed.

My understanding is that he is correct - in terms of requiring a framework to be bundled with your code. Svelte is not a framework that needs to be bundled with your code, instead it injects helper code during the transpilation step and the result has no dependencies.

If I'm incorrect I'd appreciate the trigger happy person to explain why rather than killing this comment.

johnmw··on Caffeine: Livecoding environment for web browsers, Node.js, and WebAssembly
Wow, a live coding web based Smalltalk environment! What a great topic for a tech discussion! And maybe a discussion on how this could sort of thing could be the future - the original dream of Sir Tim Berners-Lee of a real "read write" web, where people are no longer passive consumers of content pushed on them by large corporations?

Instead - 5 separate comments complaining about the colors used on the first landing page, and one comment complaining about its choice of name. Sigh. ( edit - this video might be a better intro to Caffeine - https://vimeo.com/286872152 )

johnmw··on Xtactor Smart Wrist Band (Uses Morse Code)
Note - I am in no way affiliated with this project - I just really want one, and they seem a fair way off making their goal.

I also think this might really appeal to hackers, biohackers (who aren’t quite ready to have a magnet implant in their finger [1] :), and anyone interested in alternative data sources (but think Google Glasses are a bit too much :)

Plus, who wouldn’t want to be at a boring meeting and secretly browsing HN? :)

[1] https://www.theverge.com/2017/7/21/15999544/biohacking-finge...

johnmw··on Libra White Paper
It does seem life is imitating art here [1]

[1] https://www.e-coin.com/

[2] https://mrrobot.fandom.com/wiki/E_Corp

johnmw··on Day of the Tentacle
And if you just want to give it a try first, you can play the old version online [1]

[1]: https://playclassic.games/games/point-n-click-adventure-dos-...

johnmw··on Source code for Zork, Hitchhiker’s Guide, and other Infocom games
If you have an interest in odd programming languages, the 'spiritual successor' to these games written in the Infocom ZIL language would be Inform7.

I think it is quite a fascinating declarative language that reads much like English, for example:

The same division between creating things, and laying down rules, is visible in Inform source text. The creation of the world is done by making unconditional factual statements about it. For example,

  The wood-slatted crate is in the Gazebo. The crate is a container.
More info: http://inform7.com/learn/man/WI_2_1.html
johnmw··on Apple Turns Its Back on Customers and Nvidia with MacOS Mojave
As a sibling comment pointed out, it seems it does appear to be supported? I have the same machine:

  Chipset Model:	NVIDIA GeForce GT 750M
  Type:	GPU
  Bus:	PCIe
  PCIe Lane Width:	x8
  VRAM (Dynamic, Max):	2048 MB
  Vendor:	NVIDIA (0x10de)
  Device ID:	0x0fe9
  Revision ID:	0x00a2
  ROM Revision:	3776
  Automatic Graphics Switching:	Supported
  gMux Version:	4.0.8 [3.2.8]
  Metal:	Supported, feature set macOS GPUFamily1 v4
johnmw··on In defense of functional CSS
This is a great article, it helped clarify my understanding of functional CSS and made some really good points.

However, I still don't think it is the complete answer. Mostly, if I'm wearing my developer hat (rather than designer hat), functional CSS would drive me batty. If you are working in a larger team, where some of the team write the HTML and some write the CSS styling, this really disadvantages the people who work with the HTML. As a developer, I need to write HTML where I am semantically describing what the component is doing as I have no idea about the details of the design.

What might work is a hybrid approach? That is, designers work with functional CSS and then at the end, map the compositions back to the semantic class styling? I.e you would do mostly the same thing, but would move the functional CSS styling into the CSS and have a mappings at the end. Would this give the best of both worlds - keeping the HTML semantic, but still allowing designers to mostly work with functional CSS?

johnmw··on Chrome 69 will keep Google Cookies when you tell it to delete all cookies
Furthermore, I see all this anger about this technical decision affecting peoples privacy, but have not yet seen someone provide a good engineering solution to the problem it was trying to solve.

Example Use Case: I was contacted by my poor old mother recently who said that she was logged into "The Google" but was seeing the wrong emails! She was horribly confused.

What had happened was that my sister had checked her email on my mothers computer and forgot to log out. My mother was logged into Chrome (as it correctly said on the top right of the browser) but didn't understand that logging in/out of Gmail was a different thing.

To blame non technical users for being confused here is unfair at the least. And I'm sure there are millions of them with the same problem.

A technical user who cares about privacy can:

- not log into Google and use an external email client for Gmail

- use Gmail in incognito

- disable Chrome auto log in via the preferences (although I haven't tried this myself some people say it works, although I've seen conflicting info about if this works in future versions of Chrome).

- use Firefox (but if you are still using Gmail I'm rolling my eyes here)

I personally don't think it is too evil that Google cares more about people like my mother than advanced privacy conscious technical users.

Also I can't see how auto syncing ones account with Chrome really damages privacy any more than what is there now? If you are logged into Gmail they have your cookies while you browse the web anyway. If you privacy conscious enough that you log out of Gmail every time you are done, fair enough, but I would suggest not using Gmail at all in that case.

But most importantly I'd like to hear a better engineering solution for people like my mother?

johnmw··on The short history of the “about:” URL (2013)
No further questions, just thanks for the enjoyable stories :-)
johnmw··on The short history of the “about:” URL (2013)
Note this was written by Lou Montulli who also wrote the amusing post about "The Origins of the <Blink> Tag" [1]

[1] http://www.montulli.org/theoriginofthe%3Cblink%3Etag

I didn't know about the about:about url, and have since found a number of amusing and useful links, for example:

Chrome:

chrome://site-engagement/

chrome://net-internals/#dns

chrome://net-export/

chrome://indexeddb-internals/#

Firefox:

about:mozilla

about:memory

about:robots

johnmw··on Show HN: A Decentralized StatusPage on IPFS
First, thanks for your work on IPFS.

I've been trying to get into IPFS recently. One thing I can't wrap my head around is that IPNS only seems to persist for about 12 hours and then stops working.

It seems to defeat the purpose of a truely distributed name system, as my computer that needs to keep republishing the name becomes a critical part of the system?

Am I missing something or are there plans to resolve this in the future?

johnmw··on Ask HN: What tech were you convinced would take the world by storm but didn't?
Java applets. Back in the mid 90's Java was at the peak of its hype cycle and was the darling language. I thought the idea of writing an app in a 'modern advanced' language, compiling it down to a bytecode, and running it in your browser was the future of the web. And if someone had told me back then that Javascript would be the language of the web I would have spat my coffee out laughing.

Unfortunately speed, security, and the need to install a seperate run-time/plugin layer were too much for people at the time.

But hey, now 20 years later we are finally starting to see that vision in Web Assembly. ;-)

johnmw··on Show HN: Freezetab – What browser bookmarks should've been
This doesn't seem to integrate with my existing bookmarks?

Have I done something wrong, or is this not possible right now? If not, are there any plans to do this in the future - any help organising my existing pile of bookmarks would be awesome.

johnmw··on Datomic Update: Client API, Unlimited Peers, Enterprise Edition, and More
I hope Datomic does well and Rich easily puts his kids through college.

But as a developer I think the current license is a bit of a shame. I've played with Datomic, think it is fantastic, and would love to use it.

However:

- After the closure of products such as FoundationDB and Parse, I will never have a significant dependancy on a closed source product again. (maybe if the company was a behemoth like Microsoft or Oracle, but these days probably not even then.) [1]

- As a little guy, the $5000 I would need to pay after one year to keep getting updates to the product is just too much. One could argue that Datomic are looking for bigger fish, but something to consider is how important it is to get people using your technology (al la Microsoft 'developers developers developers!') Little guys can go on to be bigger guys making the important technical decisions. There is post above looking at the licensing done by game engines such as Unity, where larger companies pay more and the little guys are given a break until they are making a profit. Hopefully we will see more of this in the future.

[1] https://www.wired.com/2015/03/apple-pulls-plug-tech-company-...

johnmw··on Ask HN: What text editor do you use and why is it your editor of choice?
- Random text editing? Sublime text. Fast, multi platform, native, great plugins, and I've paid for it, else I might have used Atom ;-)

- HTML/JS Coding? VS Code - not native but still pretty fast and has many things that make developing wonderful such as Intellisense and Git integration.

- Remote config editing? Vi or Vim, it is fast and it is always there for you.

- CLJS or Clojure tinkering? LightTable, with its immediate feedback is great for trying out Clojure ideas.

- The power of the old gods + a bit of finger speed and sanity? Spacemacs. It combines the speed of Vim with the power of an Emacs Lisp environment, plus has many amazing plugins (looking at you, org-mode), and also works on a remote host.

- On Windows? Well, Notepad++ is not bad. It can deal with pretty large files better than many other editors.

johnmw··on Static Website Generators
I crave simplicity in my life right now and am using markdeep: https://casual-effects.com/markdeep/

I write my documents in markdown and add this tag at the end of my document <script src="markdeep.min.js">

I "publish it" by copying it to my server and renaming it .html

* note: To get started, here is the suggested starter document: https://casual-effects.com/markdeep/starter.md.html

johnmw··on JavaScript Performance Updates in Microsoft Edge and Chakra
I think you are been a little uncharitable to poor Clickonce. Clickonce came out a number of years before Chrome and at the time its simple publish model, automatic update detection, and incremental updates were light years ahead of the other clunky Window installers of the time.
johnmw··on Visual Studio Code “Insiders” release now supports tabs
I heard on a podcast that the VS code guys were anti tabs as it usually quickly ends up in that pile of tab clutter with tab labels like "Be.."

I've also got used to this new method and think it is generally better.

Glad to see they are listening to their users though! :)

I hope tabs supports splits - sometimes I have a three way split where each file I'm working on is in the 'right' place. Then I need to look at a few files for reference and I usually wreck my layout. Tabs could be a good solution for this.

johnmw··on I'm a JavaScript engineer. How can I get into Robotics?
Have you seen http://nodebots.io ? Might be a good place to start for a JS engineer.
johnmw··on Understanding Mathematical Notation as Code
I've found it helpful - not as someone trying to learn a new concept from scratch but as a coder who has struggled with maths in the past and needs a refresher.
← PreviousPage 2 of 4Next →