« first day (1393 days earlier)      last day (2923 days later) » 

00:00
RELOAD! There are 3489 unanswered questions (91.6948% answered)
00:33
1
Q: Create a table that lists macros in a workbook or worksheet

IvenBachI'm updating an Excel workbook that I've inherited and had to figure out if/when/where Functions/Subs were being called. Ran into instances where in the code I couldn't find it being called and deleted/comment out, only to have it run into an error later on since a button uses it. The code that f...

00:51
For anyone who's been thinking about this Community Challenge suggestion, whether or not it makes the cut I would like to suggest The Elements of Computing Systems as recommended reading.
01:08
0
Q: Simple OS in assembly

BoeNoeI am a beginner in assembly. But that didn't stop me from making a simple operating system completely made in assembly. It's very simple and doesn't do much. It's just a proof of concept. I would like to know what I can improve. And feedback would be great. bits 16 mov dl, 0 ; Cursor position co...

0
Q: Conways Game of Life in cmd batch file

chazjnJust for fun I have written a Conway's Game of Life in cmd batch file. I like writing in batch - its restrictions and limits are its appeal. However - it is slow, very slow on a large grid. Any tips to speed it up? I think the slowest part is the function GETNCOUNT - this gets the count of the ...

The older I get the less I treat braces as optional. What is happening to me?
I'm surprised no one answered this with a WOT:
7
Q: Are 'text walls' not a thing that exists in the world?

the dark wandererA comment on a recent question of mine claims Right, so [large unformatted text blocks scaring off some readers in certain contexts is] a myth. This is how I know: Harry Potter. Big long books. Lots of text. Lots of readers. People come to SE for text. They are not scared of it. But they are...

One person included a WOT version, but nobody just answered with a WOT and a sentence at the bottom that says something to the effect "I'll let you decide."
 
1 hour later…
02:22
Just found this: https://t.co/l70ISbWN6S
// ask not for whom the hack hacks, it hacks for thee
@Phrancis There's a repo at my old job that probably still has random comments from songs I was listening to at the time I wrote each section.
@EBrown noice
possible answer invalidation by Gus on question by Gus: codereview.stackexchange.com/posts/156174/revisions
02:38
@Phrancis Bye Bye Bye by *NSYNC was in there lol
As was 'The Book of Love' by Peter Gabriel.
1
Q: Designing a Robust Texture and Framebuffer class for Game Engine

CodeSurgeonAs part of my ongoing development of a 3D game engine based on PyOpenGL, I am trying to do some refactoring to make working with textures and framebuffers as painless as possible. I feel this refactoring is needed so that my texture class can handle all of these (and more!) use-cases seamlessly: ...

0
Q: Simple array implementation

