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

/dpt/ - Daily Programming Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 317
Thread images: 38

File: chuuns.png (845KB, 1366x768px) Image search: [Google]
chuuns.png
845KB, 1366x768px
What are you working on, /dpt/?
Old thread: >>61531837
>>
>>61537779
Reading through Nim manuals, the OOP design is somewhat rather confusing, because the lack of a proper book.

No, "Nim in Action" is not a good book
>>
>>61537779
>android app
>get user to sign in with google
Is there any way to access his google searches after this?
>>
First for WHY IS HTML PARSING SO SHIT JESUS? Also, recommend me some concise C documentation please. R-K is a bit tedious.
>>
>>61537802
typical autistic rubyfags
>>
File: 1495314358756.png (25KB, 300x441px) Image search: [Google]
1495314358756.png
25KB, 300x441px
>>61537825
Imagine working with a language with no map, fold and filter
>>
>>61537878
Someone needs to make a whole family to go with nogenerics.info
>>
>>61537878
imagine working with a language with no >>=, return and existentially quantified rank n kind polymorphic GADT constructors indexed by type level natural numbers
>>
>>61537878
>imagine working in a language with no for loops
que?
>>
>>61537803
What is wrong with NIA?
Nim seems pretty interesting, but i hate learning new langs without a book.
>>
File: logo-small.png (5KB, 190x88px) Image search: [Google]
logo-small.png
5KB, 190x88px
>>61537908
Imagine working with a language where the only values usable at type-level are numbers.
>>
>>61537937
Are you that hasklet that was bitching about data x: Nat?
>>
>>61537920
>What is wrong with NIA?
I don't like the style of that book. It's more focused on "application" like "let's make a twitter clone" or "let's make a text perser" etc

This makes it hard to find specific topic and how Nim approaches them. Like if I'm looking for "Member functions" I can't use the book. I have to read the manual in the website which needs more polishing
>>
>>61537990
>>61537927
>>
>>61537990
Ah, well usually those atleast cover on the subject enough for you to get the gist as it comes. But i agree, very unfortunate desu.
>>
I wanted to share files from my server in a manner that requires auth but does not require the user to use an FTP client or other outdated fuckery. I also wanted to easily be able to grant or revoke file permissions.

I looked at existing options and hated them. They were incredibly bloated and required a full-fat database server just to store basic info.

This is what I've came up with so far. It's a small Node app with a very lean frontend. It uses an SQLite DB and can basically run anywhere with a node 8.x binary.

Workflow: I login as admin, browse to the file, and click it to add it to the list of managed files. Then under Files I click "Sharing" and enter a comma-separated list of usernames who can access it.

The users can log in and will see a simplified screen, with only the Files section listing only the files they can access.

It's in an early stage. Next steps:
* Generate cookieless download links (random token and IP locked) for use in streaming players etc
* Improve the sharing UI, have it present a list of checkboxes
* UI for adding/managing users (I currently just run SQL statements)
>>
>>61537808
pls respond
>>
>>61537978
No, I'm an Idris-fag and I find Haskell's attempts at DT amusing.
>>
>>61537937
Yeah, imagine that.
Fortunately I use Haskell most of the time.
For everything else there's Agda.

Or Idris, if you want to be a special snowflake.
>>
>>61538030
Its gonna be even worse when they add an actual implementation.
>>
>>61537937
>>61538039
And I didn't mean to imply that Haskell only has numbers at the type level.

>>61538030
GADTs and datakinds are not an attempt at dependent types
>>
I dont ever reply to this posts and just lurk but wanted to thank everyone who helps others and gives them advice and fixes especially the ruby tripguy

:)
>>
>>61538124
>tripguy
tripgirl*
>>
>>61538133
kys
>>
>>61538133
girls cant code and dont browse chinese imageboards.
>>
>>61538027
why would you want this?
>>
>>61538177
Stop asking too many questions, goy
>>
>>61538171
I always wondered whether any girls actually browse here to program. There aren't many opportunities for them to attention whore, like in /b/, /soc/, /r9k/, etc.
>>
>>61538184
oy vey
>>
>>61538192
If anything theire probably in /wdg/ since front-end is more womeme friendly.
>>
>>61538192
>There aren't many opportunities for them to attention whore
False
>>
>>61538136
>>61538171
why would a man call himself ruby and program in ruby?
>>
>>61538192
>>61538203
Do you have the image that talked about women being replaced with anime traps?
>>
>>61538253
>>>/wsr/
>>
Is there a sort of agreed-upon biblical text for starting out with algorithms?

I want to learn how to implement basic operations such as logarithms in software, or at least understand how they might be implemented by hardware. There's a lot of different texts that I see floating around and I'm not sure if there's a specific one that's considered as an authority.
>>
>>61538192
i've never seen any actual girl post in /dpt/ with proof. there was a tranny who claimed to be a girl and posted pics but it looked like a tranny and iirc a few weeks later the same person admitted to being a tranny and posted another pic with the same shirt/top as before
>>
File: 1482780288219.jpg (186KB, 750x574px) Image search: [Google]
1482780288219.jpg
186KB, 750x574px
>>61538253

>>61538312
I am a girl :3
>>
>>61538347
>I am mentally ill

seek help
>>
>>61538347
post panty drawer
>>
>>61538312
>>61538171
This tbqh. Women are less likely to be able to program well, or do anything STEM in general
>>
Webdev is harmful to a man's mental health tbqh.
>>
C and C++ will be replaced by Rust.
Java will be replaced by Kotlin.
All programs and apps are going to be in the browser.
>>
>>61538408
Kotlin is ugly as fuck, I honestly prefer Java
>>
>>61538408
Too optimistic, we still can't "replace" FORTRAN and COBOL. More like language landscape will continue to fracture until each major project uses its own language.
>>
File: 1498770318642.png (180KB, 430x422px) Image search: [Google]
1498770318642.png
180KB, 430x422px
I'm 25 and RETARDED

What is minimum maths required for computer science? I've already been accepted to university as a mature student but now I need to actually learn maths before I enter next year.

What to learn before first semester kicks off?
>>
>>61538408
>All programs and apps are going to be in the browser.
Maybe .io trash.
>>
>>61537825
>HTML parsing
>C

Literally trivial in any modern language. This is simply not a job for C unless you have some seriously restrictive requirements.
>>
>>61538459
computer science courses vary a lot in terms of the maths you'll need
>>
>>61538459
Just check the syllabi for your classes and brush up on topics they explicitly discuss.

