[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]

4chan.com daily programming thread /dpt/ edition Previous th

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: 358
Thread images: 34

File: dpt-poster.jpg (517KB, 1521x1076px) Image search: [Google]
dpt-poster.jpg
517KB, 1521x1076px
4chan.com daily programming thread /dpt/ edition
Previous thread:
>>61385654
>>
Bootcampers or degree holders?
>>
File: asm.png (9KB, 266x216px) Image search: [Google]
asm.png
9KB, 266x216px
Who /haskell/ here?
>>
>>61393119

wow this is a really lame thread image op
>>
>>61393142
1 GB of garbage per second here
>>
File: 1448741665769.jpg (8KB, 307x327px) Image search: [Google]
1448741665769.jpg
8KB, 307x327px
>>61393142
>forever <- here

how fitting
>>
Should I learn javascript or python?
>>
>>61393171
C++
>>
>>61393171
python for scripting, javascript if you're doing web development and need to know it
>>
File: js for hardware.jpg (89KB, 861x515px) Image search: [Google]
js for hardware.jpg
89KB, 861x515px
>>61393171
JS, it's the future
>>
File: scr.png (189KB, 1680x1050px) Image search: [Google]
scr.png
189KB, 1680x1050px
>>61393119

Exploring the deepest, darkest corners of Racket ( ̄ー ̄)
>>
>>61393119
I'm currently trying to learn how to effectively use structs in C. So far, they're great, they take all the stuff I wanted from OOP and put it into C.
>>
>>61393142
Can you show me that asm monad?
>>
>>61393171

Pythons sucks. It is literally a cult. Go watch some pycon talks and come back and tell me you want anything to do with those people.
>>
File: retardproof.png (20KB, 749x38px) Image search: [Google]
retardproof.png
20KB, 749x38px
and people say c++ is hard
>>
>>61393254
>Pythons sucks
no es uno argumento
>>
>>61393254
https://www.youtube.com/watch?v=uqsZa36Io2M
>>
>>61393264
What language would make such a stupid decision?
>>
>>61393254
>search for pycon videos
>click on a random one
>click on a random point in the video
>picture of a family and a newborn
>"a family to take care of"

lul
>>
>>61392332
>I wish I knew about a programming language that had python like semantics but with strong typing, and easily supported haskell-style pattern matching/list processing with some kind of nice support for currying scenarios.
So, I just happened upon OCaml and it seems to satisfy all of these at once. I'm going to go learn it I guess.
>>
>>61393266
>the lazy man of europe is behind the laziest language in programming
really expresses some poetical properties
>>
>>61393327
>laziest language in programming
whatchu mean?
>>
>>61393327
>python
>programming
hilarious
>>
>>61393356
it just cempiles :^)
>>
>>61393391
>>61393393
is that your argument?

lmao

kill yourselves
>>
>>61393322
no multicore
>>
>only just started learning how to program
>already passing as a native /dpt/-inhabitant
i think i just might make it lads
>>
>>61393408
calm down, pedro. did you miss your siesta?
>>
File: 1500134053247.png (2KB, 400x400px) Image search: [Google]
1500134053247.png
2KB, 400x400px
Today i found out there a species of penguins called "Gentoo penguins"
>>
>>61393450
What do you think the distro was named after?
>>
I'm a white person who is not an Indian and I use Java. AMA.
>>
>>61393514
how does it feel being bog standard
>>
>>61393514
?
>>
>>61393514
Do you work for some kind of bureaucracy?
>>
>>61393514
How many design patterns do you know by heart?
>>
>>61393514
How big of a meme are classes and OOP?
>>
>>61393142
This looks quite fancy.
>>
>>61393415
Damn, that kind of sucks. It still supports message passing between processes for basic cases, though. Most of my personal projects don't use parallelism, though, so I'll still try OCaml. If I want to use an "interesting" language for parallelism, I'll try Elixir or something else on the Erlang VM.
>>
How do I learn how construction works in C++?
Where can I learn the rules for (), {}, = and = {} without just referring to the standard and trying to separate all the jargon?
>>
>>61393295
>Watching Python talks by anyone other than David Beazley and Raymond Hattinger
>>
>>61393415
ocaml has multi core through multi processing.
>>
>>61393142
hey-o
>>
>>61393142
f a b x = snd ([a,x],b)
>>
>>61393555
If done properly they are not a meme at all.
>>
How do I avoid fucking using {} in C# all the time? The doc says it's the best practice but I don't want 398473984 levels of inden-fucking-tation.
>>
>>61393682
?
>>
>>61393525
>implying
>>61393536
Telecom
>>61393549
Unironically none except for the one's I've come up with myself over the years.
>>61393555
They are useful. But you can really apply those things in any language, some just don't have the syntax sugar. Use inheritance sparingly.
>>
>>61393682
Dont use class POO.
>>
Why should I learn haskell if my job is mostly C++/Python/Matlab?
>>
Why should I poo in the loo if I have no loo?
>>
If you are bad at programming can you still get a job? I think I am okay but I'm scared I am really bad.
>>
>>61393797
Not programming
>>
Anyone have any good Java guides for games and networking
Two threads ago I got no help
>>
>>61393811
you just have to pretend to know thinks.

like, you know, in life
>>
>>61393811
>If you are bad at programming can you still get a job?
Absolutely. I have to work with idiots every day.
>>
I propose that we investigate the connection between the Indian class based society and their proclivity for class based languages
>>
>>61393811
Most people are bad at programming.
The worse you are, the better chance that a shitty company will hire you.
>>
File: indian_ocean.gif (24KB, 600x428px) Image search: [Google]
indian_ocean.gif
24KB, 600x428px
>>61393854
there's a Java sea near India
>>
>>61393870
>near india
By your definition of "near", Canada is "near" Mexico.
>>
File: 1487172163731.jpg (89KB, 811x780px) Image search: [Google]
1487172163731.jpg
89KB, 811x780px
What's a good way to introduce a kid to programming?

I'm home for a couple of days and my little sister was interested in it when I was coding. I think if she could code simple games easily she might like it but I don't know any software like that.

I was thinking Racket
>>
File: 129279795347.png (665KB, 800x600px) Image search: [Google]
129279795347.png
665KB, 800x600px
How good of a foundation C++ is if I want to learn other languages?
>>
>>61393894
scratch maybe
>>
>>61393893
python turtle
>>
>>61393850
>>61393851
>>61393858
Cool. That makes me feel better.
>>
>>61393870
Uncanny. Right next to India? It could be even shittier than the language.
>>
>>61393894
I suggest for Scheme as well. The constant syntax helps you focus on what you are programming instead of learning the syntax.
>>
>>61393909
C++ makes all other languages look like little babbies.
I won't recommend it as your first language though, it'll be frustrating to learn.
>>
>>61393909
This isn't stackoverflow. Use proper grammar.
>>
>>61393953
Lazy grammar is completely legitimate
>>
Any bad things you can say about Golang? I'm using it for backend microservices and it feels just perfect for the task.
>>
>>61393982
G E N E R I C S
E
N
E
R
I
C
S
>>
>>61393982
Large binaries. Doesn't actually link statically unless you're careful.
>>
>>61393982
>interface{}
>>
int leapyear(int year)
{
if (!(year % 400))
return 1;
if (!(year % 100))
return 0;
if (!(year % 4))
return 1;
return 0;
}

