
mlooney
Ash Framework: favicon annoyances
Users going through the book on safari, at least, get a bunch of annoying errors about favicon missing on each page load:
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon-precomposed.png (TunezWeb.Router)
(tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
(tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
(phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
(bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
(bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
(bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
(stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
(stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
(stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /apple-touch-icon.png (TunezWeb.Router)
(tunez 0.1.0) deps/phoenix/lib/phoenix/router.ex:465: TunezWeb.Router.call/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.plug_builder_call/2
(tunez 0.1.0) deps/plug/lib/plug/debugger.ex:155: TunezWeb.Endpoint."call (overridable 3)"/2
(tunez 0.1.0) lib/tunez_web/endpoint.ex:1: TunezWeb.Endpoint.call/2
(phoenix 1.8.0-rc.3) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
(bandit 1.7.0) lib/bandit/pipeline.ex:131: Bandit.Pipeline.call_plug!/2
(bandit 1.7.0) lib/bandit/pipeline.ex:42: Bandit.Pipeline.run/5
(bandit 1.7.0) lib/bandit/http1/handler.ex:13: Bandit.HTTP1.Handler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
(bandit 1.7.0) lib/bandit/delegating_handler.ex:8: Bandit.DelegatingHandler.handle_continue/2
(stdlib 6.2.2) gen_server.erl:2335: :gen_server.try_handle_continue/3
(stdlib 6.2.2) gen_server.erl:2244: :gen_server.loop/7
(stdlib 6.2.2) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
While obviously not your fault, and easily fixable by the reader who knows what is going on, it might be worth the effort to add the various favicons that browsers attempt to fetch into the GitHub repo. I’m sure other browsers do the same too.
First Post!

sevenseacat
Author of Ash Framework
I haven’t actually seen that at all during development, and I don’t see it in Safari now either
Let me look into it. The favicon names look familiar, but I thought you would have to configure them in the HTML, which we’re not doing…
Popular Pragmatic Bookshelf topics

Page 28: It implements io.ReaderAt on the store type.
Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt?
...
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

Dear Sophie.
I tried to do the “Authorization” exercise and have two questions:
When trying to plug in an email-service, I found the ...
New

@noelrappin
Running the webpack dev server, I receive the following warning:
ERROR in tsconfig.json
TS18003: No inputs were found in c...
New

Running mix deps.get in the sensor_hub directory fails with the following error:
** (Mix) No SSH public keys found in ~/.ssh. An ssh aut...
New

This is as much a suggestion as a question, as a note for others.
Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New

When I run the coverage example to report on missing lines, I get:
pytest --cov=cards --report=term-missing ch7
ERROR: usage: pytest [op...
New

On page 78 the following code appears:
<%= link_to ‘Destroy’, product,
class: ‘hover:underline’,
method: :delete,
data: { confirm...
New

I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New

Hi,
I am getting an error I cannot figure out on my test.
I have what I think is the exact code from the book, other than I changed “us...
New
Other popular topics

Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New

There’s a whole world of custom keycaps out there that I didn’t know existed!
Check out all of our Keycaps threads here:
https://forum....
New

Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face:
https://on...
New

Do the test and post your score :nerd_face:
:keyboard:
If possible, please add info such as the keyboard you’re using, the layout (Qw...
New

Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New

Hi folks,
I don’t know if I saw this here but, here’s a new programming language, called Roc
Reminds me a bit of Elm and thus Haskell. ...
New

Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
New

Author Spotlight:
David Bryant Copeland
@davetron5000
We’re so happy to bring you another Author Spotlight, a series where we sit dow...
New

I have always used antique keyboards like Cherry MX 1800 or Cherry MX 8100 and almost always have modified the switches in some way, like...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /ocaml
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /scala
- /zig
- /textmate
- /sublime-text
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /django
- /spring
- /manjaro
- /diversity
- /lua
- /nodejs
- /c
- /julia
- /slackware
- /neovim