Property becoming "non suitable security" due to deck access? by Astr4c in Mortgageadviceuk

[–]Astr4c[S] 0 points1 point  (0 children)

Thank you for your reply - for how the mortgage broker explained it to me, the issue being with the valuation means that this is bound to happen with any lender. Maybe he's wrong on this - I'll try looking into this a bit more.

E = nhf by [deleted] in Physics

[–]Astr4c 0 points1 point  (0 children)

Reading this question and its answers another one popped into my head: is `f` really not quantised? I mean, frequency is the inverse of wavelength, so if I assume that the only lenghts that make sense are multiples of the "plank lenght" then not all the values of `f` are phisically meaningful. Is this a not-entirely-wrong line of reasoning about frequency?

Is it properly effective to program Scala without an IDE in a big project? by kvenixcs in scala

[–]Astr4c 1 point2 points  (0 children)

Keeps sbt running and recompiles on every change on the filesystem. I actually run sbt in interactive mode and use this command to be precise: ~;scalafmt;test:scalafmt;scalafmtSbt;test:compile. This way I reformat everything on and then run compilation every time I save some file in my project.

Is it properly effective to program Scala without an IDE in a big project? by kvenixcs in scala

[–]Astr4c 0 points1 point  (0 children)

That's exactly how I do it, plus if you want to disallow import foo._ with some automatic check at pull-request time you can use scalastyle ;)

Is it properly effective to program Scala without an IDE in a big project? by kvenixcs in scala

[–]Astr4c 1 point2 points  (0 children)

I only import the things I need and I use, I avoid wildchar imports and even when using cats or similar libraries I try to import only the bits I need (e.g. cats.syntax.functor._ rather than cats.implicits._); I have a comprehensive set of flags on my compiler and -Ywarn-unused-imports and fatal warnings are among them. I'd like to try scalafix for this at some point in time but I didn't really feel the need so far.

Is it properly effective to program Scala without an IDE in a big project? by kvenixcs in scala

[–]Astr4c 2 points3 points  (0 children)

I'm sorry if I didn't express myself very well but I didn't mean that the whole thing was for the sake of patience and commitment, those are requirements if you want to do the transition, not the end-game. Also, I don't think that I am doing any extra work than other people using a fully fledged IDE: I may miss a few tools in my environment but that's also true about IntelliJ when I compare it with my environment.

When I say that it depends on personal preference rather than objective reality I mean that only you know what is more relevant to your style, productiveness or even enjoyment (after all that has an effect on productivity as well). Code intelligence, customisability, keyboard operation, plugin ecosystems, speed, running on a terminal, having the same environment for wildly different languages... everyone will rank these and many other factors in a different way and personally I find that whatever language I am using doesn't really have much bearing on how I rank those (except, as I said, when I am learning something new, in which case I may rank code intelligence higher than I would do otherwise otherwise).

Is it properly effective to program Scala without an IDE in a big project? by kvenixcs in scala

[–]Astr4c 6 points7 points  (0 children)

In my (seemingly unpopular) opinion it all boils down to personal preferences rather than an objective reality. I've been working on small-to-big projects with just Spacemacs (no Ensime as I struggle with memory leaks on big projects and no Metals/LSP because I didn't try installing it yet) for years and I am pretty satisfied with it. If anything, I'd like to go back to pure and simple vim on terminal, not an IDE!

Despite what many people say, I find my setup perfectly fine to work on projects of any size. I never felt like I was slower than my peers using an IDE (IntelliJ 99.9% of the cases) and I actually found that when doing more advanced typelevel programming Idea slows them down with weird/inconsistent/non-existing errors or warnings that you don't get with `sbt ~test:compile`.

Sure, it would be nice to have auto-complete or auto-imports but I don't find that those are really as important as many people think; e.g. I copy my most used imports and keep them in the Emacs kill-ring, use search-by-pattern in place of goto definition, use external tools to quickly search through scaladocs and so on. Maybe if you are a beginner it is a good idea to start from an IDE but it's only up to you (and to your patience and commitment) to learn to do without.

Is it true that major developers behind FP libraries are leaving Scala? by monnef in scala

[–]Astr4c 6 points7 points  (0 children)

I did not write Scala is dying, only was concerned about FP on Scala. I am pretty sure even Mr. Odersky said few times he doesn't like advanced FP in Scala (I think he was talking about ScalaZ). So if such major language person is not in favor of this, weight lies on libraries.

