[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: 355
Thread images: 37

File: prog.jpg (87KB, 728x546px) Image search: [Google]
prog.jpg
87KB, 728x546px
What have you been working on, /g/?

Previous thread: >>61143699
>>
File: 1406803019377.jpg (103KB, 1280x720px) Image search: [Google]
1406803019377.jpg
103KB, 1280x720px
>>61151312
>conio.h
>>
>>61151320
>c
>standards
>>
>>61151320
>I've never programmed anything for text-mode
Newfag.
>>
>>61151328
Right. There are 3 of them.
However, the image posted in the OP isn't even valid C, and actually contains a massive flaw.
>>
File: old_hag_langs.png (173KB, 600x355px) Image search: [Google]
old_hag_langs.png
173KB, 600x355px
>>61151312
Fortranth For(tran) Fortran.
>>
>>61151344

Reminder that people born in 1999 can now post on 4chan.
>>
>>61151344
Go home, microcuck.
Come back when you get a real terminal.
>>
>>61151346
delete yourself and try again.
>>
C is a poorly designed language.
>>
>>61151358
I'm glad you found a way to make yourself feel superior to me despite being 20 years younger, kid. Good for you!
>>
>>61151357

Jesus Christ. That's the most triggering thing I've read all week.
>>
>>61151358
>microcuck
This is what happens when newfags decide to talk shit about stuff from before they were even born. This poor idiot doesn't even know something called DR-DOS existed and was actually quite popular.
>>
File: I2ylmHq.png (797KB, 812x806px) Image search: [Google]
I2ylmHq.png
797KB, 812x806px
Posted in the last thread, but was hoping for more advice...

I'm considering trying out either Erlang or Elixir. It sounds like Elixir is a lot more friendly to program with than Erlang, and that you can do anything with it that you could with Erlang.
But it has me wondering-- why is it that so many companies out there are praising Erlang, but Elixir seems to be memed (or at least the Elixir+Phoenix stack)?
I'm coming from a primarily Python (data science) background, and have recently been making some web apps for some finance majors at my school using Flask.

My interest in functional languages is growing quite a bit as well, so I figured I would kill two birds with one stone (functional webapps) by playing around with Elixir... worth it?
>>
>>61151383
It clearly says MSDOS in the image, right next to "turbocuck++ IDE".
Fucking idiot.
>>
>>61151376
I'm born in 1997 :^)
>>
>>61151400
Yet your criticism was specifically directed at conio.h.

And Turbo C++ was actually a pretty great compiler and IDE back in the day. Its contemporary successor (C++ Builder) is still one of the best out there.
>>
>>61151438
Nobody cares about your proprietary cuckoldry stories.
This is supposed to be a programming thread.
>>
>>61151393
I use Erlang in all hobby projects, and try to bring it into business as much as I can.

Honestly, "companies praising Erlang" shows up in every interesting article about how WhatsApp scaled, but that's about it. I don't think it's huge in the corporate world.

I wish it was. It's an awesome language to use. Everything I write ends up with as much uptime as the server it runs on, even when it's something quickly hacked together.
>>
>>61151454
>This is supposed to be a programming thread.
Exactly, go grind your axe somewhere else, you spoiled kid!
>>
changing all my include guards to #pragma once
>>
>>61151475
Pleb
>>
>>61151472
if it's not POSIX it's shit, dumb microcuck.
>>
>>61151393
>I'm considering trying out

Who the fuck "considers" trying out stuff? Go ahead and try it the fuck out. The whole point of trying shit out is to let you acquire informed opinions without coming here pester us about it.

Of course, this is /dpt/, nobody here actually does anything.
>>
why is c# so much slower than c++ and c
>>
>>61151475
There is literally no reason to do that.

https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
>>
File: brackets.png (20KB, 1043x346px) Image search: [Google]
brackets.png
20KB, 1043x346px
>>61151475
>>61151566

>not having a GitHub bot that just opens issues for every project that uses #includes
>>
>>61151591

Because it's a bytecode-interpreted/JITted and garbage collected language.
>>
>>61151605
I'm pretty sure this is against their terms of service.
>>
>>61151591
Why dumb programmers who lack understanding always ask this stupid question?
>>
>>61151566
>POSIX

POSIX is irrelevant. If it's not Linux, it's shit.
>>
>>61151643
hello pajeet
>>
>>61151620

I wish it was. Every C project I've ever contributed to has been hit by this.

Have a our lord and saviour taviso was hit by him.

https://github.com/taviso/loadlibrary/issues/19
>>
>>61151658
Hello 99%.

>>61151605
Somehow this is more useful than the CoC violation troll posts the SJWs hit projects with.
>>
>>61151656
GNU/Linux is mostly POSIX compliant, and most software for it was written with POSIX in mind.
>>
>>61151710
>GNU/Linux is mostly POSIX compliant

Who cares?

>most software for it was written with POSIX in mind.

They shouldn't have been. Linux has a system call interface. Target it.
>>
>>61151591
http://journal.stuffwithstuff.com/2009/01/03/debunking-c-vs-c-performance/

In his original post, he states that the indirect sorting is twice as fast in C++ than in C#. I can’t do a direct comparison since I didn’t run the C++ code, but since my change to the C# made it run 2.885 times faster than his C# code, it stands to reason that the C# and C++ performance are neck and neck, if not a bit faster in C#.
>>
>>61151740
Yes anon, the same retard who produced inefficient C# code is definitely going to produce optimal C++ code.
>>
>>61151674
How fast would I get banned if I made a bot account that scanned random projects, ran linter/prettify programs on the source code and then pull requested the changes?
>>
>>61151772
Show us such "optimal" C++ code
>>
File: download-symbol_318-33607.jpg (18KB, 626x626px) Image search: [Google]
download-symbol_318-33607.jpg
18KB, 626x626px
I am not sure if this is the right place to ask but:

I want to automatically download images from a forum thread. But the problem is that the images are uploaded to different hosters. Some images are displayed on the forum in full size. Others are displayed as a thumbnail and if you click the thumbnail you are directed to the full size image (link ends with the file extension). With some however clicking on the thumbnail will direct you to the hoster site (link ends with .html) where the full size image is linked.

Does a program exist that does this for you? If not: how difficult would it be to program? What language would you need to use?
>>
>>61151819

>If you’re rooting for the C++ side, you’re probably thinking, “No fair! The C# one didn’t have to move the whole array around in memory!” Well, yeah, it didn’t: because that’s how C# programmers use the language. Since it’s safe to rely on the garbage collector to handle deallocations, C# programmers don’t spend effort avoiding using “dangerous” pointers (i.e. reference types). This is simply how the language is used. To me, the fairest comparison is one that preserves both the procedures (which he did by using the built-in sorts) and the data structures (which he did not do) used by each language.
Fill in the gaps yourself, this writer is just a moron afraid of pointers.
>>
>>61151740
You know, comparisons aren't necessarily "most optimized vs most optimized". They're (ideally) testing two functionally equivalent programs, often intentionally suboptimal so they can get meaningful results. There's a lot of optimizations you can do in C++ that are impossible in a managed language, so it'd be impossible to create a C# program that's its functional equivalent.
>>
>>61151312
I'm a pooinloo and the OP image is exactly how we're taught to write C.
>>
>>61151820
python and beautiful-soup!
>>
>>61151853
That's the most simple and functionally equivalent implementation of a struct you can possibly get in C#.
>>
>>61151470
Sweet. I'm excited now.

>>61151584
I mean I probably would've gotten around to them both, but my main concern was which one to start with, and if any experienced user had gripes for me to know about before I started.

Honestly there is no reason for me to even learn Erlang, and there are a lot of other things (more cs theory related) that current time constraints beg I master. With that being said though, the more I read about Erlang the more my interest is piqued. I just wanted to be sure the road ahead wasn't plagued with lepers before I ventured too far down it.
>>
>>61151877
How hard is it to do?
>>
>>61151344

Console I/O should be done with NCurses/PDCurses, as they have better cross-platform portability.
>>
>>61151312
>C#
>>
Post your favorite language's expression/literal for representing no/null values and I will tell you your plebness level.
>>
File: lel.png (298KB, 1366x768px) Image search: [Google]
lel.png
298KB, 1366x768px
>>61151312
>What have you been working on, /g/?
is this a desktop thread?
I am working on projecteuler and trying out awesomeWM.
Seems to be fuckin comfy, just gotta get some fancy widgets or shit. not sure yet
>>
>>61151312
> void main
kys
>>
>>61152398
NULL
>>
>>61152459
Max pleb
>>
>>61152398

nil
>>
>>61152492
Max pleb
>>
>>61152398
Nothing (haskell)
>>
>>61152548
Max pleb.

Come on guys. Try again.
>>
>>61152398
nullptr
>>
Working on a gameboy emulator in C#

Its a ton of work compared to the chip 8 one, most of it tedious. Though I've gotten a large chunk of it done
>>
>>61152596
Ding ding ding! We have a winner.

Maximum patrician.
>>
>>61152398
>using null values
>ever
>>
>>61152608
>His language can't express absence of a value
L M A O
M
A
O
>>
>>61152596
>>61152603
doesn't represent the absence of value. you retard.
>>
>>61152398
What if my favourite language does not use my favourite null representation?
>>
>>61152641
Yes it does.
It represents a pointer that points to nothing, i.e. no value.

>>61152647
I never said anything about your favorite null representation.
Just the null representation in your favorite language.
>>
>>61152661
Then I'll have to say nullptr.
>>
>>61152680
Well good for you, you're a patrician too.
>>
>Rust can't even pass integers in as template parameters
Lmao, what trash.
>>
>>61152398

None
>>
>>61152700
SJW
>>
>>61152661
>It represents a pointer that points to nothing, i.e. no value.
wrong, 'nothing' doesn't exist in c/c++ (unlike haskell, swift, lisp)
>>
>>61152769
Actually, it does now with C++17.
std::optional<T>() or just {} when std::optional can be deduced.
>>
>>61152773
That's nullopt, not nullptr.
And the brain-damaged nullptr continues to exist in all code, everywhere.
>>
>>61152776
>nullptr
>brain damaged
Stupid Ctard. It's NULL that's brain damaged by selecting int overloads when it's supposed to represent a null pointer.
nullptr is objectively superior in every way for representing null pointers, you can even overload on nullptr_t.
For optional values though, std::optional is what you should use.
>>
>>61152790
NULL is even worse than nullptr, we have no argument about that. But neither of them should even exist.
>>
>>61151312
I like programming but I generally find it really hard to read other people's code. How to get better at this skill? Seems like my eyes immediately glaze over any huge block of code and my brain tuns off
>>
What is Rust good for?
>>
>>61152794
>nullptr shouldn't exist.
What do you suggest we use to represent null pointers, huh?
>>
>>61152798

Optional types, of course.
Kotlin had the right idea (but the Java interop fucks it up) and so did C# (but only for value types, sadly)
>>
>>61151566
daily reminder posix is about as standard as conio.h
>>
>>61152795
same. wish i could figure it out.
>>
>>61151719
linux is communist operating system. use openbsd.
>>
>>61152829
Supported by way more operating systems than conio.h.
>>
>>61152826
im confused. Do you mean something like an Option<T> like in F#? I have not heard of this option value type in C#. You can implement this stuff in C# but its not built in. You can use the Fody null library as well to stop nulls being passed anywhere in your app ...
>>
>>61152795
I happens to me and I think it happens to everyone, to a certain point. I get the feeling I'm particularly bad in that regard, though. I take a long time to translate what is happening in the code.
>>
>>61152875

C# has nullable types, but they only apply to value types (since reference types are always nullable)
int? myInt = null;

It's the same concept.
>>
>>61152846
>linux is communist operating system
how?
>>
>>61152887
It's not really, being.?able.?todo.?something.?like.?this approximates the maybe/option however the null value having its own special snowflake meaning outside of the type system still makes it a bit of a pain..
>>
I wanted to continue exploring in generative art and artificial behaviours (boids, drawing random shit or based on seeds, computer vision, etc), but that shit is way over my fucking head.

Plus, what language should I try to make this happen? I've been using Javascript and HTML5 for simple graphics for now.
>>
>>61152232
It's turbo c++ in the image. An ide and compiler from the early 90s. No one gave a fuck about things working with non dos platforms.
>>
>>61152795
I agree its hard to comprehend something you didn't write but these tips usually help me.

>know what the block of code is supposed to do at a high level
>read each line sequentially and figure out what part of the high level concept it is supposed to accomplish
>skip mystery lines until the end and see what steps haven't been accounted for
>figure out why a mystery line has a certain functionality

Take it slow and you should be able to understand a lot more.
>>
>>61152938
It is part of the type system, that's the point.
int? myInt;
is just sugar for
Nullable<int> myInt;
and it works pretty much like C++'s
optional<T>
.

NULL and nullptr are a subversion of the type system, and a hack. It's using a pointer type to hold a value which is not a pointer, but the absence of a pointer. A well designed type system does not have these hacks.
>>
>>61152958
Oh I see where you're coming from, my background is more in functional langs like F# and haskell, c++ is not something I know well.
>>
File: 1496777073646.jpg (46KB, 654x525px) Image search: [Google]
1496777073646.jpg
46KB, 654x525px
how to calculate 100^100 in C?
>>
what should i read if i havent done math in 5 years and need to get to grips with the concepts from calculus used in neural nets?
>>
>>61152998
int tmp = 100 ^ 100;
>>
Do people hate C++ because they actually have to design before coding instead of just starting coding?
>>
>>61153027

People hate C++ because the language itself was not designed, but snowballed.
>>
>>61153027
There's nothing in sepples that forces you to desing what you type.
>>
>>61153027
I hate sepples because classes are pretty much mandatory, and its templates are verbose nonsense.
>>
>>61153050
>classes are pretty much mandatory
they're as mandatory as structs are in C, and you can write POD structs if that's what you wish.
>>
>>61152998
It's 0, you stupid fucking frogposter.
>>
File: wat.png (40KB, 1005x363px) Image search: [Google]
wat.png
40KB, 1005x363px
>>61153024
well, C is to dumb for it.
python just werks :)
#!/usr/bin/python3

