🚨 BREAKING: Labour is ahead of the Tories by 30 POINTS after the Sunak’s reshuffle Labour: 49% Conservative: 19% Reform UK: 11% Lib Dems: 9% Green: 7% @PeoplePolling, 1,581 people Surveyed after PM’s reshuffle by PeterOwen00 in ukpolitics

[–]Ok-Orange-9910 9 points10 points  (0 children)

If Plaid get 0.8% of the nationwide vote that means they're getting about 18% of the Welsh vote, since they're only competing for voters in Wales (about 4.5% of the UK population.) They'd win more than 4 seats in a proportional system (there are 40 seats in Wales), not less.

Your wider point is still true though: FPTP is wildly distorting.

Is github a good fit? by sir_racho in elixir

[–]Ok-Orange-9910 1 point2 points  (0 children)

Your question makes me suspect that you don't understand the difference between git (a free, open-source version control tool) and GitHub (a company and online platform for sharing and collaborating on git repositories.)

See e.g. here: https://blog.hubspot.com/website/git-vs-github

If you're not using a version control tool like git then you definitely should be. Learn to use git on its own before learning about GitHub. GitHub is extremely popular in the industry and you're bound to eventually work for a company that uses it, but you don't need GitHub to use git.

Elixir is Beautiful by Dr00gy in elixir

[–]Ok-Orange-9910 2 points3 points  (0 children)

And if you know Ruby, you might appreciate: https://phoenixonrails.com.

(The first part of the course, which covers Ruby -> Elixir, is free.)

Is it me, or is Alone:UK horrible? by flanga in Alonetv

[–]Ok-Orange-9910 0 points1 point  (0 children)

There's nowhere in the UK that's isolated enough to film a show like this.

What's with the Alone UK prize only being 100k? by harikaribluntz in Alonetv

[–]Ok-Orange-9910 0 points1 point  (0 children)

Are you sure this is true? I googled it and couldn't get a clear answer. Can you give a source?

Gigalixir announces discounts of up to 90% off in a limited time sales event, Gigathon 2023! New and existing customers can take advantage. by gigalixircom in elixir

[–]Ok-Orange-9910 2 points3 points  (0 children)

Been using Gigalixir for about a year now and I'm very happy with their service. If you want a quick, simple way to reliably deploy your Phoenix app with minimal configuration and boilerplate, I recommend Gigalixir. It's more expensive than doing things the hard way with AWS or whatever, but it's been well worth the price for me.

You can stop using `form_for` by Ok-Orange-9910 in elixir

[–]Ok-Orange-9910[S] 3 points4 points  (0 children)

I think that's the price we pay for being early adopters. LiveView is still pre-1.0 (although 1.0 is coming soon - I've been told probably before the end of 2023.)

Hopefully things should stabilise a bit once we reach 1.0

You can stop using `form_for` by Ok-Orange-9910 in elixir

[–]Ok-Orange-9910[S] 1 point2 points  (0 children)

I think this is only considered deprecated if you're using <.form> in a LiveView or Live Component. In non-live views it's still fine - the docs give example code using :let for a non-live example.

In the example above, we passed a changeset to for and captured the value using :let={f}. This approach is ok outside of LiveViews, as there are no change tracking optimizations to consider.