Leave these fields empty (spam trap):
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists


Former beginners

View Thread Reply
- Tue, 11 Apr 2017 04:13:55 EST CXy47cRy No.36707
File: 1491898435709.jpg -(39661B / 38.73KB, 600x450) Thumbnail displayed, click image for full size. Former beginners
What did you do before you were good enough at programming to work with it?
I used to know some programming (i had a few courses in it a bunch of years ago in university before i dropped out) but i think i was very, very far from being able to work with it. What kind of stuff did you program when you weren't very good?
13 posts omitted. Click View Thread to read.
Shitting Sabblebury - Sat, 29 Apr 2017 22:16:23 EST VGkaBTKz No.36776 Reply
There is only one way https://www.youtube.com/watch?v=dvwkaHBrDyI

You find a large open source project, in other words software that people actually use, and you go through the feature request list and ask to implement one of them. The reason why you ask is because somebody else could be doing it at the same time. There will probably be a contributers guide you can read for style which you will want to follow.

You start with the easiest feature. The project will give you feedback how to fix your commit if it's missing things or badly written. The users will then find bugs in your feature and you will fix them.

Then repeat. Keep doing this: writing features and fixing bugs until you get good enough at programming that this is no longer an impossible task for you. This is the only, the best, the single most effective way to get good at programming by yourself if you don't have a "mentor" or Sr. Dev sitting beside you.
Emma Weggleford - Sun, 30 Apr 2017 11:33:55 EST m0fnFolr No.36810 Reply
I was imagining something like this even though I have no idea how it works yet.
Right now I'm mostly doing simple exercises but it's going pretty well so I should be able to get decent at it after I've put more time into it.

What's some good stuff to think about when trying to figure out what would be easy to do?


View Thread Reply
- Sat, 15 Apr 2017 00:02:23 EST TI6IU0t+ No.36720
File: 1492228943306.jpg -(11926B / 11.65KB, 247x204) Thumbnail displayed, click image for full size. Fintech
In job ads for developer jobs in the financial sector, I often get the impression that their requirements aren't awfully strict.
It almost looks like it should be easier to get jobs there than anywhere else, is it like that or have I misunderstood everything?
I barely know anything about this stuff and was just curious so my lack of knowledge could mean that my impressions are wrong.
Shitting Sabblebury - Sat, 29 Apr 2017 22:34:28 EST VGkaBTKz No.36778 Reply
Yes, the reasons why they aren't strict is because Wallstreet knows that finding a developer who's an expert in literally everything is a unicorn, so what they do is partner a developer with a mathematician or AI/machine learning type expert, and they work together to build HFT or whatever trading strategy they're doing. They typically want ex video game devs, so somebody with C++ knowledge that can be given a spec to implement though lately they've been looking for functional programmers.

It's also a who you know type job, it's hard to get in at first because most of these jobs are never advertised but once you do get in you quickly network as half your coworkers will leave to work for some other hedge fund and often recommend you. That's when you make the gargantuan money in finance tech as you get large performance bonuses but work 60+ hours per week.

Best first language programming

View Thread Reply
- Sat, 15 Apr 2017 23:47:44 EST qnKqhFp7 No.36722
File: 1492314464935.jpg -(139134B / 135.87KB, 1280x920) Thumbnail displayed, click image for full size. Best first language programming
Hello guys I'm a total noob but I would like to start programming

So I was reading about codes and so on and I think python or java would be good starting point for me

do you agree? what was your first languague programming? any typs for me? thanks
6 posts omitted. Click View Thread to read.
Lydia Derringsirk - Tue, 25 Apr 2017 17:43:17 EST xulTIMe4 No.36756 Reply
OP here

I would like to learn the absolute basis to all, like the second language would be easier

Also a multi-task language that can be used for many applications....still python?
Frederick Brinningville - Tue, 25 Apr 2017 20:55:31 EST S+TDDgvB No.36757 Reply
Java would also be an alternative. Python is nice and easy enough to learn, has a very specific mindset and an associated purity along with it; there's always a most Pythonic way to go. Java on the other hand, has speed. It's not C speed, but it's not slow as balls Python speed. It's the most imperfect, good enough kind of speed that won't scare the majority. IMHO Python is less generic and slightly less flexible but the community seems more concerned with correctness.

All that considered, there's huge overlap between both so it's basically down to what kind of person you are.
Shitting Sabblebury - Sat, 29 Apr 2017 22:29:18 EST VGkaBTKz No.36777 Reply
I take it you just want to learn programming and not computer science, which is different.

My advice is start with HtDP book (free) and then the PAPL sequel (also free).
Edx has made a set of 3 courses out of HtDP called 'How to Code' because of some licensing reasons https://www.edx.org/course/how-code-simple-data-ubcx-htc1x#!

The PAPL book is here: http://papl.cs.brown.edu/2016/ it's done in 'Pyret' which is like, functional python. This doesn't matter though because you want to learn how to program then after can spend time mastering your language of choice by reading it's spec/docs.

This is all you need really. You will learn a profoundly typed programming discipline with HtDP that flows directly into PAPL. If you get bored of just hacking around automating everything on your desktop and want a job, there's this: https://www.gitbook.com/book/frontendmasters/front-end-handbook-2017/details which will bring you up to speed on all the piles of javascript abstractions and framework junk


View Thread Reply
- Fri, 31 Mar 2017 12:40:46 EST MX3iLMV2 No.36667
File: 1490978446340.jpg -(294275B / 287.38KB, 840x798) Thumbnail displayed, click image for full size. HAPPENING NEW VAULT 7 CIA LEAK

>RELEASE: CIA Vault 7 part 3 "Marble"

>today, March 31st 2017, WikiLeaks releases Vault 7 "Marble" -- 676 source code files for the CIA's secret anti-forensic Marble Framework. Marble is used to hamper forensic investigators and anti-virus companies from attributing viruses, trojans and hacking attacks to the CIA.

>Marble does this by hiding ("obfuscating") text fragments used in CIA malware from visual inspection. This is the digital equivallent of a specalized CIA tool to place covers over the english language text on U.S. produced weapons systems before giving them to insurgents secretly backed by the CIA.

Shit Mibberworth - Sun, 02 Apr 2017 04:48:40 EST P6PS9CBz No.36673 Reply
I presume that knowledge of this leak to Wikileaks was the reason that the government declined to publish the "Djiboutin" hack evidence to the public - because if they had, then a little less than a year later we'd all find out that it was never the Djiboutins in the first place.
Matilda Clublingtirk - Tue, 04 Apr 2017 21:18:51 EST xES2LFr1 No.36684 Reply
is there a torrent for this one and part 2 ?
Cedric Pibberlere - Fri, 14 Apr 2017 15:45:08 EST MX3iLMV2 No.36719 Reply
1492199108253.jpg -(263487B / 257.31KB, 1676x1571) Thumbnail displayed, click image for full size.
What is Vault 7?: https://youtu.be/D6BdaoyJe-Q

>RELEASE: Inside the top secret CIA virus control system HIVE https://wikileaks.org/vault7/

>Today, April 14th 2017, WikiLeaks publishes six documents from the CIA's HIVE project created by its "Embedded Development Branch" (EDB).

>HIVE is a back-end infrastructure malware with a public-facing HTTPS interface which is used by CIA implants to transfer exfiltrated information from target machines to the CIA and to receive commands from its operators to execute specific tasks on the targets. HIVE is used across multiple malware implants and CIA operations. The public HTTPS interface utilizes unsuspicious-looking cover domains to hide its presence.

>Full doc: CIA orders to hack Le Pen & other French presidential candidates

Julian Assange Press Conference and Q&A on Vault 7, Year Zero and the CIA (03-09-2017): https://youtu.be/uxmMt4EW3PQ