distincts = []

for i in range(2, 101):
for j in range(2, 101):
tmp = i**j
if tmp not in distincts:
distincts.append(tmp)

print("count: %d" % len(distincts))
>>
>>61152869
Sure, if you count each separate distro as an os. If you look at operating system by usage, conio.h is supported by supermajority of them
>>
>>61153054
I dont need POO when i have modules.
>>
>>61153062
>Automatic conversions to slownums
That's not helpful.
Also, he asked how to XOR a number with itself, not how to raise some number to some power.
>>
>>61153062
>Python 3
>not using (string).format()
>>
>>61153067
I'm sure your code is very resusable
>>
>>61153085
>I'm sure your code is very resusable
It will be eventually.
Im barely using structs as it is.
>>
File: 1478954174610.jpg (127KB, 612x556px) Image search: [Google]
1478954174610.jpg
127KB, 612x556px
>>61152890
>>
>>61153079
kek.
I was the one asking that question and haven't thought about the XOR operator in that moment.
fuck me.
>>
I'm so glad I learned C as an aspie teen because now I get alot of people paying me to get their homework / microcontroller jobs done, a 50 line multithreaded socket server is paid for 35$, life is good lmao
>>
>>61153065
Delusional wincuck. Android and ios are mostly POSIX compliant.
>>
File: puebla jewson.png (45KB, 325x60px) Image search: [Google]
puebla jewson.png
45KB, 325x60px
>tfw I think Rust has some cool ideas but I think the people who use it are fucking awful retards
>>
>>61153112
>is paid for 35$
youre getting ripped off.
programming homework is minimum $100.
>>
>>61153101
do you even know what communism is about? anyone thinking gpl and communism are related is a fool.
>>
>>61153121
Rusts only good idea is so badly implemented, it makes the language unusable.
>>
>>61153121
that's what I think about every language pretty much
>>
>>61153152
>>61153101
This, the GPL is entirely voluntary. Communism cannot exist without the threat of violence. In a ethical society, free individuals would be able to start a commune whenever they wanted (and some do in America), and this is a completely ethical practice.
Sharing your things does not mean you're a communist, and it does not mean that you think that everyone else should have their right to private property stripped away by the state.

>>61153157
>>61153155
It's just a damn shame, I think pushing a lot of errors to compile time could save us all a lot of heartache, especially in the embedded space. I don't ever see it replacing C, but it could maybe live alongside C++, at least in new applications by small organizations.
>>
>>61153125
maybe in murrica, not in the freelancing world
>>
>>61153152
rms is communist
>>
>>61153186
also, gpl forces your to share code only when you share the software. software is not a limited resource like food, you can share software infinity; giving the source code to anyone will not reduce the amount of source code you have. gpl is based on copyright.
>>
Does anyone in here have any experience with ns-3?
I did some simple simulation for uni work, and it works perfectly. However, when analyzing the data through Wireshark, it says the packets sent are Malformed. I have no idea how to change the contents of the packet, so I have no clue how to "fix" this
>>
>>61153230
>gpl is based on copyright.
Which makes it instant leftist garbage.
>>
>>61153186
>>61153230
gpl is voluntary, but fsf tries to push it as hard as possible.

>made an exclusive lib that has no alternatives?
>absolutely make sure you license it as gpl, to spread our communism.
>there are non-gpl alternatives?
>use lgpl, otherwise no one is going to use it but neckbeards
source: https://www.gnu.org/licenses/why-not-lgpl.en.html
>>
>>61153335
>but fsf tries to push it as hard as possible.
Which makes the FSF leftist garbage, the license itself isn't communist, it's just leftist garbage which uses standard leftist tricks.
>>
>>61151357
>people who do not use conio.h are born in 1999
Even in the old days only pajeets used conio.
>>
>>61153186
Yeah. Also, there's an unexpected problem with being rid of some issues, which is that in their comfort, people tend to forget how to conduct themselves in a way that helps them avoid those issues, while the tools that are supposed to protect them still aren't perfect. It's the same damn thing as what happened to the west after industrial revolution, only on different level.
>>
>>61151383
DR-DOS did not have conio
>>
>>61153335
>>61153344
If you don't like their licensing, then just don't use their software. There are loads of good libraries with permissive, freedom respecting licenses like the MIT License (which is the only license I use). Nobody forces you at gunpoint to use GPL software. You seem to think that you have some right to use their software however you like, and that sounds pretty goddamn communist to me.

>>61153376
This is definitely true, you don't want to rely too much on your tools. But even so, I expect my compiler to generate some warnings for some common problems. In a lot of ways Rust just has a very strict static analyzer built in.
>>
>>61152398
'()
>>
>>61153433
stop responding to noio-kun.
>>
File: big_meme.png (20KB, 112x112px) Image search: [Google]
big_meme.png
20KB, 112x112px
>>61152998
Use a big integers library, like GMP (which you should avoid anyway).