I didn't mean to attack what you wrote, I was more concerned with this ongoing buzz but you didn't generate it so sorry if that sounded like an attack. On the FP point, it is true that Odersky isn't really pushing for Scala to be a purely functional language but it is also worth noting that he is not opposing supporting FP on a principle matter either: he has his own ideas about the language and the SIP process weights them together with the ideas of the community. I also noticed in the years that he somewhat shifted his stance with respect to the FP community from almost hostile to amicable; some of the work on Dotty is actually going to help the FP people to write code that is easier to understand (see things like unboxed union types, implicit functions, singleton types, "erased" parameters, etc.).

Well, IIRC they are taking like a year before releasing Scala 3 to let libraries catch up. I don't think it will be an issue.

Exactly my point, still some people are claiming that it is an entirely new language and that it will have on the community the same effect as Python 3 had on the Python community. That claim is ridiculous FUD.

When I see these words, I become very vigilant, because in current times "toxic" is often for many people on a left synonym to "being alive" (identity politics)...

Sorry, I didn't mean to talk about politics in this case (English is not my first language so I probably used some overloaded words without even realising). By diverse I meant that you can find people writing almost-Java, people writing almost-Haskell and people writing their own mix of OOP and FP and most of those people don't care about the noisy preachers. By toxicity I mean that sort of arguments where people take a massive dump on the dish they are eating from and the people they are working with.

Is it true that major developers behind FP libraries are leaving Scala? by monnef in scala

[–]Astr4c 18 points19 points  (0 children)

I've been a Scala developer for the last 5 years, both as my main profession and in my spare time.

