HNHacker News
TopNewBestAskShowJobs

pixelbash

283 karma · joined August 31, 2015

Full stack++ 1of1studio.com
submissionscomments
pixelbash··on Things they don’t teach you running a business by yourself
Echoing this myself. I swore off having a boss again after my last (also only) position in an agency. After six years sometimes I look at those 180k remote jobs with a wistful eye. But the chance of getting to that point with a company I built.. That feeling makes wearing all those hats and all those laste nights worth it.
pixelbash··on Three Levels of Wealth
Try New Zealand. Here the ACC will cover most things up to and including various forms of cancer treatment. You might wait a few hours if you just drop into the hospital unannounced but it doesn’t feel like a system that doesn’t work.
pixelbash··on Building a Kickass Portfolio
If the designer I share an office with is anything to go by a key part is spending a good chunk of your day looking at other peoples designs..
pixelbash··on Liquid water 'lake' revealed on Mars
So far our legacy as a species on earth is one of destruction. Only by taking on the challenge a place that is already dead can we be certain of creating something new. Maybe we will learn some perspective in the process.

Going to Mars will have myriad discoveries & side effects, if we knew what they were what would be the point of going?

Also, what if curing cancer is harder than going to mars? One is by now a fairly quantifiable objective, the other is debugging a mind bogglingly complex system with no version control.

pixelbash··on Liquid water 'lake' revealed on Mars
Not for the ones that experienced it first hand.
pixelbash··on 'New Zealand wants you': the problem with tech at the edge of the world
I work out of a very small studio in Auckland mostly building ecom (cofounder/dev). The reality is NZ is such a tiny market that is has a really funny quality to it (and some really odd stuff in places like an unspoken pay invoices on the 20th of the month rule). Two degrees of separation is the running joke here because just about anyone you hear about has met someone you know. We are doing an increasing amount of overseas work because in many ways it’s just easier, asides from Skyping at odd hours of the day.

I’d love for NZ to be the next Tech hub, but I fear the culture just isn’t there yet. It’s easy to start a company here but it’s very hard to locally source materials or tools at anything like competitive prices thanks to the 100% markup almost any importer puts on anything (if you can get it at all). Software at least doesn’t have that barrier, good developers here are generally very busy. That’s good I guess.

pixelbash··on Zen Magnets: 6 Years of Battle End in Victory
Well I have now, and at school in Fiji there were stories of other kids blowing themselves up with homemade kerosene & bamboo fireworks. My personal opinion is that responsibility and risk are related, and if you don't have a gradual increase of both in a relatively safe environment while growing up you are more likely to wrap your sports car around a traffic light (for example) once you finally experience 100% of both at once.

Of course everyone has different opinions of what an acceptable level of risk is.

pixelbash··on Zen Magnets: 6 Years of Battle End in Victory
I suppose the question is what sort of world do you want to live in? I had a great time with fireworks growing up in a less regulated country (Fiji), most of the time we don't even bother with Guy Fawkes here (NZ) now. Having also spent time in a few other more & less nanny state-ish countries growing up I don't think bubble wrapping children does them many favours in the long run.
pixelbash··on DensePose – Dense Human Pose Estimation in the Wild
By around 15 years, not bad?
pixelbash··on Adobe to Acquire Magento
Also a note around the number of products, I think you would be okay, promotions - see other comment, dynamic adjusters would be fine I think.

One thing to watch out for is Spree leaves cart level orders in the database, and deleting an order is not trivial. I have a cron job that deletes incomplete orders over a certain age, made after I realised ~90% of the database size was made up of abandoned cart data.

pixelbash··on Adobe to Acquire Magento
Sounds like an interesting project. I picked Spree over Solidus because Solidus is based on version 2.4 of Spree and I was already on version 3.0 at the time. The split was due to the company behind Spree being bought out but luckily for us another company stepped in and Spree is now moving quite quickly..