You won't need more than basic algebra for most of it.
>>
>>61538472
Don't browsers have to parse C? Aren't most browsers in C++?
>>
>>61538490
Well, you didn't say you were making a browser.

I thought you just wanted to parse HTML and work with the data.
>>
>>61537878
Imagine working with a language with no generics.
>>
>>61538530
you only need generics if you have strong typing
>>
>>61538408
>All programs and apps are going to be in the browser.
Any programs or apps that do that run like absolute fucking cancer.
See: Atom and most especially, Discord.
>>
>>61538459
Algebra, things like sums, sequences/recurrent relations, basic diff calculus, lambda calculus, type theory and discrete maths.
>>
>>61538472
I'm not trying to parse in C kek. I'm not retarded. Also, >>61538490 isn't me, I'm not making a browser. I'm remaking my friend's Python program for fetching some shit from a webpage.
>>
>>61538490
>Don't browsers have to parse C?
No, they have to parse html/js/css.
>>
>>61538347
Thank you based developers
>>
>>61538408
Rust is a replacement of C++, C being minimal and complete, it will stay for a long time
>>
>>61538573
HTML parsing is trivial in Python. What's the page? What are you trying to retrieve?

As long as the data isn't generated client-side by jQuery or something, you write some XPath and then use whatever functional set-comprehension methods Python has, and off you go.
>>
People that talk about Go fall into two categories:

1. Have actually used it
2. Bitch about lack of features

Give me some real-world examples where generics are absolutely needed in a way that interface doesn't cover. Automatic loss if your example is better optimized but functions the same.
>>
>>61538582
*computer scientists
"developers" is an insult.
>>
>>61538591
this desu. Rust is hipster shit anyway. dog bless C
>>
>>61538573
BeautifulSoup
>>
>>61538594
sorting? map? fold? binary search? data structures?
>>
>>61538594
how does map look in Go?
>>
>>61538602
>language relies on external library to perform basic interaction
gas Pyfags
>>
File: image10.jpg (772KB, 1952x1592px) Image search: [Google]
image10.jpg
772KB, 1952x1592px
>>61538602
>>
>>61538602
Isn't that the pantyshot?
>>
>>61538617
YOU MADE ME HUNGRY ANON FUCK YOU
>>
>>61538615
your language relies on external libs to do something useful too
>>
Where do i go to learn python? I like learning by doing projects and "Learn Python the Hard Way" seemed like a very good idea.

However /g/ really hates it. Is it just /g/ sperging or is it really that bad?
>>
>>61538640
It's a good idea. /g/ hates every language that people actually use
>>
>>61538608
You can easily do all of them with interfaces.
https://github.com/emirpasic/gods

>>61538609
In addition to the above, Go has language-level generic maps.
>>
>>61538640
/g/ doesn't hate it that much imho. I learned it with a sufficiently complex project in mind and the documentation handy. I wouldn't use Python though, you'd be better off with something a bit more useful unless it's your first
>>
>>61538653
I'm not talking about the datastructure, I'm talking about the function. What does map look like in Go?
>>
>>61538594
> Give me some real-world examples where generics are absolutely needed in a way that interface doesn't cover.
Any code with actual performance requirements, dynamic dispatching is slow as fuck.
>>
>>61538597
Engineers would be fine desu
>>
>>61538653
was pokemonGO written in go?
>>
>>61538675
no
>>
File: 1497285656019.jpg (794KB, 1280x1509px) Image search: [Google]
1497285656019.jpg
794KB, 1280x1509px
>>61538617
>>
>>61538669
https://www.goinggo.net/2013/12/macro-view-of-map-internals-in-go.html
>>
>>61538653
>https://github.com/emirpasic/gods
>Ctrl-F "interface{}": 99 matches
You might as well write in python.
>>
thank you both

>>61538647
So you're saying the book isnt actually bad and its just /g/ being /g/ right? I also read that it's riddled with mistakes which makes me scared. Do you know anything about the second book?

>>61538668
I'm mainly a java/C monkey, but know some other languages at the basic level.
>>
>>61538696
fucking retard
>>
>>61538696
>He doesn't know the difference between the `map` function and the `map` data structure
So go-fags are really retarded.
>>
>>61538700
dude look out, he might even use a bunch of other curly braces and english words. It's almost like it's code or something
>>
>>61538653
Go is such trash.
type Map interface {
Put(key interface{}, value interface{})
Get(key interface{}) (value interface{}, found bool)
Remove(key interface{})
Keys() []interface{}

containers.Container
// Empty() bool
// Size() int
// Clear()
// Values() []interface{}
}
>>
>>61538720
>>61538728
>implementing your own map
>real-world example
pick one
>>
File: 345REF_.png (59KB, 1315x411px) Image search: [Google]
345REF_.png
59KB, 1315x411px
Is storing two integers values in a double a good idea?
>>
>>61538735
it really isn't
just use a struct with two integers
>>
File: UEGHIqh.png (9KB, 160x160px) Image search: [Google]
UEGHIqh.png
9KB, 160x160px
>>61538720
>>61538696
AHAHAHA AHAHA HOLY SHIT
GOFAGS BTFO
>>
>>61538723
I'm not sure if you're trolling or you're really so retarded you don't know that "interface{}" in Go is, it's like "void*" in C, it's both slow and unsafe as fuck.
>>
someone requested a bot that draws a random card from a deck of 52 cards plus 2 jokers. figured itd been long enough since I worked on something that I could hammer this out in an hour or so.
Wrote it in python. Wrote a card class and then when i went to write the deck class just kinda keyed out the entire deck instead of making it with a loop.
working fine enough, though.
>>
>>61538733

>Keys are unordered.
package main

import "github.com/emirpasic/gods/maps/hashmap"

func main() {
m := hashmap.New() // empty
m.Put(1, "x") // 1->x
m.Put(2, "b") // 2->b, 1->x (random order)
m.Put(1, "a") // 2->b, 1->a (random order)
_, _ = m.Get(2) // b, true
_, _ = m.Get(3) // nil, false
_ = m.Values() // []interface {}{"b", "a"} (random order)
_ = m.Keys() // []interface {}{1, 2} (random order)
m.Remove(1) // 2->b
m.Clear() // empty
m.Empty() // true
m.Size() // 0
}