What do? (Academic Ethics Question)

View Thread Reply
- Mon, 03 Apr 2017 00:05:04 EST SWJfiJ9j No.36675
File: 1491192304967.jpg -(622208B / 607.62KB, 1241x1067) Thumbnail displayed, click image for full size. What do? (Academic Ethics Question)
I started tutoring one of my classmates who is enrolled in an intro to software dev-course which I completed easily last year.
I thought this would be an easy task, I passed this course with flying colors and really took a liking to programming and Java (which is the language of choice for beginner's programming at BCIT).

I couldn't have been more wrong. He doesn't have the same instructor I did, and her assignment specifications are borderline illegible. Beyond being rife with typos and painfully unspecific I've noticed some much deeper problems while trying to help him navigate these tangled assignment specs.

At first I thought the worst of it was things like specifying to override compareTo() but not specify to actually implement the comparable interface. Dumb lazy stuff like that.

In helping him with the final assignment however, I've noticed not only profoundly bad program design, but the fact that the specifications are malformed. It's too complicated to get into the details but let's just say this isn't bad code, but straight up wrong code. The whole program is just one big logic error.

I want to write an email to the program director to complain about this teacher, my classmate would rather I didn't. I want to respect that but I don't think she has any place teaching programming, especially to beginners. Not only are they being ripped off, but from what I've seen they are being severely lead astray by her instruction.

How should I proceed?
(picture kind of related)
4 posts omitted. Click View Thread to read.
Eugene Boblingworth - Mon, 03 Apr 2017 23:31:32 EST WLOo3E7i No.36680 Reply
Interesting, I guess I've been away from Java for too long. Makes sense though.

I guess there is nothing wrong with bringing it up with the department head if you really want to, but it's like you said:
>this is not my teacher
It's not your responsibility. This is pretty much equivalent to having a student have their parent talk to the department head. If the student thinks something is wrong, they should bring it up with the teacher/department head.

But, at the same time, you did mention it was an intro to software dev course, which means it is probably the first time most of the students have ever coded, and as such, have no idea how terrible of a teacher she is.
Henry Summerhire - Wed, 12 Apr 2017 00:25:29 EST MyTF28xo No.36713 Reply

>Can someone explain why it's out of line to bring this up with the department head?

It's not. Go ahead.

If you were her student, you would still need to go to the department head. You don't go to the person grading your work and say "Look, Pajeetna, you don't know what the fuck you're doing. Please fix it." No matter how nicely you say it, you're going to be weathering a shitstorm for pointing it out. Either she doesn't realize what a moron she is, in which case she's going to be pissed that you questioned her competence, or she is going to realize it, and just when she landed this cushy academic job (probably as a diversity hire), some smartass undergrad is on to her. Expect rape/racism accusations. "He came to my office and said I'm a dirty foreigner and tried to rape me!"
Alice Drimbletidging - Wed, 12 Apr 2017 13:31:17 EST FNUGTkco No.36714 Reply
1492018277093.jpg -(177444B / 173.29KB, 1252x1252) Thumbnail displayed, click image for full size.
Agreed, too much of this shit is going on and it needs to be fixed. Also, you might want to have you classmate talk to some of the other students, see where they are at and see if you can get some mutual support and solidarity going.


The school isn't paying the students, the students are paying the school. If the school was paying the students then it might make sense for them to try and fulfill insane and broken requirements. That or if the course was entitled "introduction to software development office politics".

There's way too little accountability in education these days. With tuition rates going into the outer ionosphere having teachers that don't know what the hell they are doing isn't acceptable.

Data Visualization Project

View Thread Reply
- Mon, 16 Jan 2017 16:41:51 EST RzCYRoD4 No.36458
File: 1484602911804.png -(244522B / 238.79KB, 789x477) Thumbnail displayed, click image for full size. Data Visualization Project
I'm interested in doing a small data visualization project in python, processing, R or whatever for a local hackathon that's coming up in 2 months.

I've taken a bunch of 'introductory' courses in programming (nothing past data structures) in c++, python syntax and fucked around with an arduino a bunch in the past, but other than that i do not have a CS background though i'm not terrible at math. i want to enter this hackathon to gain more exposure to development, hopefully contribute to something cool, and have fun

what can I do in 2 months to prepare, so I don't show up and just sit there and not have anything meaningful to contribute? what should i practice?
2 posts omitted. Click View Thread to read.
Polly Fonnerridge - Tue, 17 Jan 2017 02:06:30 EST XSh2pMMH No.36462 Reply
Try TouchDesigner. It's node-based but you can run python scripts. It's super fun
Frederick Nondershaw - Tue, 17 Jan 2017 14:42:28 EST 9QSfnS0r No.36463 Reply
>Make sure you can do the basics like ingesting and munging data.
ie learn numpy, python list-comprehensions (and dict- & generator-)

What you can also do if you decide to use python do the data mangling in python and use something like flask to create a cheap webservice for the visualization part that you can do in javascript & three.js

However if you aren't as familiar with python, let alone javascript just do everything in C++. The point of hackatrons is using the language you already familiar with not learn a new one imho.
Edwin Croffingnedge - Sun, 09 Apr 2017 04:20:27 EST rAGFRmkY No.36692 Reply
Use js Canvas And WebGL If U Need it!!

Looking for Book

View Thread Reply
- Tue, 04 Apr 2017 17:10:35 EST bwAjObSg No.36681
File: 1491340235219.jpg -(29200B / 28.52KB, 379x528) Thumbnail displayed, click image for full size. Looking for Book
Pic related

>All I could find for an image (used tineye and etc. but this is all I have on it)
Book Name: Computer Programming in C (Thai Edition)
Author: Chakchai So-in
Date: 2012

No clue why I can't find this book. So it in a cringy video, but a book shown in the video looked interesting. I am aware of the language barrier.
Phoebe Suvingcocke - Tue, 04 Apr 2017 20:22:13 EST 4j+sbIx0 No.36682 Reply
If you can't find anything out about it, it's probably published by the university for internal use only. That's very common.

namespaces in c++

View Thread Reply
- Wed, 03 Aug 2016 00:37:32 EST 9GNL65xE No.35945
File: 1470199052041.jpg -(312799B / 305.47KB, 600x1500) Thumbnail displayed, click image for full size. namespaces in c++
newb here...

What exactly is a namespace in c++, I still don't really understand.
5 posts omitted. Click View Thread to read.
for ex - Sat, 25 Mar 2017 11:30:29 EST rAGFRmkY No.36637 Reply
using namespace std;

is the namespace standard type library which hold most of the main functions of basic c++ development cout cin ect.
Archie Breddlepin - Sat, 25 Mar 2017 15:15:42 EST u6Z4WHSY No.36638 Reply
Careful Bru, that's almost a coherent thought.
Samuel Henningworth - Sat, 25 Mar 2017 23:16:20 EST rAGFRmkY No.36640 Reply
its the only direct sci based answer wtf? crack?


View Thread Reply
- Fri, 17 Mar 2017 08:11:58 EST sIgWxmPi No.36612
File: 1489752718854.jpg -(716829B / 700.03KB, 2000x1000) Thumbnail displayed, click image for full size. Python
So I was helped here, a few month back, choosing a cartesian point from a list by some criteria. Now i need to know how I can select an entry in another list, the criteria being that it has the same index as the entry from the previous list.

Dunno if relevant but here is how i get the cartesian point from the first list:

for point in lista:
avstand = abs(math.hypot(krok[0] - point[0], krok[1] - point[1]) - redskapslengde1)
if avstand < solution[0]:
solution = (avstand, point)

return solution
answer = get_min_distance(krok, redskapslengde1, lista)

So I want to summon an entry in a different list, with the same index as this answer. The latter list consists of single numbers, not x,y pair like the former.

Whoever answers this gets to fuck me in the ass if you can find me :)
Or a cake, if you can find that.
4 posts and 3 images omitted. Click View Thread to read.
Nell Ceblingwitch - Sat, 18 Mar 2017 10:21:55 EST WLOo3E7i No.36620 Reply

