Recent submissions

Comment · 9 years ago
OP here. Only the backend is written in PHP (it is very simple PHP) and that may change (probably Python, maybe Node.js). It's only a small part of the code, most of the code is javascript that runs in the browser. Initially, I am working on Apache and PHP because a lot of what I work on is Wordpress, but Nginx certainly supports PHP as well. Note that it doesn't require your code to be written in PHP, only that your server has the correct modules installed. If you use phpmyadmin you have already pretty much installed everything needed.
Comment · 10 years ago
Comment · 10 years ago
A site Where the community decides what the ads are about, not what ads you can see.

"Don't flag it, #tag it!" is our motto.

If people find your ad funny, they can tag it as #funny and people looking for funny ads can find it by searching for #funny. If the ad is a scam, people can tag it #scam and people can filter out ads tagged as #scam.

Don't want to see ads that are scams, NSFW (Not Safe For Work) or adult? You can filter out any ad that has the #scam, #nsfw or #adult tag.

On another site, your ad might get flagged just because somebody doesn't like it (maybe a competitor?) and you have no recourse, nor do you even get to know why. Your ad is just gone. Here we are very transparent, if your ad is actually suspended, you will be able to see why and actually appeal the removal.

Comment · 10 years ago
I think I totally screwed up this post, but I can't seem to edit it to make fixes. Sorry.
Comment · 10 years ago
This site has quite a few good recipes:

http://www.genaw.com/lowcarb/

However, you don't have to be fancy. I usually just eat meat and low carb veggies for dinner. For instance, baking a bone-in chicken breast and heating up frozen veggies (lots of great mixes available) or doing a stir fry with chicken or beef and low carb veggies again (don't use packaged stir fry sauce, however since they are mostly sugar).

Comment · 10 years ago
You can run all the Python 3 code you want. Just execute it from the Python 2.7 environment. The AWS Lambda environment does support it as the AWS environment is just the basic Linux AMI, and then you can include anything you want into your Lambda code zip file. You can exactly replicate the Linux image they use for Lambda and create your own custom environment that will run your code. What more could you ask for?
Comment · 10 years ago
Well for AWS Lambda, they offer three languages: Java, Javascript, and Python. Even then, its really just running in a container and you have access to anything in their standard Linux AMI and whatever else you include with your code, so you could really use almost any language you want. I'm using wkhtml2pdf with my Python code which is a c++ executable. Also, although the Python is 2.7, you can easily use the existing Python 3 environment or include your own.

As far as lock in, it is trivial to utilize the same code on your own servers. I do that for my Python code for development using a simple Cherrypy setup in less than 100 lines of code.

Comment · 10 years ago
Have I missed something where you provided an alternative?
Comment · 10 years ago
Python 2.7 is not going away and why do you care anyway? People like you and the author of this website should just fuck off. People like Python 2.7, just let them.
Comment · 10 years ago
When I first read the blog post earlier in the day, it actually said they were using 8-bits. I remember it because it seem quite small to me.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton