[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/dpt/ - Daily Programming Thread
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 29
File: ko.png (389 KB, 934x1000) Image search: [Google]
ko.png
389 KB, 934x1000
What are you working on, /g/?
>>
>>52107255
First for D
>>
File: 1451334051362.png (73 KB, 644x1888) Image search: [Google]
1451334051362.png
73 KB, 644x1888
>>52107255
>Last time, on /dpt/
>>
F# is the best language
>>
>>52107232
my own renderer
https://gist.github.com/Wunkolo/249646f7a922ee045c70
>>
File: opcodes.jpg (99 KB, 669x569) Image search: [Google]
opcodes.jpg
99 KB, 669x569
>>52107255
nth for virtual machine programming
>>
>>52107296
how do I be you?
>>
>>52107296
make some shitty indie game and sell it on steam for $9.99
>>
>>52107282
D! D! D!
>>
>that guy in the previous thread listing the plus' of lazarus in an attempt at subtle advertising

yeah lad I'm sticking to python kthx
>>
>>52107356
*D!(D!D)
ftfy
>>
Any good book/place to learn graphics algorithms and procedural content generation?
>>
File: easy.png (229 KB, 1366x768) Image search: [Google]
easy.png
229 KB, 1366x768
I'm using Lua. It's incredibly easy to use. I always thought it was silly and not very powerful, but now I love it.
>>
File: logo.gif (6 KB, 133x63) Image search: [Google]
logo.gif
6 KB, 133x63
>>52107373
Good, there's not enough Lazarus shilling in these threads.

>Portable
>Fast
>Beautiful syntax
>Best GUI bulder
>Has all the libraries you'd ever need
>Friendly and helpful community
Why aren't you using Lazarus / Free Pascal, /dpt/?
>>
>>52107373
it pales in comparison to the blatant shilling of D, C# and F#
>>
>C is a subset of C++
bjarne has joined us guys
>>52107310
>>
>>52107412
The best part about the F# shill is that he has no idea what he's talking about ever
>>
Threadly reminder: here are the only languages worth using.
- OCaml
- ATS
- bash
>>
They say premature optimization is a sin, then does that mean it's bad that I am prematurely optimizing by reading about optimization techniques before even writing any code?
>>
>>52107421
OCaml is a pain in the fucking ass
t. first year CS student
>>
>>52107421
>- OCaml
can't into concurrency
>- ATS
at what? never heard of it
>- bash
if the script has more than 20 lines just write it in python
>>
>>52107418
>your language will never support built in syntax for computation expressions
>your language will never support easy, inline and type safe, compiler checked, user defined domain specific languages
>your language will never support expression capture and incredible reflection
>your language will never have a uniform, simple but clear syntax
>>
>>52107436
depends upon if you are prematurely optimizing your reading capabilities through supplements and practicing on lengthy novels
>>
>>52107436
it's one of the worst stackoverflow memes. only code monkey plebs use "premature optimization is the root of all evil" as an excuse to write horrible code
>>
>>52107296
>looks at other gists
for( size_t i = 0; i < SIZE; i++ )
{
Grid[i] = new uint32_t[SIZE];
}
for( size_t i = 0, dir = 0; i < (SIZE << 1) - 1; ++i, dir = i & 3 )
{
for( size_t j = 0, js = ((SIZE << 1) - i) / 2; j < js; ++j )
{
Grid[x += dx[dir]][y += dy[dir]] = j + 1 == js ? "\xC0\xDA\xBF\xd9"[dir] : "\xC4\xB3"[dir & 1];
}
}


What the fuck kind of wizard shit is this
>>
File: 1450630584890.jpg (52 KB, 629x389) Image search: [Google]
1450630584890.jpg
52 KB, 629x389
just gunna post in this thread too for maximum yield

Post GitHubs please

I want to see what resume-worthy personal projects other people may have as I have none
>>
>>52107436
If you know that something can be done far better for very little effort, that's premature pessimization, which is worse.

I wouldn't worry about it too much, just make sure your code is very well organized and decoupled so that you can change stuff when the need for more performance arises (or on a rainy day).
>>
>>52107255
You cantankerous little fuckers need to start putting the last thread in the OP.
>>
>>52107460
>can't into concurrency
It is absolutely excellent at concurrency.
>>
>>52107485
I'm the python faggot who kept posting his adventofcode solutions and synacor challenge virtual machine code over the past few weeks:
https://github.com/vinheim3

My company's dev department is full, so I'm just doing systems engineering, but they are looking for something for me as I've done pretty well. At this point, it looks like Powershell is what they're getting me to do once I'm done with my engineering contract
>>
>>52107410
>Why aren't you using Lazarus / Free Pascal, /dpt/?
Lazarus is an awesome IDE, its basically an open source copy of the old Borland IDEs. I would like to see Lazarus support more languages than just Pascal.

Pascal is not a bad language but it is an old language that can not match features with D, Go, Rust, Swift, etc. Pascal is dead and its going to stay dead.
>>
>>52107447
Baby duck git gud
Also don't use the ocaml interpreter, ocamlbuild, ocamlfind, or the default standard library. Instead, use coretop, corebuild and the Core standard library respectively.
>>
Janny was on the ball this time.
>>
>>52107540
>Go
lost all credibility in just 2 letters
>>
>>52107485
https://github.com/Wunkolo
I made SaiPal and Eldorito and some other random stuff
pls no bully
>>
>>52107526
I usually do, but I didn't like the blatant shitpost of an OP.
>>
>>52107540
Those languages are C-derivative, which makes them shit by default.

Speak Pascal or die.
Ada is ok too btw
>>
>>52107565
>Brainfuck interpreter
you are my nigga, now and forever
>>
>>52107465
oh look at the MS shill trying to throw around buzzwords about things that EVERY language can do. I thought the C++ shill was bad but you got to hand it to MS shills for spewing meaningless buzzwords to make the Visual Studio platform still appear relevant
>>
We went 22 posts without saying the 'm' word. I think that's a record
>>
File: 25834f8.jpg (81 KB, 500x375) Image search: [Google]
25834f8.jpg
81 KB, 500x375
>>52107400
Well, thanks anons.
>>
>>52107590
did you even read the code of conduct
you cant use that language in the dpt
>>
>>52107255
>animshit
>>
>>52107547
fortunately, wont need any of that for the exam :^)
>>
>>52107518
I refactor my code to the point where no function contains more than 10 lines of code.
Am I doing it right?
>>
File: dsd.png (12 KB, 592x284) Image search: [Google]
dsd.png
12 KB, 592x284
What should I put in my 4chan extension senpai?
>>
>>52107606
>F# is the ONLY language with built in syntax for computation expressions
>F# is the ONLY language with type safe, compiler checked domain specific languages
>F# is great for reflection and the only language I know that has expression capture.. other than shitty C#
>F# has amazingly simple syntax
>>
>>52107645
Globals or is everything passed around?
>>
>>52107611
brainfuck or nigga?
>>
>>52107485
And have everyone bully me for being a girl? Nice try but no thanks.
>>
>>52107647
What if I'm in the catalog, nerd?
>>
>>52107647
"javascript_isnt: programming":
>>
>>52107663
"Girl".

>>>/lgbt/ is that way.

Trannies are not welcome here.
>>
>>52107654
>coupling
when will this meme end?

also lads pls post your custom css
>>
>>52107663
LONDON
O
N
D
O
N
>>
>>52107677
I think /dpt/ has grown past that meme.
>>
>>52107686
It's not a meme when you're talking about optimization.
>>
>>52107656
>my nigga
implying he's your slave
that's against the constitution of code
>>
>>52107663
pls prove that you're legitimately a girl
>>
>>52107410
this
>>
>>52107699
>t. javascript monkey
>>
>>52107708
>tfw you realise scottish men don't exist
>>
n00b on webdev here, a friend told me yeoman has a login/authentication system that's easy to implement (im working with the mean stack) but i can't find a tutorial or info anywhere, can someone help?
>>
>>52107708
What proof do you want?
>>
>>52107724
if you appear to be a human cis female it will be good enough proof for me
>>
>>52107654
A pointer to an obect gets passed through a long chain of functions, each one doing only as much stuff as can be described by a two-three word camel-case function name.
>>
>>52107744
if a trans person has a sex change they become cis
>>
>>52107732
>webdev
you don't want to say that word too loudly here m8
>>
>>52107743
>pretending to be a girl on the internet
Literally why?
>>
>>52107667
I changed it to

https://boards.4chan.org/* 


senpai
>>
>>52107743
like a pic of your hand and wrist or something will be good enough. not that i have a hand fetish, you just don't need to show tits or whatever, just something that looks sufficiently feminine.
>>
>>52107743
Post hands
>>
>>52107763
Webdev is welcome here.

/wdg/ is a stupid meme that tried to divide /dpt/.

Don't fall for divisive memes, /dpt/.
>>
>>52107765
Have you never played a multiplayer game before?
>>
>>52107789
Webdev faggot please go. And take the trannyposter with you.

Only good, non-meme languages are allowed in /dpt/, like C.
>>
>>52107651
>false
>false
>false
>false
Grats.
>>
>>52107789
This explains why /dpt/ has dropped in quality so fucking much recently. We've been invaded by the fucking web devs. That also explains all the fucking javascript and python. Jesus fucking christ, it's horrifying.
>>
File: mr bean meme.jpg (99 KB, 400x400) Image search: [Google]
mr bean meme.jpg
99 KB, 400x400
>>52107777
>>52107786
>not that i have a hand fetish
>>
>>52107651
>>F# is the ONLY language with built in syntax for computation expressions
built in syntax for computational expression?? whats wrong, MS cant afford a real programmer to make shit up so they just get someone to say F# is the only language with syntax for computational expressions. Thats like if you pulled someone off the street who didnt know anything about programming and put a gun to their head and forced them to babble non-sense about programming

>>F# is the ONLY language with type safe, compiler checked domain specific languages
yeah, F# is the *only* DSL language, right, again the shill probably heard some programmer down the hall saying something about DSLs and so came up with the idea that only F# could do this

>>F# is great for reflection and the only language I know that has expression capture.. other than shitty C#
only language with expression capture, Id really like to here this shill try and explain that one, probably the shill opened up a book and saw a sentence about capture of expressions and then thought that was some kind of language feature

>>F# has amazingly simple syntax
I love ML family of languages, but simple syntax is certain not an attribute of these languages
>>
>>52107547
>coretop
>not utop
>>
>>52107765
>bullying people based on their sex
Literally why? This is exactly why I won't post my github.

>>52107777
>>52107786
If that's all the proof you want then, sure, give me a second. I'm surprised you don't want results of a genetic test or something ridiculous.
>>
>>52107810
>python
>bad
fite me right now

I fucking dare you, bring it cunt
>>
>>52107805
prove it faggot
>>
>>52107789
web devs are seriously stupid as shit and don't deal with the same topics as programmers. web devs don't belong here.
>>
>>52107817
Coretop is a wrapper over utop that has saner configs and loads core stuff by default.
>>
>>52107818
Sorry but there are no female programmers. Every "female" programmer is actually a MtF trannyposter.

Again, please see yourself out:
>>>/lgbt/
>>
are females a meme?
>>
>>52107846
there were two votes in the recent strawpoll for "white cis female". it might be possible.
>>
>>52107797
I hate the tranny poster as much as anyone, anon. I even got a range ban thanks to him.

But anon, please be welcoming to webdev. JavaScript and back-end programming languages like PHP are programming in fact /dpt/ related.

It's only ok to bully them for asking HTML or CSS questions, ok?

For /dpt/ to be fun we need it to be an active thread.
>>
>>52107460
>can't into concurrency
I don't think you know what concurrency means
>if the script has more than 20 lines just write it in python
lol no just use Perl6 boi
>>52107845
oh okay, I haven't actually used it before lol
>>
>>52107885
>>>/wdg/
FUCKING SCUM
>>
File: QTbMVtx.png (303 KB, 1850x663) Image search: [Google]
QTbMVtx.png
303 KB, 1850x663
>>52107869
Yes
>>
File: IMG_0067.jpg (653 KB, 1536x2048) Image search: [Google]
IMG_0067.jpg
653 KB, 1536x2048
>>52107818
>inb4 I get accused of being a tranny again

>>52107846
Please use a trip so I can filter you.
>>
>>52107814

It mixes in with the second point, they're an extension on continuations. As I fucking said, F# is the only language with a simple syntax that gives TYPE SAFE and COMPILER CHECKED (and not just at build time) domain specific language support. Nothing comes close to it.

Expression capture is a feature. Sometimes it's nice to know that someone gave you (x+2*y) rather than 5 or whatever. It's also nice because you can do things like get the variable name.

ML syntax is a lot less convoluted then many other syntaxes

F# is obviously not perfect. CLR doesn't support type classes, F# is unlikely to any time soon (I believe there was a suggestion to emulate them or keep them an F# thing but I'm not sure?), and it's awkward when it comes to mutability
But it's pretty fucking good
>>
>>52107789
Fuck that, I don't want to share a thread with fucking webdevs.

When will we have enough graphics programmers here to revive graphics programming general?
>>
>>52107907
tranny hand/10
>>
>>52107919
i'm a graphics programmer
>>
File: 1402768377657.gif (1 MB, 160x120) Image search: [Google]
1402768377657.gif
1 MB, 160x120
>>52107296
>win32
>>
>>52107907
LONDON
O
N
D
O
N
>>
>>52107935
win32 is beautiful
>>
>>52107907
I'd pair program using D with you if ya catch my drift
>>
>>52107907
https://www.reddit.com/r/transpassing/

nah but seriously it looks like it might be legit. not 100% confident (some guys look very faggy)
>>
>>52107907
which languages do you consider a meme?

also post github
>>
>>52107907
Are you even trying? I have more feminine hands than that and I'm a guy.
>>
>>52107939
His D or yours?
>>
>>52107956
Python and no.
>>
I didn't know Perl was still a thing that people used

>>52107961
might wanna consider trt m8, her hand is quite feminine
>>
File: ii.png (573 KB, 1012x1088) Image search: [Google]
ii.png
573 KB, 1012x1088
>You will never be able to get easy (You)s because of your sex

Why even live?
>>
>>52107961
skin looks very soft
peach fuzz, no visible androgenic hair
ring finger shorter than index finger
>>
>>52107985
>Python
yeah piss off
>>
>>52107987
>her
>>
>>52107987
>her
>>
>>52108008
>implying python isn't a meme
>>
>>52107987
If I waxed my hair off then my hand would look more feminine than hers. And you goddamned know a tranny would wax their hair.
>>
File: Laughing-Frog-Man.jpg (25 KB, 400x386) Image search: [Google]
Laughing-Frog-Man.jpg
25 KB, 400x386
>Hiring programmers for my company
>See female name on resume
>Into the trash it goes
>>
>>52108028
>anti-python hour
Come back when you've implemented a virtual machine slut
>>
What's the best way to loop from n to (and including) 0 where n is size_t?
>>
>>52108047
You're a neet though
>>
>>52108052
for i in range(n,-1,-1):
#execute code
>>
>>52108051
But I already have, and it definitely wasn't in Python.
>>
>>52108047
riiiight
>>
File: pepe-the-frog-animated.gif (80 KB, 592x415) Image search: [Google]
pepe-the-frog-animated.gif
80 KB, 592x415
>>52108054
I was talking about future me.
>>
>>52108082
>-1
size_t is unsigned
>>
>google image search for "tranny hand"
th-this wasn't what i expected

NSFW
>>
>>52108113
didn't ask for your opinion m8
>>
Well, this thread is over.
>>
>>52108052
for (size_t i=n-1; i<n; --i)

// or if you wanna include n
size_t i=n;
do {
} while (i--<n);


requires n < SIZE_MAX
>>
>>52108052
You can treat size_t like an integer.

size_t n = /* something */;
for (size_t i = n; i >= 0; i--)
{
/* Do something */
}
>>
>>52108145
If you needed proof that "women" are a meme, look no further. A dumb tranny poster singlehandedly derailed an entire /dpt/.
>>
>>52108145
t. the guy who has fetish for bestiality
>>
File: 8YJuKc1.jpg (11 KB, 526x526) Image search: [Google]
8YJuKc1.jpg
11 KB, 526x526
>>52108145
>woman posts in thread
>thread is ruined
WHY DO WOMEN FUCKING RUIN EVERYTHING

RRRRRRRRREEEEEEEEEEEEEEEE
>>
>>52108000
>>>/reddit/
>>
>>52108187
woah
beastiality is bad, but it is not as bad as wanting to sleep with b women
>>
>>52108187

If she were black, this thread would be proceeding as usual.
>>
>>52108179
>i >= 0
When is this ever false for an unsigned integer?
>>
>>52108192
"woman"
"women"
Sorry bud.
>>
>>52108179
This'll loop forever m8
>>
>>52108052
>>52108165
oops, the do-while should be --i<n of course.
>>
File: x2qJi.png (32 KB, 200x155) Image search: [Google]
x2qJi.png
32 KB, 200x155
Rosalind with solutions in R.

How many people here who do it actually have a background in biochem or whatever? I study in a business school so am just doing it as a time-waster over the holidays. Most problems are pretty easy and I haven't bothered reading the background info. But now I'm running across problems that I at least have to read a bit about before I get an idea for an algo.
>>
>>52108165
Is that better than this?
while (1) {
...

if (n == 0) { break; } else { --n; }
}
>>
The new term for SJWs that's gaining traction is "crybullies", I like it tbqh.
>>
>>52108351
>>>/reddit/
>>
>>52108372
Anyone who is anti-SJW is reddit?

You sound like a crybully tbqh.
>>
>>52108351
>>52108398
Why are you talking about SJWs in a programming thread?
>>
>>52108351
>>52108239
>>52108222
>>52108202
>>52108192
>>52108181
>>52108145
>>52108108
>>52108107
>>52108047
>>52108035
>>52108022
>>52108021
>>52108002
>>52108000
>>52107987
>>52107961
>>52107945
>>52107937
>>52107923
>>52107907
>>52107869
>>52107846
>>52107818
>>52107791
>>52107786
>>52107777
>>52107765
>>52107759
>>52107744
>>52107743
>>52107708
>>52107690
>>52107680

...and lastly, the source of it all:
>>52107663

Remember /dpt/, the only thing worse than a trannyposter is an attention whore. Whether or not this particular poster is female (hint: he's not), this one post is responsible for ruining /dpt/.

Next time don't respond to this bait.
>>
Anyone here familiar with the Twitch API? I'm trying to use it to see if a channel is live.

From what I can tell you are supposed to query:
/kraken/channels/CHANNELNAME


StackOverflow tells me to check for a "stream" key, and if it does not exist the channel is offline, but it seems that the stream key never exists, even for online channels so it seems that information is a bit out of date.
>>
>>52108412
Because they've infested programming communities?
>>
>>52108433
all me
>>
>>52107919
graphics programming here
>>
>>52108433
>all those posts wasted
>could instead have been wasted on linked lists
>could instead have been wasted on someone shilling F#C#DC++Cetc
>could instead have been wasted on arguing about the average of two integers

Feels good man
>>
>>52108315
Dunno, you have to look at the disassembly, the ones I posted will give you:
@@:

dec rcx
cmp rcx, rdx
jb @b

on any compiler I've tested, which is the ideal.

Although if you can use signed integers because that will give you the even better:
dec rcx
jns @b

(make sure it's a ptrdiff_t if you're using it to index arrays so you don't get a bunch of movsdx on x64)
>>
>>52108458
Or it could have a great discussion about how GPL is communism.
>>
>>52108052
    size_t i;
bool repeat = true;

for(i = n; i != 0; --i) {
loop:
// do someshit
}

if(repeat) {
repeat = false;

goto loop;
}
>>
>>52108433
I'm still making programming related posts (trying to anyway; it's hard with all the shitposting), it's your fault for sperging out that I'm a girl.
>>
>>52108192
>RRRRRRRRREEEEEEEEEEEEEEEE
shut up """""""""""""""""specialfag"""""""""""""""""
>>
>>52108502
trannies are not real women
>>
contemplating suicide lads

you people bully python too much
>>
>>52108543
python users wont be missed
>>
File: 1431379318885.jpg (78 KB, 1254x261) Image search: [Google]
1431379318885.jpg
78 KB, 1254x261
>>52108502
see pic

to be fair you did post your hand

but you didn't need to mention that you're a girl

i don't think anyone ITT mentioned that they were male
>>
>>52108528
Correct, but some trannies are based and out of respect we should use female pronouns and refer to them as women.

For example:
https://www.youtube.com/watch?v=7BHEsvEX0QM
>>
>>52108474
Is it possible for casting size_t as ptrdiff_t to mess up? There's no reason I can't use a signed integer type, but I didn't think there was one that was guaranteed to fit all values of size_t.
>>
>>52108588
bullshit there's literally nothing wrong with calling a tranny a guy
>>
>>52108589
ptrdiff_t (or any signed integer) is not guaranteed to fit all size_t values *in theory*.
In practice though, do you really expect n to be greater than 2^31 (32 bit) or 2^63 (64 bit)?
If n is always less than both, using signed integers is fine, and the conversion from unsigned to signed is well defined (value preserving)
>>
>>52108658
ptrdiff_t is guaranteed to fit at least (size_t values - 1) values
>>
Alright, no more shitposting.

What memes are you working on, /g/?
>>
>>52108692
Shilling F#, D and C++
>>
File: 1449861621689.png (156 KB, 496x456) Image search: [Google]
1449861621689.png
156 KB, 496x456
>>52108692
>no more shitposting
>shitposts
>>
>>52108658
Not in practice, no. I'll just use ptrdiff_t and a traditional loop then. Thanks.
>>
File: opcodes.jpg (140 KB, 669x723) Image search: [Google]
opcodes.jpg
140 KB, 669x723
>assigning a called function with no return type to a variable makes that variable a NoneType equal to None
Why does python keep getting sexier lads? Now I don't have insI set to global everywhere
>>
there's literally nothing wrong with liking D

especially if you have it
>>
What is something simple and useful that a Javatard can program?
>>
>>52108786
IRC server
>>
>>52108786
List all prime numbers up to the maximum integer.
>>
>>52108770
and that bottom if block could be shortened to
insI=insI+len(args)+1 if a==None else a

if I was feeling autistic enough
>>
>>52108791
>Turnkey communication solutions
FTFY
>>
>>52108786
How much rice should be served amongst K (configurable value) customer based on a constraint system around preferences (from input, too) v.s. rice resources available per day along with their curry.
>>
>>52108809
Make a meme triangle out of prime numbers.
>>
>>52108837
is it oriental curry or indian curry?
what are the people's races?
should we take people's preference for type of rice into account?
>>
>>52108872
basmati and garam masala, all you need
>>
>>52108992
i like you
>>
r8
#returns a 2-digit-length uppercase hex equivalent of a 8-bit decimal number
def d2h(n):
digits=list(str(let) if let<10 else chr(ord('A')+let-10) for let in (n/16,n%16))
return "".join(digits)
>>
>>52109127
better yet, let's make it a cheeky one-liner
#returns a 2-digit-length uppercase hex equivalent of a 8-bit decimal number
def d2h(n): return "".join(list(str(let) if let<10 else chr(ord('A')+let-10) for let in (n/16,n%16)))
>>
>>52109127
why not use hex()?
>>
>>52109280
I-I had no idea it existed

thanks
>>
>>52109127
hexdigits = '0123456789ABCDEF'

def d2h(n):
return '{}{}'.format(hexdigits[n / 16], hexdigits[n % 16])
>>
>>52109445
jesus christ I'm an idiot, that is quite smart

thanks you 2
>>
>>52109445
The format is completely unnecessary.

def d2h(n)
return hexdigits[n / 16] + hexdigits[n % 16]
>>
File: funcs.jpg (63 KB, 669x325) Image search: [Google]
funcs.jpg
63 KB, 669x325
>>52109486
before the format post, this was my implementation of d2h. It's not a cheeky one-liner, but still looks much neater than the previous posts and the 10-ish line algorithm I had previously
>>
>>52107529
What is your job like? I'm going to be an intern in systems engineering this summer and I don't know what to expect. Never done anything like it; I just didn't want to be a codemonkey.
>>
>>52107291
what the fuck is this shit
>>
File: CdguV[1].png (158 KB, 1920x1080) Image search: [Google]
CdguV[1].png
158 KB, 1920x1080
Trying to use LocalReport in MVC 5 but with no success. I just want to be able to export my database to excel. I'm following a tutorial and everything and I get this error. Anyone know whats up?
>>
>>52109578
For the systems engineering part, the current contracted work is where I set up appointments with the company's clients where they won't have their EPOS systems on for a good number of hours, and I remotely connect in and upgrade them to the latest version, as well as upgrade their till software, and test it's all working.

There are about 160 sites that don't have the latest version and it takes 4 to 8 hours to upgrade them.

In between, I might do some support roles where I connect in and help them out, just because upgrade time depends on how many complications I face, so an easy site will leave me with nothing to do for hours.

In the meantime, they're looking for a programming role for me to take up permanently
>>
>>52108770
>print "[...]"
0/10
>>
>>52109653
i should have been the codemonkey
>>
>>52109608
Memechan collates all the words used in a dpt thread and sorts them by count.

We hope to see the frequency of meme posts so we can calculate how many years it will take for there to be at least a 50% chance that meme doesn't appear
>>
>>52109550
I'm pretty sure that format was used intentionally to avoid concatenation
>>
>>52109676
lol it's actually quite fun, easy at times and structured. It only takes a long time because there's a variety of steps. I like it despite loving being a codemonkey more

If you have foreign sites, that's where it might be an issue, especially for us, because our system doesn't read non-english characters for whatever shitty reason the original dev team had
>>
I have a question. Is the C++ standard library in gcc compatible with the standard C++ library in LLVM?

For example. if i have a code completion program that relies on gcc C++ libraries and compile with clang++, will i run into any problems?
>>
>>52109780
As long as you aren't relying on implementation-defined behaviour, then yes, you should be fine (barring bugs in either library).
>>
File: cry.png (1 MB, 1280x720) Image search: [Google]
cry.png
1 MB, 1280x720
>order used K&R
>it's old as hell
>printed in INDIA, 1993
>>
>>52109806
lmao did you just give the poor guy very general advice? and still not help with his specific question?
>>
>>52107291
>>52109679
I have a 4chan scraper as well. Wanna collab?
>>
>>52109918
>order second hand without seeing it first
baka desu senpai
>>
>>52109918
>deprecated languages
you deserve it tbf
>>
>>52109951
all used book sellers are like this
nobody bothers posting a real picture

at least it was only $8
now how do I disinfect it?
>>
I'm trying to learn networking in C++. All the things I found online only show for C.

Is it any different in C++ or am I just stupid?
>>
>>52109998
>india
probably more feces on it than your local sewer m8
>>
>>52109925
Making sure you don't rely on implementation-define behaviour is literally the only thing you need to do to make sure your application is compatible with any standard library.
>>
>>52109998
why not ask them to take a quick picture.
if they can't provide, move on
>>
>>52109998
>India
You could boil it but you might as well just burn it.
Otherwise enjoy your diarrhea and countless of other diseases.
>>
>>52110029
i asked once, they said it was not worth their time
>>
>>52110006
lol
>>
>>52110088
should have just bought a first-world copy, that way you get the version you want too. Why did you choose POO IN LOO of all places?
>>
>>52107436

The way I look at premature optimization is like this -- if optimizing would take a significant amount of time more than just doing something intuitively, I'll stick in a todo to optimize it, maybe with a short generic description of the optimization technique. More important to get it up and running first. If an optimization would not take much more time, however, I'll just do that anyways.

And there is nothing wrong about spending time learning about how to optimize, especially if you don't have a project that needs to get finished by the end of the week.
>>
>>52109806
Sounds like im in the clear.

Thanks senpai.
>>
Good morning guys.
>>
>>52110269
memes
>>
>>52110127
>seller is in united states
>book ISBN is the american version
>book received is the eastern economy edition
should I just file a claim and claim I didn't receive the order as described?
>>
>>52110311
>should I just file a claim and claim I didn't receive the order as described?
that you are implying you haven't yet is racking my brain anon
>>
>>52110269
Good evening, faggot.
>>
>>52110269
Go back to work you aussie shitposter
>>
File: io.jpg (131 KB, 678x350) Image search: [Google]
io.jpg
131 KB, 678x350
>>52110353
I hate that Australians get all the credit for shitposting.
>>
>>52107255
Why don't we meme magic a new programming language into existence so that C can finally die?
>>
>>52110423
bjarne already did that
>>
>>52110423
We'll call it the Meme Programming Language

I'll start the logo.
>>
Hi chums.

I have a decent job doing small winforms / wpf / asp.net sites. I am productive and everthing works but I'm not really accountable to anyone besides my customers and they don't really give two-shits about how it looks underneath.

That means when I want to go get a more difficult job, I'm going to get reamed when I interview / show them code because it won't have been critiqued by anyone better.

So basically, how do I get better all on my own? Code quality, architecture, things-good-developers do type of stuff?
>>
>>52110474
To be a true meme it has to be dynamically typed and it has to have curly braces.
>>
>>52110482
here are a couple things to google that will help:
-design patterns
-algorithms
-idioms
-anti-patterns

Then brush up on your skills by taking whatever programming challenges online you can find
>>
>>52110341
Is that sort of language necessary?

>>52110353
Tokyo :')
>>
>>52110523
REEEEEEEEEEEEEEEEEEE

I GET UNNECESSARILY AUTISTIC WHEN SOMEONE POSTS A MLP IMAGE.
>>
>>52110562
Fucking weebs
>>
>>52110523
*HANDS SHAKING*
>>
>>52110562
>Tokyo
What's the most popular programming language in China, anon?
>>
>>52110562
>he fell for the Japan meme
>>
>>52108315
>not simply using goes to operator
>>
File: goto.png (26 KB, 740x201) Image search: [Google]
goto.png
26 KB, 740x201
>>52110846
>>
>>52110846
next you're going to say eval is fine
>>
>>52110884
>does not even know goes to operator
why /dpt/ is so shit
>>
>>52110562
>being this much of a weeb
>>
>>52110910

no --> u
>>
>>52110910
Don't forget about the legendary slides to operator
int main() {
int i = 100;
// while i slides down to 0
while ( i --\
\
\
> 0 ) {
printf("test");
}
}
>>
index = 2
result = "a"
while index <4:
result *= 2
index += 1
print(result)


Let me get this straight. This is how I figured it out:

result = a
result *= 2: result = result * 2, which is in this case: a * 2 = aa

index becomes 2 + 1 which makes it 3.

How is the answer not "aa" but "aaaa" instead? Isn't it supposed to stay below index "4" ?
>>
File: disapprove.gif (777 KB, 400x222) Image search: [Google]
disapprove.gif
777 KB, 400x222
>>52110942
What hte fuck is this
>>
>>52110963
because that while loop iterates twice you dumb python programmer
>>
>>52110981
Isn't it clear, self documenting, and elegant? Just like its cousin. The goes to operator :^)
>>
>>52110981
escaped newlines
You can break any sort of statement into multiple lines for readability or otherwise
>>
>>52110981
it is the legendary slides to operator that was planned for c14, sadly the standard never released
>>
>>52110963
>>52110989
this is why whitespace marking blocks of code is a stupid idea
>>
>>52110981
vba tier languages 'dynamics' and 'syntatic sugar' that is included in the C lang

By the way, the goes to operator is not by any means an actual operator. It is a combination of operators
>>
>>52110942
lost it
>>
>>52110989
I still don't get it. I understood so far if you used "if" instead, the answer would obviously be "aa".

If it says:

index = 2
while index <4
index += 1


does that mean it loops 2 times before adding +1?
>>
>>52111050
index = 2
result = "a"
while (index<4) {
result *= 2
}
index += 1
print(result)

would be even worse
>>
>>52111106
index = 2
result = "a"
while (index<4) {
result *= 2
index += 1
}
print(result)
>>
>>52111102
index = 2
while index <4
index += 1

in Python wouldn't do shit because you didn't indent
>>
why do people hate brackets in languages?
your logical structures shouldn't be dictated by the number of spaces between tokens
>>
>>52111163
Because they fell for the whitespace meme.
Thread replies: 255
Thread images: 29

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.