« first day (1780 days earlier)      last day (2239 days later) » 
00:00 - 20:0020:00 - 00:00

8:00 PM
1
Q: 2018 Moderator Election Q&A - Question Collection

Grace NoteSo... there might be some kind of news stirring. Stuff and things and such. In light of these recent events, Code Review is scheduled for an election next week, March 26th. In connection with that, we will be holding a Q&A with the candidates. This will be an opportunity for members of the commun...

@Mast ^^
 
8:24 PM
3
Q: The sniper: a Zombie searcher for specific tags

ZetaSometimes, it's not enough to know what the easy prey is. You also need to know whether you will be able to hunt it down. What good is an almost turned haskell zombie if you cannot read the functional incantations of the language? How will you as vba guru handle a python behemoth? That's why I p...

 
8:41 PM
@MathieuGuindon Bring out your worst.
Or best, depending how you look at it of-course.
 
0
Q: Combinatorics - recursion - different algorithms

Henrik HansenBelow are a couple of functions for generating the combinations of length p of a set of length n - known as K(n, p). The objective was to practice recursion - here recursion between two functions. Any comments or improvements are welcome. Feel free to comment on any selected part of the code. I ...

 
I am going to be on the road, from Friday until that Wednesday....ugh
guess I am not going to run this time...we will see....I will have to read the post later when I get home
crap, I can't delete that now....lol
 
8:58 PM
0
Q: Write two Matlab functions to evaluate the two numerical stencils over the domain

Aisha QN: Write two Matlab functions to evaluate the two numerical stencils above, over the domain -2<= x <= 2. Each function should have a single input - the number of points n. For each stencil,create a plot showing the numerical solution for n = 8; 16; 32 points. Overlay the analytical expression ...

2
Q: Levenshtein Distance Code Running Really Slow Ask

Leon Z.The code's purpose is this: Two words are friends if they have a Levenshtein distance of 1. That is, you can add, remove, or substitute exactly one letter in word X to create word Y. A word’s social network consists of all of its friends, plus all of their friends, and all of their friends’ frien...

0
Q: Fetch network interfaces configuration for hosts from list

QexCan you please review a little my simple Python code? I wrote this script to get list of hosts from text file and then iterate over these and get IP configured on active network interfaces - and finally add them to JSON dictionary file. import sys import json import wmi import logging import os...

 
@skiwi @Zeta We consider a lot of things code here.
As long as the language has a definition.
What would disqualify it in your opinion?
 
@Mast The fact that it's a mechanical program
A more real-life example could actually be fluid programs
Let me find a reference..
 
Can you show it or represent it in some manner?
 
I can't find a reference, but I swear that there's a way to compute things using only fluids and pipes
 
@skiwi Dwarf Fortress based computers do that.
 
9:05 PM
6
Q: 2018 Moderator Election Q&A - Question Collection

Grace NoteSo... there might be some kind of news stirring. Stuff and things and such. In light of these recent events, Code Review is scheduled for an election next week, March 26th. In connection with that, we will be holding a Q&A with the candidates. This will be an opportunity for members of the commun...

 
It's used in certain cases where using a CPU is forbidden but they still want to compute something
 
Either way, TTGTB. gniknoM!
 
If we're talking factorio, I put together a kick-ass kovarex-process system... one I am quite proud of... one of those "cool belt hacks" that "just work".
 
@Feeds Slowpoke.
 
@rolfl So, converting U-238 to U-235 ?
2
 
9:13 PM
At least turning Uranium into something.
 
I've also done a couple of versions of that, if I just remember which save I put them in :P
 
Yeah, it's a neat trick... let me get to another machine, and post a screen-shot... it's really hard to explain, otherwise.
 
I've still got to launch a rocket and use uranium, can't wait before I get there :o
 
Greetings, Programs.
 
Greetings ;-)
 
9:25 PM
having seen this community build up, peak, decline, and then stabilize, this would be my question to would-be moderators:
0
A: 2018 Moderator Election Q&A - Question Collection

Mathieu GuindonCommunity Building / Leadership Moderating on SE is much more than just wielding a mighty hammer, zapping spammers and wearing a cool hat. As a moderator, the community will be looking up to you, and ideally following your footsteps - you'll be some kind of a role model here. Are you planning t...

@Donald.McLean hello!
 
user image
2
@SimonForsberg ^^^^ magic Kovarex.
 
@rolfl That deserves a star
 
2
Q: Performance concerns when converting GTK image to greyscale

ShadasviarI have function which takes GTK Image (It is RGB) and returns a representation of this image as list of gray levels. This is my code: grayscaleFromRGB :: Image -> IO [Word8] grayscaleFromRGB img = do imgType <- img `get` imageStorageType if imgType == ImageEmpty then ...

 
9:49 PM
@rolfl Shiny.
@MathieuGuindon Good one.
 
-1
Q: Return all two sum pairs from a list of integers