OCaml has the Num module which switches between fixed-width integer (int type) to arbitrary-sized integer (Big_int type) when necessary.
>>
Implicit dereferencing is the root of all evil.
>>
>>61153402
>Nobody forces you at gunpoint to use GPL software.
I never claimed anything of the sort. I'm simply stating that the GPL is garbage and shouldn't be used.
>You seem to think that you have some right to use their software however you like
I'm not a leftist retard so I don't believe in the legitimacy of ""copyright"".
>>
>>61152398
>>
>>61151312
that pic takes me back :|
>>
>>61153520
dumb pointers are*
>>
>>61153521
>doesn't believe in property
>doesn't support private contracts between individuals
>not a leftist
???
>>
>>61153552
They think restrictions = leftism, which in reality and as history has shown only the reverse holds.
>>
Can anyone recommend a udemy course or something similar? I pirated the the complete python masterclass and its helping a lot.
>>
>>61153548

dumb pointers are fantastic as long as they are not resource-owners.
>>
>>61153552
>doesn't believe in property
Ideas and information aren't property. Me not being able to use software which is on my hard drive (also known as property) is blatantly contradictory to non-leftist values.
>doesn't support private contracts between individuals
I don't support involuntary """contracts""" which are against private property.

>>61153568
>reverse
I think you mean "converse". And you would be correct.
>>
>>61153582
dumb pointers are time consuming.
>but im a perfect programmer
of course you are
>>
>>61153590
>time consuming.
how so?
>>
>>61153595
Having to keep track of them.
edge-case bugs that eat hours away.

Plus they just muddy up your code.
>>
File: slogan.png (22KB, 1145x209px) Image search: [Google]
slogan.png
22KB, 1145x209px
r8 my slogan
>>
>>61153618
Shorten it to Free Sharp, people love two word phrases and titles.
Also i hope you keep that word for word.
>>
>>61153586
Information can definitely be property. There is an entire industry built around the collection of and distribution of information.
There is nothing involuntary about the GPL. You voluntarily use software licensed under the GPL, or you don't. Just because they have something you want does not mean that you have to use it, nor does it mean that they are obliged to give it to you on your terms.

>>61153618
I like it, but nobody will use that website, you can't be so explicit in your prejudice.
>>
>>61153634
Will do!
>>61153635
You'd be surprised how many CEOs are actually right wingers, I imagine I can pull clients just by appropiating their political views
>>
>>61153617
>Having to keep track of them.
Not difficult at all, if you know how to use smart pointers and scope.
>>
>>61153650
I'm not surprised by right wing CEOs, but they have to play by leftist rules, lest they be skewered by the (((press))). If any major company used your website, they can expect a huge shit-fit.
As long as you keep high standards, that will keep 99% of Indians out, and also the shitty whites. It's like how nice restaurants and clubs have rules against baggy clothes, low-hanging jeans, sneakers, fitted caps, etc. They keep the majority of the blacks out, and also keep out any white trash in the area. The few blacks who are willing to follow the standards will in general cause no problem. You'll find this is also the case with Indians.

>>61153653
Smart pointers can be useful, but they're largely unnecessary if you keep clear rules of ownership.
>>
>>61153635
>Information can definitely be property.
Not if you believe that you own your own property.
>There is nothing involuntary about the GPL.
I never claimed there was. It's just based on acknowledging the ""legitimacy"" of a retarded thing, just like most licenses. It's just that the GPL happens to be the most leftist of them.
>nor does it mean that they are obliged to give it to you on your terms.
Their kike laws have no force in my country whatsoever.

>>61153618
You should probably capitalize "Western".
>>
>>61153694
What precisely do you mean by that?
>>
>>61153635
>There is an entire industry built around the collection of and distribution of information.
The medium on which the information is stored is property. The information itself isn't and can't possibly be.
>>
>>61153736
Sorry bucko, in a civilized country contracts are honored. There is nothing inherently leftist about the GPL. There is however something inherent leftist about your disregard for the rights of property holders, and your attempts to label those who respect private property as kikes. Sorry pinko, we can spot you a mile off.

>>61153759
That's not what I'm talking about. I was thinking of my sister, who works for a company that sells market research to the highest bidder.

>>61153745
I said like 10 things there, which are you referring to?
>>
>>61153788
>Smart pointers can be useful, but they're largely unnecessary if you keep clear rules of ownership.
>>
>>61153788
>in a civilized country contracts are honored.
contracts get thrown out all the time due to (((circumstances)))
>>
>>61151345
The void main? That's how Turbo C rolled.
>>
>>61153808
That is an unethical practice, and is only possible with a corrupt judiciary.

>>61153805
C++ smart pointers are meant to signify ownership. std::shared_ptr signifies a strong, owning relationship, while std::weak_ptr signifies a weak, sharing relationship. You can follow these principles in C, where a data structure is "owned", either by some global variable, or a local variable somewhere up the callstack. All other pointers to that structure are "weak", and depend on the owner still existing. I'm probably not explaining it well. Basically, shared_ptr and weak_ptr exist to prevent cycles of ownership.
>>
>>61153848
they got it right, then
int main is for weenies.
>>
>>61153880
shared_ptr is unnecessary most times, you can get away with stack-allocating 70% of objects and using unique_ptr for the next 20%

only retards use shared_ptr for everything
>>
>>61153912
I would agree, at which point you're not using smart pointers.
I do think RAII is a good model, but I wish C++ had something like Java's finally or C#'s using, for working with non-RAII C libraries
>>
>>61153788
>in a civilized country
The US isn't a civilized country, it stopped being one a long time ago. No leftist shithole can possibly be called "civilized".
>contracts are honored
Something stating that I can't use my own private property isn't a ""contract"".
>rights of property holders
Possessing information isn't the same thing as holding property which can be exchanged. Your brain isn't anyone else's property.
>who works for a company that sells market research to the highest bidder
Your reading comprehension is pretty bad.
>>61153880
>a corrupt judiciary
So basically every leftist shithole on this planet?
>>
>>61153618
Just say that you're catering to western/euro freelancers desu. If you get questions about country bans then say it's about language/server quality/abuse from specific regions or some shit.(like how 4chan bans abusive ISPs)
Being circumspect is key, customers should not have to explain internally about your """discriminatory""" practices to middle-manager bitches but should be able to understand what they're getting.
>>
>>61153932
>Something stating that I can't use my own private property isn't a ""contract"".
Your own private property?
>>
>>61153932
>The US isn't a civilized country
What country are you from guy, we'll see who's country is civilized. I live in upstate NY, which is cold as fuck, but there are basically no blacks and the cops leave you alone. The gun laws and taxes are fucked though, and Andy Cuomo is doing his best to collapse the state.
>Something stating that I can't use my own private property isn't a ""contract"".
You're changing the definition of private property, and you're changing the definition of contract. If you agree to the terms of something, it's a contract. That means that even if you don't like the terms, it's still a contract.
>Possessing information isn't the same thing as holding property which can be exchanged. Your brain isn't anyone else's property.
Correct, your brain is not anyone else's property. However, if you agree not to share information with other people, you are still obliged to follow that agreement. You are morally obligated to honor every contract you agree to, even if you don't like it. If you don't like the terms, don't sign up.
>So basically every leftist shithole on this planet?
I've not studied the judiciary practices of every leftist country, so I wouldn't know. I know there are corrupt judges in the United States, but I also know of good judges.
>>
>>61153930

unique_ptr is definitely a smart pointer, smart pointer does not imply refcounting.
>I do think RAII is a good model, but I wish C++ had something like Java's finally or C#'s using, for working with non-RAII C libraries
Now you know why this famous code exists.
template<typename Creator, typename Destructor, typename... Arguments>
auto make_resource(Creator c, Destructor d, Arguments&&... args)
{
auto r = c(std::forward<Arguments>(args)...);
if (!r) { throw std::system_error(errno, std::generic_category()); }
return std::unique_ptr<std::decay_t<decltype(*r)>, decltype(d)>(r, d);
}
>>
>>61153848
Yes, void main is not valid. int main() and int main(int argc, char *argv[]) are the only valid prototypes for main.
However, the massive flaw I was talking about was the implicit int on pi, meaning that he fucking defined pi to be 3.
>>
>>61154017
I avoid using unique_ptr specifically because I can't be fucked to bother with std::move and all that shit. I stick to shared_ptr, weak_ptr, and I use raw pointers sparingly.
>that code
It's such a useful fucking language but good god that's horrifying.
>>
File: pi-in-a-bible-2-638.jpg (80KB, 638x479px) Image search: [Google]
pi-in-a-bible-2-638.jpg
80KB, 638x479px
>>61154026
>he fucking defined pi to be 3
>thinking you know better than God
The hubris of the modern man never ceases to amaze me.
>>
>>61154034
Be glad you never had to write it, because it does exactly what you ask. Now you can write RAII wrappers around C libraries with nothing more than a template function call.
>>
Linux users, what is the correct and safe way to install the newest version of GCC to be used concurrently, without fucking everything up or getting hacked?
>>
>>61154054
What distribution are you using? Why do you want the newest version? What version of gcc is installed on your system (post the output of gcc --version).
>>
>>61154066
>Why do you want the newest version?
C++17

>What distribution are you using?
Stable Ubuntu with GCC 6.2 installed.
>>
File: 1459052763149.png (284KB, 586x634px) Image search: [Google]
1459052763149.png
284KB, 586x634px
>>61153978
I've spent too much of my life entertaining the idea that a communist can be reasoned with. If they could be reasoned with, they'd never take anything M*rx or K*ynes said seriously. Read a book, nigger.

