emzilla-01 / image_data Goto Github PK
View Code? Open in Web Editor NEWcode jam/work sample- Postgres DB Fiddle view & Python functions to parse the rows to spec
code jam/work sample- Postgres DB Fiddle view & Python functions to parse the rows to spec
Business requirements details are private & might not be available to all engineering teams.
Therefore, we shall freeze the output result as test cases.
This ROW_NUMBER() OVER (order by score desc)
repeats - it is a kludge to complete all objectives in the coding challenge.
ROW_NUMBER() OVER (order by score desc) as row_number_desc,
1 + tablecount.table_count - ROW_NUMBER() OVER (order by score desc) as row_number_asc,
MOD( 1 + tablecount.table_count - ROW_NUMBER() OVER (order by score desc), 3)-1 as subsample_asc,
MOD(ROW_NUMBER() OVER (order by score desc), 3)-1 as subsample_desc,
It would scale poorly until fixed.
https://github.com/Emzilla-01/LnT_imagedata/blob/master/hero_box.py#L13-L16
in a rush to produce results, we traverse the list_of_4tupls 4 times instead of once
least_x = min([t[0] for t in list_of_4tupls])
least_y = min([t[1] for t in list_of_4tupls])
greatest_x = max([t[2] for t in list_of_4tupls])
greatest_y = max([t[3] for t in list_of_4tupls])
todo: rewrite as one pass over iterable list_of_4tupls
eg:
def get_min_max_of_axes(iterable, axes*):
.....
least_x=float('inf')
least_y=float('inf')
greatest_x=float('-inf')
greatest_y=float('-inf')
for i in range(iterable):
# compare & replace each x,y,z axis
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.