« first day (1437 days earlier)      last day (2878 days later) » 

00:00
RELOAD! There are 3739 unanswered questions (91.3695% answered)
0
Q: Finding primes in order to prove the Collatz conjecture

BoredI created a function to find primes in order to prove the Collatz conjecture. My hope is that people in the future can use this for their projects. Basically, how it works is it converts a number into a string, and if it finds any even in the string then it gives foundEven variable a positive va...

00:37
-2
Q: Looking for some codes

FlareI am trying to write a code that will fill theNums with the following values (in order): 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 7, 7, 8, 8, 8. and also I am looking for code of the sum of theNums.

00:59
0
Q: Mandelbrot Fractal Drawer in C++

James BalajanAs an exercise to learn how OpenGL and image creation worked, as well as to satisfy a curiosity I've developed for Chaos Theory, I decided to create a mandelbrot fractal drawer in C++, which can either draw to an OpenGL context or to a PNG image. I am a beginner at C++, and would much appreciate ...

 
1 hour later…
02:26
0
Q: Merging Usage Data and Entity in Entity Framework

raykrowI'm working on a .Net Core API with EF and AutoMapper. I have a Topic entity that is essentially a blog post and it of course has items like categories and tags. When the topics are requested I return a property that is a list of all the tags associated with the topic. The difficult part is that ...

02:46
0
Q: Caesar Cipher Python3

ChrisI've been having a tough time trying to cipher my program. Thus far I've been able to insert strings into the file that I'm ciphering and also shift.I’m trying to make it so any character not part of the alphabet isn’t shifted in the text file but it does 'take up' a shift amount. For example, if...

03:12
Shouldn't it be [ported] on Code Review SE forum? — Talha Irfan 9 secs ago
 
1 hour later…
04:31
Monking
Hi.
And bye.
0
Q: Ruby on Rails Messaging board

catch22First time here and would definitely love some feedback on this message board app I made. I been doing front end development for the most part and I just want to keep my backend chops up. Let me know anywhere that can be improved. Thanks! Here's the github and the heroku

04:49
Are you looking for suggestions on how to improve your code? That should be directed for the Code Review site of Stack Exchange. codereview.stackexchange.comamallard 45 secs ago
hey @Phrancis'DROPTABLEUsers--
Had a fun one for my last call of the day (35+ minutes), this lady just refused to believe my explanation that even though she's getting really great internet speed on her computer via Ethernet, that her smart TV on the other side of the house, which uses Wi-Fi, barely gets enough speed to stream from Netflix in 4K resolution.
Netflix tech support [correctly] told her that the 5 mbps her TV was getting over Wi-Fi was not sufficient to stream in high definition
05:32
Also, MobX state-management library for JS looks very cool.
0
Q: Merge 3 cells in 1 with VBA

QuickSilverThe below code is working uses formula to concatenate the result from Range("K:M") and write the result in column H. Sub GenerateStyleFabricColourV4() Dim srcData As Range Dim rowNum As Long, lastRow As Long With Worksheets(2) lastRow = Application.Max(4, _ ...

05:56
Is it not returning desired results? If you are here just to find efficient approach to do this then Code Review is better place for such type of quesitons. — mmushtaq 52 secs ago
06:53
Monking
Anyone present that I could bug with more basic questions about binary trees in private? The kind where apparently the knowledge is so widespread that it's barely mentioned anywhere
i'm not going to be able to answer the questions until later today (in around 9 hours or so), but if you didn't find anyone until then, feel free to ping me :)
Thanks for the offer Vogel! Will do
07:46
Thanks a lot for the answer. I'm still a beginner with NuSMV. I did the changes to the program and put it on code review codereview.stackexchange.com/questions/160295/… I hope I can get more information. Your answer was good. — Dj Dac 55 secs ago
0
Q: Model checking with NuSMV

Dj DacI want to prove that a security property hold for a formal model. I previously asked about this on SO. My scenario is a UART connector that can transmit and receive data via Tx and Rx and get written and read from via memory-mapped i/o. There is also main memory and a user process that does the r...

so, I have an array with values: unqiue_array = ['a;b', 'c;d', 'e:f'] and I'd like to put them in an object x={} in Javascript. I seem to be able to add only the last value:
var x = {};
for (var i = 0; i < unique_array.length; ++i) {
    var field = unique_array[i].split(';');

    x = {
        id: Number(field[0]),
        label: 'Node ' + field[0]
    };
}
Any help :D ?
Don't know javascript, but it seems you are overwriting each time x
08:02
@Heslacher I know I'm overwriting them. I just don't know how to stop doing it :D
Is the var x = {}; declaring an array in javascript ?
If your code works and you're just asking on how to improve it, you should post it in Code Review instead. — Magnus Eriksson 28 secs ago
@Dex'ter What do you want the key to be? id? So x[key] = val, or x[id] = label
Ok, quick syntax question, what is field actually, how many cells does it have, what does it contain
6 cells, a b c d e f ?
Or rather, what is it supposed to contain
@Peilonrayz I actually managed to do it :D I wanted a list of obects, so:
var x = [];
for (var i = 0; i < unique_array.length; ++i) {
    var field = unique_array[i].split(';');

    x.push({
        'id':  Number(field[0]),
        'label': 'Node ' + field[0]
    });
}
did the trick
08:04
... are all arrays in javascript functioning like a stack?
@Isofruit No, they just added a bunch of objects to an array.
Oh I read that wrong, yeah they do
But I can't remember if they have all the performance benefits, ):
That's curious. For now I'll just eat that info, I currently do not have many good memories of stack from what I've learned so far so I'm somewhat taken aback by the use of that ADT for arrays, but I bet there's something I just don't know currently
@Isofruit It may just exert the interface to one. I know in Python it contains an hard C-array as the internal data structure, but has the interfaces to be used as a stack and a queue. Doesn't mean they'd be better than a stack or a queue, but lets you swap it out to one if needed.
@Peilonrayz check the Priv when you're available :D
@Dex'ter Can you ping me there, don't have it saved
08:10
Btw one of you two doesn't know by chance about binary trees and their string representation?
@Isofruit just the basic knowledge that I've got in College. Nothing more or less.
@Isofruit How do you mean string representation? Like pre, in and post fix or as an actual nice looking tree?
08:43
For code that works, there is codereview.stackexchange.com ; best way (I think) is to post there and link to it from gritter.im/red/help channel — Geeky I 58 secs ago
09:41
0
Q: Interfacing Python with JS, not sure how to design it

susduI have a web application that is structured as the following: Application purpose is to present the client with processed tabular data residing at the server. Server is written in Python. It serves the client an HTML page with about 200 different tables (grids) and matching JS files. All the J...

You might want to look at [codereview.so] — evolutionxbox 13 secs ago
0
Q: Convert data into dictionary

NGBI am trying to convert "Random = 1" into dictionary {"Random":1} I tried Key = (line.split('=')[0]).split()[0] #to get key and remove spaces value = (line.split('=')[1]).split()[0] CQ_Options[Key] = value How could I do it in more mature way?

10:18
0
Q: Display Hex and Color of Web color based on Name

Masoud NazemiThis code is written using the latest version of Processing. This has been compiled and proven working. What this code does: Enter name of the web color listed in Wikipedia in the text field. Or press CTRL for a random color. How to compile: Get the latest version of Processing (3.3) and copy-...

10:32
0
Q: Coin change with Dynamic Programming

