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



Thread archived.
You cannot reply anymore.



File: 1526404189266.jpg (930 KB, 3840x2400)
930 KB
930 KB JPG
What are you working on?
Previous: >>65953145
>>
File: 1516835476392.png (164 KB, 409x325)
164 KB
164 KB PNG
>/prog/ is dead
>there are no good programmers left on the four chins
>>
posting int this one because the other one uses that retarded webm
>>
File: 1525691272161.jpg (67 KB, 800x790)
67 KB
67 KB JPG
>>65959363

>softwareonly animeNEETs think they know anything about hardware
>>
non pleb way of writing this?

def score_game(self, X, y):
scores = self.score(X)

count = 0
for i in range(len(scores)):
if scores[i] == y[i]:
count += 1

return count



Can it be done in less lines or use a special function I'm not remembering?
>>
>>65959374
Reminder that a fucking hobo can write better PHP than that of 4chin's
>>
What book for c# ?
>>
File: SWEATING FURIOUSLY.png (142 KB, 415x367)
142 KB
142 KB PNG
>google an error
>only result is the source code where the error is thrown
>>
File: gorocks.png (76 KB, 597x458)
76 KB
76 KB PNG
>>65959363
Why have you not switched to Go yet, /g/?
>>
>>65959399
It's python. There is no way to make it non-pleb.
>>
>>65959421
Because I don't anticipate 20,000,000 http requests per second.
>>
File: file.png (2 KB, 681x60)
2 KB
2 KB PNG
>>65959421
>her website
10/10
>>
>>65959421
Waiting for 21 century features. Like GENERICS FOR EXAMPLE.
>>
>>65959421
>20,000,000 http requests per second.

for what reason??
>>
>>65959421
>20mil/sec

Is that even possible or just BS?
>>
File: circuitgirls2.jpg (88 KB, 1500x938)
88 KB
88 KB JPG
/dpt/-chan, daisuki~


>>65959421
harmful

>>65959399
something like this
return sum( (x == y for x, y in zip(self.score(X), y)) )


>>65959381
http://www.phauna.org/papers/anime/anime.pdf

>>65959374
Please, don't say that. /dpt/ is still the best programming community on the web.

>>65959363
Thank you for using an anime image.
>>
>>65959381
I implemented a master-slave flippity flop using ur mom lol
>>65959421
How about you beat python first?
>>
>>65959421
>highly optimized parsing for a very narrow use case
yeah
>>
>>6595974
>the state of this delusional weeb animeNEET
absolute cringe
>>
>>65959437
>I've broken the 2 HTTP requests/second ceiling with Wordpress for the first time!
>>
>>65959363
that solder looks awful.
>>
File: 0_1YuoubeiC1RDxWvG.png (72 KB, 800x373)
72 KB
72 KB PNG
>>65959421
>this is a "hello world" in Go
LMAO
>>
File: best-csharp-book.jpg (778 KB, 832x1118)
778 KB
778 KB JPG
>>65959414
>>
>>65959501
it's paste before it goes through the oven
>>
>>65959399
(reduce (fn [acc x] (+ acc (if (= (car x) (cdar x)) 1 0))) 0 (zip scores y))
>>
>>65959502
>benchmarking hello worlds
the state of /g/
>>
>>65959421
I find it hard to believe that you can serve an HTTP response in 50ns.
>>
>>65959514
do fizzbuzz next
>>
>>65959399
you could use reduce but what you're doing there is perfectly clear and readable
don't undervalue clarity
>>
>>65959508
>written in hindi
>cover has a bunch of white people on it
>>
>>65959514
>n-not in this case
>muh highly optimized for specific task
>muh 20Mil
>same perf as java
>>
>>65959529
Those are diversity hires obviously.
>>
>>65959414
Learn C# is a good one for beginners and C# in depth which discusses the language and its history for someone with an intermediate knowledge of C#
>>
may someone repost the invite to the dpt discord, please
>>
>>65959564
for the nth time there is no /dpt/ discord
>>
>>65959564
This one? 8VuQrkC
>>
>>65959568
i am pretty sure there is one
>>
>>65959564
https://discord.gg/4TuhPhr
>>
>>65959574
#NotMyDiscord
>>
chromium:
>background-color:
>background-image:
can be in any order

FF:
>If background-image is above background-color it fucks up the positioning of the background
>>
>>65959578
thanks senpai
>>
>>65959587
That's because it is not yet rewritten in rust!
>>
>>65959595
Wow rood. Why did you ignore the server I posted?
>>
>>65959608
not funny, are you 12 yo or something?
>>
>>65959614
Why are you so mean?
>>
>>65959363
Horrible bloated ASP.NET MVC web app with some shitty bootstrap theme on the front end. Visual Studio is a shit show and I'm losing my mind with Entity Framework
>>
>>65959635
>>>/g/wdg
>>
>>65959661
This is programming retard.
>>
>>65959661
I never asked for this, I wanted to be a programmer
>>
>>65959679
Webshit is really not programming
>>
>>65959695
How is it not?

Explain your reasoning.

p.s. this is gonna be good
>>
File: wow anon.jpg (78 KB, 884x574)
78 KB
78 KB JPG
>>65959695
https://github.com/copy/v86
https://copy.sh/v86/
>"not programming"
>>
>>65959695
The hilarious thing about asp C# is it's a fucking compiled language, and they are using it to serve fucking websites.
>>
File: DI_fAfQW4AAPqmF.jpg (41 KB, 484x484)
41 KB
41 KB JPG
>>65959679
There is a designated thread for webshit. Fuck off websoy
>>
>>65959726
akariposter is not a webshitter please do not insult him
>>
>>65959363
Still working on my toy Lisp interpreter, added loops and pattern matching yesterday.
>>
>>65959726
That is a special case.
>>
>>65959741
I guess this is the designated programming circle jerk thread

>>65959745
lmao
>>
>>65959736
What's so hilarious about that? Interpreted languages are more prevalent on servers only for historical reasons.
>>
>>65959745
Lol
>>
>>65959745
https://bellard.org/jslinux/

>Run Linux or other Operating Systems in your browser!
>>
>>65959754
That they stuck the entire build process together, ie you can't work on css without waiting for the entire dotnet build to complete, why would anyone think this is a good idea when gulp is a thing?
>>
>>65959756
>>65959752
Dont kid yourselves into thinking that this is what you normally do in webdev
>>
>>65959783
Dont kid yourself into thinking that this is what you normally do in programming
>>
>>65959736
What did you mean by this?
>>
>>65959726
That's quite neat.
>>
>>65959775
Why would changing CSS entail recompiling the project? CSS should be in a separate file(s) that the server program loads after it's launched. Same thing with HTML and JS. Even if HTML is really a HTML template, in most cases you should be able to change it without changing the source code of the program. Golang works like that.
>>
>>65959775
It doesn't matter, that doesn't mean that compiled languages are flawed for this, it just means the framework sucks because it doesn't let you dynamically reload static content.
>>
>>65959823
You are probably right, the waiting is just getting to me
>>
>>65959823
What the fuck are you on about? You can modify css even after compilation.
>>
>>65959833
I wouldn't know, it's just the other anon said you cannot do that in which case I'm saying the framework sucks if that's the case, if it's not then that's all fine.
>>
anyone have experience with utlist.h bindings. i didnt want to have to write all the shit for linked lists in c so i just used that but it doesnt seem like the LL_FOREACH is working. that or im not prepending my elements correctly. Anyone know whats up?
>>
>>65959736
I think you might be stupid.
>>
>>65959832
Launching the IIS and the web browsers are normally the slowest steps when debugging.
Just leave those two open and you don't have to wait a lot anymore. The compilation step is literally milliseconds even on a turtle.
>>
>>65959564
>/dpt/
>/g/
>using discord over irc
jesus fucking christ
>>
>>65959850
I'm starting to think so too
>>
File: 2018-05-16_15-14-25.png (15 KB, 801x581)
15 KB
15 KB PNG
You can delete your account with just one click.
And it has optional javascript convenience when adding channels.
>>
>>65959891
metachannels.ga

forgot link
>>
>>65959846
Just upgrade to C++.
>>
File: 13b.jpg (338 KB, 1369x1183)
338 KB
338 KB JPG
>>65959846
>not writing your own container library
>>
>>65959363
https://sourceforge.net/projects/win-agui
>>
>>65959876

imagine being this fat
>>
>>65959909
>>65959891
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.

>Password fields present on an insecure (http://) page.
>This is a security risk that allows user login credentials to be stolen.

step your game up
>>
>>65959911
no
>>65959915
maybe but i dont really want to
>>
>>65959916
Work on extending glass to client region and aligning elements/insreasing icon size
>>
>>65959934

imagine inserting two newlines after post number
>>
>>65959955
you did
>>
>>65959363
No macro windows.h and few very light wrappers over certain types in c++17.
>>
>>65959935
thanks, will fix vue issue
doesn't ssl license cost extra money?
>>
>>65959999
https://letsencrypt.org/

>Let’s Encrypt is a free, automated, and open Certificate Authority.
>>
>>65959999
>>65960016
to add onto this. you can script letsencrypt to auto renew you every time it expires.
they may even provide the script themselves now.
>>
File: 1_8DmHnyL3kaqh13wOAiXCQQ.png (689 KB, 1600x3080)
689 KB
689 KB PNG
>>65959876
irc died a long time ago and doesn't have the tenth of features provided by discord.
>>
>>65959999
>>>/g/wdg
Fuck off webshits
>>
>>65960060
read this sentence.
>>
>>65960060
this
>>
>>65960059
https://discordapp.com/privacy

out with you
>>
File: summer.png (1.03 MB, 984x954)
1.03 MB
1.03 MB PNG
>>65960059
>irc died a long time ago
lmao ffs. it's still the best place to ask questions on open source projects/get involved.
>doesn't have the tenth of features provided by discord.
>4chan doesn't have a tenth of the features provided by facebook!!
sure is starting to feel like summer. get your faggy gamer trash client out of here.
>>
>>65959999
>ssl license
OI m8, CAN I see yer SSL Loicense?
>>
>>65960124
how did UK fall into this pathetic state?
>>
>>65960059
This triggered me. Get the fuck out.
>>
I want to build an android app from github, I tried opening it using Android Studio (File->Open) but it can't be compiled. What do I need to do?
>>
>>65960137
MAYBE, JUST MAYBE, CHECK THE ERROR LOG?
>>
JavaScript is the most hardcore programming language.
>>
>>65960060
I don't like /wdg/
I don't even really enjoy web deving, it's a chore.
>>
>>65960091
seems pretty fair, actually. what happens on obscure irc servers is unknown.

>>65960111
>lmao ffs. it's still the best place to ask questions on open source projects/get involved.
depends, several communities have already moved out. smalltalk is on discord, racket on slack, ...

>>65960111
>4chan
4chan is still fair for an image board and still has its community. irc is full of idling bot/bnc.

>>65960134
move with the times, gramp. msn, aol, icq, irc, all these are now obsolete.
>>
>>65960131
They were always pathetic: https://en.wikipedia.org/wiki/Panjandrum
>>
>>65960137
Just add /release to the github url and download the prebuilt package or download the src zip and import the project when AA starts. Don't forget to sync gradelel
>>
>>65960160
>move with the times, gramp. msn, aol, icq, irc, all these are now obsolete.
low ICQ numbers still sell for $$$
this is the internet. nothing dies.
>>
>>65960148
>I don't like /wdg/
why?
because it isn't shit posting every minute?
>>
>>65959559
Thanks
>>
>>65960177
>nothing dies.
Except /prog/, Napster, AngelFire and fuckton of other shit.
>>
>>65960232
/prog/ will rise again
>>
>>65960059
IRC is still going strong. Declined, but I think those are just the normies. Still many active technology related channels and old circlejerks going on.

Discord also replaced services like Steam and Skype, not IRC. Discord is doing well (for video game players) that Steam and Skype did poorly. Much easier for quickly setting up group chats (both voice and text). And you can drop in and out of group chats at will. Skype is damn fiddly, and steam is annoying to deal with when you want a group chat (direct messages are fine).

IRC is an entirely different beast, and I don't think Discord will ever kill it since the users of IRC probably won't move to Discord any time soon. For technology, IRC is strong, established, and is in no danger of going away soon. If you want your "meme shitting" easier, I guess you could find yourself a client that upload and post links to your crappy image macros for you.
>>
What is the coolest thing you have programmed?
>>
Any good intro book for f# ?
>>
>>65960295
a refridgerator
>>
>>65959421
>20M HTTP requests/second
>2% CPU
Even on a 4 GHz 8 core CPU with as much as 2.5 instructions per clock, that's 80 instructions per request. I don't buy that.
>>
Most OOP langs are for brainlets and code monkeys, but anyone who dogmatically hates Ruby just because it's OOP is the real brainlet. What makes Ruby powerful is that instead of POOP, it's OOP-P: object-oriented programming *minus* the principles. Or, more specifically, object-oriented programming by the principles of dynamically typed nonpure functional programming. Go crazy -- do stateful multiple inheritance with modules (Ruby's combined notion of namespaces, FP modules, mixins, and traits), change an object's contents at runtime, run arbitrary code blocks with any datum as "self," use coroutines and continuations, change class hierarchy at runtime, treat types as first class values, use method_missing to conditionally override the member access operator, programmatically create new methods (e.g as part of a delegation shorthand) -- Ruby doesn't care. Basically it's not even OOP, just Lisp-like FP with classes.
>>
>>65959421
Broken the ceiling probably means only peaking over this amount for a second mind you, and those %ages are probably underestimates by at least a few fractions of a %
>>
>>65960420
Ruby is for girls
>>
sounds unsafe anon
>>
>>65960459
You've discovered my secret. How humiliating. I can never show myself in /deepetee/ again.
>>
>>65960470
let me impregnate you
>>
>>65960459
Really? I'll learn it then, just to fuck^W talk some programming with a qt.
>>
>>65960484
no you have to be a girl to learn it
>>
>>65960485
"For girls" isn't usually applied restrictively. Quite the opposite: it usually intends to restrict girls to the activity in question (as opposed to a perceived alternative), not to restrict the activity in question to girls. In most such cases, including this one, girls would be happy to have some male representation in the activity.
>>
>>65960525
ruby is for girls you baka
>>
>>65960536
I've already responded to that argument. My response is literally a single post up from it.
>>
>>65960563
ruby = for girls
why cant you understand
maybe you're dumb enough to be a girl
>>
>>65960575
What you can't seem to understand is that "for girls" doesn't mean what you seem to think it means. It's meant to keep girls in, not to keep boys out.

I've already said that, but you didn't seem to understand, so I thought I'd simplify it for you.
>>
>>65960601
are you a feminist
>>
>>65960601
>It's meant to keep girls in
so it's a containment language?
>>
>>65960609
Yes, but not the kind of feminist extremist you hear about in stories about how dumb feminism is. They shouldn't even be considered feminists, because feminism is about gender equality. Just because it was particularly conceived in consideration of the rights of women, hence the name, doesn't mean women having *more* rights than men fits into the philosophy at any point. The problem of equality of the genders as they apply to people themselves is mostly solved, but the feminine aspects of all people of both sexes are still oppressed.
>>
>>65959363
Trying to learn Enterprise Service Buses. I get why they are a good idea and once implemented it should be great, but jesus this is not a learning curve, it's a fucking cliff!

Also, for personal projects, how do you guys settle on one thing? I have loads of things I want to learn!
>>
>>65960644
Yes. But I'm not saying I approve of it as applied for that purpose. On the contrary I disdain that anyone still thinks femaleness or femininity is something to be contained any more than maleness or masculinity is. Ruby wasn't conceived as a containment language, but the spread of the idea that it's "for girls" turned it into one. Therefore, I hate that idea, not the language.
>>
>>65960676
Make a blog and then >>65960082
>>
>>65960721
Ruby isn't a web language. You're thinking of Rails.
Also I wouldn't have to make my posts so long if your misconceptions about gender weren't so severe.
>>
>>65960676
>gender equality
so you're retarded?
>>
>>65960743
>huuurrrr gendurr equality badd
Don't talk to me, I don't want to be infected with your kind's disease.
Go back home to the '30s.
>>
>>65960782
by "the 30s" do you mean everywhere in the world outside of a tiny minority within the west, said minority only having existed for a few decades due to brainwashing?
>>
how do i do a generic square function in Rust?
>>
>>65960806
Rust doesn't have this problem
>>
>>65960804
>do you mean everywhere in the world outside of a tiny minority within the west, said minority only having existed for a few decades
That's certainly a sobering consideration, but yeah, I guess I do.

>due to brainwashing?
Neither the time nor the place.
This is a programming thread. Your ridiculous "Ruby is for girls" nonsense has already pulled us far off track.
You need to go back
>>>/pol/
>>
File: 1526342735478.png (478 KB, 2838x3230)
478 KB
478 KB PNG
>>65959363
LAMO D with betterC BTFO's every other language
>>
>>65960835
>someone posts a really basic meme
>you go into an autistic shitrage about it trying to force your outdated 60s ideology on everyone
>this is their fault
You're the one that needs to fucking go, because you'll do it again
Bet you're fucking happy there's no more boy scouts aren't you
>>
>>65960853
>GitHub - frol/completely-unscientific-benchmarks.jpeg
The only way D would win anything
>>
>>65960866
>I post about Ruby
>someone gets mad because "hurrr it's for girls"
>they post repeatedly about this to different anons, trying to force their outdated 30s ideology on everyone
>this is somehow my fault just because i was so blind as to try to engage them and not theirs for making an ass of themselves to begin with
To summarize: no u
>>
File: 1518949762366.jpg (48 KB, 467x531)
48 KB
48 KB JPG
>>65960806
How generic do you want?
extern crate num;

fn sq<T: num::Num + ::std::ops::Mul + ::std::marker::Copy>(n: T) -> T {
n * n
}

fn main() {
let m = 12i32;
println!("{}", ::sq(m));
}
>>
Friendship ended with C++
now Haskell is my best friend
>>
>>65960928
>30s ideology
Are you even fucking listening?
It's the truth everywhere outside your tiny fucking bubble. It's not even an ideology.

I am not joking when I say that to think the genders are the same or should be treated the same is a serious mental illness.
>>
>>65960940
jesus christ, why can't it just be:
fn sq<T: numeric> -> T {
n * n
}

fn main() {
let m: i32 = 12;
println!("{}", sq(m));
}


what kind of retard designed rust?
>>
>>65960969
>It's the truth everywhere outside your tiny fucking bubble. It's not even an ideology.
>hurrr its da troof
>>>/pol/

>I am not joking when I say that to think the genders are the same or should be treated the same is a serious mental illness.
>>>/pol/
>>
>>65960980
>numeric
That just says it's a number (which is nun::Num, doesn't say it has defined `*` or can/cannot be moved
>>
>>65960940
>pointless Num
>Copy instead of Clone
>preceding :: everywhere
See me after class.
>>
>>65960991
Are you a tranny?
>>
>>65960277
You can't compare discord to steam. Steam only allows you to create temporary rooms while discord offers permanent servers to build communities around them. Discord/slack robots market is exploding; i know someone who is earning around 2500 usa dollars per month because of a very simple bot. Roleplayers are now on discord.
>>
File: 1453590480680.png (411 KB, 494x795)
411 KB
411 KB PNG
>>65961013
>>Copy instead of Clone
enlighten me, senpai. what's the difference?
>>
>>65961016
>Are you a tranny?
>tranny

>>>/pol/

This is the programming thread, anon. I understand how you might have gotten confused because they both start with "P."
>>
>>65961008
>That just says it's a number (which is nun::Num
which should be generic enough

>doesn't say it has defined `*`
why would a numeric type not have the operation defined?

>or can/cannot be moved
why can't the compiler figure out that T cannot be moved but is being moved and produce an error?
>>
>>65961034
It's a yes or no question
>>
>>65961013
>>Copy instead of Clone
???
>>
>>65961038
It's not programming related.
>>
>>65961030
>>65961041
Clone means you can deep copy the value with the .clone() method. Copy requires Clone, and marks it as being a shallow copy (memcpy) and allows it to be done implicitly.
>>
File: average dpt poster.png (147 KB, 500x281)
147 KB
147 KB PNG
>>65961034
newfag
>>
File: 1518073186700.gif (1.82 MB, 360x344)
1.82 MB
1.82 MB GIF
>>65961037
>why would a numeric type not have the operation defined?
In some cases `*` is equivocal. For example, vectors.
>why can't the compiler figure out that T cannot be moved but is being moved and produce an error?
Uh how about no. I'd like to decide whether it'll be moved or cloned, please.
>>65961057
Thanks but that doesn't seem to differ much, not at least in this case? I do agree that I should've opted Clone trait though.
>>
>>65961063
The epidemic of crippling /pol/io is the newfags. 4chan used to be apolitical. The inclusion of extremism from both sides of the spectrum was an inside joke. Then along came actual right extremist brainlets who didn't get the joke.
>>
>>65959414
Whatever you choose, don't use Covaci T. - MCSD Certification Toolkit (Exam 70-483). Programming in C# (Programmer to Programmer) - 2013.pdf
>>
>>65961087
Copy is more restrictive than Clone, that's all. But imagine an arbitrary-precision number type that uses heap memory - it cannot be Copy, only Clone, and thus would not work with your original function.
>>
>>65961104
what the fuck is political about this >>65960459
>>
>>65961140
the part where it says
>for girls
>>
>>65961156
I don't need to fucking put up with you, someone else will complain about you
>>
stop arguing over superficial stuff like this
>>
>>65961140
It got political at >>65960609, which I'm guessing was your own post.
>>
>>65961168
That's the spirit. Now we can get back to talking about programming, rather than talking about things supposedly being """""""for girls."""""""
>>
>>65961138
Ah I see, std::point<Good>
>>
>>65961181
But ruby literally IS for girls.
>>
I've made a bad synctube-like site for Twitch using python flask and websockets. Anyone want to make a frontend for me?

I fucking hate frontend.
>>
File: ruby developer.jpg (126 KB, 1920x1080)
126 KB
126 KB JPG
Ruby programmers are so fucking pathetic holy shit look at this fag
>>
>>65961203
>But ruby literally IS for girls.
>>>/pol/
>>
File: 1519337863831.gif (148 KB, 340x340)
148 KB
148 KB GIF
>>65960853
>>65960888
>>GitHub - frol/completely-unscientific-benchmarks.jpeg
I'd like to see a tuned result for Rust too but I'm a beginner
>>
>>65961199
>std::point<Good>
this doesn't make sense
if you had said std::good<point> that would imply there's a wrapper class called "good" which adds metadata to the wrapped type saying it's good/valid
>>
>>65961203
this
>>
>>65961213
See, now we're talking about programming again (kind of).
I'm so proud of you.
>>
>>65961229
It's a point struct with good (sum) type parameter
>>
>>65960853
Wasn't this debunked or contradicted by the official /g/ benchmark?
>>
>>65961241
Newfag stop trying to ruin our thread with your bullshit. Also if you're a woman, post your tits or get the fuck out.
>>
>>65961246
>by the official /g/ benchmark?
so by nothing?
>>
>>65961250
Not programming related
>>
>>65961257
Anime imageboard you faggot
>>
>>65961267
Not anime related
>>
>>65961243
how does that have the same meaning as the phrase "good point" though
>>
this is why nobody likes trannies
>>
>>65961284
there's always Rust
>>
File: 36___MmYeOx8.png (959 KB, 1222x1381)
959 KB
959 KB PNG
How do I get into VHDL?
>>
>>65961284
>>65961257
>>65961280
>>
>>65961281
It's a point that's good?
>>
>>65961298
Like Vec<i32> is Vector that's of i32
>>
>>65961298
>>65961312
>point of good
but that doesn't make sense; "good" is an adjective that describes the qualities of the point, not the contents of the point.
>>
File: 1514485182500.png (431 KB, 707x1082)
431 KB
431 KB PNG
>>65961216
>>>/pol/171821016
>>
>>65961312
>>65961330
(is (good? point))
>>
File: linus tech tips.png (748 KB, 865x789)
748 KB
748 KB PNG
>>65961216
>ruby isn't programming related
That's because ruby is for girls, and girls can't program
>>
>>65961360
This
>>
>>65961360
>That's because ruby is for girls
>>>/pol/
>and girls can't program
>>>/pol/
>>
>>65961382
girls
>>
>>65961360
Kek. There are still people who believes such thing?
>girls can't code
>>
>>65961346
What would "is" do? Would it just be the same thing as "assert"?
>>
>>65961395
Why would people stop believing something that's true?
>>
>>65961013
>>preceding :: everywhere
when you have a module, and working inside it you have to put :: at first anyway
>>
>>65961392
>one word reply
Thank you for not meaningfully continuing this degenerate conversation
>>
>>65961405
Dude, stop now, this is embarrassing. You are full of hate and start sounding like a crazy from r/incels.
>>
>>65959946
>Work on extending glass to client region
DWM already sets a margin for screen corners.

>aligning elements/insreasing icon size
Would be useful if Agui was a file browser.
>>
>>65961416
Not when you're accessing a crate or a crate-like thing like std or core.
>>
>>65961400
Yes, some test frameworks name their assert "is".
>>
>>65961405
This.
>https://insights.stackoverflow.com/survey/2018/
Mostly webshits with roughly 3 years experience
>>
>>65961422
This
"silence is a woman's glory" - aristotle
>>
>>65959363
>>65959474
Whos the artist for these? I want the whole set.
>>
>>65961441
*submits code of conduct on github*
I'M THE PROGRAMMER NOW CISHET SCUM
>>
>>65961431
wtf are you retarded? this is fucking /g/, stop taking the bait already.
>>
>>65961434
I mean going full glass theme options like pic related and you should add more view options.
>>
>>65961444
>silence is a woman's glory
>>65961462
>CISHET SCUM

>>65961257
>>65961280
>>>/pol/
>>
>>65959363
How do I reprogram women /dpt/?
>>
>>65961500
give them a male brain

wait that didnt quite work either
>>
>>65961500
Women are not free (as in freedom). So, you don't modify anything.
>>
Challenge:
Write a macro in Rust that actually emulates C++'s decltype

hint: macros and impl trait
>>
>>65961500
You picked the wrong job. Go into neurosurgery.
You probably won't be able to find work, though, since changing the way people's brains work for your own benefit, rather than for theirs, is widely regarded as wrong.
>>
File: DdM5PONWAAAEc7W.jpg (72 KB, 1241x1010)
72 KB
72 KB JPG
>>65961531
>>
>>65961512
1) It's never been done though???
2) >>65961531
>>
File: download.jpg (121 KB, 1024x576)
121 KB
121 KB JPG
>>65961541
>>
>>65961541
>>65961552
>taking pictures of women without asking permission
>>
>>65961542
one could always try
>>
>>65961561
not programming related
>>
>>65961567
If you surgically swapped two people's hippocampal contents without the rest of their brains, would person A still have the personality of person A but think they're person B, while person B would still have the personality of person B but think they're person A?
It's programming related, just not computer programming.
>>
>>65961574
dpt isn't programming related
>>
File: karen haskell.png (818 KB, 1280x719)
818 KB
818 KB PNG
>>65961586
this, /dpt/ is purely about posting pictures of anime girls holding programming books and talking about why Haskell is the best programming language
>>
Is it bad to do something like this?
class Foo{
public:
~Foo(){clear();}
void clear();
};
>>
File: 052.png (66 KB, 947x839)
66 KB
66 KB PNG
Anyone got a good tutorial for learning C# for a newbie programmer? Want to get some of the lads into it but I didn't see any I thought were great with a quick search.

Would be good if it provided exercises to be done rather than just reading as I don't think you can learn without doing.
>>
>>65960470
please be in london
>>
>>65961542
>It's never been done though???
mk ultra
>>
>>65961640
i mean it's dumb because that's basically what public education is these days
>>
>>65961634
Channel9 for intro video and msdn for docs.
Stackoverflow for problems and you learn by doing.
>>
>>65961627
Yes.
>>
>>65961627
Maybe
>>
>>65961701
I don't think msdn is a very good intro tutorial desu, and this youtube channel doesn't look like it would be great for someone who's never programmed before
>>
>>65961627
no
>>
>>65961721
Did I ask for your opinion?
One has to start somewhere and it doesn't have to be the same other people started.
>>
>>65961635
Did you even read the rest of the thread?
You don't want her, dude. No fleshlight is worth converting to feminism
>>
>>65961782
2d girls are better
>>
>>65961480
I might try this.
>>
File: 387465.jpg (466 KB, 1600x1200)
466 KB
466 KB JPG
Is there a PL that offers the best of many paradigms that isn't sepples and is not verbose nor full of symbols and operators :: ` |>
>>
>>65961721
desu msdn is a brilliant tutorial if you already know how to program
>>
>>65962247
Haskell
>>
>>65962253
Yes, but I'm talking about people who don't know how to program lol
>>
>>65962257
>https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/
Brainlet friendly. Don't creep out if you see something you don't know
>>
>>65960676
>Yes, but not the kind of feminist extremist you hear about in stories about how dumb feminism is. They shouldn't even be considered feminists,
They are the logical end result of your bad ideology. You just quit along the way because it gets hard when it starts getting obvious that it conflicts with reality.
>>
>>65959935
>step your game up
But PKI certificates are actual cancer.
>>
>>65962438
all feminism is bad
>>
File: 1526408973884.jpg (15 KB, 334x334)
15 KB
15 KB JPG
Lads I think I've found my passion. And t-thats technology. I'm not the best at it but I love it. I've only programmed for one day but I think I'm going to spend all day on it and actually attempt to learn a skill. Also have to figure out command line. This is fun
>>
>>65962498
dumb frogposter
>>
>>65962247
Lisp.
>>
>>65961450
Artist is Syego
Unfortunately I think this is the only other picture with tiny anime girls on electronics, pretty much all of his other pictures are giant anime girls crushing buildings and stuff.
>>
>>65961466
but >she is the bait
>>
I've had various jobs doing webdev for 10 years and I'm fucking sick of it all. I'll never be a manager because I'm not good with people. I feel like quitting my job and learning haskell or something.
>>
>>65962247
rust
>>
I am an unemployable NEET, what should I learn to get a job quickly and how long will it take me to learn?
>>
>>65962590
was going to say Haskell but then you said getting a job
>>
>>65962509
Don't call me dumb
>>
>>65962590
>what should I learn to get a job quickly and how long will it take me to learn?
do you have any programming experience?
doing some tier 1 help desk shit or being a junior sysadmin is usually the easiest way to break into the job market with tech.
>>
>>65961782
the power of my dick will fix her just like in my animu
>>
>>65962255
>>65962529
>>65962568
>nor full of symbols and operators :: ` |>
>>
>>65962684
I have no experience with programming at all. I want to find something like a help desk just so I can get my foot in the door, but without any kind of skills to market I'm having trouble getting hired for them.
>>
>>65962684
>junior sysadmin
what certs would you need for this
>>
>>65962705
you can just give names to all the operators though
add = (+)
sub = (-)
etc
>>
>>65962719
Most people will say A+, Network+, etc.
Personally I'd go after the CCNA. It's not easy (80% fail it iirc) but it'll put you above a lot of other people applying.
You can take it in 2 segments as well so if you pass ICND1 that may be enough to get your foot in somewhere.
Otherwise
>>
>>65962762
I failed the CompTIA a+901 back in the day and crid for a year about it. I probably wouldn't have given up because I almost passed it but some of the questions were in such insane detail that how could I remember stuff like that without interacting with it personally? They say 902is much harder but I'm flying through that section since it's all stuff I've had expierence with.
>>
I need some ideas
If there are any free apps that have a pro mode or any other form of in app purchases that will work offline tell me their name and I'll try my best at cracking them.
Xposed module will be posted when I'm ready
also, what are some git services that will not ban me or remove the repo?
>>
>>65962806
Folderguard from newsoft. Lucky patcher doesn't work on their jewgle in app purchase.
Also, bitbucket or your own repo hosting on heroku
>>
>>65962860
>Folderguard
https://play.google.com/store/apps/details?id=com.newsoftwares.folderlock_v1 this one?
>>
>>65962247
install Ada
>>
>>65963038
>not verbose
>>
>>65963078
>ada
>verbose
but it sounds like you're too autistic to accept anything other than your personal dream lang, so you should probably just make your own.
>>
>>65963099
I'm not him, but that's what I'm doing.
>>
>>65963117
good lad, post progress ASAP.
I love lang-dev, and /dpt/ doesn't have enough of it.
>>
 Math.floor(Math.random() * (max - min + 1)) + min 

What the ACTUAL FUCK?!
even reading:
https://stackoverflow.com/questions/1527803/generating-random-whole-numbers-in-javascript-in-a-specific-range/1527820#1527820
makes no sense!

why so complicated for just a random number in a range
>>
>>65963141
If you think this is complicated you should consider other career options.
>>
>>65963141
in Haskell this is just
randomRIO (min, max)
>>
>>65963171
C# isn't that complicated
neither is python
HELL even hask-hell isn't
>>65963192
>>
>>65963141
in a good language, it's just
uniform(0,10).writeln;
>>
>>65963192
>and returns a random value uniformly distributed in the closed interval [lo,hi]
>>
>>65963192
public static int randInRange(int min, int max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}


write this literally once in your program
is it that fucking hard?
>>
>>65963141
hi, welcome to JS!
want a random number between 1-100?
just: jump down, turn around pick a bail of cotton, add a min subtract a max, add a one, carry a zero and pray to buddha.
>>
>>65959083
>/dpt/fag thinking programming is real Mathematics.
>>
>>65962784
>how could I remember stuff like that without interacting with it personally?
for the CCNA the program packet tracer is your best friend.
>>
>>65963205
That is not C#. It has shitty naming and the math class has the random function lol
>>
>>65963273
u wot, m8?
no one claimed it was C#
>>
>>65963257
fuck, wrong post.
meant to be this one
>>65959041
>>
>>65963273
Are you fucking day-drinking again, Leroy?
>>
Can you guise help me figure out why this Python 2 code ( https://github.com/llakssz/FunKeyCIA/blob/master/FunKeyCIA.py
) which has been converted to Python 3 (using 2to3) is fucking up on this section? (The Python 2 version works fine btw)


#if using a keyfile
if (arguments.localkeyfile) or (arguments.nfskeyfile):

if not os.path.isfile('encTitleKeys.bin'):
print('The input file encTitleKeys.bin does not exist.')
sys.exit(0)
with open('encTitleKeys.bin', 'rb') as keybin:

keybin.seek(0x10)

for block in iter(lambda: keybin.read(0x20), ""):

titleid = binascii.hexlify(block[0x8:0x10])

key = binascii.hexlify(block[0x10:0x20])
typecheck = titleid[4:8]

if arguments.all:
#skip updates
if (typecheck == '000e'):
continue
#skip system
if (int(typecheck,16) & 0x10):
continue
elif (typecheck == '8005'):
continue
elif (typecheck == '800f'):
continue

if arguments.all or (titleid in titlelist):
processContent(titleid, key)
else:
processContent(titlelist[0], arguments.key)
>>
>>65962705
Lisp isn't full of symbols or operators. Or do you literally mean that you want to type "END IF" instead of "}"?
>>
>>65960420
>>65960525
>>65960676
You have autism. Not because of what you say, but the way you say it.
>>
>>65962247
>ot verbose nor full of symbols and operators :: ` |>
j
>>
File: 1514190803189s.jpg (8 KB, 247x250)
8 KB
8 KB JPG
>>65963423
people that use "or" and "and" piss me off.
use the white man's operators, || and &&
>>
>>65963471
everyone should uniroincally learn j, just for the novelty of it.
>>
>>65963528
lol
BTW I didn't write the code, I'm just trying to adapt it for a little fun, me and a dude on /vg/hbg/ were trying to get it working for Python 3
>>
>>65963423
how is it "fucking up"? is it throwing an exception? what's the output vs the expected result?

???????????
>>
How do I add Visual Studio to some path so Python knows where it is on windows 7? It's installed but I still cannot install a module that apparantly needs it.
I've only used linux and haven't had to deal with this level of bullshit before
>>
>>65963564
It's not doing anything on the for block, or just going really slow.
When I put a
print (titleid)
after
            titleid = binascii.hexlify(block[0x8:0x10])
to see what it was doing, it just comes back with a ton of
b''
s
>>
>>65963288
oh because I thought it was c# at first and then someone said it is not complicated and then you said C# is not complicated and listed two other languages and I reread the code and it was JS so I said it is not c# and maybe I shouldn't have said that because it seems you already knew that and now I look like a retard and I thought maybe I should reply to state what happened and why I said that and ended up writing this post and clicking reply but only after picking a random image that looked a bit gay.. maybe I shouldn't have posted this too
>>
>>65963528
I thought python didn't have || and &&, i was writing some python and it errored when i used them
>>
>>65963607
iirc `or` and `and` are preferred in python
sometimes I accidentally do it in C++ because I spent so long python devving for work
>>
>>65963564
Also the expected result is that it starts to download the CIA file, but it's just either hanging or taking a really long time to process the enctitlekeys.bin
Python 2 runs this script fine and the CIA file starts to download almost straight away
>>
>>65963576
A Python module needs Visual Studio? You mean the Visual C++ compiler? You need to find the subdirectory where the .exe file of the compiler is located and add it to the path. You probably need INCLUDE and LIBRARY variables to, pointing to the appropriate locations. Good luck, compiling on Windows is hell.
>>
File: terry.jpg (28 KB, 400x400)
28 KB
28 KB JPG
>>65963678
>CIA
>>
>>65963715 >>65963715
>>65963715

>>65963715 >>65963715
>>65963715 >>65963715
>>
>>65962723
this
>>
>>65962723
is = (=)
plus is (+)
minus is (-)
one is 1
two is 2
four is two plus two
three is four minus one

very neat
>>
>>65959564
IRC is better.
> http://dailyprog.org/chat/
>>
>>65959916
Nice. Post a screenshot next time.
>>
>>65960059
discord is for normies.




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.