[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: 29

File: tmp_21718-1484484066916908999481.png (389KB, 934x1000px) Image search: [Google]
tmp_21718-1484484066916908999481.png
389KB, 934x1000px
What are you working on, /g/?

Old thread: >>58626687
>>
>>58632639
C#
>>
first for anime
>>
>>58632657
dmd --version
DMD64 D Compiler v2.072.2

I just got it off AUR.
>Post more though.
Just in general? With D?
>>
File: sad spurdo.png (12KB, 569x423px) Image search: [Google]
sad spurdo.png
12KB, 569x423px
Trying to get back into programming after completing my non computar-related degree 2bh. I've just installed Visual Studio. My most recent affair had been with Lua trying to make games with Love2d. Been thinking of getting into C++ and Javascript. Would those be a decent start for someone trying to get into software development? Any resources anyone would personally recommend besides KillMyself.exe???
>>
File: 1482385962346.png (269KB, 870x870px) Image search: [Google]
1482385962346.png
269KB, 870x870px
Why are there no tutorial sites for intermediate programmers

Why am I forced to go through a hundred beginner tutorials before I can get to anything more complex
>>
>>58632639
>>58632705
>>58632714
thank you for using an anime image
>>
>>58632714
What are you looking for? General information about programming that's intended for people who know the basics?
SCIP?
>>
>>58632705
What field do you want to get into?
>>58632714
Because intermediates read books and docs, not follow shitty tutorials.
>>
>>58632726
>SCIP
SICP
>>
>>58632726
I just want something that covers more advanced concepts sequentially or with a list like beginner sites do with their lessons. I don't know WHAT I want to learn, because I don't know what else there is besides specific libraries or other languages entirely
>>
>>58632742
>What field do you want to get into?

Was thinking of something generalised like application development as my primary focus. (Software, games, etc.) But I kinda have an interest in embedded systems (Have a Raspberry Pi waiting to be used) and a bit of security stuff as well.
>>
>>58632704
you were using algorithm's splitter which is for ranges.
You want std.string's split
auto splitString = split("ls -l"," ");
>>
>>58632805
C/C++ sounds like what you need then.
>>
>>58632714
Why would you need a tutorial if you already know the basics?

Any framework in any language should be a piece of cake to jump right into and get a good understanding of if you are intermediate, as long as there is at least some documentation, and the rest can usually be found on stackoverflow and the like.

If you feel like you have to follow tutorials after becomming intermediate, you are essentially gimping yourself. I do, however, think that beginner level tutorials *can* be useful for getting a quick overview of how a language or framework works.
>>
>>58632811
Ah, yeah that works.
But I'm also curious how I'd get from what I had to char[][] now.
>>
>>58632714
Read references
>>
>>58632929
>cute boys
>cute
Sure you meet that criterion, Anon?
>>
>>58632929
Yes
im a girl btw
>>
>>58632959
>Yeah, do you want some pics
Do it.
>>
>>58632929
just say you want male sexual attention anon, no need to beat around the bush ;)
>>
File: algorithms.jpg (50KB, 420x475px) Image search: [Google]
algorithms.jpg
50KB, 420x475px
How good is pic related?

I wanted to learn about data structures.
>>
File: asdf2.jpg (1MB, 1920x1080px) Image search: [Google]
asdf2.jpg
1MB, 1920x1080px
>>58632965

>>58632987
Sorry I really just want those shorts
>>
>>58632875
You want, std.conv;
goodluck
>>
File: git.jpg (99KB, 499x379px) Image search: [Google]
git.jpg
99KB, 499x379px
what should I pick?
what's the most sensible option?
>>
>>58633094
>muh PATH
the second option is fine.
>>
>>58633094
First and make a special batch to launch cmd with git in path.
>>
>>58633011
I dunno but I have it in pdf.
>>
>>58632766
What language?
>>
>>58633153
mental illness store
>>
>>58633094
The most sensible option is to install msys2 and install and use git from there.
https://msys2.github.io/
>>
File: 11.png (49KB, 439x265px) Image search: [Google]
11.png
49KB, 439x265px
what time do you go to bed / wake up?
>>
>>58633333
nice quints
what time zone do you need?
>>
>>58633333
whenever im tired
whenever i quit feeling the urge for a wank
>>
how come i only get motivated to program when its for a job?
>>
>>58632639
studying design patterns for my exam ~
>>
>>58633333
>bed
when the visions start
>wake up
when the visions stop
>>
>>58633349
europe

most programmers work 9-5?
>>
anyone know where I can get a thicc bitch?
>>
>>58632766
Pick a goal and then learn skills to complete that goal. When you run into problems and start digging you will find solutions and learn something new or better ways to do things.
If you never run into problems and you achieve your goal, then set another more challenging goal.

There is no tutorial for thinking for yourself. You just have to try your best and hope you aren't retarded.
>>
>>58633417
u want som fugg
>>
>>58633436
I do,u thicc bitch ?
>>
>>58633443
im good at wearing girly clothes
>>
File: the-coder.jpg (109KB, 1280x854px) Image search: [Google]
the-coder.jpg
109KB, 1280x854px
Why is this allowed?
>>
>>58633454
sorry man, I'm not a homosexual
>>
>>58633475
just don't look at the D and it will be ok.
>>
>>58633475
Eek! Don't look, anon, I'm half naked here!
>>
Reminder:

Idris > Haskell > Scala > OCaml > F# > Rust > C++ > C# > Java > D > C > Lisps > Fortran > Perl > Go > Forth > Python = PHP = Ruby = JavaScript
>>
I posted this in the stupid questions thread but it might be more related here.

I'm in an intro to prog logic class and my professor was talking about "constructors" and "destructors". Can I get a rundown or example of what these terms are?
I've tried finding it in his book that he made himself but it doesn't even mention it.
>>
>>58633535
Reminder:

Good luck finding work.
>>
>>58633472
jquery and html? because it's a free country.
>>
>>58633535
Fuck off with your copy pasta.
>>
File: 1484178231488.png (108KB, 400x381px) Image search: [Google]
1484178231488.png
108KB, 400x381px
>just do it it's a convention
>>
>>58633550
Reminder: I have a job, you don't
>>
>>58633544

