« first day (1338 days earlier)      last day (1074 days later) » 

12:00 AM
RELOAD! There are 3239 unanswered questions (92.0050% answered)
Happy 2017 to all Code Reviewers!
Updated the code, and made a single unified constructor. — Krythic 2 mins ago
Happy new year!
@Mast Should we post the next round for these? meta.codereview.stackexchange.com/questions/7102/…
Should we do the top 5, or should we do all the ones over +10?
Especially since there is a big drop-off at that level?
12:16 AM
Jamalizer one will be pretty difficult to compile
That one doesn't make the cut either way.
Just got the Trendsetter secret hat on CR, what is that one about?
OK, room owners, do we really need two pinned messages about WB?
> Change your hat at least once daily for three (UTC) days in a row.
12:23 AM
> Do Animals Use Drugs In The Wild?
Ah ok
@skiwi Not the way they did in "Bambi", giving him drugs to make the bleeding stop, etc...
At least, not usually.
@Hosch250 Ask @janos since he posed the question.
@Hosch250 Treebark works like aspirine though.
And a lot of animals eat treebark.
Depends which tree.
And most animals, excluding porcupines, only eat treebark when there is nothing better available.
12:33 AM
@skiwi 4/10, not Egyptian enough.
@Mast I was going to say Too Catty.
This is how you do a proper Egyptian:
Not sure whether they make those in black.
Now that is a hideous cat.
@Hosch250 One of the only cat races that looks even worse when they're young.
12:35 AM
Depends on whether you like cats or not.
But I can believe you on that one.
Q: What happens if you refuse both pills?

Cake_BadgerWould Morpheus have had to force Neo to swallow the blue pill if Neo had refused the both of them?

What if you just plain can't take pills without choking?
@Hosch250 Wow, that's a great question.
@Mast A cat pretending to be a squirrel?
That almost looks like they photoshopped a cat head onto a squirrel body.
@Hosch250 Not sure.
Those comments got out of hand quickly though.
@DVK-in-Florida except the Matrix is clearly running some variant of Linux. "Earlier versions of the Matrix were designed to run on Windows... whole crops were lost." — Paul 8 hours ago
12:38 AM
@Hosch250 That cat looks sooo cute, but nothing like an ordinary cat
@skiwi Only if you adore cats, which I don't.
And what if you snort both of them? — TRiG 4 hours ago
@Hosch250 Something tells me you're more of a Dog guy.
@Hosch250 I have quite some issues with pills, I think other ones usually
So I'll just request some of those in The Matrix
@Mast WTF
12:41 AM
Ultimate camouflage.
We need a video of cat animals instead of those mouth photoshopped into cats
@skiwi If you're looking for a fun ride, hit YouTube for some Cyriak.
@skiwi Wow.
Not even cute.
Reminds me though.
None of these are. Go take them to the Nth.
12:46 AM
@Hosch250 If anyone feels like migrating, fine with me. But there's exactly 0% site business going on.
@Mast He still looks cute
There's a big difference between site business and eyesores.
@skiwi It's the eyes and the ears.
Yeah this might need to be migrated :p
12:48 AM
Wait a sec, a dog with a bunnies hindquarters?
Not really any better.
possible answer invalidation by Tobi on question by Tobi: codereview.stackexchange.com/posts/151341/revisions
@Duga Was bad, is bad, rolled back and commented. Nuking the question wouldn't lose anything.
Night all!
And merry new year.
1:25 AM
Happy night and merry 3016!
@skiwi that's... 999 years from now. Sure you didn't skip a button on your clock advancing the year or something? ;-)
farewell 2016, ...good riddance.
1:50 AM
I'm voting to close this question as off-topic because it's a better fit for Code ReviewPaul Roub 40 secs ago
I liked 2016.
2:16 AM
I want to get my hat with dignity, so I'm going to quote a fact printed on the bottom of my Snapple juice bottle cap from today: Over 1 million Earths would fit inside the sun.
is it star-fest time yet?
Apparently. I already saw some First Responder hats.
2:43 AM
Me and a friend just now :)
At the affectionate stage of being drunk?
I have several versions of the types: Config, PIn, St, and a function called runOneTest. The code using the types and the function is the same. The type signature for runOneTest will always be runOneTest :: Config -> Signal TestResult I want to be able to reuse all the other code that calls the runOneTest function. I posted about this on CodeReview yesterday with no results yet. [codereview.stackexchange.com/questions/151278/…LambdaScientist 5 secs ago
@Hosch250 Nah not drunk at all
Oh. I thought you said you were going to the pub.
2:58 AM
Yeah we haven't left yet, just chilling at his place
Listening to old vinyl records
I've heard that vinyls had better sound quality than CD's, at least before they faded.
Is that true?
I figured not.
Talking about old vinyls, have you heard John McCormack? He's one of the best tenors ever.
3:00 AM
It does sound "different" because of the medium, and the sound quality can be real good
Most records and record players don't sound nearly as good as digital
I heard it captured all the wavelengths and subtones, while CD's leave some of them out.
Back when CDs first came out that was true, old CD technology was not very good
Today's digital recording technology is so good though in comparison
CDs are 44.1 kHz and 16 bit, but most professional recordings are done at a much higher frequency and bit rate
And just get re-encoded when put to CD
Q: php public key chunked encryption with c# method to decrypt

Kraang PrimeI have written a method in PHP which breaks up larger than the byte size of the key of the certificate used to encrypt, and a method in c# which will decrypt said chunks using the corresponding private key. What I would like to be reviewed is the C# decrypt() function to improve the performance...

Someday they'll be better.
CDs won't get better due to the hard-coded freq and bit rate, but it's high enough to where the difference between CD and higher def audio is barely audible on most speakers
If you buy a really expensive sound system then you can hear the difference, and then and only then does vinyl actually sound better, if the record is in good shape
(which is rarely the case)
3:09 AM
Then they'll come out with a new encoding and call it something else.
I can just see the ads: "Sounds twice as good as normal CDs!"
They tried that already with Audio DVD but it didn't catch on
CDs already sound really good
The new version probably won't be available on disk.
Or can MP3 already have any frequency and bitrate?
If that's the case, they'll probably just stop shrinking them as networks get faster and memory gets cheaper.
MP3 is a really old encoding, I think it can but rarely does
My checkers game is currently in a broken state because I worked on my library.
A little bit more work in my library, then a lot of work on the UI, and I'll be ready for a beta, of a sorts.
Newer encodings lile MPEG 4 (including AAC files) are much better than MP3
3:15 AM
What about .wav?
I always rip my CD's as .wav's because it says it is lossless.
WAV is raw PCM, it sounds good but it makes flr hube files.
MP3 at the max bit rate sounds just as good [320 kbps) with much smaller files
I usually do 192 kbps which sounds exactly as good on most speakers
*for huge files
Hey, I have 8 GB of RAM and 750 GB of HDD.
I don't have an issue with huge files.
I have 520 GB free of 668 GB available (after formatting).
Just realized my typos
WAV/AIFF files are just wasteful
If you have iTunes (or an encoder) encode all that to AAC, otherwise 192 kbps MP3. I promise you won't be able to tell the difference
I have excellent speakers, and good ears.
Barring placebo effect, which a lot of people have wrt sound quality
3:30 AM
I have Beat speakers. They are as good as our old Sony CD player.
Only speakers better in the house are the Bose. HP doesn't skimp on their speakers.
Although, you are probably right.
@Hosch250 I'm pretty sure you don't have "excellent" speakers unless you paid upwards of $5000 for them
@Phrancis We have different definitions of "excellent", obviously.
Well, I'm just plain too lazy. I've got a couple hundred tracks I'd need to convert.
I'd have to upload them all to a website I know of to convert them (or figure out how to use ffmpeg).
@Hosch250 iTunes is great for encoding if you have it. Otherwise there's a small program called CDex that I've used for years that can encode to all sorts of formats locally
I don't care.
possible answer invalidation by Tobi on question by Tobi: codereview.stackexchange.com/posts/151341/revisions
3:35 AM
3:55 AM
BTW.AFK // pub
2 hours later…
5:38 AM
Happy New Year!!!
Happy new year, in 20 minutes.
You should've read my message after 20 mins. :P
Anyway, you can still do that. :D
5:58 AM
There go the fireworks.
Two more minutes.
Happy New Year @Hosch250
Happy New Year, everyone.
Except, I have a feeling it will be sadder for most people than 2017 :)
Not smiling about the sadness, just being semi-sarcastic.
Night, everyone.
BTW, don't drink and drive, or you (and perhaps others) will start the year on a bad note.
essentially, this is what i am trying to improve the performance of by decrypting multiple blocks at the same time > codereview.stackexchange.com/questions/151376/…Kraang Prime 16 secs ago
6:04 AM
If Janos is right, you spend the first day of the year chilling your heels in the hoosegow, you'll chill your heels there the whole year.
Nope, i am using public key encryption, private key decryption. Pretty hard code. Since it doesn't support chunks larger than the byte size of the key (eg 4096 key = 512 bytes), the data must be encrypted in chunks (see the php portion), and hence, must be decrypted in chunks. The problem is doing this sequentially is slower than I would like. (about 3 seconds for the sample posted on code review) — Kraang Prime 52 secs ago
Answered an oldie. Comments/feedback is welcomed.
6:29 AM
Happy new year @all
7:05 AM
Q: How to create a horizontal line on quote or blockquote tag

Allen Physics MadIn my html template, I want quote or blockquote tag to be like this in the picture below.. Where I want to create those lines top and bottom, which is broken in two part and in the middle that quotation mark. I understand fundamentally how to create line using <hr> or div:after { content: "";...

Q: Screenshot and text not showing SLComposeViewController

XmlS201Simple facebook share does not show postImage and postPhrase any Idea why this is happening? PostImage should screenshot the screen hence the //generate screenshot code. The popup comes up to share, but has no text or image. func shareButtonPress() { let postPhrase = "My Crush Score \(tota...

If the code is working, you can try in Code Review. — Sourav Ghosh just now
Voting to close because Code Review is the proper place for reviews. — Sami Kuhmonen 42 secs ago
7:22 AM
Q: Best of Code Review 2016 - Best Newcomer (answer) category

200_successPlease post your nominations for the Best of Code Review 2016 - Best Newcomer (answer) category. Best answer by a user who had not posted an answer before 2016. In your nomination post, please make sure to include a link to the nominated answer. Include a short explanation of what makes the...

7:35 AM
Q: reverse double linked list in python 2.7

Lin MaProblem is straightforward, reverse a double linkedlist, any advice on functional bug, performance in terms of algorithm time complexity and code style are highly appreciated. Code written in Python 2.7. class DoubleLinkedListNode: def __init__(self, value, next_node): self.value = ...

Q: Best of Code Review 2016 - Best Newcomer (question) category

200_successPlease post your nominations for the Best of Code Review 2016 - Best Newcomer (question) category. Best question by a user who had not posted a question before 2016. In your nomination post, please make sure to include a link to the nominated question. Include a short explanation of what ma...

Q: Best of Code Review 2016 - Diplomat category

200_successPlease post your nominations for the Best of Code Review 2016 - Diplomat category. Tough advice in an answer, delivered in the most tactful manner. In your nomination post, please make sure to include a link to the nominated answer. Include a short explanation of what makes that post worthy...

Q: Best of Code Review 2016 - Best Title category

200_successPlease post your nominations for the Best of Code Review 2016 - Best Title category. The question with the best title. In your nomination post, please make sure to include a link to the revision of the question (from the revision history) that introduced the nominated title, as well as a sh...

7:52 AM
Q: Best of Code Review 2016 - Exterminator category

200_successPlease post your nominations for the Best of Code Review 2016 - Exterminator category. Answer that points out the most interesting obscure bug in the original code. In your nomination post, please make sure to include a link to the nominated answer, as well as a short explanation of what ma...

Q: Best of Code Review 2016 - Night and Day category

200_successPlease post your nominations for the Best of Code Review 2016 - Night and Day category. The most dramatic improvement (nominate both the question with the most hopeless code and the answer that cleans it up the best). In your nomination post, please make sure to include a link to the nomina...

Q: Javscript Closure - help me understand why inner function's return value does not return

spacetabFollowing code does NOT work: function addToAnswer(param){ var answer = 10; function adder(){ return answer + param; }; adder(); } console.log(addToAnswer(5)); // returns undefined, expecting 15 The fix to this code is return adder(); How would you explain it in interview if a...

8:17 AM
Q: Student details using Scanner

Oman TechnologyI want to to write a Java program to accept personal details of a student: name, ID, age semester public class Ahmed1610436Program1 { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here int num; String str; Sc...

Q: Trying to get popups in a page to load into a frame instead of a new window with a chrome extension

user1888932I'm trying to load a popup a page makes into a frame instead of a new window via chrome extension. The code below works with TamperMonkey and GreaseMonkey but when I try executing it in a chrome extension it doesn't work and instead loads a popup window. var ifr; window._open = window.open;...

1 hour later…
9:24 AM
Q: Simple HTTP API requests in an exam paper download app

utkbansalSo basically I am building an app that helps to download some documents via a rest api. Here is the SearchViewController import UIKit class SearchViewController: UIViewController, UISearchResultsUpdating, UISearchBarDelegate { let searchController = UISearchController(searchResultsControl...

9:44 AM
@Heslacher Happy new year to you
And to any one else, of course ;)
10:40 AM
possible answer invalidation by Tushar on question by Ryan Lackey: codereview.stackexchange.com/posts/18771/revisions
11:02 AM
Q: Login Page with VueJS

Tom MooreI started with Vue.JS a few days ago. I created a login page, keeping some functionalities at the same page, but I don't know If is cool or "best pratices". Take a look... <div class="content" id="login-form"> <form action="#" method="post"> <h3 class="title font-blu...

11:35 AM
It could be a good example for a code review. codereview.stackexchange.comPascal Heraud 47 secs ago
codereview.stackexchange.com might be more appropriate if code is working. — Jarod42 30 secs ago
12:09 PM
Q: Text Editor problem from Facebook hackercup 2016

SahebI am trying to solve this problem from Facebook Hackercup 2016 qualification round but getting wrong answer each time I submit problem. Problem: You have a list of N distinct words, consisting of only lowercase letters. You'd like to print any K words from this list, one per page, in any...

Q: Weather-App for terminal done with node.js, OpenWeatherMap and ES6 promises

mizechI've started to learn node.js a few weeks ago. This weekend I've made a tiny app for to recap what I've learned so far. It uses OpenWeatherMap as a data-source. The user calls the main file (controller.js) via terminal and assigns a string (a location, usually town) as the one and only paramete...

12:22 PM
Hi Pascal, thanks for the comment , I'll perform the code review. — Jayesh Mulwani 56 secs ago
Also this might be better suited for CodeReviewUnholySheep 20 secs ago
1:00 PM
Happy New Year everyone
and Monking :)
1:35 PM
Q: Bash script to rename subfolder to include name of parent folder

Sam FischerHere's the current structure of my directory. . ├── Show 1 │   ├── Season 1 │   └── Season 2 ├── Show 2    ├── Season 1     └── Season 2 I want to rename the Season folders to include the name of the Show. The desired structure looks like this : . ├── Show 1 │   ├── Show 1 - Season 1 │   └──...

Monking @skiwi
> New Year's Dive in Limburg canceled because of ice
2:00 PM
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.com. — nnnnnn 38 secs ago
Finally properly awake... And it's starting to get dark again
@Duga wow. ... it's actually the correct reason to close here ...
Wasn't this posted already...?
3 hours ago, by Captain Obvious
Q: Login Page with VueJS

Tom MooreI started with Vue.JS a few days ago. I created a login page, keeping some functionalities at the same page, but I don't know If is cool or "best pratices". Take a look... <div class="content" id="login-form"> <form action="#" method="post"> <h3 class="title font-blu...

Probably needs a different close reason then
good day to you
good day @ThomasWard
2:10 PM
Naruto answer; accepted non-selfie answer with 0 score: POJO-like class in Python
I rename a file and directly after it complains to me that it cannot find the file anymore. Well done Visual Studio.
Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Erlang process pool
2:32 PM
Read the begin: "this should be asked on CodeReview, but stackoverflow seems to have more active users.". I asked in Code Review, but don't seems to have active users there. — Tom Moore 37 secs ago
LISP is weird
(define listcompfrag1 ('for 'th '(iota 26 1)))
(define listcompfrag2 ('for 'o '(iota 26 1)))
(define listcompfrag3 ('for 'r '(iota 26 1)))
(define listcompfrag4
    ('if '(= 1000
             (+ (* 2 th th)
                (* o o)
                (* r r)))))

(expand-listcomp (listcompfrag1 listcompfrag2 ...))
LISP is... fun
Rather Clojure though
2:56 PM
Q: ProjectEuler #1 - My code giving bizarre result

Soha Farhin PineMy code in C: #include <stdio.h> main() { int size=999, i=0, count=0; for (i=0; i<size; i++) { if (i%3==0 || i%5==0) { count+=i; } } printf("%d", count); return 0; } Output: 232169 It was a successful attempt at ProjectEuler #1 pr...

Q: part of minesweeper game that calculates surrounding number of bombs

Brian LeeI'm writing minesweeper clone in Java, and I've been having some trouble with the part where the surrounding number of bombs are calculated. For some reason, either some cells detect additional bombs, or no bombs at all (even weirdly, some cells work fine). Could someone help? Thanks! note: key[...

3:08 PM
@CaptainObvious wat
Hmm... about git commit messages, which one of the following should I actually use?
> Added GetCardById method to the CardDatabase class and added AllBannedCards property to the ArenaDraft class.
Well, nevermind, is that commit message decent?
i'm bored... i wonder if there's any python things i'd like to review, today...
hmm, unfortunately not today
guess I'll go stab Smokey again
@ThomasWard There are some interesting Py questions down there
there are. I'm just lazyish today :P
CBA to scroll a lot
3:26 PM
@skiwi Janos linked to a really nice "how to write git commit messages"
use an imperative mood for the "title" of the commit message
and then add further information if necessary in the expanded text
aside from that you're making two changes into one commit. bad idea
> - Add GetCardById to CardDatabase
- Add AllBannedCards to ArenaDraft
two separate commits with succinct messages
Hmm okay, that makes sense actually
3:42 PM
Q: Improving usage of RAM by applying lazy loading

Fátima AlvesI'm working with a program that deals with files, I can do several things like rename them, read the contents of them, etc. Today I'm initializing it as follows: return new Promise((resolve, reject) => { glob("path/for/files/**/*", { nodir: true }, (error, files) => { files = files....

4:22 PM
@CaptainObvious example code
4:43 PM
Lightning-fast StringBuilder uses CopyMemory to build strings literally faster than VBA can handle. Mid would be the simpler alternative, +1 for the effort; I meant to award the bounty to the answer that specifically says VBA strings are byte arrays though. — Mat's Mug 35 secs ago
Maybe more suitable in code review? codereview.stackexchange.comXtreme Biker 34 secs ago
Q: Haskell command line todo list

corvus_192I've implemented a command line todo list in Haskell. I've run hlint and build with -Wall, but is there anything else I can improve? module Main where import Control.Applicative ((<$>)) import Prelude.Unicode import System.IO (IOMode(ReadMode, WriteMode), utf8, hClose, hGetContents, hPutStr, hS...

1 hour later…
5:55 PM
OK, the small print invalidates my best title nomination.
Which is kind of a pity since we didn't do the best title one last year.
@blakemessick And that's the story of how I got a free printer https://t.co/DOJlS7jf39
(read the entire thread, it's worth it)
@Hosch250 Not sure what small print you mean. Title added by someone else?
No, asked in 2016.
@Hosch250 Oh, well.
6:10 PM
Naruto answer; accepted non-selfie answer with 0 score: Unit testing a prism event
Q: Make a loop tail-recursive when used in flatMap

Alban DericbourgI'm using this code to create combinations from a list of lists: def makeCombinations[T](in: Seq[Seq[T]]): Seq[Seq[T]] = { def loop(acc: Seq[T], rest: Seq[Seq[T]]): Seq[Seq[T]] = { rest match { case seq :: Nil => seq.map(acc :+ _) case seq :: remainingSeqs => seq.flatMap(i => ...

Ripe zombie; open question with answers, at least one answer having score 0, no answer having score > 0: Java MySQL handler for a Minecraft mod
Nobody wants to cook after NYE
6:45 PM
Q: Decoding C program

Soha Farhin PineI've built a C decoder program. The length of an encoded message will be given and the message itself in the following line. All the characters of the message will be in uppercase letters. The task is to print out the decoded message. During encoding, A->B, B->C...Y->Z, Z->A (well, you get the i...

@CaptainObvious So, invalid "C", but the compiler is broken?
I guess we can just tell him to write valid C whether the compiler is broken or not.
7:26 PM
This would be more appropriate for codereview.stackexchange.comLuc Morin 14 secs ago
Well, as it is now, it does belong to code review. On the other hand, if you have specific problem and need help with it, then yes, it can be asked here, but you need to pinpoint the exact problem you're trying to solve. Makes sense? — Luc Morin 33 secs ago
This should be asked on CodeReview. — Xufox 16 secs ago
It is not (on both Codereview and duplicate)? Why not? — Rad Lexus 33 secs ago
You should try Code Review — PythonMaster 34 secs ago
7:51 PM
Q: How to make this if else more efficient

RodriquezI create somethik like this: public void changeBackground(int position) { if (position == 0) { relativeLayout.setBackgroundResource(R.drawable.farm); } else if (position == 1) { relativeLayout.setBackgroundResource(R.drawable.scroll); } else if (p...

It's unclear what you're asking for. Are you looking for recommendations for software for a self-hosted Git server? Or are you asking for advice on how you could go about making your own code review tool? If the former, have a look at awesome-selfhosted. — LINKIWI 16 secs ago
> I have a problem. Let's use Microservices! Now I have 13 distributed problems.
8:07 PM
I'd like to to make my own code review tool, but if I find a good one lightweight tool I would happy to use it. — spikerola 15 secs ago
8:22 PM
Q: Arduino controller to control the backlighting of a gear selector

ZaidBackground The gear selector on a car allows the driver to select which state the transmission should be in. In the example picture, one of the five letters (P, R, N, D & S) lights up to indicate which state the transmission is presently in. The position of the rotary dial is sufficient to d...

8:34 PM
Q: Is there a way to connect a chat bot to a social media app?

AugmentedI want to create a chat bot that counts currency for members on a phone app. However, it is though something called "Amino Apps" on a cellphone. I want to know if it was possible to get a bot to connect there? I'm pretty new at this. I use python for this.

@JeroenVannevel If I'm using ImmutableXXX as much as possible in my C# code, would you expect the signatures to also be of form ImmutableXXX? Either as user help or as check that you're not forgetting to call .ToImmulableXXX
Monking @Phrancis
9:13 PM
Depends if that's the contract you envision
I never use it myself
possible answer invalidation by Ajm113 on question by Ajm113: codereview.stackexchange.com/posts/151200/revisions
Hmm okay, but you do use the Immutable classes, right?
And probability is fun in my tool...
I need to use the Multivariate Wallenius' Noncentral Hypergeometric Distribution
9:34 PM
nope, virtually never
doesn't happen often that I need immutable collections so why bother
should be posted on codereview.stackexchange.com. BTW that is wrong if cell_value("Run", i) == 'Y' or 'y':Jean-François Fabre 7 secs ago
I'm voting to close this question as off-topic because should be on codereview site — Jean-François Fabre 33 secs ago
Q: Single producer, multiple consumer boost::lock_free with non-trivially assigned/destructed type

D3C34C34DIt is not possible to use boost::lock_free::stack (or queue) with types that are not trivially assignable/destructable (cf. http://stackoverflow.com/questions/17452491/how-to-put-stdstring-into-boostlockfreequeue-or-alternative). I have a single-producer, multiple-consumer setup at hand and woul...

@JeroenVannevel I don't like someone else changing my private parts
It's not private if you give it to them though. Besides, collections are often intended to be modified
10:07 PM
Q: Optimizing Java (controller and service) code to work faster

BohdanI am creating online store, using spring MVC. So the point is when you create new product you need to upload picture for new product. I am using Cloudinary service, so when you upload image server grabs it, sends it to the Cloudinary gets response, gets image URL from response and writes that URL...

Q: Getting Input Key for Atbash Cipher

IdempotenceAn Atbash cipher is a simple substitution cipher wherein a key is used to determine what letters to swap, for example: Original alphabet: abcdefghijklmnopqrstuvwxyz Substitute (key): zyxwvutsrqponmlkjihgfedcba Original message: hello world Altered message: svool dliow For more information,...

Q: Tower of Hanoi: graphical representation of optimal solution

CaridorcI wrote a program to show graphically the solution of the problem of the Tower of Hanoi, here is a video of an example run: https://www.youtube.com/watch?v=4COb2O6o8dI&feature=youtu.be The logic of the solving is taken from StackOverflow (see links in docstring), I wrote the part dealing with t...

10:29 PM
Q: How do I run spreadsheet data-driven webriver code without it being in a massive for loop?

user2925918I'm trying to write a basic testing framework in python using a spreadsheet for data and webdriver. I've managed to get so far with reading in my spreadsheet into a list of dictionaries and putting it into my own function called cell_value, which I'm quite pleased about. The second argument is a...

1 hour later…
11:47 PM
Q: handwritten lexer

NergalI'm in the process of designing my own programming language and I have absolutely no experience in computer science other than the code I look at. I created my first lexer, I've improved it enough that the lexer can actually lex its own source code. What I'm asking here is how can I improve thi...


« first day (1338 days earlier)      last day (1074 days later) »