troye888

joined 1 year ago
[–] [email protected] 5 points 9 months ago

I still am not sure what to think of this entire thing. It feels that at a certain point someone started playing some circus music, and they forgot to turn it off.

[–] [email protected] 3 points 1 year ago

Yup this, if you would like more help we need the code, or at least a minimal viable reproduction scenario.

[–] [email protected] 17 points 1 year ago

I might be open to the idea, but it would need to be a trustworthy company that doesn't cancel stuff left and right. An ide would be too annoying to switch constantly to take this risk.

[–] [email protected] 3 points 1 year ago (1 children)

(What do (you) mean? ( Lisp certainly has its (downsides) and (upsides)))

[–] [email protected] 3 points 1 year ago

This seems more focused on commercial license holders. here paying for your ide is not that uncommon, and also the amount of revenue to be gained is a lot higher. That being said I always found it a bit weird that jetbrains didnt make clion free for non commercial use as they did with pycharm/intelij.

[–] [email protected] 5 points 1 year ago

Started only 2 years ago, so have some ways to go.

[–] [email protected] 3 points 1 year ago

I'll be starting with the andrej karpathy neural network series. Might not be reading per se, but I find it high time I actually go through and learn fully how each part of a neural net works together, instead of focusing only on small parts.

[–] [email protected] 2 points 1 year ago

I have found it nice to use for large types (nested containers, lambdas) which are only used once, and I would not necessarily want a typedef. However I also dont like using it too much its basically trading up coding speed for reading speed. And tile and time again it has been found that the latter one is done a lot more.

 

Since c++11 it has been possible that instead of declaring your function as "int name(arguments);" you can now do "auto name(arguments) -> int;". The place I work at has it as style rule that all functions need to be declared that way. Now obviously this is not that large of a thing, and a consistent style is more important than my opinion here. But this has always felt like a weird thing, adding extra bloat to reading code. Anyways looking around I saw some positives to this construction, generally with the use of long return types, that are paramount when using templates. Here the benefit is that the function name is not hidden behind multiple template declarations, which does seem like a good argument. Also lamndbas generally use this. However I personally see some negatives here with using this foe every function, namely:

  • extra bloat when typing/reading the code. This however could be automated to switch between the needed representations. It currently isent so I personally have ti type the auto and trailing return type manually, its not a lot, but still. Also reading code has become a bit more annoying if you have a lot of function overrides as you now have to first look which block of declarations have the smae function name and then parse which one has the correct return type.
  • inconsistency with other typed programming languages: This one is probably why it irks me, but (and correct me on this) I dont know of a c style typed programming language that supports this type of syntax. Python has typehints(which you should use, please), which are declared after the function, and I remember Haskell also has their return type after the function name. But both of thede languages serve a different function than c++. More similar languages like c# and java dont support trailing return types.

Anyway enough of me ranting, I would like to know wath the other opinions here are. And whether this rant is missing se important arguments?

[–] [email protected] 2 points 1 year ago

Those certainly also look nice, did not notice those

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I have been out of the ml world for a bit (like 6months lol ...) And I already feek way out if date. It seems like I should pick up the vicuna llm, didnt want to touch llama initially due to the legal problems with it. I thought that would be a problen for a while, and then they went and solved it. Somehow even missed the news of it, most likely due to the enormous amount of news comming from the ml world (I might need a model to abbreviate it). Anyways thanks for the article I know what to do this weekend.

[–] [email protected] 2 points 1 year ago

The second part has some of this, but not as in depth as i'd like.

[–] [email protected] 4 points 1 year ago (2 children)

Back in the day before university (around 6 years ago) I got recommended a mooc(massive open online course) by the university of Helsinki. I used this course to get started with learning to program, and to find out whether it was something for me. It has been some time, and it seems they update the course but I hope it can help you too in learning. Here is the link: https://java-programming.mooc.fi/. It really starts from 0, with setting up te environment which is nice. It is in java using the netbeans ide which some would call antique, but in my opinion that does not really matter to start to learn.

view more: next ›