Go just needs to accept its a toylang
>>
>>61538735
it might be in that platform
>>
>>61538756
>can only import code on github

lol wat
>>
>>61538735
a struct with two ints should compile down to the same

>>61538754
interface{} is a shitton safer

>>61538756
look the FUCK out, someone coded an unordered map in go
>>
>>61538754
>slow
no
>>
>>61538755
should also probably get around to making my own gitlab, but I dont think I have an extra box laying around. will probably have to hit up university surplus again soon.
>>
>>61538761
No, Go has regular imports, importing from links is probably just a """feature""""
>>
>>61538756
Why would keys in a hashmap be ordered?
>>
>>61538755
Noice
>>
>This is a RBTree in Go
package main

import (
"fmt"
rbt "github.com/emirpasic/gods/trees/redblacktree"
)

func main() {
tree := rbt.NewWithIntComparator() // empty (keys are of type int)

tree.Put(1, "x") // 1->x
tree.Put(2, "b") // 1->x, 2->b (in order)
tree.Put(1, "a") // 1->a, 2->b (in order, replacement)
tree.Put(3, "c") // 1->a, 2->b, 3->c (in order)
tree.Put(4, "d") // 1->a, 2->b, 3->c, 4->d (in order)
tree.Put(5, "e") // 1->a, 2->b, 3->c, 4->d, 5->e (in order)
tree.Put(6, "f") // 1->a, 2->b, 3->c, 4->d, 5->e, 6->f (in order)

fmt.Println(tree)
//
// RedBlackTree
// │ ┌── 6
// │ ┌── 5
// │ ┌── 4
// │ │ └── 3
// └── 2
// └── 1

_ = tree.Values() // []interface {}{"a", "b", "c", "d", "e", "f"} (in order)
_ = tree.Keys() // []interface {}{1, 2, 3, 4, 5, 6} (in order)

tree.Remove(2) // 1->a, 3->c, 4->d, 5->e, 6->f (in order)
fmt.Println(tree)
//
// RedBlackTree
// │ ┌── 6
// │ ┌── 5
// └── 4
// │ ┌── 3
// └── 1

tree.Clear() // empty
tree.Empty() // true
tree.Size() // 0

// Other:
tree.Left() // gets the left-most (min) node
tree.Right() // get the right-most (max) node
tree.Floor(1) // get the floor node
tree.Ceiling(1) // get the ceiling node
}
>>
File: 1c8gn7.jpg (174KB, 1931x1855px) Image search: [Google]
1c8gn7.jpg
174KB, 1931x1855px
>>61538735
>each side of the decimal represents a value
Oh man, I would have loved to have seen that myself.
>>
>>61538756
this, Go will never be as usable and as versatile as Haskell
>>
>>61538774
I actually hate including git repos in go, it's not sustainable at all. They should have something like Cargo.lock like rust.

>>61538802
holy shit nigger you can't even read code. Do you think this is an implementation?
>>
>>61538769
>not slow
Do you know the difference between dynamic and static dispatching? Do you know the run-time cost of type erasure? Basically, your code has to perform run time checks all the time just to be sure the values have the right types. Because, despite Go being an ostensibly statically typed language, there's nothing stopping you from putting ints and string in a single set.
>>61538767
>safer
Only in so far as you can't leak it since Go is toy GC languages.
>>
>>61538812
>haskell
>usable
>>
>>61538839
Yes
>>
>>61538802
> rbt.NewWithIntComparator()
Wew.
>>
>>61538815
Then what is it then?
>>
>>61538823
I do agree that it's slow. The thing is, That's Not A Problem Any More. And if your shit is actually too slow, you can just write it in C (mai waifu) and import it into Go.

>>61538848
Put on your big brain cap. What folder is this code in? examples? hmmmmm
>>
>>61538848
Example on how you use the library
>>
>>61538875
>>61538874
>show an example of a thing
>thats not what it is
>then what is it
>its an example
?????
>>
>>61538874
> I do agree that it's slow. The thing is, That's Not A Problem Any More.
Wew, lad.
> And if your shit is actually too slow, you can just write it in C (mai waifu) and import it into Go.
So why would I even need Go? I might as well write performance-critical parts in C and import them in Python, which is much nicer language than Go.
>>
>>61538874
>The thing is, That's Not A Problem Any More.
fuck you and your shitty attitude, you're the reason every web page is now weighted down with 3MB of javascript
>>
>>61538886
you didn't say it was an example, because you're a fucking idiot.

>>61538895
Python is great, Go is just much more of a compromise for that same purpose.

>>61538900
Nice strawman. Do you think I like that shit either?
>>
>>61538954
>this is a thing in Go
>you didnt say it was an example

Are you drunk or just brain damaged from Go?
>>
>>61538895
Go has no GIL.
Writing multithreaded programs in C is a pain. Go has channels and goroutines are very cheap.
>>
>>61538735
Absolutely not.
>>
>>61538996
>Writing multithreaded programs in C is a pain
http://libmill.org/index.html
Seems pretty easy.
Also openMP exists.
>>
>>61538996
Have you ever tried it? It's really not that bad.

Though, go makes threading too damn easy.
>>
>>61538815
I like the tool `gx`
https://github.com/whyrusleeping/gx
It works for multiple languages but was written with Go in mind. It uses IPFS to rehost dependencies and rewrite the source files to point to a local copy not a remote one, IPFS itself brings nice features to the table such as being decentralized but also content addressed, so the idea is that you're hosting all your dependencies for a project, in a static path that can be retrieved different ways from different sources. I like that a lot, you don't have to worry about domains, protocol support, anything like that, you just bundle up everything you need to compile, throw it in there, and then people should be able to retrieve them and build fine, forever.
>>
#define SOME_VALUE 100

or
const int SOME_VALUE 100;

or
enum GLOBALS { SOME_VALUE = 100 };
>>
>>61539148
>const int SOME_VALUE 100;
this
>>
>>61539148
immutable num = 100
>>
>>61538600
Rust is productive especially compared to C
>>
>>61539182
shoo dfag
>>
>>61539148
With #define C will just cast it to the type it needs to be on compile time. It's like an untyped numerical constant.

enum is same as above but integer only, probably not good for this

