« first day (2047 days earlier)      last day (1971 days later) » 

12:00 AM
RELOAD! There are 5847 unanswered questions (89.7217% answered)
possible answer invalidation by Zorn01 on question by Zorn01: codereview.stackexchange.com/posts/208101/revisions
 
0
Q: Project Euler #81 in Haskell

castle-bravoI just completed Project Euler Problem 81 in Haskell. I'm looking for feedback on a few specific aspects, but I appreciate general feedback and style suggestions as well. I try to solve Project Euler problems without external dependencies, and I'm interested in learning how to do things in the ...

0
Q: Java splitting too large text file enhance performance

KhaledI have a too large data.txt file containing data as follows: a = line0 line1 line2 € b = line0 line1 line2 € ... z = line0 line1 I am still beginner with java, I wrote this code to split the data.txt into multiple .txt files named a.txt , b.txt etc... it splits the data.txt at each €\n charact...

 
12:21 AM
0
Q: Printing all the combination of indexes for 2 sum exact outcome

PriyankaCan somebody review the code and provide suggestions on where I can improve on the code like use of better data structure etc. Input: {1,7,2,8,3,6}; output: [0, 3] [1, 2] [4, 5]enter code here public class TwoSumExactAll { public static void main(String[] args) { int[] nums1 = {1,7,2,8,3,6...

0
Q: Stack implementation in C++ including min(), max() functions in O(1)

user_185051This implementation seems to work. I would love to get any suggestions / comments on how this code could be improved. Are there any potential memory management issues? Any additional methods that would be useful (also, from educational point of view) to implement? Thank you! Stack.hpp #ifndef S...

 
12:37 AM
0
Q: Non-recursive factorial in Ruby

vnbrsI've implemented a factorial function in a more "Ruby" way. I would like to get feedback on the algorithm. def factorial_of n (1..n).inject :* end factorial_of 5 => 120

 
12:50 AM
@Duga rolled back
TTQQ - anti-Monking
 
0
Q: set / verify password using REST API

pinkieI've never used the Code Review SE before, so if this would be better asked somewhere else (e.g. the Crypto SE) please let me know! I have limited experience with both making REST APIs and implementing security features, so I figured it'd be worth running this code through some other people's eye...

 
1:07 AM
0
Q: Python BMI Calulater Error

Ammar WalidiI tried everything to make it work but the mode and weight category didnt work i want to ask if anyone can help fix the code and make it work. its just the basics but i hope someone can help me. import statistics user_stats = [] def program_menu(): print("Welcome message to the user to explain...

 
 
2 hours later…
3:15 AM
If your code is working, a better place to post is Code Review. — Thomas Matthews 11 secs ago
 
3:29 AM
@YamenMassalha - I updated the answer, see rotateLeftNoArrayNotation() - basically it's the same function, slightly different syntax. Syntax that would not pass a code review ;) — Kingsley 53 secs ago
ptr = *++argv; - While valid C, this is really horrible syntax. It would get you a redo in most code reviews. — Kingsley 48 secs ago
 
3:55 AM
0
Q: Writing a better computation function in C++?

MikeI am beginner in C++ (Data-structure algorithm) and I need some help to write a better computation function in my int computemodes method. Is there way to write a better function that sorts the item count pair list in descending order by count. For example the item count pair list becomes, {2,3}...

 
4:12 AM
0
Q: javascript json API client - is network layer abstraction good? Why isn't response.text right?

MustModifyI'm rewriting collection-json.js, a client for Collection+JSON. (Collection+JSON is a HATEAOS API media type built on top of JSON.) My Goals: Remove coffee-script webpack, have a distribution Use ES6 classes but hopefully, through the dist, make it work for people who aren't using ES6. I'm m...

 
4:30 AM
StackExchange::CodeReview would be a better place to ask this question — y2k-shubham 1 min ago
 
4:58 AM
0
Q: find all combination of 4 element that sum equals to target in python

A.LeeI wrote a solution to find all combination of 4 element from a list that sum of element equal to some digital find all combination of 4 element that sum equals to target Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + ...

 
5:13 AM
0
Q: How to add multiple input tag for image preview using Javascript

Tejas Mandhare if (window.FileReader) { var reader = new FileReader(), rFilter = /^(image\/bmp|image\/cis-cod|image\/gif|image\/ief|image\/jpeg|image\/jpeg|image\/jpeg|image\/pipeg|image\/png|image\/svg\+xml|image\/tiff|image\/x-cmu-raster|image\/x-cmx|image\/x-icon|image\/x-portable-anymap|i...

0
Q: Android - Optimize ArrayAdapter class with ListView

pixelngrainI am learning android with Udacity nanodegree (having bad support like none) and this is my assignment of music app. It is just an interface and no music I have to add. So far so the app is running without any error but I wold like to get expert feedback to write code in better and optimized way ...

 
5:28 AM
0
Q: CSV file download functionality

user10753505I recently worked on module, in which i implemented the functionality of downloading the CSV files, I need to know the best practices which will improve this to the next level. @RequestMapping(value = "/export_data") public void downloadDataInCsv( @RequestParam("type") String type, ...

 
5:43 AM
0
Q: Game of Life implementation with no loops

Brady DeanI began implementing Game of Life for fun, then I challenged myself to implement the game with no loops. I only used STL Algorithms. I don't know how to make pretty GUI's yet but this will print the coordinates of each alive cell. I also do not know if I made a good hashing function. I think it's...

 
5:58 AM
0
Q: How to implement dependency inversion Principle

Ramji RI'm reading on how to implement design patterns. I'm trying to implement the DIP after reading SOLID principles. I'm a beginner in design patterns. Application scope: I'm building a Windows form C# project that keeps some information. It will create a bunch of textboxes and comboboxes dynamica...

 
 
1 hour later…
6:58 AM
Monking
 
 
2 hours later…
8:32 AM
0
Q: Collections management with many derived elements

CidI've been told few days ago that using is is a code smell and anti-pattern. I used it in an game to filter some elements of a collection (the inventory of the player). Classes structure The base class of an element of the collection is Item : public abstract class Item { public int Id {...

0
Q: JavaScript - Recursive loop which returns a value according to a single condition

Mouad EnnaciriI have a method that takes as parameter an array of several depth (group) and a name as a string (currentFilterName) checkFilterValue(group, currentFilterName) { group.forEach((element, index) => { if (element.children) { if (element.name === currentFilterName) { this.returne...

 
8:47 AM
0
Q: Emulate filtering by property in Django, using property and queryset annotation

DennisSummary It appears we can create a property on a Django model, and add an annotation with the exact same name to querysets for that model. For example, our FooBarModel has foo = property(...), and on top of that we can do FooBarModel.objects.annotate(foo=...). Note that the names are the same...

 
9:12 AM
@Feeds Foo bared
 
9:32 AM
1
Q: Iterate between dates and INSERT values in a performant way

PredicateI have created a query that populates a datapoint with random values. The logic is simple: Iterate between the START and END dates and INSERT random values. I want from this query to be very perfomant. For example populate every second of a year with values (what with this code will last ages)...

 
9:48 AM
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.comYury Tarabanko 48 secs ago
 
10:03 AM
0
Q: Spotify API data to vk.com user's status

Flynn84Just a simple script that puts a user's currently playing track(on Spotify) to his account's status on vk.com. And printing info about the track in the console. import requests import os import json URL_TRACK = 'https://api.spotify.com/v1/me/player/currently-playing' URL_STATUS = "https://api...

 
10:48 AM
0
Q: Is array ordered

HelloWorldI have an array of string values, where all elements match pattern \d+\w?. For example: string[] input = { "1", "1C", "1B", "1A", "2", "2D", "3", "4F", "4B", "6", "7" }; And I want to check whether this array is ordered. For my case array is ordered when it satisfies following conditions: ...

 
11:06 AM
Well-made question, might find a better home on CodeReview though. — Paul Stenne 50 secs ago
 
11:17 AM
Tried this question on CodeReview, but it is considered off-topic there because it contains example code. — Dennis 24 secs ago
 
0
Q: File integrity while replacing 2 Strings in a file

Der_ReparatorTask I want to handle a XML file from a source I cannot influence. All XML files from this source have the "problem" that the < and >symbols are represented by &lt; and &gt; respectively. Problem My program only sees the file on the local hard drive and is not influencing the genration of th...

 
11:29 AM
If your code works without any errors, a better place to ask would be Code Review. — usr2564301 21 secs ago
It seems like this is the wrong forum for this question, I suggest you try posting this on codereview.stackexchange.comMindSwipe 28 secs ago
 
-1
Q: What are Pros and Cons of yielding an extra element instead of adding to a list

Aly El-HaddadConsider the following situation: public class TeamMember { public string Name { get; set; } } public class AlphaTeam { public AlphaTeam() { Members = new List<TeamMember>(); } public ICollection<TeamMember> Members { get; } } public class BravoTeam { ...

 
Keep in mind that example code on Code Review is off-topic. So make sure not to express your code as an example, but instead explicitly mention that you're looking for the maximum in a [[u32; WIDTH]; HEIGHT] array, found a solution, but feel like there should be a more functional way. And keep in mind that cross-posting is frowned upon. — Zeta 32 secs ago
Hi and welcome to Stack Overflow, I recommend you take the tour and post a Minimal, Complete, and Verifiable example. With that being said I also recommend you post further such questions on codereview.stackexchange.comMindSwipe 59 secs ago
 
11:46 AM
Monking
 
0
Q: Is there a better way to fix encoding problems?

meissner_Suppose you get a response from some web service with things like: [...] blocked by another user (pult ПРОЦ 0). Please try again later. Which produces exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 41-44: ordinal not in range(128) While trying to log the error...

 
12:04 PM
0
Q: view items from database using jsp

RyanI have a table called Developers DeveloperName | password_ | Email john 1234 john@gmail.com Rose 5678 Rose@gmail.com Developer Class public class Developers { private int developer_id; private String developer...

 
12:19 PM
0
Q: Getting a Segmentation Fault after one iteration of the loop for text-based bluff(cheat) card game

rowaim fazalPlease look into the following code for a text-based bluff(cheat)game. it should display the cards in hand for each user before their turn. ask for the cards they want to call, and then for the actual cards they want to place on the pile(one by one). then display the number and type of card which...

 
12:35 PM
0
Q: I cannot able to print the function

subash chandrui know how to print it But my question is import UIKit class rules{ func printsomething(income:String){ print(income) } } var objs:rules print(objs.printsomething(income: "ssd")) if I compile it Error variable objs is not initialized before I know how to print t...

 
@Feeds borken
@Feeds Sàme
 
12:50 PM
-1
Q: PHP - aria-current not display

3edf1wsorry about my English , my PHP knowledge is very poor... so , my problem.. I have a File , heard.php where have all PHP Code , here the PHP Code which I think making the problem... <nav class="link_wechsel"> <h2 class="visually-hidden">Page navigation</h2> <ul> <li><a <?php if ($curren...

 
@Feeds And this one too
 
Thanks for the answer! I wonder what are the options to make this thing used by many users so they don't have to deal with command lines, manual inputting tokens etc. Only a web-app, written in Django for example? You can check the basic structure for the app here: codereview.stackexchange.com/questions/209423/…. — Flynn84 6 secs ago
 
1:05 PM
Monking
as we used to say by in my time :p
 
0
Q: Can I simply my lengthy shorthand string comparison?

FysicusIn one of my applications I receive a datastruct built like this: parent: { x, y, z, child[]: { x, y } } I select the parent object, and then loop through all of the child objects. I use this data to create a 3rd object. As you can see, some of the...

0
Q: Insurance Premium Quote Challenge

Anna NguyenI was failed at coding challenge for my interview with the following reasons given by the interviewer: deep use of mutation and a not that well thought up internal API. I understand that my code and design have so many flaws and I genuinely want to get your opinion so I could improve my code. ...

 
Monking @Morwenn long time not see
n
 
you don't say, I don't even remember when I came to say hello for the last time ^^'
I'm not sure I even had breasts back then x)
 
Monking
it's really been ages.
@Morwenn FWIW we wouldn't know. Belated(?) congrats?
 
I started taking hormones two years ago
 
1:21 PM
0
Q: How to better process csv file with pandas and further dealing with set

newTOcodeI have below working code with pandas and python, i'm looking if there is an improvement or simplification which can be done. Can we Just wrap this up into a definition. $ cat getcbk_srvlist_1.py #!/python/v3.6.1/bin/python3 from __future__ import print_function from signal import signal, SIGPI...

 
I think that was a bit after I stopped coming here on a regular basis :/
 
1:50 PM
Monking
 
@Hosch250 So I'm going to be building a forge in my new garage. ;)
@Morwenn Well welcome back at any rate!
@Morwenn I had a friend go through a transition, it's tough, but she really likes her outcome. Took her 3 years, IIRC?
 
I guess it depends on people
I've seen some get better after like 5 years
 
She had a good team working with her, so things went really smooth. I think it depends a lot on your physique (people are just different sometimes), and if you have a good group working your transition it can go much more smoothly.
 
I only take hormones and don't plan to do anything else though :p
well, I actually laser hair removal, I almost forgot about that
 
I think that was all she did, if I remember right.
Takes a few years for things to kick in but it seems like it really helped her quality-of-life, so I'm happy for her.
 
2:06 PM
It really helped with my well-being too, even though I still have random issues :p
 
@202_accepted You might be interested in talking James (the mod) from World Building.
He's an amateur blacksmith.
 
@202_accepted Ah right, you bought a house some time ago.
 
@Hosch250 Nice, I'll reach out to them. Really excited. :)
@Zeta Yes I did. :) Currently checking out tool-boxes and other things I need to modify in my garage...lol
@Morwenn It's a start, right? :)
 
it is
I would probably be struggling with depression otherwise
 
@202_accepted What do you plan to forge?
Or nothing in particular yet? Just excited to work with metal?
 
2:13 PM
@Zeta Mostly want to do smelting and casting, not as much anvil-work.
@Morwenn Well I'm glad it's helping you out with that. :)
 
2:34 PM
Good question, but functional code that just needs to be improved/tweaked should really be posted on Code Review. Stack Overflow is for broken code.. — FreeMan 35 secs ago
Please note that we dont review "working code" here. If your code fails, then please read Minimal, Complete, and Verifiable example and enhance your question accordingly. Otherwise, turn to the help center on codereview.stackexchange.com and check out if your content would be a better fit there. — GhostCat 58 secs ago
 
0
Q: Storing the content of .txt file into cassandra database

Prateek Dhawaleis it even possible to store content of .txt file into cassandra tables directly ? if anyone ever done this thing then share your idea and logic please

 
@Feeds No code, no … how did they even choose CR as the right place to post that question?
 
2:49 PM
If you've got working code and you want comments on the quality of the implementation (as opposed to fixing a bug or asking about certain functionality) then you might want to check if your question would be better suited on codereview.stackexchange.comADyson 39 secs ago
Try posting this on Code ReviewGabriel Luci 25 secs ago
 
3:09 PM
-1
Q: Replace if-statement with a more elegant solution in python

Jose RamonI have a code with several if else statements in python and I want to optimize it without using all those if-elif statements. My code using the input variables with the purpose of output 3 variables by checking 12 specific combinations of the input vars. My code is the following: def probs(s_a, ...

 
3:24 PM
-1
Q: Compare elements in 2D two non-identical arrays

JohnI want to compare each elements of List2 with first two elements of List1 and if matched return the 3rd elements from List1 List1 = np.array([[1,9,4],[1,6,2],[1,2,6],[1,7,3],[1,3,6],[1,8,2],[1,5,1],[1,10,2],[1,4]]); List2 = np.array([[1,2],[1,3],[1,4],[1,5]]); Expected result: step-1: compare ...

-1
Q: Python (3.7) temperature converter, unknown error

sprouseLast night, in about an hour, I created a relatively simple program in Python that could convert temperatures between Fahrenheit, Celsius, and Kelvin. But it's not working all the way. def tofahrenheit(x, scale): if "celsius" in scale: x = (x * 9 / 5) + 32 elif "kelvin" in scale:...

 
Honestly, then you are in a tough spot. In my own experience, "reading" about clean code is like 25% of it. You need to practice it, and you need same-minded people, ideally with quite some experience. My personal recommendation: when possible, take your own code to codereview... ... and ask for clean code reviews. Of course, that only works for code that can go public ;-) — GhostCat 22 secs ago
 
Today a lot of Gimme the codez question are coming in
 
Finals maybe?
 
Don't you want to give away the codez? :o
 
@Morwenn nope
 
3:33 PM
damn D:
 
0
Q: My first java app

SmitTheLastFirefoxUserI have created my first java app. I am very familiar with C++ and thus without reading any books (just introduction, googling and IntelliJ auto-completion) I directly jumped into Java. So I made a calculator. Main.java:- import javax.script.ScriptEngine; import javax.script.ScriptEngineManager;...

-1
Q: A triangle like code using backlash

Mobile GeeksI want to print a code like this in java: /\ / \ / \ / \ / \ /__________\

 
@GhostCat: Thank you for your good advice. Yes, I had one posted on codereview, if possible could you also take a look? And I also created a question on quora for your answer (please also help me to understand your answer in destroying static variables as well): quora.com/unanswered/…Anna 20 secs ago
 
3:54 PM
Is this flaggable unfriendly?
@200_success your questions sound really degenerative and not providing any fruitful value to the whole discussion. — Jose Ramon 44 mins ago
 
4:06 PM
Hey there
@Heslacher its borderline... mostly just seems like a misunderstanding
 
Ok. Just asking because english is not my first language
 
I think you are looking for a review. It looks fine, I don't see anything wrong except you could use System.IO.Path but isn't necessary. When everything is done and working, you could post on codereview.stackexchange.com — the_lotus 5 secs ago
If you already have working code, you should post your question on codereview.stackexchange.com instead. However, you'll most likely have to disclose your actual code, not just some pseudo code. — Mike Scotty 13 secs ago
 
@Heslacher ah... well it doesn't seem like it is offensive, but I perceive it as criticism in a constructive way and avoids any inelegant/harsh words...
 
4:26 PM
-2
Q: It's a leave calendar that takes new employee start employment date and calculates the remaining annual leave that employee is qualified for

Richard Grobler I've spent hours going through this and I feel I am missing simething. Each employee has random annual leave totals somewhere it's broken

0
Q: Event Calendar in js, css, and html

icewizardI repeated a lot of code here and I'm trying to use more es6 but I'm not sure where I should have used it in my code. I'd appreciate any input on where I could improve. html : <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8'> <title>Calendar</title> <li...

 
@Feeds broken
 
wow! just... wow!
-2
A: Rock Paper Scissors game using OOP

user186888Thanks everyone,and you know, What Around , come Around?

oh... perhaps that user was attempting to type the saying "what goes around comes around"...
add that to the pinterest fails board...
 
4:41 PM
0
Q: BarTender project with C# - exporting printer code templates

C. Cattas stated in the question I've got a working C# project. The project's goal is to open up the application BarTender and export printer code templates (a way of getting information from databases connected to BarTender). I would like to make improvements (i.e. syntax or build quality/speed). Any...

0
Q: Process Creation and Communication using Pipes

Omari CelestineI am attempting to resolve the following problem: Write a program in C that executes the following commands the same way a command interpreter would: paste file1 file2 | sort | nl > file3. You must consider that file1, file2 and file 3 will be parameters given to your program in the command l...

0
Q: Cross Post from Stack Overflow: Excel Range less clumsy

grNadpaAmong the useful comments I received from Stack Overflow was the suggestion to post my question here in Code Review. To wit (as originally posted. i.e. before the replies): As an old dog (age 73) learning new (Excel VBA) tricks, I am reasonably happy with putting together the code below. But I t...

 
Hi, unsure if the question belongs here. So I have code that works, that loads a db, does data transformation and outputs as json. The issue is that my classes are mostly private methods (python) and I just use the class as a general way to bundle methods together. I want to improve this. Does the question belong here or stackoverflow?
 
here
that's pretty definitively here
that being said: why use a class if you "only" want to bundle methods together?
Python already has modules for that
 
thanks, I'll ask, I find that in django class based views work better but maybe someone shows me something better on my question
 
@ClaudiuCreanga You can always include something to the effect of "should I use X here?"
 
Monking
Fun times... we have several shared modules between our server and clients
Today I noticed that there was a memory leak in a feature I introduced last week (though it went internally live yesterday)
I fix it on the server today, now the clients crash!
Coupling yay
 
5:07 PM
All code needs to be posted here directly. Also, code that's working but needs improvement (which seems to be the case here) is more suited for Code Review. Make sure to read their site tour first though. — Carcigenicate 51 secs ago
possible answer invalidation by Vogel612 on question by C. Catt: codereview.stackexchange.com/posts/209457/revisions
 
5:30 PM
0
Q: Django module to transform data from database to be displayed in Slickgrid tables

Claudiu CreangaThis is a Django tag with 2 classes, but can be viewed as a module: What does the module do? it loads a database, performs some transformations on the data, returns the output as a dictionary of json strings for the frontend of django to represent in slickgrid tables It's all working fine, but ...

 
Just a nit-pick, but why are the names of your fields English, bar the last one (Ingredienten => Ingredients). Might not seem like a big deal, but consistency matters, whether it be code-style, naming, or whatever... Also check the golang code review pages. Constants are CamelCased, for example. — Elias Van Ootegem 41 secs ago
 
6:00 PM
0
Q: Use Python along with the HubSpot HubDB API and the Blog Post API to create, update, and publish a batch of blog posts

FlySpaceAgeMy program automates the process of creating and publishing 152 blog posts quarterly. The blogging platform HubSpot has a series of APIs that allow developers to access account data from a CLI in Terminal. First step is creating an excel file (must save as CSV) and importing the file for use as...

 
6:16 PM
0
Q: Python - username and password authentication

KrishnaHow can I reduce the amount of if statements in this program to make it more robust and any other tips for improvement would be grateful. # importing pickle import pickle # defining variables create_username = 0 create_password = 0 password = 0 username = 0 # this variable allows the user or d...

 
@chillin I followed your suggestion and cross-posted to CodeReview. For whatever reason, they deleted my statement that it was a cross-post leaving only my original text. — grNadpa 38 secs ago
 
6:50 PM
possible answer invalidation by Jose Ramon on question by Jose Ramon: codereview.stackexchange.com/posts/209445/revisions
 
7:30 PM
Improve in what way? What specifically are your concerns with this code? As written this post seems better suited to codereview.stackexchange.com than SO. — Adrian 12 secs ago
 
1
Q: Distance transform on image using NumPy

user186901I would like to find the find the distance transform of a binary image in the fastest way possible without using the scipy function distance_transform_edt(). The image is 256 by 256. The reason I don't want to use scipy is because using it is difficult in Tensorflow. Every time I want to use this...

 
8:00 PM
possible answer invalidation by C. Catt on question by C. Catt: codereview.stackexchange.com/posts/209457/revisions
 
0
Q: Pythonic way of checking for dict keys

kchawla-piWhen checking a python dict for a key, which is the better way here: (I can't figure how to use dict.get() to make this cleaner) if 'y' in self.axes: ax = self.axes['y'].ax coord1[ax] = x0 coord2[ax] = (y1) - height[ax] coord3[ax] = x0 + width[ax] coord4[ax] = y1 or: try: ...

 
@Duga rolled back
 
8:19 PM
0
Q: Get all points within a triangle is causing an overflow

z3nth10nWell I'm lacking GraphicsPath in Unity (to fills polygon, draw them with and outline and utilities with shapes in general), so I'm doing my own implementation of it. Well, we could debate also which is the best option, but actually, I prefer this because I'm learning a lot. The idea is the follo...

0
Q: List component using RXJS Angular

ahmedbhsI have a small angular project, where I have an Article component to list articles with pagination system. 1)The deffault page 2)The placeholder loader page The main objectives are: Display the artiles. Paginating the artiles with ngb-pagination. Display a placeholder loader in case the res...

 
If you're interested: As soon as your code works, be sure to post at codereview.stackexchange.com and explain what you're trying to do - because I'm sure there are better ways to do it without global and without that level of nested for and if. — Jayjayyy 25 secs ago
 
8:34 PM
0
Q: #2 BarTender project with C# - exporting printer code templates

C. CattThis is a follow up to a previous question previous question: BarTender project with C# - exporting printer code templates From the first edit to this, I have changed the program use less of a procedural approach. Is this too much? When do you start breaking things into a separate class? I fee...

 
9:02 PM
May be a better fit for codereview.stackexchange.coms3cur3 43 secs ago
 
0
Q: Excel Multiplication Table Maker

Sandro4912I did the following excercise from here to try out the openpyxl module for generating excel files: Create a program that takes a numer N from the command line and creates an NxN multipliplication table in an Excel spreadsheet. Row 1 and column A should be used for labels and should be in b...

 
9:19 PM
We don't need any of the file-reading or transform code; you can delete everything except the last two paragraphs of the question; questions are supposed to give Minimal complete examples. If you do want a review of the entire (working) code, CodeReview.SE site is a better place to post. — smci 17 secs ago
 
0
Q: Calculate with times

Dexter ThornI have written a little program that calculates the time by given strings. A time string in the context of this program consists of a number and a following letter that can be s, m, h, or d. You can enter something like this: java TimeCalculator 443432s 34234m 34323m 32344234s 8h 23d 12h It ...

 
9:39 PM
Hey @avazula - how are things?
 
 
1 hour later…
10:54 PM
0
Q: Getting compilation error in my code?

MikeHi all I am creating a simple mode calculator and I need somebody to review my code below. If everything is alright. For some reason this line [](const auto& lhs, const auto& rhs){ return lhs.second < rhs.second; } gives an compilation error error expected expression . can anyone help me solve my...

 
@Feeds flung or RBA
@Feeds "...That poor woman... that poor [sensored for BE NICE policy] kidnapped herself. Come on dude, you said so yourself." -Walter Sobchak
 

« first day (2047 days earlier)      last day (1971 days later) »