« first day (1202 days earlier)      last day (2829 days later) » 
00:00 - 18:0018:00 - 00:00

6:01 PM
Hey guys! :D
So what's new?
 
Look time no see @Gustav
 
:D
Indeed.
 
@EBrown Small suggestion, the tooltips for Q/day and answer rate say "is a healthy beta" maybe s/beta/site/ ?
 
I have lately been in The Renderfarm with my Blender friends though.
 
@Phrancis Taken directly from Area51.
 
6:03 PM
I know :p
 
A51 "site health" thresholds are bogus and useless though
 
Duga?
I mean.
0
Q: Too much data entry in database

ömer sarıl need an advice for my code to make better.it works after correcting it. l wonder whether there is another way to insert too much data in database columns? or any other modules ? like sqlite3 import sqlite3 from sqlite3 import * from datetime import date, datetime, timedelta conn=sqlite3.conn...

This is off-topic, not?
Oh wiat.
To make it better.
Nevermind! :P
 
0
Q: Shortest code to generate a full mesh of elements

Mark OmoI am trying to find the shortest code that generates a full mesh of the elements fed into it in graphviz format e.g. the full mesh of [0, 1, 2] is: 2 -> 0 2 -> 1 1 -> 0 I have the code below and I think there might be a way to combine the if and for loops, and avoid needing to directly create...

 
why did i do this
lol
Whatever, just a smile.
I'm gonna work on stuff now, like my Terminal Sprite renderer (I'll port it from Bash to Python).
Actually, I have no idea what to work on... :/
 
That sounds like as good a project as any
 
6:13 PM
Mobile view.
 
\o/ windows phone user
 
I'd say "Needs work" is an understatement for that site.
 
@EBrown You probably accidentally set a setting.
Umm, did you know that there are two volumes on that?
 
@Hosch250 I checked all the other answers.
 
6:19 PM
One for the ringer/notifications, and one for programs.
 
@Hosch250 And yes, there are.
Both are loud.
 
OK.
 
In Blender:
In UT99:
xD
 
Looks pretty nice, though the textures don't blend very well between surfaces on UT99
Actually, they don't blend at all
 
looks like the texture isn't oriented with the polygons; that's how you get this "stretched pixels" look on some sides
 
6:25 PM
@Mat'sMug I've been trying to solve this... for ages!
 
@EBrown ^^
 
lol
 
@Phrancis lmao
 
you can always count on PPCG to break your toys
9
 
I made a SQL function specifically to fix those, you could use it y'know ;P
Someone's feeling star-happy
 
6:28 PM
@Phrancis actually that would simply need to be html-decoded, there's a static class in .net specifically for that, no need for a rountrip to the db :)
 
Right, I thought that was the case
JavaScript could do it too
 
I did also do a huge IRC minigame (er, not really "mini") in this while:
It has bots.
And human (and mush!) players
 
IRC >.>
 
?
But IRC is still good for it's simplicity! And I met my best friend there now!
 
IRC: Multiplayer Notepad
But yeah, I used IRC for a long time, but that was like 15+ years ago lol
 
6:34 PM
And more: AIDS can be used to weaken immune systems to ease infection via spores.
But it must be used with care.
 
I fail to see how that's funny.
 
It isn't funny.
It's sci-fi.
A weaker version of ths virus is used.
v_v
 
@Phrancis I didn't have to do anything to fix them for the /Sites page, but that page should be easy.
 
@EBrown do you know how the Q/day metric takes account of closed/deleted posts?
 
@Phrancis Not on Area51, no.
My metric is literally just TotalQuestions / DaysSinceLaunch.
 
6:38 PM
Ah ok thanks
 
@Phrancis Fixed.
 
Excellent :)
 
@EBrown QuestionsAskedDuringPeriodP / NumberOfDaysInPeriodP would be interesting too, and chartable as well. say, per week.. or month. Q/day has its own variance, the metric itself across the entire site's history has little value IMO
 
@Mat'sMug That wouldn't be hard, but that would be a bit more interactive.
 
@EBrown plz use moving average for q/day
 
6:42 PM
My bot has also a Markov ability:
 
@Maltysen Sure, I can add it to the list. Does anyone else on Programming Puzzles & Code Golf have any other suggestions as well?
 
oh wait <GusBot2> Gustavo6046: lsd is too in hell xD
 
@EBrown thanks!
I asked TNB for any other suggestions
 
@Gustavo6046 There's a bit of a site discussion going on, can you hold off on your IRC bot for a little bit?
 
Ok...
 
6:44 PM
in The Nineteenth Byte, 18 secs ago, by FryAmTheEggman
Option to remove closed/deleted questions?
 
@Maltysen They already don't count.
 
hmm, there goes the Q/day metric: out the window
 
Statistics is hard.
 
wait, so there's no way to compute %closed questions with the SE API?
 
@Mat'sMug Nope.
 
6:46 PM
@Mat'sMug Use SEDE for that :)
 
Howdy
 
╯°□°)╯︵ ┻━┻
 
Hey @BernardMeurer.
 
@Mast Please tell me you know x64 assembly
 
hi!
 
6:47 PM
Or someone
I'm dying
Literally
 
Please, next time you turn me, I'll turn you too!
 
Not you.
:)
 
@BernardMeurer I've used it exactly once. Join me in the Nth if you want to talk.
 
Oh wait, the Nth! Forgot about it.
 
6:48 PM
@Mast I LOVE YOU
4
 
There's nothing "out the box" that I'm aware of, but there are a bunch of extension methods others have written to do this. For example: codereview.stackexchange.com/a/56857/20216John Bustos 34 secs ago
 
@Mat'sMug ಠ_ಠ
 
=)
 
@EBrown You called?
 
6:59 PM
@muddyfish Do you have any features to request for this stats explorer?
 
0
Q: A simple key-shift cipher

CodesInTheValleyEncryption is all the rage nowadays but let us not forget what it was like back before the advent of internet. I have written a small, simple cipher that takes texts, gets their char value, and adds or subtracts a certian given number from them aka "shifting" the keys. If the receiving end has ...

 
@EBrown Seems fine to me but I wouldn't know if I'm missing out on anything; some interesting data none the less
 
Well if anyone thinks of any features: sese.evbpc.com/FeatureRequest
 
@EBrown Will you add a link to that page on the top bar or in the footer perhaps?
 
7:22 PM
@EBrown it's not on GitHub? o.O
@EBrown how many "FREE VIAGRA OFFER" feature requests do you get per day?
 
0
Q: Simple text based game (LPTHW)

user21398for LPTHW exercise 45 I made a small text game that took a few hours. Since classes were used and classes were a recent brought up concept in the book I was wondering how this piece of code could be made better. It should be able to work in terminal as far as I know. Appreciate all feedback/tips/...

 
8:02 PM
0
Q: How to speed sending an Image from a Server to a Client over a TCP Socket (C#-Android)

Tiago SilvaI only have one Video Stream 30 fps to send over a TCP socket and it's sending a lot of data through my router and everything just lags I cant even display the image. Is there a way to improve my code? master.frame_drone.Bitmap.Save(ms,ImageFormat.Bmp); byte[] barray = ...

 
@Mat'sMug That code seems incomplete to me...?
 
I removed some code to be easier to read - believe it or not, that actually makes it harder to review, and makes reviewers wonder what the heck is up with these stray braces. Please, just paste your code as you have it in your IDE - don't worry about making a long post either. — Mat's Mug ♦ 6 secs ago
 
Hey @Mat'sMug this is what I ended up with after that awesome answer (and adding a bunch of unit tests) github.com/Phrancis/ClojureSandbox/blob/master/src/…
Normally of course the tests would be in a separate file & directory, but since this is just a PE I wanted to be self-contained
 
Zak
user image
6
^^
 
8:09 PM
WHOA congrats :)
 
@Zak Congratulations :-)
 
Naruto answer; accepted non-selfie answer with 0 score: Probability Chance
 
I don't think this question can be answered as-is. If you can share your actual schema (basically, DDL script for the tables involved, and their indexes if any) and the actual, complete query, then you would likely end up with a question on-topic at Code Review. Otherwise.... best of luck! — Mat's Mug 39 secs ago
 