If the type matters to you, const is preferred.
>>
>>61539190
Its objectively correct minus the missing ;
using enums for non-list constants is being a brainlet.
>>
>>61539148
what is the reasoning for the last one?
>>
>>61537920
Anything a for can do, a while can do better.
>>
>>61539220
apart from scope its counter
>>
>>61539220
enjoy your scopes getting clobbered with i's
>>
Anyone here prototype their work in Python/simplefag language and then rewrite it once they have finalised their ideas in something lower level?
How does that work out for you?
>>
Anyone here use the PyOWM?

get_temperature(unit='kelvin')


This returns three temperatures, min, max and temp. Does anyone know if the min and max are the forecast temperatures for the day?
>>
>>61539284
Why do that when you can do both in Haskell?
>>
>>61539322
https://pyowm.readthedocs.io/en/latest/pyowm.webapi25.html#pyowm.webapi25.weather.Weather.get_temperature

This is the API docs, but it isn't necessarily clear. Every time I call this function, I get the same three temperatures so I don't think it is.
>>
>>61539242
It's almost as if you couldn't put extra braces to create a scope.
{
unsigned i = 0;
while (i++ < goal) {
// something
}
}
>>
>>61539355
meanwhile
foreach(i; goal)
>>
>>61539328
Because I could express an idea quickly in Python or even basic but not in Haskell, what kind of stupid question is that
>>
>>61539371
What's your point? It's completely unrelated to the original statement, the follow up post made by an anon, and my post.
>>
>>61539355
ugly
>>
>>61539355
That's fucking stupid.
>>
>>61539386
>What's your point?
Youre doing much more work with much worse code for no reason
>>
>>61539220
>using either of these
>ever
>>
>>61539384
Are you kidding? You can easily express stuff in Haskell
>>
File: forhorror.png (21KB, 503x221px) Image search: [Google]
forhorror.png
21KB, 503x221px
>>61539355
>not doing this
>>
>>61539355
Anything dependent upon i in that loop will have to offset its i by -1.
>>
>>61539396
Pros use strictly recursion. True gurus use jumps
>>
>>61539420
>True gurus use jumps
get out
>>
File: 49912384.png (31KB, 686x263px) Image search: [Google]
49912384.png
31KB, 686x263px
>>61539340
PyOWM is just a wrapper. You can look at the official API doc: https://openweathermap.org/current

or see pic
>>
I am trying to create a flask application and how do I make it work?

python3 main.py:

from flask import Flask, render_template

app = Flask(__name__)
text = ['a','b','c','d','e']

@app.route("/")
def index():
return render_template("test.html",text=text)

if __name__ == "__main__":
app.run()

------------------------------------------------------------------
test.html:

<!DOCTYPE html>
<html>
<body>
{% set diviter=0 %}
{% for each in text %}
{% if diviter==0 %}
{{ diviter }}
{{ each }}
{% set diviter=1 %}
{% else %}
{% set diviter=0 %}
{{ diviter }}
{{ each }}
{% endif %}
{% endfor %}
</body>
</html>


Obviously, I want it to output 0-1-0-1 etc for each tick of for cycle. But it won't even set it properly.
>>
Started a bitcoin bot.
Any suggestions or do I just wrap the exchange's http api and start buying/selling on values?
>>
>>61539056
OpenMP is for parallelism, not concurrency.
>>
File: 555x555.png (273KB, 555x555px) Image search: [Google]
555x555.png
273KB, 555x555px
>>61538347
You mean this?
>>
>>61539580
Yeah well the original faggot was talking about multithreaded without specifying was he talking about parallel or concurrent so I provided 2 options.
>>
>>61539502
>flask
>>
>>61539606
OpenMP makes it easier to take the low hanging fruit, but if you need more fine-grained control it's not extremely useful and often gets in your way.
>>
>>61539622
Fuck off, flask is the best python web framework in existence. Fucking morons who can't program.
>>
File: 0949992.png (28KB, 718x509px) Image search: [Google]
0949992.png
28KB, 718x509px
>>61539502
Here is why it doesn't work (See pic). Source: http://jinja.pocoo.org/docs/2.9/templates/

You have to use the loop variable, preferably loop.index
>>
>>61539684
i think you meant django
>>
>>61539709
Could you please post the working code? I am too iq 86, and could not understand how scoping works. What I have posted is just a reduction of the working thing I am trying to implement for the sake of simplicity to post the question.
Well, I will reread the docs for sure.
>>
>>61539735
>Python babies namecalling and accusing others of being bad cant understand the concept of scope
clockwork
>>
>>61539753
(You)
>>
>>61539735
You can do something like this, if you want the sequence 0-1-0-1 etc.

    {% for each in text %}
{{ (loop.index + 1) % 2 }}
{{ each }}
{% endfor %}
>>
Is there any database system that does not use sql and allows me to easily get the intersection of the result of a few searches?
>>
>>61539709
>>61539793
What shitty language is this?
Why would you ever use that cancer?
>>
>>61539793
Can this result be assigned to a variable so other blocks could access that value? Cause it stays there not for cosmetic purposes, I want to use that to swap div classes to create a checkerboard-like view.
>>
>>61539804
It's a HTML templating engine.
>>
>>61539838
Why would you ever use that crap?
>>
>>61539843
Go ask google.
>>
>>61539846
I am asking you instead, you are the one who posted this AIDS in this thread after all.
>>
>>61539794
What a retarded fucking question. This must be the dumbest fucking question I've ever seen on /dpt/ or even /sqt/. Kill yourself for real.
>>
Where can i download learn python 3 the hard way without having to pay?
>>
File: 1476545792642.jpg (50KB, 441x361px) Image search: [Google]
1476545792642.jpg
50KB, 441x361px
>>61539864
w-why anon? ;_;
what did I do wrong?
>>
>>61539859
You're another dumb fucker like this dumb fucker
>>61539794
You kill yourself too
>>
>>61539868
Don't use that shitbook and learn how to google (libgen).
>>
File: 1485457869990.jpg (140KB, 518x305px) Image search: [Google]
1485457869990.jpg
140KB, 518x305px
>>61539884
>You kill yourself too
why does everybody suddenly hates me?
>>
>>61539896
Only first url worked and found nothing. The book is good as it teaches me practical stuff like make a website/game.
>>
>>61539884
If your continue using this shit, your mother will die tonight.
>>
>>61539868
Dont bother with that faglet z Shaw. Try dive into python or literally anything else.
>>61539880
Firstly explain why you want a database without SQL, then I think you will have answered your own idiot question.
>>61539902
Well I'm the same guy who hated you from the SQL post. It's not surprising that you continue to make idiot comments like these. Stop posting you dumb little shit, lurk moar and also fucking Google more.
>>
#include <iostream>

