News for hackers. Stuff that matters.

throwaway_fjmr

so you are not proposing anything real then? I can pull "magic indestructible backup solution" out of my arse, too :(
Re:Slack has raised our charges by $195k per year on Thursday September 18, 2025 @02:59PM (#45293610)
They are not "other people", they are company offering services.
You are wrong and stupid on so many levels.

> A lot of people, Jews and non-Jews were killed on 10/7 (perhaps you're unaware > that the majority of casualties that day were not of Jews).

This is categorically not true.

> The end of Zionism does not mean the deaths of millions of Jews, any more than the end of Nazi Germany meant the deaths of millions of Germans (incidentally, it did because so many chose to lay down their lives in its defense, or in some cases were compelled to).

And, I wonder, how do you expect the end of Zionism?

> And this is exactly what so many who "single out" Israel are calling for; not "another genocide of Jews" as you're claiming, but a free Palestine for all.

What does this even mean? What's "Free Palestine" in this context? Free of what? Palestine as a region? Palestine as a country?

You are "westsplaining" the whole situation, mate.

<3 Sorry about your experience with the far-left lot. Their behaviour is unacceptable, and they aren't your friends.

Am Yisrael Chai.

You are right to think that the political views can be diverse. Unfortunately, if you don't get the irony, I believe you have no idea about the geography, history, or current politics of the region. It's not like Mexico and the Latinos. Far-left antifas will, of course, associate themselves with anti-Zionist, antisemitic organisatons like SJP which glorified the 7/10 attacks and align with Hamas's rhetoric.
Erm. No? The Amalekites are “just” the enemies of Israel.
I logged in around 2024-07-09 10:22 UTC, and I hope the stories in review don't get accepted. You might want to demo the product in a slightly less open way, though.
Coincidence? Or poor hygiene standards? I have been consuming raw milk from safe, controlled, legal sources in Europe for decades without any issues.
Re:Rama is a testament to the power of Clojure on Wednesday May 01, 2024 @06:06AM (#40221359)
I worked on a few OSGi projects in the early 2000s. Rama and their claims trigger funny vibes in me, OSGi meets K8s meets Clojure cult. I'm looking forward to future releases, though.
Re:Updating Gov.uk’s crown on Tuesday February 20, 2024 @05:25PM (#39447822)
What’s good about the royals?
Re:Updating Gov.uk’s crown on Tuesday February 20, 2024 @05:23PM (#39447800)
Isn’t it time to abolish the monarchy?
Re:A math professor who objects to diversity statements on Sunday January 14, 2024 @08:20AM (#38990134)
Geez dude, we are living in two very different Britains.
> I actively enjoy being interrupted to discuss something unrelated to my current task

wat

And yet, many modern, recent apps can't even encode the accented European character in my given name. Sigh.
Nope, you are looking at an article from the right-wing, anti-lockdown, COVID-sceptic Telegraph ;)
Re:GitHub’s engineering team has moved to Codespaces on Wednesday August 11, 2021 @03:41PM (#28146737)
Yeah, go work somewhere else :))))) /s

Jetbrains recently added remote capabilities to IntelliJ, I'm hoping it's going to be usable with codespaces soon.

Re:GitHub’s engineering team has moved to Codespaces on Wednesday August 11, 2021 @03:13PM (#28146348)
Bit of a tangent; I used to work for a fintech company that had a good few ex-Googlers. Their setup was similar to using Codespaces: cheap, locked-down Chromebooks for devs to type on, remotely accessible machines or cloud VMs in a well-separated network to host the monorepo, run builds etc.

It was an extremely miserable experience.

While I love the marketing materials of Codespaces and I want to believe in the superiority of remote development, I'm not yet convinced.

Re:Six Years of Professional Clojure on Monday August 02, 2021 @03:33PM (#28041543)
> In a language as open and flexible as Clojure, this information can pass through your application without issue. Clojure programs are able to be less fragile and coupled because of this.

Or this can wreak havoc :) Nothing stops you from writing Map<Object, Object> or Map[Any, Any], right?

Re:Six Years of Professional Clojure on Monday August 02, 2021 @03:27PM (#28041482)
I think what you want is a "spy" (partial mock), not a full "mock", but yes, both are possible. You can partially mock classes, i.e., specific methods only. Syntax is almost the same, instead of mock(User.class) you write spy(User.class).
Re:Six Years of Professional Clojure on Monday August 02, 2021 @03:23PM (#28041411)
I am assuming this is easier in Ruby because you can monkey patch classes?

Mockito in Java has a nifty way of doing this with Mockito.mockStatic:

  @Test
  public void mockTime() throws InterruptedException {
    LocalDateTime fake = LocalDateTime.of(2021, 7, 2, 19, 0, 0);

    try (MockedStatic<LocalDateTime> call = Mockito.mockStatic(LocalDateTime.class)) {
      call.when(LocalDateTime::now).thenReturn(fake);

      assertThat(LocalDateTime.now()).isEqualTo(fake);
      Thread.sleep(2_000);
      assertThat(LocalDateTime.now()).isEqualTo(fake);
    }

    LocalDateTime now = LocalDateTime.now();
    assertThat(now).isAfter(fake);
    assertThat(now).isNotEqualTo(fake);
  }
Or you can pass a Clock instance and use .now(clock). That Clock then can be either a system clock or a fixed value.
Re:Six Years of Professional Clojure on Monday August 02, 2021 @02:17PM (#28040553)
Can you elaborate why? To be honest, I don't have experience with large-scale Clojure codebases, but I have my fair share working on fairly hefty Python and Perl projects, and I tend to think that the parent commenter is mostly right. What makes you think they are incorrect?
Re:Six Years of Professional Clojure on Monday August 02, 2021 @02:12PM (#28040483)
I think you are mistaken. Mocking and DI frameworks are two unrelated concepts. There is nothing in Java that forces you to use a DI framework, e.g., Spring if you want to use mocks during testing.
This is effin’ beautiful.
Re:Don't Feed the Thought Leaders on Friday June 11, 2021 @08:26AM (#27472348)
How do you, or how should anyone in a similar situation learn that actions have consequences?

I work for a large (not FAANG but spatially close) ecommerce company, and I’ve yet to see substantial changes or learnings after outages or mistakes.

I often find that wishy-washy post-mortems smear responsibility and deflect accountability. This doesn’t incentivize a change in behavior, and when people blindly get more trust, they often seem to simply repeat mistakes.

I think I’ve yet to master post-mortems and transforming “I told you so”s into improvements - I’d appreciate tips and ideas, thanks!

Re:Brexit Deal Fails in Parliament on Tuesday January 15, 2019 @04:19PM (#18915429)
It bewilders me that people, including elected MPs, don't want to understand how electoral/representative democracies should work. The will of the People, yeah, right. It's like pub talk on a Friday. Grab a lukewarm ale and a bag of crisps, and cry about how great the empire once was. MPs should represent the best interest, not the lunatic dreams of their voters.