« first day (1903 days earlier)      last day (2097 days later) » 

12:00 AM
RELOAD! There are 5456 unanswered questions (89.9382% answered)
 
12:32 AM
0
Q: A simple library using Flask and SQLAlchemy

TristoThis is the main.py script that does most of the work of Adding movies (Movie objects) as well as modifying and removing from flask import Flask, render_template, request, flash, url_for, redirect import sqlite3 from datetime import date from sqlalchemy import create_engine from sqlalchemy.orm i...

 
12:48 AM
0
Q: R Function to Generate Predictions from Ratings and Save Results

user2355903I am trying to generate predictions using the function below in combination with sapply. My actual datasets are very large, I am attempting to make 1.5 million predictions with this function and it is currently taking about 10 seconds per prediction which is... prohibitive to say the least. mean...

 
1:21 AM
0
Q: function to copy a file using sendfile

H. JangI've just found there is sendfile(). In man page of sendfile(), it says "sendfile() is more efficient than the combination of read(2) and write(2)." So, I wrote a function to copy a file using sendfile(). Is really my code more efficient than the combination of read(2), write(2)? Here is the c...

 
1:54 AM
0
Q: Demonstration of Pentagonal Number

austingae Have the function PentagonalNumber(num) read num which will be a positive integer and determine how many dots exist in a pentagonal shape around a center dot on the Nth iteration. For example, in the image below you can see that on the first iteration there is only a single dot, on the...

 
2:05 AM
show seems to be what you want, but in order to really assess that, I'd have to see more of the code. If your code is working, but you're looking for ways to make it neater/more RESTful, you could try a question on Code Review Stack Exchange. — thesecretmaster 24 secs ago
 
 
1 hour later…
3:05 AM
possible answer invalidation by user2355903 on question by user2355903: codereview.stackexchange.com/posts/199718/revisions
 
 
1 hour later…
4:14 AM
 
4:59 AM
0
Q: Recreated REG.exe Query functionality in C++

user36278I decided to try an recreate Microsoft's REG.exe query functionality. I thought that it would be a great way to test myself and help to get a better grasp of Microsoft API's as well as better my programming skills. I know it is not the best code. But if you could please provide constructive crit...

 
 
1 hour later…
6:11 AM
Monking
@Vogel612 Wrote an answer, ish. Hope it ain't too ranty.
 
6:24 AM
Good Monking.
 
possible answer invalidation by PythonNewb on question by PythonNewb: codereview.stackexchange.com/posts/199641/revisions
 
Monking
 
6:50 AM
possible answer invalidation by PythonNewb on question by PythonNewb: codereview.stackexchange.com/posts/199641/revisions
 
@Duga rolled back.
@Duga both of them actually :)
@Duga not sure about this one. Someone with experience in R take a look?
 
7:14 AM
0
Q: Shorter union SQL