class Keksimus {
public:
virtual void foo()
{
std::cout << "Class Keksimus";
}
};

class KeksimusMaximus : public Keksimus {
public:
void foo()
{
std::cout << "Class KeksimusMaximus";
}
};

int main()
{
Keksimus kek = KeksimusMaximus();
kek.foo(); // outputs "Class Keksimus"
return 0;
}


I know that what's happening here (I think) is object slicing. But is there anyway to achieve this, say, by storing a unique_ptr in the super class?
The situation is there's a singleton object storing the derived instances of Keksimus as Keksimus*, but I need to be able to call the derived functions via the singleton.
>>
>>61539922
>only first url worked and found nothing
You are beyond saving. Please jump from a bridge.
>>
>>61539931
The dive into python looked pretty good and i dont have to find a download for it but it lacks in practical exercises. Why do you think the learn the hard way book suck?

>>61539951
hey man please no bully.
>>
>>61539931
>Firstly explain why you want a database without SQL
I consider SQL a dumb ugly bloat, I want to be able to simply search by using an api given in my language, not with a badly designed language that needs to be parsed at the runtime inside another language.

>Well I'm the same guy who hated you from the SQL post
did a nosql db peed in your front door or something?

>lurk moar
dpt never had a pro-sql stance, I think you should go back to /wdg/
>>
>>61539975
I think I explained clearly enough the first time
>>61539984
>Dumb ugly bloat
As I thought. Kill yourself you stupid piece of shit pajeet.

>Tells me to go back to /wdg/
Haha. Hahahahahahaha. Even those /wdg/ tools are better programmers than you will ever be.
>>
>>61540008
Please get a trip.
>>
>>61540020
Go back to r eddit and then kill yourself, in that order.
>>
>>61540034
The irony
Again, please get a trip.
>>
>>61539946
>I know that what's happening here (I think) is object slicing.
You've got it right.
>But is there anyway to achieve this, say, by storing a unique_ptr in the super class?
Sorta.
std::unique_ptr<Keksimus> = make_unique<KeksimusMaximus>();
>>
>>61540041
You are the one we need to identify in future, only stupid fuckers who don't belong here and don't understand programming think SQL is unironically bad and that nosql is a "replacement" need to be easily identifiable.
>>
>>61540067
Again, please get a trip. I want to avoid your shitposting and ignorant hackerjews-tier replies in the future.
Let me guess, you think that OOP is great, python rocks, java is fine, and C++ is cool. You follow "design patterns" by the book and you also use windows as well as chrome, am I right?
>>
>>61538735
>not doing stupid shit just because it works
>>
>>61537937
>Idris
Cool meme language sweetie. I would use it except I prefer to use languages that are used in the real-world to build software that people will use.
>>
>>61539984
Holy shit, what is this retardation. If you have relational data, use an RDMS. What specifically are you trying to store? Why are you (potentially) adverse to something specifically designed to solve your problem here?

>>61540008 is being kind of a dick, but she's right.

On top of that, "NoSQL" generally isn't "not SQL", but rather "Not Only SQL"
>>
Wrong on almost all counts. All languages are fine if you can use them to efficiently solve a problem and if they have enough constructs within the language to be able to express your idea fully. If you're a dumb fucker who thinks a language is bloated because you're too dumb to understand it (despite it being so fucking simple even a turd like trump could probably understand it) then you are the one who needs to go back.
>>
>>61539984
>not with a badly designed language that needs to be parsed at the runtime inside another language.
You could read/write to a serialized plaintext dump and heavily utilize caching to keep everything in memory, but sql will be probably faster (despite the "bloat") unless you are writing your daemon in C or ASM. I've done this before with a simple python server.

>>61540054
Thanks, but where would this code go? The problem is that singleton class would only be aware of Keksimus, and not its derivatives such as KeksimusMaximus and KeksimusInfinitum. Is this even possible or is the design completely fucked in the first place?
>>
>>61540169
when would you ever choose java over something else
>>
File: 1484349346801.jpg (168KB, 858x1200px) Image search: [Google]
1484349346801.jpg
168KB, 858x1200px
>>61540162
>If you have relational data, use an RDMS
I don't mind using RDMS, my problem is with SQL.

>What specifically are you trying to store?
I want to make a tag-based search system.

>On top of that, "NoSQL" generally isn't "not SQL", but rather "Not Only SQL"
I did not use the "NoSQL" term.
>>
>>61540169
Whom are you talking to?
>>
>>61540200
Watch this dumb cunt pedal backwards
>>61539984
You're the first to mention nosql, niglet
>>
>>61540183
That's completely fine, then the singleton will just hold a bunch of unique_ptr<Keksimus>. A unique_ptr<Keksimus> can safely point to derivatives of Keksimus even if the code it's in it has no idea what those derivatives are.
>>
>>61540067
>>61539864
>>61540162
SQL dosen't seem to be doing a very good job of storing relational data when the complexity of writing the query quickly approaches a few foreach loops.
SQL is bloated and has stupid requirements for what should be simple tasks. (>muh 5 inner joins to combine 5 searches for many-to-many)
Do you think you're missed by leddit?
>>
>>61540207
Should be obvious from the last few posts in the thread
>>
>>61540200
>I did not use the "NoSQL" term.
>did a nosql db peed in your front door or something? from >>61539984 ...which is what I replied to.

>RDBMS without SQL
What the fuck even are you

I'm done with your shit. Feel free to ask something coherent if you want actual help.
>>
>>61540235
Watch the retarded pajeet accuse us of samefagging next.
>>
>>61540213
>Watch this dumb cunt pedal backwards
Nope

>You're the first to mention nosql, niglet
"did a nosql db peed in your front door or something?"
It was an ironic question to see why he was so butthurt against anything that does not use sql. It had nothing to do with the actual discussion.
I am unsure why you are grasping at straws.

>>61540235
See above

>>RDBMS without SQL
>What the fuck even are you
SQL does not imply RDBMS

>>61540250
wut?
>>
>>61540256
>SQL does not imply RDBMS
*RDBMS does not imply SQL.
>>
>>61540256
>I did not use the "NoSQL" term.
>W-well, I used it, but n-not the way you thought I d-did, BAKA!

