nutomic

joined 4 years ago
MODERATOR OF
[–] [email protected] -1 points 5 hours ago* (last edited 5 hours ago) (2 children)

Or you guys like to be shouted at. There is no other country that does this.

[–] [email protected] 7 points 5 hours ago (4 children)

Not like that, they didn't let me board my flight from Europe to Texas. Even though I had a connecting flight to Mexico few hours later. Why can't they have a visa free transit zone like every other country in the world?

[–] [email protected] 46 points 7 hours ago (15 children)

I only stopped there for transit on a flight to Mexico. Just before boarding my flight I was told that I need a visa for the US, which is extremely weird because normally airports have transit zones where you don't need any visa. But apparently the US is special, so you actually have to enter the country before going right back into the airport. This nonsense made me miss my flight.

Also I remember in the airport there was a security guard doing nothing but shouting nonstop that it's not allowed to carry water. Why not simply put up a sign?

 

We also have documentation to setup the dev environment: https://join-lemmy.org/docs/contributors/02-local-development.html

If you have questions, feel free to ask here, in the relevant issue or in matrix.

[–] [email protected] 2 points 1 week ago

To decide if I should merge the linked PR or not (I did merge it).

[–] [email protected] 1 points 1 week ago (5 children)

Thats even more verbose so the second option is better.

[–] [email protected] 5 points 1 week ago (11 children)

@[email protected] @[email protected] @[email protected] Thanks for the feedback! Personally I prefer the first option, but based on your comments I will merge the PR with the second option.

 

Which of these code styles do you find preferable?

First option using mut with constructor in the beginning:

  let mut post_form = PostInsertForm::new(
    data.name.trim().to_string(),
    local_user_view.person.id,
    data.community_id,
  );
  post_form.url = url.map(Into::into);
  post_form.body = body;
  post_form.alt_text = data.alt_text.clone();
  post_form.nsfw = data.nsfw;
  post_form.language_id = language_id;

Second option without mut and constructor at the end:

  let post_form = PostInsertForm {
    url: url.map(Into::into),
    body,
    alt_text: data.alt_text.clone(),
    nsfw: data.nsfw,
    language_id,
    ..PostInsertForm::new(
      data.name.trim().to_string(),
      local_user_view.person.id,
      data.community_id,
    )
  };

You can see the full PR here: https://github.com/LemmyNet/lemmy/pull/5037/files

[–] [email protected] 2 points 2 weeks ago

Just move the towel around randomly until Im halfway dry. Doesnt matter if there is some water left, it will dry soon enough.

 

/c/opensource is currently unmoderated because all the existing mod accounts are inactive.

Thats why we are looking for new moderators. To apply as mod, reply below indicating what would make you a good moderator for this community, and mention any previous mod experience you have. You should be registered on lemmy.ml and have previous posting history.

 

This community is currently unmoderated because the only moderator has deleted his account. For this reason the community is currently locked until new mods are added.

To apply as /c/politicalhumer mod, reply below indicating what would make you a good moderator for this community, and mention any previous mod experience you have. You should be registered on lemmy.ml and have previous posting history.

99
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

If you write a plugin, let me know how it goes!

Link to PR

34
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

The names of previous Lemmy versions were all very boring and repetetive. We need something much more creative. Any ideas?

16
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 
  • fix mobile css layout by @mstcl
  • Add follow instance button in article nav (fixes #31)
  • Dont allow / in article title (fixes #25)
  • Include domain when generating diff link (fixes #23)
  • Minor changes to create/edit article page (fixes #24)
view more: next ›