JohnI just finished this code for my own practice purpose. This code works just fine but I understand there still a lot insidious problems. Any advice for improvement would be appreciated. So here it goes: Package DS; import java.util.*; public class basic_Array { public static void main(Stri...

02:54
0
Q: How to make a simple game (Java or Python)

WarstolremI want to make an easy game where you drive a little block around a field. I'm not really sure how to get started with the graphics and the physics (collision physics mostly). Looking for some tips to start off. Also, would it be preferable to work in Java or Python for a project like this?

03:08
0
Q: Better way to check for an array's existence

Hai VuConsider this code segment: if (empty($_GET)) { $page_number = 1; } else { $page_number = $_GET["page_number"]; } I wonder if there is a better, more succinct way to express that idea. I thought about using a ternary operator, but the improvement over the original is not substantial: ...

 
3 hours later…
06:08
0
Q: Robot code lift arm while reversing

Stephanie BeckI am trying to help my son program his robot using RobitC graphical. He has it doing most of what he wants it to do but the code is stuck and won't continue past the arm raise/ hold. What it is supposed to be doing at the point where it gets stuck is raise the arms (to lift an object) Hold the a...

 
2 hours later…
07:47
0
Q: Code writing needed

johner jubairWrite a class course with the course_title, course_code and credit as private members of the class. Now make an array of 10 course objects in main function and demonstrate use of all methods (e.g. setData, getData etc...... Write a program that will implement a class that will be able to  Add...

Monking
0
Q: Use fork to distribute command line input to 4 child and perform sorting on each member elements

Sam AnnieI am new to c programming and I have encountered this implementation problem. The situation is I need to use fork() to create 4 child process to print command line arguments in a round robin manner, that is if the input is ./abc.c RR GG EE WW BB CC DD AA, the output should in same format as the...

08:31
Is there any reason not to review my own code?
0
Q: Robust IO and working with different types of numbers in Haskell

Bilal AkilI've tried to solve /r/DailyProgrammer Challenge #303 [Easy]: Ricochet in Haskell. The code below is now the second Haskell script I've ever written, so I'd consider myself quite the beginner. It works (to a bare minimum), but I'm not particularly happy with it. Whilst I'm sure there are many pr...

08:55
* I will move this discussion to Code Review as recommended by some users * — Guilherme Barros Avila 27 secs ago
@Zeta If the question has been open for at least a couple of days, no, not really.
If it hasn't yet, an outsider's perspective could well be more valuable.
Also, Monking!
1
Q: RadixSort implementation design and performance

Guilherme Barros AvilaCredits for the original implementation I based my code on: Quora - What is the most efficient way to sort a million 32-bit integers? Implementation // RadixSort - works for values up to unsigned_int_max (32-bit) template<typename Iter> void radix_sort(Iter __first, Iter __last){ typedef ...

09:21
0
Q: Sync n SQLitedatabases using threads and a Service

JulioI have an Android app that collects data in n number of SQLite databases. The user decides the value of n in runtime. A Service is in charge of sending that data to our server. We used to do this with an IntentService but since there were some "HighFrequency" databases that were 100x bigger than ...

09:42
-1
Q: how to save random image/string generated in picture box in bytes to DB in c# windows forms

johnhelp ASAP . i have created a sign up form in c# windows form and using random class , i generate key and display it in picture box . problem is when i save that image displayed in picture box, it is saving as bit map in DB( SQL server) but i need it to be saved as byte . if it save as byte only i...

10:30
* I'm also moving this discussion to Code Review as recommended by some users. you are invited to join in if you want @rcgldr * — Guilherme Barros Avila 12 secs ago
10:50
0
Q: Split a character string based on change of character

Jubin ChhedaI am contributing a solution to the following task on Rosetta Code: Task Split a (character) string into comma (plus a blank) delimited strings based on a change of character (left to right). Show the output here (use the 1st example below). Blanks should be treated as any other character ...

11:04
0
Q: Duplicate model or add differentiating attribute?

Graham SlickI have an app with a product model. Each product belongs to a category. I also have a characteristic model, which represents the characteristics of a product (size, color, etc). I need to put these attributes in categories to group them. Should I add a new table (e.g CharacteristicCategory) or ...

11:16
Monking
Monking
11:30
Monking
0
Q: canonical golang pattern for transactional library state manipulation

RidiculousRichardIn golang I am finding that there is a definite pressure in the language itself and built-in libraries to do things in a canonical way. Please can someone critically look at these two ways I am considering using to provide transactional synchronisation of state manipulation within a library and ...

12:18
0
Q: How to send data to MySQL by using Node.js on web App

Ali GhaffariHow to send data to MySQL database by using Node.js. I want to send data from our Web form to my database. How to do? Can anyone help me?

@CaptainObvious nukes-pls
@CaptainObvious still not closed...
Monking
@CaptainObvious Closed.
Wtf is this... I'm on eBay and I need to click one of the two radio buttons, when the page is loading I see them and once it's loaded they just disappear
12:34
@CaptainObvious 2 more vtc ...
@CaptainObvious Closed.
Yep it's quite a feat to come up with that piece of code
@rolfl WOW
I think I've seen enough code for today already
1
Q: Initialising accounting groups

VishalThis deeply nested set of callbacks is very unreadable and I'm looking for ways to improve it: seedGroups('Branch/Divisions', null, null, null, null, true, true, true, false, true, function(err, result) { seedGroups('Capital Account', null, null, 'Balance Sheet', 'Assets', true, true, true, ...

13:09
@CaptainObvious WHAT THE ACTUAL FLYING????!?!?!?
how do you even write code like that without going mad??
0
Q: 4 nested for loops and the result getting printed out is just wrong

Damjan Babić#define _XOPEN_SOURCE #include <unistd.h> #include <stdio.h> #include <cs50.h> #include <string.h> #include <stdlib.h> int main (void) { char alphabet [] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', ...

13:25
possible answer invalidation by Vishal on question by Vishal: codereview.stackexchange.com/posts/156288/revisions
hey guys. I've encountered very strange situation: it seems like author of the answer really thinks that the code is great, but I believe that there is an obvious room for improvement. Should I downvote, leave a comment, or just let it be?
0
A: Split a character string based on change of character

user132015Looks perfect. You have the input string hardcoded here, is there a possibility of having a new line character in your input (if input is given in run-time).??

downvote and comment seems like the appropriate course of action ...
we also have a meta that explicitly states that "looks good" needs to be justified just as well.
you could even provide your own answer to demonstrate properly that there is room for improvement.
to me it looks like the code can be written to use streaming in and output ...
It seems like code improved from the last time I've seen it. Gonna leave a comment on the newcomer's answer.
yea there was an edit there... check rev 2
13:43
I think code review site would be better for you. — Ousmane Diaw 32 secs ago
I would also recommend checking out their help center first. — Incomputable 6 secs ago
0
Q: tic-tac-toe implementation

Vardan Hovhannisyan#include <iostream> #include <ctime> #include <numeric> #include <vector> #include <functional> #include <map> #include <stack> #include <algorithm> #include <cstring> #include <cstdlib> #include <iomanip> #include <memory> const int initWeight = 100; const int precCoeff = 50; const double stepC...

@Incomputable Write a better review :).
13:58
@Zeta hey. I found that C++ tag got questions piled up. I think that review is enough for now, there are some more crazy things
@Incomputable don't go by tag zombie count. Review what you enjoy reviewing.
5
We need happy reviewers, not exhausted and overwhelmed reviewers :)
Monking
@Incomputable - my experience is that if you feel an answer missed an obvious, important point, then downvote the answer. Don't comment on why.
Monking
If there are really small issues in an answer, then consider editing the answer, otherwise for in-between issues, add a comment.
Hey @rolfl :) How are you ?
14:17
I answered questions successfully in 3 different languages yesterday...wth have I become?
Two were accepted...
Assembly, Java, and PHP D:
SOMEONE SAVE ME FROM MYSELF
I think it's a good thing so I will not be the one to save you sorry
14:31
Anyone got any advice for an application where you can define classes(tables) and relations and can generate some forms where you can enter the data and modify it, and create some other forms that are more specialized?
Access 2007 was a disaster imo, though I'm willing to give Access 2016 another try, but I'm open to alternatives
woot woot... all
Argh, RediculousRichard - you're not going to have enough rep to chat.
@EBrown - if/when RidiculousRichard arrives, can you give him privs to chat?
Didn't know RO could do that interesting
RO can't do that ...
needs mod powers, because talk-perms are strange
Bahhh... only mods? crap.
@rolfl fwiw I don't see them in the roomlist yet ...
14:41
Can't 'Explicit Write Access' do that?
Yeah, but I am writing up an answer to his question before it gets closed ;-) And can't monitor things here.
Explicit Write Access should do it, yes.
gives permission on this room only
unfortunately ROs can't give explicit write access to users that have below 20 rep
it should be sufficient to get another two upvotes on the question, though...
because IIUC the 6 rep from SO should also count towards the 20 rep requirement for chat.se
@rolfl .... If it's getting closed why are you writing an answer, don't we disapprove that?
I retracted my close vote, but it is in the queue, and I suspect it's got momentum
hmm ... yeap. it seems that way ..
14:43
It is working "example" code, and when I first went through it, I thought it was not-working example code.
Yeah not a stellar question at all (I got it in the queue)
Someone has some experience with Rails here ?
Except for the fact that the code is complete, it works, runs, and even has executable "playground" implementations. As I look at it now, it's a real problem reduced to a SSCE which is a decent SSCE.... but looks like it's incomplete..... but it isn.t
Well reallyDoSomething //Do something // Do some arg check // Some private state , all parts of the code that are "present" that we can't judge
@rolfl We close running example code before nothing special about that one I think. It's a mix of SSCE design question things and a comparative review. All the grey area in one question :)
(well comparative review are on-topic but I never like them)
15:01
See, that's my concern... "all parts of the code that are "present" that we can't judge" ... the thing is, in this case, a person familiar with Go has "no problem" with the missing parts, the critical stuff is there, and nothing important is missing.
Anyway, I got my answer in.
hehe ;-)
Hey @RidiculousRichard - working on getting you access to write here...
@Vogel612 ^^^ ?
nope ... as I said ...
I tried, but it won't allow me to add them to the explicit write access list...
the page completely reloads and they're not in :/
@rolfl well I'll trust you on this and retracted my close vote on this. You convince me it's enough of a grey area
15:17
... if only I was a mod ;-)
Anyway have a nice day all! Gotta take care of my daughter !!
Yes, you do.
16:16
Access 2016 still sucks :/
4
0
Q: angularJs TodoList, try to be more professional