Stop being so tsundere. Enjoy the last (You).
>>
Haven't btfo of anyone this hard on /dpt/ for a while
>>
>>61540256
Btw I wasn't butthurt about nosql , I was butthurt that you have no comprehension of programming yet you dare to post here.
>>
File: 1469759646959.png (324KB, 627x736px) Image search: [Google]
1469759646959.png
324KB, 627x736px
What is the best hash function for encryption?
>>
>>61540306
>Btw I wasn't butthurt about nosql
Doubt

>I was butthurt that you have no comprehension of programming
I haven't posted anything here that might make a sane person think so. Feel free to argue against it.
>>
https://stackoverflow.com/questions/2497227/what-are-good-alternatives-to-sql-the-language

literally EVERY SINGLE LINK 404s
topkek
long live SQL
>>
>>61540324
Oh but you have. You don't understand how to identify the correct tools to solve a specific problem and you dismiss something without even a minimal understanding of it, that's enough of an indicator to any sane person.
>>
>>61540307
>hash
>encryption
>>
>>61540351
>You don't understand how to identify the correct tools to solve a specific problem
But I do anon.

>you dismiss something without even a minimal understanding of it
citation needed

Still, neither of the above implies that I have have no comprehension of programming. It only shows that you are unable to follow simple logic.
>>
>>61540342
On top of that, the post is basically saying "just use an ORM library for your language that autogens SQL".

Which, don't get me wrong, is valid, but at the end of the day, they're still working with the major RDBMS's that are managed by SQL.
>>
File: 1493062790733.jpg (258KB, 1680x1050px) Image search: [Google]
1493062790733.jpg
258KB, 1680x1050px
>>61540355
Yes anon, hash, encryption. What is the best hash to use in order to encrypt my data with?
>>
>>61540369
It's okay to admit defeat any time, pajeet
>>
>>61540387
sha512

might take a while to decrypt, though.
>>
>>61540342
>>61540373
I would use a dbm-based kv db but I do not know any that allows you to easily take the intersection of multiple queries.

>>61540391
>I don't have an argument
Nice try rajeeh
>>
File: 1488861652263.png (272KB, 640x895px) Image search: [Google]
1488861652263.png
272KB, 640x895px
>>61540401
But anon, this is not how it works. Encryption provably takes the same time as decryption.
>>
>>61540408
Put it in literally any database as KVP and use your programming language's intersect function.

How hard can this possibly be?
>>
>>61540426
It would be extremely slow.
>>
>>61540426
Don't waste any more posts on the lost cause, anon
>>
>>61540433
for you.
>>
>>61540438
Please get a trip.
>>
>>61540433
What do you mean? My language's intersect function let's the RDBMS do the heavy lifting, and it doesn't pull data until the intersection is calculated.

What's wrong with your language?
>>
>>61540387
>hash
>encryption

If you'd like to decrypt it later, you probably don't want to hash it
>>
>>61540457
What's your language?
>>
>>61540473
Malboge
>>
>>61540473
C# with EF, although I should have specified that it's "my language + the de facto ORM library for that language", but that's a moot point.
>>
>>61540473
American
>>
File: 1471669840018.png (277KB, 590x335px) Image search: [Google]
1471669840018.png
277KB, 590x335px
>>61540471
You are not supposed to hash the data that you are going to encrypt.
>>
>>61540523
I know, but that's what it sounded like you wanted to do here >>61540307
>>
File: 1473181923303.jpg (59KB, 643x546px) Image search: [Google]
1473181923303.jpg
59KB, 643x546px
>>61540559
Nope, I talked about using a hash function to encrypt data. Just like people use stream ciphers to encrypt data.
>>
>>61540418
not sure if trolling.
encryption != hash
hence the sha-512 "joke"
>>
File: 1496067525267.jpg (109KB, 600x800px) Image search: [Google]
1496067525267.jpg
109KB, 600x800px
>>61540610
>encryption != hash
I know that.
>>
>>61540582
I'm confused anon, you went from using a hash function to encrypt data to not using a hash function to encrypt data to using a hash function to encrypt data. Either way, what you want isn't possible.
>>
File: 1482468897575.jpg (89KB, 553x414px) Image search: [Google]
1482468897575.jpg
89KB, 553x414px
>>61540642
>to not using a hash function
Nope

>Either way, what you want isn't possible.
Are you lying or are you just ignorant?
>>
>>61540640
I fucking dare you to reply to me ONE MORE TIME and I'll repr0t you for avatarf@gging, you f**king dumb animeposter.
>>
>>61540664
Clearly explain what you want here, because something's getting lost in translation
>>
variable length arrays!
>>
File: 1498622788897.png (250KB, 496x400px) Image search: [Google]
1498622788897.png
250KB, 496x400px
>>61540668
Posting random anime images is not "avatarf@gging".
At least I am not shitposting, nor am I announcing my reports, unlike you.

>>61540681
I want to hear what hash functions do the anons here suggest to use if one wants to encrypt data. You know how stream ciphers work, right?
>>
def number_to_choice(number):
if number == 1:
return 'Super Giga Nigga'
if number == 2:
return 'Giga' Nigga
if number == 3:
return 'Nigga'


Is there a nicer way to do this, it seems brute force as fuck. It runs and does what I want, but I think I might be missing something. I want the function to return back a person when I put in the registration number.
>>
>>61540772
return array[number]
>>
>>61540772
just like use a switch super duper giga nigga
>>
>>61540785
>>61540772
Python doesn't have switches lol. You're supposed to use a dict.
options = {1 : 'Super Giga Nigga',
2 : 'Giga Nigga',
3 : 'Nigga' }
return options[number]
>>
>>61540802
Ok, so dictionary would be the best option. That makes sense. Thanks.
>>
>>61540732
I do, I'm just not seeing where the hash function fits in since they're one-way functions
>>
>>61540642
It's bait. Some moron who likes to pretend he's a security expert comes here and brings it up. Always phrasing himself poorly.
Last he asked he was talking about using a hash tangentially for verifying a OTP.
But he was too stupid to understand a generalization of the use of the hashing algorithm in that context.

Just hide it. Too dumb to be bothered with.
>>
>>61540802
Use an array, pajeet.

>>61540816
Dumb sheep.
>>
>>61540830
>array
>to replace anons general request for a switch case construct
No an array just won't do.
>>
>>61540732
>blatant bait-posting with obscure wording
>not shitposting
?

