Hacker Newsnew | past | comments | ask | show | jobs | submit | hexasquid's commentslogin

Anyone can learn :q to quit vim

But can anyone truly quit vim? No


30h week please


I've never been quite sure when I'm applying data to a function, or applying a function to some data


This tripped me up last week when I was reading Futamura’s paper on partial evaluation (i .e., Futamura projections). I’m not used to the “apply” terminology for functions, even though I learned the lambda calculus in grad school over a decade ago.


to my mind the function has always been the definition of the process and the data what that process, well, applies to. so you apply the function to the data and get an output.


Is the data changing or the function changing?


In a functional language, neither

(though new data is created as a result of running the function, technically this is guaranteed to not affect the inputs due to the function having to be pure)

(perhaps this is excessively pedantic)


When running the routine, is it typically the function that changes or the input data that changes?

If it's the same function running on different data, then you are applying the function to the data. If it's the same data running in a different function, then you are applying the data to the function.


let's just map pedantic->precise and call it a day :)


I can believe we'd get a level, but I'm not ready to believe we'd get something as refined as the undead burg (a case study in the book).


Treat AI like a junior employee?

Absolutely not. When giving tasks to an AI, we supply them with context, examples of what to do, examples of what not to do, and we clarify their role and job. We stick with them as they work and direct them accordingly when something goes wrong.

I've no idea what would happen if we treated a junior developer like that.


They would become a senior developer? lol ;)


I'd guess for the same reason we want native apps to be able to do that.


Who said that we want native apps to be able to do that?

There are some use cases for those permissions but we (some) would like more control into that. I can't fight most of the websites as a user (they will tell me to use chrome) but it is for them hard to tell me if you want the service (along a billion other user) then move to android. Apple for a better or worse have much more sway than individual user.


At last!


Shall we do it in jQuery?


How about both?


The JavaScript community really needs to get together and fix it so only one version of any possible library is published.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: