Reputation
24,475
Top tag
Next privilege 25,000 Rep.
Access to site analytics
Badges
7 60 149
Impact
~908k people reached

Jan
19
reviewed Reject mvp tag wiki excerpt
Jan
19
reviewed Approve mvp tag wiki
Jan
17
comment Algorithm for defragmenting cross-pipe issues in a network for routing signals through?
As far as I know (and TBH, I'm not an expert here, it's a recent area of interest of mine) 1. most of the algorithms work with directed graphs 2. separate sinks on the same graph sounds problematic with the textbook/canonical algorithms
Jan
17
comment Algorithm for defragmenting cross-pipe issues in a network for routing signals through?
Have you looked into max-flow algorithms? (en.wikipedia.org/wiki/Maximum_flow_problem)
Jan
17
comment Can one become good programmer by self learning or a mentor is needed?
@RobertHarvey That's a shame. A good mentor can be as simple as a smart smoking buddy that likes to talk shop.
Jan
17
comment Can one become good programmer by self learning or a mentor is needed?
@RobertHarvey In 30 years, you've never had someone use their experience to guide you to finding solutions on a semi-regular basis?
Jan
17
comment How to simulate a REST API?
@dferraro: What's stopping you from polling the service the next time there's a game, and dumping that data to a file. Once you're capable of doing that, and are familiar with the format, then you can make a new file (or files) with specific test cases.
Jan
11
comment Best way to keep large amounts of data (no relational database needed)
How large is large (MB/GB/TP/PB)? What's the growth rate like (GB/Day)? Theoretically all DBs can grow infinitely, but few ever actually do. You might just need to better normalize your data and not actually have to worry about growth for a long time.
Jan
10
comment What graph traversal algorithm should I use?
@NKK: You might be out of your depth. That's a good place to be so that you can grow, but you might be better served hitting the books and reading a good data structures/algorithms text that covers graphs and pathfinding.
Jan
9
reviewed Approve laravel tag wiki excerpt
Jan
9
reviewed Approve laravel tag wiki
Jan
9
comment Best way of validating Class properties
@JonRaynor The general problem is data cleaning and for small volumes of data and small frequencies of this process, I'd clean the remaining data manually on a case-by-case basis. If the OP's scenario is not a one-off then this this exercise is (or had better be) a stop-gap for a b2b service that accepts strongly typed information. Dumping to CSV strings is not a reliable long term business process.
Jan
9
answered Best way of validating Class properties
Jan
8
comment What graph traversal algorithm should I use?
I think the issue is that OP has a list of nodes that represent points on a graph, but no edges, and is trying to build out the graph's edges. OP: If you know how to determine if a node is traversable from another node, and the graph will be relatively sparse, then an O(n^2) brute force can generate all of your edges in short order.
Jan
8
comment What graph traversal algorithm should I use?
In your scenario, the pathfinder (agreed on A*) would have to have a special case for the specific high weight to cover the scenario where no traversable path exists but the graph is still connected.
Jan
6
comment Do Scrum sprints mean to work at the fastest pace possible?
@Telastyn I think that only works when estimates are from parties with mutual goals.
Jan
6
comment Do Scrum sprints mean to work at the fastest pace possible?
When management goals are to get as much work done as possible, regardless of the limits on working hours (and experience indicates this to be true in the vast majority of cases), and employee goals are to get the most work done without exceeding paid working hours (I admit that some managers may argue that this is optimistic), then regardless of the inherent error in estimation, scheduling will always trend to >= working hours. The logical extension is that employee goals must shift to underestimating. @BartvanIngenSchenau this is how that habit naturally develops.
Dec
21
awarded  Good Answer
Dec
20
comment Can a pure-functional solution to this problem be as clean as the imperative?
+1 I've always liked Haskell's syntax when it comes to Math. I prefer F# as a language, but my example requires some messy type information.
Dec
20
answered Can a pure-functional solution to this problem be as clean as the imperative?