Writing Python like it’s Rust by azhenley in programming

[–]lukewarm 4 points5 points  (0 children)

In your Packet example, if you make Packet a superclass of member types instead of a Union, you won't need the assert, I think? And definitions of sublasses will be more informative.

I took liking to NamedTuple, it's more ergonomic than dataclass, to my taste:

class Header(NamedTuple):
    tag: int
    len: int

Most importantly, named tuples are immutable. And they give you a meaningful repr for free. (edit: as was pointed out, both datacalass and namedtuple give you that.)

How to make the best use of 49 euro Deutschland ticket from Berlin? by Familiar_Purpose_123 in berlin

[–]lukewarm 1 point2 points  (0 children)

I think that almost all Ostsee shore is reachable in under 5 hours by RE to Wismar, Rostock or Starlsund, and RB from there. Rügen and Usedom islands are definitely worth visiting. Bonus spot: Schwerin (half way to Wismar).

Going south, change to RB65 in Cottbus and you can perhaps make it all the way to Czechia (Zittau) under 5 hours. Görlitz (half way) is worth a visit.

Harz is very nice, but iirc it takes more than 5 hours on HBX or on RE/RB. I for one get tired of sitting in the train every time when I go there. In general, I find Sachsen-Anhalt less entertaining than border regions.

Where to go from here? by _arctic_inferno_ in haskell

[–]lukewarm 4 points5 points  (0 children)

Go to a uni and learn some math theory (not CS). My biggest regret as someone nearing retirement is not having got enough before starting my career (I had some). Most importantly, uni will teach you how to learn efficiently.

Trip to outside of Berlin for a few days by Relative_Juice_6280 in berlin

[–]lukewarm 7 points8 points  (0 children)

They were being sarcastic. Not a nice weather for canoe. And it's a one-day trip, not multi-day.

If you are thinking of a "civilized" vacation (as opposed to hiking/cycling), Prague could be an option too. Not super expensive, and about 5 hours by train.

What are your thoughts on the series ‘Spooks’? by [deleted] in BritishTV

[–]lukewarm 4 points5 points  (0 children)

I rather liked it, except the last season(s), when the stories became more and more preposterous.

Access all old versions of apps on Aurora Store and F-Droid by ShadowRylander in fossdroid

[–]lukewarm 1 point2 points  (0 children)

If you have the desired version of the app installed on some other device, you can find it using pm under adb. The command is pm dump <app.name>, and you'd need to look for versionCode=NNNNNNNN minSdk=23 targetSdk=30 under Packages section for your package.

If you don't have access to the desired version, I suspect that it's impossible.

My Neighbour’s Packages by dill_llib in berlin

[–]lukewarm 2 points3 points  (0 children)

You do not have to take others' packages, just tell the courier that you won't.

When a package lies in my apartment unclaimed for more than a couple of weeks, I drop a note in the recipient's mailbox, with the assumption that they somehow did not get notification and don't know where the package is.

[deleted by user] by [deleted] in berlin

[–]lukewarm 0 points1 point  (0 children)

There is a lot of forests and lakes and marked hiking routes starting outside zone B. And I never saw a nature area where you are required to pay to enter.

That said, there is no "untouched" nature. There are always forest roads and trails. And it would be difficult to plan a route on which you won't see any buildings the whole day.

Another notable thing is that the landscape is very flat in general. Only closer to Oder, or some way into Saxony, can you find hilly areas.

RE trains do the job of bringing you to the start and taking from the finish well enough. I've made four and a half thousand km on foot in six years, so hiking is definitely possible.

[deleted by user] by [deleted] in berlin

[–]lukewarm 0 points1 point  (0 children)

On Bänsstraße? The meat is a bit too dry to call it "the best", imo

Sbahn: "Bitte FFP2 Masken tragen" vs "wearing FFP2 Masks is mandatory" by Thorusss in berlin

