« first day (2342 days earlier)      last day (1683 days later) » 

12:00 AM
RELOAD! There are 6172 unanswered questions (90.0874% answered)
You don't really have a question so Code Review Stack Exchange is probably a better place to post. — kwinkunks 14 secs ago
 
Their signature play is the three-point combinator, a recursive offense which is guaranteed not to halt and continues accumulating points until the buzzer.
2
 
@RMunroe groan
functional programming dad jokes about sports
that's ... wow
3
 
1:01 AM
I'm off to bed for tonight, Toodles!
 
1:48 AM
0
Q: identifying pairwise groups from dictionary

PythonproteinI have a dictionary that looks like this masterdict = {'a':['b','c','d','e'], 'b':['c','d','e'], 'c':['d','e'], 'd':['e'] 'e':[]} where the list has all the values that are 'compatible' with the key and vice-versa. Since the dictionary is non-redundant, repe...

 
 
2 hours later…
4:10 AM
possible answer invalidation by OverLordGoldDragon on question by OverLordGoldDragon: codereview.stackexchange.com/posts/229988/revisions
 
4:52 AM
0
Q: Ruby Tic-Tac-Toe game

vcableI'm pretty new to Ruby, and I just finished this command-line Tic-Tac-Toe game. I know the code is really messy and can definitely be made more DRY, but being new to Ruby I'm not exactly sure how to go around that, so any tips/feedback would be great. I also couldn't figure out one last feature...

 
5:33 AM
1
Q: This is a Monoid instance I wrote for a Tree data type. Is this the most terse way to express mappend?

dopatramanHere's my type: data Tree a = Empty | Node a (Tree a) (Tree a) Here's the instance declaration for Monoid: instance (Monoid a) => Monoid (Tree a) where mempty = Empty mappend Empty Empty = Empty mappend Empty t = t mappend t Empty = t mappend (Node val ta tb) (Node val' ta...

0
Q: Operation cancellation

Dmitry NoginBrevity is for kings as it requires context and context is for kings. Me. GitHub and NuGet How many times you have been writing something like this passing those tedious logger/token parameters? interface IMyService { void Method1(…, ILogger logger, CancallationToken token); void Metho...

 
5:56 AM
 
6:54 AM
0
Q: python object oriented programming

KitetsuHow would I convert my code into object oriented programming. Also is there any modules for the RLE to ascii and ascii to rle conversion that would make my code more robust? Also I want to know how to implement dictionaries into this code. And if there are any other improvements you see will look...

 
@Phrancis That shows exactly what's wrong with a lot of HR in corporations.
 
7:11 AM
Monking
 
7:40 AM
I think CodeReviwe would have given more feedback, but probably also would have mentioned CharacterType/CharacteristicType, TYPE1/TYPE2 — Joop Eggen 8 secs ago
 
8:17 AM
This question belongs in Code Review SE : codereview.stackexchange.comFourat 1 min ago
 
8:35 AM
0
Q: Feedback for angular simple project

Kamil KiełczewskiRecently I create small project: 'media library' (which allow to search, sort and filter items) and I will be glad if some give me constructive feedback about my code. The starting point is Angular-CLI, and the full code with starting page is HERE. And below is 'main' model used in app export cl...

 
@DerKommissar The crime. I'm not familiar with who did it (in this case)
@bruglesco @Vogel612 Any more news about the mess yet?
 
JAD
9:02 AM
@CaptainObvious AsyncLocal looks like a gateway to some really hacky semi-global variables. Not sure how I feel about it
 
9:16 AM
0
Q: Please point out any improvement in it

Rupesh SawaliyaIts a conference service code from controller to DAO for conference application. it contains controller, conference service, dao and entity class, I am seeking for any improvement or code review comments for this. /** * This class is responsible for representing as a conference features, t...

 
9:57 AM
0
Q: Confused about missing edge cases in tests

Jonny ShanahanI did this test for a job and the feedback was: "while many were added to test private methods, they did not do anything to ensure the public interface worked correctly, edge cases were missed" But I thought I covered the public interface and edge cases. Any other improvements I could have ma...

 
Turns out more people figured out SE talked to the press. They are not amused.
3
> What is the use of all of these communication methods if official information is provided to the press instead of being shared directly with the community?
Has anybody tried reaching out to SO through a Twitter account with cool-people influencer credentials but visibly zero investment in Stack Overflow except some expressions of disdain? Chances are a full statement will be forthcoming within 15 minutes 😄 — Pëkka 20 mins ago
 
I'm voting to close this question as off-topic because it belongs to codereview.stackexchange.comUwe Plonus 23 secs ago
 
10:37 AM
0
Q: should i unit test a wrapper class

Jass Huangguys! Recently, I really confuse about the concept of TDD and find that I don't know whether or not I should right a test for a wrapper class. I have fowllowing code like this. public class SomeService { public SomeService(IRepository db){Db = db;} IRepository Db; pulic void In...

 
11:05 AM
possible answer invalidation by rolfl on question by OverLordGoldDragon: codereview.stackexchange.com/posts/229988/revisions
 
@SimonForsberg the dumpster fire still burns, but nothing productive.
 
possible answer invalidation by Eric Duminil on question by Javier López Tomás: codereview.stackexchange.com/posts/229972/revisions
 
@Duga Probably ok
 
If your looking for a code review then you should consider codereview.stackexhange.com — Eldho 25 secs ago
 
0
Q: Download types for a download manager using inheritance and interface

remy_rmI'm creating a download manager in C# (in combination with Unity 2019.1.8, running the .NET 4.x equivalent (MONO) scripting back end). To accomplish this I decided to start using interfaces and class inheritance through an (abstract) base class. As those are things I have never used before, To ge...

0
Q: Code feedback on running app

Michael NaresI have made an Android app called RunTracker - https://github.com/michaelnares/runtracker/tree/master/app. The intended functionality is that the app saves runs to the local filesystem, shows your current location and current run, and has a clickable list of runs. I feel that the existing code ...

 
11:22 AM
@bruglesco At the moment, I'd advise most people to stay away from MSE till this is resolved. Until SE starts coming with answers, the fires will rage nonconstructively.
After that, who knows.
 
@Mast Yah, it's getting ugly.
 
11:37 AM
Pimping a zombie:
4
Q: SASS script to generate Pygments / Rogue stylesheet output

Martijn PietersI've written some SASS code to generate a Pygments syntax highlighter style sheet (which are, by extension, compatible with Rouge). Such a stylesheet is normally generated by the pygmentize command-line tool from predefined styles defined in Python classes, the code below reflects the Pygments to...

 
12:12 PM
Have any of you guys read "Pro ASP.NET MVC 5 by Adam Freeman"? If so can you give your opinion on it?
 
 
1 hour later…
1:14 PM
@Denis no
 
The statement std::scoped_lock lk; is a clear and present danger. It compiles. It looks like it does something. It does nothing. Be on the lookout for it in your code reviews. — Howard Hinnant 48 secs ago
You need to follow everything in the general requirements, the sequence requirements, and your iterators need to follow the iterator requirments. All that said, this should probably be posted on CodeReview.SE. If you do decide to do so please delete the question here. — NathanOliver 32 secs ago
If you are looking for improvements, I would suggest hitting up CodeReview. — Çöđěxěŕ 6 secs ago
your question is probably a good candidate for code review: codereview.stackexchange.comalainlompo 8 secs ago
 
1:41 PM
0
Q: Node.js async task queue implementation

kharandziukBellow is async task queue implementation. The idea is to reuse node.js standard library as much as possible const { Readable, Writable } = require('stream'); const delay = (ms) => new Promise((resolve) => { setTimeout(resolve, ms) }) const task = (message) => { console.log(`${messag...

 
Thanks for replying guys, I think I will ask to CodeReview! — Spaccaspecchi 42 secs ago
I don't think the question is suitable for CodeReview. There is not much that can be optimized in this method as such. The whole approach should be changed. — dymanoid 59 secs ago
 
stackoverflow.blog/2019/09/17/… No mention of @Duga :(
Huh, look at that...
in SOBotics on Stack Overflow Chat, 13 hours ago, by NobodyNada
In light of recent deplorable actions by SE staff, reports.sobotics.org is down until further notice.
 
@SimonForsberg o_o
 
@SimonForsberg Funny that they post that, and then two weeks later this happens
 
2:06 PM
I'm voting to close this question as off-topic because belong to the codereview.stackexchange.comBear Brown 1 min ago
 
2:34 PM
This should be posted in code review codereview.stackexchange.comvendettamit 37 secs ago
 
0
Q: Why do you use Attribute Nodes?

Victor MelvinLearning how to setAtttribute,getAttribute,removeAttribute Need to know why and when I use this ? if(document.getElementById("plc").hasAttribute("class")) penguin.setAttribute("class", "hidden"); var penguin = document.getElementById("plc"); alert(document.getElementById("plc").getAttribute(...

0
Q: How to structure my class objects for an online chat-room?

JavaStruggle2I want to design an online chat room using web-sockets. The three classes I will be creating objects from are Room, User and Message. I am wondering how to structure my code. I am assuming Room 'has-a' relationship with both User and Message. , since the room will have multiple users and messag...

0
Q: Shorten the time it is taking to fill data in an ultragrid

Knowledgelastbudget and lastactual are both Lists These lists populate 2 columns in an infragistics ultragrid PrevFY Actual_c (dgvBudget is the name of the ultragrid) int rowIndex = dgvBudget.Rows.Count; if (half == "Second Half Budget") { for (int i = 6; i < rowIndex; i++) { var r...

 
2:57 PM
I usually loop through these and create objects, such as project information, accounting, etc. that use the values return in the list. I went and posted this on codereview. If you think you should close it here, please do. thx. G — Glen Grayban 28 secs ago
 
0
Q: Best practice for sum of an attribute in multiple repositories

abdllhcayI have multiple repositories that contain userId, paidDate and amount attributes like Bills(userId, paidDate, amount) Shoppings(userId, paidDate, amount) etc. I want to get sum of amounts and group them by userId and get something like this {user1: {amount1, amount2, amount3 ..}, user2: {amount4,...

0
Q: Retrieve lists from static class method or instance method?

Glen GraybanI’m trying to do a sanity check on getting lists from a database. Can I use a static method to return a Modified list based on a passed parameter? Also to what extent can I use static methods for returning lists? Can someone point me to some real life examples? Code is all working fine, but r...

 
3:33 PM
"I am looking for advice on how to improve this code" is not really appropriate for stackoverflow. Probably codereview.stackexchange.com is a better choice. — Rufus L 30 secs ago
 
I'm voting to close this question as off-topic because it seems better-suited to codereview.stackexchange.comblurfus 55 secs ago
I posted an answer that can be accepted, and made a suggestion at the bottom re: the loop. Once you have this code working, you can post the complete runnable code on Code Review along with a description of what it does, and we can help make further suggestions. — Carcigenicate 39 secs ago
@blurfus In it's current form, it's off-topic everywhere. Code Review can't deobfuscate this question. — Mast 28 secs ago
possible answer invalidation by OverLordGoldDragon on question by OverLordGoldDragon: codereview.stackexchange.com/posts/229988/revisions
 
3:54 PM
@Duga Flagged.
 
@SimonForsberg and no mention of Charcoal IIRC
@SimonForsberg interesting that it links to their internal team
 
@SimonForsberg So much pettiness going around lately
@SimonForsberg Yeah, it's real crap, innit?
 
4:11 PM
Your question looked daunting, there was a lot of code and as such people suggested you cut it down to a "Minimal" example, which is one of the aspects of a "Good" question on Stackoverflow. There wasn't anything inherently rude in doing that (as others have stated), but just something to be aware of. Anyway, this question might be better received on Code Review codereview.stackexchange.com, as they are specifically for "Is there a better way to do X" questions, while Stackoverflow is more for "How do I fix Y". Also, in your example, you had a couple "Your"s that should be "You're"s :) — Tim Lewis 37 secs ago
@TylerH i think this is good question for codereviewBear Brown 35 secs ago
possible answer invalidation by OverLordGoldDragon on question by OverLordGoldDragon: codereview.stackexchange.com/posts/229988/revisions
 
@Duga Rollback war!
 
already on it, sorry you folks are not getting more helpful flags out of that ;)
 
lol
 
Looks reasonable though
Looks like revision 17 removed the def bit
(wasn't OP, looks like a mistake?)
 
the problem is that OP is trying to get a review of the code presented in an answer...
the GZ0-Mod solution shouldn't be in that question, because it comes from an answer...
 
4:19 PM
It's not a bloody forum.
 
Right
 
Rule of thumb: all reviewers review the same code. The thread won't make sense otherwise for future readers. Makes a mess.
3
 
OK, I buy it shouldn't be there, and that it shouldn't be up for review.
But the def bit did go missing mysteriously
The solution is to delete it all, rather than undo that change, right?
 
lol
He's right @Vogel
 
yea, strictly speaking it is ...
 
4:22 PM
Monkey hid the def.
 
Oh, the spoiler tags are in dispute also.
 
Should've been a newline instead of a space between python and def by the looks of it.
 
Just gets better and better xD
I'm looking at the rendered stuff, so we seem to be seeing different things :P
 
-1
Q: Elegant approach to artificial Region of Interest of an image

MarkI am solving a problem of increasing the ROI of a retinal image using the below algorithm- First, the set of pixels of the exterior border of the ROI is determined, i.e., pixels that are outside the ROI and are neighbors (using four-neighbourhood) to pixels inside it. Then, each pixel value o...

 
Mods can edit locked posts, cool
 
4:24 PM
@VisualMelon Use the side-by-side.
 
I was on side-by-side rendered output
Missed the spoiler tags because my posture is so awful :P
(quote tags, whatever the beige things are)
 
>
 
Yeah, those ones.
 
 
4:38 PM
> here code review, take this text and solve the word search for me
0
A: Word Search Solver

Sabrina JemtrudW b c d f g I r v b r h R I h t m o s e n s e s O e d p c e r d g m t e U o n t n e r t t e e y N n z u h a g e r a m e I r o a d n e u r s I s T o I n e e l u m u l I V a a l u e l n q r l g U t c r r e a c d e I h S e r a p m o c r c m t I v I n r e t e m n r e T o r e t e m I t n e c

 
@TimLewis Thank you for the codereview.stackexchange.com, I did not know that existed, next time. Look, I get that there is a lot to weed through, but no one is perfect, some are new, some have kids yelling in the background, three generations under one roof, two jobs and are students full time. — Alix Field 33 secs ago
 
@DerKommissar Yes, it is.
@SᴀᴍOnᴇᴌᴀ Even though it's deleted already, I couldn't help but code-format it to make it read as it should.
 
I saw that you did that
 
-1
Q: Log files are empty after converting script from Python 2 to Python 3

ChrisGood day, Please excuse my ignorance, I'm very new to Python. I've been learning as much as I can when time allows for it and while it can be frustrating, I enjoy it tremendously. We are moving from Python 2 to Python 3 and we have been converting scripts to work in Python 3. Our scripts are p...

 
4:58 PM
@BearBrown though it my be on-topic for codereview that does not make it off-topic for SO. — Error - Syntactical Remorse 54 secs ago
 
5:45 PM
-1
Q: how to optimize get all related details of a model object through django ORM and give output as a list

Naveen Jain can solution i have given be improved / optimized . How ? explaination of db models : thinkpad is a equipment of laptop subcategory.and laptop subcategory has a category called electronics. now laptop can have many attributes like processor,ram,color,screen_size. Question : Find out all ...

 
6:05 PM
0
Q: File Encryption

LinnyI'n written this small file encryption module to work on my skills with the os module. It's my very first time using it to navigate files and file structures, so I'm sure some things can be improved. I used the following file structure to ensure it works with multiple directories: File Structure...

 
6:32 PM
@SimonForsberg You formatted a deleted question?
 
answer
 
Ah
Sorry @SᴀᴍOnᴇᴌᴀ thought you were Captain Obvious
 
@Mast sometimes I state the obvious and occasionally in such situations have been referred to by that name
but it feels like it has been a long time
 
0
Q: Update 02/10/2019 on my digitized application

98EdUpdate from Digitizing paper label system with Python I have implemented a username and password log in and main application to be used after successful log in. I am ready for some more feedback. My main troubles is error handling. For example log in screen, I'll need to implement statement to...

1
Q: Remove elements compared with other elements in a Set based on a condition

ArjenSimplified the actual problem to focus on comparing/removing performance. Given a set S with n elements , find the most optimal way to compare each element to all others until a condition is met that decides if and which item to remove. I experience long runtimes when n is high (e.g. n=3000 has ...

 
7:00 PM
This questions is probably better suited to codereview.stackexchange.comBrett Gregson 43 secs ago
 
-3
Q: Is it OK to continue Reviewing?

Pierre.VriensThese days there appear to be various moderators resigning, getting fired or suspending activities, as mentioned in "Firing mods and forced relicensing: is Stack Exchange still interested in cooperating with the community?" and/or some of its Linked posts. And there appears to exist some private ...

sigh
I have been reviewing and flagging as any other day. I'm still not suspended so I say "Go for it!" — rene 3 mins ago
 
I'm voting to close this question as off-topic because it is better suited for codereview.stackexchange.comrkosegi 30 secs ago
 
-1
Q: Overriding methods of a Node library

Aashish UpadhyayI am using vm2 sandbox library in my application. Below is the sandbox script: var func = function (context, postresult) { const { NodeVM, VM, VMScript } = require('vm2'); var scriptExecutionContext = context.ScriptExecutionContext; const vm = new NodeVM({ console: 'inh...

 
7:23 PM
@Mast It's kinda scary that they thought this... I upvoted this question though. I mean... if you see moderators getting fired and resigning and don't know what's going on, it's a totally legitimate question.
 
@SimonForsberg If you're new here, I can understand people getting confused.
Hard to imagine they got this much confused, but it's a very odd situation.
I'd upvote your comment, but I'm out of ammo on MSE, again.
 
0
Q: BitBoard Class in TypeScript for Chess Logic Follow Up

casual234I am working on a BitBoard implementation in TypeScript for a Chess Logic library I am building for educational purposes. This is an updated version based on feedback I received in my previous question. The BitBoard uses an array of two integers that max out at 2 ^ 32 - 1. The constructor takes...

 
The current answer is a bit meager.
 
@Mast ~groan
 
8:07 PM
-3
Q: I need help making change in java. It doesnt give out change correctly

carlosHi I'm trying to make a method that gives you change in Hundreds, Fifties, Twenties, Tens, Fives, ones as well as quarters dimes and nickels. the user gives input and its supposed to look something like this: 6.87 1 five 1 one 3 quarters 1 dime 2 pennies So far I have this as my code: ` . ...

 
8:17 PM
@Mast I know the feeling
Monking everyone
 
@bruglesco Thought you were taking a break from it?
 
Not very successfully
 
@Mast Closed for opinion-based ? Wtf?
 
Wot
 
@SimonForsberg I think some people are trying to send the sentiment that active participation is not currently acceptable
 
8:23 PM
This place is getting stranger by the second.
 
I've seen the words scab and similar sentiments tossed around the network
 
@bruglesco huh? I don't quite understand what way that would be meant...
 
Welcome @StephenM.Webb
 
If you dig back into TWP chat many of the power users have expressed animosity toward anyone that would even consider running for moderator
 
Scab is itch, right?
 
8:26 PM
scab is a slur for someone who crosses protest lines
 
@bruglesco Huh? So now they're blaming moderators instead of SE itself?
@bruglesco Oh, like a unionist that doesn't strike
 
@Mast Oh man that's me so badly
 
No they are discouraging users from stepping in to replace the old mods expressly because they blame SE
 
Got an email from a union once "we need 50 members at <X> to picket" and I was like "Noooooopeeeeeeeeeee", they were very unhappy.
 
@DerKommissar I'm not part of a union, so, am I even worse?
 
8:27 PM
@Mast No, if you were an electrician then I would be leery.
 
@bruglesco ahhh that explains ...
if you find stuff like that, please flag it.
 
-1
Q: Morse Code Converter in C

Bo WorkI'm learning C so I thought to apply it to miniproject on reddit. The smorse function takes in a string and spits out some morse code. It works if you supply the function with only lowercase letters. I feel awkward making a first for loop in my smorse function to calculate the size of buffer I ne...

 
That's not acceptable behaviour. If possible use a custom-flag to explain the background.
@bruglesco TWP has been hit the hardest by all this
 
@DerKommissar Used to be a mechanic, didn't have to be in a union there either.
@Vogel612 On chat?
 
@Mast It's really mostly a U.S. thing I think
Much like suing anyone who crosses your path.
 
8:29 PM
We do have unions, too many of them really, but yes, it's more of a US thing.
 
@Mast yes, but I wouldn't bother digging it up in transcripts
 
Here, we need licences. But those are handled by different agencies than unions.
 
@Vogel612 They have indeed. That was my most active site.
 
chat flags only really add value if the conversation is ongoing
 
@Mast We have unions for electricians, auto-mechanics, healthcare, all sorts of things...
 
8:30 PM
Recently there were strikes at Schiphol (AMS airport), 8 unions were involved.
 
ohh wow is TWP down?
 
@bruglesco My screenshot was from Code Review.
 
ohh it's network wide?
maybe?
 
I don't know, CR is working fine for me now.
Still disconcerting, wonder if some of the angry folks are using some less-than-honorable measures to harm SE.
 
Oh carp
Angry developers
 
8:33 PM
yah. TWP is back
 
I think it might be related to the fix for the hourly cache timeout making the site hiccup
 
I guess I shouldn't assume malice.
 
@DerKommissar It's hard not to sometimes
 
Hanlon's razor?
 
fwiw this seems to have been the resurfacing of a previously fixed bug
 
8:42 PM
@rolfl Yep
 
Interesting question:
9
Q: Splitting URL query string to key-value pairs

JennI have a URL query string "key={value}&key2={value2}&key3={value3}" and have to produce a key-value pair of the string by splitting & and =. Also, I have to watch out for corner cases such that if a key isn't present do not add it to the hash map but if a value is missing the key can be added wit...

It's got a score of 9, 3 answers, and none of the answers are upvoted.
 
Curious
I wish I had time to read it in more detail
 
@rolfl Odd, at least 2 of them are good.
 
You would think the OP would have at least upvoted something in there.
Anyway, it's one zombie down.
 
@rolfl That's what has me scratching my head
 
8:47 PM
@rolfl All answers had 1 downvote.
So, OP just might've.
Somebody else threw a spanner.
 
@Mast OP's last visit was at the literal moment the question was posted, though.
So they couldn't have voted on them
 
Ah, one of those...
 
Unrelated, I'm using a new IntelliJ color theme and it's working really well for me.
@pacmaninbw If you started using the IntelliJ IDE's, I recommend "One Dark Theme" (it's a plugin that adds a new IDE theme).
 
@DerKommissar hmm ... I personally dislike the hue of purple used for keywords there, but I can see why this looks good
 
I actually quite-like the purple, mostly because it's "different".
A lot of themes avoid it, but this one makes nice use of it.
 
9:00 PM
ah this reminds me of the parrot highlighting screenshots from back when I used eclipse extensively
 
9:43 PM
> SO staff being afraid of the TL and Meta is, frankly, ridiculous.
 
-2
Q: (python) How to append to the end of a row in an array

CSintolerantI want to add a column of 0s to the end of Array 'A', then append 'C' to the end of a new row in array 'A' and I want to do this N times N = 1 A = numpy.array([[3,-1,-1,0,0],[-1,4,-1,-1,0],[-1,-1,4,-1,-1]]) C = numpy.array([[-1,-1,4,-1,-1]]) for i in range(0,N) numpy.append(A,C) So that 'A' b...

-2
Q: Difference between return with and without const

Gilberto MarcanoI'd like to know what's the difference between a function with a constant return value and with a variable return value Well, in the code it's everything as comments, I'd like to know when you should add 'const' in the return of a function in C++ And well this is it, why add a const in a functi...

 
10:01 PM
@Mast Oded's been out of SO for over a year now and his role there did not include community management
 
0
Q: contexpr SmallVector - std::vector like container on the stack

Nick2 years ago I did this: SmallVector - std::vector like container on the stack now, 2 years later, I am reinventing the wheel again, this time with fully constexpr SmallVector. This time, because I decided it will have only constexpr functions, I decided to remove all non POD types. #ifndef MY...

0
Q: Cascading interfaces for wrapping VSTO Microsoft.Office.Interop

AmaI have created my own wrapping framework for the COM interfaces exposed via Microsoft.Office.Interop. MIRRORING WRAPPERS The first purpose is to be able to unit test the rest of my applications, and also to be able to intuitively log some of the calls. The wrapping is achieved through 2 laye...

 
10:41 PM
Additionally, this is a better question for Code ReviewTrenton_M 17 secs ago
 
11:09 PM
Bedtime. Also I will be attending family obligations tomorrow
 
11:32 PM
-1
Q: numpy in simple nearest centroid classifier

GrayscaleQuestion: How can the following code be improved in terms of (1) efficiency, (2) memory, and (3) style / simplicity? train_means = np.mean(train_data.reshape(784, 10, 1000), axis=2) train_classes, test_classes = (np.argmin(np.sum(np.square(data[:,:,np.newaxis] - train_means[:,np.newaxis,:]), axi...

 
11:59 PM
@DerKommissar I may already be using it, because of my eyesight I prefer dark backgrounds.
 

« first day (2342 days earlier)      last day (1683 days later) »