yadav_viI have made an implementation of coin change problem solved with Dynamic Programming. Could you guys help with redefining some method names/variable names, change some implementation for the better. Here is my implementation - public class CoinChange { public int computeMinimumNumberOfCoi...

0
Q: Find the missing letter in sequence

OzanThe challenge was to find the missing letter in an array in alphabetical order. My solution was this ; function fearNotLetter(str) { var letters = str.split(''); var codes = []; var missing = 0; var start = 0 , next = 0 , c = 0; for(var i= 0; i < letters.length; i++){ var charcod...

0
Q: Vigenere Chipher - Haskell Implementation

Nirvin MI'm reading 'Haskell Programming from First Principles' book written by Christopher Allen and Julie Moronuki. As part of the exercises, I'm supposed to implement encrypt and decryption functions for Vigenere cipher. This is my implementation. shift :: (Int -> Int -> Int) -> Char -> Char -> Char...

10:45
what should I do? You should close the question here and post it on Code Review. — gp_sflover 22 secs ago
-1
Q: set Color in a piece for a boardgame

partycakeI am creating a class called Piece which will contain the pieces that will be used for the board game. I am trying to apply a color, however it doesn't recognize the color. I am writing this for an android application. public enum Piece { Black(Color.Black), White(Color.White); private fin...

11:01
0
Q: Creating an Inverted index using .3M document corpus?

jsroyalimport java.io.*; import java.util.*; import java.io.BufferedReader; import java.io.File; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.StringTokenizer; public class English extends Porter { public s...

@CaptainObvious Can a Java person check if this should be tagged with Java too. Most other Processing questions have Java tagged with it.
@Peilonrayz Processing can be ran in Python or JS too.
11:16
@LearnHowToBeTransparent Ah, thanks
-2
Q: Templated emails

CiejaI'm looking for a way how to send templated emails using mailkit in ASP.NET Core. Here's a short point of views how I see the solution: I would like to send emails if I get some API call, then I'll to look for a template from DB. The question is: How do I know what someone should send me via ...

If you're comfortable sharing actual code of a typical projects scaffolding then I would suggest you post this question in codereview.stackexchange.com instead. — apokryfos 22 secs ago
@AxelH i tried this link but not work form me codereview.stackexchange.com/questions/110000/…A.Goutam just now
12:04
I removed Any suggestions or what I could improve in my script? As that makes the question too broad. If you truly want a review of your script consider asking on CodeReview.SE — Matt 9 secs ago
0
Q: converts number in text format function code

Gaurav AggarwalI have created a function which converts number in text format and successfully converted upto 6 digit number but need to be sure if i can do any further customisation's to make code even more shorter. Please look at it and revert. $(document).ready(function() { var onesVal = ['Zero', 'On...

You realise that the link from Code Review is a simply ceasar cypher and the one you want to convert is a RSA. This is like asking for a Ferrari in a Fiat garage... — AxelH 16 secs ago
I don't know about C#, but in VBA, one can read the range into an array in a single line (eg. arrMine = Range("bigrange")); process the array; then write the array back to the worksheet (again in a single step). This speeds up processing by a factor of at least ten compared with multiple worksheet accessing. If that doesn't work in C#, suggest you post your working code to Code Review for advice. — Ron Rosenfeld 51 secs ago
@Peilonrayz big fat thanks at you for helping me with the binary tree thing! I currently don't have the time to look through it but will once I'm on the train
12:21
This is brittle as table could change and then it would randomly stop working... also duplicate rows would still produce duplicates. This is lazy in my opinion and I wouldn't let past code review - safer to aggregate — Milney 43 secs ago
12:34
0
Q: CommandBinding refrsh on parameter changed

MikeTobjective: i need the command I am executing on a datagrids context menu to know which column was clicked on XAML <DataGrid x:Name="dataGrid" ItemsSource="{Binding Table}" ContextMenuOpening="DataGrid_ContextMenuOpening"> <DataGrid.ContextMenu> <ContextMenu> <MenuItem He...

Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Knapsack algorithm in JavaScript - Integer weights and values
13:27
0
Q: How to test this kind of function?

TimothePearceI've got a React.Component which return a react-native-router-flux redirection Actions.home(). How would you test this kind of behaviour ? Here is my Component : export default class FacebookButtonConnect extends Component { constructor(props) { ... } async _onFacebookButtonPress() {...

0
Q: How to Write my method on good way for finding arin whois information?

LjdhameliyaI have created one method that get whois information from arin server is this any changes in this code for good code structure. public ArinResponse GetWhoisInfo(string domainName) { if (string.IsNullOrEmpty(domainName)) { throw new ArgumentException("You have to supply a domainNa...

I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comFlown 55 secs ago
13:42
0
Q: Storing user permissions to hierarchically structured data in SQL Server

Andre BorgesI'm developing a system that supports creating accounts and multiple users within every account that can each access a certain subset of data of their "parent" account. The data is stored in a SQL Server database in the following tables: Accounts: Id(guid, primary key), Title(nvarchar(200)), User...

possible answer invalidation by Graipher on question by Gaurav Aggarwal: codereview.stackexchange.com/posts/160309/revisions
0
Q: Selenium: Automatically Download a List of Songs from Youtube

LumonGiven a text file containing a list of links, I worte a code to download them one by one from youtube, using either YoutubeMP3 or Convert2mp3 logging any songs that failed to download. The code with Youtube-mp3 is significantly faster than Convert2mp3 but less accurate (some songs fail for unkno...

@Duga thats ok
14:25
0
Q: store data in session to prevent querying database

ChinnaRI have to create a user control to an existing web applicaiton. User control will have four text boxes(startdate, enddate, location, surname), submit buttton and export to excel button. Two of the text boxes(locaiton and surname) are autocomplete ones and I am using ajax autocompleteextender for ...

0
Q: Median Maintainance bug

Pranjal VermaI'm trying to implement this problem in python3. The answer for a stream of integers from 1 to 10,000 is supposed to be 1213, which I'm not getting. I suspect there's a problem with my implementation of the heap and not the actual solution in the main() function. #A = [4, 1, 3, 2, 16, 9, 10, 14...

14:42
2
Q: Car simulation to demonstrate screen wrapping

George WillcoxI have been interested in writing some code that allows an object to wrap around the screen. It turned out to be much simpler than I was expecting, so I kept working and changed the white box that I had to a car that can rotate and move in the direction that it is facing by using basic trigonomet...

can I have a star?
8
all I see in here are bots....what has happened?
@Malachi RSA
thank you
I have a job interview at 2:30 for a company I never thought I could get an interview with, not sure how to feel about that.
I have been absent for a while. I need to get back to writing code and putting it up for ridicule I mean review :)
excited
14:52
@Malachi We missed you. :)
3
15:06
@Malachi - maybe I should send yuou one Rebecca Black link for each friday you missed?
5
15:16
0
Q: web workify _and_ share code, with rollup

Cool BlueDescription rollup-plugin-bundle-worker does a great job of shimming web workers into a rollup bundle, this example shows how to extend it to allow importScripts statements inside the web worker and to share code between the main bundle and the web worker. Motivation The serialise/de-serialise...

0
Q: Looking to properly structure my code as well as a way to split it into multiple classes (Player, Item etc.)

Linux4Lifepackage kataKeptar; import java.util.Scanner; public class Main { static Scanner scan = new Scanner(System.in); //scan is the Scanner variable for user input static String[] weapons = {"Bow and Arrow","Metal Rod","Axe","Sledge Hammer"}; String[] firstAidSmall = {"Band-Aid","Ace Ba...

HI @ROLFL
And @Malachi
2
How is my favorite monkey?
HI @SIMONFORSBERG
Strained neck muscles.... finding it hard to keep my head up ;-)
Cool muscle relaxing drugs, though
How's my favourite swede?
Started to feel slightly sick this afternoon. I hope it will get better before tomorrow.
Other than that? Trying to get used to life in Gothenburg and only having 5 minute walk to work.
@rolfl Did they give you anything that causes you to see monkeys everywhere?
Nope, but that would have been cool.
i think you're looking for code review site. — Ousmane Mahy Diaw 13 secs ago
15:45
This is a better question for the Code Review Stack Exchange: codereview.stackexchange.comjmona789 11 secs ago
Monking
@JamieD77 But if you do that, then adding a new field to the table (which SHOULD be a non-breaking change) will break the query... Also if there are any duplicates, they will be duplicated in the results... I would not let that through a code review as it will be prone to break in future... and it is not a performance concern because SQL is clever enough to only do the second group if it needs too (to eliminate duplicates etc.). Also, what if he wants to show another field in the query anyway? — Milney 21 secs ago
@rolfl! hey
Woot woot
@SimonForsberg It's awesome mostly, isn't it?
How's life?
(Wow, Java 9 will have takeWhile on streams)
I'm not actually using Java anymore though
15:55
@skiwi Well, there's also a new city and a new life to get used to. Honestly kinda lonely from time to time.
I have been slammed....
@SimonForsberg Was more referring to the five minute walk in that part
I can see that living on your own in a new city can be lonely at times..
but that is the Life of a QA Engineer, finding all the bugs the Developers leave behind, but don't call them bugs....
@rolfl is there that many Rebecca Black songs?
There's only one that's worth sharing that many times
6
@Malachi Hah, that must be a fun job
16:17
yeah for the most part.
the problem is that it seems they don't actually run the application to see what happens when they run the code.... but that is what I am there for, right?
but I could be wrong, "works on my machine"
I think you (or your manager) should definitely make it clear to them that they're not testing enough, unless someone along their chain objects they should be doing their utmost best to leave no bugs behind, on the other hand you should still continue testing as strictly as ever before
-1
Q: Best Practices for HD44780 instruction calls

saylorMy current embedded project uses a 16x2 LCD controlled by the HD44780 standard controller. My PIC18 speaks to the LCD via the Adafruit LCD serial backpack (schematic link). I chose the SPI interface. The HD44780 is controlled through various instruction writes to 8 data pins (DB0-7), a read/writ...

16:53
Artjom's input looks very promising, but I am still getting a DOMException client side, but no details in the error. The BouncyCastle code which I'm using <codereview.stackexchange.com/questions/14892/…; was using a 128 bit nonce. I've tried changing it to 96, with the same results. Will keep trying. — andrew 39 secs ago
"when the condition itself is expressed as a negative" you should get slapped in the face with a big trout anyway. — CompuChip 54 mins ago
bwahahaha
17:17
0
Q: Efficient way to calculate game time

Jason OliverIt's a common occurrence nowadays to have different refresh rates across different devices. That's why it's very important to keep track of the device's frame rate to keep the game time consistent across different refresh rates. Is this an efficient way to go about this? var timeBetween; var ti...

0
Q: Using shouldComponentUpdate with Immutable.js in React

dmsI have been tinkering with a project I found on GitHub to learn how to use Immutable.js with React's own shouldComponentUpdate. The code works, but I am not sure it works as it's supposed to work. import React from 'react'; import CreateTodo from './create-todo'; import TodosList from './todos-l...

Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Simple Brainf_ck IDE in JavaFX 8
17:43
I have learned many things about Bash today
Such as: don't try and use .bashrc in a cronjob
silent failures for an hour before realising that cron does not create an interactive shell
@skiwi oh I definitely do. and have raised the concern a couple of times. it gets better....
18:56
0
Q: C program to read data from text file and write it to a binary one

MichaelXThis program will read data in the form of: Number Name In each line of a text file, then it will write it to a binary file and print the resulting binary file. I am getting a warning in line 73, but I don't think it's an issue as null is converted into 0, right? #include <stdio.h> #include <...

Questions of this nature are better suited for codereview.stackexchange.comrmaddy 36 secs ago
I'm voting to close this question as off-topic because code reviews belong on codereview.stackexchange.comrmaddy 56 secs ago
This question could be suitable for Code Review, as long as (a) your code works as intended, (b) your code is real code, rather than example code, and (c) your code is included in the body of the question. If you wish for a peer review to improve all aspects of your code, please post it on Code Review. — Mike McCaughan 52 secs ago
19:26
If your code is actually working as intended, you might yield better result from here: codereview.stackexchange.comMooingRawr 5 secs ago
19:42
0
Q: Pagination code surpassing maximum execution time

Michael WadeSo I inherited an PHP application that was last maintained in 2003 or so. I've managed to get it migrated over to a new host with updated mySQL and PHP and have replaced all of the deprecated commands and fixed all the bugs except one. There's a contact list page that puts a pagination index at t...

0
Q: Multilanguage Support in Apache Cordova

Jaken HermanI currently have a languages.js set up as such: var MaterialProperties = 0; var YieldStrength = 1; var OtherPhrases = 2; //continue to list other phrases - there are 40+ var English = [ "Material Properties", "Yield Strength", "Other Phrases" ]; var Chinese = [ // Chinese stri...

possible answer invalidation by Vildnex on question by Vildnex: codereview.stackexchange.com/posts/160273/revisions
fp
When you get this working. It would be a good idea to get a code review. codereview.stackexchange.comLoki Astari 57 secs ago
20:11
Thanks @MooingRawr, I'll add a minimal Tkinter reenactment and post it on codereview. — Jay just now
If this code works, then Stackoverflow is not the place to ask for optimization advice. You want to post this on codereview.stackexchange.com instead. — Mike 'Pomax' Kamermans 48 secs ago
@JeroenvanSteijn if you don't know where to start, maybe post it to codereview.stackexchange.comMichael Coker 14 secs ago
20:28
@Jacob: This is a good question, so don't get frustrated by downvotes and critics. It's just that you should ask in code review instead of here. — Federico Peralta Schaffner 20 secs ago
0
Q: MCMC Metropolis Hastings for German Tank Puzzle

user2879934I have implemented the following MCMC algorithm for the german tank puzzle found here I just want to make sure everything is legit and that I am not getting the right answer by chance. from scipy.stats import norm import numpy as np import math import scipy as sp import matplotlib.pyplot as pl...

21:10
0
Q: Dna Sequencing Patterns Optimization

JacobI'm working on an algorithm to search through 100,000+ lines of dna sequencing, with the fastest time possible. Here is my current code, I was wondering if there's any ways to make this run faster: public static void mostCommonKmer(String s, int k) { // your code here HashMap<String, Int...

codereview.stackexchange.com/a/150779/110284 (you didn't work hard enough on your algorithm part) — Ped7g 43 secs ago
21:40
0
Q: Html SEO tags generator usually renders collections except for <title> tag

LeogoutThe context: I am currently struggling with a conception problem: I am building a SEO tags generator in PHP. I already managed to render some beautiful tags like these: <meta name="keywords" content="look, at, my, horse" /> <meta property="og:title" content="My horse is amazing" /> <meta http-e...

0
Q: Advices for a virtual LaunchPad

FERREI'm currently coding for a school project. I'm planning on creating a virtual and simple Launchpad. Here's the first part of my code which treats the graphical interface. I know it's not well organized and that's why I ask for your help and tips! Thanks import java.awt.EventQueue; import java.a...

22:19
0
Q: Creating binary tree from an array

user1044328I want to easily create a binary tree given an array. The array elements are processed in a level order manner. E.g. If the array contains: {19,10,43} Then the root is 19, left child is 7 and right child is 3. To declare that the node does not have a child, I'm using a speciate data value as in...

0
Q: Implementation of fixed size queue using a ring (cyclic) buffer

Emily L.I found myself in need of a fixed size queue and decided to implement one using a ring (cyclic) buffer. I have tried my best to match the API of std::queue with the addition of full() to test if the queue is full and unable to accept another element. The code compiles cleanly with: -Wall -Wext...

22:33
1
Q: Implementation of Single Layer Perceptron Learning Algorithm in C

user91656I have implemented a working version of perceptron learning algorithm in C. Right now, it only works on single layer perceptrons and only takes two inputs. I plan on making it work with more than two inputs, but want to make sure I'm doing everything right first. Here is the tutorial I used: htt...

22:55
0
Q: TicTacToe (again!), but with difficulty levels, undo, and hints

user135889I'm learning Python after a 30+ year break from programming, got bored with the usual TicTacToe exercise, so went a bit wild adding functionality to it to make something that's a bit more fun to play than losing to the computer every time. Now reached the stage of aimlessly noodling around with ...

-1
Q: Alert message for reaching a limit during navigation in excel userform

user7828601I am using following code to populate userform from tabulated data in excel sheet and trying to use a next and previous button to cycle through previous entries in a table and have done successfully for the first table starting from A1 (row 1). With this code, the previous button selects the prev...

23:07
0
Q: Haskell - Parsing n lines to count vowels - HackerEarth

Jonathan ChourakiI have written a haskell program for the following 'Code Monk' Challenge at HackerEarth. Here is the challenge description. Basically, we are looking for the number of vowels in a string. The first input n is the number of string to parse, followed by n number of random strings. And here is my i...

0
Q: Recursive function to compare xml files using MSXML DOM

Pankaj JajuI have put together this function which compares two XMLs. On debugging, I found out that there are lot of useless loops which might cause performance problems for me if the files to compare are very big in size. Is there a tweak that I can do to this function so that i can cut down on some (if n...

23:20
0
Q: Backward Integration for fractional order nonlinear systems in matlab

asmIs there any suggestions how we could calculate Backward Integration for fractional order nonlinear systems I tried the code fde12 but it dosen't work

23:44
0
Q: What is proper semantic HTML markup for several of (profile picture + message heading + message)?

太極者無極而生I was asked to write the HTML markup and CSS for several of the following, like in a comments section in a webpage: User's profile picture on the left his message heading his message content I was so concerned with how to correctly make it displayed, and used <div class="comment-section"> <...

23:56
0
Q: STTCL FSM framework based on the GoF State Pattern, Part I: The basic interfaces

πάντα ῥεῖI have decided to let my pet project created some years ago to undergo a code review here. The review will be broken into parts according to meta question Multiple reviews or one big review?. The overall concept and motivation can be inspected here (be patient, it takes some time to load). An...

1
Q: Complex scientific formula for nuclear magnetic resonance

Geoffrey SametzI've been reading "clean code" tutorials, and I definitely see the value of using good names that "document themselves" to make intent clear. However, what can be done about complex formulas where describing the meaning of a symbol is difficult? My solution is to include a reference to the math ...


« first day (1437 days earlier)      last day (2878 days later) »