« first day (2176 days earlier)      last day (2765 days later) » 

12:04 AM
Hi, I've read again the “The Definitive C++ Book Guide and List” recently and noticed that the C++ Core Guidelines are recommended (only) on that “book” list while the ISO C++ FAQ and cppreference.com are linked to (only) from the tag wiki. Would it make sense to reference all three resources from the same place? They seem pretty similar in nature to me.
 
12:19 AM
Have the Core Guidelines been Lounge-approved?
 
I don't know.
 
@R.MartinhoFernandes somehow that sounds unlikely
 
Recently saw code that looked somewhat like this. I wonder if the prefetching could be encapsulated in a range library.
 
The Core Guidelines were added by a 20k+ user with a gold badge in C++ in March: stackoverflow.com/revisions/388282/30
 
Seems like for (auto& el : range) isn't a strong enough abstraction for this. I think we'd need range.each(F&&) or something.
I'd hate to write code like this.
 
12:32 AM
@StackedCrooked we all hate code like that
@StackedCrooked looks like they are trying to do some simd work or something
 
not really, just prefetching
 
Jul 6 '14 at 18:58, by Borgleader
@AaronKyleKilleen Public service announcement
 
Before the loop they prefetch three packets. Then they start a normal loop in which they prefetch packet[i + 3] at the beginning of each iteration.
 
yea, it's a "im going to load data for you because you don't know how to do so properly library" lol
A lot of things use it though, I'm not speaking negatively of it
 
It's a nice library actually. If you want to send network packets really fast.
 
12:39 AM
right.
 
Recently tried out a 100Gbit/s nic and was able to achieve full line rate in a little test program.
Using that library, of course.
 
Nice.
I've not had the chance to play around with my network stack on my single gigabit lan lol
saturating a network stopped fascinating me many years ago
 
saturating the network is basically my job
 
lol We don't have to hire people to do that. We recetly moved to office 365 email. We sent out a notice to everyone NOT to upload stuff from their archive files to 365.... that went completely ignored.. lol
for over a week people were crying about how slow our network was... when we could do nothing about it.
 
1:09 AM
@5gon12eder Not completely certain, but I think that was me. I do think it's a useful resource, but if others disagree I'm not going to spend a lot of time arguing about it.
 
@JerryCoffin The edit was made by user Galik. I'm not saying it's not useful. I'm just wondering what resources we want to list in the tag wiki and what goes onto the book list.
I think cppreference.com, the ISO C++ FAQ and the C++ Core Guidelines should be your three go-to online references and it would make sense to me to mention them all in the same place. Be that the book list or the wiki.
 
@5gon12eder I think they should all be in the book list. I'm less certain about which should be duplicated in the wiki (and I'm not convinced it makes much difference--as far as I can tell, the tag wikis are pretty thoroughly ignored).
 
@JerryCoffin I agree. So should we just wait a little and if nobody objects go ahead and edit the list? Or am I not supposed to do that?
 
.-.
Back to figuring out how to swap some junk.
 
1:34 AM
@5gon12eder I'd probably just edit it, but most others are a little more cautious.
 
@JerryCoffin Hey man I've been trying to solve a challenge in hacker rank that involves finding the number of inversions in an array when using insertion sort. My strategy was to use a modify merge sort and count the number of times where A[i] > A[j]. It works perfectly for certain arrays but it is always off by one for other arrays and I can't seem to figure out why. Maybe you can have a look. Ignore any memory allocation failues. paste.ofcode.org/SwyRAdMpGCaNbFFQDc8qL2
 
@JerryCoffin Okay, I'll give it a little more time and do the edit later today. I'll drop another note here when I'm done so people can check and complain about it if they want. Thanks so far.
 
@5gon12eder Surely.
@LuisAverhoff My only immediate advice would be to use a debugger with the smallest inputs you can find that 1) work correctly, and 2) show the bug.
 
Pat Monahan sounds so much like Train
 
1:53 AM
^ Just a random image :)
 
Really out of focus, but a very impressive photograph nonetheless
 
Yeah, potato shot.
:P
 
I dunno, I have trouble focusing my camera on stuff more than a few blocks away. That's less than 1 mile. That picture is a little bit further than that.
 
@JerryCoffin Take this input for example, 4 3 2 1. That array has 6 inversions but it only reports 4. The reason why is because for the first two splits, it gets 2 inversions. Then once we have 2 sub arrays of length 2 and we have to perform the final merge, it only adds two more and this is what the left and right sub array look like {3, 4}, {}. Now I can't simply put my inversion reference variable in one of the last two while loops or else it will over count. So at this point I'm at a lost.
 
