HNHacker News
TopNewBestAskShowJobs

chrismmay

42 karma · joined November 27, 2019

submissionscomments
chrismmay··on LiquidText: A tool for academical note taking
Probably. The irony is palpableical. Reminds me of this article I read recently. I could understand it, but it was like reading a foreign language https://www.google.com/amp/s/thedigitalwise.com/2020/03/14/a....
chrismmay··on LiquidText: A tool for academical note taking
I know, I’m insufferableical. I need a vacationical.
chrismmay··on LiquidText: A tool for academical note taking
Ok, grammar nazi alert. Who uses the word academical? I had to google it just to confirm it is indeed a word, albeit a rarely used one that is indistinguishable from the simpler, and in my opinion, the proper word, “academic”.

A bit like saying “that’s nonsensical” vs “that’s nonsense’. https://wikidiff.com/academic/academical

chrismmay··on OpenAPI 3.0.3 Specification Released
Our product literally exists to present a single simple interface to consolidate and orchestrate across dozens of SOAP interfaces. We handle the complexity so customers don't have to. So I'm glad SOAP exists and is much more complex than REST.
chrismmay··on OpenAPI 3.0.3 Specification Released
Fine if you control the clients and the servers, but if you're writing your API for public consumption, API customers want REST not gRPC.
chrismmay··on OpenAPI 3.0.3 Specification Released
Just add this section to "components" at the bottom for OAuth JWT support? Or are you saying this won't result in code in the client? (sorry the interface here is mangling yaml).

components: securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT

security: - bearerAuth: []

chrismmay··on OpenAPI 3.0.3 Specification Released
Funny, just yesterday I wrote the yaml to describe our API according to this spec. The lure of writing the spec once and getting 18 different auto-generated client SDKs is too great to pass up, although I haven't tried any of them out yet. This course on Linkedin Learning was pretty good. I watch them at 2x speed... you get used to it, and it saves time. I go back and re-watch the sections I really care about as needed.

https://www.linkedin.com/learning/building-apis-with-swagger...

You can run Swagger UI and Swagger editor locally via docker like this:

docker pull swaggerapi/swagger-editor && docker run -d -p 80:8080 swaggerapi/swagger-editor

docker pull swaggerapi/swagger-ui && docker run -d -p 81:8080 swaggerapi/swagger-ui

chrismmay··on “We Don't Need a Project Manager”
I concur. Most custom financial software interfaces with systems that a developer could never get access to without the sponsorship of an institution. It’s really, really hard to write good software without a test environment. Mostly because specs and docs are always riddled with errors or omissions, if they exist at all.
chrismmay··on Robot tanks: On patrol but not allowed to shoot
That demo where the unmanned tank pointed its gun at the platform full of generals...... talk about your nightmare demo. I’ve done a few and even getting my network connection working at a client site can make me sweat a little when a room full of executives are waiting. I can’t imagine how the engineers felt when their baby went off the reservation like that.
chrismmay··on Why so many things cost exactly zero
I've been paid a total of 35 BAT (~$8) for using the Brave browser since October '19. STEEM was supposed to be like Facebook, but you get paid. It turned out to be more of a "rich get richer" ecosystem, so I stopped using it. Facebook's Libra may yet turn out to be a way for people to get paid for using Facebook. I stopped using Facebook entirely following all the negative press. I only recently signed in to strengthen my password and enable 2FA. I don't use it anymore at all. Maybe I would start again if they paid me.
chrismmay··on Maybe You Don't Need Kubernetes (2019)
There are lots of options out there. I'm currently exploring Cloud Foundry for our platform, since our core API is written in Spring Boot. This page from AquaSec has lots of links to articles comparing Cloud Foundry to Kubernetes. https://www.aquasec.com/wiki/display/containers/Kubernetes+v...

I also found this book to be helpful https://www.amazon.com/gp/product/B07T1Y2JRJ/ref=ppx_yo_dt_b...

chrismmay··on Software Disenchantment (2018)
Great article. Author makes some really good points. Surely the big tech firms have skunk works projects going on to rebuild the problem areas? Microsoft. Google. Facebook. Amazon. Netflix. They all must have decent sized R&D departments? Perhaps an independent, very public, curated list that points out areas that desperately need work would be helpful. Name and shame so-to-speak, would prod them to move in the right direction on the areas that need work the most.
chrismmay··on Scaling React Server Side Rendering
Thank you for this very practical advice. The thought of trying to dynamically decide whether to render on the client or server side, as the author of this article did, seems so over-the-top complicated to me. Taking your advice is something doable for us mere mortals.
chrismmay··on Scaling React Server Side Rendering
Nice article. It does a great job of explaining just how much unproductive work Google has created for developers. They created SPAs with Angular in 2010, but 10 years later, their search engine still can't properly index client-side-rendered SPA applications, forcing you to jump through all these hoops, to undo the benefits of client-side rendering, just to fix what they should be fixing with their search engine. It's truly insane. What a waste of time and energy. I hope they are working on a solution. I guess this represents an opportunity for a competitor to come in and do it better.

Following your journey through troubleshooting load balancing and caching brought back memories for me. I don't know what you're using for caching, but JSR-107 has been around for nearly 20 years. You might want to check out https://commons.apache.org/proper/commons-jcs/. I know it's not Javascript, but it will solve your caching problem in an orderly way. You shouldn't have to start from scratch on caching. You might even consider telling your content creators something like "updates to the site will only take effect the next day" so you can just invalidate the entire cache once a day and be done with it. Keep it simple.