>>61154004
>What country are you from guy
The only white country on this planet which hasn't been infested by some form of kikery.
>I live in upstate NY
I see, so you have already been brainwashed by their kind.
>If you agree to the terms of something, it's a contract.
It's possible to download leftist software onto my property without agreeing with leftism. As I said, their """(((laws)))""" have no power over here.
>if you agree not to share information with other people, you are still obliged to follow that agreement. You are morally obligated to honor every contract you agree to, even if you don't like it.
Obviously, but that doesn't imply that information is property.
>I know there are corrupt judges in the United States
Most of them are. It simply follows from the unfortunate fact that the US is currently being controlled by leftists.
>>
>>61153452
I'm not noio-kun, you fucking faggot.
Don't insult me like that.
>>
clang or g++?
>>
>>61154054
>>61154086
Should have installed Gentoo (seriously)
>>
>>61154115
write something and time the optimized binary with both, you'll see that clang is garbage
>>
>>61154119
It's a big project, I don't want to waste time on useless activities.
>>
>>61154054
Ask on >>>/g/fglt/ or >>>/g/sqt/
>>
>>61154101
>I've spent too much of my life entertaining the idea that a communist can be reasoned with. If they could be reasoned with, they'd never take anything M*rx or K*ynes said seriously. Read a book, nigger.
I think you are missing the point of my post. The question was how is the program which you acquired via a contract your own private property. Also, is this directed at EULAs or at GPL specifically?
>>
>>61154158
>The question was how is the program which you acquired via a contract your own private property.
A program isn't property. A program is simply information.
The medium on which that program is stored is private property which belongs to me.
>Also, is this directed at EULAs or at GPL specifically?
It's directed at anything which thinks it has the power to control things rightfully owned by other people.
>>
>>61154101
Shalom no-IO shitposter, how is life at Russia treating you? Your claim that it's the "only white country on this planet which hasn't been infested by some form of kikery" is quite weird when considering that you live under a fascist regime which disallows you to have any form of opinion.
>>
>>61154148
>>61154119
I'd install the next Ubuntu but it's still in its Alpha 1 phase.
>>
>>61154086
Huh I thought Ubuntu had that new version. Well I don't see an actively maintained repo for it, so I would recommend downloading and compiling it yourself.

>>61154101
>>what country do you live in
>A... white one....
K.
>I see, so you have already been brainwashed by their kind.
You've never been upstate, it's basically North Dakota here.
>It's possible to download leftist software onto my property without agreeing with leftism. As I said, their """(((laws)))""" have no power over here.
Yes, it is physically possible, just like it's physically possible to do any number of unethical acts. Laws that respect property rights are in no way leftist. You're either /leftypol/ trolling or you're retarded, I'm not sure which. Just because your countries laws do not respect the private property of others in no way means that you are not ethically obliged to respect contracts. Contracts between individuals are the foundation for civilized society
>Obviously, but that doesn't imply that information is property.
But you've already said that you don't think you are morally obligated to honor contracts you agree to, didn't you? How is this obvious if you're having trouble with this fundamental concept. It doesn't matter if you believe that information can be property, you've agreed to the contract, and you are obliged to follow it's terms.
>Most of them are. It simply follows from the unfortunate fact that the US is currently being controlled by leftists.
Where are you getting this information from? What is your definiton of Leftist? Who do you consider to be non-Leftist?
>>
>>61154177
>rightfully owned by other people
Who defines what is rightfully owned and what is not? You seem to have your own private definition of that.

>It's directed at anything which thinks it has the power to control things rightfully owned by other people.
Does that include GPL or not? If it does, are you aware that the GPL allows you to use it for anything while limiting only (re)distribution?
>>
>>61154186
>>61154186
I just thought of something. You should check Ubuntu backports.
>>
>>61154227
Thanks, I'll try to set it up.
>>
Why the fuck don't programming language starndards also define project structure and way to define dependencies?
Compiler should be able to compile whole project whitout you having to use 10 different external tools to call your compiler on your files.
>>
>>61154034
>I stick to shared_ptr, weak_ptr
Enjoy your performance issues.
std::unique_ptr should be your goto smart pointer, until you know for sure that either a raw pointer or a std::share_ptr is more appropriate.
>>
>>61154180
>Shalom no-IO shitposter,
I hope being retarded works out for you, anon.
>Russia
I specifically said "white country". I specifically said "not infested by kikes".
>you live under a fascist regime
I specifically said "non-leftist country".

>>61154203
>K
It's not just a white country, it's the only white country not infested by kikes. There's only one such country as far as I know.
>You've never been upstate
I won't be visiting the US unless something really major happens and the country suddenly becomes right wing.
>You're /leftypol/
It seems like you're the retarded one here.
>Just because your countries laws do not respect the private property of others
Information isn't private property. It's impossible to be both in support of private property and claim that you can control things which other people rightfully own.
>you've agreed to the contract, and you are obliged to follow it's terms.
This assumes the contract is legitimate, in other words non-leftist. You can't """agree""" to a """contract""" which demands that you slaughter thousands of (non-kike) civilians. It's not a legitimate """contract""".

>>61154215
>Who defines what is rightfully owned and what is not?
Anything which is private property (standard definition) obtained through non-leftist means is rightfully owned.
>>
>>61154034
It's only ugly to you because you don't understand what's going on.
C++ may be somewhat ugly, but it's powerful.
>>
>>61154310
>he doesnt have a language with a package manager that doubles as a just werks build tool
>>
>>61151393
Elixir is rad as fuck; you should try it. Very comfortable.
>>
>>61154310
>Why the fuck don't programming language starndards also define project structure and way to define dependencies?
Maybe because that has nothing to do with the "programming language"?
>>
>>61154335
You can call "overly complex without any added benefit" "powerful" but it doesn't change the fact that's it's overly complex without any added benefit for the sake of being complex.
>>
File: 1495050123157.png (194KB, 562x389px) Image search: [Google]
1495050123157.png
194KB, 562x389px
>>61154360
>Elixir is rad as fuck
Elaborate. Why is it ""rad""?
>>
>>61154310
Some do, but a lot of languages are built to be OS independent, and as such things like project structure and dependencies cannot be clearly defined.

>>61154322
>it's a white country, but I won't say which one
K
>I won't be visiting the US anytime soon
Fuck off we're full
>It seems like you're the retarded one here.
no u
>Information isn't private property
Just because you say so doesn't make it true. You've got an odd definition of private property that only exists in your mind.
>This assumes the contract is legitimate, in other words non-leftist. You can't """agree""" to a """contract""" which demands that you slaughter thousands of (non-kike) civilians. It's not a legitimate """contract""".
If a contract mandates that you do something unethical, then you should not agree to the contract. If a contract has things that you don't like, and you knowingly agree to it, intending to not honor it, you are being unethical.

>>61154335
Lisp has superior meta-programming facilities, and has much more regular syntax.
>>
>>61154367
>overly complex without any added benefit
Again, you only think that because you have no idea what's actually going on in that code.
>>
>>61154365
>compiling program from language has nothing to do with the language
Are you the no-io guy?
>>
>>61154383
>such things like project structure and dependencies cannot be clearly defined.
They could define format of configuration file and define where to place it and leave the rest for the implementation to implement.
>>
>>61154377
fizzbuzz = fn
(0, 0, _) → "FizzBuzz"
(0, _, _) → "Fizz"
(_, 0, _) → "Buzz"
(_, _, x) → x
end

fb = fn n → fizzbuzz.(rem(n, 3), rem(n, 5), n) end


