@shaib@tooot.im avatar

shaib

@shaib@tooot.im

תוכנה חופשית: עמותת המקור, פייקון ישראל :pyconil:
Free Software: Hamakor, PyCon Israel organizer

This profile is from a federated server and may be incomplete. Browse more on the original instance.

shaib, to django
@shaib@tooot.im avatar

I need to include a BCN-VGO leg in my flight to EU, and the right flight in terms of timing is by .

Should I be scared off by the terrible reviews on TripAdvisor, or is it worth taking a chance?

shaib,
@shaib@tooot.im avatar

@carlton
Good to know!
VY1704 - June 4th, 20:15 ("3 seats left at this price")

shaib,
@shaib@tooot.im avatar

@carlton
Took it. It should say "2 seats left" now 😈

katykaty, to random
@katykaty@glammr.us avatar

My kid, a computer science major, said that the way programming is taught is "too capitalist" because it emphasizes efficiency and time saving over everything else, and I haven't stopped thinking about it.

shaib,
@shaib@tooot.im avatar

@katykaty

Your kid has bad teachers, and good instincts.

When I was taught programming, Readability was king. Efficiency was always taught as a consideration for specific points where it is a problem. We were also taught that "premature optimization is the root of all evil".

One day, we started a course on performance optimizations. After the first class, some student wrote on the board "R̶e̶a̶d̶a̶b̶i̶l̶i̶t̶y̶ Efficiency". The next teacher to come in struck it down immediately.

@matthewskelton

bmispelon, to django
@bmispelon@mastodon.social avatar

django.db.utils.OperationalError: generated columns cannot be part of the PRIMARY KEY

Oh come one, I really thought that one was going to work (interesting that Django was happy to generate the migration but only failed when trying to apply it) 🤔

shaib,
@shaib@tooot.im avatar

@bmispelon
Ehmm. On one hand, they may be totally virtual, and then it makes perfect sense. But they don't have to be virtual, and when they're not, they can even be indexed, so, actually, why not?

On second thought -- maybe that's why they can be added in the migration, and fail when applying -- they only work on some backends?

oatmeal, to Judaism
@oatmeal@kolektiva.social avatar

[?] / “Good looking gentile women”

[2012] When you don't say "no", what do you mean?

[…] The former head of the Rabbinate Department in the , Lieutenant Colonel Rabbi Eyal Krim, was asked in the past if it is permitted for an IDF soldier to rape a woman during wartime. Instead of an unequivocal "no", he explained that in such times one must take into consideration the difficulties of the fighters.

Are these the people the IDF appoints as spiritual authorities?

[…] Rabbi Krim was essentially asked if IDF soldiers are permitted to rape girls during wartime. He answered that as part of maintaining the army's fighting capability and the soldiers' morale, it is permitted to "breach" modesty and fences, so that it is permitted to eat prey and satisfy the evil inclination through laying with good-looking gentile women against their will, "out of consideration for the difficulties of the fighters and for the overall success."

Hebrew https://archive.is/dSYkt

@israel
@palestine

shaib,
@shaib@tooot.im avatar

@NWengrov @oatmeal @israel

I am sure he is a horrible, misogynist and chauvinist man, and I find it appalling that he is the Chief Rabbi of the IDF.

And yet, in this case, I tend to accept his argument from 2012 -- that, essentially, when he spoke in 2002 (as a civilian), his answer was not as bad as portrayed; that he answered the "how come the Torah permitted this" part and ignored the modern implications part of the question.

Still bad that he didn't start with "rape is verboten period".

shaib,
@shaib@tooot.im avatar
mahryekuh, to python
@mahryekuh@fosstodon.org avatar

When you update Django 4.2 to 5.0 in requirements and it's the only package that changes in your lock file, and Tox says everything is fine on its first run already.

Quick updates, baby! 🥳💃🏻

shaib,
@shaib@tooot.im avatar

@ehmatthes @konstantin @mahryekuh