Lidor Avitani'm wrote some todo list app, to understand how to be more expert. what i'm try to understand: my problem is when user click on task to edit, because it passed by reference so if user edit task, it will change directly the task object. (i attached my code here). my questions: 1) in my code i...

Secret Starrer: Identify yourself ^^
So I'm still looking for an application in which you can design your (mostly CRUD) application: That is design how your classes look like and have some kind of user interface builder that ideally supports drag&drop, also for example if you link to a different class then it should show you it in a nice way (possibly customizable)
I do in fact work for a company that delivers solutions based upon that, but it's not free and it's quite bulky for non-businesses
The thing that comes closest to it is still Access... :/
16:54
0
Q: Fully working Minesweeper clone written in C++ console. Curious to see what do you think

TheTask1337I managed to write a minesweeper clone in C++ console. I am curious to you thoughts, questions and things I could improve in the future, especially the objective part of the code. Thank you very much for your time! https://github.com/TheTask/MineSweeperClone

17:05
If your solution works, you'd better ask this question on Code Review. — ForceBru 43 secs ago
17:27
I logged in to my ADSL router: Uptime: 572D 17H 9M 2S
17:38
0
Q: 13 function C++ Calculator that takes 2 - 3 arguments

JordanI decided to write a (more or less simple) C++ calculator; init.cpp generally gets most of the user input, and calls the functions. Here are my files: //init.cpp (main file) #include "includes.hpp" int main() { char t = '\t'; //tab character, used for menu formatting char nl = '\n'; //new li...

