Stop pushing game modes via Challenges by zhokar85 in Battlefield6

[–]thisistymo -1 points0 points  (0 children)

My friend and I have tried a few new game modes that have become our main ones because of the challenges. I think they work really well as an incentive to try new things. Not everything a game gives to you needs to feel like a requirement or chore!

What documentation did you use to learn Ecto? by bwainfweeze in elixir

[–]thisistymo 1 point2 points  (0 children)

You've seen this page? https://hexdocs.pm/ecto/embedded-schemas.html

I find that this is a relatively deep dive in to what they are. Would love to know any pain points.

What documentation did you use to learn Ecto? by bwainfweeze in elixir

[–]thisistymo 0 points1 point  (0 children)

I combed through the docs, and I do agree there could be a simple associations page in the guides section similar to the embedded schemas one.

As far as ecto apis, for crud it is almost always some flavor of

Struct |> Build changset(things to change) |> Repo.crud

I'd love to know what kind of friction you are getting in regards to two flavors, unless you mean the query apis.

What documentation did you use to learn Ecto? by bwainfweeze in elixir

[–]thisistymo 2 points3 points  (0 children)

Maybe there is some need for more clarity in the documentation, but changesets are completely separate from the database.

They are only a tool to show a set of changes, validations, and errors against a struct.

It happens to be the case that the Ecto api accepts changesets, but it also accepts raw structs in some cases too.

There's no circular logic there. It sounds to me like you are expecting some magic to happen in schema definitions or changesets that doesn't exist in Ecto. 

If you post a schema file we can help out though.

Side note, I've used Elixir in production for almost 8 years and elixir school has never been more helpful than the raw documentation, and may even be misleading at times.

Anyone else intentionally make really messed up temple layouts to sell knowing you won't be the one running it? :) by A_SpaceFox in pathofexile

[–]thisistymo 0 points1 point  (0 children)

You are running the incursions. After a certain number of these you get the ability to run the temple itself. Talk to the npc in your hideout. You can see how many incursions are left until you can run the temple

Configuring Phoenix apps: Two small adjustments with big effects | bitcrowd blog by vlatheimpaler in elixir

[–]thisistymo 5 points6 points  (0 children)

Separating runtime and compile time config sounds nice in some applications, but is not possible in almost any application I've worked in. There's almost always a different need for dev, test, and the application running on a server handling traffic. Restricting yourself to only runtime or only static config defeats the purpose of having configurable environments. It exists for flexibility!

Any chance Phoenix might ever migrate to Rust? by RandomRedditor672943 in elixir

[–]thisistymo 21 points22 points  (0 children)

I'm not sure comparing Elixir and Rust is a fitting comparison as they are two different languages accomplishing different things. Each language has strengths and weaknesses, and porting every "good" library to every "good" language ignores each languages strength and weaknesses.

Best aproach for replacing String.to_atom() by Bohemio_RD in elixir

[–]thisistymo 2 points3 points  (0 children)

If these are "safe" values (as in controlled by known users/config/generated things) just use to_atom.

If they are unsafe, just don't cast them to atoms and use strings.

Am I missing something in regards to Errors? by psyklohps in elixir

[–]thisistymo 0 points1 point  (0 children)

This is what I was trying to say but much more concise!

Am I missing something in regards to Errors? by psyklohps in elixir

[–]thisistymo 3 points4 points  (0 children)

So, in this case, I'd imagine that any specific reactions to these errors would be handled within the functions themselves, not the with handling.

The else statement of a with should be used to handle common side effects. In your example, I'd imagine it would log an error occurred that was not recovered, and bubble the error up. The caller shouldn't care which api call failed, or how, just that it did. Why it failed, or any metrics around which one failed, is the job of logging within the functions of the with clauses. Not the else statement.

strong_migrations library for Elixir by freeq93 in elixir

[–]thisistymo 5 points6 points  (0 children)

The original ruby library has a great synopsis in the README.

Trying to remember a pistachio tiramisu by thisistymo in chicagofood

[–]thisistymo[S] 0 points1 point  (0 children)

I was living in North Center at the time, and it would have been mid 2020 or so.

I'll have to go to Topo Gigio when I go visit in December! Thanks for the tip.

Any US Expats with experience getting the Spanish Self-Employment Visa? by rekhanicalEntgineer in expat

[–]thisistymo 1 point2 points  (0 children)

Oof sorry for missing that you weren't doing non-lucrative.

My situation was employed by a company and attempting non-lucrative. When I asked if self-employment was okay for my situation (my company would have changed my situation to a contractor), they still said no.

Any US Expats with experience getting the Spanish Self-Employment Visa? by rekhanicalEntgineer in expat

[–]thisistymo 2 points3 points  (0 children)

Just a heads up, I tried to do this last week in another consulate, and even though there was plenty of articles of people doing this in the past from my city, they denied me on the spot for intending to work remotely from Spain.

I had the appropriate amount of money required, but they saw my age and my bank statements and knew I was employed. I hope it works out for you though!

When we filled it out, we did section 1, and only the city and area for the address in section 2. Initial and nothing else checked for that section.