Better HN
topnewbestaskshowjobs
Log inSign up

pixelbash

283 karma · joined Aug 31, 2015 (11y ago) · 189 submissions

Full stack++ 1of1studio.com
Submissions

comment 8y ago · link · parent

Our rent: 700NZD pw

Our calculated repayment on a 20 year mortgage with a 300k down payment on the estimated CV of this house: $1370 NZD pw

Yep!

comment 8y ago · link · parent

This is okay as long as you are in one of the locations where mortgage is roughly equal to rent. In some places it’s closer to double, unless you want a 100 year mortgage.

comment 8y ago · link · parent

Well it does mean in order to understand the library and/or contribute you have to use <flavour of the month>. Also it makes the library prone to rewrites if something else comes up. I don’t mind TS (though es6 suits me fine) but I have seen many js paradigms come and go. Who knows maybe TS will stick around for the long haul.

comment 8y ago · link · parent

Re the second point did you manage to get around this? Played with it a bit and it felt almost like flash back in the day where you could eschew the timeline and do everything programmatically. In the end ran into a problem where I wanted to move the universe around the player and couldn’t get the particle engine to cope..

comment 8y ago · link · parent

What information do they have access to?

I do think a simulated reaction time or limited actions per second might be more fair, if they don’t have that already..

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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..

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Not for the ones that experienced it first hand.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

By around 15 years, not bad?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

Haven't we had auto reload since long before webpack? Or am I missing something.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

> 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..

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

I think that is in the works https://roborace.com/

comment 8y ago · link · parent

I can't decide which of the parent comments this is referring to.

comment 8y ago · link · parent

But for that to happen wouldn't the surgeon need to outbid Google for network priority?

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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.
1234567