ExploringGiven a list of integers return pairs that made up to a given target sum. input: {2, 7, 11, 15, -2} target sum: 9 This should return: {-2,11}, {7,2} public class TwoSum { static class Pair { int x, y; public Pair(int x, int y) { this.x = x; this...

 
To me this is a big one, so I nabbed it from the 2015 election questions
0
A: 2018 Moderator Election Q&A - Question Collection

PhrancisQuestion closure / dealing with upset users Suppose that you closed a question, which angers the original poster, who calls you a power-tripping moderator. How do you respond? The implicit question is, under what circumstances would you use your moderator privilege to close questions, bypassin...

 
monking
 
R.I.P. Keyboard cat ;( ♫
 
You asking for opinions which is off-topic. You code works therefore this should be asked on code review (personally I would have separate action methods and store the associated url, but another user might have a different preference) — Stephen Muecke 13 secs ago
 
10:10 PM
1
Q: QuickSort in Java with Lomuto Partition or Hoare Partition

Filipe MirandaI have developed a quick sort in java, that can work with both Lomuto Partition Strategy, or Hoare Partition Strategy. Both of them sort the array correctly. I would like to have it code reviewed to ensure I was able to correctly implement each one of those partitioning strategies. Is there a...

 
@janos monking!
 
hey @Phrancis, how's it going?
 
good! excited about all this mod discussions :)
Yourself?
 
me too, I'm super-excited about the upcoming elections!
I think we have some great times ahead of us
 
Yeah, they were quick about it too, I was expecting 6-8 weeks™ so all the better!
 
10:17 PM
I was trying to provoke that reaction ;-)
but I guess with so many sites, there's probably an election somewhere every week, so of course it's easy to do
like breathing air
 
@janos Have you been poking a sleeping SE bear .... I know someone who did that once.
 
@rolfl dunno what you're talking about... I clearly don't speak monkey, yet
 
-2
Q: Move and rename files with a specific pattern

AdemI have a folder with a little less than 550 files in them, named something like dbo.SomeName.View.sql and so I've written a C# application to automatically to move dbo.SomeName.X.sql to folder X, dbo.SomeName.Y.sql to folder Y and dbo.SomeName.Z.sql to folder Z. using System; using System.IO; ...

0
Q: How to check for malicious code in source code?

user164700Let us presume we have a big pile of.. many c- like source code, example: an OS and repositories code. The question: In general, how can we search for malicious code? Loud thinking: check for obfuscated code: base64 pattern check for urls check for ips check for network related code in sof...

 
@MathieuGuindon Are there decent mod tools available on mobile via SE app or other?
 
10:32 PM
not a chance
the non-mobile tools are awesome though
 
@Phrancis first thing I do on my mobile is to click the 'desktop site' link...
 
TTGTB see you guys later (I'll be around here more than usual in the coming days)
 
FWIW SE has announced they will be putting some effort in to make everything fully responsive with the redesign of the sidebar
 
0
Q: Display Partial view after submit button

RajPlease suggest me the good way of submitting the partial view form after submit. Currently, I am doing in this way which I think is not proper way. As there more than one records in the main view and every record has select button which gives me partial view based Id. And <div id="Partial"></div>...

 
10:51 PM
@202_accepted that's perfectly fine, and thank you for the kind words! I will not run in the elections, but you don't have to miss me, I'll be around ;-) — janos ♦ 26 mins ago
(; gniknoM
 
Monking.
 
0
Q: Implementing an Undirected Weighted Graph to use with A-Star Pathfinding in C#

ShivalkyrI'd like to ask this community to check if my implementation of an Undirected Weighted Graph would be suitable for A-Star Pathfinding, to provide further context, the Graph is used to store street intersections, where the edge weight (Heuristic) is based off the actual distance between GPS coordi...

 
If anyone needs a laugh:
Negotiating on a time for an interview with MS.
 
@Hosch250 Nice! Which "part"/division/department at MS?
 
Roslyn, of course!
The VS IDE (not the compiler)!
 
11:05 PM
Oh even better!
 
Yep. Talking with Jinu Joseph and Jason Malinowski.
 
11:18 PM
Seriously? That's amazing @Hosch250. Fantastic opportunity.
Just getting the interview is an accomplishment. Well done.
 
@RubberDuck Dead cold serious.
 
Right on.
 
Thanks for reminding me. I have a bunch of interview questions to write down I need to ask them.
Been busy watching lesser-known, but totally-awesome musical groups on YouTube.
 
1
Q: WinAPI 32 wrapper in C

SOCIOPATHThis is a piece of code using this wrapper to create a simple window and handle some of it's events in Windows environment. void ButClick(NASUI_Window *win, NASUI_Button *butn); void BoxPress(NASUI_Window *win, NASUI_TextBox *tbox); void ListSel(NASUI_Window *win, NASUI_ListBox *list); void Scro...

0
Q: Rewrite XML generator in Java

Niklas RosencrantzI was given a program that generates XML, filters and sorts the elements. The program was rather terrible on purpose because it is an assignment. The original output looked like the following: <geometricfigures><figure><type>Square</type><area>0,661769</area><xcoordinate>2</xcoordinate><ycoordinate

 
11:55 PM
0
Q: AngularJS - ng-repeat conditional if-else

Im PRAGMAng-repeat="config in { true: (configs() | filter:{fav:false, public:true}), false: { true: (configs() | filter:{fav:true}), false: { true: (configs() | filter:{fav:false, local:true}), false: (configs() | filter:{fav:false, public:false, local:false}) }[type=='local'] ...

0
Q: Generate excel from Java

DraganThere will be no code here, but I have a conceptual question. I have recevied a request by a client to write a program that generates an Excel report. I submitted my code for review and one of my peers felt very strongly against me requiring an additional depdency of Apache POI(the library I us...

 
00:00 - 20:0020:00 - 00:00

« first day (1780 days earlier)      last day (2239 days later) »