News for hackers. Stuff that matters.

explosion

Re:Ask HN: Commercial projects versus open source? on Thursday April 28, 2016 @04:24PM (#11591656)
While working on a commercial project, you typically have to write some code that isn't related directly to the core business. This code can be open sourced as a library.
That's great to hear. Thanks.
In the shared runner settings, I see this:

"GitLab Runners do not offer secure isolation between projects that they do builds for. You are TRUSTING all GitLab users who can push code to project A, B or C to run shell scripts on the machine hosting runner X."

Seems like a very strong reason to use one's own paid DigitalOcean instances for runners instead of using the free shared runners, at least for commercial projects. I was wondering if anyone from GitLab could expand further on this?

Re:Real Programmers Don't Use PASCAL (1982) on Wednesday April 22, 2015 @11:35PM (#9424885)
I remember taking AP Computer Science in high school and learning Pascal. Anyone else remember doing this? The AP Comp Sci exams were in Pascal until 1998.
Is there any reason why one can't be both a writer and engineer simultaneously?
Re:Websites Prep for Google’s ‘Mobilegeddon’ on Tuesday April 21, 2015 @04:37PM (#9416902)
I see, thanks. Makes sense.

To be fair, it was misleading that the WSJ article said "Google is changing its search algorithm Tuesday to favor sites that look good on smartphones."

Re:A Year of PyPI Downloads on Tuesday April 21, 2015 @02:49PM (#9416129)
By hand meaning "pip install -r {file}" or more generally pip with any arguments typed directly at the command line.

Automated meaning pip with any arguments run by another script.

Re:Websites Prep for Google’s ‘Mobilegeddon’ on Tuesday April 21, 2015 @02:02PM (#9415813)
What would make more sense than blindly prioritizing mobile sites is this:

1) Desktop-friendly websites appear higher in the rankings for searches made from desktop computers

2) Mobile-friendly websites appear higher in the rankings for searches made from mobile devices

Re:A Year of PyPI Downloads on Tuesday April 21, 2015 @01:25AM (#9412418)
I wish there was a way to tell which pip installs were done by humans vs. by automated tools. It would be interesting to track what people are doing by hand vs. what machines are doing. I suppose that may be impossible to implement, though.

These graphs are very insightful. Thanks for offering us some visibility into the Python package download picture.

This survey was taken on CodeProject.com, a site which seems biased toward C#, C++, .NET, Java, and mobile devs.

Perhaps it's just that sample of developers who skew toward INTJ, ENTJ and INTP.

I suspect that the results would be different in a survey of developers from a more open source-focused community, e.g. if GitHub conducted that survey and a lot of idealistic open source developer types responded.

I agree, the resulting images are beautiful. For some reason, it's surprisingly mesmerizing to drag the points around and see the colors change.
Re:How to Center in CSS on Sunday April 19, 2015 @08:29PM (#9405499)
I like that tool very much, but it would be nice to see the generated CSS styles displayed separately from the HTML.

By this, I mean generating the following individually: 1) the HTML with a class applied to a sample element to be centered 2) the separate CSS for that particular class selector

This is just a little nitpick based on my preference for avoiding inline styles; overall, nice work!

Re:How Paypal and Reddit faked their way to traction on Friday April 17, 2015 @09:17PM (#9398001)
That phrase is new to me. ikeboy, thanks for the tip.
Re:How Paypal and Reddit faked their way to traction on Friday April 17, 2015 @03:23PM (#9396604)
I'd be interested to hear more stories like this about seeding sites successfully without appearing fake. I've seen a lot of startups seed their sites in ways that just look too obvious.
Re:Why and How I Wrote My Academic Book in Plain Text on Friday April 17, 2015 @02:52PM (#9396383)
wcaleb, this is great, thanks for both posts. It's also very inspiring to see your open notebook workflow and experiments.
Re:Why and How I Wrote My Academic Book in Plain Text on Friday April 17, 2015 @01:56PM (#9396006)
Another huge reason to use plain text that he didn't mention is version control. With plain text, you can check the files into a git repo and diff any two commits. You then get all the advantages of working with version-controlled code, e.g. commenting on diffs.

Word and Google Docs do save revision history, but they slow to a crawl when you have a document with a lot of pages, to the point of being unworkable.

Re:At Marathon in North Korea, Curiosity Goes a Long Way on Thursday April 16, 2015 @11:23PM (#9392094)
Fascinating. Curious what it would take to register, I found the Pyongyang Marathon signup form here: http://www.pyongyangmarathon.com

Apparently they accept amateur runners and you can do a 10k, half marathon, or full marathon.

Re:MoMA’s Digital Art Vault on Thursday April 16, 2015 @11:12PM (#9392073)
It's good that they're planning for their future storage needs to increase drastically. I suspect that 1.2 petabytes will seem like a gross underestimate in 2025, though :)
Re:Problems with CAP, and Yahoo’s little known NoSQL system on Wednesday April 15, 2015 @04:39PM (#9383942)
I like the author's concept of PACELC, though it seems a bit implementation-specific.
Re:The Cult of Work You Never Meant to Join on Wednesday April 15, 2015 @12:34PM (#9382158)
Going from working for a company to freelancing has definitely increased my number of daily work hours.

However, in between contracts I have the ability to take long breaks to work on my own projects or travel. Overall, the benefits have outweighed the risks for me, but then again, I'm just one data point.

Re:How to Prepare for the Y Combinator Interview on Tuesday April 14, 2015 @06:43PM (#9377821)
I'm having trouble understanding how one would demonstrate traction at the idea stage.

Would it be a combination of 1) demonstrating past successes gaining traction and 2) having a catchy prototype? Or are there other things?

Older »