« first day (1802 days earlier)      last day (1418 days later) » 

10:21 AM
    % Put data in the hash table
    function hash = put(hash,key,data)
        index = find(strcmp(hash.keys,key));
that's an O(N) (at best) "hash" table implementation, right?
 
 
9 hours later…
6:59 PM
@AndrasDeak but it seems quite incomplete?
 
7:10 PM
electronics puzzle: let's say we have an double on-off-on toggle switch (so the switch haves two halves, each have 3 connections), and two resistors. In one position the two resistors should be in parallel (between two points A and b), in a second position they hsould be in series, and in a third position only one of the resistors should be between A and B. is that possible using only some clever wiring?
 
7:33 PM
Sounds like something that can be brute forced at worst
 
hm that is a good idea
so that makes a graph with 12 nodes, wich results in only 2^12 possible graphs
no this is bs
2^66 possible graphs
that is worse
 
but surely you wouldn't connect anything to anything, right?
resistor must be connected to exactly two different nodes, for instance
 
so you'd need some back tracking
well it could be connected to more
 
hmm, good point
perhaps a neural network is indeed the better choice
@flawr well, yeah :P the rest is here stackoverflow.com/q/62230143/5067311
 
brb
 
7:58 PM
would be a one liner in python:)
 

« first day (1802 days earlier)      last day (1418 days later) »