skysight-inc/HackerNews huggingface dataset:
I have time series data from over a thousand gas stations. How can I forecast the price of gas?
Where is the Stanford Research park? My girlfriend works on Stanford campus and she complains about feeling isolated- she says it's like working on Mars. She works on Galvez and parks at the Stock Farm lot. But no running out on her lunch break to do errands- once you're on campus you're effectively trapped there.
whew! you're nailing it, good thing you're not taking silly breaks like going on hacker news and posting comments instead of working!
That is their right.

Personally, I nuked my Github account months ago.

Dueling anecdotes!
How is github a social network anymore than sourceforge was/is?
Author's theory: the Big Guy moved the company HQ to the suburbs because he's out to get you, especially if you aren't white.

My theory: the Big Guy moved out of downtown because land and taxes are cheaper, many (most?) people enjoy seeing green as opposed to concrete, and the commute is often (not always) better, since most people live in the suburbs anyway. Couple that with an up-and-coming municipality willing to subsidize the building and infrastructure and you've got quite a lot of cash left in the budget. What do you do with it? Build an impressive structure, with the perks and eye-candy to lure the talent you're hoping to hire and retain.
Because the city has mass transit and amenities?
It took decades to construct the images of "success". I know that whenever I am associated with one of these awesome brands in a super sterile corporate location I feel like I have made it.

Even though I hate admitting that.
How to convert video for playing on NDS
The standard boards are pretty large, but they do come in a variety of sizes. Once you are in volume, the cost of the PCB itself is pretty small. Board houses will almost always want to panelize themselves, partially because their machinery will be set up for a particular size. The machinery is adjustable, but the adjustment itself costs them some labor, so they would rather stick with a single panel size until the production run gets very large or the board has special needs.
Yes... but you said "More powerful", rather than just "Powerful". More implies a comparison with respect to something else... with what specifically?
> Can you reasonably declare that 40% of society is a danger to itself?

Yes.

Has 40% been on the wrong side of slavery, voting rights, civil rights, women's rights, gay rights?

Has more progress been made through war/assassinations/violence/riots/protest, or empathy/reasoned appeals?

There is a time for empathy, a time to ignore, and a time to fight. It's not a matter of percentage, it's a matter of wrong. Unfortunately, we don't usually have a consensus on what views are wrong until decades later.
To be honest, that code is pretty bad anyway. "If an arbitrary attribute table doesn't exist, ignore this row and process the next one", no exceptions thrown, no attempt to rectify the situation, no logging, no state change, just ignore it. I can't really think of a situation where you both don't care and don't want to know if your transaction completes.

That aside, this actually looks like it might even contain a SQL injection vulnerability. I'm no Drupal 7 expert (which this code seems to be) but having looked in to the code being ran here, db_table_exists seems to call down to `$this->connection->queryRange("SELECT 1 FROM {" . $table . "}", 0, 1);` in `DatabaseSchema_mysql::tableExists`, which contains an unescaped PDO query. I feel like anyone running this code is going to have a very bad day and it makes me untrusting of the rest of the work they're putting out.
I am sure that such service already exists. I can also offer Uber for editors, Airbnb for printing houses or Spotify for journalists :wink:
Just some random question. Can you give some insight on how "Greenspuns Tenth Rule Of Programming" apply in this 30million LoC? thanks in advance
The antique computers that just won't quit
That reduces the history depth, but still gets the whole tree. Arguably, the history is much more interesting than having the entirety of the monorepo for many people.
Andrew? I thought it was FLW.
I run a small newsletter and I'm trying to get more subscribers. Any advice?
I write a newsletter focused on helping millennials succeed in the workplace and in life. My newsletter typically features two interviews from prominent business people as well as a few interesting articles.
Here is the link: http://www.arilewis.com/newsletter/
Yes. Whether you have self control or not, a bouncing widget on your screen, accompanied by sound effects (or not), is distracting.

I do several things to help me maintain focus at work:

- No email notifications. Not even a visible count of unread messages. I check email at natural stopping points in my workflow.

- No social media notifications at all.

- No chat programs.

Those simple things really work to help minimize distractions that could break my focus. The only one I haven't managed to kick is the habit of people to just walk up to my desk and interrupt me (the biggest downside of an open office plan).
I live in the SF peninsula and don't think the traffic is terrible. Mostly 20 min to get anywhere. There are a few places 101, 85 and 280 that are busy during peak times in some directions, but other than that, its pretty similar to most other cities I been.
Nike is located 8 miles from downtown Portland in the suburbs of Beaverton. The light rail line runs from downtown to a forest near the campus so those who want to live in a urban environment can do so. One of the benefits to Nike is they can expand their campus more readily in a suburban environment. They recently bought up all the land around their campus and are building a bunch of new buildings. It would have been difficult to do that in an urban environment. But, unlike the suburbs described in the article, the area around the Nike campus is not middle-class white, but tends to be lower-class hispanic. You have to go about 3 miles north or south of campus to get to the middle-class neighborhoods. The farther you go to the east or west of the campus the lower income you get until you hit the agricultural land to the west or get closer to portland to the east.
Triplebyte (YC S15) Is Hiring Talent Managers
Fax Machines Become a Fact of Life for Soviets (1989)
My father was from Ulster, and I have a photo of him leading the marching band leading an Orange parade. I also have a confirmation certificate verifying that he's a good Presbyterian who "is loyal to the Queen and loves God"... I thought the ordering of monarch before deity was particularly telling.
Thank you for explaining, and for the reference!
Well, once you get into it as a hobby, you want to get your own specific cookware, and the gadgets start adding up. A dutch oven, pressure cooker, mixer, wok, cast iron pans, stock pots, etc all start to add up and you have to commit to having some home-base eventually.
>Why would..

Because then you can keep the repos separated. Not saying that you should. But if
this is the only problem that forces you to use a mono repo, then I am just asking if that problem can be solved in this manner?

>hacky scripts that everyone who wants to use the repository must follow when you can just let the VCS itself manage everything for you?..

What hacky scripts? Do you think
they (google, facebook etc) don't have enough resources to build a 'non hacky' script for what ever they needs done?
Well, with respect to stored procedures, I think C++ is a far more powerful language than MySQL's SQL-based approach -- especially since Bedrock plugins can also encapsulate schema changes.

I think Bedrock's replication is definitely more more powerful than MySQL's as well.

So in general I think it's more powerful than MySQL. I'd love to hear your thoughts about where MySQL has the edge, however. Thanks!
Spamming github issues is illegal? Under what law? Certainly it's subjective what constitutes spam.
You don't want to raise kids in Tokyo. Almost no parks, too much concrete, kindergarten places are sparse and expensive, train stations don't have elevators for the pram, trains are overly crowded, apartments are small.
That sounds great. And I definitely would be more than happy to latch onto a repeat experience that was like that. It's just that as a business traveler I'm just not that open to experimenting to finding the exceptional.

I'm not even necessarily a particularly representative business traveler. I like my points but I don't organize trips around them. I don't need or use a lot of traditional hotel amenities like fitness centers. I don't need concierges. I just don't want complications when my plane is delayed 5 hours that involve calling some guy to coordinate getting a key.
Remember the whole google plus integration and how google plus required real names?
Oh. Wow.

The web is supposed to be a platform, and AMP is supposed to be an open standard ... but the end result of this is that Google Search will modify your web application with their own navigation UI?

Yikes. I mean, injecting your stuff into other people's web pages is bad when a cable provider uses it for ads. Is it not bad for the web platform if it's google that does it?

Or is it linked to your usage of their CDN, and not something that necessarily comes with being an AMP site? (Ie, google will cache it for you, but first you have to agree to let them inject your page). That wouldn't be so bad, because it'd mean that you could play in the AMP playground without agreeing to Google having their fingers in your users' navigation.

