HNHacker News
TopNewBestAskShowJobs

james_s_tayler

2,220 karma · joined October 30, 2018

submissionscomments
james_s_tayler··on Abe explains choice of Reiwa for next era name
Because this stuff is hardcoded into the standard library (at least in Java I know it is) and I assume it's the same for other things.

For example any dates in the future like 2020 will show up wrong. Where it ought to be reiwa 2 it will be Heisei 31 which doesn't even exist.

Heaven forbid you were doing something crazy like matching on strings for the date etc you could get into a world of hurt.

Mostly though you always work with real, actual dates and use the standard library support for the Japanese era date to calculate outputs for display only. Mostly it just means there are a few forms/invoices out there with a non-existent date on them but oh well.

james_s_tayler··on Why GNU grep is fast (2010)
If you are just using sort because you need to use uniq then you can replace the whole thing with an awk command that gets unique lines without sorting. I think it's faster.
james_s_tayler··on I Miss Rails
ASPNET Identity and Spring Security to name a few.
james_s_tayler··on I Miss Rails
I used to think SpringBoot was amazing until I tried Rails. Then I really felt another level of holy shit.

I have lots of love for both. They're different tools. Ultimately I dropped Rails because being without static typing just isn't for me, but certain parts of the experience were positively magical.

I sort of feel the same way about Boot. That auto configuration mechanism is next level. The breadth and depth of what's available in the Spring ecosystem is great too.

They're really kind of optimized for different things though. Like Rails has some gems you just drop in and it blows you away what you get for stunningly little effort. But then it's not that customizable and you find yourself fighting with it. Spring has all kinds of battle tested enterprise grade bits and bobs that take a lot longer to operationalize but they'll last you forever.

I'm currently trying out aspnetboilerplate as a middle ground between the two. Specifically the aspnetzero version. It's like that "holy shit I get all this out of the box?" with Rails but the "I can understand this, work with it, customize it if I need to and it's going to last the distance". Im finding there is a slight learning curve to it and I wouldn't necessarily make all the same choices the framework does, but so far I can see this becoming a happy medium once I've found my groove with it.

james_s_tayler··on I Miss Rails
Close.

https://aspnetzero.com/

james_s_tayler··on F-35: What The Pilots Say
The whole thing makes a lot more sense knowing just that.
james_s_tayler··on F-35: What The Pilots Say
I guess they will structure the F48 program to avoid the failures of the F35 program.
james_s_tayler··on Facebook to ban white nationalist content
It's a centuries old debate initially had out by Hobbes and Rousseau.

Hobbes' famous phrase from Leviathan "bellum omnium contra omnus" (the war of all against all) describes absolute freedom as being problematic indeed. Rosseau provides an answer in The Social Contract to say you can't have a war of all against all, you instead need the state to be responsible for being able to imprison people and collect taxes on them and this alleviates (generally speaking, to a large degree) the problems absolute freedom present.

james_s_tayler··on PayPal vs. Stripe for small businesses in 2019
Hands down it's that UX for me that causes me to use PayPal whenever it is available, but if it's not available I don't mind having to input my card 9 times out of ten.
james_s_tayler··on What I Learned in My First Year Year as a Solo Founder
This is so on the money.
james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
I was a regular at a Japanese/English conversation club in my area for many years. She came one time. I sat down and said hello.
james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
No.
james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
My friends sometimes use it in an ironic sense to refer to my wife who is Japanese.
james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
Wrong in this case. My actual wife is Japanese.

She often gets me to help her out with very, very, very basic things on the computer. She's relatively smart outside of that, speaks fluent English and graduated uni both in Japan and overseas. But it's as if the basic foundation for working out new abstractions on a computer just aren't there. Which is how the discussion came up. I was curious why such a level of computer illiteracy would be present in someone who grew up in the 90s/00s.

People are shocked at hearing about that minister who says he never touched a computer. I was equally shocked when my wife casually told me she never touched a computer until entering University. I wouldn't have thought that to be possible given how much technology I grew up around in the West. I assumed it would have been the same in Japan, but it can't have been.

I guess in a way it doesn't surprise me. On the outside Japan looks like this super technologically advanced country and in reality they still send faxes. It's half stuck decades in the past and halfway planted in the future.

james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
You know, when she told me that it weirded me out too. I was like... HOW!!??

I remember growing up in school we always had computers in the classroom and computer literacy programs. It must have meant that at all the schools she attended in Japan growing up they didn't have that. Else there's no way that'd be possible.

Just mildly fascinating. Totally not what I expected. So when the minister in charge of the stuff says he hasn't touched a computer, I can believe it.

james_s_tayler··on How Japanese Police Turned Cyber Prank into Arresting Cases
Fun fact my waifu confessed she never touched a computer until entering University.

She's terrible at using any technology in general as a result. It's mildly fascinating.

james_s_tayler··on Fluent Terminal – Open-source, native Windows 10 tabbed terminal
Unix tools on Windows is why I install it. Cmder is the best thing ever.
james_s_tayler··on How we manage plans and features in our SaaS app
There are definitely a few moves you can make which avoid massive amounts of complexity if you're willing to accept a small downside. Another one is not allowing billing cycles to go past the 28th of the month thus making renewal logic simpler. Another thing would probably be just bill only in one currency (say USD).

