 
  		        pieteeken
Machine Learning in Elixir: Some comments on chapter 13, Version B3.0
Comments on chapter 13, version B 3.0
One advice: build the phoenix from scratch, do not use the version from the example code.
If you use the wrong version of phoenix you get all kind of errors.
I used 1.7.11.
@sabiwara found all errors, see his post.
There is only one little thing. /priv/repo/seeds.exs need a minor correction.
author and title need to be switched
path = "priv/repo/booksummaries/booksummaries.txt"
df = Explorer.DataFrame.from_csv!(path, delimiter: "\t", header: false)
df = df[["column_3", "column_4", "column_7"]]
df = Explorer.DataFrame.rename(df, ["title", "author", "description"])
df
|> Explorer.DataFrame.to_rows()
|> Enum.each(&BookSearch.Library.create_book/1)
Popular Pragmatic Bookshelf topics
                         
                      
                       
          
                In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
              
            
            
          
              New
 
          
                Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84: 
bundle exec sequel...
              
            
            
          
              New
 
          
                Hi Brian, 
Looks like the api for tinydb has changed a little. Noticed while working on chapter 7 that the .purge() call to the db throws...
              
            
            
          
              New
 
          
                I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. 
...
              
            
            
          
              New
 
          
                On the page xv there is an instruction to run bin/setup from the main folder. I downloaded the source code today (12/03/21) and can’t see...
              
            
            
          
              New
 
          
                I found an issue in Chapter 7 regarding android:backgroundTint vs app:backgroundTint. 
How to replicate: 
load chapter-7 from zipfile i...
              
            
            
          
              New
 
          
                When trying to run tox in parallel as explained on page 151, I got the following error: 
tox: error: argument -p/–parallel: expected one...
              
            
            
          
              New
 
          
                When running tox for the first time, I got the following error: 
ERROR: InterpreterNotFound: python3.10 
I realised that I was running ...
              
            
            
          
              New
 
          
                It seems the second code snippet is missing the code to set the current_user: 
current_user: Accounts.get_user_by_session_token(session["...
              
            
            
          
              New
 
          
                Getting an error when installing the dependencies at the start of this chapter: 
could not compile dependency :exla, "mix compile" failed...
              
            
            
          
              New
Other popular topics
                         
                      
                       
          
                Reading something? Working on something? Planning something? Changing jobs even!? 
If you’re up for sharing, please let us know what you’...
              
            
            
          
              New
 
          
                Which, if any, games do you play? On what platform? 
I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
              
            
            
          
              New
 
          
                My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
              
            
            
          
              New
 
          
                poll
poll
Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
              
            
            
              
          
              New
 
          
                Think Again 50% Off Sale »
The theme of this sale is new perspectives on familiar topics. 
Enter coupon code ThinkAgain2021 at checkout t...
              
            
            
          
              New
 
          
                Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
              
            
            
              
          
              New
New
 
          
                Author Spotlight: 
Karl Stolley 
@karlstolley 
Logic! Rhetoric! Prag! Wow, what a combination. In this spotlight, we sit down with Karl ...
              
            
            
          
              New
 
          
                Will Swifties’ war on AI fakes spark a deepfake porn reckoning? 
              
            
            
              
          
              New
 
          
                Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
              
            
            
              
          
              New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /rails
- /js
- /security
- /go
- /swift
- /vim
- /clojure
- /haskell
- /emacs
- /java
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /html
- /opensuse
- /centos
- /php
- /zig
- /deepseek
- /scala
- /lisp
- /textmate
- /sublime-text
- /react-native
- /nixos
- /debian
- /agda
- /kubuntu
- /arch-linux
- /django
- /revery
- /deno
- /ubuntu
- /spring
- /nodejs
- /manjaro
- /diversity
- /lua
- /julia
- /slackware
- /c
 
    





