Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Due to resource constraints, /g/ and /tg/ will no longer be archived or available. Other archivers continue to archive these boards.Become a Patron!

/g/ - Technology


View post   

[ Toggle deleted replies ]
File: 341 KB, 1600x1068, 1*7VCbs_tTA5tGgMdssqiglw.jpg [View same] [iqdb] [saucenao] [google] [report]
67071848 No.67071848 [Reply] [Original] [archived.moe] [rbt]

>C, C++, C#, D, Java, Kotlin, Python, Ruby, Julia, Nim, Rust, Go, Scala
Take it to >>>/g/sqt

>JavaScript, TypeScript
Take it to >>>/g/wdg

What are you working on, /g/?

Old thread: >>67066051

>> No.67071859

>>67071848
>The daily programming thread doesn't like programming languages
lol

>> No.67071861

reminder that non-anime threads aren't canon

>> No.67071870

Is gtkd similar to vala?

>> No.67071871

How do I into MUSIC programming?

>> No.67071885
File: 221 KB, 410x268, ekmett GF is a moand.png [View same] [iqdb] [saucenao] [google] [report]
67071885

Category theory and its consequences have been a boon for the Haskell race
>>67071861
true but it doesn't justify making a duplicate thread

>> No.67071915

Is it common to install software with npm install --global?

I want to use this https://github.com/klauscfhq/taskbook but I know npm is prime for attack because of the thousands of micro-dependencies (like is-odd ffs) all in control of this one man: https://www.npmjs.com/~jonschlinkert

>> No.67071921
File: 448 KB, 454x762, angry.png [View same] [iqdb] [saucenao] [google] [report]
67071921

>>67071848
What the fuck is this shit? Needs to have anime picture in OP or this thread is invalid.

>> No.67071924

>>67071915
I wouldn't trust jews, would you?

>> No.67071927
File: 493 KB, 928x640, terrible meme.png [View same] [iqdb] [saucenao] [google] [report]
67071927

>it's a wdg OP

>> No.67071952

Then what's left?

>> No.67071957

>>67071839
sorry if I sounded snarky. the key difference between traverse and map is that it combines applicative effects. e.g. given a function that appends "foo" to a string and as an effect accumulates the length of the string i.e.

import Control.Monad.Writer.Lazy

f :: String -> Writer (Sum Int) String
f x = writer (x ++ "foo", Sum(length x))


then we can use traverse on a list of strings:

*Main> runWriter (traverse f ["bar", "baz", "quux"])
(["barfoo","bazfoo","quuxfoo"],Sum {getSum = 10})


on the left is the list with foo appended to each element, on the right is the sum of the lengths of the elements

>> No.67071961

>>67071861
based

>> No.67071968

>>67071859
>doesn't like shit programming languages
FTFY

>> No.67071975

I got a project with many classes.
The methods are defined in the .hpp files in a header folder instead of .cpp because I'm lazy.
Otherwise I'd have to compile each .cpp file and link it all.
What should I do? Should I learn makefiles?

>> No.67071976

>>67071952
fewer shitlangs

>> No.67071991

>>67071976
I'm sorry were those languages too hard for you?

>> No.67072012

>>67071991
no, they were too shit. you know the blub paradox? I don't want to use blub forever so we're simply not going to talk about its many incarnations any more

>> No.67072031

>>67072012
http://wiki.c2.com/?MindOverhaulEconomics

>> No.67072057

>>67071957
Writer w is actually (,) w so you can do

traverse (\x -> (Sum (length x), x ++ "foo")) ["bar", "baz", "quux"]
(Sum is in Data.Semigroup and Data.Monoid)

>> No.67072084

>>67072057
ah yeah, that's neater, cheers anon

>> No.67072086

>>67072084
similarly Reader r is (->) r
e.g.
traverse (+) [1..10] 5

>> No.67072121

how can haskell be practical when it doesn't even have null pointer exceptions?

>> No.67072128

>>67072121
this, how do you even write abstract bean manager factories in haskell?

>> No.67072152 [DELETED] 
File: 611 KB, 800x731, My_name_is_spring_trap_by_springtrap_killer-d940ppq.png [View same] [iqdb] [saucenao] [google] [report]
67072152

This is the ideal programmer body. You may not like it, but this is what peak performance looks like.

>> No.67072190

It really bothers me that C++ has a huge mix of camelcase and snakecase.

>> No.67072198

>>67072190
It really bothers me that C++ will not fade away gracefully

>> No.67072221

>>67071915
Yes. Global just means system wide instead of per project. Like forever or actual programs and not just modules or libraries to enhance your project. Npm let's you know of vulnerabilities now when installing. But like everything, nothing is 100% secure.

>> No.67072224

football anon back again. just wanted to thank everyone since i finally got it working. not exactly what i was aiming for i never could crack the csv thing but this works exactly how i want and i can edit my projections at any time. This was a blast and you guys were a great resource. heres a condensed version if anyones interested. Im sure it could be better written but it works like a charm
## League Scoring Rules ##
RTD_WORTH = 6
RYD_WORTH = .1
PTD_WORTH = 4
PYD_WORTH = .04
INT_WORTH = -2
REC_WORTH = 0
## Defining Position Classes ##
class QB:
def __init__(self, name, ptd_count, pyd_count, rtd_count, ryd_count, int_count):
self.name = name
self.points = (PTD_WORTH * ptd_count) + (PYD_WORTH * pyd_count) + (RTD_WORTH * rtd_count) + (RYD_WORTH * ryd_count) + (INT_WORTH * int_count)

def __lt__(self, other):
return self.points < other.points
class RB:
class WR:
class TE:
## Wide Receiver List ##
wrs = [
WR("Antonio Brown PIT",104.7,10.1,1469),
]
## Quarterback List ##
## Running Back List ##
## Tight End List ##
## Sort By Projections ##
all = wrs + qbs + rbs + tes
flex = wrs + tes + rbs
wrs.sort(reverse=True)
tes.sort(reverse=True)
qbs.sort(reverse=True)
rbs.sort(reverse=True)
all.sort(reverse=True)
flex.sort(reverse=True)
## Print List ##
alltext = []
flextext = []
wrstext = []
qbstext = []
rbstext = []
testext = []
for i in all:
alltext.append(str("%.2f" % (i.points)) + " = " + i.name)
print(*alltext, sep = "\n", file=open("all.txt", "w"))

>> No.67072260

>>67072224
what language is that?

>> No.67072271

>>67072224
this looks ugly as fuck so i'll assume it's garbage code

>> No.67072273

>>67072260
>__init__(self
looks like FOIC

>> No.67072285

I think there should be /fpg/ functional programming general and /cscig/ computer science general

>> No.67072297

>>67072260
python 3
>>67072271
ya i never coded anything before 3 days ago. feel free to code golf it and show me up. im open to criticism and pointers

>> No.67072316

>>67072297
>im open to (...) pointers
not in python you're not

>> No.67072324

I'm new to android studio, is there a way to use VIM keybinds with it?

>> No.67072328

>>67072285
we had /fpt/ one christmas

>> No.67072345

>>67072316
that joke is wasted on me. this was fun tho ill be on the lookout for more projects

>> No.67072348

>>67072285
We did but it wasn't very active. Look at the Rust thread, barely active and most of the comments are shitting on the language. /dpt/ is barely active as it is, no need to add another shitty inactive thread.

>> No.67072361

>>67072345
don't worry it was a bad joke. pointers are something in C/C++ but python doesn't have them

>>67072348
what happened to /dpt/? it used to be far more active six months ago

>> No.67072410

>>67072361
I don't think much has changed. I think it just depends on the time of day. It is most active when americans are on.

>> No.67072414

>>67072410
>>67072361
And least active in the Asia time zone

>> No.67072453

Is it a good idea to use a n-ary tree datastructure?
I want to do a genealogy tree, and binary trees are out of the way.
I was thinking of a tree, where each node gets one parent, and one node's child is a linked list.
Additionally, is this how relational databases do their 1-to-many relationships?

>> No.67072478

Blue collar brainlet here. Would HTML be a good starter language if I'm trying to work remotely overseas for an American company or should I go for something else?

>> No.67072507
File: 47 KB, 629x587, Screenshot_2018-08-08_20-37-15.png [View same] [iqdb] [saucenao] [google] [report]
67072507

$ ./a.out
4294967295, 1
4294967295, 1

I don't get it, htoi() returns a signed int, so why are the values that of unsigned?

>> No.67072509

>>67072478
Learn julia

>> No.67072519

>>67072509
begone shill

>> No.67072521

>>67072453
Or maybe use an adjacency matrix, and only traverse it in a certain direction. But this feels quite convoluted.

>> No.67072533

>>67072478

>c
>c++
>java
>c#
>python
>javascript

pick 3

>> No.67072534

>>67072509
i dont think you know what that word means

>> No.67072601

>>67072453
Because ... incest, genealogy tree are
DAG(Direct acyclic Graph)
https://blogs.ancestry.com/ancestry/2014/01/17/visualizing-family-trees/

Database using B-Tree to optimization.

>> No.67072603

>>67072507
printf is casting it backed to unsigned

>> No.67072612
File: 106 KB, 1280x904, happy_exp.jpg [View same] [iqdb] [saucenao] [google] [report]
67072612

Which lang would Megumin use C or Rust? I'm thinking C because of its raw uncontrolled power, which is what Megumin seems to crave.

>> No.67072614

>>67072509
Not him, but l-let's say I could contribute to some niche julia library, but I'm not confident with linking my code to my name publicly (), should I make the extra effort to "clean my code for others" or should I better stay in my comfort zone and mind my stuff.
Quick lurking doesn't seem to indicate rampant SJWs.
Also I'm not familiar with R yet, so this seems like a better choice to surf the /data/ trend. I dunno

>> No.67072623

>>67072507
Hint: Use -Wall as a compiler flag.

>> No.67072627

>>67072614
>ess jay double you boogeyman
grow up

>> No.67072634

>>67072601
I didn't consider incest indeed. Thanks

>> No.67072636

>>67072603
What is the point of singed/unsigned when the bits are the same?

>> No.67072645

>>67072636
same bits, different interpretation
https://en.wikipedia.org/wiki/Two%27s_complement

>> No.67072649

Should I start learning programming with C? Also what program do you use to write your code?

>> No.67072664
File: 6 KB, 433x91, dpt programming advice.png [View same] [iqdb] [saucenao] [google] [report]
67072664

>>67072601
>>67072634
reminds me of this

>> No.67072668

>>67072649
>what program do you use to write your code?
emacs

>> No.67072672

>>67072649
Yes, C is one of the best ways to obtain a solid foundation for understanding how programming actually works and King's C Programming A Modern Approach is a great book for learning it

>> No.67072677

>>67072649
mix of vim and sublime text, depending

>> No.67072684

>>67072677
don't use these "editors"

>> No.67072688

>>67072478
html is a markup language you dont "program" with it

>> No.67072689

>>67072684
What's a good one for Linux?

>> No.67072691

>>67072684
don't tell me what to do

>>67072689
vim and sublime text

>> No.67072693

>>67072636
Unsigned can fit larger (positive) values than signed.

It's also a matter of expectations. If I'm saving something as an unsigned integer, I'm implicitly saying that there should be no negative values for it.

Think of rows in database. If I wanted to save the ID of it, it would make sense to do so with an unsigned int.

>> No.67072695

>>67072689
Emacs, Sublime Text and Visual Studio Code
Don't listen to that nigger

>> No.67072699

>>67072689
It doesnt matter that much just use whatever

>> No.67072700

>>67072634
https://web.stanford.edu/class/cs97si/

https://web.stanford.edu/class/cs97si/06-basic-graph-algorithms.pdf

Usually Matrix representation use massive memory, I like this slide from Stanford for explain graph representantion,Array representation is fast as fuck and low memory but very inflexible.

>> No.67072705

>>67072699
I want one that looks nice though

>> No.67072712

>>67072705
emacs with a good color scheme

>> No.67072713

>>67072705
Then use spacemacs

>> No.67072718
File: 13 KB, 754x266, leet.png [View same] [iqdb] [saucenao] [google] [report]
67072718

Does /dpt/ grind leetcode? All of the guys at /r/cscareerquestions seem to be grinding it and getting $6k/month internships right out of college at amazon/google/facebook

Can you guys even solve this in O(n) time without help?

>> No.67072754

>>67072718
I think I found a solution. Spoilers ahead.

The only way to manipulate a number in the input without losing information is by multiplying by -1.
So, for each number, you check the number on the corresponding position (absolute value). If it's positive, make it negative. If it's negative, add it to the output.

>> No.67072775
File: 212 KB, 791x466, Screenshot from 2018-08-09 16.19.08.png [View same] [iqdb] [saucenao] [google] [report]
67072775

What did she mean by this?

>> No.67072777

>>67072754
Just noticed. The input numbers won't be higher than n, so you can just add/subtract/check if higher than n+1 and use the same idea.

>> No.67072779

>>67072623
>warning: suggest parentheses around arithmetic in operand of ‘|’
But why? + takes precedence over |.

>> No.67072788

>>67072695
>Sublime Text
Proprietary.
>Visual Studio Code
Telemetry baked in a la Chromium despite being "open source". Avoid,

>> No.67072795

>>67072718
Just an O(n) solution is trivial. Just use an array of `seen` bits.

The O(n) solution without extra memory usage is more challenging, but I can see some avenues of varying levels of nastiness making use of the fact that all array elements are also valid array indices, involving a bunch of element swapping while storing information about element N = a at a[N] and sneaking in some extra information storage into the input array that way. This is really cheating though, for you are in fact using extra space, but in such a way that we don't count it.

>> No.67072804

>>67071848
So far I think everything in this thread has been one of the languages you've "banned". Next time try being less of a faggot OP you've basically listed every language used in production today except OCaml and x86.

>> No.67072812

What's your favorite obscure language?

>> No.67072822

>>67072812
that shit arwen speaks in lotr is sexy

>> No.67072837

>>67072718
>>67072775

l = [4,3,2,7,8,2,3,1]
for i in range(0, len(l)):
l[abs(l[i])-1] *= -1
if l[abs(l[i])-1] > 0:
print abs(l[i])

>> No.67072841

>>67072754
This is very much cheating. You are storing one extra bit in each array cell which is not in the input, assuming the input array has spare space in it due to encoding conveniences. This violates the "without extra space" requirement in all practical senses, as well as in spirit.

>> No.67072853

>>67072841
>autism

>> No.67072858
File: 31 KB, 444x332, 1533759661622.jpg [View same] [iqdb] [saucenao] [google] [report]
67072858

I started using rubymine because VSCode is pretty terrible for ruby.

Problem is rubymine is fucking expensive, can I "create" something similar with vim/emacs?

The main things I care about are autocomplete and formatting/automatic fixes that rubymine gives

nums = [1,2,3,4,5]

nums.each {|num| puts num}

gets turned automatically to this if I press enter after |num|
nums = [1,2,3,4,5]

nums.each do |num|
puts num
end


And obviously I need it to know all the methods used by ruby/rails, eg VScode doesn't even know that 2837.digits is a method, but rubymine does.

help

>> No.67072860
File: 10 KB, 133x110, 1523155821954.jpg [View same] [iqdb] [saucenao] [google] [report]
67072860

I just finished HtDP.

How long will it take to learn C++/Java/Python at a level good enough to land an internship in software engineering as a sophomore or junior? Which one should I prioritize on if I seriously want a job?

I only know Racket, C, and a little Java.

>> No.67072869

>>67072837
Would this be any faster?
l = [4,3,2,7,8,2,3,1]
for i in range(0, len(l)):
if l[abs(l[i])-1] < 0:
print abs(l[i])
else l[abs(l[i])-1] *= -1

>> No.67072890

>>67072841
You are right, don't let these degenerates pretend reality isn't real.

>> No.67072919

>>67072718
If feel stupid because is obviously solution.
Take first number i and put number in place i, exchange with current value.
>but using one exchange variable is cheat, well use bitwise exchange value trick.

for every value one number get in rigth order.
If same number begins in same space means is twice, print it, and get next step.

>> No.67072939

>>67072860
The thing about C++/Java/Python is that they're *huge* languages -- not only do they have big standard libraries, but you're expected to know some of their most-used external libraries.

As an example: while you know a lot of Racket (due to completing HtDP), you don't know every bit of Racket. See:
http://docs.racket-lang.org/more/index.html

>> No.67072956

>>67071870
Holy shit, fuck that. Not only it uses D idioms but also the wrapper API is structured very differently than original gtk3. Plus D doesn't even have good ide's to support the user with good completion suggestions. What a waste of time, the author should have had that in mind. He could've simply taken the -betterC route, that way his API needed little to no documentation so long as the symbols and the project structure is the same.
Why is it that only gotk3 is the most usable gtk wrapper of all?

>> No.67073032
File: 239 KB, 1724x1050, Screen Shot 2018-08-08 at 9.55.14 PM.png [View same] [iqdb] [saucenao] [google] [report]
67073032

>>67071848
Anyone proficient in Tcl?
I'm having a bit of trouble understanding this piece of code someone gave me.

I see that the "set" command assigns a thing into a variable, but why does it look like a function? Is it a function?

>> No.67073058

>>67072779
Maybe use this one then, -Wformat

>> No.67073108

so a monad is just a dynamic wrapper type, right?

>> No.67073120

>>67073108
No, a monad is a special type of function composition.

>> No.67073134

>>67073108
http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/baastad.pdf

>> No.67073152

>>67071848
ok so that leaves us with Haskell + toy langs great

>> No.67073154
File: 93 KB, 750x1000, 1527751619202.jpg [View same] [iqdb] [saucenao] [google] [report]
67073154

>>67073134
>bastad
rude.

>> No.67073172

>>67073134
>>67073152
>Shall I be pure or impure?
i can already tell this is going to be pretentious but thanks for spoonfeeding me

>> No.67073182

>>67073172
that paper is a meme desu

>> No.67073278

In an older /dpt/ thread few months ago, some anon mentioned how it is preferable to only use integers rather than floating points with an arduino. The reason was something like integers calculations are done in hardware but floating points are done in software hence slower.
Any resources on that?

>> No.67073285

>>67073172
http://math.mit.edu/~dspivak/CT4S.pdf
Read monoid and monad parts, for clean math explication.

>> No.67073298

>>67073278
https://learn.sparkfun.com/tutorials/data-types-in-arduino

>The processor at the heart of the Arduino board, the Atmel ATmega328P, is a native 8-bit processor with no built-in support for floating point numbers. In order to use data types larger than 8 bits, the compiler needs to make a sequence of code capable of taking larger chunks of data, working on them a little bit at a time, then putting the result where it belongs.

This means that it is at its best when processing 8-bit values and at its worst when processing floating point. To demonstrate this fact, I’ve written a simple Arduino sketch which does some very simple math and can easily be altered to use different data types to perform the same calculations.

>> No.67073311

how could i work the enumerate funtion into this?
for i in all:
alltext.append(str("%.2f" % (i.points)) + " = " + i.name)
print(*alltext, sep = "\n", file=open("all.txt", "w"))

>> No.67073332

how do i profit off programming as an amateur?

>> No.67073336

>>67073332
lol

>> No.67073341

>>67073332
Become Indian and obtain Indian living costs + standards

>> No.67073350

>>67073108
>monad
there's that word again.....

>> No.67073354

>>67073298
neat. thanks

>> No.67073365

>>67073336
>>67073341
fuck, so everything i learned is uselesS?

>> No.67073369

>>67073285
i don't understand math

>> No.67073379

>>67073365
Being able to find out which numbers are divisible by both 3 and 5 isn't useless, you will find that it has many applications in real life

>> No.67073394

>>67073369
Book assume high school level.

>> No.67073417

>>67072224
You're welcome! You made us proud, football anon. You learned yourself a bunch of stuff, good work!

>> No.67073426

>>67073365
programming is useless LOL why do you think anyone who wants to make a living goes into trades instead

>> No.67073444

>>67073379
but i learned that in high school

>> No.67073449

>>67073152
so just toy langs, yes

>> No.67073488

>>67072858
use the rubymine trial and clear the plist from your user lib whenever the trial ends

>> No.67073531

whats a good java ebook for beginners

>> No.67073599

https://www.youtube.com/watch?v=yNDIIwE6X8c
programming inspo music?

>> No.67073613

>>67073032
it seems that con(a, whatever) extends the "a" structure to a.whatever, and assigns whatever's on the right in this case, the value in a[1]

>> No.67073669

>>67072627
Really though, why should one spend /for free/ contributing to a project whose "community" is basically a huge redflag?

>> No.67073701

>>67072718
I don't understand what O(n) is but the solution is pretty straight forward.

>> No.67073770

how about you guys kill yourselves

>> No.67073771

>>67073701
https://en.wikipedia.org/wiki/Time_complexity#Linear_time

In practice, it just means "if you double/triple/etc/ the size of the input, the running time will only be double/triple/etc." This is possible, in general, if you only perform c*n operations on the input, for some constant c and with the input being size n. (Technically, c*n + b, where b is also a constant, but this isn't important.) Like the wiki says, summing random-ish numbers is O(n) because you'll usually have to perform n additions for n addends.

>> No.67073773
File: 156 KB, 1001x1334, .jpg [View same] [iqdb] [saucenao] [google] [report]
67073773

cant I do dependent typing in C++
like have a special type for sorted list that inherits from list with the appropriate type signatures from functions and have contacting two non empty lists return a non empty list type

what does idris do that's different?

>> No.67074069

>>67073311
bump

>> No.67074078

>>67073773
>special type for sorted list
jesus christ that's autismal

>> No.67074084

>>67073332
bump, no troll responses please

>> No.67074093

>>67073531
bump

>> No.67074104

>>67073773
Not sure I quite understand what you're after, but it sounds like something along the lines of CRTP.
https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern

>> No.67074130

The first four bytes of every class file in Java are always 0xCAFEBABE . Now that you know this how can you program in anything other than the chaddest of languages ?

>> No.67074134

>>67074084
you cant

>> No.67074423
File: 251 KB, 1200x1200, 1200px-Geany_logo.svg.png [View same] [iqdb] [saucenao] [google] [report]
67074423

Why doesn't Geany syntax highlight my Rust code?

>> No.67074517

>>67074423
Geany is not using gtksourceview, which is an up to date widget for syntax highlighting, they are stuck with scintilla. I guess scintilla needs some attention in that matter.

>> No.67074527

Help me out /dpt/, I want to make a cross platform gui application and I don't know what gui framework to use. I have a working version of the app but i've write it in appjar, which is garbage but it got me going. I thought people used java for this kind of thing but apparently from what I see there isn't any good framework universally used.
I basically want to support windows, linux, mac os and android and later I would like to make a server side as well and probably make a webapp(but not a goal for now).
What do I use? I'd rather not use javascript frameworks but if that's the right tool fuck it. Anything goes, I don't have any problem using "shit languages" its more important to me to get it done more than using the perfect tools.

>> No.67074552
File: 899 KB, 4065x2962, 1532808299377.jpg [View same] [iqdb] [saucenao] [google] [report]
67074552

>>67074527
C++/Qt Quick

>> No.67074554
File: 129 KB, 314x278, 1453302491365.png [View same] [iqdb] [saucenao] [google] [report]
67074554

Does Rust support for proper async shit with something like select/poll?
I tried looking at the language ages ago, but it didn't have it. You can't expect someone to take a language seriously without something as fundamental as that...

>> No.67074567

>>67074552
your doll? Looks really good

>> No.67074568

>>67074554
https://tokio.rs/
https://doc.rust-lang.org/std/macro.select.html

>> No.67074574

>>67074567
Nah, maintaining a trap gf is too much work.

>> No.67074576

>>67074554
That's what mio is for. It abstracts over things like select/poll but it's cross platform. If you want to use it directly, the `nix` crate binds directly to them.

Tokio provides a futures abstraction on top of Mio, but is under a lot of flux atm, because futures just got pulled into stdlib, but the tokio library still uses it's own abstraction, so the async and await keyword don't work with it yet.

>> No.67074582

>>67071976
>any language used to write a production system is a shitlang

>> No.67074584

>>67074576
>that massive run-on sentence
I really should proof read my stuff...

>> No.67074588
File: 19 KB, 249x235, .jpg [View same] [iqdb] [saucenao] [google] [report]
67074588

>friend asks me to look at his code, it takes forever
>it's just removing proxies from the list
>run it, 3000 seconds
>change "in" to "=="
>7 seconds

>> No.67074589
File: 133 KB, 318x318, 1376908007763.png [View same] [iqdb] [saucenao] [google] [report]
67074589

>>67074568
>>67074576
>Needing a third party library to do this sort of thing
Jesus christ.

>> No.67074600

>>67073771
>Technically, c*n + b, where b is also a constant, but this isn't important
Just for some follow-up for anyone interested, you only care about the highest power (in this case c*n) because 1. in the limit as n goes to infinity, the lesser powers exert much less influence, and 2. big O notation denotes the worst case scenario, so you are concerned with the worst case, ie the highest power

>> No.67074601

>>67074589
"third party" is a bit wrong. They are being produced by the main team, just outside of stdlib until they are sure they've got the abstraction they want.

You don't NEED a library either, brainlet. Just write a small wrapper over the C call. It should be short work.

>> No.67074603

>>67074589
C needs a third party library for thread support, I don't see people bitch about that

>> No.67074604

>>67073311
one last bump before bed

>> No.67074616

>>67074603
>C needs a third party library for thread support
No it doesn't. pthreads/C11 threads are part of the standard library.

>>67074601
>You don't NEED a library either, brainlet. Just write a small wrapper over the C call. It should be short work.
Is this what rustlets are reduced to? I normally write all of my shit in C, but I was thinking about writing a new project with something else. However, I just can't take this language seriously.

>> No.67074618

>>67074600
>there are some mathlets ITT who won't connect c*n + b == c*n^1 + b*n^0

>> No.67074628

>>67074616
>Is this what rustlets are reduced to?
writing `extern C` before `fn` is fucking hard for you, boomer?

>> No.67074630

>>67074616
pthread is not a standard library, it's a posix library
>C11 threads are part of the standard library.
LOL, only took them ~40 years. Can you imagine how shit C is

>> No.67074647

>>67074616
>pthread is standard
Is this the power of /g/?

>> No.67074657

>>67074647
>>pthread is standard
pthreads is POSIX standard, which the only standard worth giving a shit about.

>> No.67074664

>>67074618
>>67074600
Don't restrict yourselves to exponents. a*n + b*ln(n) + c is also within O(n)

>> No.67074666

>>67074657
Nice try. Now move the goalpost back.

>> No.67074670

>>67074604
open the txt file in word and use the numbered bullets

>> No.67074681

>You should have some knowledge of C#, MVC, ASP.Net, HTML
why the fuck does every developer job in my area ask for this shit

how do i get started with C# and asp.net i only know basic MEAN stack stuff

>> No.67074704

The only reason to use C in current year is to create common binding API for different languages.
In fact with Nim, that reason to write C too has been nullified.

>> No.67074734
File: 33 KB, 1000x404, logo-large.png [View same] [iqdb] [saucenao] [google] [report]
67074734

God, tokio is fucking confusing.

>> No.67074780

>>67074664
correct me if I'm wrong, but a*n + b*ln(n) + c would be O(a*n) since ln() grows slower than n, and big O is concerned with worst-case, unlike Theta or the average-case one

>> No.67074783

>>67074734
Right now, yeah. The async/await changes should fix a lot of that. Better documentation will also help. A lot of "tokio" allows it to run on bare metal. You don't most of the library most of the time.

>> No.67074810

>>67074704
C in the common year is a great choice, for its small set of keywords and vast history with backwards compatibility.
Write C like you write python. Import linked list libraries, sorting libraries, etc. Don't reinvent the wheel just because you're writing C
Avoid manual memory management as much as possible.
Don't know how long that input string will be? Set it to a megabyte, that's something like 500 pages of text, but who gives a fuck, it's 2018, not 1980.
Stop reading K&R except as a historical curiosity and for some of the pedagogy, but stop using it as a primary/single resource.

>> No.67074818

>>67074780
a is a constant unrelated to n, so O(an) is O(n)

>> No.67074829
File: 261 KB, 480x270, 1344970833081.gif [View same] [iqdb] [saucenao] [google] [report]
67074829

Why can't we be friends?

>> No.67074833

>>67074810
>Avoid manual memory management as much as possible.
>Don't know how long that input string will be? Set it to a megabyte
The absolute state of C-niles: 2018.

>> No.67074841

>>67074810
>allocating 1 Mb like that
just use a GC bro

>> No.67074843

>>67074829
How can I be a friend with someone who likes a different programming language than me?

>> No.67074844

>>67074810
>Stop reading K&R
Name a better introduction to C in current year.

>> No.67074857

>>67074829
C++ is a friendly language because it has friend structures and functions.

>> No.67074936
File: 179 KB, 1000x382, bchs.png [View same] [iqdb] [saucenao] [google] [report]
67074936

https://learnbchs.org/
Looks comfy yet totally useless.

>> No.67075075

>>67074833
>>67074841
problem?

>>67074844
king, klemens, kochan
there isn't much to the language, unlike C++ or other languages, you don't really need a massive text explaining it all
data types, structs, pointers, the preprocessor, and google other things

>>67074818
true, so a*n + b*ln(n) + c is O(n)

>> No.67075085

>>67073108
Pajeet here. It’s a flag you put on the type, like 'implements', you then have to implement the necessary methods to prove to the compiler that your type is a Monad. You can do it "retroactively", unlike Java. If a type implements .toString() it automatically belongs to Show typeclass. If a type implements a bunch of stuff it belongs to Monad typeclass.

You don’t want to know what methods Monads implement because it’s complicated af. All of it is necessary only so that the compiler can follow what the fuck you’re doing and give helpful errors.

>> No.67075101

>actually recommending K&R in 2018
>LARPing like it's 1980
Hahahahaha

>> No.67075141

>>67074810
Your post gave me cancer.

>> No.67075202

>>67075141
go ahead, what's wrong with it gramps?
write C like you write python, import 10 useful libraries so you don't need to write basic data structures from scratch, and your code will still be blazing fast next to some higher-level language.
C in 2018 does not mean pretending it's 1980

>> No.67075221

>>67075141
t.
30yo boomer who would make a person learn C by VMing a 386 and using ed

>> No.67075222

>>67075202
Stop appealing to novelty.

>> No.67075235

>>67075222
that doesn't address anything but good try
maybe you are having a stroke realizing how much time you've wasted trying to shave off kilobytes when you could have worked on more important things

>> No.67075245
File: 44 KB, 150x143, 61l5kt.png [View same] [iqdb] [saucenao] [google] [report]
67075245

>>67071848
Looking for a software job and I haven't really been receiving replies. I received one offer from a company a couple of towns over, but it's for support instead of development. I read a few posts on r*ddit that stated that having support on your resume would pretty much kill any chance I'd have at ever getting a softwaredev position. How true is this?

Also, how are (((tech support))) jobs? Is it just glorified customer service? I need a job, yeah, but ideally I still want to be able to program.

>> No.67075258

>>67075245
my friend started in QA, no degree in programming, and worked up to having his own office
anecdote, but I don't think it's terribly uncommon. A company would be stupid to look over someone with skills just because it's not on their resume.
Get in with that tech support if it's a company you'd like to rise in, then start learning their stack, express interest in a higher role, etc.

>> No.67075259

>>67075202
It sounds like you want C to be Go.

>> No.67075276

>>67075259
No, C is C, I like it for what it is. Fast, small set of keywords and concept so fairly "simple", a long legacy of backwards compatible libraries.
The only reason I don't use it for my day-to-day work is that I love using a REPL and have never bothered to find C solutions to that.
So I write in interpreted lang(s), and drop to C for bottlenecks.

>> No.67075286

>>67074681
Same in my area. It seems more startups are picking up asp core

>> No.67075365

If you could recommend one book that doesn't require a strong knowledge of math but is about programming all the same, what book would you recommend?

>> No.67075378

>>67075365
I would recommend you get over your baseless fear of mathematics and learn some math
though most programming will not require more than highschool algebra, and if that is your hold up, then I would even more strongly recommend you get over it

>> No.67075384

>>67075378
inb4
>b-but I'm more of a creative type
>not some kind of human calculator

>> No.67075388

>feel good when my file hits 1000 LoC
>feel good when I trim 50 LoCs with a simple design change
Is programming the best drug?

>> No.67075408

>>67075388
no, managing codemonkeys while you get blown by the cute intern is

>> No.67075513

>>67075408
>letting 3dpd prevent you from conquering abstract computational problems

>> No.67075544
File: 29 KB, 960x128, Screenshot from 2018-08-09 14-00-18.png [View same] [iqdb] [saucenao] [google] [report]
67075544

I'm new to this loonix shit
Why would running the same command in the default terminal (top) work and not work in visual studio code's terminal (bottom)?

>> No.67075553

>>67075408
>allowing women into the building in the first place
that's what I call GAY!

>> No.67075557

>>67075544
HELO VS HELLO YOU BLIND, BLIND, BLIND MOTHERFUCKER

>> No.67075580

I want someone to mix Go and C#
And then mix Python and Javascript for the ultimate black hole

>> No.67075582

>>67075544
ask your case worker for help my mentally deficient friend

>> No.67075601
File: 91 KB, 900x500, 2378471274821.gif [View same] [iqdb] [saucenao] [google] [report]
67075601

>>67075582
>>67075557
n-no bully

>> No.67075640

>>67075580
C# is already better than Go, why make the language worse by mixing it with a shit.

>> No.67075651

>>67075640
C# needs a cute mascot!

>> No.67075664
File: 99 KB, 640x640, 4712741287.jpg [View same] [iqdb] [saucenao] [google] [report]
67075664

ok, /dpt/, so I listened to you a couple of months back and started wearing programming socks
it actually fucking worked, and now I finally managed to get a job in the industry
I'm starting on monday, but I can't do remote work
which then leads to the issue of programming socks - I obviously can't wear them in the office, otherwise I'd be fired; at the same time, if I don't wear them, they'd think I lied about my skills and they'd also fire me and blacklist me for being a fraud
what the fuck do I do??

>> No.67075672

>>67075664
you don't *know* they'll fire you

>> No.67075675

>>67075664
wear them as arm sleeves and just say you're huge into the rave scene

>> No.67075682

>>67075651
So does Go, autistic gopher is sad, not cute.

>> No.67075688
File: 8 KB, 250x201, 1487420701799.jpg [View same] [iqdb] [saucenao] [google] [report]
67075688

Just learned Haskell.
Where do I collect my 300k salary?

>> No.67075692

>>67075688
did you change your github profile picture to an anime girl

>> No.67075694

>>67075664
Just wear them under your jeans.

>> No.67075695

>>67075682
Well, true, you got me there.

>> No.67075702

>>67075694
that defeats the purpose though, no?
Wouldn't the jeans block the programming energy??

>> No.67075706
File: 182 KB, 1013x1239, 1529934597324.png [View same] [iqdb] [saucenao] [google] [report]
67075706

>>67075682
the gopher is funny af I love it

>> No.67075710
File: 44 KB, 636x616, 1474325315193.jpg [View same] [iqdb] [saucenao] [google] [report]
67075710

>>67075692
Not yet. Is this any good?

>> No.67075712
File: 22 KB, 1705x179, c programming.png [View same] [iqdb] [saucenao] [google] [report]
67075712

>>67072649
No, don't start with c.
I use vscode. Later, you can install the vim plugin for vscode and you can have the vim editing experience in a more functional editor. Don't start with vim though, learn one thing at time.
Start with C# or something

>> No.67075720

>>67075710
perfect, soon you will be reporting in as an employed haskell programmer

>> No.67075730

don't learn C, learn [hipster meme language that will be dead in 5 years]

>> No.67075732
File: 84 KB, 1191x670, 8913247182471.jpg [View same] [iqdb] [saucenao] [google] [report]
67075732

remember what language has THE best girl

>> No.67075737
File: 110 KB, 1280x720, 1483073157801.jpg [View same] [iqdb] [saucenao] [google] [report]
67075737

>>67075720
Excellent

>> No.67075744
File: 140 KB, 500x834, 687474703a2f2f7777772e676f6c616e672d626f6f6b2e636f6d2f7075626c69632f696d672f696e74726f2f636f7665722e302e706e67.png [View same] [iqdb] [saucenao] [google] [report]
67075744

>>67075706
>promotional art
>autistic gopher doesn't realize he can't reach the pedals to start moving and just sits there in his helmet pretending he's going somewhere
You can't make this shit up.

>> No.67075747

fags,

Someone here knows how to install multiple .inf drivers at once on Windows 10? Prefer using terminal.

>> No.67075751

>>67075744
>he doesn't know about slopes
ummm sweety?

>> No.67075773
File: 77 KB, 690x720, fast anime.jpg [View same] [iqdb] [saucenao] [google] [report]
67075773

>>67075747
lmao just use linux rofl

>> No.67075781

>>67075747
GNU+Linux doesn't have this problem btw

>> No.67075792

>>67075751
This raises more question. Did someone pushed him off one? The bike has no brakes so he's clearly in danger. It this a suicide attempt? You can't blame him, life must be horrible for a creature with his proportions.

>> No.67075793

>>67075732
which language is that?

>> No.67075795

>>67075747
yes

>> No.67075797

>>67075773
No thank you, animu poster.

>>67075781
You mean, having drivers?

>> No.67075806

>>67075797
>You mean, having drivers?
Which devices do you have that Linux lacks drivers for?

>> No.67075809

>>67075792
He's going ultra fast as fuck, faster than C you could say.
The helping wheels and helmet signify safety even with speed and no way to stop.

>> No.67075816

>>67075793
Rust, and the best girl is Lisa: https://www.youtube.com/watch?v=str_mex__0M

>> No.67075831

>>67075806
The specific proprietary audio mixing desk that I'm working with.

It has multiple .inf drivers that I need to install into an image.

>> No.67075835

>>67075816
>she

>> No.67075849

>>67075816
She already has a bf tho

>> No.67075855

>>67075747
why the fuck are you using windows in the current year

>> No.67075864

>>67075855
Work. ¯\_(ツ)_/¯

But really. It's tons easier to develop on Windows with the current level of tools that we have.

>> No.67075873

>>67075864
> It's tons easier to develop on Windows
Maybe some Win32 shit, but in general Linux is way better as the developer's os.

>> No.67075886

>>67075873
Surprise, it's win32.

>> No.67075896

>>67075886
Sucks to be you.

>> No.67075915

>>67075809
He doesn't seem to be in control tho.

>> No.67075950
File: 70 KB, 882x645, CnaoeHFW8AA3uw7.jpg [View same] [iqdb] [saucenao] [google] [report]
67075950

Now I think of it, is it even male? It might as well be a female gopher, that would change everything.

>> No.67075966

>>67075950
gophers aren't male or female
they are male AND female

>> No.67076028

>>67073332
freelancing
build a software and sell it
try to findn a job

>> No.67076095

Reminder that Lisp can't make a text editor.

>> No.67076120

>>67075950
Honestly that thing is ugly af

>> No.67076132

>>67072128
Not to mention that haskellfags can't even use a strategy pattern™.
N-no, don't tell me about first-class f-functions, that d-doesn't count.

>> No.67076137
File: 269 KB, 1200x1200, c6.jpg [View same] [iqdb] [saucenao] [google] [report]
67076137

Hey /g/ ,

I have a coding interview coming up at a big social media site, I'll be using Python/SQL.

What kind of questions should I focus on?

>> No.67076142
File: 25 KB, 300x441, gopher brainet.png [View same] [iqdb] [saucenao] [google] [report]
67076142

>>67075950
whatever it is, it's retarded

>> No.67076146

>>67074936
who would use SQLite as part of a webstack

>> No.67076154
File: 162 KB, 720x1280, Screenshot_20180809-141744.png [View same] [iqdb] [saucenao] [google] [report]
67076154

What's with this annoying writing style in rusts docs? I can't read it without getting triggered.

>> No.67076163

>>67076154
>exclamation points
yikes

>> No.67076175

>>67075682
Gopher is cute and funny

>> No.67076187

>>67076154
>easy-going, positive and assuring style
What exactly wrong with it? Do you want the docs to hate you and tell you how worthless you really are?

>> No.67076199

>>67076154
You should avoid any language where programmers refer to themselves with a quirky name like pythonistas or rustaceans

>> No.67076210

>>67076146
The same person who would use OpenBSD for anything even remotely serious.

>> No.67076213
File: 27 KB, 448x277, news-15-08-neil-hamburger.jpg [View same] [iqdb] [saucenao] [google] [report]
67076213

>>67075864
>It's tons easier to develop on Windows

>> No.67076215

>>67076199
Why?

>> No.67076237

>>67076213
Nothing like needing to dicker your system up to install 4 billion different tool chains vs just installing Visual Studio and changing a few settings.

>> No.67076240

>>67076210
OpenBSD is great but SQLite is not made for handling the workload generated by web requests. Maybe for a dinky html website with some dynamic content. But not an API or anything serious

>> No.67076242

>>67076215
It's a community where developers place a much higher importance on how they're perceived rather than the quality of work, ease of work, openness, etc.

>> No.67076248

>>67071968
>C
>C++
>shit programming languages
Enjoy being a neet, faggot

>> No.67076275

>>67076215
Good programmers use multiple languages and don't define themselves by a specific language, and the language is dependent on the quality of the community using it (for libraries, bug fixes, docs...).

>> No.67076276

>>67076237
>using git in windows
>using any libraries in windows
>using anything but the pre-approved Visual Studio bloat
hard pass

>> No.67076286

>>67076276
VS uses git though. (And has a much better git gui built in than any other git gui)

>> No.67076287
File: 84 KB, 488x516, 3e3.jpg [View same] [iqdb] [saucenao] [google] [report]
67076287

>>67076242
Why can't they place a high importance the quality of work, ease of work, openness, etc. , and then call themselves funny names just for fun? Stop being autistic, m8.

>> No.67076306

>>67076276
>git in windows
Whats wrong with this? VS has it integrated (if you want it like that) or you can terminal it.

>Libraries
DLLs hell also exists in Linux (dependency hell).

>using anything but the pre-approved Visual Studio bloat
what

>> No.67076307

>>67076286
>needing a git gui
for what purpose
git add -A
git commit -m "blahblah"
git push

sometimes git pull too

>> No.67076308

>>67076287
Because that's not how it works, these 'names' aren't just for fun. Look into why google explicitly set out to create "googlers" as an example.
It's one thing if it's randoms just calling themselves whatever they feel like for fun, it's another when it's a very specific coordinated effort to brand everyone as a Pythonista or whatever.

>> No.67076318

>>67076306
>DLLs hell also exists in Linux (dependency hell)
when in the past 5 years has this been an issue on a debian-based distro?
it's always literally as easy as apt-get install blah-dev
are you suffering from alzheimer's, are you aware it isn't 1998?

>> No.67076321

>>67076307
>basic commit messages
banned from all of my repos you basic incompetent bitch

>> No.67076327

>>67076307
The gui is much better for comparing branches, doing merges, selective merging, comparing the curent file with its previous versions and so on.

>> No.67076336

>>67076318
>when in the past 5 years has this been an issue on a debian-based distro
>when in the past x years has this been an issue on [my specific subset of distros].

>are you suffering from alzheimer's, are you aware it isn't 1998?

Nah, it's 2018 grampa. Time to use tools that are easy to use, instead of spending 2 hrs every day fiddling with your tools.

>> No.67076337
File: 126 KB, 1045x744, meld.png [View same] [iqdb] [saucenao] [google] [report]
67076337

>>67076327
this is still never an issue
meld works great
if you are overcomplicating your git situation, that isn't linux's fault and it says nothing about VS

>> No.67076339

can you platform fanbois fuck off
potentially to myspace to argue about irrelevant shit

>> No.67076348

>there are people in the Daily Programming Thread on 4chan's /g/ who defend the use of Windows in 2018

>> No.67076363

>>67076348
>there are people in the daily shitposting thread on 4chans work board outside of /v/ who defend the use of bad and over complicated tools.

>> No.67076367

I suffer from Windows randomly slowing down, and even rebooting sometimes
Windows is still the best though right guys :)

>> No.67076371

>>67076337
That pic looks suspiciously like a gui.

>> No.67076372

>>67076237
>download C++ library for VS2017
>linker errors
>only works in VS2015
Also
>many libs don't work at all or are a fucking pain to setup
Yeah no

>> No.67076387
File: 242 KB, 1600x689, what windows users imagine.jpg [View same] [iqdb] [saucenao] [google] [report]
67076387

>>67076371
and?

>> No.67076394
File: 14 KB, 480x360, do not dumb here.jpg [View same] [iqdb] [saucenao] [google] [report]
67076394

>>67076199
>disregarding language not based on the language itself, or the tools available for it, but by what you think of the people who use it

It sounds to me like you're the one who places high importance on how you're perceived.

>> No.67076400

>>67076372
I can't defending Microsofts versioning "issues", it's stupid as fuck.

Also
>many libs dont work at all or a fucking pain to setup

How is this different on linux, exactly? It's easier to install different libs on Windows for VS using nuget or whatever the other one is called.

I've literally never seen a similar thing on any linux compilers or IDEs.

IDEs on Linux are fucking shite and lack even basic quality of life things.

>> No.67076401

>>67076367
yes there is no alternative
you must use Visual Studio
accept those random spikes in CPU usage, don't be such a nerd lol

>> No.67076409

>>67076401
There are other IDEs than Visual Studios on Windows.

It just happens to be that VS is thousands of miles ahead of any other IDE out there.

>> No.67076413

>>67076400
>IDEs on Linux are fucking shite and lack even basic quality of life things.
VS Code exists

>I've literally never seen a similar thing on any linux compilers or IDEs.
apt-get install <library>
that's literally it, on ubuntu-like distros

>> No.67076426

>>67076348
Only reason I haven't switched to Linux is because there isn't a developing environment that's as good as VS, every anti-ms guy always tells me it exists, but can never give me specific names. I don't even care if it takes a week to set everything up as long as the end product works as great at VS2015, but it's always something bag like 'just get vim'.

>> No.67076433

>>67071921
Fuck off weeb

>> No.67076436

>>67076413
>VS Code exists

Why not just use actual VS instead of that abomination.

>apt-get install <library>

Yeah, no. On the surface its that easy and a lot of time it is. Except when applications or other libraries require specific versions of specific libraries.

Developing on either *nix systems or Windows systems has this problem.

Dont pretend it doesnt exist on Linux when it clearly does.

Have you even done actual developer on linux? Hello world in the latest JS fad framework doesnt count.

>> No.67076439

>>67076400
>How is this different on linux, exactly?
The difference is that most of the time it fucking works. Every second library I download from nuget has linking errors. Fuck that shit.

>> No.67076442

>>67076394
See
>>67076275

If the poeple using the language are shit the la guage will become shit or stagnate.

>> No.67076450

>>67076439
nice anecdote. Check mine.

Every time I download a library using apt-get it doesnt work.

See why you're an idiot.

>> No.67076462

>>67076450
To be fair, using libraries for C(++) is always awful.

>> No.67076475

>>67076436
>Except when applications or other libraries require specific versions of specific libraries.
It really isn't a problem. Show me where this is a problem. At the very worst you are getting the specific version you want from git, and even in that case, git in linux is far more intuitive than in windows (torvalds made git after all)
How often are you using older versions of libraries, anyhow? I think this problem is overstated.
>>67076450
that's a cute anecdote but I severely doubt it. All path issues are completely taken care of for you, you can specify versions or install the latest version, there's just basically very few ways it could go wrong due to how linux is so focused on interoperability from the ground-up.

>> No.67076477

>>67076462
Yeah, regardless of platform. The same issue is on prevalent with C libraries.

>> No.67076480

Every time I add a library to Cargo.toml it just works.

>> No.67076494

>>67076475
>How often are you using older versions of libraries, anyhow? I think this problem is overstated.
Are you autismal? If you're not updating arch every day you're using outdated libraries.

>> No.67076498

>>67076475
You're completely ignoring the fact it's prevalent on both systems.

You dont even need to deal with the path for Nuget.

Just stop.

>> No.67076511

>>67076475
>Git is more intuitive in Linux
How? Seems the exact same to me.

>> No.67076518

>>67076511
It's more "intuitive", because it's "linux".
He's retarded.

>> No.67076528

>>67076498
but it isn't prevalent in ubuntu variants. I know you want to believe it is, and I'm not sure how to convince you, so I will stop bothering, but your perception of linux and mine do not match at all.
To be clear, I am nowhere near a turbo-autist, I choose the platform with the simplest situation for myself as possible. If that were windows, I would accept it, but it's not. My IDE is VSCode, because it's simply very good software. I have no gripe against MS, I just recognize that developing in linux is easier by far.

>> No.67076530

>>67076237
install g++ and you're set
vs install 20GB of visual studio, configure it to make it not retarded and you're set
hmmmm

>> No.67076533

>>67072718
what if the input is something like [ 4 7 15 1 15 ] the classic approach doesn't work :
if list(abs(list(i)) >=0
list(abs(list(i)) =*-1
else
print the abs value

>> No.67076586

Following: I wrote a simple game in c#. When it's running the task mngr shows about 10-15% cpu usage. Visual studio's performance profiler shows about the same, but it also says that 80%(exclusive sample) of the ~15% are used for Application.Run(new Form()).
The rest is is mainly used for OnPaint//DrawImage.
I get that drawing with GDI+ is slow and but why the high cpu usage on app.run()? Is this normal?

>> No.67076606

It is obviously normal that your windows gayme will spend most of the processing on the message loop and drawing itself.
Spending 80% of processing on the message loop means you are subscribing to and recieving shitloads of messages.

>> No.67076668

>>67076586
Also, taskman is no good for profiling programs and especially managed ones.
Use VS profiling tools if you have a pro version or get ANTS which is really really great.

>> No.67076672

>>67071848
nice we can ask perl questions here

>> No.67076682

>>67076672
There's only one perl question left: oh god why?

>> No.67076692

Please use anime image for the next thread. Thank you.

>> No.67076694

>>67076530
Yeah, then you have to compile it through the command line, vs pressing F5.

Very different.

>> No.67076751

>>67076694
>not having to type g++ filename -o filename is worth having 20GB less in your hard drive and having to use a retarded, obtuse IDE that requires you to google just to get a project going without any retarded things on top
hmmm yes this is the point where I recommend suicide

>> No.67076762

>>67076146
They're telling you to use C programs for slowcgi and you're worried about sqlite?

>> No.67076767

>>67076530
Install VS and you are set.
Install g++ and enjoy being a neckbeard

>> No.67076778

NEW THREAD
>>67076743
>>67076743
>>67076743

>> No.67076791

>>67076606
Yeah, it's the invoke_paint thing. I just tested it. Thanks.

>> No.67076793

>>67076682
because mojolicious is the best

>> No.67077292

>>67071848
>what are you working on, /g/?
>no using any programming languages

please never make one of these again anon. just leave it to the people who usually make these threads

>> No.67077384
File: 43 KB, 754x297, cyclic-graphs.jpg [View same] [iqdb] [saucenao] [google] [report]
67077384

>>67072601
Pic related

>> No.67077738

>>67075747
Just use a for loop? I don't understand the question.

>> No.67078703

>>67071968
they you should ban all the languages and only allow dialects of LISP, brainlet

>> No.67078829

>>67072533
C, C++ and C#

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action