Can you think of any other small things like that that help you massively reduce complexity? I think in the beginning it seriously makes sense to go with the simplest billing possible for as long as you can.

james_s_tayler··on How we manage plans and features in our SaaS app
Ok, now explain how to handle the situation where a user that has been grandfathered into a new set of features and kept paying the original price is at a tier limit and they downgrade halfway through the period they have currently already paid for.

Downgrading would put them over a tier limit, so they can't be automatically downgraded unless they first delete enough stuff to be within the next tier limit down. Then I suppose they need to get a credit on their account or a refund etc. But do they get new pricing or are they still grandfathered or what?

Not to mention if they are a South African customer their invoice needs to display the VAT subtotal in Rand and Stripe etc don't cater to that. That's on you.

This stuff becomes kinda nasty when the edge cases stack up and there isn't anything in the market that handles it all beautifully.

That'd make all our lives a lot easier. SaaS billing still sucks.

It's good to see some discussion on how to handle some of this stuff. Information is really thin on the ground.

james_s_tayler··on Japan plans to lower age of adulthood to 18 (2018)
In Japan you get fined even for being a passenger in a car where the driver is drunk.

It's mega strict.

james_s_tayler··on Prisoners in England to be taught code
But you aren't free to do what you want. You are very constrained.

You could do what Nick Yarris did and read thousands of books. I suppose you can let your mind adventure a little. Just seems so ironic calling it free time.

Perhaps 'unallocated' is a better word?

james_s_tayler··on Prisoners in England to be taught code
I'm not sure 'free-time' is what I'd call it. More like trapped-time.
james_s_tayler··on Java 12
Yeah .NET Core 3.0 will address some of that, not all. I suppose for any brownfield development looking at switching across those things are the potential blockers at the moment. Especially things running EF where EF Core doesn't have a particular feature just yet. But EF Core development is cracking on at a good pace.

Telerik and the likes I'm not so fussed about personally. I suppose DevExpress is another one on that list. I think front end component libraries like Prime-ng/PrimeReact are probably the way to go for the future of UI development for Line of Business applications.

Overall I reckon in a couple of years there won't be much of those blockers left at all.

james_s_tayler··on Java 12
Fair enough. It doesn't sell me on switching back to Maven. Ram is cheap enough. With 32GB Gradle can have a couple if it wants.
james_s_tayler··on Java 12
Worked on a project to replace all Applets in a large enterprise product just a couple of years ago.

There is a lot of software running in this world. Some of it is very long lived.

james_s_tayler··on Java 12
Yeah, I definitely feel this some days. I've just moved over to C# from Java because I'm bearish on Oracle as a vendor in general, I find C# great and impressed with Microsoft's efforts as a vendor with what they've done with .NET Core.

I have love for Java, but I gotta say it mostly is because the ecosystem is pretty fantastic. So much open source stuff for so long means it's all just there and it all just works. There are some gaps though.

.NET ecosystem isn't bad. It's pretty good. There are some phenomenal libraries. But sometimes the gaps are painful. The lack of an open source (read FREE) integration framework is a big one for me. There is BizTalk but that's commercial and probably expensive. Same with scheduling libraries. HangFire looks great but it's paid. A lot of the really high quality stuff you have to shell out for which when you're just hacking in your own time is not feasible. That being said there are open source libraries and some of them aren't bad. Lots of great stuff in general.

james_s_tayler··on Java 12
I'm finding library support quite good for .NET Core tbh. Not perfect, but it's not at all a barrier to adoption.
james_s_tayler··on Java 12
Why do people still use Maven when Gradle exists?

I'll never know.

james_s_tayler··on The most important software dev skills aren’t technical
Yeah, but none of that would be affected right? If you don't prepend the ticket number, it'll do it for you. That gives the entire team a guarantee all the work is traceable. It's a tool that serves the whole team, not just you.
james_s_tayler··on Start a side project, says GitHub founder (2008)
hmmm... I'm thinking from a back-end perspective as I don't work in JavaScript or front-end that much. I can see how you may encounter those types of people working with front-end stuff and I would say, yes, probably you're correct in that maybe they don't have the deep fundamentals of the raw technology outside of the frameworks.

My comment is not from that perspective though. I find in back-end land code quality varies wildly. When people get frameworks right on the back-end code quality goes way up. It can be anything from the right choice of an off-the-shelf solution to a stellar design of a bespoke solution. Good frameworks are enforcers. They pre-make a high quality set of choices and don't leave the choice up to the developers to provide wildly inconsistent implementations and sub-optimal choices. In the cases where a framework is needed and one is not in place and instead there is much code which looks the same-ISH, feels the same-ISH, is named the same-ISH, and behaves the same-ISH but is all slightly different and unique - the code quality and speed of development suffers massively.

Sometimes it's the right thing to not use a particular toy because you want to or because its cool. I agree, for sure. Hopefully, we can make high quality decisions about our code bases. For me one measure of quality is 'does this way of doing things contain the maximum amount of entropy?' If the answer is yes, then I am very much in favor. Some times there are other considerations, but that one is very, very high on my list. Good frameworks do an amazing job at that. Not all frameworks are good.

← PreviousPage 28 of 34Next →