Hi, so a friend made this for me after I linked them to the Nyaruko-san OP on YouTube. He said that using the + and - buttons, it ought to sync up with any beat.
My apologies if I mesed up the indentation in the following copypaste:
<html>
<head>
<title>(」・ω・)」うー!(/・ω・)/にゃー!</title>
<script type="text/javascript">var speed = 250;
var looper = setInterval(function(){ u.style.display="inline";
nya.style.display="none";
setTimeout(function(){ u.style.display="none";
nya.style.display="inline";
},speed);
},speed*2);
function unya(){
I should probably add that the title of the Nyaruko-san OP is 太陽いわく燃えよカオス.
err, not 太陽いわく, but 太陽曰く. My apologies.
I think Audacity has a beat-matcher built in. That is, it can detect the BPM of a song. I used it to make StepMania simfiles.
Also, you should send this to Tokiko when it's finished (if you're not him).
roujinkai dip.jp pass//// 4rfv6yhn1qak
I don't know too much about programming, but I am curious about this: Is it possible to make a 4chan (or any *chan) site, however simple it may be, in fortran? I seriously doubt it, but hey, that's what I asked for.
FOOGERTS
frogettes
Baguettes
fat gits
FAT GITS
Gadgots
If you want to be cool and challenge yourself, write the website not in "modern" Fortran, but in Fortran 66 or Fortran 77 <- DUBS languages!!!
7^2 GET
check out Factor http://factorcode.org/
Well, it's obvious there is just not enough love for trans-fortran programmers. Every link google knows for "THE" operation (C->F translator, so you can compile regular cgi/php) is 404.
I recently reproduced an KERN_INVALID_ADDRESS error I found in Safari. Where should I go from here? Could the right person make an exploit out of this?
gdb log is here.
Also, I disassembled all of the functions in Safari.
http://minus.com/mbohY4UH2o/
Put it in html and then troll Mac users?
I want to make a small webapp and learn Python at the same time - because I might want to do a 2d game later and I figured that I would use python for that as well and this project would be a good chance to do so. The problem is, I would want free hosting. Google app engine is free afaik... any experiences using it? Anything?
Just get some shared hosting or buy a VPN. It's not expensive and a sensible investment.
Check unary dubs.
Bad frog! Don't pee-pee on strangers! Come back home!
Most news feed programs I have seen say they support both, but I do not see a difference between the two.
I'm working on this perl script for a website - I have basically two types of pages, A and B, each with a title, some text and other details stored in an individual text file. Each A is associated with a number of Bs, up to 100 or so, which are listed on its page. In order to generate the list of B's for an A page it has to open each relevant B file to read the title out of it.
So as it stands, to generate certain A pages it might be opening 100+ different B files. Now I don't know jack shit about servers but I am aware that file access takes time. And given that it's on shared hosting, am I likely to run into problems here when it goes public? Would I be better off putting all the B's in one big file, or splitting them into blocks of say 10-20, or even just biting the bullet and using some SQL database? Or is it fine the way it is?
if you want database-like functionality but don't want to use SQL, try using Storable
use Storable;
my %big_hash = (
...
);
store \%big_hash, 'this_file.db';
and to open:
use Storable;
my %hash = %{ retrieve 'this_file.db' };
*** DOUBLE POST ***
note that Storable works with scalars and arrays too of course
>>2-3 Thanks, I'll keep that in mind.
do you know if the way I'm doing it now will cause any significant performance issues though? I'm happy enough sticking with it for now if it works just as well, rather than redoing everything.
you will take a significant performance hit from reading 100+ files every time you generate a page
>>5
ok, thanks. I suspected as much, I was just vainly hoping there might be some obscure reason that it'd all be fine and I wouldn't have to rewrite everything. :D
you should really generate the A pages as static html files and only regenerate them when the content changes.
I agree with >>7
I am currently teaching myself perl for web/cgi things. But what are other common or useful things that people often use perl for?
Nothing that I can think of. Most web stuff is done in PHP or ruby.
Perl was invented to replace awk and sed for shell scripts that parse the output of other shell scripts, so that's what it's best for. Eventually it became used for CGI, but it wasn't great for that, and was replaced with PHP which is sort of like Perl for the web with built in features like templates and SQL queries. Nowadays, Java, Python and Ruby have web frameworks which are replacing PHP. Perl is still useful for shell scripting but it being replaced by Python as the de-facto all-purpose scripting language.
> was replaced with PHP which is sort of like Perl for the web with code/html mixing and lots of security vulnerabilities.
FTFY
>>3 is completely incorrect and mostly harmful
>>7
Larry Wall.
Wakaba and Kareha, I think they're useful.
https://www.socialtext.net/perl5/Applications. Yeah, most of them can be found in CPAN.
Also, http://padre.perlide.org.
I tried when I went to put some aa into a plain html on my server, after saving I refreshed the page to look at it and this [aa]( ´・ω・)[/aa] had turned into ( ´・ω・
)
So obviously that does not work. How does one do it?
>>1 lol my aa tags
Also when I tried (ノ ಠ益ಠ)ノ it came out as (ノ ಠ益ಠ)ノ
Several ways, you can do <pre>AA here</pre> and/or make sure your using text/html; charset=utf-8 as your content-type.
Hey all, I'm thinking of going into programming, self-studying it and stuff. Currently, I'm a high schooler in a school with no programming classes, and I want to know if C is a good place to start. I heard that once you learn C, other languages would be easier to learn - is that true? Anyways, if anyone has some useful books/websites for learning programming, I'll appreciate it if you share it with me. Thanks in advance!
>Skip the C and jump to C++. It is only a revamping of C after all.
I'm just going to go ahead and assume you've never used C.
C and C++ are world apart.
From my comprehension, they are not far apart. C++ is built on C's concept. Hence the name C=C+1; The core of C is Pointer, and C++ expands the structure of C's object. A lot of scripts borrows this method.
For the condolence of Dennis Ritchie, it is time to study C.
By the way, Kintaro Oe learned C in one week.
>From my comprehension, they are not far apart.
If you think this way you doesn't know the power of C++ fully. Just look at stl and boost, they aren't close to C at all.
>Just look at stl and boost, they aren't close to C at all.
STL and Boost are both terrible and you should feel terrible for using them.
>STL and Boost are both terrible
Maybe boost is too complicated, but STL is the part of language. Don't stay in 90's.
I'd start with java. Its 'similar' to c++ in terms of syntax, but it is much more forgiving in terms of how it handles memory and how it compiles. C/C++ are a more powerful languages, but for a beginner it doesn't really matter. You have to learn the basic constructs before you can do anything anyway so early on the functionality is about the same.
The only thing I'm most concerned about for the original poster is that they are somewhat timid to try to learn something. It may be that they need to start with another language in order to be more productive in doing the things that they want to do, but what would it cost them to find that out themselves the hard way? Probably not much at all. The cost in stepping back and worrying if it is going to be hard is going to be more, in lost time, and in perhaps cutting them off from their potential.
Java.
Start with some script like Perl or Python, then go to C.