@Mysticial Oh I know, I worked with cameras as a job for a while. The auto-focus doesn't do very well with small, off-center objects, especially without a background to refer to. The fact that they've achieved any reasonable focus at that distance is quite impressive, not to mention atmospheric diffraction causing them to appear more blurry than they actually are
 
2:01 AM
@Aaron3468 My primary reason for not being able to reliable auto-detect and pick the best settings:
{
    StaticPinOrder : [15 13 11 9 7 5 3 1 14 12 10 8 6 4 2 0]
    ComputeRegions : [
        {   //  Region 0
            LogicialCores : [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]
            MemoryNode : 0
        }
    ]
}
^^ My hardware isn't complicated enough.
So I did away with the key-quotes and commas from JSON.
I intend to add support for something like, "0-15" that will valid within arrays and will expand to the integers 0 through 15.
Oh, I have a typo in there.
@Aaron3468 I'm actually quite amazed at how well the iphone does for something that's so fucking small.
It beats the shit out of my 3 in. webcam.
 
@Aaron3468 How would "atmospheric diffraction" affect a photo taken from the "Juno spacecraft 6M miles away"?
 
If I recall, that's because the iPhone uses a second lens to help focus. All the flagship smartphones are using that configuration this generation. I don't remember if the lens was embedded in the same housing or whether it was a few millimeters offset.
@JerryCoffin Atmospheres bounce a lot of light as well as diffracting some of the light from the surface towards any viewing angle. Dispersion may be the proper word to use.
 
@Mysticial If you can live with leaving the commas in, what you looks like it's probably conforming YAML.
 
@JerryCoffin I don't think I've heard that. lol
 
