chrisbodhi / nuzzelish Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Currently uses Elixir code (in repo.ex) to sort the returned links from the Ecto query.
Possible answer: https://stackoverflow.com/a/55252324
Ecto docs: https://hexdocs.pm/ecto/Ecto.Query.html#order_by/3
This should happen outside of this module, and in a place that handles cross-cutting concerns.
Should link to that user's account (or their tweet? hmmmm).
Deployed version of app uses Node v6.9... ๐
https://github.com/gjaldon/heroku-buildpack-phoenix-static#configuration
varchar(255)
to just text
-- https://stackoverflow.com/a/2813243/2276791slice
in unfurl.exPhoenix uses Milligram out of the box: https://milligram.io/grids.html
https://codeburst.io/build-a-minimalist-html-card-in-just-53-lines-of-code-with-flexbox-b40801927eb5
Use Phoenix Live features
Proof:
nuzzelish_dev=> select * from links_members;
id | link_id | member_id
----+---------+-----------
1 | 1 | 1
2 | 2 | 2
3 | 3 | 3
4 | 4 | 4
5 | 5 | 2
6 | 6 | 5
7 | 7 | 6
8 | 8 | 2
9 | 9 | 2
10 | 10 | 1
11 | 11 | 7
12 | 12 | 8
nuzzelish_dev=> select id, url from links;
id | url
----+-----------------------------------------------------------------------------------------------------------
1 | https://paper.li/futuristpaul?edition_id=4c21eeb0-3bd0-11ea-9789-002590a5ba2d
2 | https://www.electricsheepcomix.com/spiders/
3 | https://warrenellis.ltd/work/notebook-processing/
4 | https://warrenellis.ltd/work/notebook-processing/
5 | https://danhon.substack.com/
6 | https://danhon.substack.com/
7 | https://warrenellis.ltd/work/pending/
8 | https://www.buzzfeed.com/lukelewis/what-british-people-say-versus-what-they-mean
9 | https://danhon.substack.com/p/s08e03-flint-and-kindling
10 | https://www.abc.net.au/radio/programs/worldtoday/scientists-warn-bushfires-could-turn-soil-toxic/11876598
11 | https://www.newstatesman.com/politics/uk/2019/08/why-liberals-now-believe-conspiracies
12 | https://www.wired.co.uk/article/2017-ig-nobel-prize-fluid-dynamics-cats
(12 rows)
We'll need another table for many-to-many association: link could belong to many tweet id's, tweet id could contain many links
Set up a long-running supervised process that can restart that streams from Twitter
https://elixir-lang.org/getting-started/mix-otp/supervisor-and-application.html#toc
tw.retweeted_status.entities
-- will be nil or a tweet structtw.quoted_status.entities
-- will be nil or a tweet structA 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.