Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tumult
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
571.
▲
by
tumult
17y ago
It's not manipulating the program as data. It is simply the program itself. If the program runs with its output being another program which runs, then that is a form of metaprogramming. In this case, the program is simply running. A collect
572.
▲
by
tumult
17y ago
C++ templates are clearly metaprogramming in every way. I cannot think of a case in which they are not metaprogramming. If you brought up C++ metaprogramming with the assumption that I would argue it's not metaprogramming, you were mistaken
573.
▲
by
tumult
17y ago
If a compiler is implemented in the language it compiles, and exposes compilation again to the program it compiles, then the implementation is metaprogrammable.
574.
▲
by
tumult
17y ago
I just don't think first-class functions are metaprogramming. I have never heard them conflated before, and outside of the author's own writing, have yet to see another example.
575.
▲
by
tumult
17y ago
I have not read that book, but the extensibility features of the CLOS are a world apart from some fixed set of API calls used to make decisions based on object metadata at runtime. CLOS is hugely powerful an entirely extensible down to the
576.
▲
by
tumult
17y ago
In general, yes, I would consider the second kind as more meta-ish. Even though I think literal strings are a terrible way to accomplish metaprogramming, a set of API calls for introspection is not what I would consider metaprogramming, sin
577.
▲
by
tumult
17y ago
I just read it, and it is indeed what I have just said. Unless you would like to quote a specific part of the article, instead of simply pasting a link to a page on Wikipedia?
578.
▲
by
tumult
17y ago
The number of arguments a function takes is the return value from a function which was passed, as an argument, another function. That is not metaprogramming as it is known by programmers. It is a branch in the program which will be determin
579.
▲
by
tumult
17y ago
You are mistaken. If normal programming constructs did not allow the programmer to choose behavior based on input, then every program would have a fixed execution path, would have the same output every time. and metaprogramming itself would
580.
▲
by
tumult
17y ago
No, that is simply programming with dynamic features. Nearly all modern programming tasks involve this. If you would like to look at some interesting JavaScript metaprogramming, check out projects like Objective-J/Cappuccino, Clamato, BiwaS
581.
▲
by
tumult
17y ago
No, that is introspection (also known under names such as RTTI, object metadata, and some others). Metaprogramming is the act of programming your programming tools/program itself.
582.
▲
by
tumult
17y ago
There is no metaprogramming going on in the JavaScript here. Closures are not metaprogramming. It's just programming. I do not want to call names, but the author does not know what he is talking about. Metaprogramming inside of a running JS
583.
▲
by
tumult
17y ago
You can have VMs in your iPhone apps, you just can't let users load in external code. Everybody repeats the 'no VMs or interpreters in iPhone apps' line, but it's just not true.
584.
▲
by
tumult
17y ago
Google sells ads which may or may not promote consumption. Do you blame the Bittorrent tracker for the content its users run through it?
585.
▲
by
tumult
17y ago
Please grind that axe elsewhere
586.
▲
by
tumult
17y ago
It's so beautiful when two different sets of reactionary fear mongers collide -- in this case, the save-the-children-by-introducing-insane-legislation-that-protects-nobody group and the terrorists-will-blow-us-up-unless-everybody-surrenders
587.
▲
by
tumult
17y ago
At the bottom of the Google Mobile homepage, Settings -> Allow use of device location
588.
▲
by
tumult
17y ago
This is why games suck now. 'Make a game easy' is what you do when you can't design good gameplay mechanics that work at multiple skill levels. If your game can only work at one skill level, you have to make that skill level really easy if
589.
▲
by
tumult
17y ago
Here's another one so you can hit my karma again
590.
▲
by
tumult
17y ago
Whoever used a bunch of accounts to vote some of my comments down, here and elsewhere: fuck you
591.
▲
by
tumult
17y ago
Yes, I do think he is pushing it. Your other two sentences are irrelevant to the fact that this video is a shitty ad.
592.
▲
by
tumult
17y ago
Haha, it's an ad. I love how he fakes reading the name off of the product slowly, as if he's never read it before, then proceeds to repeat it, and the web address where you can buy it. "I've discovered a product.." Discovered a product.
593.
▲
by
tumult
17y ago
You don't need to exaggerate the article by calling it a 'debunking,' it posits another theory and lays out some facts. It's very even-handed and a good read.
594.
▲
by
tumult
17y ago
Yep
595.
▲
by
tumult
17y ago
Worth noting that he has no idea how to make the huge and awesome synth hit/rip, so he just takes it straight out of the actual Prodigy track. He also got the spot to transpose one of the loops wrong.
596.
▲
by
tumult
17y ago
Mostly hardware rack samplers. I think Liam used (uses?) Akai S1100 or a similar model. You play in chunks of audio to them, trim the waveform to the part you need, optionally build a keyboard-split/layered patch with it, and then play it
597.
▲
by
tumult
17y ago
A good read for anyone who has been in the same (delusional) position as this author, and can look back with fond memories of drinking that same Kool-Aid.
598.
▲
by
tumult
17y ago
Perhaps you could elaborate on your ideas, possibly providing some examples. For someone reading this thread, it could be difficult to discern precisely what you are trying to articulate. Fulling expressing what you are trying to say, witho
599.
▲
by
tumult
17y ago
Then it probably doesn't work with ogg :) I personally think it's a huge mistake for Firefox to support only ogg. It's a bad time for fragmentation in the push for open video on the web. It should still be possible to get a rough estimate f
600.
▲
by
tumult
17y ago
You can actually control the buffering/playback with JavaScript. There are various ways to do this; one is with the TimeRanges object http://www.whatwg.org/specs/web-apps/current-work/#normalize... which will give you a representation of
More ›