Have done personalised line items in the past, when adding to cart there is a function that checks not just the variant being added but the options being added with. The comparison hooks for these options are designed to be extended, so that one should be relatively easy. Complex price changes on orders/line items can be handled via adjusters. These also hook into orders and are very flexible (although I haven't had to build any).

Have also build custom integrations to sync inventory with an external source using webhooks, since everything is fundamentally just Rails underneath it's as easy as you might expect.

No experience with changing the auth system, but since there is a separate plugin for the authentication (spree_devise) I think the intention was/is to make it easy to swap out if needed. I don't know how easy that would be though. There is no address book out of the box (just a save last used address feature), that's one of the features I am finally adding now.

I think you could go one of two ways with this, either a) keep your code light using decorators etc and try to do everything the 'Spree' way so that you can benefit from an easy upgrade path or b) fork spree entirely and manually bring in updates from upstream. I am slowly leaning towards b) because Spree has some design decisions that are incredibly powerful but also make everything much more complicated. Mostly I am referring to the ability to split shipments on checkout here.. I spent hours tracking down a specific line that was rejecting a shipment once. I gave up entirely and replaced spree_frontend early on, but I am mostly a frontend developer.

pixelbash··on Adobe to Acquire Magento
Sure, I tried it over Shopify because I wanted the ability to have complex pricing (well over 100 per product). I built a system that allowed for the ability to have dynamic prices based on the base product price + a combination of selected options.

Craft has a fairly sane way to do plugins. Commerce itself is a well written if sometimes obtuse plugin, which is handy because some of the documentation isn't great (the new version - 3 - looks better). It is an EVA database, but it's simple to navigate and debug. There's some fairly powerful ways to handle loading content.

In summary I'd say have a poke around the commerce plugin, you can run it for free unlicensed. It has a growing ecosystem of plugins, which is nice coming from Spree. Oh and support is pretty good too.

pixelbash··on Adobe to Acquire Magento
Me, me!

I picked up Spree in 2015, and still build with it on a weekly basis.

The platform and its ecosystem both have ups and downs, for example the order system is quite complex[1]. For another I have yet to find a perfect way to architect complex extensions.

Most of Spree's power lies in its models. In hindsight my advice to myself would be: start with spree_core, modify the API (I like using cart api's on the frontend) and replace the backend/frontend entirely.

[1] https://github.com/spree/spree/blob/3-5-stable/core/app/mode...

pixelbash··on Adobe to Acquire Magento
Funny you should mention this, I make my living building sites with Shopify, Craft Commerce and Spree. After experience with Magento, Woo Commerce, Open Cart and many others these are the ones that give me the fewest headaches on a regular basis.

...Not to say they are perfect. Spree has an absolutely crazy order system[1] and Shopify is a pain to extend.

Strangely the Venn diagram of platforms that are extendible/fun to code and the ones with a great community/ecosystem don't seem to have much overlap.

[1] https://github.com/spree/spree/blob/3-5-stable/core/app/mode...

pixelbash··on VuePress: a fully Vue-powered static site generator
Haven't we had auto reload since long before webpack? Or am I missing something.
pixelbash··on AI Has a Hallucination Problem That's Proving Tough to Fix
I think an interesting point here is that you often need to learn the distinguishing features themselves - especially when classifying quite similar things. as a child I found it hard to distinguish plants from each other, until I learned to look at features like flowers, leaf shape, bark, branch patterns etc.
pixelbash··on I reported a critical bug and now they started a police investigation on me
> I think a better solution would be to legally protect anyone that's honestly reporting a vulnerability; make companies liable for those vulnerabilities; offer a failsafe reporting mechanism to the government in place of the company, in case they just ignore it; and guarantee that reporting a vulnerability can't ever be used against you in any kind of criminal or civil trial.

This would also very useful for more generalised whistle-blowing too..

pixelbash··on Modern CSS Explained
I grew up with floats and clearfixes, and while flexbox does a few things I couldn't do before I still find myself pulling up the flexbox cheat-sheet to get the correct syntax every single time.
pixelbash··on Formula E reveals second-generation car
I think that is in the works https://roborace.com/
pixelbash··on Fool Britannia: the future of the UK has never looked so grim
I can't decide which of the parent comments this is referring to.
pixelbash··on DRM’s Dead Canary: How We Lost the Web, What We Learned, and What to Do Next
But for that to happen wouldn't the surgeon need to outbid Google for network priority?
pixelbash··on The Best Monitor for Programming: A Cheap 40" 4K TV
Went from 3x 1920x1080 monitors to a 43" 4k IPS display a little over a year ago and has been great once used to it. Tiling 6 apps using divvy works nicely.

Lately I have found myself wishing there was a wider format 5760 x 2160 screen of about 37-43" for 6 full HD screens-worth. But can't have everything I guess.

pixelbash··on The Arrival of AI
At a guess there are two major schools of thought here. The first thinks that emotions, will, personality etc are much more complex than the way we think of neural nets today. The other thinks that what we are seeing is already much more like the brain than we were expecting and if we continue down this path we may discover those things are emergent aspects of much simpler behaviours at a small scale.

My slightly optimistic money is on the latter one.

pixelbash··on Ask HN: Why aren't there middle class cars shaped like Ferraris?
Not sure that's true. Low drag is incredibly important to the top speeds of those cars. For example a `03 Golf has a CdA of 6.89[1] while a new Ferrari 458 is 0.330[2]. Also, most modern supercars have active aerodynamics to create more downforce at higher speed.

[1]http://ecomodder.com/wiki/index.php/Vehicle_Coefficient_of_D... [2]http://www.autozine.org/Archive/Ferrari/old/458.html

pixelbash··on Ask HN: Why aren't there middle class cars shaped like Ferraris?
Lotus Elise, BRZ, Alpha 4C, and others are very nice cars with lower horsepower to match the handling. It's nice to be able to drive something to it's full potential without electronics or loss of license. I haven't owned any of these cars but I do own a 600cc sport bike. Modern 200+ hp litrebikes are now mostly just computers on wheels.
pixelbash··on Scientists engineer mice genomes to lengthen their lifespans by 30 percent
Given technological progress and human nature I think that might be a temporary or worst case scenario but unlikely to be a long term status quo.

What about exploration or just plain old boredom? There might be more radical escapes (VR, brain upload), more extreme sports or more people leaving this planet in search of something else.

1000 years is a long time. Forever is a lot longer than that..

pixelbash··on People Are Dying Younger Because America Keeps Failing the Bad-Break Test
Therein lies the rub. It's all very relative, all one can do is try.

View through all the lenses at your disposal (there are many), apply critical thought and compare theory to fact. If you find your answers change from absolutes to 'it depends which perspective you start from' then you are probably on the right track.

pixelbash··on People Are Dying Younger Because America Keeps Failing the Bad-Break Test
Perhaps they are doing what they consider to be correct according to the information available to them. The question then becomes what information are they being given?
pixelbash··on FBI’s Deep Web Child Porn Ring Questions Role of Gov’t in Society
> If the fbi did not operate the server they would still have acquired it.

I'm a little dubious of this brand of logic. The one that goes if X was not supplied they would just get it from the <potentially slightly harder to find &/or riskier> place.

Perhaps, but surely the point is to reduce the incentive by making it harder/riskier - as making it impossible is generally not a viable option?

pixelbash··on Uber's Failure in Japan
Personal anecdote, we flew into Narita and the customs line caused us to miss the bus that would have connected us to Haneda for our next flight. We were certain we would miss the flight, but instead we got one of the best taxi drivers I've ever met.

From what I gathered, in Japan you basically pay a set fine for travelling over a certain speed. So he added that into the fare (vaguely recall it was 15% or so).

Long story short, after some very impressive driving we got there in time. I gained a massive appreciation for Japanese taxi drivers that day.

← PreviousPage 6 of 7Next →