2:17 AM
Sample YAML:
martin: {name: Martin D'vloper, job: Developer, skill: Elite}
fruits: ['Apple', 'Orange', 'Strawberry', 'Mango']
YAML also supports markdown-style lists, so that array can be written like:
fruits:
    - Apple
    - Orange
    - Strawberry
    - Mango
 
Yeah, I just ran it through a validator and it looks like the commas are the only thing missing
 
I'm still trying to prove that omitting the commas doesn't lead to any ambiguities.
 
As far as I'm concerned, whitespace is a valid delimiter and doesn't appear in numbers. If strings have quotation characters, there will be no ambiguities.
 
@Mysticial could actually eliminate an ambiguity. Is 12,345 one number or two?
If you use only whitespace as separators, then it's clearly one number.
 
that’s a lot of cores
 
2:23 AM
Yeah, I think there are no ambiguities. { and [ determine whether it's an array or object. In an object, it expects to see (identifier : object). And in an array, it expects only (object).
And all objects start with either { [ or a valid identifier character which is exclusive of { and [.
 
That sounds like a well-defined and simple language
 
Comments are the same as the C languages. //
 
Arrays are nest-able, yeah?
 
yeah
 
@LucDanton This is a lot of cores: knupath.com/products/hermosa-processors :)
 
2:25 AM
Strings have escapes for \ and ". And that's it actually.
 
@Mysticial Then you've got pretty much everything you need to serialize data :)
@JerryCoffin What kind of computers does your company work on? Mainframes, or servers?
 
Hello, Cruel World!
 
requiring commas is stupid. code that converts something to json must have a special check to not add a comma after the last item.
which is intolerable
 
@Aaron3468 Aiming more at HPC, but we've also talked with some companies thinking about using them for server-type stuff.
 
@StackedCrooked I agree; commas are illegible and difficult to type. Unlike hand-written text, digital whitespace is a better and unambiguous alternative to commas
 
2:28 AM
@StackedCrooked Oh come on. It's easy. codereview.stackexchange.com/q/13176/489
 
And spacebars are much easier to reach than a comma while touch-typing :D
 
Found a bug in my escape character handling... hmm
 
@JerryCoffin wow, you dared to not put a space after a comma
that's a capital offence
 
@StackedCrooked Speaking of which, I'd better get home before my wife decides to kill me...
 
Oh my parser will probably handle escape characters, but my writer doesn't do them at all. oops.
@Aaron3468 Yeah, strings will handle any (UTF-8) unicode character except for null character. Only \ and " need to be escaped and nothing else is.
The string parser just keeps going until it finds a " that's not in the context of the escape parser.
 
2:51 AM
@jerry Coffin Happy to tell you that I solved it.
 
3:04 AM
@StackedCrooked std::for_each...?
 
3:37 AM
I can't get StringMap.fold to work.
 
 
2 hours later…
5:16 AM
@ThePhD using origami = StringMap; origam.fold works every time!
4
 
Xeo
5:38 AM
@ThePhD doin' it 'rong
 
@JerryCoffin Pfffft.
@Xeo qq aren't you supposed to go to work now?
 
Doh, my mobile is the only place on which I can chat here
This chat takes 10 minutes & doesn't load on my MacBook for some reasons ...
 
Xeo
@ThePhD home office today
 
5:55 AM
> Atmospheric carbon dioxide passes 400ppm
5
We did it everyone! round of applause
 
@Telkitty wait longer
 
6:08 AM
hello lounge
 
Sam
6:29 AM
Hello all!
 
Ven
6:40 AM
Hi
 
tfw still can't StringMap.fold
I think it's time to go to beeed.
 
Ven
SSCCE or gtfo, as usual
5
 
Anyone here?
 
7:14 AM
Well, I am now.
Can't sleep.
 
7:24 AM
@Code-Apprentice No.
hmm sweet, according to my budgetary spreadsheet I saved a large sum of money this month
 
8:04 AM
let do_fold key val = (val, key);;
Why is this a syntax error ?
 
Xeo
still having fun with OCaml?
 
"Fun".
Maybe tuples are defined differently.
 
@ThePhD lel
 
@ThePhD sorry if.. but how much time do you have to learn the language?
 
@ThePhD what is that supposed to do?
 
8:06 AM
Take 2 values, make a tuple out of it.
 
doesn't let declare one value
@ThePhD let pair = (key, val) in Haskell
not sure why you put key and val on the LHS
 
Ven
it declares a function making a tuple
@BartekBanachewicz he just wrote (,) in haskell
 
Xeo
@BartekBanachewicz arguments?
 
@Xeo I thought he wanted a value, not a function
my bad
@ThePhD anyway isn't (,) a function in OCaml
 
Ven
8:10 AM
@BartekBanachewicz no
 
idgi how could anyone being in the Lounge so long remain so oblivious to FP though
 
@ProblemSlover As long as you aren't using it for anything that pushes the limits of your machine, it's a great idea. General browsing, file archival, and communication. It's definitely not going to be for contemporary gaming, compile times will be a bit slower, and memory will feel a bit tighter. But at that point you could also have another cheap physical machine.
 
It specifically errors on the val part of let do_fold key val = (val, key);;
 
Ven
@ThePhD yes
 
And I don't know why.
 
Ven
8:12 AM
did you figure out that val is part of Ocaml syntax yet?
 
wat
 
Ven
type let a = 1;; in your REPL (say utop)
utop # let a = 1;;
val a : int = 1
 
.... Oh.
.... Why doesn't it say "Bad keyword use"?
 
@ProblemSlover Really, your options grow limited as your needs increase. So if all you need is a general device, you have freedom to make it as secure as possible.
 
Or something to that effect?
"Syntax error" is the same error I get if I put a comma in the wrong place
That's.... ugh, whatever.
 
8:13 AM
Or do fun hacks like running linux on a microcontroller, buying a pi as a disposable computer, etc
 
Ven
@ThePhD because ocaml sucks
 
@ThePhD yeah that's actually almost as bad as C++ error messages
 
user1804599
@ThePhD val is a keyword
 
user1804599
It is used for declaring values in module signatures.
 
user1804599
8:15 AM
module type S = sig
  type t
  val compare : t -> t -> int
end
 
@ThePhD My favourite error messages are Rust's so far. C++ is usually nice until templates. Is there software to give better lexical analysis for OCaml?
 
Ven
my advice would be to use haskell instead of ocaml but hey
then the one helping you will be bartek and not me, so YMMV
 
@ThePhD Maybe check out Better Errors
 
Xeo
@Ven or Robot, or me, or...
 
Ven
@Xeo I'm just joking, not taking a stab at your haskell level :P. I'd answer as well
@Aaron3468 sounds p good
 
user1804599
8:22 AM
If your language needs more than "Syntax error" and a line number to explain syntax error then maybe your syntax is utter shit.
 
Ven
or maybe what you're saying is utter bullshit
4
 
user1804599
The only things that suck about OCaml's syntax are , and |.
 
Ven
> A Lounge<Discord> gaem project that gets completed
> Updated on Aug 15
@rightfold fuck no. its nesting behavior is retarded
 
user1804599
That's what I mean by |.
 
user1804599
match and function and try should have end keyword.
 
8:24 AM
@rightfold That's a fair critique, which I also think applies to C++ (macros and templates make a huge mess). But after a certain point, syntax errors are the least of your worries and so simple to handle that they ought to cite the exact issue.
> Hey idiot, you forgot a comma right here because ___
 
there's a difference between syntax errors and semantic errors
 
> Hey n00b, did you know closing braces are required by standard? Line _ is missing one
 
user1804599
Yes, and syntax errors are easy to spot and thus don't need a lot of explanation.
 
user1804599
Unless your syntax is shit.
 
user1804599
user image
17
 
8:27 AM
@rightfold The argument is easy to make either way. "It's so simple they can be explained thoroughly". "It's so simple they don't need to be explained thoroughly". I think the former is a bit more instructive
 
@rightfold +!
 
user1804599
syntax error
 
@Ven hi hi hi
 
@rightfold sentence exception: execution will continue
 
8:31 AM
Feb 7 '15 at 13:05, by Andy Prowl
error C2143: syntax error : missing ',' before ';'
 
I suppose that syntax error handling ties back to the idea that if your needs are simple, your options are numerous. Essentially a bike shed.
Anyways, I'm off to bed. It was quite an interesting discussion :)
 
and how old the language is. It's easy to start with a simple syntax and then just bolt things on incrementally until it's way too complex for its own good
 
@rightfold MT?
 
Ven
@thecoshman multithread(ed)
 
user1804599
8:47 AM
Hmm.
 
user1804599
If I use the same format on the wire and on disk, then I just need validation.
 
user1804599
The only memory that would need to be allocated is to write the network packet into.
 
user1804599
Fucking rad.
 
Ven
9:02 AM
This guy wants to give me tips on writing macros, amazing.
>> and I cannot (should not) give you a lecture on compilers.
@rightfold what should I answer to that?
 
That's faaaast
 
lol
maybe he's running a close-as-dupe bot
 
Ven
Close-as-dupe business
 
Close as dupe as a Service.
 
Close as fuck
 
9:13 AM
@PatrickM'Bongo If this September turns out to have been the hottest September on record, we will now be breaking records that were established in this same record-breaking streak we are in.
That might be worded confusingly.
 
Actually, we're already on a self-lapping streak. From August, if not earlier
 
I thought it was October.
The previous record-holding August was 2014.
 
How do you guise handle the heat
 
Maybe it's global vs. regional
 
9:17 AM
I can't stand it
 
@sehe NASA vs NOAA.
 
Ven
nice
 
Thanks for the help, buddy
:iguess:
 
Well duh. Don't use C strings then. Especially when ownership is involved. — milleniumbug 2 mins ago
 
Ven
@sehe so meta
 
9:26 AM
Heisenbrag commit
 
@Ven ah, makes sense
 
user1804599
@Ven lol CS, just give up
 
Ven
@rightfold it doesn't matter it's on CS' repo
 
Guise quick boost::graph question
 
they offer 1.5m US$ for Jailbreak of iOS. and will re sell it to their clients for tens mln
http://thehackernews.com/2016/09/zerodium-zero-day-exploit.html
 
9:40 AM
I have a graph (a boost::adjacency_list specialization), with custom properties (using the bundled properties mechanics)
 
@R.MartinhoFernandes That's the spirit! Go team!
 
If I want to perform a DFS on that graph, what's the best option for the color map?
 
Green blue and yellow
 
:ok_hand:
 
user1804599
@Ven give up on CS
 
user1804599
9:43 AM
ContributionStop
 
@PatrickM'Bongo we doing so good we are looking to take on other planets to destroy as well! yay us!
 
Hi cool people
 
Ven
hi
 
is anyone here familiar with artificial neural networks?
 
user1804599
Hmm, max length of 240 for keys seems reasonable.
 
user1804599
9:50 AM
With 15 reserved pseudo-lengths that are used for common keys.
 
It's been a long time since I last did shit on neural networks
 
@Ven That's not what meta means :<
rustc is duh-ing me.
 
> common
 
@R.MartinhoFernandes could as well say "private traits are private"
 
link 2 video
Wait its there
 
In fairness, there's a better explanation in the line above that I missed.
 
gamedev alert though
 
@Griwes well for the rather specific use cases he described
 
"private trait in public interface" is much more descriptive than a tautology.
@Griwes OH COME ON
 
10:05 AM
@R.MartinhoFernandes are you going to rant about the quote or what? ;d
 
Hello, I want to ask a question about getting ideas for a project (I have some basic ideas). Can I ask the question here? I know this question doesn't fit for the SO main site, but does it fit here?
 
Protip: if you're about to go on a diatribe so tedious that you think it needs acknowledging with a terrible joke, DON'T.
 
user1804599
@Ven one OS thread per connection, is that still a big deal?
 
Though it actually wasn't as long as the joke painted it.
 
Ven
@rightfold depends what you're doing
 
10:08 AM
@Griwes Nah, just general speaker style.
I usually get annoyed when speakers think introducing themselves thoroughly is important.
 
This is what ending slides and bios are for.
Links to LinkedIn or whatever.
 
I usually just go with my name and "you may or may not have heard about me. I really like <talk's topic>."
Or some variation. I have used s/really like/have an unhealthy obsession with/ and s/really like/am actually not a big fan of/ before.
 
or if the background is significant (like for a game dev with their obsession with perf) then just say why it's important to the talk's topic
 
I tend to go with "my name's <>, I work at <>, [I'm a student at <>]".
 
@ThePhD Having a 3-letter domain under a 2-letter TLD is pretty cool :D
 
10:17 AM
tfw no the.phd domain q_q
 
Anyone seen shad0w?
 
@Griwes lol, already drinking after 58 seconds of speech
 
ADG
does anyone know about rabin karp?
 
@AndyProwl give him a break, maybe he had spent the night before drinking with John Lakos?
 
ADG
normal searching in RK is ok but what about words with wildcard character like "appl?"
 
10:21 AM
@Griwes actually there might have been whiskey in that bottle: "let's get drunk right now so this shit will start making more sense at least to me"
 
@AndyProwl Vodka improves pretty much all talks
 
yeah
but in this case it would require the audience to consume it as well
 
	std::cerr << "Dump total: " << total << std::endl; // To prevent compiler from optimizing out both inner loops (ie. total must have a side effect or loops will be removed) - no kidding, gcc will actually do this with std::vector.
This is from this guy's benchmarking thing.
 
Those evil compilers, actually making your code fast for you.
So, we have come to this.
 
Hello, I want to ask a question about getting ideas for a project (I have some basic ideas). Can I ask the question here? I know this question doesn't fit for the SO main site, but does it fit here?
 
10:27 AM
@Polikdir You already asked four questions here, two of them duplicates.
 
@Griwes lol no kidding
 
Also I'm not sure I trust this guy's benchmarking method - from what I can tell he runs a loop of X thousand iterations to avoid problems related to the clock directly, but I can't see him doing the same test multiple times to then do a statistical analysis on his data...
He does some things to "warm up the cache", but the code is repeated over and over again with clock code repeated over and over again, I don't want to review all this ;_;
 
@Griwes that last point, insertion can be fast if you keep a free list (at least until you need to realloc)
 
@Griwes AVERAGE ONE SAMPLE POINT
@ratchetfreak fast... free list
 
oh hey, he actually does have code for reserve for vector
 
10:31 AM
so guys
did anyone here try to hack a coffee machine
 
still no actual statistical analysis. vOv
 
@R.MartinhoFernandes Hi, if I asked a question here before it was a year (or more) ago. I don't really understand the purpose of your response, it states facts which won't help either of us. I asked a question, if you'd like to answer it it would be nice.
 
@Polikdir ask
 
10:32 AM
My point is that you're wasting time.
 
@R.MartinhoFernandes I mean yeah it's a cache miss or two but you can get a free item in O(1) time
 
@ratchetfreak It doesn't matter if it's O(1) if it's really O(very slow).
 
also it seems he didn't consider the swap with back and pop_back on that slide for the index list
 
Ok.
I thought it was annoying when he pronounced "vector" like "victor". But pronouncing "deque" as "dick" is just too much.
 
Dick Insertion Time
 
10:35 AM
@R.MartinhoFernandes wait until you hear "cache"
 
@R.MartinhoFernandes wait until you hear him pronounce "cache". :D
@ratchetfreak high five
 
> dick, pretty much the same as victor, (...), and it has good insertion speed
> We're gonna do sort of a similar thing with dick
 
lmao
 
> colony and pointer dick: more or less nick-nick
> the boolean dick and the boolean victor simply are the best
You heard it here first. Boolean dick is the best.
 
> dick doesn't invalidate pointers upon insertion
4
^ best quote and also truth
 
10:41 AM
It might allocate some new memory, though.~
 
> colony (...) seems to be doing bitter and bitter (...) at least if you compare with victor and dick
 
the worst part about those benchmarks is the horrible leakage of memory for the stl containers
 
nwp
@ThePhD yeah, but that is really slow, 9 months or so
 
Oh god, cache.
 
So I have (and also want) to do a project this year. It should be made through the year (6-7 hours per week I think) and I have to decide what I'm going to do. I though about computer vision using OpenCV. One idea I had which is also endorsed by my mentor is face detection (for login stuf for example. the main issue is that this has only one main feature which is kind of sad and will make the final "product" somewhat boring).
Another idea is something like this, but it also has low functionality. The third one is too big I think but it involves something like Snapchat's face filters, something like this. What do you think? Do you have any other ideas for me?
 
10:48 AM
Yes this is Lounge<OpenCV>
 
@Polikdir write face detection software that insults its users with relevant remarks on their appearance
'lay off the hamburgers, butterface'
'lookin' a little cross-eye'd there, aren't we?'
 
nwp
combine with some russian accent "Your face. It is ugly."
@Polikdir Face-recognition is tricky. You can use a ready made solution which is boring for a project or do it yourself, which is very difficult. Unless it must be something with face-recognition you should consider dropping that topic.
 
"Unbound value List.cons"
Motherfucker.
6
A: OCaml Unbound value List.assoc

hcartyThe Core library replaces the standard OCaml List module. When you open Core.Std you mask OCaml's standard List with Core's Core.Std.List module. The Core.Std.List.assoc function does not exist. If you aren't opening Core.Std in utop then you're most likely still working with OCaml's standard ...

OCaml is a really stupid language.
 
@nwp it doesn't have to be something with face recognition, but I'm interested in it. I really have to find a topic though. I'll have to figure out what parts I'm going to implement myselft and what other parts I won't. Do you have any other interesting (not small) ideas as such (doesn't even have to be with copmuter vision)?.
 
@Griwes if you make the freelist an intrusive linked list in the freed memory blocks then you only need to access 2 data locations; a element* head in the allocator state and the element* next in the block of memory you will be passing back to the caller, both that will end up in cache anyway without the freelist.
 
11:00 AM
@ThePhD use F# instead
 
Figured out that guy's accent.
Now I can extrapolate.
sîks [sex]
sîks [six]
I'm so bored.
 
nwp
@Polikdir You could do something like unreal blueprints where you represent primitives of a programming language by boxes and arrows. Then you can convert diagrams into programs and back. It includes a bit of GUI and looking through a (subset) of a language. You can then philosophize if the diagram is a viable way to write programs and might get brownie points for being innovative.
 
@R.MartinhoFernandes lol what the
 
@R.MartinhoFernandes lol
 
@BartekBanachewicz zompist.com/sca2.html
(There's no way to save links with preloaded rules)
 
nwp
11:04 AM
@Polikdir But you should probably find your own topic, helps with motivation, though maybe don't pick the one of the hardest problems there is.
 
@R.MartinhoFernandes this is amazing
 
@PatrickM'Bongo The default rules transform Latin into Portuguese.
I used these Standard American English rules as the starting point: zompist.com/english.sc
 
@nwp thanks about that but I'm not really interested in such thing (also another student already does something like this). I know that I should fins the idea but I'm really not that creative, I thought about it for a long time and I couldn't find what to do. My current ideas have many noticeable flaws. I am interested in AI if that helps.
 
(I cheated)
 
user1804599
11:20 AM
 
user1804599
@Ven ^
 
> [0](1)[2](3)[4](5)
TypeError: object is not a function
@rightfold ^
 
11:35 AM
Hi! I am trying to do a minimax about connect 4. I understand well what is minimax, but my problem remains in the code, I don't know how to do it.
 
@QuicoLlinaresLlorens read a textbook
 
Ven
@Griwes don't listen to rightfold :P
 
@Abyx I have read a lot ones
about minimax and I understand the concept
but not completely how to do it
 
@QuicoLlinaresLlorens now read a programming textbook
 
Do you mean any book specifically?
 
user1804599
11:43 AM
@ThePhD No, you are just a stupid user.
 
user1804599
PEBKAC
 
@QuicoLlinaresLlorens nah. you have to have one since you learn programming
 
ADG
I am getting a SIGSEV, and before you think I haven't doen anything... I have debugged it using gdb and printed the variable involved in the concerned line and there seems to be no problem here... It just seems opposite to common sense?
 
user1804599
SSCCE
 

« first day (2176 days earlier)      last day (2765 days later) »