if you were looking for suggestions about crypto-secure hash functions to use for something like HMAC auth to go w/ your protocol you should've worded it that way, instead of "hash function to encrypt data"
>>
File: 1477258347535.jpg (33KB, 400x400px) Image search: [Google]
1477258347535.jpg
33KB, 400x400px
>>61540823
You use the hash as a CSPRNG and xor it with the plaintext.

>>61540828
>Last he asked he was talking about using a hash tangentially for verifying a OTP.
Aren't you confusing me with someone else, anon? I never wanted to "verify an OTP".

>But he was too stupid to understand a generalization of the use of the hashing algorithm in that context.
This sentence does not make much sense.

>>61540857
>>blatant bait-posting with obscure wording
Nothing that I said is obscure, anon.

>if you were looking for suggestions about crypto-secure hash functions to use for something like HMAC auth to go w/ your protocol you should've worded it that way
But I do not want to use a hash for authentication, anon.
>>
>>61540891
>Nothing that I said is obscure, anon.
apparently everyone else disagrees.
>>
how important is a no warranty clause in a license
>>
>>61540891
>You use the hash as a CSPRNG and xor it with the plaintext.
Well shit son, just say that in the first place. I'd probably just go SHA256 or SHA512
>>
>>61540927
consequences will never be the same.
>>
File: 1477363874845.jpg (233KB, 425x600px) Image search: [Google]
1477363874845.jpg
233KB, 425x600px
>>61540912
Probably because this is a normalfag thread in a normalfag board. /sci/ would be a better place to ask as this is where actual scientists roam, on /g/ one will only find underaged fags, pajeets and high school dropouts.
>>
>>61540955
lmao, fuck off.
I'm doing an undergrad in EECS at a top 10 university. You're just retarded.
>>
File: 1500889898737.jpg (207KB, 528x764px) Image search: [Google]
1500889898737.jpg
207KB, 528x764px
>>61540946
Why not sha3?
>>
File: 1500492980350.gif (505KB, 1080x1080px) Image search: [Google]
1500492980350.gif
505KB, 1080x1080px
Is SICP really necessary if I already know loops and basic stuff? I used MATLAB as a glorified calculator at university as a non CS related STEM major.

I'm on chapter 3 and I find it boring. The concepts aren't hard but it is a chore working with cons, car, cdr with pairs and lists (and append, cons, (list x y) all existing). I don't understand why cons, car, and cdr weren't completely ignored as soon as lists were introduced. Maybe going fully though any textbook was always going to be boring but SICP is structured as if you should do that.

I wouldn't say I'm a total pleb. I just wonder whether studying more maths in my free time and codemonkeying would be better. I have never actually programmed anything in "the real world".
>>
>anime poster
>is autist
Nothing new here folks
>>
>>61541125
You failed to undertand the main topic of that book. Abstraction.
>>
>>61541151
is the main point that abstraction is bad?
>>
>>61541150
anime autist weebsite
>>
>>61541125
SICP is an outdated introductory course in a dead language written by academics with no experience outside their ivory tower, there's no reason for anyone who already knows how to program to waste time on it.
>>
File: Captura.png (23KB, 609x466px) Image search: [Google]
Captura.png
23KB, 609x466px
Just finished my .torrent file parser. C# is just too superior.
>>
>>61541224
good job anon :^)
>>
>>61541197
Is this the current state of /g/?
Please be a troll.
>>
>>61541224
easy and fun language for quickly hacking together windows applications, but useless outside of that. at least it's better than objective-c.
>>
>>61541274
>useless outside of that
>one of the most used languages in the enterprise
>>
>>61538024 (Me)
Cookieless downloads are in. I avoided using ?& query params since they make it harder to pass the URL as an input to mpv et al.
>>
>>61538024
sftp
>>
>>61541252
>everyone who doesn't belong to my cult must be troll
SICP-fags are the second most obnoxious Lisp-fags out there after CL-fags, but they're the most useless.
>>
Working through K&R, 2nd ed
Dumb question, what's the point of the ternary operator in the printf statement?

It just seems like a regular " " would do the trick.
/* Echo: Command line arguments, version 2 */
int main(int argc, char* argv[])
{
while(--argc > 0)
printf("%s%s", *(++argv), (argc > 1) ? " " : " ");
printf("\n");
return 0;
}

>>
>>61541274
Pretty effective bait, I got a little upset.

C# can be used for just about anything outside of being a systems language. Called it "useless" is disingenuous at best, and more likely intended to annoy someone.
>>
>>61541274

It works well for the same thing on Linux. Mono isn't that bad.
>>
Reading the 2nd edition of the Rust book. This one isn't riddled with typos.
>>
>>61541151

I understand. And now that lists were introduced I no longer need the constant use of cons, car etc. Just add simple list functions.
>>
>>61541160
Read that book please.
>>
>>61541287
>>61541345
>>61541353
not bait, maybe uninformed. isn't it only used for windows and game dev?

>It works well for the same thing on Linux. Mono isn't that bad.
last time I checked (was a while ago) mono couldn't run most GUI programs, and it still seems to be the case.

>Everything in .NET 4.5 except WPF, WWF, and with limited WCF and limited ASP.NET 4.5 async stack.
>>
Is he right?
>>
>>61541343
I think it's a typo, second " " should be "".
>>
>>61541343
maybe it should be a "" to prevent a space at the end
>>
>>61541353
C# on Linux is a complete joke. Every should work, but it in reality it doesn't.
>>
>>61541325
>requires users to download and install an sftp client, which is something they have probably never heard of before
>nowhere near as many video players support streaming from sftp as from http[s]
>no fine-grained permissions, only owner and group
I have three kinds of use in mind:
>accessing my own torrented media (I want cookied download links and cookieless http links I can paste into mpv)
>sharing torrented media with family and friends in a really simple way ("go here, your username is foo, password bar, click a file to download it").
>sharing deliverables with clients (again, needs to be very simple)
I've already used it for the first two successfully; far nicer than previous attempts at using FTP etc. I need to polish it a bit more before I can use it with clients.
>>
>>61541450
>>61541452
That sort of makes sense
>>
>>61541343
printf ("%s%c", *++argv, argc > 1 ? ' ' : '\n');
>>
>>61538024
Neat
>>
>>61541417
>isn't it only used for windows and game dev?
And web dev with ASP.NET, yes. These three markets are pretty big, and there's plenty of .NET jobs out there. C# is the 5th language in the TIOBE index.

