[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 334
Thread images: 29

File: C1kEbnmXEAEs04M.jpg (17KB, 255x320px) Image search: [Google]
C1kEbnmXEAEs04M.jpg
17KB, 255x320px
Old thread: >>58567241

What are you working on /g/?
>>
Thank you for NOT using an anime image.
>>
Fuck anime.
>>
Thank you for NOT using an anime image.
>>
File: juliaaa.png (148KB, 800x983px) Image search: [Google]
juliaaa.png
148KB, 800x983px
>>
>>>58572947 honestly I know they exists but I've learned most everything by osmosis from reading the gcc and llvm newsgroups so I can't give you pointers on that.
>>
File: 836db2d513cf4d06bf335f6c38a869a8.jpg (127KB, 1280x549px) Image search: [Google]
836db2d513cf4d06bf335f6c38a869a8.jpg
127KB, 1280x549px
when you have a job and lots of money what do you do afterwards?
>>
What's a good looking/comfy text editor to use for PERL?
Inb4 >PERL
My course in uni requires us to have some knowledge of PERL for some reason, I dunno.
I'm a newfag here so p-please be gentle
>>
>>58572930
>>58572945
>>58572949
The redditors seem to be out in force at the moment.
You need to go back.
>>
>>58572970
you fuck bitches and spend money, my nigga
>>
>>58572987
vim or emacs
what course?
>>
>What are you working on /g/?
Trying to figure out if Java 8 is production-ready or if it's still a regression-filled shithole
>>
File: ss+(2017-01-20+at+03.44.53).png (29KB, 848x664px) Image search: [Google]
ss+(2017-01-20+at+03.44.53).png
29KB, 848x664px
>>58572987
I use Programmer's Notepad 2.
>>
>>58572928
common lisp is slower than java
>>
>>58572960
Sorry for the malformed post.
i'd like to specify this was in regards to *nix abi manuals in specific, i feel like i should specify that.
the amd and intel docs are excellent, and nearly every book regarding operating systems or compilers touches on at least on parts of the ABI, not including specific Linux kernel texts, of which there are many.
Still, I have to maintain that the best introduction to any kind of systems programming, especially in a unix environment, is still Lions' Unix 6 source and commentary.
>>
>>58572999
It's production ready.

However, it's also a regression-filled shithole.

>>58572970
This entirely depends on what you mean by "lots of money".

If you have enough money, you can invest it all safely and live off of the investments and not have to work.

>>58572070
>Been using VS for the past 7 years
>I'm going to stop studying soon and won't be paying for a non student copy
Visual Studio is free.
>>
File: IMG_20170120_205030.jpg (104KB, 732x412px) Image search: [Google]
IMG_20170120_205030.jpg
104KB, 732x412px
>>58572997
Molecular Biology. It's pretty fun right now, though. We're going through the basics but I can only imagine how optimized it can become in the future.
>>58573008
I'll check it out. Thanks.

Currently using notepad++ myself. Atom looks neat, though.
>>
>>58572999

It definitely is production ready—and it has been for a long, long time. There are no regressions either; performance is better and it maintains almost full backwards compatibility (I still run Java 1.3 code ).
>>
>>58573042
Well, Notepad++ is a very popular choice. I only stick to PN2 because of historic reasons.
>>
>>58573044
>(I still run Java 1.3 code ).
you are killing me squirtle
>>
>>58573059
i`m dying
>>
>>58573059

I'd kill myself before I rewrite that mess.
>>
any perl hackers here? I found this neato golf code here and was asking myself how to convert it into a oneliner so I can use it as a shell alias with perl -e

print$"x(25+20*sin).'|
';$_+=.1;`sleep .05`;do$0
>>
>>58573082
damn i thought _that_ was bad until I saw this nigga using honest to god perl in the year of our lord 2017
>>58573084
>>
>>58573084
wtf do you want it to do
>>
reminder if you enjoy "code golf" you are a bad developer and you're better banished into some embedded bitrot maintenance hell where you belong
>>
>>58573111
found the "import 1000 libs" python developer
>>
>>58573121
You can golf with python too. Granted, the whitespace sucks.
>>
>>58572856
Pls post more
>>
>>58572892
Nothing there is really bad or wrong
>iterating over a vector
Doesn't matter, more readable personally
>using basic pointers and nothing fancy
Allocation and destruction is handled at another level
>PTR_DATA and PTR_ID_FAST macros
This is actually pretty important. All of those type of functions pass two parameters, an ID and a type. The type is put into the function to prevent overflow and underflow errors, and is also used (via C-style casts) to automatically cast to the type.
>>
>>58573084
$ perl -e '$_+=.1,`sleep 0.05`,print $"x(25+20*sin).qq{|\n} while 1'
>>
>>58572997
Hi there fellow biologist. Perl's important because of bioinformatics.
>>
>>58573121
mother fucker i write maintainable systems c
i will fucking do the sickest of all wrestling moves on you, online
step out of the ring whelp
>>
>>58573084
Just use bash.
alias sinewave='for((;;i++)){ printf "%$(bc -l<<<"a=20*s($i/10);scale=0;a/1+20")s|\n";sleep .05;}'

Not my code tho.
>>
>>58573133
i've posted:
>>58572960
>>58573019
>>58573111
>>58573150
hth and then some
>>
>>58573147
I see, the trick is the brackets. Thank you very much.

>>58573172
Wew.
>>
>>58573172
>bash
>most stuff done in bc
>>
>>58573172
wtf bash supports c-style loops?!!
>>
>>58573148
Thats exactly what we're taking up.
How exactly is it used in higher up bioinformatics? Got any examples?
>>
>>58573250
it was big in the 90s.
anecdote: i first learned programming because my parents were both biochemists so we had a few perl books laying around, along with a ssh access to the university sgi box.
>>
>>58573312
Interesting. Hope things work out after graduation and I get an alright job. Have a nice day, anon. I'll stick with notepad++ and what works.
>>
>>58573326
notepad++ is fine. hell i use vim but with a fairly minimal .vimrc (thats the per user config file). its fine.
turns out actually typing code is just a fraction of the time of what you end up spending time doing, who knew.
god bless
>>
Posted this in /sqt/ first, but figured will be first answerd here.

Lua.
Can i reference arguments outside a function and interpret them inside the function then?

t = {
["arg_to_call_1"] = arg5,
}

function xY(timestamp, event, arg1, arg2, arg3, arg4, arg5)
for _, arg in pairs(t) do
---use arg_to_call_1
end
end


right now i iterate through a string thats literally containing something like "arg12" and assign the argumet within the function.
>>
>>58573357
if you believed the wannabe greybeards here you would spend couple years configuring emacs plugins written by a bulgarian teenager, but not before finding the perfect window manager to perfectly be able to represent your waifu on the background of your terminal session, after reinstalling linux about 10 times finding the best and perfect pure distro.
>>
File: 1484546749098.png (131KB, 281x364px) Image search: [Google]
1484546749098.png
131KB, 281x364px
>>58572928
Why is there an old hungarian soldier on that picture?
>>
>>58573376
the lua implementation specification is an amazingly lucid document and i'm fairly sure you'll find the answer there.
honestly it's one of the best pieces of technical writing i've ever seen and i recommend it highly.
>>
>>58573402
https://www.lua.org/manual/5.3/ Lua 5.3 Reference Manual
honestly even if you (yes, you) have zero interest in lua, read it anyway.
it's the perfect example of a good technical doc
>>
>>58573402
>>58573422
Thanks i'm having a look right now. Unfortunately i'm restricted to use 5.1, but i don't think it'll matter in that case.
>>
>>58573422
and god knows technical writing is a dark art for most practicing programmers, as the state of the art of software is notoriously bad at it (gcc docs are always outdated, clang is even worse)
>>
>>58573422
>lua_absindex
>[-0, +0, –]
>int lua_absindex (lua_State *L, int idx);
>Converts the acceptable index idx into an equivalent absolute index (that is, one that does not depend on the stack top).

wow
so clear
so understandable
so relatable
>>
>>58573444
also the R language spec is also amazingly good.
if you have whiplash from the intricacies of the c(++) and java standards, i __highly__ recommend reading that too.
just because some languages are in a intermitted both intra and extra political quagmire, doesn't mean that software documentation needs to be garbage.
>>
>>58573451
it's discrete and exact, without disappearing in it's own ass due to special case semantics. what more you could want?
>>
>>58573503
Makes no effort to explain what acceptable means there.
>>
>>58573523
its a spec, not a reference. which i feel is much better in this case since if you don't know some one thing, its just the simple matter of backtracking to the relevant definitions.
certainly much better than constant cross references.
>>
>>58572949
kys
>>
>>58573544
i may be over-hyping the lua docs just a little but god hecking damn if it ain't a fresh breath of air.
python docs are absolutely shit in comparison and it's one of the major things which puts me off from that language.
>>
Hey I want to learn Python. What are some good ebooks/pdfs for programming beginners?
(Can do some shitty HTML)
>>
>>58573577
don't try do the MIT programming 101 course unless you're smart math boy. but if you are, do that.
otherwise I'd just recommend googling tutorials and doing whatever, learning by experiment. that has always worked for me.
>>
>>58573572
i will never trust a language that does not document its standard library exceptions
>>
>>58573577
>I want to learn Python
Why?
>>
Someone ask me for a simple bash script. I wanna see what I can do with what I just learned about the environment.

echo $"this ain't so bad";
>>
never thought i'd be crunk, tweetstorming /gdt/ but here we are. sorry for all the opinions.
peace out and code on! ya'll not so bad as i think ya'll
>>
>>58573657
I haven't really started messing with internet stuff yet so no wget scripts or obscure website downloads. Some general service tool. Or some programming utility.
>>
>>58573657
get all files in a folder tree, name them sequentially in some way, put it all in a compressed archive, and email it to yourself
>>
>>58573667
/dpt/ rather, i had a tiny stroke there hereabouts
>>
>>58573444
As shitty as Microsoft is with most of their things, they have fantastic documentation for C#.
>>
>>58573402
So i don't really know where exactly to look.

In my example t["arg_to_call_1] conains an empty arg5 which returns nil.

it should however return xY's arg5 when called within that function. Should be kinda simple to do, but i can't get my head around how to accomplish this other than the ugly version of using "arg5" as a placeholder and assigning it like
local val
if "arg_to_call_1" == "arg5" then
val = arg5
else
[...]
end


i've tried playing by doing something alomg just assigning a number and use select(number, ...) which also returns nil.
As i'm learning by doing i need guidance here other than a document which seemingly doesn't have an example of my specific case here.

Already looked around, but all i get is stuff like variable arguments, which is totally not what i'm looking for as it is always ONE specific argument i'd like to call, without defining it withing the xY function itself. But i agree, generally speaking the documentation is top notch.
>>
File: 1478537729554.png (224KB, 580x435px) Image search: [Google]
1478537729554.png
224KB, 580x435px
>>58572988
Why didn't you make anime thread when it wasn't late yet?
>>
>>58573710
And the cutest URLs.

sourceof.net
dot.net
>>
>>58573386
If you use emacs, you'll spend a minute here and a minute there to configure it all until you write waiful.el which summons rule 63 stallman to read your mind and create the perfect emacs setup for you.

Most .emacs files are just small fixes that accrue over time. Also, various hacks to make sure iso-transl doesn't fuck over your non-ASCII keyboard yet again.

>>58573444
Common Lisp, SQL, Java... all of these have decent to good docs at the very least. C# is okay. But really, who thought that "being able to generate HTML documentation via XSLT translation of /// comments was a FEATURE and not a fucking bug?

The two usecases for documentation is:
> Offline docs such as man, HTML-pages etc.
> Online docs either through asking your IDE or your compiler.

Nobody likes to use XML transforms outside a padded room at IBM where the people who made the json-to-xml serializer are kept safe.

https://www.ibm.com/support/knowledgecenter/SS9H2Y_7.5.0/com.ibm.dp.doc/json_jsonx.html
>>
>>58572988
>muh mental illness
>>
>>58573745
i like you friend
>>
Canvases just like Images have 2 sizes. The number of pixels actually in them and separately the size they are displayed. CSS determines the size the canvas is displayed.

can anyone explain this a bit clearer? i don't really understand the distinction. thanks!
>>
>>58573651
People say it's easy and efficient.
>>
>>58574058
logical (no. of pixels) and physical size (actually how large they are rendered on screen, dependent on zoom, high dpi monitor, and such)
>>
>>58574104
It's easy, but not efficient.
>>
>>58573716
those two values are never going to equal one another because they are strings in that comparison, not variables to be evaluated as an expression. That's literally a string compare expression that's always going to be false.

remove the quotation marks, methinks.
>>
>>58574127
to reiterate, an easy example would be introducing an image element with an integer scale of 2.
while the logical size of the would be X*Y, the physical size would be 2X*2Y, before any other browser specific transformations.
a good example of where you need physical dimensions is mouse clicks.
a good example of where you need logical dimensions is any kind of image manipulation.
>>
>>58574175
with respect to programmer time, perhaps
>>
>>58574231
sorry hope that helped.
>>
I'm looking for a script interpreter library I can embed in my C program to allow scripting control over certain components of my program. Is there a library I can use for this? Language doesn't matter. I'm probably going to end up writing a small lisp interpreter if I can't find anything already done for me.

My only real requirement is that I can disallow file io.
>>
>>58573657
Write a script that pics a random wallpaper from /wg/. The 4chan API (on github) makes it easy. curl/wget, sed, grep will help.

I've already done it a while ago . . . . . . . . . . and the first wallpaper was a desktop from /wg/s desktop thread. Here I gave up. :^)
>>
>>58574308
and this is why desktops belong to /g/
>>
>>58574301
> My only real requirement is that I can disallow file io.
that's a pretty major requirement, i doubt there's any lang that can help you
but otherwise, i heard lua is good
>>
>>58574308
Just filter by thread title nigga.
>>
>>58574242
Probably.
Personally I don't like Python, though, it feels too much handholding.
>>
>>58574341
example?
>>
So I knew JS was bad, but I never made anything in it. But fuck me is it bad:

[-1,-2,11,2,2001,-80000].sort()

// returns: [ -1, -2, -80000, 11, 2, 2001 ]


Why the fuck would I want to sort numbers lexicographically and why the fuck would I want that as the default?
>>
What's the most autism programming language?
>>
>>58574463
Haskell
>>
>>58574444
You should use jquery for that.
>>
>>58572950
May i ask how you drew the output anon. I wanted to do something like this but im a retard and dont know how i would draw it to a window like that.
>>
>>58574444
Because javascript is mostly used to manipulate strings and checking whether the array is only made of numbers before sorting it would be bad for perfs.
>>
>>58574444
Because numbers are also strings.
>>
>>58574442
Indentation level as a part of syntax.
>>
Why does this website keep trying to get me to use Rust
>>
>>58574642
What do you mean? /dpt/ is pretty anti-Rust.
>>
>>58574655
pretty sure you're replying to copypasta
>>
File: 1480711057957.gif (2MB, 179x320px) Image search: [Google]
1480711057957.gif
2MB, 179x320px
>yfw you realised that all paradoxes arise as a result of the combination of negation and self-reference/recursion
>>
>>58574669
Oh
>>
>>58574301
You could try http://nekovm.org/
I haven't used it myself, but I was considering it for something a while back.
It looks smallish and pretty straightforward.
You could probably disable the File module and related shit yourself without much effort.
>I'm probably going to end up writing a small lisp interpreter if I can't find anything already done for me.
Try looking for Scheme stuff, there might be some kind of Scheme for your needs.
>>
What countries have the best programming jobs and a high standard of living outside the USA?

Not asking because Trump. The USA has had diminishing standard of living for a while and I'm not seeing anymore opportunity here. I want to move somewhere with a social safety net.
>>
Link me some examples of well designed libraries for reading a structured file type (such as wav or png or whatever)
>>
>>58574742
libsndfile is a good one for wav files
>>
>>58574670
clarify
>>
>>58574444
>[-1,-2,11,2,2001,-80000].sort()

you can provide your own sorting function

[-1,-2,11,2,2001,-80000].sort(function(a, b) { return a > b; })
>>
What CI system do you guys use? Travis? Buildbot? Strider?
>>
>>58574735
How do I make my own vm
>>
>>58574758
Travis, because it's free and integrates with SJWHub.
>>
>>58574771
>sjwhub

meme harder memelord
>>
>>58574740
have you looked at the big canadian cities at all?
>>
>>58574778
Explain how it isn't true
>>
>>58574771
I was thinking of running it in a LXC, anyone here do that? Does anyone set up a Debian machine and then a LXC inside it and just write code within the LXC only (to avoid config fuckups etc)?
>>
>>58574786
Explain how it is, faggot
>>
>>58573009
java eats more memory than alzheimer
>>
>>58574779
Thats a good idea. Hadn't thought of the great white north
>>
>>58574786
>>58574793
Just stop already ffs. This isn't going to get resolved here. Just use tools regardless of whether they're "SJW" or whatever. Literally every major tech company is SJW-friendly anyway.
>>
File: 7YaVYUx.jpg (80KB, 1024x768px) Image search: [Google]
7YaVYUx.jpg
80KB, 1024x768px
>>58574793
>>
>>58574793
The new CEO recalled the entire meritocracy policy, because it discriminates against "people that have not had equal opportunities". I don't have any links or infographics on me.
>>
Trying to count vowels in a string, but get array index out of bounds on the if statement. Wat do? In Java btw.

    public static char[] getVowels(String word){
char[] foundV = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
char[] Vowels = {'a', 'e', 'i', 'o', 'u'};
char[] arg = word.toCharArray();

for (int i = 0; i < arg.length; i++){
for (int j = 0; i < Vowels.length; j++){
if (Vowels[j] == arg[i]){
foundV[i] += arg[i];
}
}
}
return foundV;
}
>>
image scraper

curl -s 'https://boards.4chan.org/g/thread/58572928/dpt-daily-programming-thread#bottom' | grep -o '<a class="fileThumb" href="//[a-zA-Z0-9]*.4chan.org/[a-zA-Z0-9]*/[0-9]*\.[png|jpg|jpeg|gif|webm]*" target' | sed 's/^.* href=\"\(.*\)\" target$/https:\1/g' | xargs -P 16 -n 1 wget -q --show-progress -nc
>>
Making a site which integrates a wiki, booru and discussion board.

Writing it in Go, using a previous project of mine as a guide.

What is the best web framework for Go? Don't say "the default" one, I'm looking for something that's not made by an amateur such as myself, that is fast and secure.
>>
Why does this mean blue website keep trying to get me to use anything but C++
>>
>>58574822
s => 
Array.from(s)
.filter(s =>
['a', 'e', 'i', 'o', 'u'].includes(s))
.length

You're welcome!
>>
>>58574822
word.toCharArray() is unnecessary. You can access a string directly with [].

Also, I think the issue is that foundV is shorter than arg.
>>
>>58574822
recheck your indices on the 'j' loop, you have an i instead of a j
 for (int j = 0; **i** < Vowels.length; j++){
>>
>>58574828
There is no default framework for Go. The idiomatic Go way is not to use a framework, but compose small libraries.
>>
>>58574756
Think of a logical paradox, say Russell's: it will contain self-reference AND negation.
I used to believe that recursion, while indispensably useful, was the root of all paradox. It turns out that you also need negation, something that can be more easily disposed of.
It's interesting, because 'this statement is false' (the simplest paradox), contains only two elements, which all other paradoxes boil down to.
>>
Learning Python here.
I'm so fucking angry.
It all seemed easy until I actually began to code.
For some reason, the elif returns a syntax error:

x=input('C to F or F to C?')
if x=='CF':
yc=float(input('Give temperature pls.'))
print((32.0+(9/5)*yc) + (' F')
elif x=='FC':
yf=float(input('Give temperature pls.')
print(float((5/9)*(yf-32.0)))
else:
print('You idiot')


What am I doing wrong /g/?
>>
>>58574822
>>58574872

also i dont know what youre trying to do by adding arg[i] to foundV[i]
wouldnt it make more sense to just increment foundV[i], and define foundV as an int array?

int[] foundV = {0,0,0,0,0};
....
if (Vowels[j] == arg[i]) {
foundV[i]++;
}
>>
>>58574901
Idk Python, but print seems out of alignment in the else branch.
>>
Do the thing when you try to get me to use Haskell /g/
>>
>>58574914
int[] foundV = {0,0,0,0,0};
....
if (Vowels[j] == arg[i]) {
foundV[j]++;
}

oops
>>
File: 1484757905498.jpg (898KB, 1280x1519px) Image search: [Google]
1484757905498.jpg
898KB, 1280x1519px
>>58574901
W H I T E  S P A C E
>>
>>58574872
good spot. getting '[C@74a14482' as output if I run 'poo' through it though
>>
hey so im finishing those scripts later. I've been up all nigtt and just discovered the whole pointer scheme and how they apply to, possibly, smart pointers and how to access the directories and files using an easier syntax. It's going to be great. But I need sleep. Blze it 420 goodmorning err goodnight,
>>
>>58574901
your indentation is wrong
after the elif the code should have the same indentation as after the first 'if'.
>>
>>58574757
So elegant.
>>
>>58574901
make sure your code is indented with spaces of 4
>>
>>58574892
I know, and I meant by "default" I meant "net/http".

Go may have it's own culture, but I still appreciate using frameworks or libraries composed by others, that have stood the test of time and torture.
>>
>>58574917
>>58574941
Edited the code, elif still returning syntax error
>>
>>58574962
you missed a close bracket ')' on print statement just before elif
scrub
>>
>>58574953
are you sure you want to use go
i'm not really confident in any of the ones i've seen and so far i've been happy without one

>>58574962
you never closed off the print call
>>
>>58574977
>>58574973
I already noticed that and corrected it, elif still returns the fucking syntax error
>>
>>58574982
python 2 or 3
>>
>>58574994
3.6.0
>>
>>58574953
That's whole thing about Go, the ""framework"" (it's not a framework, it's a HTTP server + utilities) that has stood the test of time is net/http. Everything else has been pretty much debunked as slow, bugged or too niche for general usage. What you can do is plug various libraries into it. What are you looking for? I am fairly familiar with the offering.
>>
>>58574999
you forgot to close off a call to float( too
>>
>>58575015
Some strange kind of magic happened and now the elif doesn't return the error but the print from FC does, even tough I corrected the code.
>>
>>58575015
Oh, you meat the other float
I think the code works now, thanks /g/
>>
>>58574818
What's wrong with trying to include underrepresented people in the tech industry?
>>
>>58574820
What? Post source
>>
>>58572928
How do I save a screen cap in python (turtle)?
>>
I was recently basically told to fuck off for using camelCase functions in Python, so I got to wondering if it's an issue.

I then found that C and C++ have a lot of functions that actually use snake_case. It hadn't really occurred to me before.

But I went back to my first experiences with C++, and I notice I was still using camelCase for functions.

So, I wanna know: What SHOULD I be using? camelCase or snake_case?

What's considered the BEST practice?
Also, what does UNIX prefer? Because I want to do everything in UNIX compliance.
>>
>>58574818
>white women
>barriers to progress

Totally agree, I don't know a more tpxic group of females than the white american slut
>>
>>58574977
>are you sure you want to use go
It's the fastest, and looking at the code, it just looks so clean and easy to use.

I'm ditching node.js and python.

>>58575014
All right. The application is as described: booru+wiki+discussion

Storage backend is postgresql plus a file system for files.

I wish to expose at least the following services, REST style with CRUD:

/accounts/
/gallery/files/:id/
/gallery/collections/:id/
/discussion/boards/:id/threads/:id
/wiki/pages/:slug/

In reality it's a lot more complex. For instance, visiting site.com/gallery/files should bring me to a HTML page, which shows a normal page.
Appending .json, visiting site.com/gallery/files.json should provide a jsonformatted, paginated view.

This means I need e.g templates. In addition, I want to set up web-sockets for a SPA, and I'd like to serve the same data as in the REST-api.

Some node.js frameworks lets you set up this rather easily, such as feathers.js . I'd like a GO equivalent that's fast, and good.

I've never heard anyting about "Iris" for GO, but it claims it's the fastest.
>>
>>58575102
use camelCase, snake_case faggots can fuck right off.
>>
>>58575060
>positive discrimination
>>
>>58575102
Python: snake_case
C/C++: camelCase
>>
>>58575140
What?
>>
>>58575102
https://www.python.org/dev/peps/pep-0008/#function-names
python is not a core component of a unix system so i don't know what the last bit means
>>
>>58574825
>using regex to parse html
>>
>>58574901
yeah, that's fucked me up a few times when I learned Python.
Indentation must be the same.

It will actually NOT 'compile' (interpret) correctly without the correct indentation.

Also, be careful not to misalign indents to fit OTHER statements.
I've done that...
if
->if
->else
else
->if
else
doesn't read as
if->if-else
else->if-else
but
if->if-else
else->if
else

but other than that, a lack of switches, and the weird way ternaries work, it's a pretty good language

one of my favorites, desu
>>
>>58575162
it just werks
>>
>>58574894
give more concrete example
>>
>>58575137
>>58575146
Hmmm, ok.

So, this is the modern, accepted way to do it, even if I were to write for UNIX?

>>58575152
I will adopt one single method across all my code.
I don't care about language-specific preferences.
As long as it is what UNIX and POSIX prefers.

In other words, my question was:
I will write Python the same way I write C/C++.
But, would UNIX prefer I write C/C++ with camelCase or snake_case?

>>58575162
I did that for a Python DiscordBot to return search results.
>for reference, this is what they complained about initially, the camelCase I was using in my Bot.
>>
>>58574925

Who is this titty monster
>>
>>58575150
>he's a minority
>quick make a special case for hiring him
>>
>>58572970
You don't deserve money if you don't know what you wanted to do with it.
Give it to me you faggot.
>>
>>58575233
Are you stupid or something?
>>
>>58575243
fuck you you sjwtrash
>>
>>58575243
yes
>>
>>58572970
Money only has value when it has been expended to acquire something else.

Money means nothing in itself and only as an exchange medium.

Therefore, what do you do with ur money? Go make something big. Change the world. Now that you have it, hire others to help you along the way.
>>
>>58575243
Tell that to the fucks who sued Oracle for not hiring enough asians
>>
File: 1484767985810.jpg (136KB, 1280x720px) Image search: [Google]
1484767985810.jpg
136KB, 1280x720px
>>58575214
the stray dog girl in urara
>>
Happy new President, /dpt/!
>>
I've decided that my first programming language to learn is going to be Java. Knowing fuckall about programming to begin with, what are the best resources to learn Java as a program and are there any books/websites/videos I should look at that will help me think or write like a better coder
>>
>>58575280
Oracle Java Tutorials. Install JetBrains IDEA community edition.

Go far kid.
>>
>>58575254
lol

>>58575260
You mean for discrimination? lol

retards
>>
>>58575270
#MAGA
>>
>>58575135
>postgresql
Personally I find https://github.com/lib/pq to be a nice thin abstraction to optimise against, but if you want an ORM even at the speed expense, try GORM.

>REST style with CRUD
Now here there is more choice in what router you can use. For maximum speed use httprouter , but I find it too restricting and generally use httptreemux, which is still very fast. Now if you really need something more malleable with regex matching and such, you can use the much slower gorilla/mux. But, personally, I think, if you need regex in your routes, you're structuring your API wrong.

>json
If you want to optimise that, you can use ffjson, instead of the inbuilt serialization.

>templates
Fastest solution is quicktemplate. It is more complicated to use than html/template, but much faster.

>web-sockets
Use gorilla's implementation.

>feathers.js
Not familiar with it, but it seems to abstract a fair lot, which always comes at a performance expense.

>Iris
Have not looked into it, so can't comment.

Also, are you the same anon that asked this on meguca?
>>
Web development is pure cancer
>>
>>58575210
i think this whole thing is nonsensical then
>>
>>58575334
/wdg/ is not here
>>
>>58575359
Then why is >>58575318 and >>58575135 here?
>>
>>58575340
What about it?
Wanting to ensure that my code always confirms to the One True Standard that is UNIX?
>>
>>58575376
Because we can't all talk about FizzBuzz and shit on eachother's favourite language all day.
>>
>>58575383
I'm sorry but there's more to programming just just fizzbuzz and web development.
>>
Drafting a project proposal for a React Native application I've built.

It's by far been the hardest part of this app. The last app I created the hardest part was writing the EULA. I hate this shit.
>>
File: kiss.gif (479KB, 300x374px) Image search: [Google]
kiss.gif
479KB, 300x374px
Are lispfags right?
Are lisps the answer?
>>
>>58575388
Yes, there are applications that have no networking functions.
>>
>>58575318
>Personally I find https://github.com/lib/pq to be a nice thin abstraction to optimise against, but if you want an ORM even at the speed expense, try GORM.

What about https://github.com/go-pg/pg ?

I tried that now:
package main

import (
"fmt"
"gopkg.in/pg.v5"
)

func main() {

db := pg.Connect(&pg.Options{
User: "postgres",
Password: "CHANGEME",
Database: "mediaboard",
})

ln := db.Listen("events")
defer ln.Close()

ch := ln.Channel()

for {
notif := <-ch
fmt.Println("----------------------------")
fmt.Println("Channel: " + notif.Channel)
fmt.Println("Payload: " + notif.Payload)
fmt.Println("----------------------------")
}
}


and this is fucking awesome.

Also thanks a lot for the rest of the advice. I need to research all of it. I checked out fasthttprouter, which claims to be faster, as per the name.

>I think, if you need regex in your routes, you're structuring your API wrong.
This is probably true, but doesn't it make for validation? Let's say you only want integers, why not add it in the routing? What about max no of characters?

Is it all faster to validate after we've gotten a hit?
>>
>>58575401
Networking != web development
>>
>>58575210
>i need to do it the way YEWNICKS does it because REASONS
You sound like THAT GUY in those just-above-intro level CS courses who, when the professor discusses the language that will be used for teaching, will shit his jorts about how $"{language} IS FOR BABIES, {myLanguage} IS THE BEST!" and completely miss the point of the class.
>>
>>58575419
Lemme guess, you are a Perl guy
>>
>>58575419
Ok, let's be realistic, then.

I WANT to develop for UNIX at some point.
So I WANT to follow their standards.

On the other hand, I'd rather not mix up a bunch of naming conventions.

When I first learned to code in PHP, I used functions like
>Clean_User_Input($userIn)
Look at that mishmash of fucked up convention salad
Let's not do that again, and instead conform to an industry standard...
>>
>>58575407
>What about https://github.com/go-pg/pg ?
Well, it's an ORM and uses reflection, so there definitely is a performance cost. Have not tried it myself.

>This is probably true, but doesn't it make for validation? Let's say you only want integers, why not add it in the routing? What about max no of characters?
You can do most of that with much more efficient methods like strconv. Regex is slow.

>Is it all faster to validate after we've gotten a hit?
What do you mean?

>>58575417
Please draw a distinct boundary between the two to support your claim.
>>
>>58575469
>What do you mean?
What you said in the second quote.
>>
>>58575464
>instead conform to an industry standard...
I hate XKCD but that comic about the "one unifying standard that turns into just another standard" is completely true. That shit happens on the daily in fields nowhere near related to programming as well. You just have to learn to deal with it and manage what your most-used languages use as their standard and how the unix standard feels about that.
>>
>>58575464
>>Clean_User_Input($userIn)
>underscore PascalCase with incomprehensibly short C-style parameter name
Impressive.
>>
the voting goes on, if you sitll want to
http://www.strawpoll.me/12132220/r
>>
Java is pure.
>>
>>58575725
Pure shit
>>
am i good yet

var numbers = [4, 2, 64, 34, 101, 17, 44, 82, 99, 45, 12, 6];
var biggest = numbers[0];

for (var x = 0; x < numbers.length; x++)
{
if (biggest >= numbers[x]) {
biggest = biggest;
}
else {
biggest = numbers[x];
}
}

console.log(biggest);
>>
>>58575773
>Javascript
No
>>
>>58575787

you were suppose to rate the algorithm itself not the language, anon
>>
>>58575773
>Javascript
No
>>
>>58575806
Just write something like
if (biggest < numbers[x]) biggest = numbers[x]


inside the loop, then you don't need the biggest = biggest
>>
>>58575773

yes this is the best you can do in terms of Big O
>>
>>58575874
what about the average case anon
>>
>>58574787
Anyone?
>>
>>58575773
Inefficient.
Just use:
biggest = numbers[x] > biggest ? numbers[x] : biggest;
>>
>>58575918

does this actually speed up the algorithm or is this just a cleaner way to write it?
>>
>>58575773
numbers = [4, 2, 64, 34, 101, 17, 44, 82, 99, 45, 12, 6]
biggest = foldl1 max numbers
>>
>>58575955
I think it's mostly just cleaner. It also looks sick with the Ternary.


TBQH, THIS Anon's probably speed it up by some small amount
>>58575837
Because it avoids assigning biggest to biggest, like he said.

Possibly takes out memory operations which are MUCH slower than CPU operations.

On small datasets, the gain is incomprehensibly small, but if you ran it on an array with like a billion, probably would be noticeable.

He also saved you a couple bytes of space in ur file. So, as much as I love the obfuscation of the Ternary, his is, in fact, more efficient.
>>
>>58575955

each element still gets iterated through once, so wouldnt really change the speed.
>>
>>58575773
console.log(numbers.sort()[0])
>>
>>58575998
Really, IMHO, the best way would be to make a sorted insert. That way, whenever you search, you can use a Binary Search.

Sacrifice assignment speed for lookup speed.
This also means that the smallest is always first and largest is always last, so those 2 lookups are done in O(1) speed. All other lookups would be done in O(log n)

But inserts could take quite a while.
>>
>>58576045
Correction. O(1), IF you separate the functions. So, max() and min() would be separate from find(numIn)
>>
File: jeb.png (19KB, 549x305px) Image search: [Google]
jeb.png
19KB, 549x305px
Had a giggle.
>>
i want to take a computed number known at compile time and put it inside a compile-time const char array.

there is this for turning an integer into a string:
http://stackoverflow.com/a/26824971

but then the question is how do i combine it with another string?

like for example
CONCAT("foo", numeric_string(123), "bar")


should turn into

"foo 123 bar"
>>
signed up for a machine learning course at my university. very bad move. it's chock full of indians, and the professor's an indian too. he had the definition of something on a powerpoint and was explaining it to the class, and his explanation was completely wrong. also he spent an entire class period talking about how to use latex ("latek" as he says) and then at the end said by the way, you can also just use microsoft word or something similar, it doesn't matter
>>
>>58576115
http://www.cplusplus.com/reference/string/string/operator+/
>>
File: 1483042407061.gif (4MB, 422x418px) Image search: [Google]
1483042407061.gif
4MB, 422x418px
>>58576168
>"latek"
>>
>>58576168
>"latek" as he says
that's right though
>>
>>58576225
>std::string
not constexpr
>>
>>58576257
no

http://tex.stackexchange.com/questions/17502/what-is-the-correct-pronunciation-of-tex-and-latex
>>
>>58573386
>emacs
>finding the perfect window manager

https://github.com/ch11ng/exwm/

same program :^)
>>
>>58576257
The X in LaTeX is the greek letter chi, so it's pronounced "Latech"
>>
>>58576288
>>58576319
i'm satisfied with an anyone saying "k" instead of the guttural "ch"
>>
>>58576288
latech isn't that far away from latek, and the second quote says it's lah-teck (latek) or lay-teck

the main point is that it's not latex as in the rubber clothing
>>
>>58576288
I'd worry that you had the autism if you pronounced it that way to me.
>>
Anyone have a link to the Nim in Action ebook?
>>
File: mfw.gif (373KB, 186x266px) Image search: [Google]
mfw.gif
373KB, 186x266px
>>58576319
yeah, and gif is pronounced "jiff"
>>
Trying to learn node.js, since everyone recommended I got the "async" package, one thing though is that I mainly need it for queueing so I'm doing

class.prototype.handlerequest = async.queue(function (_taskinfo, _taskcb) {
var self = this;
[...]
self.visit(_taskinfo.id);
[...]
});

class.handlerequest({id: 1}, function() {
//done
});


Obviously self.visit throws an error because "this" is the async shit, so how would I do this properly?
Should I just pass the class as an argument? doesn't it fuck things up? I'm talking about doing:


class.prototype.handlerequest = async.queue(function (_taskinfo, _taskcb) {
var self = _taskinfo.self;
[...]
self.visit(_taskinfo.id);
[...]
});

class.handlerequest({self: class,id: 1}, function() {
//done
});



send help
>>
>>58576319
Why it's not written entirely with greek letters, like ЛaTeХ
>>
File: angry reddit frog.jpg (5KB, 252x161px) Image search: [Google]
angry reddit frog.jpg
5KB, 252x161px
>MailMerge.OpenDataSource has 16 different optional params and one of them can be a fuckhuge connection string
>16 different optional params just to interact with an Excel file
>The few posts about it say "just see what VB does by recording a macro l0l"
Are the Interop.[office] files supposed to be this painful?
>>
>>58576593
Ask here: >>58538713
>>
>>58576593
Whoever told you that is retarded. Use async/await with Promise.
>>
Trying to implement my own [spoiler]syntactically retarded[/spoiler]programming language. Finally got lexer -> syntax parser -> AST to work. What should I do next? Do I have to start writing code generator for AST right now, or are there any other stages of compilation? Already implemented stuff like symbol table generator and variable/function name mangler (e.g., "main(int, char**)" becomes "_Z4mainiPPc", like in C++).
>>
File: 979839478765693999.jpg (14KB, 327x382px) Image search: [Google]
979839478765693999.jpg
14KB, 327x382px
>>58576923
>[spoiler]
>>
>>58576945
You can have spoilers.
Like
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            that
>>
>>58576945
That's actually to intensify my own opinion on my language's syntax, you know.
>>
File: x.png (25KB, 445x317px) Image search: [Google]
x.png
25KB, 445x317px
>>58576923
In fact, here's how it looks like. Some hybrid of Pascal, Python and C.
>>
>>58577054

Could be worse.
>>
>>58577054
Do you use indentaion as code blocks?
>>
>>58577082
Nope, as my lexer doesn't even recognize whitespaces and tabs as tokens, it just throws them away. This screenshot is the only code I could get translated to C++ (by my compiler) without loss of functionality.
>>
>>58577054
>Some hybrid of Pascal, Python and C
So you're making a shitier Go?
>>
>>58577126
Seems like it, but Go syntax looks much worse to me for some reason. I don't know exactly why I started writing this language thing.
>>
>>58575192
Russell's paradox and 'this statement is false' aren't concrete?
>>
>>58575102
Just use snek_case like a normal person

It's the shit
>>
>>58577158
You should get rid of : for type signatures. Judging from your example, it's completely useless.
>>
>>58577188
Then how should declarations look like?
C-like "type-name var-name"?
>>
File: 1478106018832.jpg (210KB, 640x640px) Image search: [Google]
1478106018832.jpg
210KB, 640x640px
>>58577109
Thank you, man.
You are a clever person.
>>
File: Screenshot_2017-01-20_13-48-44.png (189KB, 923x175px) Image search: [Google]
Screenshot_2017-01-20_13-48-44.png
189KB, 923x175px
http://pastebin.com/uqkLg9KU

Got an assignment to make a program that will encrypt/decrypt a string using AES. It's due in like two months, but I went ahead and got it done anyway because it wasn't hard to write at all (except for this one bit that tripped me up for a few hours).
>>
>>58575102
Python: snake_case
C: snake_case
C++: camelCase
>>
>>58577207
Exactly like they do now, but without the colon.
var name type;
var name type = val;
>>
when you're a good programmer girls let you do it, just grab em by the pussy
>>
File: Jan20-223504.png (14KB, 326x165px) Image search: [Google]
Jan20-223504.png
14KB, 326x165px
>>58577232
Okay, now my syntax parser accepts both
"var x: int" and "var x int"
>>
File: 55101413827178.png (564KB, 896x768px) Image search: [Google]
55101413827178.png
564KB, 896x768px
>>58577224
>snake_case
Case of best girl
>>
File: wew.png (42KB, 1280x619px) Image search: [Google]
wew.png
42KB, 1280x619px
>>58576962
thanks for making me think my reader had a stroke
>>
>>58577294
add type inference
>>
>>58577272
>when your code makes the panties moist
>>
>>58577310
I was thinking of it, actually. Maybe I will start implementing this right after I get semantic checker (checking for errors like referencing an undefined variable/calling undefined function) finally working.
>>
>>58577303
>best girl
That's not phoenix.
>>
>>58577388
there are no best girls in gatari
there are no good girls in gatari
>>
>>58577303
Should be new mascot of Python
>>
File: png.png (23KB, 180x266px) Image search: [Google]
png.png
23KB, 180x266px
>>58575125
>>58574818

>>>/pol/
back to your cages
>>
>>58577306
Is it that emacs-fourchan-reader thingy I've seen lately?
>>
>>58577272

ayy lmao
>>
>>58577464
yeeee

https://github.com/desvox/q4

I've not messed with it for a few days but I need to get it working for lainchan
>>
>>58576319
If that's the case then it would be pronounced lateh neither latek nor latech. Just call it latex.
t. pay denbts
>>
>>58577626
It just looks to cool. I've tried writing my one, even with pictures (it simplifies them so they can be drawn in terminal using 256 colors)
>>
>>58577696
ch is how chi generally transcribed tho
>>
>>58577777
>>
Which library could I use to create a text editor in c++ besides ncurses? I want it to have it's own window instead of being a terminal instance.
>>
>>58577768
What OS are you on? You will have to use GUI APIs for that.
>>
>>58577768
Qt
>>
>>58577733
χ=h (the sound is h as in "hi")
ch is a half ass way of pronunciation. "ch" is bastardised so that it gets understood.
The actual letter is called χι(heee, which is close to chi but not really chi).
>>
>>58577768
conio.h
>>
>>58574811
>Literally every major tech company is SJW-friendly anyway.
the outspoken ones. other companies stay out of politics or they don't say anything because it's not socially acceptable in obama's america to not be pro racemixing and pro faggotry
>>
however knuth pronounces tex is the right way. this is silly
>>
File: 1484527268611.jpg (46KB, 421x427px) Image search: [Google]
1484527268611.jpg
46KB, 421x427px
>>58577819
it's not obama's america anymore
>>
>>58577819
>in obama's america
try it now -- be yourself. no more excuses for you
>>
>>58577791
Linux, but it would be preferable if it worked on Windows too,
>>
>>58577798
I'll check it out
>>
File: cute anime pic 0151.png (292KB, 578x646px) Image search: [Google]
cute anime pic 0151.png
292KB, 578x646px
>>58577798
t-thanks
>>
File: 1451027110369.jpg (91KB, 1024x576px) Image search: [Google]
1451027110369.jpg
91KB, 1024x576px
>The number type represents real (double-precision floating-point) numbers. Lua has no integer type, as it does not need it
As a person who wanted to switch from Python to some other language, I'm in deep frustration.
What is a good language to switch from Python?
>>
>>58577971
Go.
>>
>>58577971
julia, go, bash, Maybe ruby
>>
>>58577971
Cython
>>
>>58577715
Images on the terminal? Did you convert them into a grid of colored cells? Thats really interesting!

I don't try to have image support in terminals though. This is aimed at GUI emacs. But it will work just fine in a terminal, minus the thumbnails. Feh/mpv commands will still work fine.
>>
I'm wanting to start a project (first one) where I have a script read emails from redbubble / teepublic and adds all of my sales together.

I'd like this to run on a pi zero and have it display the amount on a small lcd.

Is this something that a begginer would be able to accomplish? It sounds pretty simple, but I'm not sure. What language would be best to start this? Python?


Or should I just be using IFTT
>>
What is meant with the first ten digits?

If we take the first number for example. Would it be
"37...."
or
"....250"

???
Please help. I am retarded
>>
File: asdasdasd.jpg (192KB, 1010x872px) Image search: [Google]
asdasdasd.jpg
192KB, 1010x872px
>>58578258
>What is meant with the first ten digits?
>If we take the first number for example. Would it be
>"37...."
>or
>"....250"
>???
>Please help. I am retarded

Fuck. Forgot picture
>>
>>58578277
you %10^40 each number and you sum up those bitches
>>
>>58578258
>>58578277
Parse first ten digits of each number to an int and sum them. Then stringify and slice off the first ten digits of the sum.
>>
so many developers are dependent on stackoverflow to get stuff done in a reasonable time.

wouldnt that make stackoverflow worth billions of dollars?
>>
>>58578350
depends on what you mean by worth
they're doing quite well as it is
>>
>>58578365

I mean if everything on it got deleted somehow without any archives the economic damage would be enormous?
>>
>>58578390
No, I don't think so. You are overexagerating.
Maybe progress on new stuff would be a lot slower for a few months, maybe years
>>
>>58578016
>>58578015
>go
I dunno, there's too much memes about it, what are the reasons of those jokes?

>julia
Isn't it a language for math processing?

>bash
It's too specific language for shitcoding.

>ruby
How is it for desktop programs?
>>
>>58578390
Not him, but it's a nice, centralized way, to get knowledge. If it were deleted they still exists blogs that contains similar information.
>>
i haven't gotten useful information out of an se result in a long time. i must be in the minority
>>
>>58578390
No because you got the standard / library documentation.
If your lib don't document the API it really is not worth using.
Stackoverflow is shit that's in the first result of google but what you want is in the docs.
>>
>>58572970
>when you have a job and lots of money what do you do afterwards?
Personally I give it to a wealth management broker and let him figure out what to do with it. All I need is shelter, transportation, food, electricity, a computer, and an internet connection.
>>
>>58578409
Julia is just Python but better.

Over time, all languages tend towards LISP.
>>
>>58578460

so you live like a NEET with a job?
>>
>>58577971
>What is a good language to switch from Python?
Depends. What are you planning on programing?
>>
>>58578468
is there a lisp with types?
>>
>>58578409
>there's too much memes about it
What memes?
>>
>>58578501
no don't do it
>>
New thread:

>>58578512
>>58578512
>>58578512
>>
>>58578501
Scheme
>>
>>58578511
why not
>>
>>58578501
you mustnt listen to them

what have you done
>>
>>58578501
OCaml
>>
>>58578501
LISP has types, but they're latent, not manifest. See also: typed Racket.
>>
>>58578571
>they're latent, not manifest
is this the new way of saying "it's dynamically typed"?
>>
>>58575102
snake_case is objectively the most readable.
>>
>>58578602
Actually, it's the old way.
>>
>>58578611
wrong
>>
>>58572970
>not knowing what to do with you money
Money shouldn't stop being a mean to become a purpose
>>
>>58576115
If the numbers are literals it would be easiest to do this with a macro:
#define concat(s1, n, s2) s1 #n s2

adjacent string literals are automatically concatenated into one string literal.
>>
>>58575102
Doesn't matter. Just be consistent. If you're working in a team, everyone has to use the same convention. Personally I like snake_case.
>>
>>58578702
what i'd like to do is turn e.g. 2 * 2 into "4". the answer in the stackoverflow link managed to get a static constexpr const char* but it's not a literal
>>
>>58578762
The C preprocessor will not evaluate any expressions.
>>
>>58577768
A text editor shouldn't need that many widgets, so just make a tiny platform abstraction layer yourself and use native gdi/xcb/wayland/cocoa directly.
>>
>>58578808
yeah i know. it would be nice to do it with templates/constexpr somehow. i found code to concat strings into a constexpr std::array but the call to data() to get the char* isn't constexpr
>>
>>58578873
http://en.cppreference.com/w/cpp/container/array/data

apparently it's constexpr in C++17 but the compilers don't seem to support it
>>
>>58579117
or it's just the member function that's constexpr and not the returned pointer
>>
>>58578460
Wait, you can pay people to make money for you?
>>
>>58578484
>>58579327
Yes.
>>
Currently updating some documentation for the BasicTV source code and converting macros over into settings when appropriate. I'm also working on major stats collection and a generalized approach to disregarding old samples, as well as other small networking functions.

I'm also looking into integrating the Veryfit fitness band to Gadgetbridge, since I am giving one to my brother as a late Christmas gift (shipping was pretty delayed) and I don't want his identity/IMEI information stolen.
Thread posts: 334
Thread images: 29


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.