That's close to accurate, but not full; "the truth, but not the whole truth".

It is true that a .0 has, in general, no more new features nor new deprecations than a .1 or .2 release. So if you take care of the deprecations as they show up, then Eric's description should match your experience.

But .0 releases do have more deprecation shim removals (and .2 releases have none). So if you're less diligent, .0's will break more.

https://docs.djangoproject.com/en/dev/internals/release-process/#deprecation-policy
@carlton

shaib, to random
@shaib@tooot.im avatar

Great-looking library, clear explanations, wonderful talk

https://youtu.be/LFIAqFt9z2s

via https://django-news.com/issues/211#start
via @djangonews

brettcannon, to random
@brettcannon@fosstodon.org avatar

I now expect a PyCon talk from @jacob in a couple decades on coding when you're older as a follow-up to his PyCon 2015 keynote (https://lwn.net/Articles/641779/) 😁

https://www.theguardian.com/sport/2023/dec/21/senior-runners-ultramarathons-wally-hesseltine-fred-hagen

shaib,
@shaib@tooot.im avatar

@brettcannon @jacob

We already had that talk, it just wasn't Jacob but @carlton
https://youtu.be/7WUFWmyk-HY

AlSweigart, to random
@AlSweigart@mastodon.social avatar

deleted_by_author

  • Loading...
  • shaib,
    @shaib@tooot.im avatar

    @AlSweigart
    Why would you do that?

    protecttruth, to random
    @protecttruth@mastodon.online avatar

    WOW. This is about as close as one can get to saying “I reject Benjamin Netanyahu and his government” without saying it.

    Good. Netanyahu is grimly opposed to a two-state solution, and also opposed to Biden/US Dems.
    Hopefully this critique is just the beginning from Dem leaders.

    shaib,
    @shaib@tooot.im avatar

    @gee8sh @protecttruth

    I, an Israeli, disagree. The two-state solution is currently not viable, but the only alternative that has really been deemed viable -- no solution -- has been exposed as the hoax that it's always been.

    The two-state solution is not "on the table" now. A lot of hard work and resources need to be invested to bring it back into relevance. But I believe there is a crack of an opportunity for that now.

    carlton, to programming
    @carlton@fosstodon.org avatar

    When I was Young & Talented™ I’d likely turn up to your project full of bright ideas about changing everything.

    Now I’m an Older Journeyman™ I’m much more likely to lurk for an age, and then maybe propose a tweak or two. Maybe.

    shaib,
    @shaib@tooot.im avatar

    @carlton
    When I was young, and they packed me off to school
    And they taught me how not to play the game
    I didn't mind if they groomed me for success
    Or if they said that I was just a fool

    (the song is actually about religion)
    https://youtu.be/TI0_oLQWXvQ

    carlton, (edited ) to random
    @carlton@fosstodon.org avatar

    This is a great article but it doesn’t mention the fix-all[*]

    DIR=$(basename pwd)
    URL=$(git remote get-url origin)
    cd ..
    rm -r $DIR
    git clone $URL

    From: @b0rk
    https://social.jvns.ca/@b0rk@jvns.ca/111364277726096519

    [*]: Probably don't do this, it's only a joke.

    shaib,
    @shaib@tooot.im avatar

    @carlton @laymonage
    Well if we're discussing this seriously, we should also mention that it should be

    git clone $URL $DIR

    for a consistent reproduction

    shaib, to random
    @shaib@tooot.im avatar

    @b0rk
    Oh, there's a post that should be written, titled "Github merge buttons considered harmful" (basically -- they encourage merging things without testing them against the tip of the branch into which they're merged)

    shaib,
    @shaib@tooot.im avatar

    @b0rk
    First of all, I should clarify -- I'm not complaining about people using these buttons, I'm complaining about the way Github implements them. People do what's easy, and that is not just understandable, that's how it should be.

    (The project which brought me to this opinion has a CI that's broken more often than not, and to tell the truth, it would be wrong to hold just the buttons responsible for it; but I'm pretty sure they're part of the problem)

    shaib, to random
    @shaib@tooot.im avatar

    @b0rk
    I've seen it last week; and I'm partly responsible for the situation that caused it.

    (Private) project decided, a few months ago, to enforce some rules on commit messages for commits in the main branch. Other branches are considered more or less private or playground, so not enforced there, but as a check that PRs must pass to be merged.

    A specific branch, dedicated to some feature, common to two people, started before the rules were set. Last week they wanted to merge it.

    appassionato, to Israel
    @appassionato@mastodon.social avatar

    Resignation letter of the High Commissioner for Human Rights in New York.

    @palestine




    shaib,
    @shaib@tooot.im avatar

    @appassionato @palestine
    For the record, that letter claims that Israel has no right to exist ("The European ethno-nationalist, settler colonial project in Palestine"). Somehow, for the Jewish population in Israel, the right of self-definition does not apply. Not to mention the blatant lie -- close to half of the Jewish population in Israel is of middle-eastern or north-African origins.

    Israel is doing a lot of bad in Gaza and the West Bank. But this is lies and misrepresentations.
    @Grandalf

    shaib,
    @shaib@tooot.im avatar

    @jburd @appassionato @palestine @Grandalf

    We can argue about that start (e.g, colonial projects are usually carried by European states, and in this project there was no such power). But referring to Israel now as such a project is an absurd lie, as much as referring to Australia or the US as such is.

    shaib,
    @shaib@tooot.im avatar

    @jburd @appassionato @palestine @Grandalf

    So, it stops being a colonial project once all the displaced are dead? Or does that have anything to do with the intents and self-definition of the "colonists"?

    But the major point, which I missed earlier is this: Are you saying that European ethno-nationalist settler colonial projects have a right to exist, and that is what we should read from the letter?

    shaib,
    @shaib@tooot.im avatar

    @appassionato @jburd @palestine @Grandalf

    That piece gets a lot of things right. It also misses some major points; the critical one: We ask about Israel's right to exist because so many in the West fail to see that it is truly denied -- in any way -- by Palestinians and their supporters. I read what you say here as "of course Israelis have a right to self determination", but that is actually not granted; efforts to specifically stop the state from forming began in 1947, right after the
    >>

    shaib,
    @shaib@tooot.im avatar

    @appassionato @jburd @palestine @Grandalf
    UN General Assembly resolution to set it up, and as far as Hamas is concerned, continue to this day.

    I agree that Israel should change. In particular, I would love to see a free Palestinian state in the West Bank and Gaza, per UN SEC resolutions. As would most of the 2 million Palestinians who are Israeli citizens, and would like to keep it that way.

    Calling Israel "a colonialist project", and chanting "from the river to the sea", work against this.

    shaib,
    @shaib@tooot.im avatar

    @WahbAllat @appassionato @jburd @palestine @Grandalf

    October 7 was a murderous terrorist attack, whose main intentions were to kill as many civilians as possible. It was exactly as justified as 9/11, and done in the same spirit.

    shaib,
    @shaib@tooot.im avatar

    @WahbAllat @appassionato @jburd @palestine @Grandalf

    We can always go remembering only the wrongs done unto us (you know about the 1929 massacre of the Jews of Hebron, right?)

    That leads nowhere.

    What, in your mind, would serve as a "[demonstration of] willingness to live in peace with the Palestinians", on the part of Israel -- and is consistent with the continued existence of Israel?

    shaib,
    @shaib@tooot.im avatar

    @jburd @WahbAllat @appassionato @Grandalf

    Genocide is when your target is to kill as many of the other side as possible. The only side in this conflict who attempted that is Hamas.

    WRT the West Bank, just a clarification: Do you mean Israel should end the occupation in agreement, like it tried in the 1990s, or unilaterally, like it did in 2005 in the Gaza strip (and, since you like punctual details, in a small part of the northern West Bank)?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • megavids
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines