Better HN
topnewbestaskshowjobs
Log inSign up

leftnode

3,925 karma · joined Nov 20, 2008 (18y ago) · 794 submissions

Submissions

comment 10y ago · link · parent

Can you expand on what you mean by a single table with manual indexes? How does a frequently used table with indexes not resemble an RDBMS?

comment 10y ago · link · parent

What's ironic is that most longtime fans hate the late career Howard Stern.

I've been a daily listener since 1997 and enjoy both pre-Sirius and post-Sirius shows immensely.

comment 10y ago · link · parent

Anecdotal, I know, but look at all the recent articles where 53% of American's don't have $1000 in liquid cash, or hell just read /r/personalfinance for your daily dose of poor financial decisions.

comment 10y ago · link · parent

Moreover, a really nice couch will probably run you north of $2000. We have dogs, three kids six and under, things get messy. A cheap pleather couch from Big Lots is $350 (and is plenty comfortable). I'd rather buy a handful of those over the next 15 years and just throw them out when they're destroyed than a nice $2000-$3000 couch.

(Note: I haven't read the article yet, I'm planning on doing so, and I generally agree with buying nicer well made things, BIFL, but sometimes it's easier/cheaper to buy something you know will be ruined and you won't care as much).

comment 10y ago · link · parent

I used to feel the same way a lot of times, a shame it seems for being a PHP dev. Now, I don't care. I've been using it since 1999, and I use it to get stuff done.

My customers and users of my applications don't care what it's written in.

But, you should definitely learn more languages as a programmer.

> And to anyone considering programming as a career, or trying to get into it... stay away from PHP.

This is the part I disagree with the most. The language is getting better and better with every release. It's incredibly fast, much safer to use (the Error exception type, scalar static type hints, all the garbage from the early 2000's has been removed), and easy to work with. The ecosystem (with the introduction of Composer) has _completely_ changed and reinvigorated the language. It's easily one of the best package managers out there. I definitely recommend giving PHP a look or a second change if you've written it off.

comment 10y ago · link · parent

Yes, there is. UT Dallas is third ranked public school in Texas and a top tier STEM research school. Dallas is perhaps best suited for building a company.

comment 10y ago · link · parent

I believe Foundation has Flexbox support as well: http://foundation.zurb.com/sites/docs/flexbox.html

comment 10y ago · link · parent

You can also start all of your commands with "BEGIN;" (at least in Postgres) to ensure you're in a transaction you can easily rollback.

Another trick it to start all "DELETE" commands as a "SELECT" to ensure you get the "WHERE" part correct, and then swap out the "SELECT *" with a "DELETE".

comment 10y ago · link · parent

FTP (and SFTP) is very heavily used in enterprise software, especially when two pieces of software are being integrated.

(S)FTP support has been baked into huge ERP systems like Oracle and SAP for years (I would be very surprised if BitTorrent was even on a list of development features), and when you're working with a company who has a $100mm SAP installation, you transfer files using (S)FTP.

I just finished a large integration with SAP where all of the data was transferred using files over SFTP. We have a modern REST API they could use as well, but that would've added a lot longer time to the integration as it wasn't already baked into SAP (plus, moving large files over HTTP is not ideal).

comment 10y ago · link · parent

I don't think Uber and Airbnb have won at all. There is still tremendous push back against them, neither are public companies, and Uber specifically is burning cash at a tremendous rate.

Hey night last slightly longer than Zenefits, but I would expect to see major changes in how they operate.

I don't know enough about Draftkings to say one way or another other than it appears they have greased the right palms to continue to operate for the time being.

comment 10y ago · link · parent

They're too busy getting paid writing Perl.

comment 10y ago · link · parent

Have an intermediate build server like Jenkins or Bamboo that does all of that for you, packages everything up into a single deployable artifact (tarball, .deb, or RPM for example) and then deploy that out to each of your servers.

comment 10y ago · link · parent

I think the point is you can't fake it till you make it in medical science, and if you can, the outcomes usually aren't great.

comment 10y ago · link · parent

I built a similar "login as a service" three years ago, and the biggest I came across was that any modern web framework already includes authentication and user management out of the box. And user management that is guaranteed to integrate with the rest of the framework. It was a really difficult sell trying to convince developers to use my service rather than their own framework.

comment 11y ago · link · parent

Everything about this is ridiculous, but this especially so:

"Johnson’s release date was originally scheduled for earlier, but he ended up serving an additional eight months at the age of 69 for a juvenile shoplifting charge he received when he was 17."

How in any reasonable society is this justifiable? I re-read the sentence probably five times because I simply couldn't believe it.

comment 11y ago · link · parent

I think you're correct. The cost for an SSL certificate is trivial for any legitimate company, and the processing overhead to encrypt every request hasn't been a concern for years.

comment 11y ago · link · parent

It contains an interesting link you would want to read later? Pinboard can import favorited tweets and automatically store them as unread bookmarks, for example.

comment 11y ago · link · parent

1PW is without a doubt one of the nicest iOS and Mac programs I have ever used. It is gorgeous and just works. Well worth however much I spent on it.

109.

Unit Testing Your Service Layer Is a Waste of Time(growingsoftware.org ↗)

1 points · by leftnode · 11y ago · discuss

comment 11y ago · link · parent

I had the same exact response. "RtCW is 13+ years old!?" I spent so much time with that game.

comment 11y ago · link · parent

Great article, I love psql. I also add \timing to my .psqlrc to see how long every query took.

112.

Application Architecture Without an ORM(growingsoftware.org ↗)

1 points · by leftnode · 11y ago · 1 comment

comment 11y ago · link · parent

I'm not sure why you're being down-voted but this was completely spot on.

comment 11y ago · link · parent

An interesting interview with the founder of Kiva on NPR's "From Scratch" - http://www.npr.org/2014/01/09/261095138/mick-mountz-founder-...

comment 11y ago · link · parent

She did and they said it was too late to return it.

comment 11y ago · link · parent

Yup, it's a great idea! In all of our applications we have a build-dev shell script that builds the application for development purposes.

New developers day 1: vagrant up; vagrant ssh; cd /path/to/app/on/vm; ./build-dev

And they're ready to go.

comment 11y ago · link · parent

Plus $99 is $0 for a company who wants a nice looking and well supported theme.

comment 11y ago · link · parent

Unless you're on a visa and having a job is a requirement of keeping said visa.

comment 11y ago · link · parent

Because then you'd just have Requests and normal Python which it sounds like the author wanted to avoid.

comment 11y ago · link · parent

Building Postgres from source for testing is relatively simple - at least on Ubuntu / Debian.

    useradd --home-dir /home/postgres \
        --create-home --shell /bin/bash \
        --user-group postgres

    apt-get install -y build-essential libkrb5-dev \
        libxml2 libxml2-dev libxslt1-dev \
        libossp-uuid-dev uuid python-dev \
        libreadline6 libreadline-dev

    ./configure --disable-debug --enable-thread-safety \
        --with-gssapi --with-openssl \
        --with-libxml --with-libxslt \
        --with-ossp-uuid --with-python \
        --without-bonjour

    make world && make install
    sudo su - postgres -c "/usr/local/pgsql/bin/initdb -D /home/postgres/cluster -E UTF8"
12345
27