17:51
Inside Timer.apply, you have only fn, but when you write Timed { someFunction() } there is a function name: someFunction - that is what I want to recover and print out. For Timed { 2 + 2 } or Timed { x }: we can assume that by convention users would then call Timed("addition") { 2 + 2 } and Timed { x } would be removed in code review. In other words, I am interested only in Timed { someFunction() }. — Frank 39 secs ago
Write three answers in three different languages yesterday and all three are accepted...wut.
18:19
@EBrown Nice
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: HTML and jQuery audio player
0
Q: Print all possible codes for a given string

Shivam RathiMy question is to print all possible codes for the string. Assume that value of a=1, b=2, c=3, d=4, .... z=26. E.g. for “1123” possible codes are aabc, kbc, alc, aaw, kw Here's what I could come up with. private static void printCodes(String str, String ans) { if (str.length() == 0) {...

0
Q: Magpi Magazine Downloader

An Epic PersonI have created a simple program at https://github.com/Epic0ne/magpi-downloader in Python which downloades all issues of the MagPi magazine by parsing this web page for links ending in .pdf, then downloading them using the urllib module. It also supports command line options, using the argparse mo...

19:16
@Gemtastic Best part is I barely know any of the three I answered lol
0
Q: Cookie Clicker esque game idea swift

R. DugganI am making a cookie clicker type game as a small project, within xcode, written in swift. I have a been developing a function which will turn a Int64() into a 4 digit long smaller version, to fit into text boxes. For example the function would turn 1,340,000 into £1.34M. The issue is, this could...

19:37
ok. Once again. Thank you all. Now I just need a code review and I'd like to bounce around some thoughts on usability. Can I do that on this site? I know I cant post it in this section unless it is help with code. — msith718 20 secs ago
20:08
@EBrown Some concepts fits regardless of language
@Gemtastic One was an SRP lesson, one was a 'you have more bugs than you thought' lesson, and one was a jump-table vs. if lesson. Lol
Not so strange then
Speaking of, this answer by H.J.K. could use up votes.
Also this question may be better suited for CodeReviewIvan Modric 12 secs ago
20:40
I think this is more fit for codereview.stackexchange.com as your code works but you want opinions on it. — leroydev 28 secs ago
20:50
Monking
40
Q: Writing programs to cope with I/O errors causing lost writes on Linux

