[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

[Return][Go to bottom]

File: 1443079867768.jpg (10.69 KB, 626x172, 89702.jpg) ImgOps Exif iqdb

 No.9771

https://volafile.io/r/kUFzLJ

Come on in, share something with the others, Lain.
>>

 No.9772

Will do!

>>

 No.9773

Sounds kinda illegal, OP.

>>

 No.9775

>>9773
only if you want it to be

>>

 No.9777

>>9773

Illegal is just a synonym for fun anyway

>>

 No.9780

thanks, the 2 books on trademarks and symbols are pretty cool!

>>

 No.9782

>>9773
Copyright was never meant to "protect" publishers from their readers anyway.
It was meant to protect publishers from other publisher who would take their books and sell them themselves, MAKING MONEY IN THE PROCESS.

If you share for free its perfectly fine.

>>

 No.9783

I have around 15000 textbooks on my box right now, and around 90000 overall on external disks.

Any wishes what I should upload first?

>>

 No.9784

>>9783
If you have :
- lambda the ultimate (the complete version, not the freely available one)
- forth books
- the seasoned and reasoned schemer
- Graham's ANSI Common Lisp
- Lisp in Small Pieces
- Norvig's Paradigms of Artificial Intelligence Programming
- The whole series of the Art of Computer Programming
I would be very happy.

>>

 No.9785

>>9784
the lisp and scheme books are being uploaded but not by me right now.
AoCP I have but only 2 books i think.

>>

 No.9803

>>9773
Information wants to be free, man.

>>

 No.9807

>>9784
I just put AoCP on

>>

 No.9813

>>9783
Anything good on x86-64 assembly?

>>

 No.9817

>>9813
28 files by filename search.
Uploading now.

>>

 No.9818

>>9771
This is like having a community box of misc. drugs and needles. You have no idea what it is, but you download it anyway and hope you get high. Or else you get infected. Or download something illegal.

>>

 No.9820

>>9782
>If you share for free its perfectly fine.
Maybe morally, not legally.

>>

 No.9823

>>9820
It wasnt legally fine for blacks to sit in front of the busses in the USA until recently.
That does not mean that it was OK to follow those laws.

>>

 No.9862

Anyone have any books on AI programming with common lisp?

>>

 No.9864

>>9862
Paradigms of AI is already in there, dweeb.

>>

 No.9943

>>9823
He's not talking about what's right or wrong. He's just pointing out that it's illegal. Chill.

>>

 No.9985

File: 1443581512298-0.gif (8.97 MB, 1000x414, dPBc5gP.gif) ImgOps iqdb

File: 1443581512298-1.jpg (32.87 KB, 500x281, bda1f646c49607183c2450441f….jpg) ImgOps Exif iqdb

>>9771
so much information

>>

 No.10077

currently uploading a 16 part video series about lattice based cryptography, including a talk by Craig Gentry about fully homomorphic encryption.
Since its huge I will only upload it once, so get those files withing 5 days before volafile automatically deletes them

>>

 No.10090


>"Oh neat, I'll grab these this weekend when I've got time to read them"

>cycled out
FUCK

>>

 No.10091

>>10077
based

>>

 No.10108

>>10077
and now for something completely different:
Just uploaded Quake II (!) extended edition. Spent 4 hours doing so and the previous month or so torrenting it.
If you are interested in it you should get it now, Im not going to spend another 4 hours waiting for the upload to complete

>>

 No.10112

>>10108
Muchas gracias lainon!

>>

 No.10154

there already a lainchan room on volafile.

https://volafile.io/r/lainchan

>>

 No.10155

please, someone reupload taocp vol 2 and 3. the epub version.

>>

 No.10232

Whoever dumped all those Oreilly books you are a fuarrrk ing god

>>

 No.10239


>>

 No.10260

>>10232
Wish there was a "Download all" option

>>

 No.10272

>>9820
>>9943
Who cares? fuarrrk the law.

>>

 No.10394

>>10260

Use DownThemAll or Wget.

>>

 No.10504

Put a couple of Taschen books on there this arvo... one about green architecture and one with lots of contemporary artists from 2000

>>

 No.10505

>>10504
>one about green architecture
cheers for this

>>

 No.10533

>>10394
Someone could please give me an insight here? I'm trying to dowload all the volafile content using wget. But seems that wget just works if he has links to follow. Where are the links of the files?

I tried
 wget -a pdf --no-parent -r https://volafile.io/r/kUFzLJ 

but with no success.

>>

 No.10534

>>10533
Volafile loads the download list with Javascript after your browser loads the page, so wget (which has no Javascript support) doesn't work by default.

Instead, save the page from your browser to something like volafile.html, and run this to download all of the PDFs that you don't already have into the volafile directory:


lynx -dump -listonly -nonumbers volafile.html | egrep '(pdf)$' | wget --input-file - --no-clobber --quiet --show-progress --directory-prefix "volafile"


Edit the egrep call to adjust which links to filter. You'll need lynx installed to dump the links. Using wget by itself is possible, but will download every file, even the ones you don't want (it just trashes them after checking inside for more links).

Be sure to read the manual for each program to understand what's going on, and watch out for downloads taking friggin' forever.

>>

 No.10537

>>10534
Thank you anon. Your help is very appreciated.

>>

 No.10538

>>10534
Wow. It worked like a charm anon. Thank you.

May I bother you one more time? How did you learned all these things? Can you show me the way to learn too? Thanks in advance.

>>

 No.10544

>>10537
<3

>>10538
It took at least forty-five minutes of reading the wget manual, trying out variant commands, and searching the internet for existing solutions to similar problems to write that one line. I started by writing a lengthy wget command, which lasted until I found out that it was downloading the (large, slow) files I'd told it that I didn't want. It wasn't a bug, and there was no way to turn it off.

All you really need past a healthy knowledge of shell script syntax and a few core tools (like grep and the man pages) is the belief that *most* things can probably be automated in one way or another... and practice doing weird stuff in the command shell.

Experience will teach you how to identify a problem and break it into easier sub-problems that have likely been solved before, either by you or by someone on the internet -- I had to search through a few Stack Overflow threads before I found out that lynx is a tool that can dump links in a page. Many solutions to these problems tend to hide in the manual for tools you may be using. Wget's --no-clobber flag, for example, prevents downloading files you've already downloaded before.

You could view my code above as the combined solution to the problems of "Extract all the links from the page, find those that point to a PDF file, ignore those that I already have, and download the rest". Unix tools are often extremely effective at doing one job well, so it's usually better to glue many commands together than to use just one that claims to do it all.

As for specifics, I learned a lot from The Grymoire (http://www.grymoire.com/Unix/). Other tips I've picked up from Googling for things like "bash tricks".

>>

 No.10557

>>10544
>http://www.grymoire.com/Unix/
oh nice

if i had known that sooner i would have had to stackoverflow/trial & error less

now i'm actually sort of ok with writing weird nested bash soykaf

>*most* things can probably be automated in one way or another

yup, basically you can always do anything in any programming language. i would advise to stick to their respective strengths though, for example bash and unix tools are great for small hacks such as getting a volafile dump or whatever, but for example uploading pictures to lainchan (which is specifically designed to prevent such a thing) might be a little hard

thinking about it, lainchans REST api probably allows posting? i should look into it. when i tried to make a bot last time i went with a full fledged command-line controlled browser (namely phantomjs), which can virtually do anything a normal web browser can, but automatically and faster because by default it doesnt render graphics and so on

i once friended a few thousand people on twitter for no good reason (i was happy that my script could operate the UI)

and i think there is actually companies that are based on the principle that the customer provides his login data to other web services and then they crawl them and gather data for the customer and stuff

i think this even exists for credit cards, pretty much creepy as it gets but people are stupid

>>

 No.10784

Damn this room is running a little dry, no more books.

>>

 No.10790

Just uploaded some books.

>>

 No.10808

Uploading some schway shit

>>

 No.10969

Added some more books, thought not many are programming.

>>

 No.11042

I added a CSS book that looks pretty cool. It goes through a series of problems or things you may want to do and tells you the best way to do them.

>>

 No.11052

Added two books on Django, the Python framework.

>>

 No.11057

Added a book on C++, hacking, algorithms and Pragmatic programming.

>>

 No.11065

Does anyone have books on assembly programming? There was one posted recently "The Art of Assembly" reverse engineering books help too. We should build a better /g/entoomen's library.

>>

 No.11073

>>11065
volafile is temporary, things are deleted after 5 days.

>>

 No.11162

I'm not sure exactly what kind of stuff you folks are into, so I'm just posting a pretty rough mix of books, guides and papers.

>>

 No.11190

>>11065
bookzz org/s/?q=assembly+programming&t=0

>>

 No.11192


>>

 No.11243

I wrote a python script to download all links from volafile. It keeps a list of downloaded things so nothing gets downloaded twice.

#!/usr/bin/env python

# Small Python script to download all new files from a Volafile room
# usage: volaget [url] [destination]
# Ewige Blumenkraft!

import subprocess
import sys
from ghost import Ghost

url = sys.argv[1]
outdir = sys.argv[2]
gh = Ghost()

print "Loading file list from: " + url

page, page_name = gh.create_page()
page.open(url, wait_onload_event=True)
page.wait_for_selector("a.file_name")

# We retrive the links from the web page
links = page.evaluate("""
var ul = document.getElementById("file_list");
var list = [];
for (var i = 0; i < ul.children.length; i++){
var li = ul.children[i].children[1].children[1].href;
list.push(li);
}
list;
""")

print "Looking for new files..."
filename = outdir + ".volaget"
f = open(filename, 'r+')
dl = f.read()
f.close()

li = [str(i) for i in links]
new = [i for i in li if i not in dl]

if len(new) < 1:
print "no new files"
else:
f = open(filename, 'a')
print "Downloading " + str(len(new)) + " new files.."
for l in new:
subprocess.call(["wget","-P",outdir,l])
f.write(l + '\n')
f.close()

>>

 No.11303

Uploaded pcl.pdf, "Practical Common Lisp" translated into Russian. Может, кому-нибудь надо.

>>

 No.11538

Uploaded an interview book for those of us who want to be wage slaves.

>>

 No.11550

Adding The Little Prover.

>>

 No.11553

>C for dummies
Yesss

>>

 No.11567

>>11550
>the little prover
THANK YOU LAIN I LOVE YOU!

>>

 No.11568

I am aware a mere 'thank you' may be not enough, added The Art of the Metaobject Protocol to amend the situation

>>

 No.11599

Anyone knows if its possible to upload files directly from the cloud to volafile?
I have quite a few books on my google drive and Mega, but vola wants me to download them first before uploading them, which is really slow and inefficient.

>>

 No.11610

Anyone got the new The Go Programming Language?

>>

 No.11624

>>11550
Oh, neat. I went to the library today and they had it but it was at another branch/someone had it checked out. I was really happy they had all of the reasoned/seasoned/little schemer and the little MLer. Really didn't expect that!

>>

 No.11643

>>11303
Na zdorovie

>>

 No.11644

Added the few programming books I have in my every expanding electronic library.

>>

 No.11990

anyone got a good book (PDF) on ARM assembly?

>>

 No.12023

>>11550
Re-added the little prover for those that missed it. Also SICM

>>

 No.12026

>>11990
Which type of ARM processor are you looking to write code for? Have you ever written any assembly before?

>>

 No.12030

File: 1447658311715.png (24.62 KB, 570x531, wew.png) ImgOps iqdb

wew lad

>>

 No.12031

>>12030
>downloading exes from imageboards
I guess it serves you right for using windows.

>>

 No.12032

big up the guy that uploaded Twilight

>>

 No.12048

File: 1447725747574.png (45.56 KB, 605x799, erlang_newsmall.png) ImgOps iqdb

Anyone got this book?

>>

 No.12049

>>12048
never mind, found it and uploaded

>>

 No.12133

>>12026
The beaglebone black cpu, which uses ARMv7.
I know some x86 assembly.

>>

 No.12134

>>12133
Since it's running an OS and you already know some x86 assembly I'd just hunt down the ISA on ARM's website and find the linux ABI for ARMv7.

>>

 No.12261

Anyone got engineering a compiler?

>>

 No.12262

>>12261
I've uploaded it.

>>

 No.12387

File: 1448575593175.pdf (1.6 MB, ARM Assembly Language Prog….pdf)


>>

 No.12395

>>12387
muchas gracias mi familia, or as they say on the 'net, "ty fam"

*tips sombrero*

>>

 No.12404

>>10534
protip for people using this: pipe lynx output to tac to download old files first

>>

 No.12421

>>12395
yw pedro

>>

 No.12422

>>12404
>>10534

I recommend the Firefox/Iceweasel addon "Copy Link URL" which enables you to select and copy the URL of multiple links at once.
This in correlation with a download manager like JDownloader will make it possible to essentially download all files in a room with two clicks and some scrolling.


Related to this: I spend the last two days uploading a few thousand fiction books (mostly sciFi and Fantasy, both classics and contemporary) which I recently discovered on my harddisk.
Since I dont normally read anything besides textbooks, I have deleted them from my computer, so you might want to download them within the next 3-5 days.



Delete Post [ ]
[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]