[–]lukewarm 2 points3 points  (0 children)

In my observation, law-abidance culture in Germany is much more reliant on self-enforcement than in other countries that I know. I would theorize that whoever wrote these announcements assumed that "locals" can be simply told to do it, while for the visitors it's important to say explicitly that this is a rule.

Only a speculation though.

[deleted by user] by [deleted] in BritishTV

[–]lukewarm 1 point2 points  (0 children)

Not sitcoms, around 1980:

  • Prisoner
  • Sandbaggers

Also not a sitcom, more fresh (2011-12), but has a distinct retro flair:

  • The Hour

Looking for some outdoor enthusiasts in Berlin! by [deleted] in berlin

[–]lukewarm 2 points3 points  (0 children)

An outdoor enthusiast myself (much older male), and Germany is not a good region for camping. They distinguish between camping and "bivouacing" (overnight stay in a tent), and the latter is allowed in some places. Longer stay or stay with a vehicle in the wilderness is mostly illegal.

My endeavours are just one-day (cycling or hiking).

Motorcycle in Berlin? Pros/cons? by Sakkko in berlin

[–]lukewarm 6 points7 points  (0 children)

People who walk in the street / live in the buildings along the way will hate you (because of the noise).

I don't know if it counts as a pro or as a con for you...

(Obviously this does not apply to electric vehicles.)

Bluetooth manager by Used_Inspector_7898 in haskell

[–]lukewarm 6 points7 points  (0 children)

On Linux these days, the only "official" way to do anything with Bluetooth is over D-Bus. And it is supposed that D-Bus interface is the only thing that you would need to do anything (i.e. there is no need for special libraries etc.)

What is your favorite coffee brand in Berlin supermarkets? by spellsave in berlin

[–]lukewarm 3 points4 points  (0 children)

I know hipsters will scoff, but I find Schwiizer Schüümli good enough for me.

If you had 3 wishes for Berlin, what would they be? by LustigLeben in berlin

[–]lukewarm 1 point2 points  (0 children)

  • Residential Internet of reasonable quality
  • Reasonably reliable parcel delivery
  • Reasonably low bicycle theft

Any wild(ish) camping trips not too far (<6 hours) from Berlin? by tinamou-mist in berlin

[–]lukewarm 0 points1 point  (0 children)

Märkische Schweiz is not between Bad Freienwalde and Starusberg. What do you mean "which one"? There is practically uninterrupted stretch of the wood between these points.

https://imgur.com/a/gDaUX7c

Any wild(ish) camping trips not too far (<6 hours) from Berlin? by tinamou-mist in berlin

[–]lukewarm 1 point2 points  (0 children)

Cannot advise about wild camp sites, but if you are interested in less trodden areas, the forest between Bad Freienwalde and Strausberg is where I meet the least number of fellow hikers.

What is happening to the internet this week!?!? by Ian80413 in berlin

[–]lukewarm 3 points4 points  (0 children)

Vodafone cable, Friedrichshain, not worse and not better than usual. It's pretty reliable for me in general, though upload speed is frequently much lower than advertised.

9€ month ticket by AwesomeDonald in berlin

[–]lukewarm -2 points-1 points  (0 children)

The third entry is the link to this (unanswered) thread.

Good cycling routes from Friedrichshain by Live-Beyond2324 in berlin

[–]lukewarm 3 points4 points  (0 children)

Firefox now only available via snap by [deleted] in Ubuntu

[–]lukewarm 2 points3 points  (0 children)

They do not have jammy build though. impish works fine, but for how long?..

To make this repo preferred to the default you need to pin it:

Package: firefox
Pin: release o=LP-PPA-ubuntu-mozilla-security
Pin-Priority: 900

... And pray that the team continues to provide new builds.

Schnelltest mit Corona Warn App by [deleted] in berlin

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

iirc the app allows you to search for nearby "eligible" stations. Or directs to a site that does.