958 reputation
39
bio website
location
age
visits member for 3 years
seen 18 hours ago

I do software engineering at a civil engineering firm. I work with C#, JavaScript, SQL, and some Wolfram Language, along with respective libraries/frameworks/platforms/tools like Windows Forms, ASP.NET Web API, AngularJS, Lo-Dash, Google Maps JavaScript API v3, SQL Server, Access, Mathematica, Visual Studio, etc.

I have a hobby-level interest in graph theory, boosted somewhat by a little bit of coursework back in the olden days of college. At one point, as a junior or thereabouts, I thought I'd designed an algorithm that solved the maximum clique problem in polynomial time! As you might expect, I was really, really wrong. One of my professors gave me a hint, and I later found out why my proposed algorithm was incorrect. It was a great learning experience. Since then, whenever my mind wanders to NP-completeness (which it does regularly, if not frequently), and I either read about or <gulp /> invent an algorithm to solve an NP-hard problem in polynomial time, I try to find out exactly why the algorithm fails and connect that with the overall conceptual failure---and lesson. It's really educational and is pretty cost-effective for developing deeper knowledge in a significantly-less-than-part-time hobby. (Come to think of it, this would be a great idea for a blog. If I had more time...)

I enjoy boardgames, usually on the hex-map & CRT simulation-y end of the spectrum despite not playing those that much. The very vast majority of my lifetime boardgame-playing hours have been spent as a victorious Roman player in Hannibal: Rome vs Carthage. One of these years, my brother will manage to implement an effective Carthaginian strategy... perhaps after he lets me play as the Carthaginians to show him ;-)


Jan
18
awarded  Yearling
Nov
19
revised How to subtract one list from another, treating each elements as distinct?
Added (a) a third fun solution and (b) an important note to alternative solutions
Nov
19
revised How to subtract one list from another, treating each elements as distinct?
Added a much faster alternative that still respects the suggested constraints.
Nov
19
answered How to subtract one list from another, treating each elements as distinct?
Sep
30
awarded  Explainer
Sep
30
revised Join lists with nested list
Added some basic timing checks.
Sep
26
comment Join lists with nested list
@GordonCoale ref/Apply, Details and Options: "A negative level -n consists of all parts of expr with depth n." See ref/Depth for more explanation.
Sep
25
answered Join lists with nested list
Sep
24
comment How to open *.sif files with Mathematica
It isn't supported if it isn't listed here. Unfortunately, I don't think SIF is listed. Someone might have written an import converter for SIF, though. You may want to edit your question to ask that specifically.
Aug
17
revised $RecursionLimit::reclim: Recursion problem
Important note/caveat about my attempt at `captureValues`...
Aug
17
comment $RecursionLimit::reclim: Recursion problem
@LuisFernandoMoura, I'm not sure what the expression NumericQ[tmedNum] is trying to accomplish, but yes, it should evaluate to False because tmedNum is only a symbol denoting part of a transformation rule, not itself a numeric value.
Aug
15
comment $RecursionLimit::reclim: Recursion problem
@LuisFernandoMoura, I'm not sure unfortunately, since I don't encounter that error here. In the code above, tmedNum is permanently defined to always "hand off" to tmed, so I can only guess a problem would be with whatever current function that tmed is defined as during the iteration in which you see that error. Try enabling the Debugger (under the Evaluation menu) and enable "Break at Messages" and "Show Stack", then run your code again. When the message occurs and the stack window fills, inspect the value of tmed to verify its value is what you were expecting.
Aug
9
comment $RecursionLimit::reclim: Recursion problem
@LuisFernandoMoura, no problem, glad to have been able to help. You might want to take a look at the edit I just made to introduce an updated helper function. My first attempt at the helper function was bloated and wrong in an important case that it was trying to cover (when a Function has a parameter with the same name as a previously set symbol). It still worked for your example because that case didn't come up. Anyway, fixed now. And best of luck in your master's!
Aug
9
revised $RecursionLimit::reclim: Recursion problem
Fixed my flat-out wrong code... with a much simpler version, too.
Aug
8
answered $RecursionLimit::reclim: Recursion problem
Aug
8
comment DatabaseLink Example for DB2 and Mathematica
@RickQI, glad to be able to help! If this post answered your question to your satisfaction, feel free to click the check mark next to the post to mark it as "accepted". If it didn't, definitely feel free to (a) comment on things specific to this answer here or (b) clarify your question further by editing it with clearly marked updates. (It's important to the good functioning of this site that all posts are accurately marked up to represent their actual status.) Thanks, and hope you're enjoying the community!
Aug
7
answered DatabaseLink Example for DB2 and Mathematica
Jul
28
awarded  Critic
Jul
24
comment Problems with NMinimize
What input code defines xy3d?
Jul
18
revised How to refuse close de Dialog when press Enter Key
Duh moment for me. Second argument of Overlay makes Invisible unnecessary (and seems to eliminate some extra spacing below the InputField)