@Phrancis ^^ SQL/CTE question
 
Zak
huh, turns out tomorrow is my 1 year CR anniversary ^^
 
8:12 PM
@Phrancis so many parentheses...
 
Lots of goodies for you this week, @Zak... new RO, Electorate, 1 year anniversary... :)
@Mat'sMug Well, I think my Lisp is reasonably readable, all things considered
 
yeah looks... good I guess :)
 
Seen a lot worse than that
 
0
Q: print(fizz..buzz)

MastI couldn't help but notice we didn't have a FizzBuzz in lua yet. I've always wanted to take a shot at Lua, so here goes nothing. Code: function fizzBuzz(maxNum) local fizz = "Lua" local buzz = "Yay" for i = 1, maxNum do if i % 15 == 0 then print(fizz..buzz) elseif i % 3 == 0...

0
Q: HTML tag-adding function for Excel Formatted cells

David GThe goal of my function was to make it possible to write the contents of an Excel cell to Microsoft Access and be able to bring it back from Access as well, all while retaining formatting! It works very well but it is somewhat slow. The function I want to review is only part of that whole process...

 
@Mast you little fizzbuzzer brat!
 
Zak
8:14 PM
@Phrancis damn. out of stars.
 
1
2
Lua
4
Yay
Lua
7
8
Lua
Yay
11
Lua
13
14
LuaYay
lol
 
Not sure how I feel about using end instead of just brackets in Lua, if anything it seems to make it harder to follow
 
You can use brackets in Lua?
 
No, that's what I'm saying
 
8:18 PM
I'm more after possible reasons why running the exact same code in my VBA script, and in Microsoft Management Studio would have such stark time differences after that one tweak (when it's not to do with VBA taking a long time to connect or anything), as opposed to optimising my code, and I thought that'd fit better here than code review. If it's an unanswerable question as-is, that's fair. Thanks for being honest. — hodgenovice 58 secs ago
 
I think brackets are only used for tables and other data structures
 
Yea, sounds vaguely familiar.
hello = {}
Empty table.
 
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Archiving an SQL table of sessions and statistics
 
I'm curious about what you can do with Lua tables, it's a pretty interesting model
 
You can probably make a FizzBuzz with it.
I have no idea about the intended usage though.
 
8:24 PM
@Mat'sMug or any other mod--shouldn't the September CC be featured now to get more eyes on it? meta.codereview.stackexchange.com/q/6941/34073
 
possible answer invalidation by Eudy Contreras on question by Eudy Contreras: codereview.stackexchange.com/posts/138972/revisions
 
@Mast I think principally as data structures, I think Lua has a lot of specialized things to use tables with
 
@Duga Correct.
Can somebody else take a look?
They have a zillion edits, and I'm not too sure where answer invalidation starts.
 
If I can find some time this weekend I may try a introductory course to the language to find out about this magic table construct.
 
NVM, only one edit since the answer was posted.
 
8:29 PM
It doesn't look like any of the edits invalidate the answer
 
@Phrancis The last one explicitly does (rev 6).
 
OK, can you roll it back?
nvm
 
I already did.
 
@Phrancis this is when I love your avatar =)
 
@Mat'sMug Finding a title was hard though.
 
8:32 PM
lol
 
0
Q: Service class with too much dependencies

Pau ChorroI've already asked this question in StackOverflow but they suggest me that in Code Review is where this question should be. Context I'm developing a Web Application with Spring Framework(Spring Boot) and JDBC (no JPA or ORM) so I'm using Dependency Injection to use Beans through layers. The str...

 
@CaptainObvious question with not enough code
and RBA
 
8:53 PM
Guess I might as well post a question with some of the code I've been writing lately.
 
I flagged the question for migration to Code Review SE codereview.stackexchange.comCharlotte Dunois 30 secs ago
 
itsh kweiyet
 
Itth Duck Theathon!
 
@Duga uh-oh
 
Naming wise, would a conversion function make most sense as string-to-sequence or as sequence-from-string ?
 
9:01 PM
0
Q: a TUTOR loop program