>mono couldn't run most GUI programs
It can, if you use a Linux-compatible UI toolkit like Gtk. Also it can run most Windows Forms programs I believe.
>>
>>61541472
>>requires users to download and install an sftp client, which is something they have probably never heard of before
Wut? Literally everybody has an sftp or ssh client installed.

>>nowhere near as many video players support streaming from sftp as from http[s]
Except ffmpeg, mpv, mplayer, etc...

>only owner and group
What else do you want?

>>accessing my own torrented media (I want cookied download links and cookieless http links I can paste into mpv)
Cancer, sftp can do that easier.

>>sharing torrented media with family and friends in a really simple way ("go here, your username is foo, password bar, click a file to download it").
sftp is simpler, you do not even need to manually type a username nor a password.

>>sharing deliverables with clients (again, needs to be very simple)
Simple
>>
>>61541248
:^)

Now I'm adding a tracker requester. Who knows, maybe eventually I can replace qStalledTorrent. I like network programming and this seems like a good long term project.
>>
File: 1308542408301.jpg (118KB, 634x843px) Image search: [Google]
1308542408301.jpg
118KB, 634x843px
50 files in a folder
want them in a variable organized by year of creation

what datastructure is ideal for this?

my thinking of what would be ideal
array of dictionaries where key is year and value is an array

main_array = ({2015: (faggot.zip, nigger.jpg, cunt.html)}, {2016: (kike.zip,whore.avi)})

I can create a key in a dictionary based on year encountered when itereting over files
but this seems maybe bit convoluted
any thoughts on this?
>>
>>61541417
>isn't it only used for windows and game dev?

Are you trying to say "Windows Desktop GUI" and "Windows Game Dev"?

C# is massively used in server-side applications, as well as the GUI client counterpart that goes with these. Think large RMM tools, such as LabTech (as an example). LabTech manages constant I/O from tons of machines checking in and feeding it data, while the GUI clients technicians use are WPF-based. On top of this, you have a huge number of ASP.NET applications that do all sorts of things. Sure, they likely expose a web front-end for the users, but it could be performing any number of integrations and data movements in the backend, these days likely calling and creating web APIs. Then, you have services/daemons that run on any OS that can do...just about anything.

As far as gamedev, C# is used as a scripting language in Unity, which runs on pretty much anything, but the engine itself is not built in C#.

In Xamarin's case, Xamarin gives you the ability to deploy on mobile and macOS right now, and 3.0 is going to add WPF and Linux GUI support (unsure of the details on the Linux side of things).

Finally, with .NET Core, you get a more lightweight FOSS platform to distribute C# things on just about any platform. These are typically daemons or ASP-based, and usually perform retrieving and sending data from point A to point B operations with business logic somewhere in-between.

Really, if your development assumptions are limited to "can I make a calculator for Ubuntu" (which, you can in C#), then you clearly haven't seen what the vast majority of lines of code in production are doing.
>>
>>61541463

It worked fine for me. It's not point-and-shoot like it is on Windows, but programming isn't supposed to be easy.

>>61541417
>>Everything in .NET 4.5 except WPF, WWF, and with limited WCF and limited ASP.NET 4.5 async stack.

Winforms is more popular than WPF and other GUI shit, and Mono supports it.
>>
>>61541588
Depends on what you want to do with the data
>>
>>61541517
I feel like you're probably trolling now. In case you're not:
* Only programmers, sysadmins, and "webmasters" (if those still exist) even know what [S]FTP means.
* Everyone knows what "sign into this webpage" means.
>What else do you want?
I want to be able to share foo.mkv with alice, bob, and charlie. Then I want to be able to change my mind and easily block access to bob. Then I want to add daniel too, who doesn't have an account yet. How do I do this with UNIX permissions except by creating a group for every possible combination of people, manually setting the group with chown, and updating the set of groups whenever someone new comes along?
>>
>>61541635
>parser = argparse.ArgumentParser(description='Process some integers.')
Remove him from AllowUsers in the sshd config or play with the groups.
Using groups is not in any way more difficult than manually setting the rights of each user per file in systems like windows.

>* Everyone knows what "sign into this webpage" means.
And sane people will avoid it

>* Only programmers, sysadmins, and "webmasters" (if those still exist) even know what [S]FTP means.
The don't need to know what it means in order to pass it to mpv. Moreover this would be a nice chance for them to learn.
Also, many people that I know of who are none of the above know what (s)ftp means.
>>
File: 1414080744400.jpg (204KB, 1600x1200px) Image search: [Google]
1414080744400.jpg
204KB, 1600x1200px
>>61541627
its about deleting old backups
once its easy to access only files from lets say 2016, they will be feed to a function that based on some settings will delete old backups except for lets say one per month or one per week

I already did weekly and monthly using hash tables, but now realized I need to do years too
>>
New thread: >>61541697
>>
>>61541696
Sound reasonable enough
>>
>>61541694
>Remove him from AllowUsers in the sshd config
No, I still want daniel to be able to log in and access other files. I just don't want him to see foo.mkv anymore.
>or play with the groups
Please spoonfeed me on this one. I have users alice, bob, charlie, daniel. I have files foo.mkv and bar.mkv. How I do assign which users can access which files, using only UNIX permissions, without it becoming a total clusterfuck?
>>
>>61541696
what the fuck, you shitty pedo fuck off
>>
>>61541590
fair enough. haven't touched app dev for years but Xamarin looks promising.
>>
>>61541777
It's worth noting that Xamarin runs on Mono, and I've heard rumors that they want to combine Mono and the actual .NET Framework and make the whole thing FOSS, but that was mostly from Icaza's desires. I'll be keeping my eye on it, but I suspect that something similar will happen eventually.
>>
File: capture.png (149KB, 476x305px) Image search: [Google]
capture.png
149KB, 476x305px
Are all .net developers this qt?
>>
Is there a bitshift sequence that will give me the square of a number, not the square root?
>>
>>61539220
>I fundamentally don't understand what a for and while loop are
>>
>>61542153
Literally bitwise multiply each digit.
>>
how do y'all niggas draw state diagrams? what software do you use?
>>
>>61540891
>doesn't make much sense
You're absolutely the same guy. And you still can't understand this basic shit.
>>
File: 1471647466113.png (40KB, 184x184px) Image search: [Google]
1471647466113.png
40KB, 184x184px
>>61542816
But I never wanted to "verify an OTP", anon.
Thread posts: 317
Thread images: 38


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

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


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