« first day (1560 days earlier)      last day (3386 days later) » 

9:00 PM
@CatPlusPlus It smells like an ignorant fool to me
 
user1804599
@AlexM. Don't implement A*.
 
the thing is, it's a 30x30 grid so the performance difference is... isn't
 
user1804599
Use a sufficiently generic implementation of A* from a library.
 
so I might not even bother changing the pathfinding algo
 
@wilx what's that? AH
 
9:00 PM
snack overflowers
 
and usually the search extends to at most 4 loops
because monsters have a tiny range to encounter players
@рытфолд there is a nice one for Unity
but it comes with its own grid system
 
Beh, BFS
 
and I'd have to overlay it on mine
 
user1804599
> sufficiently generic
 
not aware of anything like that for Unity :(
 
9:01 PM
Dijkstra is simpler than A* and still better
 
everyone uses "The A* project"
 
user1804599
If it's sufficiently generic it doesn't have to be "for Unity."
 
@CatPlusPlus To be honest, I thought he took offense to my posting a comment announcing the updated answer there.
LOL. Imagine my bafflement when he went on his suggetive tirade "linking to that site of yours" :)
 
@CatPlusPlus there was this A* optimization I've read about in a paper
by some guys who made A* be holy shit so much faster
I forgot what that paper was
 
A* hinges a lot on the heuristic
 
9:03 PM
@рытфолд I really can't think of any reason why they didn't call it that way
 
user1804599
What is a heuristic?
 
> Online Graph Pruning for Pathfinding on Grid Maps
and this is the original page describing it zerowidth.com/2013/05/05/jump-point-search-explained.html
> Jump Point Search Explained
it has pretty interactive demos
I never studied it closely, it looks like its secret is skipping whole chunks of the grid at a time
 
sbi
croaks Good evening.
@Jefffrey I am older than C. Perl is like C's nephew, the child of a younger sibling.
3
 
Dijkstra with fibonacci heaps (good luck with that data struct!)
 
9:15 PM
no need, my BFS is good enough
I wish .NET didn't have sorting functions
I'd have also implemented bubble sort
 
Just kidding, Dijkstra with a regular binomial heap as a priority queue works very well indeed
 
user1804599
what is a heap
 
@Rerito I like how Cormen book introduces this structure as "too complicated and only performant in weird situations"
 
@рытфолд a steaming pile
 
9:16 PM
check out my troll pathfinding to me dl.dropboxusercontent.com/u/17635452/gee2f.gif
(10MB gif or sth)
 
If you're in data structs and algos you might wanna take a look at Chazelle's minimum spanning tree alg
@milleniumbug Yeah it's really complicated!
 
@CatPlusPlus anyways, things got sorted.
 
user1804599
The only data structures I implement are records.
 
@Rerito I immediately skipped this chapter after this remark.
 
@рытфолд You poor sod (oh you mean implement, not use. Carry on)
 
user1804599
9:18 PM
The other ones are luckily already implemented by someone else.
 
@milleniumbug Which book is it? I'm interested :)
 
:)
 
user1804599
I know how to implement linked lists and arrays.
 
user1804599
And that's it. :D
 
@Rerito it's the Cormen
you don't know what the Cormen is
geezus gurl
 
user1804599
9:19 PM
If I were to implement a set data type I'd implement it as an array.
 
I got Skiena's and Sedgewick's
 
@Rerito "Introduction to algorithms" by Cormen, Leiserson, Rivest (the "R" from RSA algorithm), Stein
 
user1804599
It's easy and fast enough.
 
Programming books
 
user1804599
Linear search is my best friend.
 
9:20 PM
I never read Cormen
meh
I browsed it
 
And yet, you're alive and kicking. Guess it's not that important.
 
Might consider purchasing it!
 
@milleniumbug tbh, it isn't in my area of work atm
 
user1804599
Hash table is the only data structure you need. You can implement all other data structures in terms of them.
 