int dpm(int year, int month)
{
switch (month) {
case 4:
case 6:
case 9:
case 11:
return 30;
case 2:
return 28 + leapyear(year);
default:
return 31;
}
}
>>
>>61393997
Interfaces seem fine for me. I never properly worked with C/C++ so it's not a big deal to me.
>>61394010
> Doesn't actually link statically unless you're careful.
Elaborate?
>>
>>61394066
https://github.com/golang/go/issues/9344
>>
>>61393909
Learn C first then C++. It's much better this way.

Shit like Java and C# are super easy to get into after C++. Webdev and scripting languages in general are fucking hell though, I miss having types when I code in python, when I get into a new codebase and I have no idea what kind of object a function returns because it has no return type, and even worse when the object was passed into it it didn't need to have type signature, so you're just backtracking like a retard through function calls trying to figure out what kind of fucking object you're working with. Dynamic typing was a fucking mistake and the person who created should be fucking hanged.
>>
>>61394261
Python has optional type annotation right?
>>
>>61394261
>Learn C first then C++. It's much better this way.
Stop giving such horrible advice, this will only make him a worse c++ programmer.
>>
>>61394292
>>> def add(x: int, y: int): return x + y
...
>>> add(5,6)
11
>>> add(5.5,6)
11.5
>>>
>>
>>61394346
WAKE ME UP
>>
>>61394345
C with templates/RAII/STL is a perfectly valid way to write C++.
>>
>>61394346
type annotations are just hints.

it doesn't do anything
>>
How to make graphic shit with Haskell?
I can't stop installing dependencies holy shit when does it end. With C this doesn't happen.
>>
>>61394440
haskell has the best lib support for FP.
>>
File: An Interview with A. Stepanov.png (52KB, 802x378px) Image search: [Google]
An Interview with A. Stepanov.png
52KB, 802x378px
Comments?
>>
>>61394458
>You end with axioms
Wat?
>>
Great talk for JS fans:

https://www.youtube.com/watch?v=3U3lV5VPmOU
>>
>>61394458
Right, but complex for a lot of people.
>>
>>61394458
>interfaces that span multiple types
Sounds a bit like typeclasses.
>>
>>61394483
JS is already looking to hack on types in the future. Dynamic plebs will wake up sooner or later.
>>
>>61394530
I worry it will be some gradual/optional typing thing, nowhere near what is needed.
>>
>>61393682
>not having an entire line dedicated to all of your { or }
Pleb.
>>
>>61394483
>JS fans
If you see any tell them to go to >>>/wdg/ and leave us alone.
>>
>>61394544
Oh it will be like all Jshit.
Atleast Nim or Elm seem like viable solutions.
>>
>>61394530
dynamic typing works if the point of the language is just to get out of the way of the developer and let him do whatever shit he feels like e.g. Lisp
>>
>>61394582
Funny that Clojure seems to be moving to types. But yeah, LIsp somewhat manages
>>
>>61394558
JS isn't just for webdev these days, thanks to Node.
>>
>>61394609
>node is not webdev
???
>>
>>61394609
>JS isn't just for webdev these days
>there's node
I think you're mistaken. Node consists entirely of webdevelopers trying to hamfist their language into relevance elsewhere.
It's just as awful and it's the same people.
>>
Is statically typed functional programming a British conspiracy?
>>
>>61394631
its a conspiracy ill fall for.
>>
File: capture1.png (5KB, 543x32px) Image search: [Google]
capture1.png
5KB, 543x32px
>>61394458
After reading into Generic Programming I completely agree.
>>
>>61394760
>citation needed
They must have forgotten to use
::typename
and
::template 
>>
So if OOP is a meme then why was I only taught that and C? I feel robbed.
>>
>>61394866
>I feel robbed.
You were.
>>
>>61394866
OOP is an important tool and should be one of several in your toolbox.
Go learn functional programming too and you'll be set for just about anything.
>>
>>61394866
>then why was I only taught that
Because academic people know nothing about programming and will easily fall for anything you tell them is correct in software development.
>>61394878
>OOP is an important tool and should be one of several in your toolbox.
When do you use OOP?
Probably inappropriately.
>>
>>61394878
>OOP is an important tool [Citation Needed]
>>
>>61394887
GUI programming.
>>
>>61394458
>AI made these programs
AI made tons of useful algorithms that are used in many fields, he has no idea what he is talking about.
>>
>>61394870
>>61394878
So you mean knowing OOP won't be enough for me to get a job? Where should I start with functional programming?
>>
>>61394483
The problem with just adding types randomly in every language is that they add them without any reasoning or mathematical model, they just add them because they think that they are cool: just like most things in these languages.
>>
>>61393682
>The doc says it's the best practice
It isn't
>>
>>61394913
OOP is definitely enough to get a job. Java is object oriented to a fault, and it's the defacto code monkey language.
Understanding the alternatives will simply make you a better programmer.
>>
>>61394897
>GUI programming.
So you're introducing a massive amount of:
-Redundant state
-Retainmode api managment
-GUI-object coupling
-Difficulty in customizing your GUI in an effective way
For what gain?

Please, argue for OOP in GUI. People take it as a given sometimes because they're told OOP fits there. It really doesn't. It just doesn't harm that much compared to the old retained mode systems we had to work with.
>>
>>61394878
Dumb fuck

>>61394887
>Because academic people
Academic people invented languages like Haskell and Agda, do you even know what you are talking about?
>>
>>61394940
>Understanding the alternatives will simply make you a better programmer.
Ah okay, well I want to be better. Can you recommend a language to start with?
>>
So is functional easier than OOP then? If so, why use OOP at all?
>>
>>61394966
HR and managers
>>
>>61394919
That talk is not about adding types to JS.
>>
>>61394966
OOP is just currying. You can implement all of OOP with FP.
>>
>>61394983
What parts of FP can't you implement with OOP?
>>
>>61394601
Well of course every modern lisp worth using has the option for static types. I've never used static types in lisp, but it's there.
>>
>>61394946
>Academic people invented languages like Haskell and Agda
Which area also very far from being production oriented. Academics are just largely ignorant about software development. It's a mistake to rely on them.
Shit, just last week I had someone argue with me that cuckoo hashing is a good idea because it's worst case O(1) access.
These people don't know anything about software. They're not supposed to either. I'm appreciative of their math-efforts but if they could just keep their paws off the computers I'd be very grateful.
>>
Can someone recommend a good functional language to start with? Which one is most widely used?
>>
>>61394993
Most of it, starting with the most important feature, first class functions.
>>
>>61394993
OOP is literally an abstraction on top of FP.
>>
>>61395000
Back to India, Pajeet.
>>
>>61394346
>>61394356
>>61394403
type annotations have two purposes:

