Better HN
topnewbestaskshowjobs
Log inSign up

rubyfan

3,874 karma · joined Jun 30, 2012 (14y ago) · 1,421 submissions

Submissions

comment 10y ago · link · parent

I go back and forth with conjunction at the end or beginning of the line. At the end you get to line up column names, at the beginning it makes it easier to comment out or remove the line and basically contains the intended logic on a single line.

I think I usually end up with the later because I think it makes more sense.

comment 10y ago · link · parent

I agree, and if it successfully handles 80% or more of use cases then it's a win. I just don't have the expectation that it should handle the other 20% and if I had a use case in that 20% I probably wouldn't start addressing my problem by creating yet another JSON extension.

comment 10y ago · link · parent

Yes. Ubiquity doesn't mean it is a fit for purpose. Especially for most things these extensions try to overcome.

In this case ubiquity is largely a product of the primary consumer of much JSON data is a web browser. Likely much of that data is simple enough that it does not require more than what JSON provides.

comment 10y ago · link · parent

daisy, daisy give me your answer do

comment 10y ago · link · parent

What is this 1999?

FTA: "The performance difference will be the smallest for file loads, since most users' files are pretty small (like 1-5MB). Loading a program will be more noticeable, but still not a big difference, since most programs' splash-screens are timed to remain active long enough for the user to read them,"

comment 10y ago · link · parent

This is ridiculously cool.

comment 10y ago · link · parent

Teach the AI to communicate with each other in a way humans can't eavesdrop on... What could go wrong with that?!?

comment 10y ago · link · parent

Anyone know where one could find the symptoms/issues people are reporting?

comment 10y ago · link · parent

I was literally just thinking about this last night. I found a CD from the MS Chrome Beta program in my garage with some other MS beta stuff and maybe even some Solaris x86 CD and OpenBSD CDs from late 90s / early 2000s. It was like finding gold!

I think I had something like Pentium 200 or maybe even an AMD K2 or K3 233 or 266 at that time and this thing struggled with Chrome. I want to say the minimum requirement was a Pentium 350mhz.

I think I had 1 or 2 CD beta release before the program was axed.

comment 10y ago · link · parent

Of course it is not the most egregious. That someone else is wasting several orders of magnitude more money doesn't make it OK for 18F waste a smaller amount.

comment 10y ago · link · parent

Because it's taxpayer money.

$4,000 for some engineers to fuck around at work might not sound much but that $4,000 came from taxing people. Believe it or not but to a lot of people $4,000 is a lot of money. That $4,000 could go to school supplies, education, WIC, Medicare, etc.

It also illustrates tax payer subsidized income inequality while a lot of people are struggling. Again some highly paid engineer making more money fucking around at work than some other taxpayer delivering real value but at lower wage.

comment 10y ago · link · parent

Related Article (pointed out by one of the comments in the linked article):

Be extraordinarily cautious about the newest alien claim

http://www.astronomy.com/news/2016/10/be-extraordinarily-cau...

comment 10y ago · link · parent

From Wikipedia:

The United States Postal Service (USPS), (also known as the Post Office, U.S. Mail, or Postal Service), is an independent agency of the United States government responsible for providing postal service in the United States. It is one of the few government agencies explicitly authorized by the United States Constitution.

comment 10y ago · link · parent

Revenue and profit are different. For example USPS has revenue.

Based on the IG's comments it looks like the expectation is that 18F should be billing project hours.

comment 10y ago · link · parent

Comrades! This seems like a good use of taxpayer dollars :-/

FTA:

The report said 18F spent about 20 hours or $4,148 on two customized "bots" for Slack, an online messaging application. One of the automated programs would monitor users' messages for the words "guys," "guyz" and "dudes," which could have been perceived as being not inclusive for women. It prompted users to consider replacing those words with 21 options that included buds, compatriots, fellow humans, posse, team, mateys, persons of any kind, organic carbon-based life-forms living on the third planet from the sun, comrades and cats.

comment 10y ago · link · parent

I've seen similar XML based approaches for expressing configurable business rules but never any as JSON. Love it

comment 10y ago · link · parent

I totally don't get this person's angle. The attitude and attacks leveled seem a little highschool-ish.

he is mean and thinks he's better than me, so I don't like him and I don't think anyone else should like him either

comment 10y ago · link · parent

<? and <?= and "short open tags" supported optionally on older version but I think enabled by default these days.

comment 10y ago · link · parent

True enough, building crappy over engineered frameworks in big projects is inevitable ;-)

comment 10y ago · link · parent

The actually looks like a simple single controller action using a view model. Nothing really stops you from implementing other abstractions like ORMs, state machine, authentication, web service calls, etc.

I actually think you could build a relatively well organized large project with not much more than this really needed.

comment 10y ago · link · parent

It's been a while but isn't <? and <?= standard PHP?

comment 10y ago · link · parent

What about benchmarks for the more complicated scenarios they call out as the reason the built it for?

comment 10y ago · link · parent

Right, it's not a choice of picking MasterCard's one API vs. Stripe (as an example)

It's Stripe vs. implementing 10ish card or payment APIs. The choice is easy and will continue to be for most consumer facing scenarios.

comment 10y ago · link · parent

"Data Intelligence" is an ATM locator. This is not my idea of Data Intelligence.

Perhaps a better heading is called for there.

comment 10y ago · link · parent

Thank you.

comment 10y ago · link · parent

When you say "backend," specifically what do you mean?

comment 10y ago · link · parent

I agree. The only way the counter makes any sense is if your only problem is you want more money. That's an easy fix, being unhappy at work is not easy to fix. Life is to short, move on.

comment 10y ago · link · parent

Do you use name and address solely to be delightful or do you use it in other ways, like to order insurance score, clue or prefill any other 3rd party data for additional segmentation?
1
363738
48