helpthiscodewill this piece of TUTOR code output 8 -'s? loop n8<9 write - . show n8 . sub1 n8 endloop write outside of loop

 
@Phrancis How do I specify the language of some code in a question?
@Phrancis string-to-sequence of course.
Typically, you put the input type first and the output type second.
 
@Hosch250 Like the Prettify language hints?
 
Yeah.
I have some VB.NET code with attributes looking like XML.
 
258
Q: Syntax highlighting language hints

Rowland ShawDo you think it would be worthwhile to provide hints as to what language to use for the syntax highlighting? Sometimes I find the highlighting on SQL or VB.NET answers is more distracting than helpful; for example: Converting MySQL select to PostgreSQL Retrieving data from a VB.NET arraylist o...

<!-- language: lang-xml -->
<!-- language: lang-vb -->
 
9:19 PM
0
Q: Removing XML Doc Comment Nodes

Hosch250I recently wrote a code fix to handle many of the C# and VB.NET compiler diagnostics that was merged into Roslyn. Because it handles both, I implemented it as an abstract class with only the sections that are specific to the different languages in the language-specific implementations to elimina...

That will be released in the next version of VS.
 
Very nice
I know you put a lot of work into that, you should be proud!
 
It actually wasn't that hard. My current PR was much harder, and a little messier.
Oh, I should add a link to my test suites.
 
1
Q: Removing XML Doc Comment Nodes

Hosch250I recently wrote a code fix to handle many of the C# and VB.NET compiler diagnostics that was merged into Roslyn. Because it handles both, I implemented it as an abstract class with only the sections that are specific to the different languages in the language-specific implementations to elimina...

 
738 and 961 lines of tests for C# and VB.NET, respectively.
Does anyone know what "well-received" in the Socratic badge means?
 
positive score, not closed, not deleted.
 
9:43 PM
0
Q: Need performance increase for array list with for loop in php, suggestions would be helpful

StevenI'm looking to optimise my code and was wondering how I'd go about it, here's a small extract of it? If any clarification is needed I'd be more than happy to help. <?php $a = array('bla' => 1, '2' => 0, 'test' => 'testVal', '3' => 3); $b = array(); for ($i = 1; $i <= c...

 
Please see a guide to Code Review for Stack Overflow users, which I meant to link on your SO post exactly as you were deleting it; hypothetical/stub/example code is off-topic on this site; Stack Overflow likes to see MCVE's, Code Review likes to see your real actual code. — Mat's Mug ♦ 2 mins ago
 
Wow this partition function is ridiculously useful
(println (partition 4 1 [nil] '(1 2 3 4 5 6))) ;;=> ((1 2 3 4) (2 3 4 5) (3 4 5 6) (4 5 6 nil))
 
10:29 PM
0
Q: Do you think my algorithm for creating a tree recursively decent one?

pokcheI am currently working on creating a tree ( Just wanted to add this redundant information as well :- This is my learning process of creating a minimax tree.I am starting towards minimax tree from here) which has multiple nodes recursively. Can anyone please review if the algorithm is correctly ...

0
Q: Code Jam 2008 Qualification problem A

Adam MartinI'm trying to brush up on my Python, so I'm going through some simple problems. Big concerns are style, though any algorithmic problems I'm open to suggestions on. Basically you have an input file where the first line is the number of test cases. The following lines are composed of the cases. ...

 
10:39 PM
won 100£ at poker night
life is good
 
Just don't commit suicide over your losings later.
On a more cheerful note, you might be interested in this: codereview.stackexchange.com/questions/139086/…
I'm kind of expecting that to become a zombie.
 
11:24 PM
0
Q: Is it efficient to 'join' MongodDB collections with a for loop? As I show in this example?

NoobSterThis is a very simplified version of my query. Is it acceptable to join the two collections for the client with the use of for loops? There could be up to 2,000 books, which also means there could be an equal number of favorite books per user in the favoriteBooksCollection. return favoriteBook...

 
> This is a very simplified version of my query.
 
00:00 - 18:0018:00 - 00:00

« first day (1202 days earlier)      last day (2829 days later) »