skysight-inc/HackerNews huggingface dataset:
The easiest way to learn recursion imo is by limiting the domain.

For example, we have a thing called a number:

x

how do we indicate the next number? Well we need a new symbol to distinguish one number from another.

Lets use a marker called prime:

x, x`

Great, now we have two numbers. But let's get a third number. How could we indicate that? Well we could introduce a totally new symbol, like a 'q'.

x, x`, q.

Well that works. but we seem to have just arbitrarily chosen q. There's no immediate obvious aspect of q that lets us know what the next symbol should be if someone asked us to add yet another number. We have three distinct number things but no clear unified way to proceed... But wait, before we took some number x and added a prime to it:
x->x`
which got us a separate symbol, aka a different number. What if we just do that again but this time with our second number:
x`->x``
Great. Now we have three numbers, and we can always use the same rule "add a prime mark" to generate the next symbol, so long as we input the last symbol into our rule:

x, x`, x``

We also wind up with neat little equivalences:

x`` = x`, x = x, x, x

or if our prime operation is a function:

x`` = prime(prime(x)) = prime(x`) = x``

so x``, is just the result of prime of prime of x.

So on and so forth until infinity.

What makes recursion harder to work with in CS is that, unlike summation, you can't go to infinity--you need to terminate the operation eventually if you actually want it to do anything. Because of this and because of the fact that our inputs are not little units like numbers but are usually data structures which require more rules to recurse over, recursion in CS is tightly and innately coupled with pattern matching and the notion of defining bottoms or terminating cases which is not the case for operations in mathematics where we do not care about terminating because it just encodes the rule and isn't actually meant to do anything, and when we do need to do something with it we limit it by deciding when to stop (so I guess some neuron firing is the bottom/terminating case for human operations?).

Recursion in CS is also additionally difficult because we have to worry about how the computer stores the results of each recursive application and feeds them back whereas, kind of like a high level language, our brain just manages all that for us when we do math. Also note that we take huge shortcuts with things like Arabic numerals--which are an incredible advance in efficiency but probably obfuscate the recursive roots of mathematics for most learners (e.g. you just learn that some symbol 2 and some symbol 2 is another symbol 4 and not that these are encapsulating successive applications of the same rule over a set of arbitrary symbols--I mean, your brain knows this deep down--that's why it works, but it makes it difficult to immediately comprehend that it is in fact recursive unless people have pointed this out to you--at least that was my experience; I may have just had bad teachers).
There used to be a function where you paint an area with a color key - bright magenta or nasty cyan - and the graphics card would directly render decoded mpeg2 into that region. If you moved your media player fast enough, you'd see magenta seams, as the rendering would lag one frame. At least with some cards or drivers, the area was not clipped properly, and you would see artifacts if the mask color appeared in other windows (or a window using the color was on top of the video).

I think this fell out of use when people moved to the "compose everything" rendering scheme.
Interesting! Thanks for the reply.
Google’s Response to an Employee’s Controversial Diversity Memo
Relevant article on a tax to fund the changes https://www.nytimes.com/2017/08/06/nyregion/bill-de-blasio-w...
Simple answer: never unless you happen to have unbounded call stack depth.

Stack sizes are limited on all architectures I'm aware of, on some even drastically. And stack overflows are very tricky to handle correctly.

Unless you want to limit recursion depth manually or have proven that overflow cannot happen with a formal proof. (With your bounded stack size.)

In all other cases, explicit data structure (not necessarily a stack) will both make debugging easier and additionally uncover performance problems you haven't thought about.
That's a feature, not a bug, in my opinion. Recursion preserves information about the function's execution. The problem is debuggers being too dumb to detect it and present it well.
Well no. If you make a pancake and pour chocolate sauce on it you can call it "cake" but it's not cake.

No true Scotsman would have misunderstood me.
If you want to really delve into recursion, I recommend to learn a logic programming language like Prolog.

Interestingly, Prolog programs are often efficient and general because, due to the power of unification, Prolog programs are more often tail recursive than functional programs.

For example, we can define a relation called "append" in Prolog as follows:

append([], Ls, Ls).
append([A|As], Ls, [A|Rest]) :-
append(As, Ls, Rest).

In Prolog, recursion naturally arises by considering the inductive definitions of terms. For example, you can read the second clause as "If it is the case that append(As, Ls, Rest) holds, then it is also the case that append([A|As], Ls, [A|Rest]) holds".

Note that such cases are not naturally tail recursive in Lisp, for example, because in languages that do not support unification of logical variables, there is one additional call of "cons" after the recursive call to construct the result. Also, the Prolog version is much more general and can be used in several directions! For this reason, "append" is not even a good name for such a relation, because it already implies one particular direction.
I remember being amazed the first time you could have a Quicktime player window playing live video and also being slow genie-effected to the dock if you held down the shift key as you minimised the window.
Regis Live Downwards Records Techno Set Party Tschechien
This is tree recursion that is not well optimized by modern compilers. AS opposed to tail recursion.
So, an RFRFC?
Samsung Galaxy phones are single buffered when in VR mode. They 'race' the beam by rendering to the left eye buffer while the right eye is being scanned out. then switch.

Just a neat fact.
A Nazi sympathizer creating "degenerate art?" The world is full of contradictions.
re# studio | Multiple Roles | REMOTE Freelance/Contract + ONSITE FT

We are a software company based in Brooklyn, NYC. Our team creates websites, mobile apps and VR experiences. Our clients range from fast-growing startups to some of the world’s largest enterprises.

We are currently seeking to fill multiple roles, including 4 contract/freelance PT positions for which we will consider REMOTE, as well as 1 ONSITE FT position:

REMOTE | Freelance/Contract | Sr. iOS Developer
REMOTE | Freelance/Contract | Sr. React + react-native Developer
REMOTE | Freelance/Contract | Sr. Python + Django Developer
REMOTE | Freelance/Contract | WordPress Developer
ONSITE | FULLTIME | Senior Developer

Please email us: info {at} rehashstudio {dot} com with your resume, sample work/experience, and/or Github profile. Freelancers/contractors, please include your rate.

Our hiring process typically includes an introductory phone call followed by a short coding challenge via Hangout.

Please: no recruiters or agencies.
Do you think he would not have been fired for his comments if he had been popular / well-regarded in his role as president? What does it mean that you can basically be terrible at your job but not get fired until you express a minor deviation from orthodox thought?
We're building a similar at product at https://loaddocs.co and hiring, if you are interested.
This idea that all opinions are equal and need to be respected is ridiculous and needs to stop. Politics is real and political opinions and actions have real consequences. Not all political opinions should be respected. In fact, it's our duty as citizens to evaluate and mock / scorn the opinions of others that we see as toxic. No one is protected from this and people that think they are, are feeling entitled to something that they do not deserve.

Protections of free speech apply to government actions only. This isn't a free speech case. Google can do whatever it wants, including firing the poster of the manifesto. If Google, for whatever reason or no reason, doesn't want such thinking in its organization, it should have no qualms about firing the poster. There is no safe space, except from the government, for political opinions. The poster should know that by know. People have been fired for way less. Many companies would not want a toxic person like that in their midst and that's perfectly fine. It creates a toxic workplace and brings everyone else down. That's a great reason to fire someone.
I remember when I was learning recursion that I didn't get it for a while until it just clicked and made sense one day. It's hard to remember what it was like not getting it, but I think that a large part of it was not trusting that the recursive call would return the right thing. Eventually, by just encountering more problems in class where it was needed, it just clicked. I think it's that lack of trust that gets a lot of people tripped up.
> 1. The manner of seizure is the same; were the poor in the OPs examples given the chance to "own" their situation? I'm sure it happens, but in all the cases and situations I've seen, the poor are simply subject to the choices of those with better means (wealth, status) to sway decisions.

Poorer people often own property, as it's one of the few ways of amassing any wealth that are more protected in our society. Sometimes it's inherited. I don't find it unreasonable to think there are neighborhoods of poorer residents that have some property held in common, such as a garden, park or green strip.

> 2. Those you are asking believe in equality across the board instead of some variation of progressive social balance. Not saying that I believe this one way or the other, but I can see why someone would make the argument that what's "fair" is relative in situations like this.

I believe the recourse available should be the same regardless of means. I believe the penalty or cost can in some circumstances take into account means. I think that translates into wanting all people to have an equal chance to resolve the situation in their favor in similar circumstances, regardless of wealth, even if the cost to do so may scale somewhat with wealth.

> I just think that saying this to start the discussion is an unfair way of painting everyone who opposes your point of view negatively.

I don't think so. "Presumably" plays a very important role in that statement. It leaves it open for people to explain a separate point of view, which many have done. I try to choose my words with care, and not be overly assertive about opinion.
No, that's not the argument, perhaps read all the slides, in particular slides 20/21. It's true that cs doesn't involve a lot of math, but that's really just a side point and a little in joke for mathematicians. The argument is the disparity is so small that it could not account for the massive disparity we see in tech.

Re your question on biological or psychological causes, why limit your consideration to those areas? The evidence points to social or economic causes, given the large shifts in women over just a few decades:

http://www.npr.org/sections/money/2014/10/21/357629765/when-...
The two biggest problems with recursion in practical use is that not all compilers can properly handle optimizations around tail calls, and not all TCO capable compilers can handle all tail call cases.

If either case occurs, you run into the issue where you will seemingly randomly blow out your stack space when your list is too long, or your tree too deep. Then you have to fall back to a non-functional idiom (or do some other magical incantations to avoid function stacks, like Clojure's `loop` special form).

I think recursion is a great tool, but it's so poorly implemented in so many languages that it's simply too dangerous to use.
Why AI and machine learning researchers are beginning to embrace PyTorch
My brother had great trouble pronouncing a certain letter until he moved across tje language and adopted the local dialect.

Suddenly he just started pronouncing it correctly.

Later he was able to use it while speaking normally.

(Mentioning it since it might work better in a business setting. And yes, I think he used to stutter as well but this was many years ago.)
no Per Document Authorization is still my biggest issue with couch that keeps me from using it https://wiki.apache.org/couchdb/PerDocumentAuthorization
Microchipping Employees: Do the Pros Outweigh the Cons?
Travis Kalanick’s deposition in Waymo lawsuit
Is this just OCD, or is there an actual benefit to Knolling?

My gut reaction to this is that it's distracting compulsive behaviour, but I could be wrong. I've found organization for a workshop to be of unexpectedly huge value, so I could be wrong here too.
Hopefully you'll give us a try! I strongly recommend checking out Cluster Truck or following Warcube through it's development. This thing is going to be the next indie breakout megahit, and you can get the hipster cred :D

https://dropleaf.io/Catalog/Game/?Id=57&GameTitle=Warcube
> As far as I could tell he doesn't present any new evidence to back up his argument, either. So, to those who say "it is important that he spoke out, and that we have this debate": when does this debate end?

The problem is that (inside Google and elsewhere) the debate ended by fiat, not because one side made their case better; and it didn't end in favor of a side with tons of science to back it (not even close). My money is on there not being much of an average difference between the population of each gender when it comes to technical talent. But much more importantly, I'm aware that the science is far from conclusive on the topic, since socialization can be pretty different to untangle. The argument at places like Google is that looking at demographic differences in a population and deciding that it must be caused by discrimination is just assuming that nothing else could possibly contribute.

> "We must debate!" feels very objective until you admit to yourself (as I freely will) that you're coming to this with a preconceived opinion, and won't be content until the debate is settled in the way you think it should be settled.

The irony is thick in this sentence. How do you not understand that if both sides claim the other does this, _the one that's actively trying to shut down scrutiny of their claims_ is by far in the weaker position?
I feel sad she couldn't report it because of the consequences. This only gives more power to the people who do it. But it makes me more anger the response of the dean that she couldn't report it or her career would be ruined.
this is great! you should add shaded areas for official recession periods, it's pretty easy to find:

https://fred.stlouisfed.org/series/JHDUSRGDPBR
Low Volatility might actually be an indicator that the stock market is going to blow up, rather than stay calm.

Volatility tends to cluster, and periods with really low volatility are often an indicator that there is a big movement coming.
Nginx has some config features related to just that: https://www.nginx.com/blog/rate-limiting-nginx/
No, but everyone keeps telling me about it, it's on my TODO list.
Well joke's on us because they could already do this. The Facebook knows about my existence. It knows my name, my face, and my friends. My email too. I'd have to avoid contact with all people that use the Facebook to prevent this. Infeasible.

They just don't publish the data because they have little to gain from it and there's no reason to needlessly antagonize people. They sell it without telling anybody.
Although not exclusive I would say this is more important over whether WhatsApp has end to end encryption or not.
I didn't require a dongle until the latest generation.
Won't this just decentralise add-on distribution away from the Firefox add-ons store?
Here I was expecting an article on Google's Wikipedia competitor. But I guess that isn't notable...
> Bananas, Lenses, Envelopes and Barbed Wire

> It's great having the vocabulary...

Right...
> It was considered a witch hunt because nobody cared about facts or evidence, the spectacle was the point. Victims we're persecuted because they were juicy, suceptible targets, not because of anything they did or didn't do.

You're right--you don't know a lot about McCarthyism. The "Hollywood Ten" screenwriters who were blacklisted by the film industry (private employers making employment decisions!) were, in fact, members of the Communist Party USA, an organization that was directly controlled and financed by an adversarial world power. There was substance behind the spectacle.

As for people being accused of things without evidence--well, witness the people in this thread who keep repeating the lie that the author of the manifesto considers his women coworkers less capable than he is, the outright fantasizing in OP about the author getting punched in the face, etc. Looks pretty spectacular to me.
I auto-ignore tutorials that say stuff like, "X made simple". It's almost always trying too hard to make a genuinely difficult subject easy, thereby obfuscating the topic more.
If maliciously misreporting a few things a week is your bar for fake news, then just about every publication out there is guilty.

http://reason.com/blog/2015/08/03/time-smears-charles-koch-i...
Do you have any historical examples of where government subsidies were "wrong"? It might present a stronger argument than one based on a "what-if".
It's not democratic at all. It's specifically the use of resources to impersonate votes.
I have a Porsche Hybrid. Except for the green outlines, noone knows it is an hybrid. Porsche has a racing EV and a lot R&D into EVs. if They release a full EV PAnamera or Cayenne, noone will know except for the small details.

Only people that care about Tesla are nerds and Musk fanboys. 98% of the rest of the people will prefer a Porsche (or Audi or BMW or whatever).

Get out of the USA and outside tech circles, NO ONE (not in tech) knows or cares what Tesla is. Not the same with Apple where even before the iPhone it was a well known brand (know to be mostly a designer's machine, but still known)
To Find AI Engineers, Google and Facebook Hire Their Professors
I expected some Gen-X masturbatory opinion piece about how dumb phones are, but this used lots of real data. Very compelling article.
This structure doesn't prevent tail-call recursion. It's a good template for most instances of recursion. To modify the GP's version, you'd just need to add an accumulator parameter to the function (or to some higher scope, global or class) which could be modified and tested on each recursive call.
Unsupervised Representation Learning with DCGANs (2016)
What?! That sounds like something I would write as an amateur. I thought that modern graphics systems would be smart enough to only render when the screen has actually changed. I.e. a tick still comes at 1/60 times a second, and it checks if a region is dirty, but the whole copying of textures and re-compositing (which practically doesn't take time - or rather fixed time - and runs on the GPU, but costs power) is only invoked when something is dirty.

Actually, I remember reading something that Windows doesn't do any blitting / buffer swapping if you just leave it idle and no updates happen on screen. However, there are many ways to throw this off and force drawing every frame if you are not careful.
Garrett Camp says Travis Kalanick is not coming back as CEO
I looked at the X1 very closely then went with the T470P (I wanted the 7700HQ) with the 2560x1440 screen, 16GB on one slot (so I can go to 32GB if I want).

Now if UPS could just hurry up and deliver the thing I'd be a happy bunny.
nice work, this is really cool. Source is very readable, great resource for those looking to understand bitcoin. Can't wait to play around with it and deploy it on my little raspberry pi swarm!
A vast majority of comments on the internet come from people who haven't even read the article or story that they're commenting on. It ruins conversation and makes it hard to find top quality stuff. That's the problem we're trying to solve.

Please share your feedback. What are your first thoughts on our current product?
As someone who was a computer science grad student for a long time, this is horrifying to read. But I'm confused. If I had experienced something like this, I would have immediately spoken with my advisor; my advisor was not as invested in my successful graduation as me, but he was the second-most invested person, academically. Are art history programs different in that students do not have primary advisors?

edit: In part 2, she mentions her advisor. But clearly her advisor was not someone she thought could help her. That alone makes her experience sound awful, and her environment dysfunctional.
Those taxpaying adults also manage to vote in people like Chris Christie, who decided the "infrastructure bucket" didn't include transit (and that the allocated transit funds would be better sent elsewhere).
From what I've seen, there are strong feminist advocates on both sides of the issue. The article gives examples of both. One side insists that prostitution is inherently coercive and especially focuses on how often women in prostitution are exploited by pimps or others. The other side focuses on every person's right to do what they please with their body within the bounds of consent and on making sure women in prostitution can comfortably get healthcare and police protection. I don't think there's an easy answer to this question from a purely feminist perspective.
I'm always impressed how terrible the subways are in America.

In Moscow the metro is running really smoothly since the day of it's creation except for a single day. But that was because of Hitler.
Many people who speak about diversity in tech don't actually have experiences in engineering so they don't understand that race and gender are not that important in engineering. Engineering is very multi-cultural and people care more about nationality than race/gender. There is a huge diversity of nationality and cultures.
How much is the Model 3 in europe? Not trying to start a pissing match, but at least in my country, 30-40% of the car price is taxes that don't exist in the US. If you compare prices, make sure the Model 3 + all taxes are factored in.
Pre-prints as a way of declaring ownership of your research findings (or whatever the humanities equivalent is) seem to be much less of a thing in the humanities. For example, I've heard the fear of someone "stealing" your ideas before you can get formal credit raised as an objection to libraries' attempts to create open access pre-print databases. At my university, dissertations must be submitted and "published" online (a replacement for the two paper copies that used to be printed and stored in the university library), but some students exercise the option of putting an embargo on the online copy, so it's not readable by the public until after they've found a press to publish the book they plan to turn it into.
> I am against discrimination, and that includes positive discrimination.

Because all positive discrimination is negative discrimination to someone else, so obviously when you are against discrimination you should be against positive discrimination too.
My question is, why didn't the city just convert it into a
public road?

Because then they'd have to pay to maintain it. The city would be exchanging revenue for a huge liability. Plus, that'd probably be the worst outcome for the homeowners because then the road would have to be kept open to the public.