chrismmay··on The Eternal Novice Trap
Transpiling TypeScript to ECMAScript5 using Webpack (as is done in Angular and React) seems to be how folks are solving this. It does strike me as a rather convoluted solution, but it’s a solution.
chrismmay··on The Eternal Novice Trap
Thanks for clarifying. This really is a paradigm shift that is happening "under our noses" so-to-speak. I don't want to be the guy who designed his new system using a technology stack that's been shunned.
chrismmay··on The Eternal Novice Trap
You're absolutely right there. "Plain Old Java Objects" - POJOs as opposed to "Enterprise Java Beans" EJBs.
chrismmay··on Ask HN: Making a mobile app as a back-end developer?
Yup, sorry, my mistake.
chrismmay··on Ask HN: Making a mobile app as a back-end developer?
I took the same journey you are undertaking. It's quite doable. You'll need a macbook to make a native iphone app. You'll need to sign up for Apple Developer which costs $100 a year. You could go the web route, but you then you won't really be learning native development for iOS and Android. Java for Android and Swift for iOS are the way to go in my opinion. If you can afford (or already have) a MacBook, like others have said, there is no reason not to dive right in and start working. When I started I licensed AppCode from JetBrains because I was used to IntelliJ. Eventually though I switched to XCode like everyone else. One thing though, make sure your Mac has at least 256GB of RAM not just 128GB because XCode and all the updates will fill that up very quickly.
chrismmay··on The Eternal Novice Trap
Thanks for this, it's inspired me to simply do some benchmarking to reach my own conclusion.
chrismmay··on The Eternal Novice Trap
Thank you for your informative reply. I will try to be more entertaining in the future if it pleases your highness.
chrismmay··on The Eternal Novice Trap
I agree with you, but 5 seconds is a noticeable lag that I would like to avoid if possible, since I have the option to choose the language I use. I've been writing java for more than 20 years so I would love to continue to use Java, and I think it's actually likely that upcoming versions of Java will fix this, but I want to make the best decision here, not the most comfortable one.
chrismmay··on The Eternal Novice Trap
Thanks for your reply. I think I agree somewhat with the article regarding the Novice Trap. I can learn them all, but I probably can't master them all, and it's probably a waste of time to try to. I think we are in the midst of a paradigm shift and it's not clear who the real winner is yet in terms of programming languages. I currently have the fairly unique opportunity of choosing pretty much everything about how I build the systems I'm working on, and so I'm looking for input as to which way to go. I'd like my choice to be the one that will be viewed as "the winner" 5 years from now.
chrismmay··on The Eternal Novice Trap
For a long time it was fashionable to write server side java using POJOs and Spring running in Tomcat or Jetty, and you could get very far just being very good at Java and Spring. You still can.

With the advent and surging popularity of multiple server-side alternatives to Java such as Javascript via Node.js, Python, Go, and others, Java is now viewed as "slow to startup" in comparison and therefore less suitable for cloud-scale deployments that must spin-up instances very quickly to handle the massive bursts of traffic that cloud-scale platforms have been designed to service.

I'm curious what people think is the best alternative to Java for cloud-scale deployments. Javascript - ala Node.js? Python? Go? Something else entirely?

chrismmay··on Build an 8-bit computer from scratch
This project looks awesome, and I may purchase Ben's kit to do with my 7 year-old son. My love of computers and software was largely inspired by the 6502 processor. I grew up with the commodore VIC20, C64 and 128 and reading books by Rodnay Zaks in the 1980's. https://en.wikipedia.org/wiki/Rodnay_Zaks

Perhaps I should look to see if any of my old books are still at my Dad's house. This one is going for nearly $1k on Amazon. Not sure how a book from 1981 can be sold as "new" but wow.

https://www.amazon.com/Programming-6502-Rodnay-Zaks-1981-09-...

chrismmay··on Hackers are breaking into websites and adding links to game Google
I posted this article 3 days ago. https://news.ycombinator.com/item?id=21858520
chrismmay··on The man who made Wolfenstein
And conversely, being healthy doesn't mean you're intelligent, or that you will make better "executive decisions" than someone who doesn't get up at 5am and do crossfit for 3 hours before they arrive at work.
chrismmay··on The man who made Wolfenstein
Modern science cannot explain consciousness. I didn’t say the body was a vessel for the mind. I said it was a vessel for the soul.

Time spent “moving” is time not spent solving the mental problems that those great minds are known for.

Football players, fashion models, actors are always so smart because they exercise so much. /s

chrismmay··on The man who made Wolfenstein
This article seems to me somewhat a rebuttal to the recent Scientific American article posted here a couple days ago supporting the popular notion that physical fitness and exercise go hand-in-hand with "brain health". https://www.scientificamerican.com/article/why-your-brain-ne... Some people have brilliant souls. Our bodies are just vessels that our souls drive around for a while. They wear out eventually no matter what. Stephen Hawking. Kim Peek. Silas Warner.
chrismmay··on My Business Card Runs Linux
How about a combination of solar and an ultra thin lithium ion battery? Finding a small, thin solar cell cheap enough is the trick I think... http://www.phdenergy.com/products/rechargeable-batteries/ult... https://www.digikey.com/product-detail/en/powerfilm-inc/MP3-... I haven't done any calculations to see if these would provide enough power or not...
← PreviousPage 2 of 3Next →