- helping development tools like auto completion or static type checking (pycharm)
- using a third party checker while keeping the code compatible (eg http://mypy-lang.org/)
>>
>>61395023
What purpose does this comment even serve?
>>
>>61393909
I'm learning C++ as my first language and it's a pretty great experience, senpai. If you start with it you'll be exposed to both low and high level aspects of programming -- you'll be managing allocation and deallocation of memory on the free store, moving pointers and iterators around, reading and writing through all sorts of streams, building data structures and classes, overloading operators and functions, casting types and memory addresses, and making all of the above interact together in clusterfucks.

Alot of anons will recommend C instead, but I say start with C++. You'll get your hands dirty real quick. Many languages out there -- as well as introductory programming books -- tend to shy away from lower-level stuff like memory management and hardware, but not C++. Similarly, other languages that *do* let you poke the hardware tend to be light-weight and avoid being bloated, but not C++ -- it's been chugging the OOP and Abstraction koolaid for a long time.

Once you get acquainted with it, other popular langauges like Java, C#, and Javascript will look and feel familiar.
>>
>>61395008
You can see object with one method as functions.
>>
>>61395004
What languages have you used before?
F# is a good introduction
>>
>>61393909
C++ does not have a mathematical foundation.
>>
>>61395008
>first class functions.
The object is your closure. The constructor captures the environment. Just stick a .invoke method on it and you have your function application.
>>
>>61395042
C/C++/Java/Javascript

Thank you I will check it out.
>>
>>61395026
>type annotations are like comments where people agreed on their significance
Awful.
>>
>>61395042
F# is a retarded mixture of C# and ML.
>>
>>61395040
>>61395054
Advanced type system features
>>
So the path to become a decent programmer is as follows, correct? This has what I have gotten from lurking these threads for the last 2 weeks or so.

-> Learn C so you have the fundamentals
-> Learn a scripting language
-> Learn a systems language
-> Learn Lisp/Haskell

Correct?

I want to write an imageboard software. Simply because none of the currently available ones suite my needs. I am aware that this could take quite a while, and I don't mind. I have moderate system administration experience, if that will helpful at all.

I am willing to dedicate my life to this goal.
>>
>>61395066
That's why I said introduction
>>
>>61395073
>Learn a systems language
C is a systems language.
>>
>>61395073
Why not just start with Haskell?
>>
>>61395073
>Learn C so you have the fundamentals
no
>>
>>61395073
This is retarded, you gain nothing by learning new languages. Instead, you only gain when you are learning new CS concepts.

>-> Learn a scripting language
>-> Learn a systems language
Both of these are buzzwords.

>-> Learn C so you have the fundamentals
Fundamentals of what? CS? C will be a very bad teacher for that.
>>
>>61395083
Don't teach with a language that will later need to be unlearned
>>
>>61395073
You don't need to know the theory of computer science or computer architecture to build a basic imageboard. You'll get the most enjoyable experience by just picking one of the standard web frameworks and practicing it enough to make what you want.
>>
>>61395084
I should have written "additional systems language". My mistake.

>>61395087
Not entirely sure. Looking at GitHub, it seems a few people have written some imageboard engines in Haskell. Most imageboard engines, such as vichan, Infinity, and the now abandoned Infinity Next are all written in PHP. An interesting project that I know of called LynxChan is written in Node, however. None of these imageboard engines suite all of my needs. They're either missing a backend feature or the front-end is missing something or is just plain wrong.
>>
>>61395083
You better use a solid language as introduction.
>>
>>61395073
>I want to write an imageboard software.

Well fuck it sounds like you should be learning webdev shit instead.
>>
>>61395108
The fundamentals of programming.
>>
>>61395116
This is the best imageboard program http://nntpchan.info/
>>
complete moron with baby knowledge of just python here.

javascript is JS, right? So what are the things called node.js and react.js that I always see everywhere, javascript modules of some kind?
>>
>>61395008
In Java, you can use the command pattern. It's disgusting but it does result in first class ""functions.""

And with enough work you could emulate advanced type features. I think the easiest way would be to mimic how typed lisps work as a field in your ""function"" objects.

>>61395073
C is a systems language. Replace systems language with assembly. It's worth knowing to understand how computers work, to read compiled code, etc, but you don't see it talked about much because unless you want to do homebrew nes or something, you'll never use it.
>>
>>61395131
C will teach you the fundamentals of modern computer architecture - or rather, you need to understand the fundamentals of computer architecture for C to make a lick of sense.

>>61395142
node.js is for running javascript on a web server. react.js is some library I guess.
>>
>>61395131
C will be a terrible language for that. Instead I would suggest that you use Scheme and read SICP.
>>
>>61395153
>C will teach you the fundamentals of modern computer architecture
No

>you need to understand the fundamentals of computer architecture for C to make a lick of sense.
Wrong again.

>node.js is for running javascript on a web server
You can run it locally too.
>>
>>61395165
Not programming
>>
>>61395153
>C will teach you the fundamentals of modern computer architecture
c was made to program the shittiest architecture of the seventies.
>>
>>61395113
That's a silly rule
>>
>>61395140
I'm aware of NNTPchan, here is why I can't use it for my goals.

-Its CSS is not like that of 4chan. To name a tiny thing that most front-ends on IBs miss, it does not include sidearrows. You know, the >> behind every post.

-It lacks many of the JavaScript features of 4chan. It doesn't even support YouTube embeding if I recall correctly

-Many of the features that are present in vichan, lynxchan, or any other imageboard engine are not present in NTTPchan. Does NNTPchan even have support for IDs, flags, etc? Does it have a custom CSS box where users can enter their own custom CSS? An options menu? no.

-Its moderation is extremely limited. I do not want to run a decentralized imageboard. I need my imageboard to have excellent moderation and moderation utilizes. Ban requests for janitors, it needs to be secure, and it needs to scale.

-No imageboard software that I have encountered, with the exception of one, has a blotter identical to that of 4chan's. None.

For these reasons, I feel like it would be better to start a new imageboard project, rather than contribute to an existing one.

Thanks for the advice thus far. I will be sure to continue lurking here, and to constantly push myself until this thing is completed.
>>
Fuck, it seems like the people here just hate every language.
>>
>>61395144
>And with enough work you could emulate advanced type features.
No, because they won't be part of the type system.
There are many type system features you simply can't get in Java.

Nevermind that it's simply not good enough to say "well it's technically possible" - many of these implementations regardless are awful to use.
>>
>>61395229
>CSS
>Javascript
Why the hell would you need that? Just connect with a newsreader (NNTP).

>Many of the features that are present in vichan, lynxchan, or any other imageboard engine are not present in NTTPchan
Do these support nntp?

>Does NNTPchan even have support for IDs, flags, etc?
I am not aware of any news reader with support of IDs and such things. Also, since proper people post via tor I don't see the point.
That being said you could include it as a header or in the From field.

>Its moderation is extremely limited. I do not want to run a decentralized imageboard. I need my imageboard to have excellent moderation and moderation utilizes
You don't need to start it as decentralised, anyone who likes your imageboard can make it decentralised in the future however.
>>
>>61395140
No one wants to use decentralized networks because of cp though.
>>
>>61395239
Fuck programming.
>>
>>61395279
>No one wants
*only retards

>because of cp
NNTPChan has no CP
Also there is nothing in decentralised networks that makes them more likely to have cp.
>>
>>61395279
The internet is a decentralized network with cp.
>>
>>61395244
Oh you can make it part of a type system. Just not THE JAVA(tm) type system. You'd end up with an incredibly strong typing system that's dynamic, but you couldn't do static typing without writing some kind of lint program.

Don't tell me you conflated static typing with strong typing anon?
>>
>>61395289
Its just the nature of the network comes with more liability. for all.
In a perfect world, itd be standard.
>>
>>61395302
any engineer can tell you that moving structures are genereally weaker
>>
>>61395306
You are not making much sense desu.
>>
>>61395313
generally
>53s
>>
>>61395302
>that's dynamic
No such thing
>>
>>61395321
Then why didnt Zerochan take off?
>>
>>61395274
Why would I need it? Because I don't intend for people to access it over a newsreader. I would like for it to be accessible over a web browser, and for the experience in that web browser to be excellent.

The majority of features that I am referring to that are missing are related to moderation and board settings. There are a plethora of features in vichan that simply aren't on NNTPchan. They may be supported on NNTP, but they aren't implemented.
>>
>>61395337
The market is saturated.
>>
>he would rather use selection statements for spaghetti braces than elegant virtual dispatch
if(just())
{
if(nest())
{
if(my())
{
if(shit())
up();
}
}
}
>>
>>61395364
>handrolling virtual dispatch
disgusting
>>
>>61395364
My_shit.just.fuck.it.up;
>>
>>61395337
No idea
NNTPChan is much different however, you have per node moderation

>>61395344
>Why would I need it?
Because any sane person would not want to make yet another shitty forum clone, instead he would prefer to use a proper, old, good and standarised protocol that every mail client supports.

>I would like for it to be accessible over a web browser, and for the experience in that web browser to be excellent.
Which is why it provides an http frontend.

>The majority of features that I am referring to that are missing are related to moderation and board settings
This sounds like something minor, it should be easier to implement it on top of the existing codebase than starting a new yet another shitty non-nntp imageboard project.

>There are a plethora of features in vichan that simply aren't on NNTPchan
Can you tell me some actually useful features?
>>
>>61395364
if (just(/* no arguments? wtf? you impure bastard */) && nest(/* no arguments? wtf? you impure bastard */) && my(/* no arguments? wtf? you impure bastard */) && shit(/* no arguments? wtf? you impure bastard */))
return up(/* no arguments? wtf? you impure bastard */);
>>
>>61395410
There is one argument, the ().
>>
File: Screenshot_2017-07-10-19-19-06.png (565KB, 854x480px) Image search: [Google]
Screenshot_2017-07-10-19-19-06.png
565KB, 854x480px
New to this never programmed before is it worth learning will I get a job or freelance?
..
? Any help
>>
>>61393119
>mfw I used to be a member of that club
those were the days
>>
File: fragzeichen2.png (174KB, 562x389px) Image search: [Google]
fragzeichen2.png
174KB, 562x389px
>>61393119
Has anybody here ever used the Last.fm API? Somebody here has got to have. I can't for the life of me get a session key.

I'm following the instructions here to a T:
http://www.last.fm/api/desktopauth
https://seagullcancode.wordpress.com/2012/09/06/last-fm-auth-services-demonstration/

But I keep getting an "Invalid method signature supplied" error.

Right now I'm just testing the waters in sh:
token=$(curl $ROOT_URL"?method=auth.getToken&api_key="$API_KEY"&format=json" | jq '.[]' | cut -d "\"" -f 2)
echo "\n\nPlease authenticate your account first at: http://www.last.fm/api/auth/?api_key=""$API_KEY""&token="$token
echo "Press any key after you've authenticated"
read blah
signature=$(echo "api_key"$API_KEY"methodauth.getSessiontoken"$token$SECRET | md5)
curl "$ROOT_URL""?method=auth.getSession&token=""$token""&api_key=""$API_KEY""&api_sig=""$signature"


What's wrong with this?
>>
File: 1453306116180.png (58KB, 313x196px) Image search: [Google]
1453306116180.png
58KB, 313x196px
>>61395459
Was the original ad real? If it was, was it supposed to be ironic?
Was it filled with narutards and landwhales?
>>
>>61395445

If you become good you'll probably get a job as long as you aren't completely autistic

being a little bit autistic is ok
>>
File: 1496389617817.jpg (690KB, 900x1110px) Image search: [Google]
1496389617817.jpg
690KB, 900x1110px
>>61395497
I-Is that Tomo-chan?
https://gelbooru.com/index.php?page=post&s=view&id=3706462
>>
File: Screenshot_2017-07-10-19-18-58.png (501KB, 854x480px) Image search: [Google]
Screenshot_2017-07-10-19-18-58.png
501KB, 854x480px
>>61395515
Where do I start If I don't have to pc until Christmas my laptop broke.

But could I without a diploma and what's basically coding is making apps and web design right
>>
File: P_20170716_115849.jpg (78KB, 600x303px) Image search: [Google]
P_20170716_115849.jpg
78KB, 600x303px
>>61395459
membership card for evidence
>>61395497
Yes, it was posted around uni but it was definitely ironic. The club was actually kind of cool, of course there's a few turbonerds but for the most part fairly normal people who like anime. The guy who used to run it was in my class in engineering and was actually pretty cool and funny.
I remember watching Gekkan Shoujo Nozaki-kun when I went
>>
>>61395553
you now have the most cred in this entire thread
>>
So if I made a program that solves the slider puzzle with A* algorithm is that enough to prove to employers I can code and get me a job?

It also lets you solve it yourself and load your own images and stuff. I will probably do more with it but I just want to know if that will be good?
>>
>>61395396
Automatic update
Ability to use MySQL
CAPTCHA (may be wrong on this one)
Ability to lock board
If poster's proxy supplies X-Forwarded-For header, check if poster's real IP is banned.
If poster's proxy supplies X-Forwarded-For header, save it for further inspection and/or filtering.
Filtering system for posts that contain certain content. Useful for antispam purposes
Ability to limit posts-per-ip in an alloted period of time
Other misc. antispam stuff
Require a body for posts
Require a body for threads
Strip superfluous new lines at the end of a post.
Strip combining characters from Unicode strings (eg. "Zalgo").
Minimum post body length for OP and/or post.
Maximum post body length
Limit links in a post
Maximum links in a post
Maximum number of cross-board links/citations per post.
Maximum filename length
ROBOT9001 filter
Image spoilers
Visible Sage on/off
Forced Anon (serverside)
Country Flags
IDs
User flags (/p0l/-like)
Dice Rolling
Ban appeals
Capcodes (?)
Maximum images / Multiple Image Upload
YouTube embeding
SoundCloud embeding
>>
>>61395553
Jon? Is that you?
>>
>>61395445
it took me a year with no schooling. mind you I did NOTHING else that whole year.
>>
>>61395335
>that's dynamic
>No such thing
$ls
foo.ss main.ss
$ cat foo.ss
(: foo ((list-of number) -> symbol))
(define (foo x) (if (= (car x) 0) 'zero))
$ cat main.ss
(load "foo.so")
(foo "0")
$ csc main.ss
$ csc -s foo.ss
$ ls
foo.so foo.ss main main.ss
$ ./main

Error: (car) bad argument type: "0"

Call history:

main.ss:1: load
main.ss:2: foo


>>61395578
Yeah that's a pretty good thing on your resume. Make sure that you have binaries for it too. Good job adding the solve it yourself and custom images feature. It's those little details that complete it in the eyes of the nontechnical or extechnical HR guys hiring you.
>>
>>61393514
taxi to apooloo sir? thank u good morning....
>>
Why does /dpt/ dislike Indian software engineers?
>>
>>61395544

You can do a lot more than websites and apps with programming. For instance, I do embedded systems programming which is programming little microcontrollers (tiny computers with cpu speeds measured in MHz and RAM measured in KBs or low MBs that interact with the world by reading and changing the voltage levels on pins that connect it to a circuit board) that do things like control motors, read from sensors, do wireless communications, etc. There is a lot of shit out there to do, you'll figure out what interest you later on.

If you don't have a pc right now I'd just get a couple beginners books and read through them for the time being. I recommend learning C, others might tell you that's dumb but whatever, just learn any language, by the time you are more experienced you will be able to pickup new languages in a week or two so there isn't any real opportunity cost to this sort of thing.
>>
>>61395650 (Pajeet)
>>
>>61395594
>Automatic update
You are supposed to use your newsreader
Also, only niggers have js enabled, especially if they use tor.

>CAPTCHA (may be wrong on this one)
You are

>Ability to lock board
What is the point?

>If poster's proxy supplies X-Forwarded-For header, check if poster's real IP is banned.
>If poster's proxy supplies X-Forwarded-For header, save it for further inspection and/or filtering.
Yet another http bullshit.
Also, only shitty proxies support that - not to mention that you are supposed to only allow tls access if you use http.

>Ability to limit posts-per-ip in an alloted period of time
Retarded, he could just use a proxy or tor.

>Require a body for posts
>Require a body for threads
>Minimum post body length for OP and/or post.
>Strip superfluous new lines at the end of a post.
>Strip combining characters from Unicode strings (eg. "Zalgo").
Retarded

>Maximum post body length
Pretty sure that this already exists.

>Maximum number of cross-board links/citations per post.
>Image spoilers
>Visible Sage on/off
Retarded
Also no newsreader supports spoilers

>Country Flags
>IDs
>User flags (/p0l/-like)
Retarded and no newsreader supports that.

>Dice Rolling
Requires a trusted third party.

>Ban appeals
What is wrong with irc and/or mails? Or using tor to ban evade.

>Maximum images / Multiple Image Upload
Exists

>YouTube embeding
>SoundCloud embeding
Cancer

The rest (and even most of these) can be trivially implemented on top of the existing software.
>>
>>61395650
sir it is very disliked of INDIA because their jelous of our job..... we do not overcharge like expensive ameican pigs....

hope u liked it.... good luck.....
>>
File: Screenshot_2017-07-12-19-44-02.png (649KB, 854x480px) Image search: [Google]
Screenshot_2017-07-12-19-44-02.png
649KB, 854x480px
>>61395611
Any references if I learned during my Neet years I'd be good now fuck me
>>
>>61395621
What is this supposed to prove exactly?
>>
>>61395686
lad why arent you in your BBS right now?
>>
>>61395697
It's strong typing that's dynamic.
>>
>>61395734
I don't think anyone's disputing that you can have strong dynamic typing, look at Python
>>
>>61395686
When I say "automatic update" I'm referring to the backend software.

>What is the point?
Because it's a feature that I need.

>Yet another HTTP bullshit
I don't plan on using NNTP.

>shitty proxies
i.e, the majority of proxies. What retarded ban evaders use.

>He could use a proxy or Tor
Tor posting will be restricted behind an accounts system, or disabled entirely.

>Retarded
>No newsreader supports spoilers
Just because you consider something to be retarded does not mean that it is not needed. This lack of features is why I will not use NNTP.

>Requires a trusted third party
Wrong.

>What is wrong with IRC/mails?
Because it's a bad experience for the end user.

>Cancer
Still need it though.
>>
>>61395690
yeah it was just about the only good thing to come of my time as neet. A big part of how I got the job was just going to usergroups frequently and networking with everyone. Luckily my areas nix group was full of seasoned engineers, and I was the only younger(20-21) attendee. Check meetups.com or something to see if theres anything around you.
>>
>>61395690
more doggo pics pls
>>
>>61395757
The guy I was responding to was. Honestly it's obvious that dynamic code can be strongly typed because it requires effort on behalf of the language designers to make code weakly typed.
>>
>>61395708
I am

>>61395774
>When I say "automatic update" I'm referring to the backend software.
This is retarded, just like you.

>Because it's a feature that I need.
For what?

>I don't plan on using NNTP.
Why? Are you a turbo faggot?

>i.e, the majority of proxies. What retarded ban evaders use.
It's snakeoil

>Tor posting will be restricted behind an accounts system, or disabled entirely.
You should kill yourself my friend.

>This lack of features is why I will not use NNTP.
No useful feature is not supported in NNTP.
Anyhow, you can actually do it in nntp if you send html or html-like messages. (ew)

>Wrong.
True

>Because it's a bad experience for the end user.
Only if you are a windows-10 using discord retard.

>Still need it though.
No you do not, but as I said it is still easy to implement.
>>
>>61395830
>Tor posting will be restricted behind an accounts system, or disabled entirely.
>You should kill yourself my friend.
Not him but anon you're posting on an imageboard which effectively has every tor exit node banned.
>>
>>61395734
>that's dynamic
No such thing though. It can't be something that does not exist.

>>61395757
No such thing as dynamic typing.
>>
>>61395843
>No such thing as dynamic typing.
What do Python and Scheme have, then?
>>
>>61395841
Does not change the fact that it is retarded. 4chan is a normie board nowadays.
>>
>>61395843
Dynamic typing just means that the code isn't run through a static type analyzer fool.
>>
>>61395854
They have many things, what exactly are you asking about?

>>61395862
I think you are thinking of dynamic type checking.
>>
>>61395830
If dice rolling requires a trusted third party why I can roll dice both on 8ch and here. The 8ch codebase does not require any external resources to roll dice.

I understand that you are frustrated that not many people use NNTPchan, and I am sure that you would love to have another node. But the protocol does not fit my needs. And yes -- I need to tend to my windows-10 using discord retards. They will probably make up a significant part of the userbase. That's just the way it is, my friend.
>>
>>61395870
Did you not see the type declaration in the code I posted? Or is that not real because it wasn't complicated enough? Would you prefer a more complicated type? Here's one for a built in higher order function:

 (: sort (forall (e (s (or (vector-of e) (list-of e))))
(s (e e -> *) -> s)))
>>
>>61395870
>They have many things, what exactly are you asking about?
You needn't be so obtuse.
>>
>>61395895
>If dice rolling requires a trusted third party why I can roll dice both on 8ch and here
8ch (only retards use that) and 4chan are the trusted 3rd parties.

>I understand that you are frustrated that not many people use NNTPchan
Actually I do not care about nntpchan per se, I would still be fine with any nntp-using board.

>But the protocol does not fit my needs
I doubt that these are your real needs. You just want these shitty features because they look fancy.

>And yes -- I need to tend to my windows-10 using discord retards. They will probably make up a significant part of the userbase. That's just the way it is, my friend.
End yourself?
>>
>>61395905
>Did you not see the type declaration in the code I posted?
Yes, I did. How is it relevant to the topic?

>Here's one for a built in higher order function:
Ok, nice, how is it relevant however?
>>
I've written a small webapp using SQLite as the DB. It works very well and I don't particularly want to move to Postgres et al.

However, I want to add high-volume logging and I suspect this will be challenging for sqlite (since it doesn't support parallel writes). I haven't measured it yet so this might not be a problem at all, but if it is, what should I use to store log data?

If I just write out to a CSV from multiple threads, there'll be race conditions and general corruption. If I synchronise the writes, I might as well just use another sqlite DB.
>>
File: 1487565971080.jpg (150KB, 1920x1080px) Image search: [Google]
1487565971080.jpg
150KB, 1920x1080px
I want to make a tagging program like *booru or hydrus, what db and stuff should I use? I am not aware of any easy and efficient way to search for tags in sqlite.
>>
>>61393909
Who is this cunny bunny?
>>
>>61395843
>Hi, I'm the anon who keeps being autismal about terminology
>>
>>61395968
So tell me wise guy, what does "typing" mean?

>>61396031
I think the best way to do it is have a table for each tag with the images classified under it, and for each image entry, have its tags under it.

When you add a tag to an image, you're adding it to the image's entry in the database, and you're adding the image name to the tag's table.
>>
>>61396067
>So tell me wise guy, what does "typing" mean?
How is this relevant to the topic?
>>
>>61396031
I'm not familiar with those programs but storing tag names in sqlite and querying them shouldn't be a problem at all. If you need natural text search, it supports that too (fts5/3).
>>
>>61393909
Who is this mattress actress?
>>
>>61393119
Who's the girl on the pic?
>>
>>61393254
Then go watch a JavaScript convention.
>>
>>61393909
Who is this pocket rocket ground control?
>>
>>61396067
SHIT for performance
https://stackoverflow.com/questions/2940384/
>>
>>61393909
Who is this male repoductive organ gorgan?
>>
>>61396139
Misaka Mikoto
>>
What language has the most powerful but still strongly normalizing type system these days?
>>
>>61393909
Who is this man milk mephistopheles?
>>
>>61396067
Thanks anon, this is what I will do.

>>61396093
Wouldn't that be slow? With O(n) complexity for n images stored?
>>
>>61396167
Thanks anon
>>
>>61396153
The opposite actually. It's an optimization.

You only use the tag tables when processing a search query, and it prevents you from scouring the entire image database to find images with particular combinations of tags.
>>
>>61393909
Who is this man muscle steam shovel?
>>
>>61396067
I don't quite follow you. To clarify, this is how you're supposed to do tagging in an RDBMS:
create table image (
image_id integer,
name text
);

insert into image (name) values ("foo.jpg");
insert into image (name) values ("bar.jpg");
insert into image (name) values ("baz.jpg");

create table tag (
tag_id integer,
name text
);

insert into tag (name) values ("stuff");
insert into tag (name) values ("misc");

create table image_tag_assignment (
image_id integer,
tag_id integer
-- foreign keys omitted for brevity
);

insert into image_tag_assignment (image_id, tag_id) values (1, 1);
insert into image_tag_assignment (image_id, tag_id) values (2, 1);
insert into image_tag_assignment (image_id, tag_id) values (3, 2);


>>61396186
>Wouldn't that be slow?
Measure performance, create appropriate indices, cache if you need to.
>>
>>61396211
you should know this
>>
>>61396212
using a whole table for each object goes against every principle of relational database design concevied since their invention

information about a tag is a record, not a type of record.

https://stackoverflow.com/questions/7544544/database-efficiency-table-per-user-vs-table-of-users
https://stackoverflow.com/questions/4418651/should-one-create-a-new-table-for-each-user-on-a-web-app
https://stackoverflow.com/questions/7617655/im-trying-to-create-a-database-table-for-each-user-who-registers-what-am-i-doi
https://stackoverflow.com/questions/4868031/can-i-create-each-table-for-each-user-in-my-social-networking-site
>>
what should the last thing i program be before an hero
>>
>>61396280
make GNU HURD usable
>>
>>61396280
A script that echoes a happy thought along with a happy tune matching its mood each time you start up your terminal.
>>
>2017
>not using a strongly normalizing language
Why, /dpt/?
>>
>>61396280
2d waifu
>>
>>61396306
What is a "a strongly normalizing language"
>>
>>61396323
a language that is strongly guaranteed to make you a normie
>>
>>61396067
>>61396245
>>61396279
I want to be able to do things like:
Being able to search for an image by using multiple tags ANDed together
Being able to see the tags that each image has
Being able to insert new images, remove tags, etc easily
Being able to have tag namespaces, something like creator:tag or girls:5
>>
>>61396323
https://en.wikipedia.org/wiki/Normalization_property_(abstract_rewriting)
>>
>>61396353
*Which one of the methods mentioned is the most efficient for these?
>>
>>61396357
>Lambda calculus
fuck
i need to stop being a brainlet someday
>>
>>61396306
Such as?
>>
>>61396245 (Me)
(don't forget the primary keys) and to query:
select i.name
from tag t
join image_tag_assignment a on a.tag_id = t.tag_id
join image i on i.image_id = a.image_id
where t.name like 'stuff';
>>
>>61396384
Simply typed lambda calculus
System F
Calculus of constructions
>>
>>61396415
Not program languages.

Also, CoC is shit.
>>
>>61396425
>CoC
You're thinking of codes of conduct, not calculus of constructions.
>>
>>61396446
Nope, CoC is shit because it lacks type inference
>>
>>61396349
ree
>>
File: inference meme.png (339KB, 404x567px) Image search: [Google]
inference meme.png
339KB, 404x567px
>>61396461
>>
>>61396245
It's been 10 years since I've used SQL and databases. But if I'm reading that correctly we're on about the same page.

I'm inclined to think it's better to split up the tag table into tables for each because otherwise you have a lot of wasted storage space and wasted

If I were doing this with flat files in c I'd do.
typedef struct { char name[12]; int tag_id[12]; char author[12]; /* and so on */ } image_entry;

typedef struct { char name[12]; } tagtable_entry;

typedef struct { int tag_id; char tagname[12]; tagtable_entry * table } tagtable_table;


When you load an image, the program looks it up in the image entry table, gets all the tag ids and assorted properties of the images (author, release date, etc). Tag ids correspond to entries in the tagtable table which contain their human readable names.

Then you can search for images by tag by looking in the tagtable-table for their tables, dump the tagtable entries for each tag the user searched, and then do what you wish to them, e.g. AND them together to get the results which match all the criteria.

Adding a tag is adding an entry to the tagtable-table and creating a new table for it. Adding a tag to an image is adding that tag to the image, and adding that image to the tag's table. Removing is just the reverse.

Honestly, thinking about this, I kinda wanna write this in scheme now.
>>
>>61393171
If JavaScript hadn't unfortunately become the tool used for anything and everything with enormous presence in the programming world, I'd say Python.

Vanilla JavaScript is abhorrently verbose, tedious, grating and unintuitive. More interesting higher-level JavaScript (Node, Angular, React) describes important paradigms in programming that you'll have a difficult time trying to wrap your head around and you'l basically be flying a spaceship before you've ever driven a car before.

Start out with Python and learn your way up. Once you know how functions work and what classes are you should understand enough to use a framework like React and atleast grasp what the fuck is happening.
>>
>>61396538
Why start with Python when you could start with Haskell?
>>
>>61393171
Scheme
But Javascript is better than python.
>>
>>61396581
Because Haskell is a cult and using other languages like c would require deprogramming to avoid violent reactions towards assignment operators.
>>
>>61396596
Haskell is not a cult
Python is a cult
>>
>>61396581
It's a terrible introductory language?

If you start out trying to write code with that combination of algebra and Mayan scripture you'll spend the next year un-learning everything and figuring out what it is you were doing

Again, you don't give someone a spaceship that uses quantum entanglement to travel at faster than light speeds if you want them to learn how an engine works
>>
>>61396646
Haskell is a cult.
Rust is a cult.
JS is a cult that knows its a cult but stopped carin because its set for the insurmountable future.
Python is the loser cult in denial.
>>
>>61396718
What about Idris?
>>
>>61396718
Oh, by "cult" you mean language you don't use
>>
>>61396776
Idris hopes to get its third member someday.
>>61396781
ive used haskell, its shit.
ive been over the rust docs, seen examples that ive implemented much cleaner, watched more than enough videos on, etc.
Everyone has to touch the JShit menace sooner or later.
>dynamic typing
>>
When testing your networked applications latency/pl handling how do you do that?
I'd like to simulate packet loss and latency on my local machine but I don't know how. I'm kinda sick of configuring routers.
>>
>>61393119
How difficult is it to setup a GUI in C.

How difficult is it to render shit using OpenGL in C.

I'm coming from Java and neither of these things feels intuitive in C. With a Java GUI, you just had to import Swing/FX into your code. With OpenGL (specifically LWJGL 2), you had to download a few jar files and link it to your project and you'd be set. Now that isn't to say Swing/FX/OpenGL is pretty in Java but the setup didn't seem so bad.

Not really finding a good equivalent in C.
>>
File: 3jTt3pW.png (91KB, 1732x2076px) Image search: [Google]
3jTt3pW.png
91KB, 1732x2076px
so i want to make an app and some websites(simple stuff)

with
>Java
>->Kotlin
>web trio(vomit)
and
>Swift

i'm learning java and am comfortable with html and css. those two just annoy the shit out of me.

what should i do to learn more about algorithms, recursive functions, programming concepts?

Beyond Java/Swift, for android/iOS, and the necessary web languages, i don't know what else to learn. I want to learn to make my own little scripts for automation but otherwise i don't have an express purpose that might demand any other language. Just want to get better, really. What language does g recommend?
>>
>>61396961
Opengl is not a gui tool. It's a driver interface.
I don't know of any equivalents to swing for C except gtk+. But I can't vouch for how good it is. You rarely write gui desktop apps in C today.
>>
>>61396961
I use SDL as my equivalent of LWJGL. Never used gtk+.

What are you using to setup an opengl context? It's like 6 lines in SDL to set up an opengl context.

if(SDL_Init( SDL_INIT_VIDEO) < 0) return false;
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 5);
window = SDL_CreateWindow("Creation", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, width, height, SDL_WINDOW_SHOWN | SDL_WINDOW_OPENGL);
context = SDL_GL_CreateContext(window);
error = glewInit();


From there it's the opengl calls you're familiar with.
>>
>>61393142
Wow, all the disadvantages of Haskell and ASM in one neat program!
>>
File: 24231.jpg (54KB, 500x500px) Image search: [Google]
24231.jpg
54KB, 500x500px
>>61397134
>haskell
>disadvantages
>>
>>61393142
Is this magic?
>>
>>61393251
http://wall.org/~lewis/2013/10/15/asm-monad.html
>>
So. Why would you use github over gitlab? I don't see any upside to github.
>>
these threads are fucking dead. this one in particular is chock full of spastics, newfags, redditors and combinations of the three just like the rest of the board lately. shan't be waiting for board quality to pick up
>>
>>61397207
I find they're pretty good in the mornings (CET) and early afternoon.
>>
>>61397207
it's 3AM here
>>
>>61397195
Is gitlab usable for just a single person?
How intrusive is all their extra bloat?
>>
>>61397232
wew, lost track of time, forgot it was american posting hours
>>
File: fixed.png (234KB, 1732x2076px) Image search: [Google]
fixed.png
234KB, 1732x2076px
>>61397033
>pic
fixed for accuracy
>>
>>61397387
>wanting to talk to a whiny bong
>>
>>61397345
Shouldn't you be pooing in loo somewhere?
>>
>>61397387
how the fuck could you defend calling this thread chill
>>
>>61397407
i think he's implying that since i am using java i'm indian

im not
>>
>>61397407
very rude
Not our fault we cannot use loo
how you expect us to use loo when all the toilet belong to superior caste
i say this many time and no one listen
i know what is wrong with you first world racists
you have bad yoga, yea
your chakra are all messed up yea
look at the picture and meditate on it ok and it help you a lot very much i think
>>
File: hierarchyofargument.jpg (112KB, 777x607px) Image search: [Google]
hierarchyofargument.jpg
112KB, 777x607px
>>61397153
>>
>>61397450
Kill yourself stupid indian faggot.
Your entire country deserves to die I don't give a shit whose fault it is you can't shit right, all of you are pieces of garbage regardless
>>
>>61397050
>Opengl is not a gui tool. It's a driver interface.
100% true. Didn't meant to imply it was a GUI tool. Was implying that setup of OpenGL in C appears... iffy.

>You rarely write gui desktop apps in C today.
So what's the typical way to go about it then? GTK kind of looks like shit. Could you build a GUI in another language and then link the pieces together? C+Python or C+Lua?

>>61397127
>I use SDL as my equivalent of LWJGL
>What are you using to setup an opengl context?
I currently don't have a setup in C. I've looked around and the answer to getting a setup always seems to be:

>Use Codeblocks IDE lol

I don't want to be using an IDE. I've been coding stuff up in notepad++ and compiling with gcc and a makefile. I should check out this SDL you speak of.
>>
>>61397525
I even try to help you but you are just mean nasty guy.
Okay. that is fine
that is fine because later you are being reincarnated as tiny ant and i squish you
>>
>>61397542
*teleports behind you*
>>
File: oh lawd.jpg (43KB, 600x615px) Image search: [Google]
oh lawd.jpg
43KB, 600x615px
>>
>>61397608
GTP you forgot your trip
>>
>>61397525
Kill yourself
>>
>>61397553
*unsheathes fedora*
>>
File: recording.webm (917KB, 800x608px) Image search: [Google]
recording.webm
917KB, 800x608px
>>61393119
Collision detection. Gravity.

Also 30fps recording because recordmydesktop only goes to 50fps for some insane reason. Any recommended alternatives?

>>61397534
Vim and screen, compile with makefiles is my setup.

Control-A+{number} to switch between vim screen, compiler screen, and any other screens I might have. F4 and F3 mapped to switch tabs in vim.
>>
>>61397639
why are you remaking minecraft
minecraft already exists
>>
>>61397534
i think IUP might be usable in c. apart from that your next best option would probably be writing your the gui part in c++ with qt and keeping the logic separate and written in c.
sdl will be too heavyweight i think for your needs since it's a kitchen sink multimedia library. check out glfw (a lighter opengl window creation library) and while you're at it, a better extension loading library like libepoxy or that javascript-based opengl header generator thing of which the name escapes me
>>
>>61397658
Because minecraft doesn't run at 60fps. Because I like programming.
>>
File: Screenshot_2017-07-03-19-41-24.png (505KB, 480x854px) Image search: [Google]
Screenshot_2017-07-03-19-41-24.png
505KB, 480x854px
Where do I learn coding and are the languages alike what language will guarantee a Job without diploma?
>>
>>61397668
>minecraft doesn't run at 60fps
>so i'm remaking it at 10fps
???
>>
>>61397668
regardless it's coming along, congrats on reaching and surpassing the stage of getting an interactive 3d program running
>>
>>61397658
nonfree
java
>>
>>61397620
suggestion made to wrong person
direct your animosity to this individual: >>61397542 >>61397450 >>61397345
>>
>>61397676
That recording is 30fps which is better than I get in minecraft with optifine. recordmydesktop only maxes out at 50fps so I set it to 30fps to avoid frameskips.

$./debug.sh
CHICKEN
(c) 2008-2016, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.11.0 (rev ce980c4)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2016-05-28 on yves.more-magic.net (Linux)

; loading extras.ss ...
; loading /var/lib//chicken/8/srfi-1.import.so ...
; loading /var/lib//chicken/8/srfi-4.import.so ...
; loading /var/lib//chicken/8/srfi-69.import.so ...
; loading /var/lib//chicken/8/posix.import.so ...
; loading library srfi-1 ...
; loading library srfi-4 ...
; loading library srfi-69 ...
; loading library posix ...
; loading world-io.ss ...
; loading ./engine-bindings.import.so ...
; loading /var/lib//chicken/8/foreign.import.so ...
; loading /var/lib//chicken/8/chicken.import.so ...
; loading /var/lib//chicken/8/bind.import.so ...
; loading /var/lib//chicken/8/bind-translator.so ...
; loading /var/lib//chicken/8/silex.so ...
; loading /var/lib//chicken/8/regex.so ...
; loading /var/lib//chicken/8/matchable.so ...
; loading /var/lib//chicken/8/lolevel.import.so ...
; loading ./engine-bindings.so ...
; loading inventory.ss ...
; loading collisions.ss ...
; loading terrain-generation.ss ...
; loading /var/lib//chicken/8/memoize.import.so ...
; loading /var/lib//chicken/8/extras.import.so ...
; loading /var/lib//chicken/8/memoize.so ...
; loading main.ss ...

FPS: 59.999999
Frametime: 16666667
OpenGL "FPS": 223.669613
OpenGL Frametime: 4470880
>>
>>61397707
>suggestion made to wrong person
Nope
Please end yourself.
>>
>>61397710
no you're wrong
indians are the bad ones not me
>>
>>61397673

see >>61395780
>>
>>61397720
>not me
Every retard claims that.
Please, do put an end to your disgusting existence.
>>
>>61397735
NO
INDIA IS A PIECE OF SHIT COUNTRY AND EVERYONE IN IT IS ALSO A PIECE OF SHIT COUNTRY
FUCK YOU
>>
>>61397744
Doesn't stop you from being a retard however. Nor does it change the fact that you are a waste of skin.
>>
>>61397744

not >>61397735
you're a piece of shit person. now fuck off
>>
>>61397751
no it changes both those things and so if you still believe i am a retard / waste of skin you must also believe indians are not evil
kill yourself india sympathizer
>>61397761
kill yourself india sympathizer
>>
>>61397771
>no it changes both those things
Only a retard would ever believe that.

>and so if you still believe i am a retard / waste of skin you must also believe indians are not evil
One does not imply the other. Please lrn2logic.
Or just kill yourself, that would make everything easier.
>>
>>61397781
kill yourself india sympathizer
>>
>>61397787
See >>61397781
Why are you still alive?
>>
>>61397771
look at you lmao. indians mean way to much to you.
most people arent even bothered by this shit you know?
stop being angry ffs.
>>
>>61397797
kill yourself india sympathizer
>>
>>61397805
See >>61397781 (You)
Why are you still alive?
>>
>>61397801
k i l l
i
l
l

y o u r s e l f
o
u
r
s
e
l
f

i n d i a
n
d
i
a

s y m p a t h i z e r
y
m
p
a
t
h
i
z
e
r
>>
File: consider the following.gif (496KB, 500x385px) Image search: [Google]
consider the following.gif
496KB, 500x385px
What's the worst language and why is it C++?
>>
>>61397814
see: >>61397818
>>
>>61397818
all you can say? what a sad autistic existence.
>>
File: photo.jpg (37KB, 900x900px) Image search: [Google]
photo.jpg
37KB, 900x900px
>>61397831
Matlab feels pretty awful too..
>>
>>61397833
buttmad?
>>
>>61397846
if you hate me you love india
indian are garbage therefore you are garbage
kill self ind symp
>>
>>61397854
see: >>61397854
>>
>>61397862
i dont hate you lol. you're entertaining but letting a piece of shit like you draw out an emotion as intense as hate would be pathetic.
>>
>>61397831
List of cancerous languages:
Python
JS
Lua
Matlab
C++
C#
F#
Rust
Common Lisp (NOT Scheme)
>>
>>61397876
waht you failt to understand is that india is bad
>>
>>61397831
I gotta second >>61397853

Matlab makes me want to neck myself if I use it any more in depth than graphing simple functions.
>>
>>61397862
Everyone who hates you: loves everything good in the world
Everyone who doesn't: hates everything good in the world

>if you hate me you love india
[citation needed]
>>
>>61397888
>List of cancerous languages:
>Common Lisp
kill self ind symp
>>
>>61397902
i am the meme king
kill self ind symp you will never outmeme my stanky fresh mems
>>
>>61397905
Only peasants like CL. Scheme instead is for the patrician.
>>
File: abloo.png (31KB, 657x527px) Image search: [Google]
abloo.png
31KB, 657x527px
>>61397888
>Lua
that hurt a little to read
>>
>>61397928
dumb frogposter
>>
File: pee make ree.png (7KB, 277x182px) Image search: [Google]
pee make ree.png
7KB, 277x182px
>>61397945
>>
>>61397928
Only niggers use Lua.
>>
>>61397957
extremely fucking retarded hopless virgin frogposter worthless trash no soul godless
>>
>>61397928
>>61397957
racist frog is not allowed here
>>
File: geg.jpg (27KB, 253x387px) Image search: [Google]
geg.jpg
27KB, 253x387px
>>61397957
"dumb frogposter"
-- frumb dogposter
>>
>>61397998
kill your life
>>
>>61398031
>>61397924
fuck you i'm the meme king
>>
New Thread
>>61398050
>>61398050
>>61398050
Thread posts: 358
Thread images: 34


[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.