News for hackers. Stuff that matters.

tzaman

Re:How to Kickstart and Scale a Marketplace on Thursday November 21, 2019 @04:19AM (#21592540)
One of the major worries that I've had when launching our marketplace was poaching; What if clients (the demand side) decide to hire developers (the supply side) outside of our platform? Of course, we had rules against that in terms of service, but hey, circumventing those is not a big risk.

But, luckily for us, the value that we provided to both parties (and still do) outweighed the risk of losing their accounts for violating TOS, so we very rarely see that.

Regarding chicken and egg problem, we manually found and pre-screened 10 people to provide supply in advance, so when the first client came, they'd have someone to hire. Earned $13 the third day after launch. Happiest day ever :)

Today we have 19 employees and are profitable (we've hit profitability the third year, we're now 7 years "old"). https://codeable.io

Re:Show HN: Smallest Node.js Docker images on Thursday November 15, 2018 @06:46AM (#18458516)
1. I push a hotfix to GitHub. 2. Jenkins (which is on Google Cloud) builds it, and it already has all the Docker steps cached from previous builds, so it's fast. 3. Jenkins pushes the image to Google Cloud repo, which is almost instantaneous 4. Kubernetes (also on Google Cloud) pulls the image and makes a new deployment

No big deal. :)

Re:Show HN: Smallest Node.js Docker images on Wednesday November 14, 2018 @12:49PM (#18451900)
Honestly, the size doesn't matter.

I was once in the camp of small Docker images, but realized it's simply not worth the tradeoff, since there's only one upside to them, and that upside is fast transfer of images.

However, that argument becomes pointless when using a proper CI/CD stack. As a developer, you don't normally upload images yourself, but push changes to GitHub, then Jenkins/Travis/whatever takes over, builds the image, and pushes it into production/staging/whatever. Since CD tool of choice is usually also on the cloud, we don't have to worry about image size, nor to any of the CD vendors charge for data transfer.

I'd rather have bigger images (I base mine off Debian now, used to be Alpine) and not have to worry with lack of ported tools and libraries, than vice-versa.

Re:Diamonds Suck (2006) on Wednesday May 30, 2018 @07:09AM (#17186675)
Must be cultural differences then - nobody around here (Central Europe) cares or asks about rings.
Re:Diamonds Suck (2006) on Wednesday May 30, 2018 @07:02AM (#17186642)
So what is the point of one?
Re:Diamonds Suck (2006) on Wednesday May 30, 2018 @07:01AM (#17186633)
Out of curiosity, what's all the fuss with engagement rings in the first place? When me and my wife got engaged, I gave her nothing (nor did she expect anything), just asked her to marry me and she agreed, we kissed and that was it.

We did, however, made wedding rings, which together were about $1300, but that's because they were made out of gold.

Why overcomplicate things? :)

Re:Apple, Influence, and Ive on Wednesday May 09, 2018 @04:46PM (#17033919)
Ok, I'll bite - enlighten us.
Re:Cancer Doctors Cite Risks of Drinking Alcohol on Thursday November 09, 2017 @06:55PM (#15666801)
Slightly sarcastic, but on point: Doctors say a glass of red wine per day is good for your blood. But now, they also say it'll increase chances of getting cancer. So I guess I need to choose between these two. Too much of anything is a poison.
Re:Capacitor plague – Wikipedia on Sunday November 05, 2017 @05:46PM (#15632203)
A victim here. My 2007 MacBook Pro started to swell on the bottom after a couple of years, didn't think much of it, it was a tiny bump at first, but then it almost doubled in thickness so I replaced it with a cheap Chinese knockoff (was broke at the time due to starting a startup), and the same thing happened in about a year. Lesson learned.
Re:Containerum – Managed Docker Hosting on Monday October 30, 2017 @09:49AM (#15584948)
Same here, doesn't instill much confidence for a hosting company to have their homepage down.
Re:Ask HN: Why are credit card chip readers so slow? on Monday June 26, 2017 @04:47AM (#14635123)
I use N26 as my personal bank, and I must say it's pretty much instantaneous - when I pay contactless, I can hear my phone notification before I get to put the card back in the wallet. I've tested the card across Europe while traveling and the speed at which I get push notifications is consistently fast.
Re:New Surface Pro on Tuesday May 23, 2017 @09:09AM (#14400816)
Care to elaborate why? I'm somewhat of an apple-fanboy but Surface seems more and more appealing, and I'm leaning towards giving one a try.
Re:Spellfucker on Friday April 28, 2017 @05:01AM (#14217927)
Aj dident nou der vr sou meni Slavik pipol araunt dis plejs. Veri hepi tu si felou Slavs komentink on Hekr Njuz
Re:Bose headphones spy on listeners: lawsuit on Monday April 24, 2017 @05:37AM (#14182962)
Does this mean that anyone who's using Segment to collect data on their customer and sends it to a warehouse like Google Big Query is more likely to have a problem because the data is "shared" with two third parties? (pardon my ignorance, not good with this stuff)
Re:StandardJS just turned 10.0.0 on Thursday April 06, 2017 @11:56AM (#14051727)
Thanks, I do in fact use AirBnB's config, just wondering whether there's anything I was missing.
Re:StandardJS just turned 10.0.0 on Wednesday April 05, 2017 @05:59PM (#14046023)
I've been always meaning to try this out but always just keep reusing the ESLint config, which is probably a bit out of date now. So the question is, could someone explain to me (and everyone who has these same thoughts) why is StandardJS worth a try?
Re:Kubernetes 1.6: Multi-user, Multi-workloads at Scale on Tuesday March 28, 2017 @05:16PM (#13980805)
One thing that's still missing but would be quite valuable is a good egress approach/configuration. For example, we use an external PostgreSQL provider in which I can configure access IPs. Since K8s nodes (on GKE) get different IPs, I have to be very loose with CIDR selection, which I don't like.
Re:Ask HN: Is S3 down? on Tuesday February 28, 2017 @01:58PM (#13756636)
It appears Docker Hub is hosted on S3 as well, none of the official images can be pulled.
I have an employee from the US (I'm otherwise from Europe) and while visiting through the conversation/personal stories he explained the most interesting part of relationship between US authorities and citizens: You're less likely to be "harassed" if you lie to them, because they can turn pretty much anything you say against you and dig so deep to finally find an excuse to bully you, or charge you with something.

That is quite a sad state for the society to be in, being always afraid of the authorities, rather than knowing their primary goal is to protect and serve.

Re:Amicus brief on behalf of 97 tech companies on Monday February 06, 2017 @05:32AM (#13578230)
Thank you!
Re:Amicus brief on behalf of 97 tech companies on Monday February 06, 2017 @04:43AM (#13577982)
Someone care to (briefly) elaborate what this is about for us not up to speed?
Re:Lessons learned as a React contractor on Thursday January 05, 2017 @07:24PM (#13332806)
> 4: Raw SVG >= D3 for simple data visualisations

You can have a bit of both. D3 has a dependency "d3-scale" [0], which is a perfect choice if you'd like D3 to do the math and React to take care of the DOM.

0: https://medium.com/@mbostock/introducing-d3-scale-61980c5154...

Re:Blue Ocean on Tuesday December 20, 2016 @09:56AM (#13220294)
I wasn't at first either, but benefits outweigh the risks (which are all security related).

It's something I'm willing to re-think if it turns out to be problematic on any level. But so far after half a year in production, we've seen no problems.

Re:GoAccess – Visual Web Log Analyzer on Tuesday December 20, 2016 @09:43AM (#13220163)
Actually, the problem is that Docker logs to stdout rather than to logfile(s)
Re:Blue Ocean on Tuesday December 20, 2016 @09:42AM (#13220156)
> (We also went from paying $1k/mo to $0/mo, which is a very nice side effect)

That's not entirely true, because someone had to set Jenkins up and has to maintain it, but once things are rolling, it hardly needs any input.

Re:Blue Ocean on Tuesday December 20, 2016 @06:56AM (#13219057)
Juenkins' Kubernetes plugin allows to mount secrets like with usual pods so we deploy test secrets just like we normally do production ones.

As for glusterfs, our Nginx reverse proxy also has a cron job that runs letsencrypt automatic renewal once a week so it needs to be able to write those new certificates. Because we need to be able to run several reverse proxies, all with write persmissions (we run one at a time, but on deployment, there are two running to avoid downtime) we chose gluster, as gce-pd doesn't support multiple writers.

Re:Blue Ocean on Tuesday December 20, 2016 @05:07AM (#13218675)
Thanks for clarification - I'll definitely have a look :)
Re:Blue Ocean on Tuesday December 20, 2016 @04:57AM (#13218638)
I'll definitely check it out - but the problem with many of these tools is a lack of "proper" Docker support, along with the ability to self host and debug. Thanks for the heads up!
Re:Blue Ocean on Tuesday December 20, 2016 @04:40AM (#13218565)
Seeing how much people recommend other solutions, I've actually moved from Travis to Jenkins, and never looked back.

Yes, Jenkins has its issues (crappy UX, poor/awkward docs), but where it shines is the fact it's self-hosted, so I can SSH onto the instance to debug a failing build or replay it with a modified Jenkinsfile on the fly.

I'm quite proud of the current setup we have; We're hosting our app with Google's Container Engine (Kubernetes), so what we're doing is on every build Jenkins creates a slave agent within the same cluster (just different node pool) as the production, so the environment in which test containers are ran is identical to production, and what's more it actually talks to the same Kubernetes master, which means I can, for example, test our Nginx Reverse proxy with real backend endpoints and real certificates (that are mounted through glusterfs).

Older »