AllenBooTungThis is how I union a query. All of the tables are in same structure. $prefix = "dev_"; $tables = [$prefix."pp", $prefix."pe", $prefix."chem", $prefix."fiber", $prefix."plastic", $prefix."qc", $prefix."cac", $prefix."electron"]; $getSQL = ''; foreach ($tables as $key => $table) { if (!$getSQL...

0
Q: Long running task on ASP.NET Core

CagurtayI want to add a background task to my web server that listens to some locations on network, triggers when a specific file created/modified, parses it then pushes it to database. My idea is to create a new thread for this task and work in there to prevent it from messing with the web server but I...

0
Q: Disable print dialog using client side code

Angelo Fernandez Is it possible that I can disable print dialog using client side code such as: Either jQuery Javascript PHP Framework Library (CodeIgniter)

0
Q: Generating permutation of the string in c++

Kriti SahuThis is the code which generates possible permutation using bit masking. I am having problem in understanding how is it executing after this condition when i = 2 , bit = 4 , mask = 7. #include <iostream> #include <string> using namespace std; void recurse(string s, int mask = 0,string out = ""...

 
@Vogel612 It definitely looks invalidating. But user also claims to have posted a new question in a comment under the answer that's no longer there, so I'm not sure what's going on.
 
self-deleted 4 hours ago
 
I'd roll it back, leave the relevant comment and expect a follow-up question.
 
 
1 hour later…
8:25 AM
Monking
 
Monking
 
Monking
 
8:50 AM
0
Q: Is there a better way to write this for each loop down? Stream?

Maciazprivate Map<Tour,Integer> getTourMap(List<Tour> tours) { ExecutionParameter param = new ExecutionParameter(); for (Tour tour : tours){ param.setTourId(tour.getId()); ExecutionResult result = (ExecutionResult) execute("TOURS", param); map.put(tour, result.getTou...

 
I've voted to close this as 'too broad'. This question looks like it should be posted at Code Review since you appear to have a working solution but want suggestions for improvement. — timclutton 59 secs ago
 
 
1 hour later…
10:02 AM
According to this changeset it has been fixed in the 5.9 branch already. — Torben L. 41 secs ago
Another thing - for a comprehensive code review, you could try Code Review SE. — Boris the Spider 35 secs ago
 
10:31 AM
0
Q: Implement metaclass for Maximumlikelihood estimator

mcocdawcFor the purpose of defining a lot of Maximum Likelihood estimators, I think I need a metaclass. At the moment I have to copy/paste a lot of code for every new class definition and just substitute the corresponding scipy.stats functions. from scipy.stats import fisk, t from statsmodels.base.mode...

 
10:48 AM
0
Q: Coding minecraft mods in linux

user175385I was making my minecraft mod in Linux Ubuntu. And while doing this in the terminal: ./decompile.sh and an error appeared: https://pastebin.com/kkGur1ZD Anyone halp me? On the beginning, I saw this: !! Please install either wine or astyle for source cleanup !! # found ff, ff patches, srgs, n...

 
@CaptainObvious Blatantly off-topic.
 
11:04 AM
0
Q: Showing correct response in Postman but wrong response in Swift Alamofire for Email Verifcation

AnshuIf already registered email id My response is like that ** { "signup": false, "user": true, "userId": "88" } **If New email id { "signup": false, "user": false, "userId": null } **Parameter * let params: Parameters = [ "email" : candiateFileds.email] **He...

 
@CaptainObvious Broken, crap, or both.
Is GenericLikelihoodModel of your own doing or is it from a third-party library? — Mathias Ettinger 26 mins ago
> A ? B
> yes
 
11:25 AM
@202_accepted I've been thinking. Why do you want the 5VDC from the 24VDC? We usually pull directly from mains in industrial applications, so over here that's 230VAC to 24VDC and 230VAC to 5VDC.
 
11:36 AM
0
Q: how to validate command line usage message using python?

user175396how to validate command line usage message using python?

 
@Mast We would as well, but it's far more work to route the 480V source, and we have to add this component to a funky spot.
 
@202_accepted Ah, right. Space constraints, we meet again.
 
That and a 6-inch firewall separating the 480V source from the 24V area I need it in lol
 
lol
 
(Which is about 15cm)
 
11:44 AM
Well, if you want a really good one, get a Vicor chassis-mounted converter. But they're expensive and overkill.
At least it won't fail you in a hundred years, so there's that.
 
This is "supposed" to be temporary so we can monitor some of the TTL, but we all know how that goes.
 
Uhu.
Most smaller ones can only deliver up to 2A. Of-course, you could simply get 2...
But that's not really recommended on those smart thingies.
 
I'll probably build one in that case
 
That's probably what I'd do too, if I knew for sure nobody else would touch it.
 
They won't, everyone else gave up and handed the problem to me lol
 
11:52 AM
You know how to calculate your own buck, right?
 
Yeah, I think I have all the parts on-hand as well
 
0
Q: Euler Project 14 Longest Collatz Sequence

johnashuI have been working through the weuler project and I have created the following code for number 14. It takes a good minute to process. Can I make it faster? class Collatz: def __init__(self): self.c = 1 def if_even(self, n): return int(n / 2) def if_odd(self, n):...

 
Another option, half the price of the Vicor.
 
Again @dasfafs, this is not codereview.stackexchange.com. To learn in the programming world, you first have to learn to read, and better understand what you read. — Jorge Fuentes González 55 secs ago
 
12:00 PM
@202_accepted This could work too.
 
why not post this on the CodeReview part of the platform? — Stultuske 57 secs ago
 
Meanwhile on SO:
All illegal next week.
 
Hi and welcome to Stack Overflow :). You might find help here: codereview.stackexchange.com. — CodeF0x 36 secs ago
It's probably not, since I'm asking about optimization of already-working code. I would have posted it to Code Review, but the odds of getting something useful there versus here were slim... Anyway, I'm basically doing a few transformations on a very large dataset (100,000,000 records), one-hot encoding categorical predictors, and then doing some aggregation and math (e.g. the average value for x over a given time interval) for many columns. I think the issue comes from the sheer amount of layers of computation added. This takes 3.5 hrs to sv to disk — blacksite 19 secs ago
 
@Mast Should I put a fuse before or after the conversion?
I'm thinking before
 
Definitely before.
And make it a fast one.
 
12:09 PM
Greetings, Programs.
 
0
Q: HTML Canvas drawing parallelogram

ApricotI am new to Javascript and Canvas of HTML5. I have to complete a project where I have to draw a parallelogram with three mouse clicks. Click 1: Starts the first line of the parallelogram. Click 2: Ends of the first line. Click 3: When the user drags the mouse up or down from the second click ...

 
700mA should be sufficient, and definitely a fast for sure
 
@Mast oh wow that's. ... the SO mods going to have a lot to do ...
 
@Vogel612 Considering such discussions are relatively common, yes.
Although the solution is relatively easy: nuke thread.
Everything is LQ anyway.
 
@CodeF0x With this lack of context, it's absolutely not welcome on Code Review. Please take a look at the guide to Code Review for SO users. — Mast 34 secs ago
 
12:14 PM
yeap. it's still a ton of work most likely
something something flag numbers
 
@Mast It's funny because our regulations talk about how I need a fuse, it should be no more than a specific percent larger than my load, talks about how fast it must blow for different wattages, but doesn't cover replaceability or where it must go...lol
 
Where I work, fuse means something else. :-)
 
Well, I guess technically it has a "form" of where to place it, as I only need to fuse the load and a voltage converter is defined as a "load-assisting device".
 
The Far Ultraviolet Spectroscopic Explorer (FUSE) is a space-based telescope operated by the Johns Hopkins University Applied Physics Laboratory. FUSE was launched on a Delta II rocket on 24 June 1999, as a part of NASA's Origins program. FUSE detected light in the far ultraviolet portion of the electromagnetic spectrum, between 90.5-119.5 nanometres, which is mostly unobservable by other telescopes. Its primary mission was to characterize universal deuterium in an effort to learn about the stellar processing times of deuterium left over from the Big Bang. FUSE resides in a low Earth orbi...
 
How is space, Don?
 
12:22 PM
Mostly empty.
 
Bummer. We're not colonized on Mars yet?
 
@202_accepted Unfortunately, no. Not that I would be going - I get claustrophobic and motion sickness.
 
@202_accepted Fairly easy though. A fuse allows every cable behind it to be of lesser thickness than before it.
@Donald.McLean I hear the internet speed over there isn't too great either.
 
@Mast For sure. I was planning on dropping one in, was just deciding how and reading the regs didn't help.
@Donald.McLean Bummer. I just bought a bunch of land on Mars
 
0
Q: Task running in background needs to be kept alive in C# and general things to do or avoid

LearnerIntent: Keep many 'Thingy's running in the background. The thingys subscribe to certain specific events, so they need to be kept alive (I think). Currently my code looks like this, roughly: internal sealed class Thingy { private readonly CancellationTokenSource cancellationTokenSource; ...

 
12:41 PM
@CaptainObvious Off-topic ATM, trying to convince OP to materialize some code to bring it on-topic.
 
@202_accepted Homebuilt is a violation anyway.
Unless you plan to write a CE statement and do some isolation tests on it.
 
@Mast Not according to the regulations I have. It's "discouraged", but if it meets certain specifications and tests it's acceptable.
 
@202_accepted Doesn't matter.
The moment they find water on Mars, the Dutch will colonize everything around it.
 
It's my land!
 
@202_accepted That's part of the unless a sentence later, yes.
@202_accepted Go sue us at the Martian Judge district.
 
12:44 PM
@Mast I am the Martian Judge district. ;)
 
Couple of years ago people got swindled by people selling plots on the Moon.
 
I own half of the moon already
 
@202_accepted You could even put a traditional fuse in front of it and a polyfuse right behind it.
 
1:18 PM
0
Q: Optimising SQL Query

Thomas AyoubLet's assume I've 3 tables on my database: BusinessObject and CustomEvent, and EventType. BusinessObject having a lot of columns, CustomEvent having the following: Id EventTypeId DateEvent CommentEvent UserId BusinessObjectId I want to get all the BusinessObject having two CustomEvent with Eve...

0
Q: Object Oriented Game Programming Board Class decision

to_dateI am writing an object oriented game for fun where players from two teams fight. I need to implement move function for players on a maze. Maze sohuld have location information with some features like height or type(hill, water etc.). So in order to implement location I have two ideas. First is th...

0
Q: Get a users nested group memberships w/o AD cmdlets

AdamarSo we have this customer that has a hybrid AD environment. They still have all their data on traditional network shares. But they are also moving all their users to AzureAD. Since the customer doesn't have the Azure AD Domain Services subscription, we needed to find another way to find out the g...

 
@CaptainObvious Still a little bit pseudo-, but far better than before. Thoughts?
 
Might be better to redirect that design question to softwareengineering.SE
 
1:35 PM
2
Q: Generic Producer-Consumer in C++11

AlexI wrote the following simple 1 producer - 1 consumer problem, in attempt to learn some C++11 threading / generics. #include <iostream> #include <mutex> #include <condition_variable> #include <deque> #include <thread> struct data { int x, y; std::string s; data() : s("test") { ...

 
@202_accepted Meh, IMO it's still off.
@Donald.McLean Astronomers and their techs (and plenty other agencies) have been known to create acronyms just for the sake of it. It's a sport.
For example:
ANTARES is the name of a neutrino detector residing 2.5 km under the Mediterranean Sea off the coast of Toulon, France. It is designed to be used as a directional neutrino telescope to locate and observe neutrino flux from cosmic origins in the direction of the Southern Hemisphere of the Earth, a complement to the South Pole neutrino detector IceCube that detects neutrinos from both hemispheres. The name comes from Astronomy with a Neutrino Telescope and Abyss environmental RESearch project; the acronym is also the name of the prominent star Antares. Other neutrino telescopes designed for use...
 
@PStarczewski You're welcome, but I think it's all moot anyway. Your question would actually be better suited on codereview.stackexchange.comArcher 21 secs ago
 
The Cosmic Evolution Survey (COSMOS) is a Hubble Space Telescope (HST) Treasury Project to survey a two square degree equatorial field with the Advanced Camera for Surveys (ACS). The largest survey ever undertaken by HST, the project incorporates commitments from observatories around the world, such as the Very Large Array radio observatory, the European Space Agency's XMM-Newton satellite, and Japan's eight meter Subaru telescope. At the moment, more than 150 astronomers around the world actively contribute to the project. The project's primary goal is to study the relationship between large scale...
IMAGE (Imager for Magnetopause-to-Aurora Global Exploration) is a NASA Medium Explorers mission that studied the global response of the Earth's magnetosphere to changes in the solar wind. It was launched 25 March 2000 by a Delta II rocket from Vandenberg AFB on a two-year mission. Almost six years later, it unexpectedly ceased operations in December 2005 during its extended mission and was declared lost. The spacecraft was part of NASA's Sun-Earth Connections Program, and during its run had over 400 research articles published in peer-reviewed journals using its data. It had special cameras that...
The Multi-Element Radio Linked Interferometer Network (MERLIN) is an interferometer array of radio telescopes spread across England. The array is run from Jodrell Bank Observatory in Cheshire by the University of Manchester on behalf of Science and Technology Facilities Council (STFC) as a National Facility.The array consists of up to seven radio telescopes and includes the Lovell Telescope, Mark II, Cambridge, Defford, Knockin, Darnhall and Pickmere (previously known as Tabley). The longest baseline is therefore 217 km and MERLIN can operate at frequencies between 151 MHz and 24 GHz. At a wavelength...
Of-course, there's also PAMELA, RAMBO, SOFIA, STEREO, MARVEL, and lots others.
 
1:52 PM
This sounds like a question better suited for code review. — Quentin 46 secs ago
 
@Duga Retracted already.
 
You should try in another stack exchange site like code reviewThomas Sablik 58 secs ago
It feels like you have working code. If you are seeking refinement advice, perhaps migrate to CodeReview. — mickmackusa 51 secs ago
 
2:17 PM
@Mast Where I work, they even changed the meaning of an acronym. MAST used to be the "multi-mission archive" but now it is the "Mikulski archive", named after Senator Barbara Mikulski, who was a key supporter of space science and space based astronomy in congress.
The Mikulski Archive for Space Telescopes (MAST) is an astronomical data archive. The archive brings together data from the visible, ultraviolet, and near-infrared wavelength regimes. The NASA funded project is located at the Space Telescope Science Institute (STScI) in Baltimore, Maryland and is one of the largest astronomical databases in the world. The archive was named after Barbara Ann Mikulski, a long time champion of the Hubble and James Webb space telescopes. It is a component of NASA's distributed Space Science Data Services. The archive contains the data from a number of instruments...
Barbara Mikulski having been kind enough to have a last name starting with 'M', they didn't have to change the acronym.
 
0
Q: Many to many (n to m) relationship without insert duplication php

NanoPishI managed to make a many to many relationship work correctly using mysql, doctrine 2 and symfony 3.4. When a new element A that contains 0 to m element Bs is inserted, the B elements that already have the same content are reused, instead of creating new ones. This is not the default doctrine 2...

 
You should ask your demand is this site : codereview.stackexchange.compbenard 17 secs ago
 
@Donald.McLean Yes, that might have gotten confusing otherwise.
 
2:45 PM
possible answer invalidation by Apfelkuacha on question by Apfelkuacha: codereview.stackexchange.com/posts/198219/revisions
Might be a better fit for codereview.stackexchange.comCD001 38 secs ago
This is probably a better question for Code Review rather than SO. I don't see anything suspect in this code, however. You should add more detail about how you come up with the length of time (is this a guess, or do you have observable metrics?), and what is your process of doing it manually? — David Zemens 11 secs ago
 
3:18 PM
Welcome to Stack Overflow! As a newly registered member, you probably should have read the introductory tour when signing up. Your question is broad and rather unclear. "That didn't work" may be an accurate description but it is not something we can tell from what you did wrong. The same with statements such as "I feel like I need arguments" -- why? Why not? If your code displays an error, mention it in your question. If you want your code reviewed, you may be better off asking at Code Review. — usr2564301 just now
 
1
Q: Initialisation of object with init function that provides default values for it's arguments

Roman PodymovI have the following class: final class A { let propertyA: Int let propertyB: String let propertyC: Double init(propertyA: Int = 100, propertyB: String = "propertyB", propertyC: Double = 10.0) { self.propertyA = propertyA self.propertyB = propertyB self....

 
3:36 PM
0
Q: Unit test code from JUnit helper

Martin SpamerJUnit Helper generates this code as one of its test stubs. I cannot see any value in it as a unit test. If the class was not available, the build would fall before the tests are run. Am I missing something? @Test public void type() { // TODO auto-generated by JUnit Helper. assertThat(...

0
Q: (COM Callable) Python class to decompile *.chm file with Microsoft HTML Help Executable

S MeadenWindows only. So I am writing code to decompile a Windows compiled html help file (*.chm) and then tidy the files found within. Whilst, I have blogged some simple Python examples I now want to write Python code closer to production standards so I'd like a code review thanks. I will bring fo...

 
3:53 PM
0
Q: PHP DRY my code

Erick VazovskyI want to DRY up my code, but i can't think of a way to do this properly, mainly because of CASE 3,I don't have any idea what to do if i have muliple field inputs (all of these are user inputs depending on option they choose i.e 1,2,3). switch ($type) { case '1': $size = ($_REQUEST['...

 
4:09 PM
0
Q: Overlapped - first two tokens

overexchangeProblem Two folders having files with name Afile. Files has 3 tokens, where first token is OID(dotted), second is hexcode and third is a multi-line token(less important). First token is also called trap, second token is called event code, technically. There are total ~100 files in total, for b...

 
4:25 PM
Monking
 
I hate Regex. I'd never have thought [A-Z][^A-Z]+[A-Z] would match Hello-World but [A-Z][^A-Z]+?[A-Z] wouldn't...
 
possible answer invalidation by Erick Vazovsky on question by Erick Vazovsky: codereview.stackexchange.com/posts/199927/revisions
 
4:47 PM
@Duga Added context (apparently)
 
0
Q: Text based game “Hunt the Wumpus” Version 2

Sandro4912This is a follow up of: Text based game "Hunt the Wumpus" I tryed to incorporate the suggestions made in the first Questin into the code. However i still feel that there is maybe space for im provement. I completly changed how the dungeon is made. now i just build the dohedraedon and fill it wi...

 
5:13 PM
-2
Q: How to manage GET, POST, PUT, DELETE from single NSURLSession request

ChenSmileI am able to make GET and POST request by using NSURLSession for that i am writing four different methods for GET, POST, PUT, DELETE. I Want to make it combine in single request and single method should handle, all concurrent request rest api calls. Please do let me help me structure the code a...

 
@CaptainObvious This question was migrated to SO (after getting some downvotes and a “missing context” close vote). I can live with that, but still wonder a bit: The question has concrete working code and is asking for a simplification of the long if/elseif chain. A possible problem are the dummy variable names, but that could have been addressed by leaving a comment to the author.
 
@Peilonrayz huh? wut
 
5:35 PM
@Peilonrayz: Does the ? affect anything?
 
@Vogel612 apparently catching nothing is the least gready thing it can do
 
oh wow...
 
@hoffmale yeah changes it from greedy to non-greedy, <. *?> on <a> inner </a> would match <a> rather than the entire thing
 
Are you trying to pass HTML with regex? :o
 
Damn, typing code on phones is not easy... <.*?>*
Nah I'm writing a snake and camel case converter, and Hello-World doesn't split correctly
 
5:58 PM
Ah
 
6:25 PM
@Peilonrayz - do you have any other flags on the regex? Like case-insensitive>?
 
@rolfl No, I just used re.match in Python with the above MVCE.
 
Frankly, I am not sure I believe you ;-) The regex [A-Z][^A-Z]+?[A-Z] should math Hello-World checking it out in some other tools.
Yeah, the regex matches the first part Hello-W of Hello-World, or, it should do.
Running it in regex101.com confirms that Python will match it, @Peilonrayz
 
@rolfl I tried it in reply.it and it didn't work, I'd share but repl.it does'N like my phone
 
6:49 PM
Ideone also doesn't work, but it's nice to know that it should work
 
7:06 PM
0
Q: reinterpret_cast vs bit shifts

ricco19Hopefully this is the correct place to post something like this. I've written some simple helper functions that read data types from a vector of bytes (binary files) and having a tough time deciding which route to go. Method 1 : reinterpret_cast int32_t read_32s(const std::vector<uint8_t> &buf...

 
7:24 PM
@MartinR It's example code. We don't do example code. Among other reasons, because it opens a can of worms for other very low quality questions.
 
7:35 PM
@Mast But that could have been salvaged by the author. If the class is called "Person" and the properties "age", "name" and "weight" instead of propertyA/B/C then it is not hypothetical anymore. – Actually I find the question "I have three properties which can be nil or not, how can I simplify the following long if/elseif/else chain" not less concrete than (for example) "I have three values, how can I simplify the check if exactly one of them is truthy"
 
7:53 PM
@ErickVazovsky I voted to close, not because it is a bad question, but only because it should be on CodeReview. You should consider reasking there. As for the downvote, who knows. I didn't do it. Try not to get too discouraged. The negative votes pile on sometimes. — johnny just now
 
1
Q: Finding incorrect yml headers

Øistein Søvik Introduction I am working on a semi large project with a few hundred files. In this project there is a series of lesson.yml files I want to check is formatted correctly. And, yes, every file I want is called exactly that. Just to clarify my code works, and does exactly what I want. However, I...

 
8:20 PM
In my opinion, your question isn't well fitted for SO since you had already a working script. To ask for improvements, it's better to post to codereview. Also, don't link a screenshot with text, write the text in the question and format it. — Casimir et Hippolyte 31 secs ago
One problem with your current code is that the connection object only exists in the constructor. But code reviews are not on topic, we really need a more specific question. — Don't Panic 34 secs ago
 
 
1 hour later…
9:32 PM
This is much better fit for Code Review... — user2366842 12 secs ago
 
0
Q: HTTP Load test with Golang

phil swensonI am a golang novice... I am trying to write an application that takes in many requests - up to a sustained 10000 HTTP posts/sec and post the payload to two back-ends in parallel (5 second timeout). A canned message is returned to the client, it doesn't matter whether the backed end returns a re...

 
 
1 hour later…
10:52 PM
I suggest you repost to the Code Review stackexchange (which is not actually a migration close vote target here..) — Calum You 27 secs ago
 
11:44 PM
0
Q: Template Metaprogramming Discriminated Union

Gregory Nisbetstd::variant and boost::variant, as far as I can tell, require the types involved to be unique. Their visitors/elimination forms dispatch based on the contained type instead of using tags/data constructors like one would use in Haskell or OCaml. I'm trying to create a simple type that has a fixe...

 

« first day (1903 days earlier)      last day (2097 days later) »