[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: 313
Thread images: 33

File: y_combinator_1.jpg (30KB, 640x480px) Image search: [Google]
y_combinator_1.jpg
30KB, 640x480px
Haskell Master Race Edition

Old: >>55896311
>>
>>55902227
First for D
>>
nth for Rust.
>>
Third for D is shit
>>
>>55902227
I love the smell of my own farts.
>>
5th for Go is best language
>>
>>55902310
http://yager.io/programming/go.html
>>
File: 1461014904222.png (197KB, 353x561px) Image search: [Google]
1461014904222.png
197KB, 353x561px
>>55902227
Math tattoos effectively advertise where you decided to stop learning math.
>>
File: disgusted spic.png (129KB, 245x424px) Image search: [Google]
disgusted spic.png
129KB, 245x424px
>>55902227
>having tattoos of any kind
>let alone a lambda calculus one
>>
>>55902401
If I could code a gun and kill myself with it I would. Other than that I don't have any problems.
>>
>>55902227
>Posting that image with "Haskell Master Race Edition"

Please stop trying to steal lambda calculus from the LISP community. I understand that Haskell is a worthless piece of rubbish whose only saving grace is its association with lambda calculus and category theory, but it's not morally correct for you to steal other people's things just to feel better about using a piece of trash!
>>
>>55902641
Lisp stole lambda calculus from Alonzo Church
>>
>>55902310
http://dtrace.org/blogs/wesolows/2014/12/29/golang-is-trash/
>>
>>55902656
No. The LISP family of languages was the first to implement Church's lambda calculus. They didn't "steal" it.
>>
>tfw got a job in programming
>tfw no motivation for personal projects anymore
>>
File: Sif.gif (35KB, 230x200px) Image search: [Google]
Sif.gif
35KB, 230x200px
I think I finally understand paging lads
>>
I need some good beginner projects and guides. I need to learn for a few programs I want to build on my own. Any suggestions on where to even start.
>>
>>55902702
>tfw chronically lazy
>tfw have to force yourself to begin programming even though you enjoy it
>tfw supposed to be programming right now
>tfw trying to use emacs shortcuts on firefox and breaking everything
>>
>>55902877
you don't understand paging lad
>>
>>55902877
as someone who hasn't studied operating systems, what is there to get?
>>
>>55902916
Page swaps in, page swaps out, can't explain that!

*Unzips pants*
*Flops massive C on the table*
>>
>>55902997
It's a confusing topic in general because it involves both hardware and software and there's lots of variations on it. Some systems do some things on the software side, while other systems do the same things on the hardware side, and there''s segmented paging vs normal paging, plus a bunch of other little details. It's a bit like SQL in the sense that each implementation does things slightly differently. It's also annoying because it involves reading lots of "obscure" (when compared to other programming tasks) material which isn't really explained properly anywhere.
>>
>He doesn't replace his pages using WSClock
>>
>>55902885
"How to into Fizzbuzz" by Anon, published by O'rly
>>
Ruby is fun
def prune(t)
threads, deds = t.partition(&:alive?)
deds.each(&:export)
return threads
end
>>
>>55903242
>ruby
>using return
>>
File: 5e5c9ec415f93d6173a7e81e7792daab.jpg (118KB, 730x1095px) Image search: [Google]
5e5c9ec415f93d6173a7e81e7792daab.jpg
118KB, 730x1095px
>>55902997
Your computer has RAM that runs from addresses [0,2^something]. Everything your computer operates on needs to be in RAM, kernel and prorgams both. Modern OSs make it look like to a single process that they are the only program on the machine. Of course, when you are running more than one process at a time, you got to start scratching your head how to make this work. The key is paging. You know that linear address space we started with? Divide it into same-sized chunks. Now, when you want to load a program, the OS only loads the stuff it needs at any given moment and maps it into one of these chunks. It starts getting confusing when you realize the physical address on the RAM chip doesn't have to equal the virtual address in a program's code; memory mapping units translate virtual address into physical ones. When a program needs a part of it's code or memory that's not in RAM, a memory chunk that hasn't been used for a while that maps something else (be it another program's code or data, or the same program's code or data), is swapped to disk and the needed memory chunk is loaded in. At the end of the day, if you were to examine your RAM via physical addresses, you would see an interleaved patchwork of data from all different chunks of memory belonging to all different types of processes all cohabiting memory at the same time. If programs were single colored legos, physical memory would look like you just dumped everything on the floor. Of course, the programs see none of this, and neither do programmers. The OS and MMU handle it all transparently. And thus we have modern muilt-processing systems with extremely simple programming environments.
>>
>>55903296
so what does it mean when system explorer says my page file is at 30%
>>
>>55903472
your swap memory (hard disk being used as ram, so to say) is 30% full
>>
/g/, what's your preferred stack for building yourself a waifu?
>>
>>55903518
one bullet to the head
>>
>>55902888
Switch to Evil keybinds in emacs, and use the vimFX plugin for firefox.
>>
>>55903514
why should that be the case when my actual ram is only at 50%? is my os retarded?
>>
>>55903518
a vagina and my penis
>>
File: ide.gif (15KB, 335x314px) Image search: [Google]
ide.gif
15KB, 335x314px
I need a functional C ide because I am developing on Windows for right now. I do have vim and gcc installed but I need an IDE for right now.
CodeBlocks and VS is out of the question.
>>
Time god damn flies when programming, doesn't it?

Always feels like something that took me an hour took me 10 minutes.
>>
>>55903518
>stack
>>>/g/wdg/

I guess just xcb or libx11 if you want a desktop waifu, also pick your favorite NLP library
>>
>>55903613
Why is VS out of the question? Besides that you could look into CLion.
>>
>>55903613
vim and gcc
>>
>>55903613
clion
and eclipse cdt

otherwise
vscode with plugins and or other texteditor oriented solutions
>>
File: 1469445994412.jpg (475KB, 852x973px) Image search: [Google]
1469445994412.jpg
475KB, 852x973px
>>55902227
>Can't focus on studying and practicing my code.

How do you guys do it? I love coding but I always get distracted since it's my day off and I want to do several things at once.
>>
>>55903591
https://community.spiceworks.com/topic/350095-why-is-windows-using-the-page-file-when-ram-is-available

basically, if the programs are barely being used, windows throws them in the "fake" ram so that if any new programs start running it doesn't have to worry about freeing the real ram at that time
>>
Should one learn Common LISP or Scheme?
>>
>>55903851
Clojure
>>
>>55903869
'tis but a knavish distraction from purity, no?
>>
>>55903851
The only correct answer is: experiment with both.
>>
>>55903681
What do you do if you are not coding on your day off. And how I fixed it is I would always play games so I uninstalled them and now fully study :D
>>
I'd program more if I had an actual idea. I always seem to have fragments of ideas, but nothing ever enough to flesh out. Been like this for a few months.
What a sad day.
>>
>>55902227

http://www.cognimem.com/products/design-resources/CogniStix/index.html

I'm buying the fuck out of this
>>
I just started learning front-end, so don't be mad, famalams. I'm writing a code in SCSS using SASS to make it CSS. I'm also using Bootstrap and JQuery. From what I know
@include make-col;
Should work thanks to Bootstrap and SASS, but I have a feeling that I'm making some rookie mistake. Solution is nowhere to be found on stackoverflow and other sites. Help me, /g/.
>>
>>55904150
>>>/wdg/
>>
>>55904240
Right. Thanks.
>>
>>55904150
I am a user who is mad that you are using a desktop environment that I am particularly hostile against and is wondering why you would be using something that I wouldn't like. I am now going to insist that you use a desktop environment that is approved by the technology board of this anime webpage. Please use what I like. Thank you.
>>
>>55904264
I am pretty sure they can help you bc they deal with web dev. /dpg/ is mostly C. Only told you to go there so you get better help anon.
>>
>>55904150
>>>/wdg/javascript:quote('55872377');
>>
>>55904264
>>>/wdg/55872377
finally :o I suck with pasting stuff
>>
>>55904344
">>>/wdg/55872377"
>>
So i've learned most popular languages out there, and most of the data structures and algorithms.

What now?
>>
>>55902272
>not sticking finger in his ass and then smelling it

fucking pleb bitch, i bet you use a Mac as well
>>
>>55904402
Live long and prosper.
>>
File: 1466639232879.jpg (97KB, 500x500px) Image search: [Google]
1466639232879.jpg
97KB, 500x500px
>>55904402
Go get a job.
>>
>>55903613

Sublime Text 3, GCC, and GNU Make are all you need, Anon.
>>
>>55903613
qtcreator is fine for small projects
>>
>>55904402
Time to start making things. You got the tools now.
>>
>>55902227
Alright guys Im currently running kubuntu in a vm and Im not really impressed with linux since it feels like a gimped windows. But I guess this is what freedom looks like.

My question though is what ide is good for linux. On windows I use visual studio and its pretty great desu. But I want to learn about compilers and linux is a better environment for that.
And by ide I mean ides for c++ mainly. Im going to see if notepad++ python works on linux and I dont really care for java. And Ill stick to windows when doing functional languages because its complicated enough as is.
>>
>>55904473
Don't need one. I have money.

>>55904495
What things? Got any ideas?
>>
>>55904572
That's for you to choose. There's a big list of projects floating somewhere on /g/ to get you started.
>>
>>55904590
I just think its pointless doing something if nobody else benefits from it.
If i just do something for myself, i'd feel stupid.
>>
Does anyone know where I can find a solid explanation/example of a basic Trie implementation in C++?

All the ones I've found are confusing as fuck and not helpful. The concept and the way they implement it makes no sense no matter how many times I go over it.
>>
This is giving me a null pointer exception and I have no idea why. Going through the debugger I don't see any issues. The code isn't even mine, I got it from Algorithms textbook.

while ((line = reader.readLine()) != null) { 
String[] data = line.split(delimiter);
int v = st.get(data[0]);
for (int i = 1; i < data.length; i++) {
int w = st.get(data[i]);
G.addEdge(v, w);
}
}
>>
>>55904727
It's giving me null pointer exception at the G.addEdge(v,w) line.
>>
File: 400px-Patricia_trie.svg.png (24KB, 400x250px) Image search: [Google]
400px-Patricia_trie.svg.png
24KB, 400x250px
>>55904640
Which part of this don't you understand?
>>
>>55903591
it's good to have available memory ready to allocated in case a lot needs to be allocated. this can be achieved by paging "unneeded" memory out to a disk.
>>
>>55904727
>>55904743
Nevermind, I didn't make a new graph that's my problem.
>>
File: HDDraft, 4.0.png (2MB, 3840x2160px) Image search: [Google]
HDDraft, 4.0.png
2MB, 3840x2160px
Just finished Pro/g/ramming challenges, v4.0!
>>
File: Screenshot_2016-08-03_17-39-27.png (739KB, 1600x901px) Image search: [Google]
Screenshot_2016-08-03_17-39-27.png
739KB, 1600x901px
>>55904867
>78
What do I win?
>>
>>55904925
Bragging rights, mostly.
>>
Learning C++ and trying to program for at least an hour a day until school starts

#include <iostream> 
#include <iomanip>
#include <string>
#include <cmath>
using namespace std;

int main()
{
const double COST_PER_CUBIC_FOOT = 0.23 , CHARGE_PER_CUBIC_FOOT = 0.50;
double length, width, height, volume, cost, charge, profit;

cout << "What are the dimensions of the crate?\n";
cout << "length: ";
cin >> length;
cout << "width: ";
cin >> width;
cout << "height: ";
cin >> height;

volume = length * width * height;
charge = volume * CHARGE_PER_CUBIC_FOOT;
cost = volume * COST_PER_CUBIC_FOOT;
profit = charge - cost;

cout << setprecision(2) << fixed;
cout << "Dimensions: " << length << " " << width << " " << height << endl;
cout << "volume: " << volume << endl;
cout << "\nCost of making box per cubic foot: $" << COST_PER_CUBIC_FOOT;
cout << "\nCharge per cubic foot: $" << CHARGE_PER_CUBIC_FOOT << endl;
cout << "Total cost: $" << cost << endl;
cout << "Total charge: $" << charge << endl;
cout << "Profit made: $" << profit << endl;
>>
File: haskelel.jpg (99KB, 529x598px) Image search: [Google]
haskelel.jpg
99KB, 529x598px
>>55902227
haskell is bad and you should feel bad
>>
File: .png (233KB, 1366x768px) Image search: [Google]
.png
233KB, 1366x768px
help
what else do I add to this
I have no idea what else to do
Some faggot told me that I could get more information from UDP packets than IP but I looked at them, I have no idea what they were talking about.
Thoughts? Comments? Suggestions?
>>
>>55904760
The base concept makes sense, but I still don't have any understanding on how the implementations work. I've looked at

https://gist.github.com/jl2/4660503
http://www.sourcetricks.com/2011/06/c-tries.html

primarily but I just don't get it. The nodes within nodes is retarded, I don't get what is going on
>>
>>55905015
Forget about other implementations. Use your own brain and make your own.
>>
>>55904988
> volume = length * width * height;
> charge = volume * CHARGE_PER_CUBIC_FOOT;
> cost = volume * COST_PER_CUBIC_FOOT;
> profit = charge - cost;

My brain hurts just looking at the simplicity and straightforward logic. Make it more convoluted.
>>
File: 0MNXclx.gif (2MB, 600x600px) Image search: [Google]
0MNXclx.gif
2MB, 600x600px
>>55903636
But but, Agile software development!
>>
>>55905014
ebin hacks d00d
>>
>>55905014
How the fuck did you get people's IP??
>>
>>55905038
I-I'm just going by what the book wants anon
>>
>>55905033
Yeah thanks dude, you're total fucking help. The point is I don't understand how to properly implement it.
>>
>>55902252
>>55902263

What's so special/bad about Dlang?
>>
>>55905047
Omegle does peer to peer video.
>not reading the privacy policy
>>
File: Screenshot_2016-08-03_17-51-04.png (738KB, 1600x899px) Image search: [Google]
Screenshot_2016-08-03_17-51-04.png
738KB, 1600x899px
>>55904983
I'll take it

Slightly cleaner version since I forgot I just added a MOV instruction
>>
>>55905014
pelase don't hack me
>>
>>55904988
Builds with gcc and clang. Keep doing programming for fun it is good practice.
I would suggest that you print a message when there is bad input and tell the user to try again.
>>
>>55905014
Oh, I'm also looking for an automated way to get the tags from my browser to python.
I made this to get the tags but I guess javascript/greasemonkey can't save to a file..
javascript:(cuck = document.querySelectorAll("p.statuslog"),alert(cuck[1].innerHTML));

no idea
>>55905044
>>55905089
That's not even the point, stop being faggots.
>>
>>55905113
hilarious variable name bro, personally prefer "nigger" and "faggot" though.

anything else you'd like to do to cement yourself as a 12 year old skiddie?
>>
>>55905061
Each letter is a node. Each node has multiple connections to other nodes.

vector<pair<char, vector<int>>> trie;


There. A simple implementation. Each node is an index inside trie.
trie[i].first is the letter of the node i.
trie[i].second is the list of nodes to which this node leads to.
>>
>>55905171
>we are all mature here, we use mature variable names!
>>
I want to make a menu-driven interface and I need inspiration.

Could somebody rehost this pdf somewhere else? https://www.scribd.com/doc/297613387/Circuit-Cellar-160
I don't want to make yet another account.
>>
Is there anything worse than making GUI's?
>>
>>55905222
Complaining about Making GUI's
>>
I found something that I wrote while I was trying to learn python. Kinda curious if it works in different environments than mine. i3 seems to understand the hints I set for it.
https://gist.github.com/iamevn/f009ea93c7773f2c4335b73876dcb42f
>>
>>55905193
>Each letter is a node.
Sorry what i meant was. Each node is a letter.
Since more nodes can have the same letter.
>>
>>55905222
IMMEDIATE

M O D E
O
D
E
>>
>>55905222
Maintaining GUI code.
Maintaining code you didn't write.
Maintaining C++ code.

From better to worse.
>>
>>55905222
python
>>
>>55905207
>Could somebody rehost this pdf somewhere else? https://www.scribd.com/doc/297613387/Circuit-Cellar-160
here you go:

https://a.desu.sh/lmlkgl.pdf
>>
>>55905416
If I wasn't lesbian I'd suck your dick.
Thanks.
>>
File: 1465958698687.jpg (180KB, 1898x1046px) Image search: [Google]
1465958698687.jpg
180KB, 1898x1046px
>>55902702
>interning at large company being a security analyst
>just got an offer from said company to be a software engineer working w/ java
>most I know is basic object orientation

I accepted it and I start monday. How fucked am I guise? I never been so happy and nervous at the same time
>>
>>55905038
Can you give an example of what would you do in his place to improve this code?
>>
>>55905038
lmao
>>
>>55905474
If poo-in-loos can get away with Java despite having no theoretical background, why wouldn't you?
>>
>>55905222
It's the easiest shit nowadays, because you don't have to deal with low level stuff like WinAPI which is a nightmare if you want to make something more complex than throwing a bunch of widgets together.
>>
>>55905509
the code probably needs more pointers and pointers to pointers
(it's a joke since c++ is know for being convoluted)

t. a student so i might be wrong
>>
Putting the finishing touches on my Boggle bot. Does /g/ approve?
>>
Making a game. I'm using a timestep method that calls update() multiple times per frame. It works, and it's pretty smooth, but the problem is all my timers are fucked. I have an event that I want to last for 5 seconds, so I create an int, set it equal to 300, and subtract 1 from it every frame. Once it hits 0, the event is done. At 60 FPS, this takes 5 seconds.
On this new timestep method, since update() is getting called multiple times per frame, there's no way of knowing how long this event will last. Right now it's taking less than a second, but on another computer it might take several seconds.
What fucking do?
>>
>>55905582
how does one go about writing a bot?

what language, Alessandro?
>>
>>55903613
Qt Creator
>>
>>55905643
How about

if(framenumber % 300 == 0) {
...
}
>>
>>55905582
Uh, this wasn't supposed to happen...
>>
>>55905643
https://en.wikipedia.org/wiki/Delta_timing

tl;dr
On every update, do deltaTime = currentFrameTime - LastFrameTime
then every time you need to do something timing sensitive, like say move a character, you do characterPosition += speed * deltaTime
>>
>>55905582
How does it interact with the webpage?
>>
>>55905650
>how does one go about writing a bot?
The bot itself is written in Python, but the Boggle solving engine is written in C++.
>>
Is it possible to use reddit API's in C++ and not python
>>
>>55905693
I'm already sort of doing that.
I changed it from 300 to 5, and instead of subtracting 1, I'm subtracting my fixed deltaTime, 1/60th. It should still take 5 seconds, but like I said, it takes a lot less.
>>
>>55905700
Just makes a bunch of POST requests.
>>
>>55905687
you're making too much requests to the website.

happens all the time

nothing new to see here
>>
I installed "Cmake" with macports a while ago, and it's a bit outdated... How do I upgrade it? I've been told to uninstall then reinstall it... How do I do that?
>>
>>55905706
sure. just port the python API to C++, and then use C++
>>
>>55905643
>On this new timestep method, since update() is getting called multiple times per frame, there's no way of knowing how long this event will last. Right now it's taking less than a second, but on another computer it might take several seconds.
>What fucking do?
Then you haven't implemented rhe fixed rimestep properly.
If your upsate fynction is called N times per second then X*N ticks is the correct way to do timers and it will work if you actually call update N times per second every time.
>>
I'm learning Rust.
What's a nice little project to do with it?
>>
>>55905222
Building a GUI from scratch in OpenGL, or even worse: trying to use some OpenGL GUI library
>>
>>55905743
You're missing the point of deltaTime. You are subtracting the same about every update whether there's 1 update a minute or 100 per second. You need to subtract the real time that has passed since last update. That way, if you have 1 update per minute, deltaTime will be huge and the speed will be multiplied by a big number. If you have 100 updates per second then deltaTime will be small and speed will be multiplied by a small number. The end result should be the same though, you're making one big movement or many small movements, but after 10 seconds both examples will have moved the same distance.
>>
>>55902227
QUESTION:
hi guys i got a question related to update() function in unity. example, i got 10 instances of npcs, and every one of them runs update(). let's say all it does is add 1 in every iteration to a byte variable. how big impact does it have on performance? should i do it somehow different? is it possible to have 1 script that controls all instances and just executes update once instead of each for every instance?
>>
>>55905824
I feel your pain

If anyone knows this (>>55905776) It would be greatly appreciated. It's for a CMake tutorial
>>
>>55905706

JSON parser + requests and you'll have to handle session cookies.

Here is a hint from a post I saw on the topic from about 2 years ago.

https://api.reddit.com/user/skyride/about.json
>>
>>55905848
also, is it OK to do a bool checking in if statement in update?
>>
>>55905848
>>55905871
>unity
>>>/vg/agdg
>>
>>55905841
I'm using SDL. Are you saying that instead of subtracting by my deltaTime, I should subtract by the difference of SDL_GetTicks() between the two frames?
>>
>>55905848

If it does something unrelated to the object itself then you should rethink the implementation. If you just have some counter where you need to add X to it each frame, and X is the amount of some object, then instead have some variable that gets increased when such an object is created and decreased when it gets destroyed. Then each frame run your value += X.

I don't know anything about unity.
>>
>>55905871
Bro. Unity itself runs millions of statements per update(). Just cram as much shit in there as you can, until your FPS starts dropping. You as an amateur solo programmer probably literally can't make a game that performs badly because there's no way you would be able to make enough content for it alone. Just don't put a while(true) loop that never ends inside update.
>>
>>55905934
honestly, the only thing that really slows down games is excessive object instantiation and having complex physics for said objects run constantly.

nothing else should come close to bogging down performance.
>>
what's the lowest low shit I should learn?
>>
>>55905897
Yes, you want something like this:
while(true) {
currentFrameTime = SDL_GetTicks();
deltaTime = currentFrameTime - lastFrameTime;
lastFrameTime = currentFrameTime;

characterPositionX += 5 * deltaTime;
}


If one second has passed, deltaTime will be 1000ms, and your character will move 5000 units. If 1/60th of a second has passed, then your character will move 83.333... units.

After 1 second of both examples, the first case will have moved 5000 units and the second will have moved 83.333 * 60 = 5000 units.

It's equal even with completely different framerates.
>>
>>55905934
honestly i am checking in update if hp of a mob is still positive to destroy it, if its not and call functions which adds xp and randoms drop. i guess its okay to do such checkings in update? honestly i cant think any other way to do this, maybe call a function every time it collides with player's attack and check there? would it improve code's performance alot?

also my monsters do random moves during their lifespan, which are all rolled in update. every update rolls a number from certain range and if its 1 of numbers monster does the move, is there more efficient way to do monsters behaviour if i want it to be random? right now it walks in random directions and ocassionally does 2 moves randomly. putting all of this random roll in update is OK?
>>
>>55906035
You could put this in your update and it wouldn't matter. Just stop worrying about it until your game starts visibly lagging.
Random rng = new Random();
for (x = 0; x < 100000; x++) {
int r = random.next();
}
>>
>>55905934
> Just cram as much shit in there as you can, until your FPS starts dropping
>Unity
so... add a few objects that run actual logic? have an actual scene?
unity basically runs like shit at baseline
>>
>>55906146
i already have, and to be honest my game drops fps hard. the idea is to generate a unique level on run, the level itself is a 2 dimensional array with start and exit point, and random path between them. the script is generating an array of any size and does the random way to the end, which consists of rooms, and other tunnels. game instantiates a level by spawning x by x of single elements. i think it may be slowing down because if i open 500x500 size level (its array 500x500) it spawns in game 250 000 gameobjects. single game object is a static cube 1x1x1 with 8x8px texture (a wall), still i think thats too much to handle.. let me attach picture
>>
>>55902885
this ones good
http://www.multigesture.net/articles/how-to-write-an-emulator-chip-8-interpreter/
>>
>>55906146
>unity basically runs like shit at baseline
No.
It doesn't.

Stop shitposting.
>>
File: ss+(2016-08-04+at+02.17.24).jpg (210KB, 663x465px) Image search: [Google]
ss+(2016-08-04+at+02.17.24).jpg
210KB, 663x465px
>>55906146
this is basically a level. each little gray square is separate object, they build up a level, just see how many of them is placed during gameplay. COULD it be the reason of slowing down? these objects are the most basic object you could place, but there is very much of them.

>>55906296
maybe you could take a look at my problem then?
>>
>>55906005
fampai, it's like you've never seen an amateur badly implement an algorithm before. it's not hard to blow 16.67ms in .NET/mono

>>55906296
yes it does. it's an overabstracted mess on top of an already (relatively) slow virtual runtime. seems like the vast majority of people running unity are working on a high-end gaming rig and are completely oblivious to the real-world performance of their project. the only scenario where performance is remotely acceptable is games that do absolutely nothing outside-the-box. if you try to do anything that unity's rigid api design doesn't expect, good fucking luck. that must do wonders for games as a medium

>>55906259
procedural content is not unity's strong suit. and yes, you're creating way too many objects. every unity dev i've spoken to in a similar spot has ended up resorting to hacky workarounds to cram a bunch of separate objects into one
>>
>>55906296
>i don't know what i'm talking about: the post
>>
>>55906422
this
>>
>>55906422
>real-world performance of their project
the engine is designed to run on mobile phones. I test mine on my shitty laptop from 2008 with integrated gpu and it still runs 100% fine.

>high-end gaming rig
I figured they'd be on low-end rigs since they're using unity, and you know, not UE4, which would take advantage of that power. my rig definitely isn't high end or close to it.

>do absolutely nothing outside-the-box
games as a whole haven't done anything outside the box in years. don't know what you're expecting here.

>>55906442
>i'm a retard that blames my tools instead of my shitty understanding of programming
>>
>>55906540
>the engine is designed to run on mobile phones.
BWAHAHAHAHAHAHA
>>
File: top tier engine chart.png (200KB, 752x883px) Image search: [Google]
top tier engine chart.png
200KB, 752x883px
daily reminder
>>
>>55906594
>not making a game tier
>C++
>every game engine above this tier is built in C++

kys
>>
>>55906594
LITERALLY fuck off to >>>/vg/agdg

>löve
never go full retard
>>
>>55902227
> its another /v/ posts on /g/ episode
Why are so many /v/tards discussing their video game bullshit here and not on /vg/ in the game development general where these discussions rightfully belong.
>>
>>55906610
>>every game engine above this tier is built in C++
That's kinda the point.

>Game
>Engine

We're talking about making games, not engines anon.

If you want to spend 10 years making a game in plain openGL/C then go ahead. I've been on agdg for 5 years and not a single person there has successfully done anything using C/C++ to make a game from scratch. It's pointless

Meanwhile devs have used said engines in good/god tier and have been successful.

The chart is objectively correct.
>>
>>55906594
Whoever made that should seriously kill himself.
>>
>>55906016
I thought you're supposed to use fixed delta time?
The new timestep method I'm using is http://gafferongames.com/game-physics/fix-your-timestep/
I guess I don't really understand it, I thought the whole point was to avoid using variable deltaTime.
>>
>>55902227
Hey so I'm a Python hobbyist of 3 years, and now I'm experimenting with web development shit using the Flask framework, and so far I've gotten to to where I can get a form displayed on the test server using this html

http://pastebin.com/gacWhiGE

As you can see I have no idea what I'm doing. Never written HTML/.CSS before, but I've gotten the form to display correctly: I see the two input boxes and submission button.

Now, the real problem is: How do I get the names that the user inputs into the boxes and then perform the logic on them, and then return the new form? I have no idea what to do.
>>
>>55906646
>10 years
stay delusional

>I've been on agdg for 5 years
and you have nothing to show for it

kill yourself
>>
File: UNITY3.jpg (2MB, 1486x2901px) Image search: [Google]
UNITY3.jpg
2MB, 1486x2901px
>>55906680
>stay delusional
sorry, 15 years?

>and you have nothing to show for it
I do.
I'm quite proud of my game.

there's a reason everyone chooses it.
>>
>>55906594
Oh look a bunch of logos, how helpful. I guess I'll use the white block with black edges engine.

Not that I would expect anything more from agdg, but come on.
>>
>>55906701
>my game
>makes one extremely shitty game in 5 years
>thinks he's being productive
>>
>>55906701
Why are construct,clickteam and sfml so high. Where is godot in the list. Also now that xamarin is free why is xna(monogame) so low.

Honestly tiers depend on what youre making but I do agree with making everything from scratch is not always productive(unless you really want it)
>>
>>55906540
sounds like you're lucky(?) enough to be working on a simple-ass project that's beyond predictable in every respect. i've got a pretty damn decent machine, can run plenty of modern AAA games on high settings at a consistent 60fps, and yet almost every unity game i run, many of them with "muh minimal" stupid simple graphics, runs like trash

>>55906594
>agdg guide
>keyword: amateur
also, as far as managed shit goes, xna was much better than unity. unity just ripped off xna and made it a shitload worse. and then they fucking monetized it

>>55906646
>I've been on agdg for 5 years and not a single person there has successfully done anything using C/C++ to make a game from scratch
no shit. agdg is full of instant-gratification-seeking retarded manchildren. most of them never finish anything in an engine either
>>
File: output.webm (2MB, 250x444px) Image search: [Google]
output.webm
2MB, 250x444px
I invented shooting space ships, r8
>>
>>55906791
cool invention, ahmed
>>
>>55904867
hoping for something easy
>>
>>55905373
>want to learn opengl
>try to fidn resources
>99% of online resources and stack overflow questions/answers are for immediate mode
doesn't even make sense shaders have been around for more than a decade.
>>
>>55906670
tl;dr: don't bother just use variable delta time.

I can't be bothered reading all that right now. But from glancing it, it looks like he's doing the same thing except he's only updating once a certain deltaTime has passed. So it uses variable deltaTime, but adds it to an acculumator every update frame, and then once that accumulator is higher than some value, it will run some physics calculation or whatever.

Let's say you update every 0.1 seconds, with a threshold of 0.3 seconds. You would then do:

update
update
update
physics
update
update
update
physics
... repeat.

If you instead update every 0.6 seconds, with the same threshold it would do:

update
physics
physics
... repeat.

Anyway this isn't really that important, most games work just fine on a variable delta time system. It's only if you are creating physics-based games where you need the same input to give the same output every time that you need to do something else. For example if you are making FIFA, it would be disastrous if differing lag on two PCs would mean that the football is in a different location for both players (while playing online).
>>
>>55906837
there are more resources but it's generally very basic and barebones, to become good at opengl you need to be able to look things up and figure things out on your own
>>
>>55906791
isto foi muito complicado de fazer?

que tutoriais recomendas para aprender a fazer isto ou android em geral?
>>
>>55906832
trying again
>>
>>55906677
bump.
pls help
>>
>>55906677
>>>/g/wdg
>>
>>55906594
torque should be god tier for the simple fact that Tribes 2 was made on it. SDL should be at the same level as SFML or higher.
>>
>>55906883
thats like saying that php should be god tier because facebook was written with it. lol,
>>
>>55906791
"Not Touhou"/10

>>55906858
What is with this non-english meme?
>>
>>55906858
>isto foi muito complicado de fazer?
nope, you just need to know the basics of iOS programming.

> que tutoriais recomendas para aprender a fazer isto ou android em geral?
I watched a really really shitty outdated tutorial on youtube that somehow helped me start this project, I'm doing everything alone from now on. There are several space shooter tutorials on youtube for Android as well.
>>
>>55906883
there's a lot of shit wrong with the graphic. it's more about how easy it is for an "ideas guy" to make his shitty game happen without needing to learn any applicable skills than anything else
>>
File: helpg.png (37KB, 1526x876px) Image search: [Google]
helpg.png
37KB, 1526x876px
I am learning dynamic allocation and file i/o and want to know what I am doing wrong.
>>
>>55907018
You have to help fputs out and, ahem, "point" it to todo
Also, indent your shit
>>
Dumb question, though it pertains to programming:

How do I load multiple hosts using CURL?

It is in bash.

I ca't fucking find the answer anywhere.
>>
File: Extra3.jpg (99KB, 773x893px) Image search: [Google]
Extra3.jpg
99KB, 773x893px
Haskell doesn't have the double type? How do I figure out the size of a float on my machine?
>>
File: Screenshot_1.png (11KB, 1335x861px) Image search: [Google]
Screenshot_1.png
11KB, 1335x861px
Ugh... Ran out of info to put into my server monitor program thing...
>>
No one's gonna point out the fork bomb OP image?
>>
>>55905078
On one hand, transparent windows are cool at face value. On the other hand, I can't stand working with them because the background distracts me. No thanks.
>>
>>55907249
Eh, never been an issue for me. Also, that's a terminal background, not transparent.
>>
>>55906594
>>55906645
AGDG is trash, I wish it would stop leaking here.
>>
>>55907405
where would you go?
>>
>>55907452
What do you mean?
>>
>>55907452
Don't insult the man, he's homegrown trash!
>>
>>55907461
where do you go to discuss games and game development general ?
>>
>>55907018
>typedef struct
don't do that
>>
>>55907584
Why would I want to discuss about games?
As for game development, if I ever made a game and had something to say or ask about its development I would use dpt.
So, again, fuck off back to your cancerous shithole >>>/vg/agdg

>>55907468
What is this supposed to mean?
>>
>>55907593
eh I deleted it im hopeless, I didnt know what to do
>>
So, why the fuck can't I do void main() with gcc, it wants me to return an int, but that's the exact fucking reason I'm using void.
>>
>>55907646
>>55907018

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct list {
char *todo;
};

int main() {
struct list *mylist = malloc(sizeof(struct list));
mylist->todo = malloc(50); // 50 bytes
strcpy(mylist->todo,"1. Wake up\n2. Work\n");
//free (mylist);

FILE *ptrfile;
ptrfile = fopen("ToDoList.txt","w");
fprintf(ptrfile, "%s", mylist->todo);
fclose(ptrfile);

return 0;
}
>>
File: zoBDF5.gif (1MB, 676x264px) Image search: [Google]
zoBDF5.gif
1MB, 676x264px
made a texture mapping plugin for after effects
>>
What compilers do you guys use for Java? I started out with Bluej, but it just looks really autistic. I'm using IntelliJ now
>>
>>55907757
>What compilers do you guys use for Java
javac
>>
>>55907757
OpenJDK of course
btw those aren't compilers you listed, they are IDEs.
>>
>>55907754
pretty shit, famalamalam
>>
>>55907712
Thank you for helping me find my mistake, I really do appreciate it.
>>
>>55907757
eclipse
>>
>>55907706
It's a unix thing.
All programs must return a value, 0 meaning everything's alright, anything else means something fucked up.
Just add a return 0 at the end.
>>
>>55907754
didn't know you could program video editing software to this extent but it makes sense, good to know
>>
>>55907860
I already knew that senpai

It's just extra steps man, annoying shit.

I mean, I can always do int main(void), but still.
>>
>>55907886
Well, some compilers don't enforce it, but that can fuck you over in the long run.
For example, online judges will refuse anything that doesn't return 0, and in most cases, give you no related error messages at all.
>>
>>55907860
Actually its a language thingy. Here's a quote from the C standard.

The function called at program startup is named main.
...
It shall be defined with a return type of int and with no parameters,
or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared).
>>
>>55907706
Because read the standard, only int main is truly portable.

>>55907860
It's not a unix thing, it's a C thing. Also EXIT_SUCCESS is allowed to not be 0 but I do not think that this is the case in POSIX.
>>
>>55907886
How is it an extra step? int is 1 letter less than void.
>>
>>55907955
>>55907944
Huh, my bad.
I just assumed that it wasn't standard because I had other compilers accept "return 0"-less programs.
>>
>You should have some facility with mathematical proofs, and especially proofs
by mathematical induction. A few portions of the book rely on some knowledge
of elementary calculus.
Where do I learn this stuff?
>>
>>55908119
just yolo it my friend
read wikipedia articles if you truly need some elementary knowledge later on
>>
>>55907968
Having to return 0; my friend. I'm a lazy man, I want the compiler to do it for me. :(
>>
>>55908157
>Having to return 0;
You don't have to do that since C99.

>I want the compiler to do it for me
Since C99 this is exactly what happens.
>>
>>55907976
main implicitly returns a value of 0 if control falls off the end
>>
Has anyone here worked with Apache Kafka, Spark, and HBase? I've heard that a lot of companies are switching over to these cloud-based technologies, esp. with AWS
>>
>>55908178
why are they changing?
>>
File: 1407389991496.jpg (59KB, 640x560px) Image search: [Google]
1407389991496.jpg
59KB, 640x560px
>>55905474
>>55905553
How do I trick companies into hiring me so I can be one of those incompetent devs everyone complains about?
>>
>>55908224

Cheaper, more efficient. Makes more sense to only pay for machine usage that you actually use over the cloud, instead of maintaining servers, which involves more cost

I'm looking to learn more about this stuff since I heard it's going to be in the industry for a while, anyone else look about this/looking to get into it?
>>
File: hermes-trismegistus.jpg (581KB, 926x724px) Image search: [Google]
hermes-trismegistus.jpg
581KB, 926x724px
>>55902997
Kernel programming is the endgame of all programming. It is the ultimate step in programming evolution, requiring the most mastery of knowledge of everything in programming, electronics, mathematics, and computer science. A successful operating system is the magnum opus of a programmer, whereby you have truly reached the level of ascended master of programming.

http://wiki.osdev.org/Required_Knowledge
>>
>>55906846
Thanks for the explanation, anon. I think I'll just go ahead and use a much simpler timestep. My game doesn't take much power, anyways.
>>
How does the stuff under /usr/lib/firmware/ get loaded by the kernel?
>>
>>55905066
DMD is proprietary.
>>
>>55905078
gnarly computer name dude!
>>
>>55905474
You will learn on the job. However unless you put in extra time outside of work you'll always feel like you have no idea what you're doing.

Speaking from experience as a former intern who did shitty web dev at a failing startup.
>>
>>55908332
look at this faggot
>>
>>55908522

That doesn't mean it's bad.
>>
What would be the point in time where you could say you learned a language?
>>
File: wtfwpf.png (19KB, 711x363px) Image search: [Google]
wtfwpf.png
19KB, 711x363px
I'm not understanding WPF's DPI scaling. When I increase the DPI, the title bar's text and icons are scaled properly. The window content itself just gets blurry, though. I can understand DPI scaling being a pain in the ass when working with images, but why aren't text and vector shapes scaling properly?
>>
>>55906594
>Clickteam product
>good
Fucking no.
>>
>>55908735
https://msdn.microsoft.com/en-us/library/system.windows.uielement.snapstodevicepixels(v=vs.90).aspx
>>
>>55908768
Already tried that, it's not related.
>>
>>55908674
yes, actually it does.
>>
>>55907177
>y combinator
>fork bomb
(you)
>>
test
>>
>>55908776
TextOptions.TextFormattingMode="Display"

https://msdn.microsoft.com/en-us/library/windows/desktop/ee308410(v=vs.85).aspx#
>>
>>55908821
Nope, already tried all the TextOptions and various other rendering options.

I'm thinking it's just WPF since all other WPF applications (including Visual Studio) seem to look about the same when I test them. In fact, the only thing that stays sharp at high DPI is the Windows GUI itself, like file explorer and stuff.
>>
>>55908848
UseLayoutRounding="True"
RenderOptions.BitmapScalingMode="NearestNeighbor"
SnapsToDevicePixels="True"
RenderOptions.ClearTypeHint="Enabled"

I don't use WPF at all so I can't help much beyond googling, sorry anon
Maybe just use WinForms instead since it's more mature
>>
>>55908874
Already tried every single one.

Maybe I just need an actual high DPI monitor. Could running a ~96DPI monitor at higher DPI settings cause blurriness? I figure it'd just make it draw text and vectors bigger. Although, the Windows GUI itself is sharp, so that seems unlikely to be the problem...
>>
Just did a programming challenge that I saw in a /g/ image. It was to develop Rock Paper Scissors, check it out!

from sys import exit
import random
#Rock Paper Scissors
def game():
print("Let's Play!")
CPU = ['Rock','Paper','Scissors']
Answers = ['Rock','Paper','Scissors']
for rounds in range(1,8):
if rounds == 6:
print('One Last Try!')
Player == raw_input('So, Rock, Paper, or Scissors?')
if Player == random.choice(CPU):
print('Hello World!')
elif rounds == 7:
print('exiting')
exit()
else:
print('Sorry, You Lose!')
exit()
if rounds == 7:
print('Sorry, Out Of Tries!')
break
exit()
Player = raw_input('So, Rock, Paper, or Scissors?')
if Player == random.choice(CPU):
print('You win!')
break
else:
print('Try Again!')

game()
print('Goodbye!')
exit()


Any suggestions on what I could've done to improved the code?
>>
>>55908928
As long as your DPI settings result in the desktops scaled framebuffer being an integer multiple of the original dimensions, you shouldn't get any blur
For a regular 1080p monitor that restricts you to 200% DPI without any trickery
>>
>>55908941
raw_input doesn't exist in Python 3.
CPU and Answers are the same exact variable. Why are you declaring them twice?
Also, do you not know how Rock, Paper Scissors works? I don't win if I am using the same exact hand.
You also aren't letting me know what the CPU actually chose.
>>
>>55908988
Increasing DPI on Windows doesn't scale the framebuffer, it just draws everything onto it bigger. That's why things like fonts and vector art can still be perfectly clear since they can theoretically be scaled to any arbitrary size without losing quality (snap to pixel will take care of weird offsets). So it's weird that it doesn't seem to be working like that outside of the Windows GUI.

Older GDI apps will basically have their window's graphical output captured and scaled behind the scenes with some mouse translating trickery to hide it, so that'll be blurry, but that's not related to the framebuffer.
>>
>>55909084
>raw_input doesn't exist in Python 3.
I know, I'm using PyCharm though. It's active there.

>CPU and Answers are the same exact variable. Why are you declaring them twice?
For later use that I'll get to more at the end of this post.

>Also, do you not know how Rock, Paper Scissors works? I don't win if I am using the same exact hand.
You also aren't letting me know what the CPU actually chose.
I realized this after finishing the game, gimme a break I'm a khv who hasn't played RPS in years cuz >nofriends.
That said, I've begun programming a sort of test engine for what you last described. If it works out (and it probably won't, this shit is p tedious desu senpai) then Answers and CPU will be used in conjunction with random.randomchoice, the former to jumble the possible answers and the latter to randomize a CPU choice and print it.

Actually implementing the system I'm thinking of in the code is pretty tough, though. I'm probably gonna need to write two separate functions just for what I described in my post.
>>
I don't get this nonsense in rust what's the difference between
let x = 1;
let x = 2;


and

let mut x = 1;
x = 2;


supposedly x is immutable by default, but let lets me change the value of it?
what's the point of using mut then?
>>
I want to write some kind of media management application, what is a good way to implement a tagging system and filtering based on it? Libraries and such
>>
>tfw you realise office "hackathons" are just ways for your company to get more work out of you for free
>>
>>55909413
let is automatically constant; obviously you can change it by re-declaring it but that's completely different. let mutable lets you programatically modify the value, like if you made a function that loops x++ until it reaches a certain value. Only let mut would work with that, and let would throw an error.

Or at least that's how it works in F# and OCaml I think.
>>
>>55909486
oh okay, that sort of makes sense
it still feels wrong to be able to re-declare the same "constant" variable in that fashion though
>>
>>55909413
shadowing

>When you write let x = 1, you are binding the identifier x to the value 3. If you do that a second time in the same scope, you are simply declaring a new identifier that hides the previous one since it has the same name.

the point of mut is for things out of the scope, like this (not real code)
let x = 1; 
{ // different scope
let x = 45;
}
print x;

it will print 1

if it was mutable, it would print 45
>>
>>55909528
x to the value 1*
>>
>>55906594
>god tier
>unity
DROPPED
>>
>>55909528
okay, I think I understand the purpose of the convention better now
thank you
>>
>>55904867
i should fucking do this shit
>>
>>55909461
Hash Maps? Where the key is the item, and the value's are linked lists with the tags
>>
>>55905066
DMD is proprietary
It's super pedantic and verbose
Shitty standard library(s) with almost no documentation

D might have had a good point to it sixteen years ago if its standard library ever got its shit together. But now C++11, 14, and 17, are better in literally every way.
>>
>>55904150
post your
>>
>>55905015
Implement it like a tree. If you haven't implemented a tree yet then you need to start there.
>>
File: 1467864258175.gif (1MB, 300x182px) Image search: [Google]
1467864258175.gif
1MB, 300x182px
>>55904867
>mfw I suggested #23 in a different thread and it shows up in the pic
>>
>>55909834
>DMD is proprietary
use LDC then

>>55905066

The language itself seems very refreshing and modern after working with C++/C#, but I wish there was better tools and a proper IDE support. The Visual Studio plugin is garbage and looks badly integrated. The other IDE made for D in mind looks stands out with the use of non-native window widgets, and crashes a lot. Seems like Mono-D is the best of the bunch. Some libraries like fast (JSON parser) doesn't support targeting for Windows platforms, so thanks for that too...
>>
>>55907834
You do still need to free myList at the end of the program.
>>
>>55908686
when i didnt have to google anything language related from start to finish
>>
>>55908686
Once you've built a useful program (read: not a single toy algorithm implementation) with it.

You shouldn't say you're an expert on a language until you know all of it's quirks and common pitfalls, but once you've actually built something that's enough to claim that you've learned it IMO.
>>
Does anyone use personal management software for programming projects?

I use JIRA professionally but Atlassian don't have a free version.

Trello is nice and slick but it only supports a stripped down version of Kaban.

There are about 50 other free software alternatives but they all seem to be either ancient or only used internally by one company.


What's the closest free alternative to JIRA? Trello would make an absolute killing if they supported agile.
>>
where do i start to learn programming especially online are there any guides out there or something
>>
>>55910220
codeacademy
>>
>>55910220
Are you fucking serious?

Yes there are millions of guides and you could have found that out using something commonly referred to as a "search engine" welcome to the new age
>>
Are Haskell programmers TOO smart to be employed or is there another reason for their NEETdom?
>>
>>55910158

Why do you need personal management software for personal programming projects? You are the only one that really touches the code unless you work for some big open source project and even then, IRC + mailing lists suffice for those projects to push our relatively bugfree and streamlined releases. If you are planning on opening sourcing the code at some point, you post it on Github/BitBucket or whatever and just move from there.

What would you need the planning, tracking and reporting features of JIRA for when you are working on personal projects? Version control in the form of Git or SVN is all you need, at max.
>>
>>55910334

Because my personal programming projects are bigger than fizzbuzz.
>>
I'm about to write a library for interfacing with a certain file-system.

I'm on windows programming in visual studio and ive used some hellish libraries in my day but I figure this is a good time to have an open question as to how you like your libraries set up?

I kinda wanna go the STB route and have it all be in one hpp file.

I feel like if I veer off and have a bunch of flat hpp and cpp files then its gonna naturally merit some .dll or .so file the user has to set up and I'd rather have some simplicity

one hpp one cpp?

one hpp and have the user put
#define blahblah_IMPLEMENT

somewhere?
>>
>>55910220
http://web.mit.edu/alexmv/6.037/sicp.pdf

MIT uses this book to teach programming. It's famous and revered.
>>
>>55910358

You didn't answer my other questions.

People do fine with 10-100K scale LOC with just version control and github. Look at some toy emulators and graphic engines which are in that range. They clearly didn't need them.

That being said, it's a preference and if you prefer to use tools designed for a team setting for yourself only, by all means go ahead. I'm just saying it's not the normal thing to do and thus why these tools are enterprise software that you have to pay serious money to obtain.
>>
>>55905807
Game of Life
>>
I've got a particularly elegant solution to fizzbuzz:

def fizzbuzz():
for i in range(0,100):
n = 0
if i % 3 == 0:
n += 1
if i % 5 == 0:
n += 2

if n == 1:
print "fizz"
elif n == 2:
print "buzz"
elif n == 3:
print"fizzbuzz"
else:
print i
>>
>>55910497
Why the fuck did you define it?
>>
>>55910512
to trigger you
>>
>>55903851
racket
>>
>>55910497
>def fizzbuzz()
>prints result
>not def fizzbuzz(range)
>not yielding result

>writing unpythonic code
>>
>>55910497
It looks nice, but it uses more memory and computational time than other solutions.
>>
>>55904150
you're probably importing your CSS before the bootstrap one. Look at your html
>>
>>55910470

You're right in that it is my personal preference in using project management tools for project management. I find that being able to keep track of progress is the best way to maintain progress and I wish that more medium sized foss software projects would move from mailing lists to JIRA-like software.

Using enterprise software at an enterprise level is very expensive, but the features of JIRA - basic agile planning, are not available for any of the personal management software which is a pain.
>>
>>55904613
programming languages are only tools. It's up to you what to make with them.
The greatest software in human history was created just to scratch the creator's personal itch. You should look at your environment, at your workflow, and write a tool that could make your life easier.
>>
>>55910584
>The greatest software in human history was created just to scratch the creator's personal itch
what?
>>
>>55910470
>I'm just saying it's not the normal thing to do and thus why these tools are enterprise software that you have to pay serious money to obtain.
That's rather a chicken-and-the-egg problem isn't it?
>>
>>55905807
See
>>55904867
>>
>>55910591
Not entirely, I think most hobbyist projects would consider project management software to be complete overkill, regardless of it's availability.

A FOSS alternative would likely have been developed otherwise.
>>
>>55910548
<agree>
>>
>>55910599

like these 32 Foss alternatives?

https://en.wikipedia.org/wiki/Comparison_of_project_management_software
>>
>>55910590
Guido van rossum made python in a couple of weeks because he needed a scripting language, and he didn't like any of the existent ones. Stallman needed to extend his text editor, so he wrote a couple of macros in LISP ontop of TECO... thus emacs was born. Bram moolenaar thought that vi editor was too essential, so he extended that too. Bellard wanted to convert and manage a couple of multimedia files, ending up writing ffmpeg... And so on.
>>
>>55910632
Correct.
>>
>>55904499
If you feel great using windows, then why switch?
One guy I know said a couple of years ago on this matter: "use whatever your friends are using".
>>
>>55910653
>>55910590
Linus Torvalds just wanted to a proper shell to telnet into the University server, and a hobby kernel project.
"Not big and professional like GNU"
>>
>>55904867
Rolling!
>>
in C++11 can i use alignas to pack a structure or do I have to use #pragma pack(push,1)

looking for a multi-platform way to do it
>>
>>55910497
>if i % 5 == 0:
> n += 2
1 mark for this
-11 marks for using Python
>>
>>55910998
New
>>
>>55910497
I POSTED THAT BEFORE ON /DPT/ YOU UNORIGINAL BASTERD!
Apart from that it's quite elegant and genial I must humbly admit.
>>
>>55910497
it's not elegant and any reasonable C/C++ compiler can optimize the standard fizzbuzz to something similar
>>
So, I've completed some rather basic python tutorials and shit, like the one on codecademy and automate the boring stuff
What do I do now? I don't really have any ideas what do to, do you guys know any more 'advanced' online tutorials?
Only thing I've coded myself is a lyric 'analyzer' that counts the number of unique words an artist uses, and which words he uses most often. And I don't think it's working properly either, since some artists have like 10k unique words...
>>
>>55912358
learn java and/or C++
>>
>>55910158
VS Team Services, personally. Works like a charm, has Kanban boards, bugtracking, two flavors of versioning, etc.
>>
what about Trac? anyone use that anymore?
>>
310 get?
>>
>>55912822
That was 311 and there's already a new thread: >>55910998
>>
File: 1469687726608.jpg (19KB, 420x354px) Image search: [Google]
1469687726608.jpg
19KB, 420x354px
>>55902227

>tfw no eta expansion
>tfw BS happening while evaluating strict
Thread posts: 313
Thread images: 33


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