skysight-inc/HackerNews huggingface dataset:
You can bring frozen water through. Just drink the liquid before you actually get screened.

Once you drink half, refill it at a fountain (or lukewarm water from a bathroom sink if you can funnel it in) to have more cold water.
It could be changed to that, but what am I really asking? "Is zero lower than the length of my array" is a bizarre way to word the question, as opposed to "is the length of my array greater than zero".

I believe in self-documenting and obvious code, and I think if statements should read as much like a human sentence as possible.
This is a good post and it was pretty comprehensive. Worth noting however, that there are many more hairy solutions Fred didn't raise.

For instance, some founders will negotiate a grant upon IPO or upon sale of a company beyond $x dollars as a way to try and align interests with investors. The problem with those is that it can cause unnatural behavior (eg, Snapchat IPO'd too soon, I'd argue, because Evan's investors gave him a grant that vested upon a qualified IPO exceeding a certain price. Or the tax issues late-breaking grants can create upon a trigger.)
Blueprinting for software products
Only if I _want_ the array to be empty, otherwise I have to put an ! in front of the that — which in Swift also needs brackets — which is just adding noise to the signal, really, which really defeats the purpose of avoiding the greater than symbol here.
It is pretty awful how focused education--generally speaking--is on memorization.
You can still buy it. The cloud version is optional.
I want to believe this. However, I also feel bewildered when I check the news of what all has happened in js frameworks in the past 3 years. Especially true, if I consider how different the big frameworks of today are, compared to the same frameworks 2 years ago.
The author should talk to the admissions dept of his school, which requires applicants to have straight As, or darn near close. Penn/Wharton isn’t famous for taking risks on the non-wealthy.
Unless you plan to only work on personal projects by yourself, any kind standardization in your codebase will always require some kind of team meeting.
You can use ~= if you're looking for a succinct way to do an operation like this:

if 2...4 ~= x
Types of Car Insurance Everyone Should Know in 2019
> The problem is licensing...

It's led to larger tech companies rolling their own, which often means just taking something already out there and changing a few corners slightly and calling it a new work.

https://www.arun.is/blog/custom-typefaces/
Well sure, except if the array is optional (and I agree it's code smell, but that's what you get when you use other peoples' libraries, I guess) that statement doesn't unwrap the array for me to use; I'll either need to do it manually on a second line (waste of effort) or every time I try accessing that variable. If I access it a lot, this is inefficient duplication.

Plus, I don't like abusing the nil coalescing operator. Once you're abusing anything, you're adding signal to noise and making the intent of a statement less clear than necessarily, I feel.

+1 for isEmpty, though. According to the docs, count iterates over collections that don't conform to RandomAccessCollection, so best to avoid unnecessary overhead by adopting good practice! Thanks for that.
Yes, if you use the pattern matching operator I suggested to the original comment's author:

$ swift
Welcome to Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1). Type :help for assistance.
1> let x = 3
x: Int = 3
2> let y = 3.0
y: Double = 3
3> 2...4 ~= x
$R0: Bool = true
4> 2...4 ~= y
$R1: Bool = true
Yeah I dunno this doesn't seem unusual to me, for instance here is RIOS aka POWER1 from 1989 http://ps-2.kev009.com/ohlandl/RS6000/RS6000_RISC_Chipset.ht.... It's possible to get 4 instructions per clock (a branch, a condition-register instruction, a fixed-point instruction, and a floating-point instruction) as well as a FMA (fused-multiply add) going on this implementation. Later implementations greatly improved the ILP from there.

More ugh is something like managing delay slots which MIPS and other common chips used in the 1990s consoles used https://en.wikipedia.org/wiki/Delay_slot. POWER is a much nicer and post-modern ISA so I think the 2000s era consoles were a lot easier to develop for.
Sadly, you must have gone through a poor program. I don't know how things are generally done, but at Caltech there was very little memorization - exams were open book, open note. The emphasis was on derivation, not formula plugging.

Engineering formulae have assumptions built in and if one doesn't know that, one is apt to misapply them to cubical cows.
I didn't know about this. Brilliant, cheers!
New York and London have okay subways. Tokyo has a great subway and incredibly light traffic.
Huh. Are you thinking of Uber here, or is this a more general point?

If the former, I'm not sure that's possible given what we know about their cap table. And if the latter, wouldn't fiduciary duty to minority shareholders still require the board to accept a sufficiently good offer?
Neat to see how many fellow coders cut their teeth on ZZT.
So, this statistic is a little bit incomplete. It's relatively easy for clever operators to sneak contraband past TSA, but the TSA does confiscate a lot of potentially edgy stuff from travelers' carry-ons: thousands of firearms (including loaded), knives hidden in deodorant, many pounds of black powder.

So while it is easy to beat, the TSA screens do succeed at enforcing the most obvious violations to current regulations. Whether the signal (things that seem like they reasonably should be confiscated) to noise (toothpaste, water, nail clippers, pocketknives) is acceptable, I don't know.
After checking the wiki link: Does it internally construct a kind of AST for the symbolic derivative, but only returns particular values, not the derivative itself? i.e. Since the new function returns derivative values, it seems it must itself be the derivative...

Looking at your github link, multiplication (product rule) doesn't seem to be handled there (only `def_linear(anp.multiply)`).

Would an implementation be something really straightforward, like:

*(f(x),g(x)): f(x)*g'(x) + f'(x)*g(x)

i.e. it internally constructs an AST of the derivative, but only returns results at specific points, not the AST itself.

(Actually, the wiki eg for Forward Accumulation (https://wikipedia.org/wiki/Automatic_differentiation#Forward...) does include a product differentiated in this way, so I guess I got it right).
In your specific example, it didn't look like you wanted to use that array, so I thought I could save you a variable. If you are planning to use it, then by all means bind it to a variable for reuse.
I believe he was 1 of 4 co-founders, and then raised 11 (according to crunch base) financing rounds. If you get diluted even a very reasonable amount 11 times, you won't end up with a large percentage of the company.

Basically if a company is successful they'll probably raise many rounds and then end up with their founder/ceo only having a small portion of equity. At this point, the founder/ceo might be rich and has "made it" so could easily leave and be happy, but investors may want them to stick around. One way to get them to stick around might be to compensate them with even more stock.

Obviously depends on the situation, but it seems silly to lose a founder/ceo because investors didn't want to dilute their equity and give the founder/ceo a little more.
Of course, but the comment I replied to says that the max-speed max-packed scenario has much less throughput than a subway. That's completely wrong, and it's important to point out that it's wrong in order to see where the actual bottlenecks are (at the on/off ramps and feeder streets).
Oh, for me, I absolutely use emulation, for obvious reasons, debugging and RAM/VRAM viewing/mapping being the obvious ones - I then use a tool provided by jo-engine that does all the tough work of creating an ISO file that I simply burn to my drive-door modified Model 1 NTSC Saturn when I want.

It's not ideal. Nor, however, for me, is the Dreamcast's need for either an outdated serial port, or an expensive and rare broadband adapter.

Furthermore, the Dreamcast just seems like one of the first systems that seemed extremely close to a PC. I love that I can still fiddle with assembly in very logical ways with the Saturn. I'm not sure if that's the case with the Dreamcast. (The DC, is, incidentally, one of my favourite consoles ever in terms of software!)

For the Saturn, there is a new piece of software that can be uploaded to certain times of common/inexpensive Action Replay/Backup RAM carts that allows you to run standard burned CD's. I've meant to buy one for a while now, but sadly I haven't had the time I've wanted to prioritize Saturn dev in the last while due to adulting. :3
This is a misconception. Over time, OPEC actually LOWERS prices, not raises them. This is because oil has lag time from investment to production, so it has natural boom/bust cycles. If there was no moderator akin to a central bank, producers would eventually be knocked out of the market and set the stage for prices to rise to marginal benefit. Producers need reduced price volatility to make decisions, and also some producers have higher costs and cannot survive in low price environments.

We saw something like this is 2008 where oil rose to $140/barrel and people still paid that price. This can happen again once shale growth levels, and years of underinvestment in expensive oils like deepwater and oil sands bite.

Sorry, but once again Trump doesn't know what he is talking about. He majorly F'd the OPEC countries and allies by telling them he'd sanction Iran and then pulling back on it after they invested in production. You cannot simply turn on and off the taps for oil, and he doesn't understand that. OPEC had no choice but to plan a cut or else the market would have driven more into bankruptcy.

Edit: Also a fun fact - US shale oil primarily produces gasoline, so even if OPEC cuts we still have adequate supply of gasoline. But actually prices for gas aren't down much because of added taxes. The Saudi oil minister actually commented on that this week, that it is unfair that they helped consumers by increasing production (as Trump requested) but when crude prices fall governments fill the gap with taxes.
https://support.google.com/google-ads/answer/2454000

I see it in my account and I have barely spent anything on Google Ads
> This article reads like someone who doesn't understand inequalities

Not really the point I was getting at. I don't think the author is stupid, and I don't think their style is hazardous. I think it doesn't matter.
Fair point. However one could argue that symbolic AI is a harder problem, perhaps awaiting a theoretical breakthrough. And that the pace of progress in this area has slowed at least in part due to ML hype sucking all the air out of the room (along with the best talent).
Ask HN: What news sources about Artificial Intelligence do you read?
Just want to say thank you for sharing your thoughts. It is helpful to have different perspectives on this issue.
Many major airports (and many minor ones it seems) offer a way to refill empty bottles after the 'security' check. That's not really the point of my comment though.
Every two weeks it hits front page and usually comes from nyt!
For normal scalars any are fine and I can see the number line merit of the post. Where I find much greater value is when dealing with points in time. Write x.isBefore(y) rather than y.isAfter(x) especially in compound contions.
The web is dominated by a closed source browser built on an open source core, owned by the company that has the most private information and power to censor of any public company.
Then I've been writing true AI all my life!
I may just be really tired and not understanding, but I think we're talking past each other about two different things.

"Solo founder bootstrapped company" sounds to me like "90% of small businesses", and I'm pretty sure virtually none of them have founder vesting, and yet they manage to hire people without the business owner having to vest their shares. Do you just mean in the case where they're going to issue shares to employees? So if I've been running this company for a couple years and I hire someone that I want to compensate with equity (which would be pretty unlikely, given that I think that's generally a crummy deal for both of us), why exactly can't I set them up on a normal vesting schedule?

Similarly, I suspect VCs are perfectly willing to invest in teams where the sole founder didn't previously have vesting setup. Indeed, I'd expect that's nearly always the situation.

So if I want to raise money, why can't we work out a vesting schedule at that point, which I suspect is how it goes 99% of the time that investors want solo founders to setup vesting. They weren't vesting at all before then, because, why would they? Doesn't make any sense.

This seems a bit like buying life insurance when you have no dependents, because you might get married and have kids later. Yeah, so get the life insurance then. In the meantime, who is getting that money if you die?
I read the description "fully synthetic" here as practically specifying a product which can be created by manufacturing process from elements - as the clinical term "elemental diet" also accidentally suggests. Such a product is also what the lead comment supposed was possible as an alternative to agricultural production of food. To me this is the context of "synthetic foods" which we replied under.

From intuition and lack of ever coming across news of an alternative capabilty, I strongly suspect that besides salts and water most of the materials found in medical "elemental" diets ( carbohydrates, fats, vitamins, amino acids, etc) are refined and processed extracts of natural, oops.. grown;) ingredients.

This product guide partially confirms my intuition [1] :

>" Modified cornstarch and maltodextrin derived from corn are two commonly used ingredients in elemental diets. Physicians’ Elemental Diet instead contains tapioca maltodextrin and no modified cornstarch. "

[1] http://data.integrativepro.com/product-literature/info/physi...

...

>I think human extinction is super important to worry about and not enough people do it.

Not enough influential people do for sure, or of less absolute but much less unlikely threats. Oh well, we made it this far, not all bad, at least there is much room for improvement.
Is this true?! I bought 1password 4 for $99 and I upgraded to 6, but from the website I can’t tell if I now have to pay $2.99/mo or I can download the next version for $99 again...
> I could care less about concerns about monoculture in web browsers. The web is now dominated by a open source browser that works across many platforms. That's a dream come true.

This is an optimistic take on the situation. A more grim one would be that the web is now dominated by a nominally open browser that caters to the whims of a single corporation that would like nothing better to have complete control over the web, using its leverage over the dominant browser to push de-facto standards that will end up being adopted by others. The truth is likely somewhere in between those two extremes, or a mix of both.

> I'm more concerned about where the internet as a whole is heading. All the privacy violations and censorship that's going around makes me want to find an alternative or maybe become a hermit.

And, unfortunately, said company doesn't have a particularly spotless record on this front.
They tried that with edge.
Keep in mind some founders have had careers before starting a company (average age of YC founders is like early 30s?) so they might have 10 years experience leading teams + some significant victories that came from their startup.

If someone fresh out of college just worked 5 years on their startup and then abandoned ship they probably wouldn't get a very impressive role unless their startup was a crazy fast success though.
CA is an odd duck both because of its taxes and regulations, and because the oil produces in middle America do not flow by pipeline there. So CA pays the higher international price for their crude oil.
On changing roles - how to approach a career change or promotion
There's a new line of analysis every two paragraphs in this article. None bad, just... it can be a bit dizzying.

I liked this point, somewhere in the middle:

“The middle price band is nonexistent,” says Reith. The current U.S. cell phone market could be compared to an auto market in which the majority of consumers either bought a Mercedes or a Kia, and brands like Honda essentially didn’t exist.

I feel like Android originally gained market share by competing aggressively on price. When the flagships started embracing iPhone prices, I was pretty disappointed.
The battery on those phones aren't removable (at least not officially)
....but, the goal isn't catching violations of regulations. It's stopping actors with bad intent.

There was no epidemic of "plane knife fights" or "accidental pistol discharge in planes". Catching incidental weapons that weren't going to be used for harm is basically zero value.

All of the value comes from stopping people with bad intent from having weapons. If 95% of them can get through, then that's a very bad system.

In other words, I don't think you've correctly identified signal vs noise.
Biometric authentication and banking fraud detection are two more areas where there has been a step-function improvement in accuracy with little pomp.
Maybe it is not an anomaly, but a message: the huge amount of liquidity pumped into the system is going to break soon in the form of hyperinflation. [0]

[0] https://www.google.de/amp/s/seekingalpha.com/amp/article/404...
Yeah, as an atheist, the weekly unforced meetup you guys have is the one thing I do envy.

I wonder how many of the churchgoers secretly have no real faith and are only there for the company...
Neutralinojs vs. Electron vs. Nw.js
Tinciones histológicas
I had no desire to make friends until college. I was so content with just hanging out by myself that I didn't even realize that other people were making friends. When I got to college I finally realized that I was so different from everyone else.

I basically had to start from zero social skills and work my way up which is/was extremely painful.

Can anyone relate? I think it has something to do with my parents because they aren't social at all.
That or the sort of person who tends to work in tech.
What's the "IRC Foundation"? As a long-time IRC user, this sounds like a scam after reading through the the 'article', I don't know what exactly they are doing besides throwing all the buzzwords and trendy web design out there.

On the other hand, I want to give the benefit of the doubt that they are somehow improving the IRC protocol in some meaningful way.
Yeah, I know you can rent goats, was just joking about an Uber for goats because of how many comments worried this wasn't yc enough.

E.g.: http://rentagoat.com

I should have added an /s tag.

Not complaining though, I think it's good for yc to stretch a bit sometimes.
> This might explain why Steve Jobs finished high school with a 2.65 G.P.A., J.K. Rowling graduated from the University of Exeter with roughly a C average, and the Rev. Dr. Martin Luther King Jr. got only one A in his four years at Morehouse.

In contrast, Jeff Bezos, Bill Gates, and Mark Zuckerberg all graduated at the top of their classes in high school. So much confirmation bias - and that too from a psychology professor!
On the contrary, Lyft and Sidecar both launched after I moved to SF, and I believe Uber was only a black car service when I moved there.
The way grades work these days (most recent source: a friend who graduated public high school in Palo Alto in 2014), a large fraction of the grade is doing homework. Lots of homework. Enough that the friend I'm thinking of was often awake into the a.m. doing it.

It's not that he had to spend that much time to learn the subject for the test; he probably could have dropped half or more of his homework and still done fine on the tests. The trouble is, if he did that, even if he got perfect scores on the tests, he would have gotten Cs or worse in the overall grade, because of the portion that is homework. This friend decided he wanted to play the game and max out his grades because he wanted official recognition (he did get into Harvard later). Another friend, probably equally intelligent, did drop a bunch of homework, did get Cs, and had a rough time with college admissions (through a string of luck and outside intervention involving setting up a meeting with a Fields Medalist professor at Berkeley who then advocated for him, he managed to get into Berkeley). Both friends are now doing math PhDs.

I, myself, also dropped a bunch of homework, also got Cs, and left high school after 10th grade, and never went to college. I subsequently studied programming on my own, and have been employed doing that for nearly four years.
Exactly right.

It's almost like the tech press wants Waymo to aggressively pursue a very public failure.

Even one disengagement every 5000 miles without human backup will be perceived as apocalyptic when your fleet drives thousands of trips a day.
It was a cell growth simulation. Morphogenesis. The goal was to start with a single cell and see if I could make it divide and grow into something neat. The constraint was that all the cells were identical, and 'knew' only a limited amount of things about their environment: how many neighbors were touching them, and the levels of an arbitrary number of 'chemicals' that would diffuse from one cell to the other.

I made the scripting language as an easier way to program the 'rules' in the cell class. Dozens of little rules such as "if chemcial_0 is between 0.879 and .936 the increase chemical_1 by a smidgen," or "if chemical_23 equals 1.738 then undergo mitosis."

The little shorthand syntax was far easier to read than the mess of conditionals in C++.

It was pretty neat. Used Box2d for the physics part.

Got up to making a worm kinda thing with legs.
But then gave up.

Trying to make identical cells differentiate into asymmetrical patterns is something that always intrigued me. Got interested after reading this: http://www.mvla.net/view/19352.pdf

How's that for a long-winded answer...
But they can compel my colleagues in Australia to do it, and that is still too close to the tyranny to me.

Keep this in mind: The Australian government is still ripping children from their parents.

If software that I am involved in is in any way responsible for assisting that, in any way, I would be more than furious to say the least.

Nope, its Option #2 for me. Australia can go to hell.
Dupe: https://news.ycombinator.com/item?id=18635509
Doogle: Web search of the people, by the people, for the people with Go
"Go ahead and find out which one, I'll wait" ... As if it required herculean effort.

"which is a stupid option because it implies 10 < 5"
No it doesn't.

And I stopped reading.
But you have to know if the boundaries are inclusive or exclusive, which leaves you with four different possibilities. You and everyone who reads your code needs to know this.

Ruby is my main language and I would have to look up the boundaries of this function.

Your "explicit" statement is also so much worse than using `x < 5.0` or `x <= 5.0`, depending on what you want. This is terrible advice imho.