constructors are the part of a class that initializes or does something you want as soon as you get an object of that class, destructors let you do stuff you want done when the object is destroyed. Don't think about it too much since you're just a beginner. You'll see some examples later
>>
>>58633544
a constructor constructs an object and a destructor destructs it
>>
>>58633566
>web dev
doesn't count.
>>
@58633535
>Java > D
over the line
>>
>>58633572
Given the ordering of languages I gave, do you really think I could live with doing web dev?
>>
>>58633043
>no face
How do we know if you're cute if you don't show your face?
>>
>>58633572

I have a friend who has his masters in EG and CS, yet has his own start up doing web apps. He's doing quite well. The web dev meme isn't that bad.
>>
>>58633572
Hello
>>
>>58633621
I'm not posting my face on 4chan.
>>

int foo(){
try{
return 5;
}finally{
return 10;
}
}


what happens now?
>>
>>58633636
Then I'm not sure if you meet the cute criterion, Anon.
>>
Simple webdev question:

I'm playing around with a web framework (OpenMCT, but it shouldn't matter which one). Out of the box, the framework does not produce a page with any real content, so obviously I have to start creating and modifying files (like index.html) to add functionality. But if I do that I will no longer be able to git pull, at least not easily, because I'm introducing local changes. So what's the best approach to separate the framework from the modifications I'm making?
>>
>>58633636
Just post it upside down.
>>
>>58633638
it returns 5
>>
>>58633566
>tfw javascript developer for a click bait company at $96K a year

feels good mang
>>
File: IMG_20170124_103932184.jpg (1MB, 1836x3264px) Image search: [Google]
IMG_20170124_103932184.jpg
1MB, 1836x3264px
>>58633569
One of my classmates texted me examples like
Book(Author_Name)
Book(Number_of_pages)

Also pic related, which would ones would be constructors? Sorry if I seem dense
>>
>>58633638
it returns 10
>>
>>58633689

technically those are all initialized once the object is created, but if you wanted to call one of those functions (methods) then you would put it under constructor

don't remember the syntax for constructors off the top of my head, should be in your book
>>
>>58633726

sorry i should be more clear. If you want to call one of those methods automatically right when the object is created is when you would want to put it under contructors
>>
>>58633702
Shit you're right. I should shut up more often.
>>
File: anal beads.png (5KB, 417x219px) Image search: [Google]
anal beads.png
5KB, 417x219px
>>58633638
It doesn't compile in a sane language.
>>
>>58633933
Worked for me in java. Is that C#?
>>
>>58633975
Yes.
>>
>>58632766
essentials of programming languages
>>
>>58633535
Put Lisps after Haskell and I'll agree with you.
>>
>>58632639

Which is best to learn python 2 or 3?
>>
Is it better to just search for the solution if you can't solve the problem, or is it better in the long run to actually try and solve the problem yourself?
I'm practicing on solving tough algorithmic problems and I don't know which way is better in terms of training my programming skills. I don't know whether I should just find out the easiest way to solve the problem by searching online or if I should train my brain to solve it myself.
>>
>>58634186
Just use a library, bro.
>>
>>58634198
I joined a coding competition and I don't know if we're allowed to use libraries.
>>
>>58634186
I would spend a few hours trying to find a solution. If you can't, come back to it the next day. If you still can't, read a worked example and make sure you understand it fully.
>>
>>58634186
when you can't find a solution and it saddens you, you just write a depressing book about how you're feeling and then you kill yourself!
>>
File: ihaveameme.jpg (31KB, 302x601px) Image search: [Google]
ihaveameme.jpg
31KB, 302x601px
Is this a meme or what? I would say yes, and in that case, should this type of advertising even be allowed?
>>
>>58634230
Shit competition if they don't give you access to the internet and whatever tools you deem necessary to meet the scoped requirements.
>>
Anyone willing to help me re-write a C code for some dollars?
250 lines.
>>
>>58634264
I started software development 3 days ago and now I make $200,000 per month with this one weird trick.
>>
>>58634126
Python 3 is better but there's much morein Python 2.
>>
File: btnReset.jpg (20KB, 264x148px) Image search: [Google]
btnReset.jpg
20KB, 264x148px
How do i create a command in WPF for 1 button to deselect and basically resets all buttons with changed backgrounds?