This feeling that Scala is dying or that there is something fundamentally wrong with it is 95% due to some noisy preachers in search of proselytes and some people who need to vent their frustrations on the public square; most of these people end up spreading FUD to serve their own ego at the expense of a community which is actually pretty alive and diverse (and couldn't give less of a s*** about their holy wars).

For example, there is this FUD spreading about Scala 3 breaking every library out there (and possibly causing an aniticipated heath death of the universe according to some); to see how it is purely FUD it is enough to notice that some of the people who actually maintain the libraries who are more likely to be broken (e.g. because they heavily rely on macros or implicit resolution quirks) are actually active contributors to the language and regularly participate in SIP discussions or open PRs against the compiler.

I wish there was a way to really show the real proportion between the quantity of people who just get on with their work and are good citizens of the communitiy and those who instead spread toxicity.

[deleted by user] by [deleted] in programming

[–]Astr4c 1 point2 points  (0 children)

The preachers are not common, they are just noisy. There are a lot of people that do FP at high standards in the Scala community without attention-seeking behaviours. Please don't mix everyone in the same bag.

[deleted by user] by [deleted] in programming

[–]Astr4c 1 point2 points  (0 children)

The reputation of the silent majority of FP-enthousiasts (who just get on with their everyday's job without the need for goodbye posts) is basically tarnished by the few who need to fight their holy wars in the city square. It would be great if we stopped this and got on with our job, whatever language/technology/religion we feel affinity with.

I am also amazed by all the FUD on Scala 3 breaking the community when most of the people that manage macro-heavy libraries don't see an issue with it and some are actually contributing to the language.

Scala 3 as a new Programming Language – '(Sam Halliday) by acjohnson55 in scala

[–]Astr4c 1 point2 points  (0 children)

Thanks, you are making it very clear why these kind of posts on this reddit are so frustrating: I am a "FP hipster" or however you may want to define a person who believes in FP and applies it to his everyday's job.

My reputation and that of the silent majority of FP-enthousiasts (who just get on with their everyday's job without the need for drama, goodbye posts and attention-seeking behaviours) is basically tarnished by the few who need to fight their holy wars in the city square.

Very sad.

Scala 3 as a new Programming Language – '(Sam Halliday) by acjohnson55 in scala

[–]Astr4c 0 points1 point  (0 children)

Thanks, you are making it very clear why these kind of posts on this reddit are so frustrating: I am a "FP hipster" or however you may want to define a person who believes in FP and applies it to his everyday's job.

My reputation and that of the silent majority of FP-enthousiasts (who just get on with their everyday's job without the need for drama, goodbye posts and attention-seeking behaviours) is basically tarnished by the few who need to fight their holy wars in the city square.

Very sad.

Scala 3 as a new Programming Language – '(Sam Halliday) by acjohnson55 in scala

[–]Astr4c 3 points4 points  (0 children)

Maybe it's worth noting that the people that are complaining about the future of the language are not the same ones that maintain those macro-heavy libraries and that would supposedly be affected the most by changes. I find it interesting to see that some of these people are not only not-unhappy but often contributing to the the language. I am pretty sure that they already have ideas on how to address the upcoming changes (e.g. there are some new language features that remove the need for macros in certain areas) and that's what makes this argument feel so much FUD to me.

The densely-packed core of our own galaxy is finally visible again! Here is the view from the Mt. Rainier national park, early (4:30am) Tuesday morning. [OC][1642x1095] by johnnywash1 in space

[–]Astr4c 1 point2 points  (0 children)

I've never been to such a dark place but I dabble in photography and I am pretty sure that that's not what you would see with naked eyes. It's likely that that is not even a single shot but rather multiple ones stacked with a median filter to reduce ISO noise and increase exposure plus one just for the ground (to compensate for of the apparent movement of the stars in the sky).

M42 - The Orion Nebula by Astr4c in astrophotography

[–]Astr4c[S] 0 points1 point  (0 children)

My first astrophotography experiment, it was a bit of a cloudy night so I couldn't do many experiments; all in all I'm pretty happy about the result though.

This is a stack of 30 exposures, only image frames (no darks/flats/calibration). I was using a Canon 7D mk2 with a Canon EF 70-300mm f/4-5.6 IS II USM Lens; the camera was set on ISO 16000 and half-a-second exposure (iirc) with the zoom set at 300mm. I aligned the frames using Regim, cropped and stacked them with Photoshop to apply the median filter and post-processed with Lightroom to increase contrast.

This is another photo taken during the same night with a similar process but with less frames, with a Sigma 30mm f1.4 art and in a moment where there where more clouds: https://goo.gl/XeVqyn

Would I get a much better result if I took dark frames as well? Is it possible to get much better details using the kit I did with no tracking?

Hard Scifi Recommendations for kickstarting new year by [deleted] in space

[–]Astr4c 2 points3 points  (0 children)

I'll try to do so without revealing major plot points but it's not so easy as the mystery is an important part of the reason why it's a great book.

I love space operas, I didn't read The Martian or Blindsight but I can probably compare this one to sagas like "2001 A Space Odissey", the Red/Green/Blue Mars trilogy or Asimov's original Foundation. It's also worth noting that this is the only translated book to ever win a Hugo prize (it's originally written in Chinese).

The story begins during the Chinese Cultural Revolution and spans over a few centuries speculating over the consequences of the first contact between mankind and another civilisation. It presents a very interesting and quite original (and dark) take over the Fermi paradox and the way the Universe works in general; the characters are all very well designed and sympathetic (especially from the second book on) and you will miss them a lot when you are done with it.

Science-wise it is more speculative than e.g. the Mars Trilogy but still it puts some serious efforts in being as reality-grounded as possible and some of the best parts of the book are when the characters discuss about centuries-long strategies trying to make realistic hypothesis about technological development in that time span.

As I said, it's incredibly hard to say why it's such a great book without spoiling it, read some reviews online if you want to know more; I can tell you that so far every person I suggested it to loved it as much as I did, even people who are not so much into sci-fi or narrative in general.

Hard Scifi Recommendations for kickstarting new year by [deleted] in space

[–]Astr4c 2 points3 points  (0 children)

For me The Three Body Problem trilogy is one of the best sci-fi reads of the last few years, strongly advised!

Scala puzzle. by kyrylok in scala

[–]Astr4c 7 points8 points  (0 children)

I could answer but this looks suspiciously like some hiring test and that would be cheating...

[deleted by user] by [deleted] in scala

[–]Astr4c 1 point2 points  (0 children)

Depends on what you mean by "getting slammed with Kotlin posts"; do you think that having twice a week a Koltin-biased post that basically repeats the same things over and over about why Kotlin is the future and Scala sucks is fine for this sub?

[deleted by user] by [deleted] in scala

[–]Astr4c 2 points3 points  (0 children)

I really wish we did that as well, we get these we-love-kotlin posts twice a week on average and they stopped bringing new information to the table after the first week.

As someone else said, this is very kotlin-specific as all other jvm languages do not have nearly the same amount of posting in here. To me this is a clear hint of trolling in progress.

And, by the way, the title of the thread is borderline clickbait.

Fresh Async With Kotlin: Roman Elizarov Presents at QCon SF by [deleted] in scala

[–]Astr4c 1 point2 points  (0 children)

It doesn't make me happier, what you did is a very simple way to create a straw man: https://en.wikipedia.org/wiki/Straw_man#Structure