sbi
@R.MartinhoFernandes That feast? Damn, I wish I could join you.
 
9:21 PM
in my work I'm better off concentrating on writing code that makes sense and can be read by everyone, and has as few bugs as possible at the expense of anything else
so nothing performance critical to require me to come up with sophisticated algorithms to speed things up
 
user1804599
I am luckily in that position.
 
@рытфолд And if you need ordering? :s
 
user1804599
@Rerito Then I call std::sort after every operation.
 
Don't listen to rytfold
 
He's trolling
 
user1804599
9:23 PM
No, I'm definitely not.
 
isn't rightfold always trolling?
 
user1804599
That's the most obvious and easy way to implement sets, so that's how I'd do it.
 
in rightfold's defense, Microsoft thinks the same
there's System.Collections.Generic.HashSet and I haven't seen a set based on anything other than a hashtable in .NET
 
@Rerito Hash table mapping to tuples<int, T>
 
user1804599
@Rerito Oh hash tables, not sets.
 
sbi
9:25 PM
@R.MartinhoFernandes I once had that. I was on sick leave for several weeks. Since my doctor was on holiday, I ended up at an osteopath's. He explained to me how stress and bad physical behavior (sitting on chairs all day) sometimes hinder blood flow to the ears and brain, and gave me exercises to to in front of the mirror where you would need to make sure nobody else in in the vicinity. After a few weeks, it was mostly gone.
 
user1804599
You can certainly implement ordered collections using hash tables.
 
I think lists are cool
 
user1804599
RAM can be implemented as a hash table where the key is an integer and the value a byte.
 
@рытфолд As they're essentially run-time structs, that's true
 
@milleniumbug I wonder how
 
sbi
9:25 PM
@JerryCoffin Stress.
 
user1804599
Hence all data structures can be implemented using hash tables.
 
@milleniumbug you use another hash table silly
where you map original values to their indexes in the ordered set LOL
 
sbi
@wilx It does not depend on what you think is disrespectful. It depends on whether those targeted feel disrespected. And they do.
 
@sbi Round 2, or is it 3?
 
user1804599
@Rerito { 0 => 'h', 1 => 'e', 2 => 'l', 3 => 'l', 4 => 'o' }` now define operations that work on such hash tables and assume the ordering and you have your ordered collection.
 
sbi
9:27 PM
@Rerito I dunno. I slept most of the time since round 1.
 
user1804599
Numbers can also be implemented using hash tables.
 
@sbi I probably would. Not many men wear dresses.
 
say, rightfoldvodov, are your hashtables immutable?
 
user1804599
All you need is hash tables mapping hash tables to hash tables.
 
user1804599
@AlexM. Doesn't matter, as long as they're hashable and equality-comparable.
 
9:28 PM
you give off this mutable vibe right now
it's so not rightfold
 
@sbi I feel disrespected for not being allowed to voice my opinion without being crucified. What now? Also, she will never know what I said; no harm done.
 
user1804599
Immutable hash tables are silly unless you only read from them or if they're extremely small.
 
user1804599
They have O(n) insert and remove.
 
user1804599
Instead of O(1).
 
@AlexM. It talks about uniform cost, so it probably won't work well if you have a varied terrain or something
 
sbi
9:29 PM
Look. I gave it a slight overhaul, put 500rep on it, and advertised it on Twitter – and no close votes since, but answers. SO folks is a greedy bunch.
 
@sbi: Also, equality. If men can be complimented or criticized about their attire, why not women? See #shirtstorm shitstorm.
 
@sbi And from a negative score your question turned to a positive one
 
sbi
@wilx Your freedom ends where other people's freedom starts. There's nothing inherently new or surprising about it. (I can fee disrespected all I want because I mustn't kill you. I am still wrong.) And, again, nobody crucified you. (Well, that is, until the penguin came. Sorry, I had tried to avoid that.) We were just arguing for you to reconsider your approach to women.
Interestingly, you never even attempted to answer my questions how you would react if the tables were turned. Quite telling, that.
@Rerito Ah, that, too, yes.
 
Oh no, the thing is still rumbling on after all these hours:((
 
user1804599
lol this girl thought TomTom voice was live from someone sitting in TomTom's office and following your car on a monitor.
 
9:33 PM
STILL the compliment argument?
 
sbi
@MartinJames Actually, it didn't. I was just reading the transcript.
 
@MartinJames it will always go on
 
@LightnessRacesinOrbit Yes... Fight to the death!
 
@sbi Must have been lost in the fray and blood.
 
in the lounge or somewhere else, it doesn't matter
people will keep on discussing thing without conclusion
in an endless loop of depression and pointlessness
I'm so deep
 
user1804599
9:35 PM
@AlexM. That's what she wished.
 
lol
I hope unity lets me subscribe to animation end events otherwise I'm fucked
 
lol I have to keep on checking whether or not an animation is playing
lovely
 
@рытфолд which girl
 
sbi
@wilx There was no blood. There were arguments by sehe and me, which failed to convince you, even though you had nothing to defeat them. If there's fray and blood in the lounge, it looks quite differently. Well, at least it used to, in the old days. I dunno what this looks like nowadays.
 
9:38 PM
@AlexM. Whatever engine you are using its authors must have thought of this for sure, right?
 
user1804599
@AlexM. Use Rx.NET for events.
 
@AlexM. I concur. They're overused, but very cool
 
What the hell is this mess
 
@sbi I cannot find it. Link it again, please.
 
user1804599
@MohammadAliBaydoun C++
 
sbi
9:38 PM
@wilx You know, I had to look this up. And then I remembered. What can I say? This: If you compare comments about the perfectly ordinary robe of a female speaker to a shitstorm brought down on some man wearing a shirt demeaning women, then you seem to be truly beyond repair.
@wilx No, I won't jump over that stick. Forget it. My effort is wasted on someone who cannot reason reasonably.
 
@MohammadAliBaydoun it means that increasing insight has led to deprecation of bad ideas (e.g. an interface that could easily be abused)
 
Nov 27 '14 at 11:13, by Bartek Banachewicz
(since C++11)
(until C++17)
(deprecated in C++14)
 
@sbi I disagree the dudes shirt was demeaning.
 
Don't start again
 
@sbi Well, it was you who brought this up again after it died.
 
9:40 PM
Of course it wasn't demeaning per se. It was however exceptionally dubious choice for the day
 
Alll over agaiiiiin!... Sings Wrong'em Boyo
 
@sehe That is two quite different things, though.
 
You're telling me? I just made that distinction explicit.
 
sbi
@wilx It isn't because I am tired. It's because there is no point in trying to argue with someone who isn't reasonable. I didn't see this so clearly until you brought up that stupid "comparison".
Now, will you let it rest or do I have to plonk you?
 
@sehe You are right. See @sbi, it was not demeaning, certified by @sehe.
 
9:42 PM
tsk
> Of course it wasn't demeaning per se.
> per se
 
@рытфолд rx.net - The Health Innovations Network
lol
 
sbi
@sehe The cat said context don't matter. :-/
 
user1804599
lol
 
@MohammadAliBaydoun Design by committee
 
When you make something, do you call it Design by Kittie?
 
9:43 PM
@sehe Then it was demeaning why if not of its own? Because it was worn by a dude? Or because he was on TV and it would be OK if he were not?
 
@MohammadAliBaydoun Design by Telkitty
20th century trolling - Powered by Telkitty
 
sbi
Who was it who said "Your mother has a fat ass" would be totally acceptable if your mother would be in the business of raising plumb donkeys? Context my ass.
 
gonna give dominoes a go then... £14.99 though
 
@sbi I don't care much about that. Of course contexts do matter. Some people even call their partner dirty names. In private. (I don't, by the way; but I also don't call her "baby" or "sweetie-pie"...) Not a problem
 
@LightnessRacesinOrbit wtf
that's an expensive pizza
 
9:45 PM
Speaking of fat asses, a fat woman nearly crushed my tablet in the train today
 
I paid $7 for the 1+1 deal
 
@wilx What people say is always communication. Communication is always for an audience. The audience was expectedly exceptionally broad that day. It will continue to get more views over the years.
Shirts are also communication.
You can "send a message", but what could get received is largely dependent on the audience. Smart people are able to cater their message to these audiences.
This man was not a smart communicator at that time.
 
WTF...
No, I quit. Sorry, let's agree to disagree.
I am clearly of different world view.
 
Or let's agree.
 
sbi
Yeah. Let's do that. Someone who doesn't believe that wearing one shirt or another before a broad audience makes a difference can't be reasoned with.
 
9:49 PM
@AlexM. I'm having a medium half-and-half
 
I dunno what medium half and half is
but each of those pizzas I got was 35cm in diameter :\
 
> clearly
I don't know that. I didn't think the shirt was offensive. You don't think that (we agree).
 
If the audience is broad, they should be wearing XXL.
 
@wilx But I thought it was incredibly poor judgement to wear it on international television in the primelight of science and technology news.
 
@sbi That is wrong generalization on your part.
 
user1804599
9:49 PM
58
Q: Should I share my horrible software?

qsphanAfter I had published my paper, some people asked me to share the software that I developed. At first, I was very happy that my paper attracts some attentions, and I was happy to share not only the binary but also the whole source code, case studies etc. But looking at my software, I feel very em...

 
@AlexM. England innit
 
user1804599
> I have never used design patterns, so duplicate code are every where;
 
@wilx If you're disagreeing there ^ (you didn't say) well, we can agree that you do then :)
 
they pretty heavily loaded on stuf tho
 
user1804599
lol, design _pattern_s are duplicate code by definition
 
sbi
9:50 PM
> You have fully used your vote allowance for today. I hate you, Jeff.
 
this shit from Unity always gets me: foreach (var child in transform) //this is as if you were saying foreach (var child in transform.children)
how the hell can one look at a transform as a container for its child transforms
 
user1804599
Use LINQ.
 
Just FYI, I do not think Janet Jackson's boob out was as big deal as media made it either.
 
Gosh. Nobody thought. Only the people protective of their PR investments said that.
It was also incredibly poor judgement, but eh.
Happens all around.
 
sbi
I didn't know there's a CRAP license out there. However,. now that I know, my first thought is that it should be used by most software companies.
 
A.E
9:53 PM
Guys anyone here happen to know how I can have my master device listen for response from multiple slaves with the Wire library (Arduino)?
 
@A.E Why do you think anyone here knows Arduino?
 
oh no a boob
that's so sexist
 
sbi
@A.E Slaves aren't en vogue in the western world anymore.
 
@LightnessRacesinOrbit underboobs are great
the best thing
 
A.E
I asked if anyone did I didn't assume anything
 
user1804599
9:54 PM
@A.E As a supporter of C+= I am highly disturbed by your requirements.
 
sbi
@A.E You assumed that it would be OK to ask here, for a starter.
Hey, where's the pointer to the FAQ???
Are you guys letting standards drop that badly when I'm away?
 
Xeo
Wanna pick owner position back up? :P
So that you can show us how to do this properly?
 
sbi
Why would I? Then I would have to chastise myself, and I kinda dislike doing that.
I much rather bother you, than me.
 
Where's that lovely old fish plank :)
 
sbi
At Wikipedia, I presume?
Anyway, I was reading through this answer, and I wonder. It's only got one mutex, and two condition variables, so it seems cheaper than the solution I thought about. But I do not understand the exclusive_waiting_blocked = false; in the unlock_shared() method. What am I missing?
 

« first day (1560 days earlier)      last day (3386 days later) »