« first day (2146 days earlier)      last day (1886 days later) » 

12:00 AM
RELOAD! There are 5908 unanswered questions (89.9009% answered)
 
12:14 AM
0
Q: Should I answer my own question with the improved code?

Mark BenningfieldMore to the point, should I delete this answer? I went through the help center pretty thoroughly and searched on here on Meta and couldn't really find anything that answers that question. The answer explains the situation pretty well, I think, so I won't reiterate it here. The additional issue i...

 
12:36 AM
Please try to ask specific questions, asking too many question or too broad/generic questions might lead them to be closed. If you want to get your code reviewed then codereview exchange might be a better site. Please read the guideline about how to ask a good question: stackoverflow.com/help/how-to-askpeeyush singh 50 secs ago
 
 
2 hours later…
2:18 AM
0
Q: This plain JavaScript plugin anatomy has the terms of speed and undesirable situation error?

BOZI am new to javaScript and even new in the coding world. I'm going to write a plugin. But I don't know if I'm making mistakes in this plugin anatomy? I know that to use a object prototype, you need to use the "new" tag. Is it wrong to know? But... So instead of using the "new" tag outside of th...

 
 
2 hours later…
4:14 AM
0
Q: High performance wrapper for CSPRNG arc4random(3)

nalzokThis function is a wrapper for arc4random(3), a cryptographic pseudo-random number generator on macOS and BSDs, but you can also get it by installing libbsd-devel on most Linux distros. It serves the same purpose as arc4random_uniform(3), the official wrapper for arc4random(3), i.e. to generate ...

 
5:11 AM
0
Q: AST Visitor Pattern in Java

AnonimistaI am trying to make a simple expression evaluator in Java using Jacc (a parser generator). I am done with the AST creation and now need to create an evaluator. For this I made a simple test to try to understand how visitors work. Here is my code interface Visitor { public void visitB(B b); ...

 
5:30 AM
0
Q: Given a query string s and a set of all possible query strings, return all strings in the set that have s as a prefix

Maclean Pinto Implement an autocomplete system. That is, given a query string s and a set of all possible query strings, return all strings in the set that have s as a prefix. For example, given the query string de and the set of strings [dog, deer, deal], return [deer, deal]. class DailyCo...

 
5:52 AM
Monking
 
Monking
 
6:56 AM
Monking
 
7:24 AM
am I missing something or was this lisp question as off-topic as I think it was?
 
0
Q: Hackerrank Matchstick experiment

Balakrishnan RajanThe problem statement is regarding probability. The code I have produced till now is, import math class Cell: def __init__(self, Row, Coloumn): self.Row = Row self.Coloumn = Coloumn self.Name = 'CellR'+str(Row)+'C'+str(Coloumn) self.UNeighbor = None ...

0
Q: Move a function into a thread for faster process in python

Waleed SalehI have the following scenario I'm doing object detection between peds and vehicles. I'm doing exetensive computational using the compute function. I would like to move it into another process and let the main thread do the detection. I'm very beginner in python and don't know how to refactor th...

 
7:44 AM
0
Q: How can these js functions be combined?

Derek RobertsI'm working on a chat feature. The user can submit by pressing Enter or Tab keys while the textarea is focused, or by pressing a submit button. <textarea id="comment" class="form-control" maxlength="255" placeholder="Enter message here. Max length 255 characters. Press ENTER or TAB Key, or Submi...

 
@Vogel612 It is. It's not asking for a review, but for an evaluation method of recursive calls to understand them without actual execution.
 
@Vogel612 Request for explanation of code. We don't do that.
 
It's not even asking for an explanation of code.
It's asking how to understand complex code in general.
I'm unaware of any SE site that covers that, though.
 
@CaptainObvious asking for rewrite as multithreaded code
@Zeta "Jeff"?
 
Baum mit augen.
Together with Jean-Francois Fabre.
 
7:50 AM
ya... Jeff is not Jean or JFF
I don't know whether Baum used to be called Jeff, though. But duplicating that seems not like something Zeta would do ...
~waves @avazula :)
 