Craig RingerTL;DR: If the Linux kernel loses a buffered I/O write, is there any way for the application to find out? I know you have to fsync() the file (and its parent directory) for durability. The question is if the kernel loses dirty buffers that are pending write due to an I/O error, how can the applic...

Some PostgreSQL is pissed ^^
how the crap do you even debug something like that??
Dude @ThomasWard that stuff got here today holy carp USPS is fast
@EBrown it's USPS priority :P
@EBrown I take it that it arrived today?
Yeah it got here this morning
I didn't even know
21:05
lol
well enjoy. let me know if anything was damaged, it should all "work"
:)
(I need a nap, i have a small headache)
@Vogel612 You don't, you're screwed
@ThomasWard Is that 'Edimax' the Wifi adapter?
@skiwi I like how my phone vibrated before I got this ping ...
wth
@Vogel612 I have this at work, I occasionally think about checking my phone in case I forgot about a message and right at that moment it vibrates
21:13
-1
Q: Need advice about web crawler

MeshI am going to make my website refresh the prices from several websites every day and my instructor told me you are going to need Crawler the problem is this I have no idea about crawler In html can I do it and how

0
Q: Brute-force search for solution to an unsolved mathematical inequality

idempotenceFrom this Wikipedia article, the following unsolved problem is presented as a result of Waring's problem: It has been proven that a finite number of k exist, and so far none are known. The follow code is meant to brute-force search for a solution: #include <boost/multiprecision/cpp_dec_float...

0
Q: Ternary tree preoder traversal (recursive implementation)

Jianmin Chen Problem statement: Print out to console the ternary tree preorder traversal. Suppose that the tree can have at most 3 children, left, middle and right. Preorder traversal is to visit the middle child first, and then left, and then right. Every node has integer value. My introduction of ...

21:37
Does a question get bumped and has a chance to go hot again after having received a bounty?
sure.
@skiwi Yes, bounties appear as 'edits' for bumps.
good workplace questions can go hot multiple times
Cool, I think I'll bounty my C++ question then
21:52
0
Q: Masked Textfield

NonlinearFruitGoal I am looking for recommendations on how to better conform this with Java best practices. Since there is no vanilla masked textfield, vas7n's implementation is the best I've found. How could this better conform with other vanilla JavaFx nodes? Background Here is the original code by vas7n ...

22:08
This question is a perfect fit for CodeReview. I tried on Meta to suggest that well-qualified members should be able to vote for such a migration - I was fobbed off. — Thumbnail 48 secs ago
22:44
0
Q: Finding repeated letters in a list of words

StepUp John has discovered various rocks. Each rock is composed of various elements, and each element is represented by a lowercase Latin letter from 'a' to 'z'. An element can be present multiple times in a rock. An element is called a 'gem-element' if it occurs at least once in each of th...

23:01
7
Q: Writing my own DBMS: Storing databases

skiwiI've been interested in writing something meaningful in C++ for a long time, yet I had a hard not picking Java or C# for a new project... Now I've found something for which C++ seems to be the right tool: Writing a Database Management System. I'm going to show you the code for the first step: St...

bounty :D
23:21
0
Q: Line and column tracker for text files

Kerndog73A class that keeps track of lines and columns in a text file. I use it in a parser so that when an error occurs, I can print out the line and column at which it occured. Here's line col.hpp #ifndef line_col_hpp #define line_col_hpp #include <cctype> #include <cstdio> #include <cassert> ///Kee...

Assuming you've got some code that works, you could try posting it to codereview.stackexchange.com where you'll get some pointers on how to improve it. The way you've asked this question here, though, it's basically unanswerable - it's impossible to suggest improvements in code that we can't actually see. — David Wallace 48 secs ago
23:57
0
Q: Java - finding the missing value in a proportion

John LouBasically, I'd like to be able to solve a proportion after entering in all but one term. Specifically, I'm working on creating a calculator for the Combined Gas Law. P1*V1/T1 = P2*V2/T2 Right now, what I have is a program that takes in two double arrays for the original and final values, and a ...


« first day (1393 days earlier)      last day (2923 days later) »