There are a few ways you could do it. You could keep track of the index yourself while looping through the list, or just use the index function:

Shitting Bozzletock - Sat, 18 Mar 2017 14:21:41 EST 0Wz3cQnI No.36623 Reply
Just post your code on pastebin and maybe someone will make it do what you want for you.
Reuben Blackdale - Mon, 20 Mar 2017 18:49:24 EST 7WN4whBM No.36629 Reply
1490050164640.png -(27060B / 26.43KB, 757x462) Thumbnail displayed, click image for full size.
Yea bich!
That's exactly what I was looking for.

Brute Force Compiler

View Thread Reply
- Sun, 19 Mar 2017 14:35:03 EST 8Wkw9vVF No.36625
File: 1489948503186.jpg -(118472B / 115.70KB, 500x716) Thumbnail displayed, click image for full size. Brute Force Compiler
I've just made what I call a brute force compiler. How does it work? Well it occurred to me that since a program is simply a sequence of bytes we can actually enumerate all the possible programs. So it does that, and runs each one in an emulator until the tests all pass.

One test is that the program should not have written to, read from, or branched to any byte in memory that it hasn't explicitly been given read write execute access to. Just to prove the idea, I put a second test in and that' passes if some memory location, which was initialised to 0, contains some non-zero value after the program has run. Sure enough, the compiler produced the following code (in 6502 assembly):
dec $7F
(that decrements the memory location I specified, so since it was initialised to zero now it'll obviously contain a non-zero value). And this is the shortest program that passes this test, and dec is the first opcode numerically which modifies a memory location in the necessary way.

My idea is that if we have enough tests, then we can use this to generate a program which matches some specification. (And since the programs are tested in a certain order, we also know that it's the shortest possible program that matches the specification).

So the next thing is: How can we get these necessary tests? Maybe I can automatically generate them from running an equivalent program. Maybe I can generate them from source code. Any ideas about that? Or any ideas about how useful this whole contrafibulation might be?
1 posts omitted. Click View Thread to read.
Archie Bottinglack - Mon, 20 Mar 2017 03:50:28 EST P6PS9CBz No.36628 Reply
This sounds like the principle applied to superoptimizers:

The problem (both with your idea and with superoptimizers) is that with larger programs your search-space expands too quickly for it to be feasible to search all possible sequences of program bytecode. If you query:
Find me the fastest program that does this thing in less than 4 bytes, you're searching through 2^32 possible (though not necessarily valid) program sequences, but if you expand the search to 8 bytes then you're already at a size too large to search on a single computer in a human lifetime at 2^64 program sequences.

If you restrict your search to only valid programs, then the possibility-space is reduced, but only linearly so you're still stuck with the exponential-search issue only now you have fewer possible programs to enumerate.
Phoebe Fanlock - Wed, 22 Mar 2017 16:57:02 EST 8Wkw9vVF No.36631 Reply
Thanks for all your thoughts and input thus far.

>constraints are really hard to think about
So maybe this thing would have a hard time with functions that have side effects and other unknowns and things which are hard to reason about (luckily those things are rare in good programs). But maybe this thing would work okay on a function which returns a value or set of values given an input. Something like a keyboard matrix decoder or a mathematical function. The constraint would be as simple as "You can use this region of memory for your own purposes. You can read from these locations. Put the return value here. Here is how the inputs map to the return value, including the don't-cares."
Of course, that might still be hard to compute...

I haven't had time yet to read that paper properly yet, but the skim has been interesting. Neural nets are another interest of mine

One application that has a (relatively) small search-space: automatically finding the transformations for a peep-hole optimizer. A peephole optimizer might look at four bytes at a time, seeing if a four-byte sequence may be replaced by shorter sequence.

python and you and me and you also

View Thread Reply
- Thu, 16 Feb 2017 16:17:09 EST 1UV84ceD No.36510
File: 1487279829548.jpg -(3283017B / 3.13MB, 3840x2160) Thumbnail displayed, click image for full size. python and you and me and you also
Hi this forum was helpful with teaching me a pythonic way to do something before so I'm hoping you can share another pattern with me for a new problem I have.

Using pandas to merge two dataframes based on time series info how can I expand the values in one dataframe that is based on daily information to match the dataframe based on the minute. I have two time columns one in format day/month/year ti:me in ten minute intervals and the other is day/month/year. So sample data looks like:

Time - A - b
1/1/2017 00:00:10 - 5 - 6
1/1/2017 00:00:20 - 3 - 2
1/1/2017 00:00:30 - 4 - 4 etc
&& in the other dataframe I want to merge it is

Time - Value1 - Value2
1/1/2017 - 9 - 1
1/2/2017 - 5 - 6
So it should look like

Time - A - B - value1 - value2
1/1/2017 00:00:10 - 5 - 6 - 9 - 1
1/1/2017 00:00:20 - 3 - 2 - 9 - 1
1/1/2017 00:00:30 - 4 - 4 - 9 - 1
Fanny Tillingfield - Sat, 18 Feb 2017 04:30:27 EST dluvNLbx No.36513 Reply
  1. Pandas isn't Python. The Pythonic solution involves a list comprehension and isn't what you want to do.
  2. Unless you're interested in the continuity of your date+timestamp value, I would split that permanently.
  3. Once you have a simple date column in each DF, what you're looking to do is merge: merged_df = df1.merge(df2, left_on='date', right_on='date', how='outer')
  4. 2017-01-01. That's how you'll format dates now. Forever.
Phoebe Blemmlepire - Sat, 18 Feb 2017 04:41:18 EST 9QSfnS0r No.36514 Reply
Why do store time/date in this fashion? Use unix timestamps and some library like dateutil to parse them.
I'd convert the time/date into timestamps the first chance I'd get then it's just a regular value and easy to deal with.
Edwin Brondleforth - Tue, 21 Mar 2017 20:10:27 EST JW2J65bb No.36630 Reply
df1.merge(df2.reindex(index=df1.index, df1, method='pad'))

Basic question from the unenlightened

View Thread Reply
- Sun, 19 Feb 2017 09:20:55 EST 3mRefssQ No.36515
File: 1487514055529.jpg -(10661B / 10.41KB, 275x206) Thumbnail displayed, click image for full size. Basic question from the unenlightened
With programming I know that theres levels to this shit, So I wanna know: Where can I go to learn VBA/SQL

I feel like getting a good grasp on advanced excel and access would help me tremendously when im looking to learn future programming languages
5 posts omitted. Click View Thread to read.
William Cushwark - Sat, 11 Mar 2017 14:56:14 EST 9QSfnS0r No.36607 Reply
No it's a case of unwarranted self important of the author that thinks teaching without explanation of the fundamental concepts would yield a better understanding.

This teaches by example too, but isn't dated shit. And it's not run by people trying to insult your intelligence.
Polly Garringwat - Sat, 11 Mar 2017 15:33:41 EST b2Dm/aZr No.36608 Reply
But apparently it's run by people who want you to have an account. What ever happened to people reading a fucking manual and going over production code?
Frederick Demblenat - Sat, 11 Mar 2017 21:21:37 EST 9QSfnS0r No.36609 Reply
The other thing want you to pay 20 bucks, (which also requires an account of a sort) whichever is worse?

>What ever happened to people reading a fucking manual and going over production code?
"Web 2.0" happened.
Back in the 00s you were fine only knowing about 3-4 different technologies to get a decent paying job in the IT sector. If you knew the LAMP stack you were golden already. Today you need to know 30-40 technologies to get a similar job and reading up on the official documentation of all of those would take longer than some of those are are considered the state of the art. (I slightly exaggerated)

Perhaps it's also that SW development has become a normie job in a way, heck people learning it communicate over Facebook groups instead of IRC and you are considered a uber nerd already if you code for fun.

First programming language(s) to learn

View Thread Reply
- Tue, 28 Feb 2017 04:15:25 EST s5UXSHt+ No.36573
File: 1488273325559.jpg -(38187B / 37.29KB, 420x436) Thumbnail displayed, click image for full size. First programming language(s) to learn
I was thinking of starting to try to learn python. I was just wondering, I know I can easily search up stuff but I want some stoner programmers to give me an idea of whether or not I want to pursue this. I wish to make MUD like games but with a GUI. What is the best language(s) to learn to make MUDS
6 posts omitted. Click View Thread to read.
Phineas Brecklestock - Wed, 01 Mar 2017 16:42:41 EST JfvrqUKV No.36581 Reply
Just because MUDs are simple doesn't mean your first MUD won't be hot garbage.
Phineas Brecklestock - Wed, 01 Mar 2017 18:18:25 EST JfvrqUKV No.36583 Reply
True story: 20 years ago I made a large multiplayer map for an RTS (also simple), spent a long time uploading it over my Motorola 28.8, and two minutes into playing it with some strangers I was like holy shit everything about this was a mistake and I just disconnected.

Simple Linux Dev

View Thread Reply
- Mon, 20 Feb 2017 03:11:37 EST YL0YFsWq No.36519
File: 1487578297992.jpg -(130895B / 127.83KB, 1080x1080) Thumbnail displayed, click image for full size. Simple Linux Dev
I want so accomplish something very simple with my CentOS webserver, but I'm not sure where to begin.

I need to visit a URL to some JSON then convert the JSON to a SQL insert statement, and I want it to run every 30 seconds lets say, forever.

There's nothing there that sounds particularly difficult but I don't even know what search terms I should be looking at. Any help is appreciated.
6 posts omitted. Click View Thread to read.
Fanny Gudgespear - Fri, 24 Feb 2017 16:04:55 EST 9QSfnS0r No.36570 Reply
Ugh, fail2ban is a stupid stopgap measure and I can't stand that it's a common practice.
I it were up to me everything that's not intended to be accessed by the public would be behind a ssh tunnel. I know end user authentication and all that stuff is still an issue.
Again if it were up to me I'd just fucking force them to use a password which has enough entropy. Ever had to beg to be white-listed from a spam blacklist because some retard use the name of there dog as a password?
Cuz fail2ban won't save you that hassle, believe me.
John Hocklehood - Sat, 25 Feb 2017 00:04:50 EST YL0YFsWq No.36571 Reply
Fair enough, this is the first time I've had to administer a Linux server or even any kind of server. I noticed there were a lot of failures in the log so fail2ban was what I ended up with after a few minutes of searching around.

There's only me accessing it and it's just a cheap $5 box that I can trash and rebuild whenever but I'll look into what you're suggesting if you give me a link or two to readup.
Frederick Fannerforth - Tue, 28 Feb 2017 07:02:30 EST YL0YFsWq No.36575 Reply
Not that anyone cares but the server is up and running and everything is ticking along nicely.
I have scripts that are recording all the threads created on another chan board so I can do some analysis on trends, repost, etc.

Once the infrastructure was in place it wasn't hard to add some logging for 420chan. I am polling http://api.420chan.org/stats.json every 30 mins so hopefully in the future that I can produce some dank graphs, but there's isn't much info exposed.

Report Post
Please be descriptive with report notes,
this helps staff resolve issues quicker.