Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "ngram"
-
I wasn't gone, I was just working.
Anyway, I had some fun and wrote a simple 10 minute little precursor to an ngram implementation:
(when your comments are as long as the code, lol)
https://pastebin.com/bZVh8YSP
It obviously doesn't do type checking, or valid value checking, or any of that, and there may be an old comment or two adding cruft but whatever39 -
Is there a word cloud and ngram (word frequency over time) for devRant?
I'd like to test the following hypotheses:
- 'Fuck' is in the top 20 words.
- Swearing happens more often as the week progresses, with the exception of a small Monday morning spike. -
!!rant
Elasticsearch! First time touching it and need to find out on my own how to build an index that allows a weighted multi field fuzzy search on four fields where two needs to be full ngram, one ngram on the words and one standard search + not index any other field. The documentation is horrible! Just realizing that this is what I need took me 2 days!2 -
What do you guys think is the best method to teach juniors web dev? What are some things that would make you love a uni class and learn it?
I am teaching web dev and I find it very hard to engage all the students as almost half of them are not interested and I think they see the class too difficult(web basics?!). This is my first class teaching and I want to gather some feedback here and implement it in my class.
So, basically let me know of anything that makes you love and hate abclass because of the teacher's methodology. Thanks a lot3