My current logic for pressing buttons is this
        private void ButtonClick(object sender, RoutedEventArgs e)
{
Button _btn = sender as Button;

if (_btn.Name != "pressed")
{
_btn.Background = Brushes.CornflowerBlue;
txtBox.Focus();
_btn.Name = "pressed";
}
else
{
_btn.ClearValue(Button.BackgroundProperty);
txtBox.Focus();
_btn.Name = "NOTpressed";
}
>>
test
>>
>>58634278
What must the code do?
>>
>>58634282
(Click)
>>
>>58634310
User was banned for this post.
>>
>>58634316
basic linked list with structure.
>>
>>58634308
you iterate through all those buttons and set them as none pressed
>>
>>58634328
Just use C++ STD
Or Haskell
>>
>>58634379
It's for a project that I haven't had time to do because of personal distrubtions, and need to rewrite someone elses code. Must be in C.
>>
>>58634344
That was my guess but i don't know how to access those buttons from another button. That group of button is in a Grid while reset button is outside of it
>>
>>58634264

i feel so sorry for the nubs that actually pay to go here
>>
>>58634405
Open up STD C++
Remove ++
>>
>>58634308
>
_btn.Name = "NOTpressed";

alright scrub.
if you want to remember if a button is pressed or not. dont use a string.
Instead use an int/bool, maybe called _btn.pressed. where 0 = not pressed (false) and 1 = pressed (true)
>>
>>58634408
can't you access the children of the grid?
>>
>>58634419
Do you know C well enough to help me?
>>
>>58634458
yeah ill help.
>>
>>58634447
A real programmer would just alias PRESSED to 1 and NOTPRESSED to 0
>>
>>58634465
https://discord.gg/gbBEq
>>
>>58634447
If you set isPressed bool value that switches everytime the button is clicked you end up with broken buttons because you can either press Unchecked button or press Checked button so i would have to press some button twice to set the bool to correct value. I didn't know how to fix it and decided to set name for each button, it was easier. But i agree with you, bool would have made much more sense
>>
>>58634473
>just
so a real prog would switch it from a string to a bool? a real prog loves to rename true and false to whatever is relevent at the time.
>>
>>58634488
Wrong in a ton of ways.
Your overthinking this shit.
>>
>>58634509
Considering i asked /g/ twice for advice how to set the correct bool and no one helped me i had to come up with something. Anything is better than nothing
>>
>>58634518
dude button has a isPressed bool why the fuck would you name them that way?
>>
>>58634305

Which would be better as a first programming language?
Thx for reply.
>>
>>58634186
The best way is to have a method.

If you have time, solve it yourself.
Then read what other people have done and see if that is better.
There is nothing wrong with reading papers of smarter people, but take time to understand how they did it.
There is only a handful of base algorithms people use as a base to solve problems.
Learning those and implementing a variation of those will help you be a better programmer.
But it is often a waste of time as this is not what people want from a programmer.

You should be familiar with known algorithms so you can solve problems.

Make a list of problems.
Can you solve a maze?
Can you solve a set of equations?
Can you train a neural network?
Can you track the movement of an object?

You should be able to solve these basic problems, even implement everything yourself.

When you can do that you have some training in the programming language, you have made some mistakes and hopefully some good choices. For each of these problems you take a library and try to solve it again.
>>
>>58634528
isPressed has only get, not set
>>
>>58634488
yesterday I provided you with
    public class ChangableButton : Button {
private bool _isPressed;

public Brush BackgroundColor { get; set; }

protected override void OnClick() {
_isPressed = !_isPressed;
if (_isPressed) {
Background = BackgroundColor;
}
else {
ClearValue(BackgroundProperty);
}

base.OnClick();
}
}


which you just set up the BackgroundColor attribute in the constructor or OnInitialize event of the window (or control or wherever you want)
>>
>>58634555
baka
>>
>>58634565
hm, interesting, i didn't see this answer

but isn't this still broken if i want to press the same button twice?
>>
>>58634554
Thanks! I always feel bad about myself whenever I read the solutions of other people, especially if their solution is much better, but I guess I'll just have to do it.
I can solve basic problems though, even harder ones, but I wanna be able to solve them faster and more efficiently.
>>
Hey guys I'm relatively new with C# and I'm having an issue with an assignment.

Is it possible to initialize an array with 5 values and then allow the user to enter 5 more later? I'd think it would but from what I'm googling it seems like I can't and I don't see anything about it in my textbook.
>>
does any of you use Clion? I'm downloading it right now
>>
>>58634624
what do you mean? if you press the button it'll change the background. if you press it again it'll revert the background.

if you have two buttons, A and B: press A, press B and both will be colored, press them again and they'll be unset.

yesterday you had 1 bool for all buttons. this has 1 bool for _each_ button;

as for your question: if those 9 buttons on a grid, and no other buttons are on that grid then you can name the grid
<Grid x:Name="foo">


and in your code behind, say in the ctor for the window:
IEnumerable<Button> buttons = this.foo.Children.OfType<Button>();
(you'll probably want to use ChangableButton or whatever you call the subclass, instead of the base class Button here, but polymorphism can be useful and casting it to the base class after you're done with "BackgroundColor")
>>
>>58634669
no, arrays have fixed size.
you should look for lists. you can add and remove elements from lists
>>
>>58634669
Create an array of 10 elements, initialize the firat 5, and let the user enter the 5 remainders?
Otherwise you need a vector for growing arrays.
>>
>>58634669
you can use this to resize the array
// Array.Resize<T> Method (T[],Int32)
var a = new int[5];
Array.Resize(ref a, 10);
>>
>>58634695
That's what my googling was saying but my professor has never mentioned anything about those.
>>58634697
I tried doing that but it gives me an error because it wants all of the spaces initialized.


Thanks for the help guys, I was going to ask my professor about it today but the entire school was closed because of a snow storm.
>>
>>58634684
>yesterday you had 1 bool for all buttons. this has 1 bool for _each_ button;

That explains everything, i always tried with 1 bool

But isn't this solution a little better, even though it uses .Name instead of bool?>>58634308

I will try to set that IEnumerable and see what happens
>>
Can someone help me make sense of linked lists in C? I'm trying to write a function with this prototype:
int alphaInsert(Node **pList, Data newData);

that looks through the list of Nodes in **pList and inserts newData into the list based on the 'name' value of the Data struct.

I've figured out you need to use strcmp comparing the two different Data->name values, but I have no idea how to iterate through **pList.

The code for the Node struct is
typedef struct node
{
Data dt;
struct node *pNext;
} Node;


Thanks in advance.
>>
>>58634730
no, that solution is awful. the name is how you can refer to the control in the code behind. storing state in that field, and especially using a string for a boolean is about the most novice way of doing it.

polymorphism is the way to go, unless you want to use a Dictionary<Button, Bool> (but thats sidestepping the problem by ignoring the problem)
>>
File: image.jpg (27KB, 1280x720px) Image search: [Google]
image.jpg
27KB, 1280x720px
>>58634718
>I was going to ask my professor about it today but the entire school was closed because of a snow storm

Tip for asking next time. Dont share your personal blog, this aint reddit nobody gives a fuck about your personal shit. we solved your problem now lurk or fuckoff.
>>
>>58634549
Python 3 will give less frustrating experience, but I'd recommend going with C since it's the closest to the bare metal, so you'll get a better representation what really happens inside computers.


Whom am I trying to convince, I'm just very jealous how many variants newcomers have to choose from.
>>
File: 1428182712023.jpg (72KB, 440x406px) Image search: [Google]
1428182712023.jpg
72KB, 440x406px
>>58634787
Not him, but who did hurt you?
>>
>>58634625
Some people are smarter than you.
Ignoring them because that makes you uncomfortable is stupid.

Read papers on how the problem is currently solved if you want to make improvements.
After a while, you will be able to make connections and see that some problems share the same requisites and therefore you can apply the same or a similar solution.

Take maze for example.
You have an image of a maze and you want to find the shortest path from a to b.
This could be solved by a breadth first search, like dijkstra or A*.
So you implement these algorithms as an exercise.
One day you are given the task to make a robot arm move from a to b.
This problem now has one dimension for each joint in the robot, (usually 6).
You could see what algorithms are out there, but you are the first person to do this kind of thing in this scenario.
So you try to make an A*, but you cannot test every combination of the 6 joints, it will simply take too long.
So, when faced with real numbers, we make discrete numbers.
You find that it still takes too long, so you start to add random points to see if there is a path, and search those instead.
At some point you would have gotten to the RRT.

Now, it is also possible that someone else have done this work, so study what they did is not a way to admit defeat or to cheat.
It is how we learn from others mistakes and how we build on other peoples experience.

If you want to solve problems faster and more efficiently, learn how to solve problems.
If you are lucky enough to find a field that nobody else have bothered to solve, you can be creative and do your own thing.
But if you go into a field thinking that you know better than everybody before even studying how the other people did, you are not just wasting your time, you are wasting other peoples time.
>>
>>58634751
Pretty sure you have a pointer that starts at the head of the linked list and iterates through it until it finds what it is looking for.

if(condition){
// code for insertion
}
else currentNode = currentNode->next

... ish.
>>
>>58634787
P-please no bully I was just explaining why I had to ask such a stupid, basic question
>>
>>58633011
very good. for algorithms....
>>
>>58634879
Is it a big book?
>>
>>58634489
A button has two states why would you not use a fucking bool
>>
>>58634834
>Some people are smarter than you.
Nah I'm probably the smartest person at least in the field of programming. I just don't have time to practice and hone my skills. If we're all given equal time to practice programming, then I'll probably be the best programmer in the world.
>>
>>58634932
No way, bro, that's me. Maths PhD, any job I want, 300k starting.
>>
>>58634932
great.
But some people are ahead of you as they have spent more time programming than you did.
>>
File: grdBtn.jpg (101KB, 780x334px) Image search: [Google]
grdBtn.jpg
101KB, 780x334px
>>58634777
Tried that IEnumerable but i can't find any function in it to actually influence other buttons

        private void btnReset_Click(object sender, RoutedEventArgs e)
{
IEnumerable<Button> buttons = gridBtn.Children.OfType<Button>();
}
>>
>>58634751
while (*pList) {
printf("%s", *pList->dt->name);
*pList = *pList->next;
}
>>
>>58634931
look 2 posts above in that chain.
smaht mang.
>>
>>58634909
For you.
>>
>>58634964
..you must be extremely new to C#:
you can iterate over IEnumerable with a foreach or you can turn it into a List<T> with .ToList();
>>
>>58634909
yea like 1k pages
>>
>>58634956
>any job I want
>can't be male stripper because too ugly and too fat/skinny
>>
>>58634994
Extremely new, i started learning like 15 days ago, i mostly reverse engineer shit until i understand wtf i'm doing
>>
>>58634969
actually since dt isnt a pointer put a dot instead of an arrow
*pList.dt->name
>>
>>58635010
Did you miss the 'any job I want' meme?
>>
File: thanks.jpg (49KB, 759x158px) Image search: [Google]
thanks.jpg
49KB, 759x158px
>>58634994
>>58635013
>>
>>58634975
Each button has a bool, all of which have pressed and notpressed aliased. Do you not realize that pressed and notpressed are not shared variables but just shorthand for values? In C that whole situation is piss easy, you could even just use objects in C++ which makes privatizing the values even easier.
>>
>>58635052
I'm the guy who asked that question, you're not talknig to me
>>
>>58634849
Thanks for that.
I think I'm getting the gist of it. Does this look right? And if so, how could I make it more efficient?

int alphaInsert(Node **pList, Data newData) {

Node *pMeme = makeNode(newData), *list_start = *pList;

if (list_start->pNext == NULL) {
*pList = pMeme;
return 1;
}

else {
while (!strcmp(list_start->dt.name, pMeme->dt.name) < 0) {
list_start = list_start->pNext;
}
list_start->pNext = pMeme;
return 1;
}

return 0;
};


The makeNode function.. makes a node.
>>
>>58635088
Ah, I'm not sure how to do it "best" in C# if that's what you're stuck using.
>>
>>58634931
A button can be half-pressed, anon.
>>
File: suicidal emoticon reddit frog.jpg (39KB, 499x499px) Image search: [Google]
suicidal emoticon reddit frog.jpg
39KB, 499x499px
I think I've run into my first instance of the python 2/3 split actually impeding me from doing something.
>>
>>58635406
Oh cool, congrats on getting through your first week of coding.
>>
>>58633645
Simple - don't use a framework.
>>
>>58635417
Thanks, I can't believe it's only been two days since I put out my first real project; it's FizzBuzz except it alternates between Anime, Haskell, and AnimeHaskell.
>>
>>58635443
>real
I guess its as real as a-nim
>>
>>58635452
By Python measures it is a sophisticated project.
>>
>>58635210
>tfw i know what school you go to
>>
>>58635559
We're probably in lab together rn
>>
>>58635443
is it written in AnimeHaskell?
>>
>>58635507
By Python measures everything is a sophisticated project
>>
>>58635559
>>58635676
Someone call it out loud in lab.

Post results.
>>
What's a good non-SJW alternative to github?
>>
>>58635876
Hosting your code in your own website
>>
Why aren't you using Go? It's fast, simple, and fun.
>>
>>58635907
It's too simple and not good for achieving anything
>>
>>58635898
that's assuming I'm not an sjw
>>
>>58635876
we need a /dpt/ git server tb h
>>
>>58635907
I see literally zero use-cases where I wouldn't prefer something else.

Why should I use Go?
>>
>>58635927
Google uses it to achieve lots of things.
>>
>>58635933
so you can steal my anime haskell code? nah.
>>
>>58635936
Google also uses Python and Groovy for a lot of things.
>>
>>58635934
>fast, simple, and fun
>>
>>58635952
>rhetoric,rhetoric,rhetoric
M E M E 
>>
>>58635952
>fast
not really
>simple
so?
>fun
maybe to you
>>
>>58635970
It's much faster to write and to run, and simpler, and more fun than any other mainstream language. Do you seriously think Java is fun? Do you think C++ is simple?
>>
>>58635989
>It's much faster to write and to run
so?
>simpler
couldn't care less about your idea of "simple"
>Do you seriously think Java is fun? Do you think C++ is simple?
Do you seriously think I use Java or C++?
>>
>>58635907
Because there's literally zero reasons to use Go.
>>
>>58635952
when should you use Go?

Java is great for servers
C# is great for windows applications
C++/C are great when you need them
Python is great for data science, kinda
Haskell is great for toy programs on /dpt/

When should we use go?
>>
>>58635989
>Java and C++ are the only alts to Go
I'd rather use Elm than Go.
>>
>>58635933
Gitlain
>>
>>58635876
God tier:
self hosted
Acceptable tier:
gitlab
Normie tier:
github
Fedora tier:
gitgud
>>
>>58636442
>gitgud.io
Had not heard of that.
>>
can someone help me understand this c# exercise

its roughly:

"define a class that allows defining a new timetable (hours, minutes, seconds);
guarantee that its valid (number of hours, minutes and seconds must be valid);
allow the use of properties to change hours, minutes and seconds (and access them);
allow that when defining extra minutes or seconds they be counted on hours or minutes respectively (ex: when defining 70 minutes and 70 seconds the class should store 1 hour, 11 minutes and 10 seconds)

dont do it for me, but try to give me tips so i understand how to do it. thanks
>>
>>58636478
I guess you have to make a class with 3 properties(hours, minutes and seconds) and you make a method that if minutes>60 you one up the hour property and the same goes for seconds. what do you not understand?
>>
>>58636478
Stop playing games in during class, son.
>>
File: 1398732222473.jpg (62KB, 417x384px) Image search: [Google]
1398732222473.jpg
62KB, 417x384px
What could be the reason for Netbeans to not find the main class ?
It's in the right package, there's no errors, I even run the application from the main class but it keeps telling it can't find it.

I'm using Spring Boot and other than telling it can't find the class, it's telling me this

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project SpringBootSecurityFinal: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
>>
>>58636478
>guarantee that its valid (number of hours, minutes and seconds must be valid)
class Time
{
private ubyte hours, minutes, seconds;
invariant
{
assert(hours >= 0 && hours < 24);
assert(minutes >= 0 && minutes < 60);
assert(seconds >= 0 && seconds < 60);
}
}

This isn't C# though
>>
>>58636529
Java is shit
>>
>>58636515
something like this?

        public int Seconds
{
get { return seconds; }
set {
if (value >= 3600)
{
hours += value / 3600;
value = value % 3600;
}
if (value >= 60)
{
minutes += value / 60;
value = value % 60;
}
seconds = value;
}


and if any of the properties is < 0 set it as zero too

i wonder if i would need to do it on the constructor too?
>>
>>58636529
>netbeans
Using Java and even fucking Spring is excusable, using Netbeans is fucking not.
>>
>>58636564
Well the same code worked perfectly in my friend's computer ?
Other than creating a new jdbc connection and setting the application.properties to your need, what else is there to do when you import someone's code ?
>>
>>58636578
>i wonder if i would need to do it on the constructor too?
This is why you take the logic you just put in your getter and abstract that to a method the getter accesses.

That way, your constructor can use that validation method as well.
>>
File: I feel nothing.jpg (207KB, 692x960px) Image search: [Google]
I feel nothing.jpg
207KB, 692x960px
>tfw you finally understand what Generators do in python but can't think of a single useful application of them
>>
>>58636609
What Generators do in Python?
>>
>>58636609
Reading a file line by line without storing all of the content into memory.
>>
>>58636584
Yeah well, that's what we were told to install in class.
Why tough ?
>>
>>58636646
Yeah
but
why?
>>
>>58636667
In case the file is 20GB.
>>
>>58636649
Most of us Pajeets use IntelliJ. Some old-timers still use Eclipse. Those that hate themselves use Netbeans.
>>
>>58636675
Again, why would that matter?
>>
>>58636709
Because you don't want to allocate 20GB of RAM to read a fucking file retard.
>>
>>58636709
...because you probably have less than 20GB of RAM.
>>
>>58636601
alright, thanks.
>>
>>58636678
Ok, I'll write that down for later. Anyway, my problem, any idea how to fix it ?
I'm pretty sure Netbeans isn't the problem. I must have this because of the fact I imported the whole project and forgot to modify some things.
I changed the jdbc connection, the database user and password.
>>
>>58636709
>Again, why would that matter?
I waited 41 seconds to get unbanned so I could laugh at you hahahahahaha, what a retard.
>>
>>58636741
>I must have this because of the fact I imported the whole project and forgot to modify some things.
Check if there's a path hard coded somewhere.
>>
>>58636060
Not him, but Go is only good for servers and other web-related things.
>>
>>58636442
Any actual reasons to use gitlab instead of gith>>58636442
ub?
>>
>>58636884
SJWs.
>>
>>58636884
GitHub has been taken over by SJWs. I also prefer the UI of Gitlab.
>>
>>58636785
Nope. I just checked the whole thing, no path of the sort.
>>
File: 1482907384969.png (327KB, 1048x594px) Image search: [Google]
1482907384969.png
327KB, 1048x594px
>>58636911
>combining non-arguments with arguments
>>
RUST BTFO AGAIN
https://ayende.com/blog/176801/the-struggle-with-rust
>>
>>58636471
it was started by cripplechan, hence the logo
>>
Java is pure.
>>
>>58636968
Pure Shit
>>
>>58636961
baka, I really wanted to give it a chance since it's syntax and goals are great
>>
>>58636936
Have you used Gitlabs Continuous Integration suite? Any comments?
>>
>>58636963
I don't know who that is.
>>
>>58636968
>>58636984
He even bothered to change IP just to shitpost and samefag
>>
>>58636933
Try isolating the problem by commenting out code.
>>
>>58636988
>syntax is great
only if you like colon cancer
>>
best way to find a pair of matching numbers in an array without using nested for loops? don't feed me actual code pls
>>
>>58636993
>who

It's a what. I can't say the real name without getting muted so:

echo $((4*2))chan
>>
>>58636961
> I need to mutate the buffer in multiple places at the same time
> but Rust refuses to let me do that

What a meme language.
>>
>>58637073
That explains all the eight chan references in the example repos.
>>
>>58636961
>>58637085
All he has to do is partition the buffer.
>>
>>58637085
Even the Rust apologists in the comments section have no answer.
>>
>>58637044
>colon
I see what you did there
>>
>>58637025
>>58636529
Well, I isolated one issue, when I try to build the application it tells me this

error: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.springframework.security.ldap.DefaultSpringSecurityContextSource not found

But why this class isn't found and how to get it back is a mistery. Shouldn't Spring Boot check all the dependecies when you run it ?
>>
File: IMG_4619.png (389KB, 756x678px) Image search: [Google]
IMG_4619.png
389KB, 756x678px
>>58633689
>OO tutorials trying to shoehorn that shit into places where it just doesn't fit
>>
>>58636709
>Python users
>>
>>58637064
iterate the length.
check for current location equality.
>>
>>58636609
They're a tool for inversion of control.
>>
>>58637168
>into places where it just doesn't fit
so anywhere?
>>
>>58637166
I think the Spring stuff isn't loaded into the classpath.
>>
>>58637064
Sort both arrays and use separate offsets to track itteration progress. The advantage is that you will only have to pass over both arrays once.
>>
>someone writes a blog post or whatever bashing Rust
>they are just trying to write code like they would in another language and complain when Rust doesn't allow it
>they clearly haven't made any effort to understand why the compiler is stopping them
>they then label each solution as a "workaround"
Good riddance.
>>
>>58636961
Mr. Blow was right all along.
>>
>>58637232
There's no good reason for Rust to stop them from what they were doing.
>>
C++fag here.

I have an instance of some object that I need to save to the disk. Later on, I need to read it from the disk. Is it possible to do this? Or do I have to save all the pieces of data in the object, and then later rebuild my object from those?
>>
>>58634909
1.3k pages
>>
>>58637232
He did understand why the compiler does it. The point is that the compiler and the entire language design is fucking garbage and everyone who's unironically using Rust should just use a better systems programming language instead.
>>
File: IMG_6346.jpg (131KB, 876x719px) Image search: [Google]
IMG_6346.jpg
131KB, 876x719px
>>58637201
Yep
>>
>>58636961
The problem with Rust is that there's barely any target audience. The language designers treat their programmers like incompetent fools and make it (nearly) idiot proof. But now idiots can't use it because they can't get anything to compile and people who are not idiots and hindered by the concepts for idiot-proofing the language.
>>
>>58637267
Is portability a concern?

Yes? Then there's really no other way than to implement some method that will convert your object to a string (or write it straight to a FILE / ostream ), and another one that will read that back and reconstruct the object.

No? Just take sizeof( object ) and write the raw memory to disk. Later on, allocate new instance, copy raw bytes from disk and overwrite the instance data.
>>
>>58637260
Yes, there is. The compiler has to be absolutely certain that it's safe to modify two things at once before it will let you. For instance, while you can't take a single buffer and modify two locations at once, you can split it and modify a single location in each slice. Pretty much every borrowing issue (that's actually correct code) can be resolved by dividing your thing up and borrowing only pieces at a time.

>>58637283
If you don't want to use Rust, you don't use Rust. I understand Rust and I appreciate its rules and I don't mind putting in a little extra work to allow the compiler to see my intent and permit it.
>>
>>58637283
>better systems programming language
such as?
>>
>>58637341
>Just take sizeof( object ) and write the raw memory to disk. Later on, allocate new instance, copy raw bytes from disk and overwrite the instance data.

This should work fine for me. Thanks.
>>
>>58637359
Pretty much all of them.
>>
>>58637383
such as? I'm looking for ones you'll name
>>
>>58637267
that process is called serialization, and I think there are libraries out there that could do that for you
>>
Learning Java is a safe bet if you simply want to get a job in programming, right?
>>
>>58637393
Ada, C, C++, D
>>
>>58637330
This.
A compiler will never outsmart a person.
>>
>>58637343
>Hur dur what is a mutex
>>
>>58637364
keep in mind that your object may contain some 0 bytes, so when you're reading back from disk, strlen() and some other stuff that's dependent on NUL-termination can give you bogus results.
if you're really concerned about it, I guess you can write a hex digest instead of raw data.
>>
>>58637408
not just Java
>>
>>58637343
So rust helps you not be a literal retard who can't remember basic shit like mutex and independent components. Wew, great.
>>
File: IMG_5208.jpg (19KB, 220x236px) Image search: [Google]
IMG_5208.jpg
19KB, 220x236px
>>58636609
>Generators
>yield essentially enables couroutines in Python and is how Twisted's core event loop works
>mfw generators is the biggest misnomer in Python and hides the true power of yield behind a bad name
>>
>>58637492
What else? Another language altogether?
>>
>>58637425
so, what does D provide over Rust when it comes to "systems" programming? Besides having non-deterministic destructors.. Surely those resources don't need to be guaranteed to be released when you need them to, right? What about the order of destructors being called? Oh, thats not specified either? What about allocation in the dtor (say, abuffer for logging)? or using something that isn't in the TLS during the dtor? Oh, thats also not specified and will cause some weird memory corruption and possible segfaults? Nice. What happens if an exception is thrown in a ctor? Surely it won't call the dtor for that object right? Well.. maybe. So, you lose all sorts of safety you'd possibly have with C++'s RAII -- or that you get for free in Rust.

(C++ sure. Ada? Sure if you can deal with GNAT and the weird licensing.. or want to reinvent every wheel--but you have C for that)
>>
>>58637330
The strictness isn't just about idiot proofing. It reduces the need for separate documentation that you have to keep up to date if you're the maintainer, or have open alongside your editor if you're the user. It helps the compiler do more aggressive optimization.

>>58637462
A mutex has fuck all to do with this particular use case (probably, see below) and is just going to add overhead.

Though because the blogger only posted a tiny piece of his code it's hard to solve the problem optimally (it's likely because of a bad implementation decision up front or bad API design where we can't see it). In single-threaded code borrowing conflicts are very easy to resolve and you should never have to use a synchronization primitive.

>>58637499
Again, this has nothing to do with threading. If a mutex is what you immediately think of when it comes to resource access problems, you're actually the shitty programmer here.

>independent components
If this means what I think it means then this is exactly what I'm proposing. If you take a single buffer and borrow it as multiple, non-overlapping slices, these are now "independent components" that can be operated on concurrently with no problems.
>>
Can you find a max in an array of ints where it increases up to a point and then decreases using binary search?
>>
>Rust is for idiots
>just use a mutex lol
The irony.
>>
>>58637531
most job ads that I get in my inbox ask for javascript and something database related
>>
>>58637541
Look at this rustfag getting all triggered.
>>
>>58637585
Noted, thanks
>>
>>58637593
>implying I'm a rust fag.
Replace Rust with C++ and that statement is literally the same. D is a shitty language.

Look at you getting triggered by someone mentioning Rust.
>>
>>58637541
> GNAT and the weird licensing
Retard alert!
>>
Is nesting classes ever used in actual code?
>>
>>58637541
>Surely those resources don't need to be guaranteed to be released when you need them to, right?
@nogc
>>
>>58637622
>implying I'm a rust fag
>implying you aren't
>>
>>58637613
no worries buddy. I think knowing more than just java shows that you can pick up things quickly. Take a look at C# as well, very easy to learn when you know Java already and it's more fun imo
>>
>>58637631
Don't shatter his illusions so hard.
>>
>>58637560
I think every systems language can do independent components
>>
File: tfw_her_cock_is_bigger_than_mine.jpg (117KB, 1920x1080px) Image search: [Google]
tfw_her_cock_is_bigger_than_mine.jpg
117KB, 1920x1080px
>tfw Rustards making up apologies for their language
>b...but muh performance
>b...but muh safety
>>
>>58637630
yes.
>>
>>58637670
>her
>>
>>58637651
And only Rust is designed around it (through affine types and borrowing) so the compiler can use it for verifying correctness and performing optimizations.

>>58637670
What exactly is bad about having both performance and safety (that isn't meme safety where everything is checked at run time)?
>>
>>58637570
just like a normal binary search, but you look at two entries (say a and b) that are right next to each other. if a>b you check recursively check to the left, and otherwise to the right
once you only have two left, the bigger one should be the max
not sure if i wrote it up 100% correct but you get the idea
>>
>>58637570
Someone?
>>
>gitlab does not support github markdown extensions
>>
>D
Dreadful
>>
>>58637631
>>58637649
Don't most D features and libraries require GC, though?
>>
I used to scorn at Python, believing it to be only slightly above JavaScript in terms of plebeianism.

But after trying it out for a week or so, I have to admit I am pretty impressive. I am typing less and achieving more.
>>
>>58637692
Thanks, I get it
>>
File: 625190497.jpg (358KB, 817x818px) Image search: [Google]
625190497.jpg
358KB, 817x818px
>>58637698
>>
>>58637645
Yeah I'm just looking for some barebones roadmap for escaping tech support as quickly as possible. I'll try to reach an "ok" level in Java and JavaScript to begin with.
>>
>>58637688
>What exactly is bad about having both performance and safety (that isn't meme safety where everything is checked at run time)?
There's nothing wrong with performance and safety, but Rust claims to be the only language having that combination. That's false claim.
>>
>>58637715
if by most you mean 99% then yes
>>
>>58637715
Some things, but for the most part you're pretty free to RAII.

And they're moving to make GC completely optional.
>>58637698
why?
>>
>>58637745
Show me a language that is comparable in both. Other than ATS, which is basically Rust on steroids so you'd hate it even more.

>>58637750
So what you're saying is that, right now, D is a bad choice for a systems language unless you're willing to reinvent the wheel and forgo many of its language features.
>>
>>58637688
> Performing optimizations
I'm sure GCC also knows what independent components are
>>
Java is still pure.
>>
>>58637631
@nogc only works if its @nogc all the way down, eventually you'll run into something that doesn't have the attribute in phobos (or some third party library). Whenever Alexandrescu finally finishes his work on @nogc phobos + the new allocators work then that'll finally be a valid solution. (and then wait a year for it to end up in gdc or ldc..)
>>58637623
So, say you don't believe in the GPL and prefer everything to be BSD. And say you're a 1 or 2 person company. Do you really pay for a gnat pro license even though you'll be using Ada, for say, a message queue? Do you use GNAT GPL or the GMGPL (the weird license I spoke of) and ship the message queue code to all your clients (or atleast provide it?) What if you want to use the Florist library? Oh. that's GNAT Pro only. So now you'll have to write your own bindings to POSIX or scourer github and find out that most repos on github either have invalid licenses or no license specified. Do you just ignore the license? Would you risk an LLC on that? Ada is a fine language, AdaCore isn't though.

>>58637641
Did you fail grade school? Your reading comprehension is pretty bad.

>>58637750
As for RAII, see my post about how RAII isn't deterministic with the current GC (the one that triggered that one cuck 'cause I used the R-word).
>>
>>58637722
you've been officially demoted to pleb status. don't post here anymore.
>>
>>58637771
>Show me a language that is comparable in both. Other than ATS, which is basically Rust on steroids so you'd hate it even more.
C++
>>
File: 1363164395711.jpg (28KB, 500x600px) Image search: [Google]
1363164395711.jpg
28KB, 500x600px
>>58637778
>>
>>58637771
>, D is a bad choice for a systems language
Most of D's userbase are systems developers.
But yeah, I still don't understand why Walter thought GC was a good idea in the first place.
>>58637779
>unironically using gdc or ldc
>>
>>58637772
What precisely do you mean by independent components? GCC can infer all the pairs of subprograms that can't interfere with another and all the different pieces of data that don't alias? Because all this information is directly contained in any Rust code you write, typically from the types.

>>58637806
C++ isn't comparable with Rust in safety in the slightest.
>>
>>58637771
>Show me a language that is comparable in both
Coq is as fast as C and you produce bugs free code with it.
>>
>>58637806
Noooo, you can use random pointers like a fucking retard and overwrite your memory, that's totally not safe!

>>58637771
>implying Rust is anywhere near as fast as any of the languages posted in >>58637425
Even the barely-optimited output of dmd is faster than whatever rustc spits out.
>>
>>58637779
You use the FSF version, which is just the restrictions of GCC.
sudo apt install gnat-5

Now you have free Ada, pat yourself on the back
>>
>>58637821
>C++ isn't comparable with Rust in safety in the slightest.
C++ has the perfect balance between pointer magic and safety.
>>
>>58637820
if only dmd did any sorts of non-trival optimizations, or could produce elf debugging symbols. if only dmd could target non x86/amd64.

but all of that would slow down the compiler and ruin the fast development cycle.
>>
>2017
>still not using Jai
God dammit, Jonathan!
>>
>>58637819
>4 kilobytes
class A {                      // 8 bytes for reference to the class definition
int a; // 4 bytes
byte b; // 1 byte
}

only 16 bytes for this class.
>>
>>58637822
I can't understand how you could like using Coq if you hate how restrictive Rust is. And Coq isn't as fast as C, it extracts to OCaml at best because it depends on garbage collection. CompCert is an entirely different thing, that's just a C compiler that has been proven to an exact specification.

>>58637839
It is if the task at hand isn't a pure number crunching benchmark scenario.

>>58637863
Rust allows you to use raw pointers just fine while forgoing the safety guarantees. But with a well-designed API you can do quite a lot of "magic" with guaranteed safety.
>>
>>58637779
>Whenever Alexandrescu finally finishes his work on @nogc phobos + the new allocators...
Walter's also gotta finish fixing some bugs with @safe before that completely happens, at least that's what I've gathered from forums and Vision/2017H1
>>
>>58637903
>Rust allows you to use raw pointers just fine while forgoing the safety guarantees. But with a well-designed API you can do quite a lot of "magic" with guaranteed safety.
But you actually cannot. Look at the blog post.
>>
>>58637670
I like Rust and want that faggot RoR hipster that wrote the shitty theorycraft walls of text docs to die.
>>
>>58637840
Which, if you distribute binary-only, then you must use the GPL.

>>58637887
Has he ever explained why he's not developing it in an open source manner?
>>
>>58637903
If you don't care about speed then you don't need a system programming language and might as well use fucking Python.
>>
>>58637910
I don't see any "unsafe" in that code.
>>
>>58637903
>well designed
The last rust api I interacted with was not well designed
>>
>>58637919
I don't see his safe code compiling either.
>>
>>58637889
class Byte {
byte b;
}

>only 9 bytes!
>>
NEW THREAD: >>58637935
NEW THREAD: >>58637935
>>
>>58637912
I don't understand why people say the rust documentation is "beautiful." Its like javadoc with extremely abused whitespace. Just type names and methods/traits/impls grouped into relative sections. No actual "this is why we did this" or "How this struct fits in with these others.."

And to think about it, it looks very similar to the layout of the ruby documentation...
>>
>>58637917
>Which, if you distribute binary-only, then you must use the GPL.
No. Read the GCC license again.

>Has he ever explained why he's not developing it in an open source manner?
As far as I know he's paying someone to advance the language (while he's just the overseer) and doesn't want some SJW community or Rust hipsters to fuck up his language.
>>
>>58637917
>Jonathan taking the opinions of other people let alone programming advice and contributes

You'd have a better chance at /dpt/ shitting out a collab project. Blow would kill himself or somebody.
>>
New thread:

>>58637956
>>58637956
>>58637956
>>
>>58637939
well that's just bad code, isnt it?
byte b; // 1 byte!!!!
>>
>>58637918
I do care about speed, but I'm working on realistic software that, you know, mostly deals with handling system resources like systems languages are designed to do. In my case, any significant number crunching happens on the GPU anyways.

>>58637927
That is one thing I don't like about Rust, not enough education about how to make a good library. I've never used a good Rust library that isn't unsafe bindings to a C API.

>>58637932
Because he's a moron.
>>
>>58637964
He is actually working together with select people from the field. You (and I) just aren't part of it.
>>
>>58637979
>Because he's a moron.
So tell the poor guy how to fix his code.
>>
>>58637917
>Which, if you distribute binary-only, then you must use the GPL.
Ummmm
>>
>>58637988
He didn't even post the full code, just a tiny snippet. From his complaining I believe the solution comes down to simply partitioning the buffer.
>>
>>58637954
>I don't understand why people say the rust documentation is "beautiful."
> it looks very similar to the layout of the ruby documentation...
You answered that yourself - because they are Ruby hipster web"""dev""" scum.
>>
>>58637964
Not asking why he doesn't accept outside contributions, but why doesn't he provide alpha-grade software so people can test it during the development process? (also, code-reviews that he can ignore, for the available source).

But, expecting languages to have standards and committees...

>>58637962
>>58637999
>I would like to release my software under the XYZ license, which is a Free Software license according to the FSF, but is incompatible with the GPL. What should I do?
>The GNAT GPL Edition doesn’t limit in any way the license you use on your sources. If you are distributing sources only, no issue with respect to the license of GNAT GPL Edition arises. You or anyone who wants to build a binary can do so freely from these sources, using either the GNAT GPL compiler or any other suitable Ada compiler. If you want to *distribute* a binary of your program compiled with the compiler in the GNAT GPL Edition then *today* the binary must be licensed under the GPL. Note that you can still license a copy of your sources under the XYZ Free Software license of your choosing.

>If you want to *distribute* a binary of your program compiled with the compiler in the GNAT GPL Edition then *today* the binary must be licensed under the GPL.
>>
How do I make it so I can execute and pass arguments to a program through the command line regardless of the directory? Would it be through shell scripting or do I have to implement something into the program itself?
>>
>>58637806
C++ is comparable but it doesn't compare favorably. It has no protection against reference invalidation or non-trivial static checking of lifetimes or use-after-move.

>>58637839
>Noooo, you can use random pointers like a fucking retard and overwrite your memory, that's totally not safe!

If only limp sarcasm was actually capable of undermining that counterargument and changing the meaning of safety.
>>
>>58638005
The snippet is perfectly valid. Why would he rewrite valid code just to please the compiler?
>>
>>58638035
you add it to your /usr/local/bin directory
>>
>>58638028
The GPL version is different from the FSF version, you mong
>>
>>58638058
You (or that other guy, I think there are 2 here) said to use the FSF version.

Can I use BSD (non 3-clause) with it?
>>
Every language should take example fro Racket documentation
>every symbol can be searched for
>every symbol referenced is a link to its documemtation
>every function that isnt trivial (e.g. a type predicate) has one or two examples with auto generated output
>no deeply nested module names to search for functionality in
>>
>>58638035
add the program to your $PATH variable
>>
>>58638050
Because passing valid javascript to a C compiler makes the latter complain as well.
>>
>>58638095
All languages do that.
>>
>>58638124
>strawman
He did post the full code in the comments. You havent even suggested how to fix it, which would help your case.
>>
>>58637580
It's almost like it's just low quality bait. At least I hope it is for his sake.
>>
>>58637821
It means all components of an object are independently addressable, so multiple parts can manipulate different components with the guarantee that they don't alias.
>>
>>58637970
>>58637889
Can't use primitives with ArrayList etc.

Enjoy your extra 800% bloat.
>>
Hi /dpt/ I'm looking for some good intro stuff for scripting and specifically tcl. I have a job interview soon and it's preferable that I know some.
>>
>>58637580
explain what you mean
Thread posts: 355
Thread images: 29


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

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


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