But if AMP means "Google-injected UI" right now, then that just seems bad.
Probably the biggest drawback of the MSVC backend is that its debugging symbols only have line numbers, no variable/type information. The rest is mostly Windows-specific issues like manifests and subsystems.
Note that you can self-host with Gitlab, and it's pretty awesome.
Checking out on Delta via my Delta AmEx allows me to simply login to my AmEx account (saved via a password manager) and checkout without entering my actual card info. The convenience factor there is definitely nice.
good questions.

I think the methods applied are what needs accredited, not the results themselves. If an organization calls itself news or whatever nomenclature we agree to, they are claiming to follow accredited guidelines that we collectively trust.

At the end of the day, it comes down to heuristics around trust. It's not the message I want to validate, it's the means of preparation that bother me more. I can draw my own conclusions if I can trust the method.

Looking at it this way, would that resolve some of your concerns? Open auditing and accrediting do not need to involve censorship at all. You never lose the ability to say what you want, just to call yourself a "certified whatever". I dunno.
Yeah, so how do you square that with the fast-growing startup culture in San Francisco? Not to mention Palantir clustering in downtown Palo Alto...
It might be worth a look at Immutables (http://immutables.github.io/) or FreeBuilder (https://github.com/google/FreeBuilder), both of which also use Java's built-in annotation processors to do code generation, but involve slightly less magic and produce generated classes which are not overwriting the original class.
Perhaps you need more thoughtful friends. Some of us on the left simply want an end to either of the two parties and their focus on controlling the branches of government. Unchecked power is rarely (never?) good. You also left out the judiciary. Both parties want total majority control of the entire government, and they're both comfortable with abrogating their constitutional duties and any sense of statesmanship if it seems likely to help further their power goals. This won't be good for many reasons, not least of which is the vital importance of including as many voices as possible in the processes of self-governance. We can't maintain stability and improve the future when we're always "winning" by a couple percentage points every few years, while remaining otherwise evenly divided into two hating-the-other-side camps.
Have a simple physical task that you do during those times, e.g. standing up and stretching, touching your toes, etc. Such things are not mentally distracting in the way reading news headlines or checking email is.
This may come as a shock, but there are people out there that like things you don't like!
The biggest problem with Tesla + solar panels is that most people charge their Tesla at night. So you need to add a battery to that equation to really drive on sunlight.
Not a fantasy. In Australia contactless payment using smart cards is now everywhere, even in the small news outlets, food stalls and coffee shops. I bought lunch at a small shop just a minute ago with one.

For things like buying second hand cards we also have a pretty good online direct deposit system where you can just transfer money online.

Cash is losing the war here, check out the graph in the following article showing the dwindling usage of cash.

http://www.heraldsun.com.au/business/why-our-looming-cashles...
I think his point is that if you happen to have $400K in the bank, you can buy a $2M house in Silicon Valley with 20% down, make $400-500K/year combined, and in 10 years retire with $2M in the bank and the house paid off. While if you live elsewhere in the country, you could buy the $200K house free-and-clear, make maybe $150K/year combined, and...well, in 10 years you'd also retire with about $1.5M in the bank and the house paid off.
For things we absolutely depend on, (like information in order to make rational choices), then hell yeah!

The thought of firmware or software in my body at some point scares the bejesus out of me, and it would bring me peace of mind to know there are accredited and audited standards for developing my pacemaker warez
> I consider cities like NY and SF to be great places to live if single but basically untenable with a family except in certain circumstances.

Could you elaborate on that? I've got an 18-month-old, and we happily commute by train together in San Francisco every day.

At what age does it get bad?
Or perhaps some of the best people actually like living and working in the suburbs? Maybe their lifestyle and situations are different from yours?
It is so far only on a marketing par with the ргьфт - in fact the guys from Microsoft received WER (word error rate) comparable with the number of errors that would make a person. But these are inherently different mistakes - people often pass unimportant words while algorithm does not recognize some not-so running or vernacular words.
Developers are still more likely to implement the one API that provides n payment methods than implement n APIs to get n payment methods.

That is, a payment processor like Stripe that provides AMEX, MC, Bitcoin or what ever is often more valuable than by being able to reduce complexity in the integration of services.
Somehow, as a Software Engineer, I'm not really surprised.
[Podcast] Docker Networking 101
Generally not mutate. And if we must mutate, mutate in a batch with a single method with a descriptive name.

We should generally not use goto or local variables either. Avoid reaching for these constructs first. But if it's by far the cleanest, and simplest way of solving the problem - which it usually isn't - go ahead and do it.
Actual studies were never needed to convince managers to switch processes. Bonus points for blaming old problems on old process while blaming new problems on "not doing agile right".
Most people prefer a mansion, a giant salary, etc. But doesn't mean they get it.

The problem is that if you want to be at the interesting end of IT you probably need to be somewhere with a decent population (1m+ , maybe closer to 3m+) to have multiple employer options. You might also want to be in a largish place for cultural options (rock concerts, professional sports teams, varied cuisine, minority hobbies, whatever).

Trouble is that big places have various combinations of traffic, high house prices, long commutes etc. So suddenly the nice house in the suburbs you can afford is a 60 minute drive to work and on the weekend you spend all day in your car driving the kids (until aged 16) from place to place.
We don't always need to apply an idea in the abstract to everything in the world. There is a big difference between someone who makes CRUD apps for a living, and someone who writes firmware for a pacemaker. No need to paint with such broad strokes.
"Why Are America's Most Innovative Companies Still Stuck in 1950s Suburbia?"

Hmm, maybe because some of us actually appreciate not being in some smog-chocked urban hellhole? I mean, if I'm going to commute somewhere, I'd rather commute to some place where there's actually, you know, grass and trees and stuff.

I lived in one of those suburbias for quite a bit of my life. They're perfectly fine places with plenty of room to stretch out and enjoy some air that's actually fresh. Hell, some of them even have actual wildlife; fancy that? But apparently the city-slickers are too good for that, what with their fancy concrete and smoke and noise and light pollution.

I just love the implication that everything that isn't a city center is devoid of luxuries like clean water or smooth-flowing traffic. Yes, us suburban and rural peasants are apparently stupid for believing that there's an actual alternative to being stuck in yet another skyscraper between bouts of fighting for elbow room on buses and trains (both of which exist even in rural areas, let alone suburban, by the way; the article seems reluctant to admit such amenities exist anywhere outside of the Big City™).

Yes, keep pretending that the city life is the only life worthwhile. More room for me out here in the woods.
it would help these people to read http://docker-saigon.github.io/post/Docker-Caveats/
Invent git? Not even close, their product is good and has served as a great place to FL/OSS to thrive, I don't agree with the whole moral police thing but seriously before claiming things do a 5 minute research
As I said, this is not necessarily my position but the position of someone with a PhD in nutritional Epidemiology who focuses her research on gene diet interaction. Seeing as I don't know anyone more competent than her, I'll just trust that judgement.
That's absolutely fair, but a Tesla is $80k and the note payment on $80k is at least $1k/mo. A reasonable note payment on a gasoline car is $300/mo and you can buy _a lot_ of gasoline or diesel for $700/mo, before you put a single electron into your Tesla.

Sure there are ostensibly other EVs out there. But it's basically a fun car to drive (Tesla) or a total bummer (Leaf or Volt). I've got something in between (turbo 4cyl) for half the cost of a Tesla per month, fuel included.

Perhaps once the Tesla is paid off it gets super cheap to drive, but about that time you'll need a new battery pack I'd suspect. So in a way a Tesla is a $60k car with a $20k prepaid fuel card. It's cool, don't get me wrong. But unless you're willing to bury your head in the economic sand in a pretty serious way, it's not somehow more affordable than a car based on a traditional ICE.
- Time bars (incredibly handy for optimising for things like tight connections, which can be essential when flying international and missing a connection means being stranded for a day): https://i.imgur.com/RteViUF.png

- Multiple departure/destination airports (you can search SFO,SJC,OAK to LGB,LAX,SNA and back in a single search). To be fair Google supports this on desktop too (but doesn't on mobile).

- Better search for return flights with variable stay lengths (Google only does a 5x5 matrix, ITA Matrix does a full month).

However, perhaps the biggest downside is that you can't actually book through ITA Matrix. It only finds the fare, you have to find it elsewhere to actually buy it (although Hipmunk takes routing codes, which makes it easier)
This is interesting, but if you need card present payments and EMV, something like CardFlight's SDK https://cardflight.com/sdk/ is going to be a better fit.

Disclaimer: My friend works there and has told me all about it.
Well, they aren't THAT late :)
Visa, for example launched something like this just few months back.

I'm also not sure what kind of impact these APIs have in the "real world", I'd venture to guess vast majority of the merchants is sticking with one-stop-shop payment processors instead of switching to point-to-point integrations with card networks.
> Where is the Stanford Research park?

Check out http://stanfordresearchpark.com/explore

There are a bunch of companies located here including parc, VMware, nest, SAP, Tesla, HPE, etc.
Bluebird isn't written in C. It doesn't even depend on a compiled node addon.
One of the features I like to use a lot is the ability to specify fair classes. As an example, say I want to fly to Tokyo, and I am an Alaska Airlines mileage plan member. Alaska Airlines does not fly to Tokyo, but it has deals with airlines that do. However, sometimes the fare classes are quite complicated. For instance, "Economy" is broken down into many buckets, and not all are created equal.
For instance, Delta has at least 13 buckets for Economy, and they each 'fare class' award different amounts of mileage to Alaska flyers [1]:

E: 25% Mileage

L, U, T, X, V: 50% Mileage

H, Q, K: 75%

B, M, S: 100% Mileage

Y: 125% Mileage

If you search on Google Flights, these will all be called "Economy". If you search on most of the other OTA's, you can sometimes find the fare class during checkout or even as part of your search results, but you can't filter on it (Hipmunk is one that does support some of ITA's syntax for these filters, but not all). The buckets aren't always strictly more/less expensive, but they're usually not exposed very easily, if at all[2]. So, you're often left crawling from listing to listing, expanding to see if they are going to get you any miles. (I'll save the debate of whether miles are worth all the effort for another day.)

On ITA, it's not unreasonable to construct a query that says "During the month of November, show me round trips that are between 12 and 19 days that are going from Denver to either Narita or Haneda Airports, which will earn me more than 50% miles on either Delta or American or JAL, but also only ones that connect in Portland or Los Angeles, with no prop planes or overnight stops, and no <50 minute connections or 3+ hour connections". (I wouldn't actually specify all of these stipulations, but they're good for the example! :) )

[1] https://www.alaskaair.com/content/mileage-plan/how-to-earn-m...

[2] Delta, to its credit, does allow you to search by minimum fair class on its advanced search)
Could it be that TDD vs. tests-after-code is a highly personal thing? I personally find it easier to write good tests after I've coded something functional. Before hand, I know one or two fuzzy ideas of what I want to accomplish, but I can't list out the concrete, real-world test scenarios until after I've coded something, poked and prodded it, etc.

But I know some people are wired differently; they'll think a lot more about scenarios first, then code after they have everything accounted for. For them, TDD as a philosophy seems more fitting.

I think the chasm exists between _untested_ code and code that has tests. I've never understood the seemingly-religious zealotry behind TDD as an XP practice. Just like pair programming... if it works for you and your coding style, awesome. But don't force it down my throat or act like it's the One True Path to clean code.
Math and Physics Visualizations
Related 2D art tool on HN 3 years ago: Sprite Lamp

https://news.ycombinator.com/item?id=6696691

edit: semi-freshly re-written in C++ according to the blog
Doesn't HN also have community guidelines and sometimes bans accounts that violate them? What's the difference?