A fizzbuzz without conditional logic.
>>
>>61154383
>but I won't say which one
There is only one country which accurately fits my description. You being either ignorant or brainwashed is not an excuse.
>Fuck off we're full
Yeah, it seems like there's a lot of niggers and other filth in your country right now.
>no u
This is a horrible post.
>Just because you say so doesn't make it true
Brains can't be exchanged. Brains are exclusively owned by one person.
>If a contract mandates that you do something unethical, then you should not agree to the contract.
I never agree to any leftist contracts.
>>
>>61154420
I don't get it, you claim it has no conditional logic, but it clearly has conditional logic very clearly right there.
>>
>>61154420
>A fizzbuzz without ""conditional logic""
This is impossible by definition. The program "fizzbuzz" requires conditional logic. Pattern matching is a form of conditional logic.
>fizzbuzz.(rem(n, 3)
And is the "." retardation mandatory?
>>
>>61154420
>end
It's trash
>>
>>61154439
That's pattern matching; I suppose it's implicitly conditional, but not literally.
>>
>>61154450
Fuck off and kill yourself
>>
>>61154445
Yeah, the dots are mandatory for anonymous functions.
>>
>>61154453
> significant whitespace
No, thanks. Keep that garbage outta here.
>>
>>61154464
>butthurt nationalist
>>
>>61154450
>Serbia
Infested by kikes.
>any asian country
>Not white
Honorary white is still white. Most of them are infested by kikes though.
>Honestly, seems to me more of retarded nationalism than an actual fact.
I said "There's only one such country as far as I know.". I don't claim to be omniscient.
>>
>>61154489
I didn't even read your post.
I'm telling you to fuck off and take your spam posts somewhere else.
>>
>>61154506
>spam
Big post != spam, nobody stops you from hiding it.
>>
>>61154455
>I suppose it's implicitly conditional, but not literally.
It is literally inspecting a thing and doing something based on what that thing is. How is that not "conditional logic"?
>>61154472
Does the language have OOP?
>>
>>61154386
He's right though, a language is just a language. A language's definition is separate from it's standard library, and it's build tools. C++ has 3 widely used compilers that I can think of off the top of my head, and several standard libraries, along with a wide array of OS-dependent libraries.

>>61154405
These conventions change over time, and build tools come in and out of fashion. If you tether your language to closely to a single tool or platform, it won't last the test of time.

>>61154424
>I won't say which country I'm in, but it's definitely white and right wing
Just say which country you're talking about guy. For all I know you've got your own special head-definition of white, same as your head-definition of private property.
>Yeah, it seems like there's a lot of niggers and other filth in your country right now.
Slavery was a mistake, they should have been expatriated immediately.
>Brains can't be exchanged. Brains are exclusively owned by one person.
You're right, you own your brain, but you might have made an agreement not to disclose information that you contain in your brain, and that agreement is still legitimate.
>I never agree to any leftist contracts.
If you've ever downloaded a piece of GPL licensed software, clicked the "agree" button on an EULA, you've agreed to a contract
If you've ever worked at a place dealing with proprietary information, you've agreed to a contract.
If you've ever promised not to share a secret from a friend, you've agreed to a contract.

>>61154501
>Honorary white is still white
Honorary white is stupid bullshit. You can have respect for a non-white country, that doesn't make them defacto white.
>>
>>61154528
There is no 'if', 'else', 'case', whatever.

Is this exacerbating your autism?
>>
>>61154310
Because defining what is the "target" of your project in platform independent manner is hard. Interpreted languages have easier time with this, because they get to control over how modules are stored/loaded/executed/linked. When you compile to machine code, you don't have that luxury, because you need to have PE/ELF/whatever executable in the end, so that your OS can run it.

Another reason is the unix philosophy. The fact that compilers and linkers are separate allows you to combine object files from multiple different compilers. Same with dependency/project management - if you were to have projects defined by programming language standard, it would only be useful for that language, as other languages would be beyond the scope of that standard.
>>
>>61154562
Still conditional logic.

>Is this exacerbating your autism?
Pointing out that you are incorrect as fuck != autism.
>>
>>61154528
Elixir doesn't have OOP. But why would anyone want that in 2017?

You can implement common interfaces for your various types through 'protocols'.
>>
>>61154562
You're stupid if you think conditional logic is only if/else/case. Pattern matching is definitely conditional logic.

>>61154583
The unix philosophy is definitely at play here, and it's allowed different build systems with different intentions to develop. Build systems in Unix are subject to competitive market forces, which has allowed for a wide variety of build systems that are getting better all the time.
>>
File: fuck_freetards.jpg (94KB, 1180x842px) Image search: [Google]
fuck_freetards.jpg
94KB, 1180x842px
>>61152846
>>61153101
>>61153152
>>61153186
>>61153230
>>61153304
>>61153335
>>61153344
>>61153402
>>61153521
>>61153552
>>61153568
>>61153586
>>61153635
>tfw I use cygwin to compile my proprietary closed-source commercial app
>tfw I don't give a fuck about GPL
>>
>>61154602
>common interfaces for your various types through 'protocols'
I'm pretty sure that's polymorphism.

>>61154608
That follows the terms of the GPL. Also, Donald Trump supports the rights of individuals to protect their intellectual property.
>>
>>61154546
>Just say which country you're talking about guy.
List all countries which fit my description. I can almost guarantee it's the only one.
>For all I know you've got your own special head-definition of white
I have no special definition of "white". It's self-evident when you look at it.
>and that agreement is still legitimate.
Yes, that agreement is. But we weren't talking about such agreements.
>If you've ever downloaded a piece of GPL licensed software
Nope. Leftism is illegitimate.
>clicked the "agree" button on an EULA
I actually modify all the software I use so I don't have to click on the button.
>If you've ever worked at a place dealing with proprietary information, you've agreed to a contract.
>If you've ever promised not to share a secret from a friend, you've agreed to a contract.
Correct.

>Honorary white is stupid bullshit.
Not really. It has to be properly done though and it has certainly been overused.
>You can have respect for a non-white country
I never said anything about respect.
>that doesn't make them defacto white.
Correct, but being honorary white does make them honorary white.

>>61154619
>Also, Donald Trump supports (((intellectual property)))
Of course he does, he's an Israeli agent and a nigger supporter.
>>
>>61154608
>tfw I pirate closed-source commercial "apps" all day long
>tfw I don't give a fuck about their EULAs
>>
File: 1495300607699.jpg (34KB, 649x641px) Image search: [Google]
1495300607699.jpg
34KB, 649x641px
>>61154602
>Elixir doesn't have OOP.
Good. What else makes the language "rad" as you said?
>>
>>61154583
>Because defining what is the "target" of your project in platform independent manner is hard.
build_config_file

type=library-shared
arch=x86,x64
os=unix-systemV
output=liblibraryname.so

make
>>
>>61154625
Germany?

>Hitler made Japs honorary white
Is this what you mean by "properly done"?
>>
>>61151566
>muh POSIX xD
Nobody cares about posix thanks to Linus and his shitty kernel.
>>
>>61154619
>https://lwn.net/Articles/307918/
>you can also use Cygwin to run closed source software, but you have to pay extra for that privilege

>>61154631
This. The feeling is mutual and thus I don't feel bad one bit about it, but guess what, everything is moving to the clouds, in servers, where it's impossible to pirate soft.
>>
>>61154619
Yes, but you can define 'object-like things' (like C structs) with records and define interfaces for them, which, I suppose, are like instance methods.
>>
>>61154656
>everything is moving to the clouds, in servers, where it's impossible to pirate soft
Everything except proper soft.
>>
>>61154646
Imagine a Haskell that doesn't require 7 PhDs in logic and philosophy to produce a random int.
>>
>>61154649
>Germany?
How is fucking Germany somehow right wing and not infested by kikes?
>Is this what you mean by "properly done"?
I'm actually not sure if Hitler himself was purely white. Japs are infested by kikes though, so they're certainly not "honorary white" as of right now.
>>
>>61154666
Like what? dwm? I'm sure it's very relevant. Maybe you should use the Farbfeld image format, I'm sure everyone uses it.
>>
>>61154678
Tell me one asian country which is honorary white please.
>>
>>61154657
Sounds like OOP
>>
File: 1498279280995.png (564KB, 736x598px) Image search: [Google]
1498279280995.png
564KB, 736x598px
>>61154668
Haskell is a language for simpletons, why would being a simpleton require "7 PhDs in logic and philosophy"? Most Shitkellers actually don't know basic math.
And why would this make a language "rad"? Simply being "better" than Haskell is hardly enough.
>>
>>61154688
>suckless
>proper software
what?
>>
>>61154705
Okay, then give me an example cause I don't know what shit you're fantasizing about.
>>
>Elixir
>using a language without proper macros
>>
>>61154646
>>61154668

PS. It's like Haskell, but with Lisp macros, but based on Erlang.

What's not to like there?

>>61154694
Except it can't be as none of the structures are allowed any mutable state.

>>61154704
Are you trolling?

Elixir is good. Go fucking try it.
>>
>>61154625
>List all countries which fit my description. I can almost guarantee it's the only one.
I really don't care to lookup on Wikipedia the list of all white countries
>I have no special definition of "white". It's self-evident when you look at it.
I use the actual definition of white, having white skin and being of European descent.
>I actually modify all the software I use so I don't have to click on the button.
That's kinda funny, like that picture of the guy who tore the bottom of the CD case so he wouldn't have to break the seal.
>Nope. Leftism is illegitimate.
Sorry, just because you say something is leftist doesn't make it leftist, just like you're saying it's illegitimate does not make it illegitimate. Your disregard for contracts, the very basis for ethical, civil, society is deeply concerning.
>Correct
Friendless jobless NEET, ehh?
>Of course he does, he's an Israeli agent and a nigger supporter.
His connections to Israel are disturbing.
You don't really have an argument beyond
>Jews
>I don't like living in a society with contracts that I agree to
>See, I said Jews, now you know I'm right wing like you!

>>61154649
>Germany
>Not a Jewish puppet state
???

>>61154656
>That link
Looks legit. I'm referring to the licensing of glibc and gcc

>>61154693
He's probably a Japanophile and is gonna say Japan, or some other US vassal state

>>61154705
>he doesn't use surf

>>61154647
Sometimes more complex logic is necessary, in which case a lot of build systems actually produce makefiles as output.
>>
>>61154716
Elixir has Lisp-like macros. The best kind of macro.
>>
>>61154704
Are you >>61154625?
>>
File: 1495955608125.png (45KB, 250x250px) Image search: [Google]
1495955608125.png
45KB, 250x250px
>>61154718
>What's not to like there?
The '.' thing already pisses me off.
>Elixir is good.
I don't know that yet.
>Go fucking try it.
Can I use it to make languages? Is it good for that?

>>61154730
No.
>>
File: wtf.png (33KB, 1031x331px) Image search: [Google]
wtf.png
33KB, 1031x331px
how do I find all? Would my upper limit be
1^5 + 2^5 + ... + 9^5 ?? Because 9^5 + 9^5 would be 9^10, which would fall out, riiite?
>>
>>61154730
That is not me, I don't really know very much about Haskell or Erlang or any ML-ish languages.
>>
>>61154716
pls no bully elixir, this is why we can't have nice things.
>>
>>61154749
https://elixir-lang.org/getting-started/meta/domain-specific-languages.html
>>
>>61154646
Yui a slut
>>
>>61154751
what problem does it serve? how will this bring me profit?
>>
>>61154738
>returning a quote which is then eval-ed
>lisp-like macros
???
>>
>>61154647
All of that would be implementation defined. It wouldn't "just werk" if you, say, tried to build it on windows - you would need to change all those settings.
>>
File: first_flask_toy.png (85KB, 866x1514px) Image search: [Google]
first_flask_toy.png
85KB, 866x1514px
First time i've fucked around with flask in python3.5 and am pretty impressed by how smooth and concise it is.

No i'm not claiming this is more useful than ssh or anything like that. My goal is to eventually get my own dynamic ssh session going. Would be fun to develop except for some annoyances that come to mind. I use bash on windows so no it's not just for powershill.

Honestly if flask and other smooth modules work together well, I don't even see the point in the pyqt clusterfuck with cx_freezing it and all. I'd just develop GUI purely in the browser.
>>
>>61154774
brings you math knowledge and teaches you programming + optimization
>>
>>61154778
I guess that would be the '-like' part of 'Lisp-like'.
>>
>>61154774
>>61154791
He forgot to add that it's a lot of fun

>>61154795
Any language with homo-iconicity and runtime macros is basically a lisp anyway
>>
>>61154723
>I really don't care to lookup on Wikipedia the list of all white countries
In which case you don't care about the country I'm from. Why are you asking me then?
>having white skin and being of European descent.
Which is my definition as well.
>Your disregard for contracts
Leftism is illegitimate.
>ehh
It seems like you have some C*nadian ancestry. I won't be responding to your posts again.
>His connections to Israel are disturbing.
Israeli puppets should be publicly executed.
>I don't like living in a society with contracts
I don't like living in a society which upholds leftist """contracts""".
>that I agree to
I will never agree to leftism.
>See, I said Jews, now you know I'm right wing like you!
You aren't right wing though. You said that you support kikery.
>>
>>61154781
>os=linux,window
build/linux/library.so
build/windows/library.dll

Having some kind of starndard would be way better than having to write over 1000 lines of makefile. Dumb nigger.
>>
Other than self-hosting what do you guys do for VCS? Want to avoid all the github BS
>>
>>61154806
>You aren't right wing though. You said that you support kikery.

You're a fucking dumbass. Always the same game of ping pong.
>>
File: 1494653070480.png (584KB, 608x720px) Image search: [Google]
1494653070480.png
584KB, 608x720px
>>61154764
>DSLs
What about other languages?
>>61154772
Please don't say that.
>>
>>61154806
>Why are you asking me then?
Because you keep talking about your country like it gives you some authority. I'm not afraid to say where I'm from, why are you?
>Which is my definition as well.
Good, you've got one thing right
>Canadian
I told you I'm in Upstate New York, we're geographically very close to rural canada. I'm sure our accents are similar.
>Israeli puppets should be publicly executed
Anyone who whores out the interests of his country for foreign nations should be punished, but that's really not a /g/ discussion
>I don't like living in a society which upholds leftist """contracts""".
>leftism is illegitimate
you either get to live in a civilized society that honors contracts, or you don't. you don't get to make a value judgement on whether or not you'll honor your agreements, you don't make agreements that conflict with your values.
>I will never agree to leftism.
Okay, don't. Then don't agree to contracts that you think are leftist
>You aren't right wing though. You said that you support kikery.
I support the rights of free individuals to enter into agreements. Your attempts to label my respect for the agency of individuals, and my respect for the binding nature of contracts, as kikery, is classic misdirection, and only shows how feeble your opinions are
If at this time you want to admit that you have no principles, and simply violate contracts because you're an immoral person, you can do so. It would at least be honest of you.
>>
>>61154806
Norway, the only country that fits your description.
>>
>>61154806
>ignores accusation of jobless neet-hood
haha
>>
File: standards.png (24KB, 500x283px) Image search: [Google]
standards.png
24KB, 500x283px
>>61154808
>he thinks people unironically use makefiles for anything more than nontrivial
you know, you're not supposed to make those directly unless you're doing hello world kind of shit, right?
Makefile are pretty much shell scripts with dependency resolving. There's a reason why they are usually dynamically generated by all those cmakes and autotools.

Making a new standard wouldn't really solve anything, it would just create yet another messy build system. I'd argue you can't make a build system that is not ugly - it will either be not flexible enough or it will be one giant leaky abstraction.
>>
>>61154909
>Because you keep talking about your country like it gives you some authority.
It gives me the "authority" of claiming that I'm less likely to be brainwashed by kikes (something which you have already no doubt gone through).
>I support the rights of free individuals to enter into agreements.
So do I.
> I'm sure our accents are similar.
I'm really sorry for you.
>Anyone who whores out the interests of his country for foreign nations should be punished
It's a shame most ""people"" in your country don't seem to agree. I wonder what's the reason behind this. Surely it has absolutely nothing to do with the mass scale brainwashing that has been going on there. And I'm sure you haven't been affected by it at all.
>Your attempts to label my respect for the agency of individuals
Stopped reading right there. This isn't a response directed at me. Please don't post random comments when replying to my posts.

>>61154935
Why would I respond to something not directed at me?
>>
>>61154335
>It's only ugly to you because you don't understand what's going on.
On the contrary I can attest once you know what's going on it's still just as ugly.
Useful, efficient, and laughably inelegant, all the way down.
>>
File: 1414919166435.png (21KB, 757x743px) Image search: [Google]
1414919166435.png
21KB, 757x743px
>not being one with hardware and using just C/C++/ASM
>>
File: 1495954090859.jpg (7KB, 218x245px) Image search: [Google]
1495954090859.jpg
7KB, 218x245px
>>61155087
>one with hardware
>C/C++
>>
>>61155087
>brags about using asm
>probably does it in usermode
>>
File: 1498319577399.png (625KB, 1452x1080px) Image search: [Google]
1498319577399.png
625KB, 1452x1080px
>>61154704
philosophy is garbage anyway.

>Hey guys I'm good at thinking.
>What's 2+2?
>Does it really matter? Who are we?
>>
>>61154990
Suckless uses them very well. You can express a lot of high-level logic with them. I think people use CMake and the like for simple tasks, because they think that that's "How You Write Good Software", but usually they don't use these platforms high-level featurs.

>>61155030
>It gives me the "authority" of claiming that I'm less likely to be brainwashed by kikes (something which you have already no doubt gone through).
So you say. You've yet to provide any evidence, so I think this can be discarded.
>So do I.
But you keep saying you don't want to be in a society where individuals can enter into agreements that you label as leftist
>I'm really sorry for you.
K
>It's a shame most ""people"" in your country don't seem to agree. I wonder what's the reason behind this. Surely it has absolutely nothing to do with the mass scale brainwashing that has been going on there. And I'm sure you haven't been affected by it at all.
It is a shame, and it all starts in the public education system. It's very sad. Fortunately I was spared this. However, it's not even remotely related to this boards topic
>Stopped reading right there. This isn't a response directed at me. Please don't post random comments when replying to my posts.
You just fucking said in >>61154806 that I was party to kikery, it's directed right fucking at you
Do you have any concept of truth? You keep changing your goddamn definitions, arbitrarily labeling things you don't like as Leftist and Jewish, because you feel it relieves you of your moral obligation to honor contracts you agree too.
>>
>>61155087
>C/C++ on the same line as ASM.

Not even close, it's like wanting to build your own house and using one of those mail-order bundle kits that you just put together versus having just an axe in the woods.

ASM is so fucking tedious anyways, I can't believe some turds brag about it. It's embarrassing to use except for a very select few applications.
>>
>>61155123
>>61155123
>>
>>61155152
>But you keep saying you don't want to be in a society where individuals can enter into agreements that you label as leftist.

Not the other autist but this is something that people on the left seem to not understand. In economics, you have no fucking solutions. It's only tradeoffs. How can you ignore the fact that any leftist policy is at some point, taking away from others?

https://www.youtube.com/watch?v=3_EtIWmja-4

Government always fucks up, the only good thing to do is shrink it. This is coming from a formal libtard.
>>
>>61154751
equalsNthPowerSum p n
n == sumOfNthPower p n = True
otherwise = False
where sumOfNthPower p n = sum $ map (\x -> x^p) $ digits n
digits n = map (\x -> read [x] :: Int) $ show n

sum $ [x | x <- [2..300000], equalsNthPowerSum 5 x]

300,000 is upper limit as five digits, each of 9^5 maximum, is a little less than 300,000.
>>
>>61154990
>cmake
I was never able to compile anything that uses cmake.
>>
>>61155235
How is that in any way related?
>>
>>61155255
Entering agreements can basically be translated to regulation in modern day discussion. These kinds of fucking agreements ruined my state and much of the country.

Only agreement is to have government fuck off. The consistency in fuckups with these kinds of agreements is so sky-high, I don't understand how anyone can continue to support that bullshit.

As for label you mentioned, who cares? Just fix the fucking problems by getting government out. Wait until the fed has to stop lying for the first time in a decade and the real clusterfuck starts.
>>
Why is every single web app framework "dying" according to everyone?
>>
File: n34U9Wg.jpg (37KB, 576x1024px) Image search: [Google]
n34U9Wg.jpg
37KB, 576x1024px
>>61155168
who is this semen demon?
>>
>>61154990
current situation
>there millions of build tool that build make files or do their own thing and anyways require you to write 1000 lines just to find a fucking library in system
every nigger that uses cmake should just kill themselves.
>>
File: 1484469749641.gif (342KB, 500x280px) Image search: [Google]
1484469749641.gif
342KB, 500x280px
>>61155128
>philosophy is garbage anyway.
Most of modern "philosophy" definitely is.
>Hey guys I'm good at thinking.
>What's 2+2?
>Does it really matter? Who are we?
None of that is "philosophy".
>>
>>61155326
>Anna Moleva
>>
>>61155293
>Entering agreements can basically be translated to regulation in modern day discussion. These kinds of fucking agreements ruined my state and much of the country.
No, because if two individuals enter into a contract, the government is not involved. If the contract includes explicit or implicit terms related to the government, then the government is involved in the contract. Government involvement is not necessary for contracts, and if everyone keeps their word, government involvement will not be necessary.
>Only agreement is to have government fuck off. The consistency in fuckups with these kinds of agreements is so sky-high, I don't understand how anyone can continue to support that bullshit.
Agreeing to tell the government to fuck off is a totally valid form of contract. If people are fucking up agreements, it's probably because they are not fully understanding what's in the agreement, in which case they should either find a way to understand it, or not agree to it
>As for label you mentioned, who cares? Just fix the fucking problems by getting government out. Wait until the fed has to stop lying for the first time in a decade and the real clusterfuck starts.
The label matters because it's a widely used rhetorical device, intended to cast anyone who supports the freedom to enter into an agreement as the enemy. Look at who's trying to control whom here. Issues with the US federal government really are unrelated to the issue of the legitimacy of software licensing. You make good points.
Also please stop spacing like that

>>61155306
By everyone you probably mean /g/
>>
>>61154990

can anyone explain why we don't use a tiny python3 build library and write all our build scripts in an actual programming language?
>>
>>61155339
Blah blah most of everything modern day is garbage blah blah I can't somehow ignore the massive bias that internet brings when ideas are spread about by every person. Tumblr is not modern philosophy and saying it's shit can only have merit because the low-hanging fruits are gone. Most of 4chan/tumblr/reddit philosophy is indeed garbage, glad that's clarified.

>Does it really matter? Who are we?
That is philosophy, blanketed or not, stop trying to be so contrarian.
>>
>>61155152
>Suckless uses them very well.
I would imagine so. Writing good makefiles is not easy though. I used to be a makefilefag until I realized that I could do the same stuff with CMake with 10 times less effort.

>>61155336
FIND_PACKAGE(PNG REQUIRED)
INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(mycoolapp ${PNG_LIBRARY})
>>
>>61155393
This exists, it's called Scons. It's a bit odd sometimes, but it's not too bad.
>>
>>61155152
>But you keep saying you don't want to be in a society where individuals can enter into agreements that you label as leftist
Stopped reading right there. This isn't a response directed at me. Please don't post random comments when replying to my posts.
>You just fucking said that I was party to kikery
Which you absolutely were. I actually wouldn't be surprised if you are a true kike and not just their minion. You seem too smart for that.
>Do you have any concept of truth?
I do. I'm not a servant of Israel as you seem to be.
>honor contracts you agree too.
I never agree to leftism.
>>
>>61155402
>package png not found
>>
>>61155411
silly boy, you have to install it first
>>
>>61154155
>Ask on >>>/g/fglt/
Well that was useless.
>>
File: 1495953586402.jpg (75KB, 800x600px) Image search: [Google]
1495953586402.jpg
75KB, 800x600px
>>61155394
>Blah blah most of everything modern day is garbage blah blah
Context? Are you quoting someone in particular? You seem upset, do you need to talk to someone?

>Most of 4chan/tumblr/reddit philosophy is indeed garbage, glad that's clarified.
It's not "philosophy".
>That is philosophy
Sorry, but I just checked and it looks like that's not the case.
>>
>>61155153
>Not even close, it's like wanting to build your own house and using one of those mail-order bundle kits that you just put together versus having just an axe in the woods
Java: putting a house together out of ready-made rooms
Lisp: living in an RV
C#: buying a house
Haskell: visiting a friend
Python: checking into a sleazy hotel
Javascript: throwing wood planks at a lump of clay and saying you built a house
Ruby: *gorilla noises*
>>
>>61155435
>$ sudo apt-get install png
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>E: Unable to locate package png
>>
>>61155478
you misspelled libpng-dev, pajeet
>>
>>61155478
apt search png
>>
>>61155402
>I would imagine so. Writing good makefiles is not easy though. I used to be a makefilefag until I realized that I could do the same stuff with CMake with 10 times less effort.
Most suckless projects use basically the same makefile with a slightly different config.mk. If you go about it in a structured way, there's not much you can't do with makefiles, and you'll find it's more portable than cmake

>>61155406
>Stopped reading right there. This isn't a response directed at me. Please don't post random comments when replying to my posts.
Jesus fucking christ you can't be this dense, it's in direct response to your comment
>Which you absolutely were. I actually wouldn't be surprised if you are a true kike and not just their minion. You seem too smart for that.
I'm mixed Irish and German, like everyone where I'm from (there are some Italians too but they keep to themselves). Consider for a moment that not everyone you agree with is part of the Jewish propaganda machine. Consider for a moment that it's possible that someone else may have given this more thought than you, or heaven forbid, be correct.
>I do. I'm not a servant of Israel as you seem to be.
I've said nothing in support of Israel. I don't particularly like Israel, and I think they're a destabilizing presence on the world. However, removing Israel would not remove the rootless international clique that seek to destroy the rights of the individual.
>I never agree to leftism.
Okay, then don't agree to leftism. Just understand that using software licensed under the GPL binds you to the GPL, regardless of whether or not you think it's leftism.
The Jews really don't have anything to do with software licensing, and their legitimacy.
>>
>>61155495
Stop memeing about India it's literally not even our fault we don't shit in toilets
They belong to the superior caste you see
We worship them instead of using them because they use them and we must worship everything they do and never enjoy the same or better luxuries or else there are consequences
>>
File: gvo1_540.gif (2MB, 540x350px) Image search: [Google]
gvo1_540.gif
2MB, 540x350px
>>61155478
>apt
>>
>>61155532
there is literally nothing wrong with apt just because its also used by /v/ermin on ubuntu
>>
File: 1-FF-rate.png (18KB, 630x378px) Image search: [Google]
1-FF-rate.png
18KB, 630x378px
>>61155373
>No, because if two individuals enter into a contract, the government is not involved. If the contract includes explicit or implicit terms related to the government, then the government is involved in the contract. Government involvement is not necessary for contracts, and if everyone keeps their word, government involvement will not be necessary.

Are you living on the same planet? Are you so myopic to see why it's next to impossible to have ANY individuals agree to a contract without government and lawyers galloping in?
>Government involvement is not necessary for contracts
Necessary? That's not the word that is relevant here. Does government find a way to intrude on almost anything you do? Yes. With any decisions of significance, you bet the government is there. Even this fucking board is being harvested by them.

>If people are fucking up agreements,
These agreements just don't happen in any kind of volume without government already waiting.

>Issues with the US federal government really are unrelated to the issue of the legitimacy of software licensing
If it's purely digital keys being traded, you may slither away. If that's the context you're speaking in, it has some merit. Anything else is done though.

The fed is lying and we've had a fake economy for a decade that's been bubbled up to insanity. Auto loans, school loans, inflation (n-no but the CPI!), crappy mortgages. The economy is going to fucking crash and everything else is irrelevant, the chart here makes me fucking sick.

I'd give it two years or so. Let's not even talk about the havoc automation will cause.
>>
>>61155559
>/v/
>Linux
>>
>>61155574
Ever since the w10 tele shit came out, many people on /v/ suddenly started """""""""""caring"""""""""""" and switched to ubuntu.
>>
I propose this alternative C++ streams syntax:
#include <iostream>

template <typename T>
static std::ostream& operator|(std::ostream& o, T&& t) {
o << std::forward<T>(t);
return o;
}

int main() {
int x = 95;
std::cout|"x = "|x|'\n';
}

x = 95
>>
>>61155574
ubuntu is near normie-tier now.
>>
>>61155503
>it's in direct response to your comment
This isn't a response directed at me.
>I'm mixed Irish and German
What a bunch of autists you are.
>Consider for a moment that it's possible that someone else may have given this more thought than you
That's definitely not a description of you.
>I've said nothing in support of Israel.
But you support Israeli intelligence agencies and special forces, correct?
>I don't particularly like Israel
So are you being forced into it?
>removing Israel would not remove the rootless international clique that seek to destroy the rights of the individual.
In what way does this imply that removing Israel isn't a worthwhile goal?
>Just understand that using software licensed under the GPL binds you to the GPL, regardless of whether or not you think it's leftism.
I have already said everything there is to say about this.
>>
>>61155599
Gross
>>
>>61155599
reminds me of Ocaml
>>
File: apl.gif (7KB, 620x284px) Image search: [Google]
apl.gif
7KB, 620x284px
>>61155599
holy shit even apl is more readable
>>
It is possible for a program to change its instructions at runtime? ,if so how?
>>
>>61155461
Why has 'philosophy' stagnated so much in the recent era? What is your reasoning?

>Does life really matter? Who are we?
Philosophy: the study of the fundamental nature of knowledge, reality, and existence.

Ok buddy, maybe you'll realize that it's an umbrella term and thrown around even amongst the best to live in the field.
>>
>>61155667
load dynamic library and replace old function pointer from it
>>
File: cz.png (12KB, 1366x768px) Image search: [Google]
cz.png
12KB, 1366x768px
I'm making a self-imrpovement gamification cli app. Basically it tracks habits and time spent on activites. These will give experience points and gold. Gold can be used to purchase rewards (e.g. 1 succesfully habit = 5 exp 1 gold = 10 exp, 1 hour of gaming = 20gold )

Been using to keep me on good track. Like Ive been tracking my daily skin care which I have to do to fix my skin problems and it has been helpful.

Any one interested in working on this? Right now I have a prototype on Golang, but can adapt to Python or C or whatever meme language. IT can be a good experience!
>>
>>61155567
>Are you living on the same planet? Are you so myopic to see why it's next to impossible to have ANY individuals agree to a contract without government and lawyers galloping in?
They can gallop off a cliff, I'm not talking about the specifics of contract law in any one country, but rather the high-level concept of an agreement between entities
>Necessary? That's not the word that is relevant here. Does government find a way to intrude on almost anything you do? Yes. With any decisions of significance, you bet the government is there. Even this fucking board is being harvested by them.
If our government chooses to intrude on contracts that does not mean contracts are invalid. If our government chooses to intrude on healthcare or roads, it does not mean that roads and healthcare are bad ideas. Governments tend to do a bad job at things, but just because they do a bad job at things doesn't mean that that thing is awful.
>These agreements just don't happen in any kind of volume without government already waiting.
They don't right now, it doesn't mean they can't and never will. I heat my house with wood, and I buy that wood from a guy named chuck. I pay chuck in cash, because our exchange has nothing to do with the government.
>If it's purely digital keys being traded, you may slither away. If that's the context you're speaking in, it has some merit. Anything else is done though.
We're not talking about digital keys, we're discusing whether or not software licenses are ethical
>The fed is lying and we've had a fake economy for a decade that's been bubbled up to insanity. Auto loans, school loans, inflation (n-no but the CPI!), crappy mortgages. The economy is going to fucking crash and everything else is irrelevant, the chart here makes me fucking sick.
>I'd give it two years or so. Let's not even talk about the havoc automation will cause.
This really has nothing to do with the topic at hand
>>
>>61155614
>This isn't a response directed at me.
I'll ignore this because you're like a brick wall
>What a bunch of autists you are.
I'm okay with it
>That's definitely not a description of you.
You make so many assumptions about who I am, rather than addressing what I have to say
>But you support Israeli intelligence agencies and special forces, correct?
No, I do not support Israeli intelligence agencies and special forces. Maybe someone can point to an example of them doing some good, and that's fine, but I've only seen them act to further destabilize the world. That being said, I don't know of any countries intelligence agency that actually works to stabilize the world and support their citizens (although if they were good I'd probably never hear about them).
>So are you being forced into it?
See above
>In what way does this imply that removing Israel isn't a worthwhile goal?
It doesn't imply that at all, I'm explicitly saying that removing Israel should not be the only goal
>I have already said everything there is to say about this.
And you're still incorrect
>>
>>61155687
but this would only change the behavior of the program, isn't? ,because the actual memory of the old function would remain. I want to do this because of signature scanning
>>
File: 1463513384980.png (192KB, 255x458px) Image search: [Google]
1463513384980.png
192KB, 255x458px
>>61155680
>Why has 'philosophy' stagnated so much in the recent era?
That is an open problem.
>Philosophy: the study of the fundamental nature of knowledge, reality, and existence.
But that question itself isn't "philosophy". Merely writing it down isn't "philosophy".
>maybe you'll realize that it's an umbrella term and thrown around even amongst the best to live in the field.
That's not an excuse, anon. You should know better.
>>
>>61155743
>>61155667
Typically no, most operating systems prevent writing to memory that it is executing
>>
In Atom, is there a way to save all the open as a project workspace of some sort?

So that if I'm back to working on a specific project I can just select it and have all the separate files I need opened in the same panes as before.
>>
>>61155763
Emacs does not have this problem
>>
>>61155763
>all the open
all the open files*
>>
>>61155763
Maybe... sounds like youre looking for saved sesssions
>>
>>61155667
usually program code memory is write-protected.
on windows use VirtualProtect to unprotect it.
on linux use mprotect.
after doing that, you can modify the machine code while your program is running, just take a function pointer and cast it to char* or something.
>>
>>61155667
>>61155787
oh, and if you want to allocate new memory, make sure you also use the mentioned functions to make it executable. If you don't do that Data Execution Prevention will crash your app.
>>
>>61155726
>We're not talking about digital keys, we're discusing whether or not software licenses are ethical
Who is retarded enough to not believe this? How can you argue that professionally made software is unethical to license out?

>Governments tend to do a bad job at things, but just because they do a bad job at things doesn't mean that that thing is awful.

>Governments tend to do a bad job at things
It's in their INCENTIVE to do a bad job, why would they do a good one? So we will clap on the internet? Does the DEA want more or less drugs on the streets when they have a paycheck coming in every week?

>just because they do a bad job at things doesn't mean that that thing is awful.
Yes they are awful. It's why I don't trust/take interest in my smartphone being made by them, my keyboard, my computer, my clothes, my car, just about everything they are awful in or can't comprehend competing. Healthcare has been atrocious because OF the government in both price and less so quality. Education for the same reasons.
>>
File: 1453261446276.jpg (35KB, 200x200px) Image search: [Google]
1453261446276.jpg
35KB, 200x200px
>>61155757
My fucking god.
>>
>Who is retarded enough to not believe this? How can you argue that professionally made software is unethical to license out?
You should follow the reply thread, that's what the other Anon is saying
>It's in their INCENTIVE to do a bad job, why would they do a good one?
Governments are composed of people, and people do not always act out of material self interest. To say that governments never do a good job at anything ever is a generallity that I'd rather not make.
>Yes they are awful. It's why I don't trust/take interest in my smartphone being made by them, my keyboard, my computer, my clothes, my car, just about everything they are awful in or can't comprehend competing. Healthcare has been atrocious because OF the government in both price and less so quality. Education for the same reasons.
Yes, I'm saying that if the government made keyboards, all keyboards would not be bad. Just like if the government is involved in private agreements, that does not mean that all private agreements are bad.
Also please stop using so many new lines
>>
>>61155373
>By everyone you probably mean /g/
Not just /g/ but the internet in general.

>I want to learn Django
nah dude, that framework is dying
>Alright then I'll learn rails
nah dude, that framework is dying
>Alright then I'll get into node
nah dude, that framework is dying
>Fine then I'll get into [framework of the week that is in alpha .93.1 with no stable release schedule in site]
Yeah, that'll probably get you the most jobs

desu I'm just going to stick to django for the foreseeable future. If something happens that forces me to switch I will, but I see no benefit of rails or node or any of these 'hip' frameworks in that I can do the same shit in Django
>>
>>61155787
>>61155856
thanks, but if i want to change a portion of memory, not necessary a function, the procedure it's the same?
>>
>>61155920

The issue is that these are all different people, and they all say that some framework X is dying because they want you to use some framework Y. They all have different X and Y, so you get the idea that every framework must be dying.
Also just because something isn't the new favorite framework of choice does not mean it's not being used. PHP is not being used for new projects, but it's still valuable to know, because so much uses it.
>>
>>61155960
>PHP is not being used for new projects
rong
>>
>>61155987
Maybe so, my point holds, that just because a technology has fallen out of fashion does not mean that there are no applications for it. My last job was at a major insurance company, enterprise architecture. The bulk of their system was in Cobol.
>>
>>61155987
this. the disease of PHP can't be halted.
>>
>>61155917
>>61155867
>>
>>61155987
>what is wordpress
>>61156007
I just want to know why web frames fall out of fashion so quickly. I don't understand how people find the time to learn an entire new framework every time something new comes out.
>>61156016
this +1
>>
who else likes Scheme?

(define sin
(lambda (x)
(* x (trig-helper x 11 2))))

(define cos
(lambda (x)
(trig-helper x 11 1)))


(define trig-helper
(lambda (y n k)
(if (< n k) 1
(- 1 (/ (* y y (trig-helper y n (+ k 2))) k (+ k 1))))))
>>
>>61156406
Is there a non-jewish flavor of scheme?
>>
>>61156360
>I just want to know why web frames fall out of fashion so quickly. I don't understand how people find the time to learn an entire new framework every time something new comes out.
Because it's a shitty field with shitty people who like memes
>>
>>61156406
I like common lisp way more because it's standardized and reader macros.
I'm thinking what higher level language I should add for scripting for my C program and scheme seems like decent option but too bad each implementation is too opinionated and bad.
>>
>>61156423
Scheme is the white mans programming language
>>
>>61156440
I just cant get behind Lisp's whole non-syntax-syntax with the excessive ()'s
>>
>>61156438
Yeah I feel you. It was a little confusing when I was starting out because I wasn't sure which implementation to get. MIT Scheme, Dr Racket, and Guile are all good choices if you end up using it.
>>
class FirstHandler;
class SecondHandler;
class ThirdtHandler;


versus

class HandlerFirst;
class HandlerSecond;
class HandlerThird;


Pick the naming scheme for me.
First one sounds better and makes more sense.
Second one is neater, more organized and useful for autocomplete.
>>
new thread: >>61156820
>>
>>61156791
>Poo
>more than one handler
>not just going full pajeet with Handler1,2,3

1 makes more sense.
>>
>>61156791

or you could go with hungarian notation
class HFirst;
class HSecond;
class HThird;
>>
>>61154668
import System.Random

main = do
a <- randomIO :: IO Int
print a
Thread posts: 355
Thread images: 37


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