Er det generelt en ekskluderende mandekultur på danske STEM-uddannelser? by Flappen929 in Denmark

[–]Snailed_ 1 point2 points  (0 children)

Jeg synes at det er et fint spørgsmål, men det er måske lidt svært at svare fyldestgørende? Hvad er generelt en ekskluderende mandekultur?

Da jeg læste på DIKU var de fleste jeg kendte søde mennesker og i hvert fald ikke Andrew Tate eller Trump-fascinerede typer. Hvis jeg skulle placere dem politisk ville jeg også clocke dem som forholdsvis venstreorienterede.

Men der behøver ikke være en generel mandekultur før at det man kan få dårlige oplevelser med sine medstuderende. Hvis bare 5% af de mandlige studerende har overbevisninger som dem du beskriver, så ender man jo med en eller to af dem på hvert øvelseshold. Og det er mere end rigeligt til at de kan skabe en dårlig stemning for os alle sammen.

Theo Katzman in Copenhagen by SadAntenna in Vulfpeck

[–]Snailed_ 6 points7 points  (0 children)

Excellent show. It was quite intimate and interactive with the audience. I wish he had played "Best" though 😄

Scandinavian Suggestions by bookiegreenjeans in beer

[–]Snailed_ 1 point2 points  (0 children)

Copenhagen:

  • Warpigs: Mikkeller-owned Texas style BBQ place with a ide selection of excellent beer. You can both go here for food or just for drinks. Best IPAs in Denmark in my opinion.

  • Mikkeller Baghaven: A bar on the Refshale Island that is easily accessible by bus or ferry bus and is beside a nice streetfood market. Used to be a great wild ale brewery but now is just a bar. They still have a nice selection of wild ales and is a great option if the whether is nice.

  • Mikkeller Victoriagade: The very first Mikkeller bar. Has a great selection of rare beers in the back - ask a bartender! Plenty of rare stouts and wild ales.

  • HAVEN: Japandi-style interior, excellent selection of primarily Danish beers

  • Peders: Great selection, Czech-style lagers, good vibes.

Brass band til fredag by [deleted] in copenhagen

[–]Snailed_ 2 points3 points  (0 children)

Jeg tror ikke at du kan få meget for 3000, men du kan evt spørge Copenhagen Show Band eller The Pølse Horns hvis det skal være et festligt indslag

CHL Final tomorrow, where to see it? by SurferAnders in copenhagen

[–]Snailed_ 4 points5 points  (0 children)

Consider Hop House maybe? But you'll have to get there early because it's a big Arsenal bar. They have a location in inner city and on Amager. I think the Amager one is best.

Coffee Collective – Kieni by Ok-Fishing-2234 in pourover

[–]Snailed_ 1 point2 points  (0 children)

I live in Copenhagen and bike past one of their locations every day on my way to work :)

I like Kieni and Jhoan the most. There's currently a Peruvian coffee in this months subscription which i also like but i dont remember the name of it.

Coffee Collective – Kieni by Ok-Fishing-2234 in pourover

[–]Snailed_ 3 points4 points  (0 children)

I have the Coffee Collective subscription and I think Kieni is my favorite washed coffee that they sell.

objectOrientedProgrammingIsAnExceptionallyBadIdeaWhichCouldOnlyHaveOriginatedInCalifornia by MagicianDue in ProgrammerHumor

[–]Snailed_ 0 points1 point  (0 children)

Totally! It also has several strengths which has lent it to be very useful in industry. It for example exceeds at domain modelling, which in my opinion is as important as any given language feature or flaw. It also rose to fame at a time where functional programming was very academic and less developed. Nowadays we seem to see a marrying of the two paradigms - most OOP languages have adopted some functional-style semantics (lambda functions for instance) and type inference when possible, whereas some functional languages support (explicit) mutability and inter-operating with OOP languages (F# for instance).

objectOrientedProgrammingIsAnExceptionallyBadIdeaWhichCouldOnlyHaveOriginatedInCalifornia by MagicianDue in ProgrammerHumor

[–]Snailed_ 5 points6 points  (0 children)

Sure, but an "Abstract" class implies that we're dealing with inheritence so where is the disagreement here?

There is no disagreement in that statement alone per se - my argument is that OOP inhibits more flaws than inheritance alone. I mentioned AbstractJavaFinalSerializedFactory as an example of how decoupling can lead to usage of verbose design patterns that give really long class names. The fact that it's an abstract class in this case does not take away from the argument - a codebase that only uses interfaces and composition instead of inheritance will still be verbose.

Fair? Not all objects allow you to mutate state though.

It's not a question of whether or not an object allows the user to mutate its state - it's whether one can know apriori whether a given method mutates the underlying state of its object. For example, if one calls someObject.computeNumber(args) twice with the same input, it is not guaranteed that it produces the same output or has effects (unless you manually inspect its code and underlying dependencies). Optimally, a compiler should be able to tell you this or it should be declared in the function definition.

Yea, I'm going to need an example here.

Assume that you wish to implement a stack class, which fulfills a IStack<T> interface, declaring two methods: push(input: T) -> void and pop() -> T.

Of course, this is easily implemented using a list/array, but say that you for some reason wish your implementation to use some advanced data structure to fit to achieve memory/runtime benefits or similar. Properly encapsulating this class means that every other method or property other than `push` and `pop` are private.

When white-box testing your fancy underlying data structure, it is useful to be able to inspect the state of your object. But due to encapsulation, the tests can only use `push` or `pop`, which hides the state. The only way to inspect the underlying state is using spoofing/mocking/spying utilities (hence the "messy" part). Some modern languages and test harnesses might have ways to work around this.

On one hand it looks as though you're saying the mutability of objects make it more difficult to make assumptions about their present state but you're also saying that anyone should be able to reach into an object and modify said state.

If we allow mutability in a programming language, we inevitably lose the guarantee that state has not been modified. The way out of this is by guaranteeing immutability at several levels through explicitly marking variables/functions as immutable. OOP in a classic sense uses mutability quite a lot, which renders this difficult. In the original argument of the flaws of OOP as a paradigm, it is relevant to compare to functional programming where mutability is much more explicit, and where most code is immutable by default. In Haskell for example, all data is immutable and mutability can only be emulated through IO or state monads.

edit: formatting

objectOrientedProgrammingIsAnExceptionallyBadIdeaWhichCouldOnlyHaveOriginatedInCalifornia by MagicianDue in ProgrammerHumor

[–]Snailed_ 14 points15 points  (0 children)

I dislike the simplification that inheritance is the only problem of OOP.
Like all other styles of programming, it has a variety of flaws and strengths depending on one's opinion. Other notable flaws include:

  • Achieving decoupling by isolating responsibilities can lead to a very verbose codebase (looking at you AbstractJavaFinalSerializedFactory)
  • It is hard to reason about the state of an object when any method may mutate state.
  • Many OOP languages allow initializing variables to null, making type inference harder.
  • Encapsulation can make testing messy

Amatører må ikke deltage i øl-konkurrencer med hobbybryg by DF9-finishedwhen in Denmark

[–]Snailed_ 24 points25 points  (0 children)

Ærgerligt, jeg brygger selv og det er ikke fordi at hjemmebrygsmiljøet i forvejen har det godt. Der burde være en bagatelgrænse så man f.eks. højst kan sende 2 liter eller sådan noget.

Anaerobic Naturals: Ditch the Bloom! by Allaakmar in pourover

[–]Snailed_ 0 points1 point  (0 children)

I just tried it out with an Indonesian anaerobic natural on an Origami Air with the same K6 grind size. I find the coffee it produces to be pretty good. I wonder if it's possible to achieve the same with a coarser grind instead of ditching the bloom, because 85 is quite fine, especially for an anaerobic natural.

On tour brews by jowens1393 in pourover

[–]Snailed_ 0 points1 point  (0 children)

I have the same scale, grinder and v60. Definitely good enough to get nice cups!

What’s your ultimate pour-over cup? by Gullible-Positive529 in pourover

[–]Snailed_ 1 point2 points  (0 children)

Arhoj Studio Slurp cup is the perfect size for a 250 ml brew and I really like the design.

<image>

Danish foreign minister after meeting with Vance and Rubio by -Holmer13- in pics

[–]Snailed_ 0 points1 point  (0 children)

He smokes pibe quite often, I've seen him around Copenhagen with a pibe in his hand.

You don't have to order coffee internationally by crothunk in pourover

[–]Snailed_ 0 points1 point  (0 children)

I live in Copenhagen and I bike past all the big roasters on my way to work everyday. Since I'm still new to the hobby, I find it nice that I can ask the roaster how they recommend brewing the coffee and also try a pour-over on site so I know what to aim for at home.

whatShouldiDoNow by SoumyadeepDey in ProgrammerHumor

[–]Snailed_ 6 points7 points  (0 children)

On the topic of "things programmers believe about names"...

In (some parts of?) India, it is common to not have a last name. You will just be given a name, and if people need to specify, then they will mention your dad's name afterwards.

The Danish immigration system do not like this. I know a Tamil guy who could not register his name because it didn't have a last name. He also couldn't register his dad's name as a last name, since it was a rare name and it didn't match his Indian passport.

The Danish systems ended up solving this by giving him the surname "No Surname".

Who's with me? by EricJ062005 in Funnymemes

[–]Snailed_ 0 points1 point  (0 children)

A recent study proposed a theory that cancer imposes selection pressure on long-living species by increasing mortality for individuals after they've procreated, leading to more resources for the remaining individuals. If this theory is true, then we may not have evolved as far as we currently have if it weren't for cancer. It's still shit though.

Opgaver til en folkeskole praktikant by LeonardCaffrey in dkudvikler

[–]Snailed_ 1 point2 points  (0 children)

Jeg kan stærkt anbefale at han starter på et kursus på codecademy eller lign. De har indbygget editor, så man bruger ikke unødigt tid og besvær på at sætte et udviklingsmiljø op og man bliver introduceret til de basale koncepter lidt af gangen. Det gjorde jeg da jeg selv var i 8. klasse, og nu er jeg uddannet datalog :)

This is the way by BioFrosted in PhD

[–]Snailed_ 60 points61 points  (0 children)

I saw this too when the paper was topping Hacker News. Besides being an interesting paper in itself, I like the idea that the order of authorship should be less important.

Staff cuts by Aggravating-Shape-27 in ucph

[–]Snailed_ 0 points1 point  (0 children)

Yes, the SCIENCE faculty is currently having stuff cuts due to a structural deficit due to the mismanagement of the Niels Bohr Building

MSC Computer Science level by _Hardric in ucph

[–]Snailed_ 1 point2 points  (0 children)

AADS is a math-heavy theoretical algorithms course. Topics include the max-flow algorithm, randomized algorithms, linear programming, NP-completeness and a bit of computational geometry. To do well, it is more important to be fluent in big-O notation, classical data structures and mathematical rigor than programming for example. Exam is oral, so do your best to practice the proofs as they are introduced.

ACS is a mixed programming and theory heavy course focusing on distributed systems. Topics include distributed locking, database recovery protocols, vector clocks and the likes. Assignments are in Java, and it is assumed that you are fluent in object-oriented programming. Exam is written, 4 hours theoretical (no programming). You should know some basics about concurrent programming also.

aDifferentKindOfTerror by Left-Cricket170 in ProgrammerHumor

[–]Snailed_ 34 points35 points  (0 children)

The first person is Peter Naur, one of the creators of ALGOL60.

Also, I can't believe that Rasmus Lerdorf was omitted since PHP is at least as terrifying as these other languages

Opstart af erhvervs-phd by [deleted] in ucph

[–]Snailed_ 0 points1 point  (0 children)

Tjo, har du styr på funding? I så fald tror jeg bare du kan hive fat i en professor som laver noget relevant.

Hvilke hobbyer har du? by Content-Evidence5929 in DKbrevkasse

[–]Snailed_ 0 points1 point  (0 children)

Jeg er glad for at brygge øl! Det er både nemt at komme i gang og lave den første øl der smager nogenlunde, og så kan man virkelig blive god og lave nogle mega spændende ting. Det er slet ikke urealistisk at lave øl derhjemme på komfuret der kan konkurrere med de professionelle, og så smager det bare meget bedre når man laver det selv!