This is a question for code reviewGuy 36 secs ago
 
@Vogel612 Guten Morgen!
 
I actually might run out of votes today...
 
And Monkin' to all
 
just 5 left....
 
7:53 AM
Moderators run out of votes?
 
'course
not of close-votes, but of rep-votes
 
Of-course multi-line links in markdown are still broken...
 
@Mast dies by roomba anyways, don't see why I'd need to do anything there..
 
Roomba is a slowpoke.
 
so?
 
7:56 AM
But sure, ok.
 
that question is not on the active questions page, it's 2 days old, closed and at -7.
nothing to gain from speeding up deletion there
 
I know. It's also unrecoverable. So there's not really a point of it sticking around.
 
hrm... Sleep patterns are weird.
 
Do you even have a sleep pattern?
 
I used to have a pretty stable 4AM - 1PM one the last few days
now my GF was staying for the night we went to bed around midnight, which is why I'm even up right now.
Woke up a little before 7 and already knew I wouldn't have a chance to keep sleeping there...
but now I'm tired again :/
 
8:01 AM
:(
 
FWIW that 4AM thing didn't really do me that much good, so there's that.
 
@Vogel612 Do you have a flexible working schedule? I'd love to work at night and sleep during the afternoon but my employer wouldn't agree ^^
 
@avazula Trust me, that gets old really quick.
 
@Mast what do you mean?
 
Working at night is great for hobbies, when it's optional. For a job, it forces you to try and sleep during the day. Which your body will fight to the end.
The rest of the world isn't very forgiving for it either.
Want to take a nap at 10 AM? Here comes the neighbour with his chainsaw on his day off.
 
8:06 AM
@avazula I'm a student, soo ...
 
@Mast it's true that the body may be reluctant to adopt such a pattern ... but being autistic, my sleeping habits are already very weird, I'm not sure it'd be so hard for me
 
@Mast working changing shifts is even worse...
 
@avazula You only realize how hard it is after you've tried.
 
@Mast yeah, that is an issue. Fortunately I live in the land, in a super old and super well isolated house, I don't hear my neighbours :D
 
@Vogel612 Guess what I'm doing right now.
It's not as easy as I'd hoped, and my sleeping schedule was out of whack anyway.
So I thought this wouldn't be so bad.
Boy was I wrong.
 
8:08 AM
@Mast Well I used to do this for a while. The hardest thing was that people expect you to be as available as before during the day...
@Mast :(
 
But, hopefully, that's all going to change. Been looking for new jobs for a while.
 
@Mast you're not happy with your current one?
 
@avazula People trying to claim time aren't much of a problem really. You just say "sorry, working in shifts now, got to work/sleep". The problem is when you need them.
 
@Vogel612 JFF, sorry.
@Vogel612 Nah, Baum was always Baum, as far as I recall, although I know him IRL.
 
@avazula The pay is nice, but it's kind-of killing me in the long run. So, no.
 
8:11 AM
I'm kinda dyslexic today. Maybe not enough coffe, or not enough slep.
 
@Mast :/ I hope you'll find something better soon. I'm actually changing jobs as well
@Zeta maybe both? :p
I'd love a coffee rn
 
@Vogel612 You're correct, left a couple of comments.
 
yea, it's kind of in the grey-ish area though... Retrospectively I shouldn't have nuke-closed that
 
My next comment is going to be for him to take it up on meta though. People trying to justify their question based on other questions is not something I'm going to defend against in comments, we'll do that where it belongs. Meta.
@Vogel612 Meh, either it deserves closure or it doesn't. Don't let your nuke powers stop you from enforcing policy.
If we disagree, we'll find you.
We can't please everybody, miscommunication will happen and some (new) users will never understand how and why this site works. That's ok.
Don't back away from a fight just because the community trusts you. We trust you'll do the right thing, and if you don't, we'll talk about it. Like civilized people.
 
8:27 AM
thanks :)
 
9:00 AM
0
Q: Python variable naming

nexlaI am having a little debate with my colleague during my code review. He marked my variable name as incorrect, although i said that PEP-8 doesnt state that it's bad and it's clear what variable is about. code below class TotalRangeOrDelta(ListAPIView): def list(self, request, *args, **kwargs...

0
Q: Checking if multi dimensional array's given property empty or not for the whole collection

Pointless-AiThis is what I am doing and it's working, var isEmpty = true; for(let i = 0; i<= members.length; i++) { var member = members[i]; if(member && member[3]){ isEmpty = false; break; } } Can this be improved ? simply checking if a specific property is empty for all...

 
9:12 AM
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comrkosegi 42 secs ago
@showdev : Thanks for your link, I 've posted the same question on this website : codereview.stackexchange.com/questions/215825/…Matt 37 secs ago
 
0
Q: optimisation of a jquery plugin

MattI have no problem, but I would like some advice : I've read some help to do some jquery plugin, and I just did my first one. It helps to generate dynamic datatable: autofill the table with some JSON data, and create some trigger to add or modify some lines. I have one form which will add some lin...

 
9:39 AM
0
Q: converting CSV format data to graph sample format for implementing BFS

Thomasimport collections def breadth_first_search(graph, root): visited, queue = set(), collections.deque([root]) while queue: vertex = queue.popleft() for neighbour in graph[vertex]: if neighbour not in visited: visited.add(neighbour) ...

 
@Poetoe This question might better fit to: codereview.stackexchange.comPᴇʜ 33 secs ago
 
9:59 AM
@Jo.lass Ah, well you are right! All these GoTo got me too confused actually. The OP should really go to codereview.stackexchange.com and get this refactored. — Pᴇʜ 15 secs ago
 
10:36 AM
0
Q: Extracting patterns from a text

MichaelSuppose I am writing function numericValues(text: String): List[Int] to extract patterns """([a-z]+)\s*:\s*(\d+)""" and return the list of the numeric values : numericValues("a123 : 0 abc:123 123:abc xyz:1") // List(123, 1) I would write numericValues like this: def numericValues(text: String...

0
Q: I cannot seem to get the pricing right for my food ordering system

SpiceVortexprices=print("Mushroom Pies:£1.20 Vegtable Pies:£0.80 Spiced Lentil Pies:£1.40") vegetablepies=0.80 mushroompies=1.20 spicedpies=1.40 total=vegetablepies+mushroompies+spicedpies vegetablepies=input("How many vegtable pies do you want?") mushroompies=input("How many mushroom pies do you wa...

 
10:53 AM
@LJGermain "please tell me how I can improve it" - you might be looking for Code Review. But before posting there, please check out their guidelinesBergi 58 secs ago
 
0
Q: Correctly determine daylight-saving time in Central European Time?

QuandaryThe following constellation: Our applications pass date&time around (in the most horrible way possible). We want to simplify this. Instead of a culture-specific string like '31.12.2019', we're now passing an ecma-timestamp (the number of milliseconds between the point in time in UTC and 1970-01...

 
 
1 hour later…
12:18 PM
 
12:31 PM
0
Q: Reinventing the Wheel - Variadic string concatenation function in C

Lapys Problem I've been trying to create a variadic function that concatenates a group of strings together. The function is to be sentinel-controlled (iterating through a sentinel argument stops the search for more arguments). It's use case should be implicit and not require the user to add the se...

 
remonking
 
12:52 PM
@Vogel612 What's good?
 
I took a nap after I woke up too soon
 
Jealous
 
You shouldn't be jealous of my borken ass "sleep rhythm"
 
Mines just as broke lmao
Usually, once a month, I have to do an "all nighter" to re-align my sleep schedule, haven't had one for about 18 months now
 
so did it wrap around yet?
 
12:55 PM
No it's only getting worse lol
I ain't no Microsoft shill anymore lmao
 
1:10 PM
1
Q: SemaphoreSlim extension method for safely handling cancellation and disposal

InterminableI have often found myself using a try {semaphore.Wait()} finally {semaphore.Release()} pattern when using semaphores, so decided I wanted to try and write an extension method to do this instead. This stems from the problem where I wanted to dispose of my class containing the SemaphoreSlim instan...

0
Q: Redundant code that needs to be refactored

TomI am writing an logic in c# that contains two methods. One returns Ilookup and the other returns list. Both these methods are define in the data access layer. Some part of code need the Ilookup while some need list. I feel there is redundant and think should refactor it. Looking for suggestions ...

 
1:23 PM
This might be better fit for CodeReview? — Steven Wood 53 secs ago
My understanding is that CodeReview is for code that works. — chue x 1 min ago
 
1:48 PM
0
Q: Switching to next select field by class of parent (js)

Ze'evThis emulates behavior of tab and shifttab with right and left. I.e., switch focus to the next/previous select field with parent class .tab (which are not siblings in the DOM.) It works, but any way to make it more elegant? Especially the if/then and the limit to range. I'm fairly new to javas...

 
Voting to close as this would be more suitable here -> codereview.stackexchange.comvs97 27 secs ago
 
2:07 PM
0
Q: Removing unneeded statements from a set of Java statements

Adam AminI have the following sets of IDs that are related to each other: [0, 0] [1, 0] [2, 1] -- [3, 0] [4, 3] [5, 1] ** [6, 0] [7, 6] [8, 5] ** [9, 3] [10, 0] [11, 10] [12, 0] [13, 12] [14, 3] [15, 1] [16, 1] [17, 3] [18, 0] [19, 18] [20, 0] [21, 20] [22, 1] [23, 2] -- [24, 0] [25, 24] Each one of th...

 
I'm voting to close this question as off-topic because the code works. Codes that work and need review should be posted on code review. — Andreas 42 secs ago
Would probably be a better fit at Code ReviewLarsTech 29 secs ago
TBH, I would look at posting over at Code Review as this questions is too broad and opinion based. — Çöđěxěŕ 29 secs ago
@LarsTech haha it looks like we had the same intentions of suggesting code review. — Çöđěxěŕ 26 secs ago
 
2:27 PM
0
Q: Input 5 numbers and print out any possible cases of non-unique largest numbers in the array

user11206537Here is my program, item_no = [] max = 0 for i in range(5): input_no = int(input("Enter an item number: ")) item_no.append(input_no) for i in item_no: if i > max: max = i high = item_no.index(max) print (item_no[high]) Example input: [5, 6, 7, 8, 8] Example output: 8 How c...

 
Voting to close as this would be more suitable here -> codereview.stackexchange.com — dpr 28 secs ago
 
@DerKommissar ?
Is that from a light-themed Discord or Slack?
 
@Zeta We were talking about opening the command palette (no idea if VS even has one), in Rider / JetBrains IDE's there's a shortcut, my joke was "ALT + F4" which will close Visual Studio.
 
Ah. The good old "how do I open the buy menu" joke in CS.
IIRC, it's C-p or C-P in VSCode, btw.
 
2:46 PM
0
Q: C# 'Object Pool' with too many generics

Marc BernierI've implemented a generic object pool, to use it, you write a class that inherits from this class: public abstract class WorkerBase<S, I, O> { public WorkerBase() { } public virtual bool Initialize() { return true; } public abstract List<O> Process(S settings, List<I> input); } ...

 
@Vogel612 IIRC those were on-topic because a lot of people said to add "Any and all reviews welcome." to the bottom of every post. Meaning it went from grey/off-topic to on-topic.
 
3:05 PM
1
Q: graphtimer v2 - Utility to plot timings

PeilonrayzGitHub repo (MIT) Clone the repo and replace the contents of example.py with the one at the bottom and you'll have everything setup. Explanation of the code A long while ago I posted the question "Abstract graphing-and-timing functions". It was a god class, wasn't extendable/configurable, you a...

0
Q: Dynamically configurable ZMQ filter with Flask API

stkubrI have a stream of ZMQ messages, I need to filter the right ones and save them in MongoDB. The trick is to have an option to set the filter conditions dynamically. I have come up with this solution using multiprocessing and Flask. Basicaly I use Flask HTTP API to change the global filter_parame...

 
3:24 PM
0
Q: Given a pivot x, and a list lst, partition the list into three parts

thadeuszlayThe task: Given a pivot x, and a list lst, partition the list into three parts. The first part contains all elements in lst that are less than x The second part contains all elements in lst that are equal to x The third part contains all elements in lst that are larger than x Orderin...

 
FYI - Since you are actually looking for more of a code review for working code, you may wish to look at the Code Review site. If you do end up posting your question there, remove this one. — rmaddy 9 secs ago
 
4:11 PM
Fix? Is it broken or not? If you are looking for a code review, perhaps try codereview.stackexchange.comJensV 49 secs ago
@JensV thank for feedbeak. Have made repost to code review. My code is working and does not broken — Serg Burlaka 19 secs ago
 
2
Q: Batch retrieve web titles from URLs

madscijrThis working script reads a list of URLs from one or more text files, and for each, retrieves the page title from the Internet and appends the results in the format <url/>\t<title/>\n to the output file (for each input file it creates a corresponding output file). I am a Python newbie and w...

0
Q: Try to make group.toList() but looks questionably. How to fix the code?

SergeyMy problem is to load items with different types , then to sort it by types and return pair results: type to items (for the type) wrapping to object: data class MyProfilesWrap(val type: MeStore.ProfileType, val profiles: ArrayList<MeStore.ProfileImpl>) so after groupBy() i trying get it...

0
Q: 1st React exercise - list books alphabetically and change display onClick

anilopThis is my first React mini-project all by my lonesome. How do I make it better? I am outputting a list of books in alphabetical order and changing the style properties on click. class Books extends React.Component { constructor(props) { super(props); this.state = { isClicked: ...

 
I think this question is better for codereview stackexchange. — Luis Miguel Mejía Suárez 16 secs ago
In the meantime, you probably want add some more iterations here return Hash(password, 10000);, other than that I have had no issues so far and it's in production since ~ 4 years :) For the newer .net core, I also written a class, which lives at code review @pettys — Christian Gollhardt 37 secs ago
Since you're primarily looking for improvements in performance and optimisation, this question might be more suited to Code Review. : ) — TrebledJ 1 min ago
 
4:41 PM
0
Q: Sorts(merge, quick, bubble) in Python

user195683I'm new to python, I wrote the following code. Please review, critique and enhance. Thanks for your help. This project compares quicksort, mergesort and bubblesort 1) write/test the partition routine for quicksort. (20 points) The rest of the code is given. 2) write/test the mergi...

 
Adding to this, if your code works but you want help optimizing, maybe go to codereview.stackexchange.comG. Anderson 55 secs ago
 
posted on March 20, 2019 by CommitStrip

 
4:58 PM
Is your code working ? if yes, then you probably want a review, and your question may suite better to code review. If no, then what is not working ? is it crashing ? what is the error ? in which line ? Is it working but not the way you want ? What is actual behaviour ? the expected one ? Currently your question is unclear... — vincrichaud just now
 
0
Q: Why is my copy of an array not reversing?

RquestionsI created a program which should copy the array of the original one and then reverse the array in a copied one. I'm not sure why my copied array is not reversing itself. The output is the same as the original one. This is my code: import java.util.Arrays; public class Main { public static voi...

 
@CommitStrip I don't understand that one...
 
5:18 PM
@Vogel612 I didn't either.
 
Monking
I semi understand it, but meh it's lame
 
5:38 PM
0
Q: Checking user verification status

AnonProgrammerThe User story is as follows: Users are allowed to get "verified", so other users know they have passed a background check. After tapping "get verified" button, or the "verification badge" displayed on another users profile, they will be redirected to a view that will either prompt the current...

-1
Q: Rudimentary Access to webdata (html) through socket (port 80) connection using Python

Sumanth LazarusMy question is theoretical: we can use the urllib library (urlopen) to return a html page; I understand that data = mysock.recv(512) behaves as document.read() for the received data(UTF-8 or ASCII). What code in the above lines operates as open(document) function? open(document) locates the fil...

 
possible answer invalidation by user3132457 on question by user3132457: codereview.stackexchange.com/posts/215767/revisions
 
5:55 PM
It feels like this question is to broad or a borderline code review and I think you need to give your design another go and maybe come back with a more specific question because too much is missing right now. — Joakim Danielson 35 secs ago
 
6:36 PM
0
Q: Fill missing value based on ID

reimaSay that I have running id from 1 to n, and a value column: set.seed(1) x <- data.frame(c(1:10),rnorm(10,10, sd = 2.5)) colnames(x) <- c("id", "value") id value 1 1 8.433865 2 2 10.459108 3 3 7.910928 4 4 13.988202 5 5 10.823769 6 6 7.948829 7 7 11.218573 8 8 11.845812...

0
Q: Unnecessary condition in Find subarray with given sum

RajeshKumar RI was checking this question in geeksforgeeks. In 2nd approach while (curr_sum > sum && start < i-1) and while (curr_sum > sum) both gives same result. Why start < i-1 is there?

0
Q: Data retrieval from Dynamic HTML page with time-out (Web scraping w. Python)

Sumanth LazarusPython beginner (no web dev know-how) here: The html page shows list of a friend network of a person (each Name has anchor tag w. link to list of friend network). Since the page has a timer, I've written a py code to scrap the mth position (friend) of the nth count (page) by traversing through t...

 
I'm voting to close this question as off-topic because it seems like a better fit for codereview.stackexchange.comStedy 5 secs ago
Maybe Code Review would be more appropriate for this question — ielyamani 59 secs ago
 
6:55 PM
-1
Q: Enabling a button via EditText

NevoluteI'm trying to enable a button to become clickable once a key on the emulator keyboard is pressed and then disabled if the field is empty. How would one implement this? This is my code thus far: class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?)...

 
7:10 PM
Every day brings some discoveries (for me), @ielyamani. Yes, Code Review looks like a better place for such a question. Yet, I'd like to leave it here in hope someone helps me with the offset(by: ) part. — Paul B 33 secs ago
Would this question be better for CodeReview instead of StackOverflow? — Green Cloak Guy 18 secs ago
 
0
Q: SSO references in Rust with unsafe code

theindigamerIgnoring whether this is a good idea or a bad one, is this implementation sound? (playground link) #[derive(Copy, Clone)] #[repr(C)] struct StringRef { len: usize, // Assuming usize = u64 ptr: *const u8, } #[repr(C)] union SSOStringRefInner { sref: StringRef, bytes: [u8; 16], } ...

 
7:34 PM
-1
Q: Array Function in JavaScript

Abhinav KushagraCan any one please make me understand the following lines of codes? I'm getting confused in filter part of the code. Why do we need component as one of the parameters even if we aren't using it? If I remove component the code doesn't work the way it should work: removeCharacter = index => { ...

 
7:50 PM
possible answer invalidation by Abhinav Kushagra on question by Abhinav Kushagra: codereview.stackexchange.com/posts/215865/revisions
 
0
Q: Python, Selenium, Pandas project; for populating web form page on loop

Peter GibbonsI have inherited this nightmare Python, Selenium, and Pandas project. I am learning Python as I go; and have been cleaning up and refactoring the code where I see necessary - It was worst if you can imagine; anyway, if anyone is a Python/Pandas/Selenium enthusiast and has ideas to optimize it fur...

0
Q: Javascript reset counter

Kaloian Kozlevso I'm very new to JS and I decided as a first project to create a simple webpage that will have a count up timer. I used some code and edited it to fit my purpose. the question is as follows: I want to "reset the day from today" upon calling's the writeOutage function, in other words, when calli...

 
8:12 PM
0
Q: proc_macro derive for generatting getters in a struct for each type it contains

José ManuelThis is also on github: https://github.com/theypsilon/getters-by-type-rs #[proc_macro_derive(GettersByType)] pub fn getters_by_type(input: TokenStream) -> TokenStream { ImplContext::new(input, "GettersByType", false).transform_ast() } #[proc_macro_derive(GettersMutByType)] pub fn getters_mu...

0
Q: Copy only new or modified files/directories in C# Console App

user195698I know this has probably been done and discussed umpteen times, but I can’t find the answer I am looking for. I am trying to create a simple “directory/file copy" console application in C#. What I need is to copy all folders and files (keeping the original hierarchy) from one drive to another, ...

 
8:23 PM
Stack Overflow is for help fixing problems in code. Code Review is the place to ask for advice on how to write something better when it's working. — Barmar 35 secs ago
 
0
Q: Code that Moves Polygon in Swing

JaysonI'm creating a program where I move a shape. I'm trying to get my triangles to move along with the square when, but there is no way I can use setFrame for Polygons. Does the polygon class have a counterpart for setFrame? If not, how can I move my polygons? As you can see in my code below, I've al...

 
8:50 PM
0
Q: Convert a number from one base to another

eanmosI need a function to convert an unsigned integer number given by a string from one base to another. I wrote the following code. Can you please give me any tips to improve it? Thanks :) #include <assert.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include <lim...

 
9:29 PM
0
Q: Powershell script for zipping up old files

techguy1029I have a script for zipping up old files. I know using Windows Compression isn't ideal, so I will make the script run using 7-Zip later on. For now though, I just want see how I can make my current script better. By better I mean, how could I make this code cleaner or neater? How could I make the...

 
9:42 PM
If the code works, then it's probably a better fit for codereview.se. — Sergio Tulentsev 47 secs ago
 
0
Q: Error handling function (Win32/C)

Govind ParmarI have written the following function to be a general "error logging" solution for my Windows API projects. Basically, given a Windows system error code (a la GetLastError()), it will log the error message into a file: #include <Windows.h> #include <strsafe.h> // MAX_PATH for file name, 12 for ...

 
10:13 PM
I think it is better post it on code review .. — Wen-Ben 35 secs ago
I flagged this question for migration to codereview.stackexchange.com. It's clear and well-formatted, so it should be well-received there. (But it's too broad here on SO.) — Peter Cordes 38 secs ago
Thank you but... I've created a topic on codereview.stackexchange.com too :/ — hunomina 12 secs ago
 
0
Q: Simplify php - using functions or classes?

WastelandThe following code works fine, however, I'm trying to simplify it. I wrote it but I'm a beginner PHP coder. I can see that most probably the use of a function or class would be better... or anything to make it more concise in terms of php. This is a wordpress php code. I can't do it in a loop. Y...

0
Q: Go program - Looking for advice

hunominaHello everyone ! :) I'm beginning to learn about Golang and I would like to have some advice about the following program ^^ package main import ( "fmt" "net/http" "time" ) const BenchmarkTry = 1000 type PageBenchmark struct { url string time int64 // microseconds } func...

 
11:24 PM
0
Q: Password Checker

HyakkimaruIn my second post I am looking for the way to change answer dynamically. As you can see there it changes when I completely fill the input. I want it to change for every letter typed . I will be gratefull guys ! var passwordField = document.forms["takis"]["hero"]; var checkContrainer = docume...

 
11:42 PM
Fair enough - but Param *& would never pass a code review at any company I've ever worked at. — Kingsley 41 secs ago
 

« first day (2146 days earlier)      last day (1886 days later) »