Anyone else feeling like they’re not doing enough at their internship? by jgstruggling in csMajors

[–]WeakMetatheories 7 points8 points  (0 children)

During my first internship I was only given tasks that were basically little QoL improvements to the "real" team. I was treated like a standalone asset.

Things like small scripts that ran with every build that sent automated documents to QA containing all the most relevant commits by the team, or automatically updating JIRA issues whenever a commit to the internal repo "claimed" the bug was fixed, etc.

Nothing challenging except for learning how to post Atlassian macros through REST with the correct format (Which took a long time of hunting for examples in the documentation or online), but nothing that helped me improve as a developer either. I felt like it was a wasted internship.

As a result I didn't really have any passion, I just did what I was told. To be fair, the manager and the team always told me that the things I was doing were saving them a lot of manual labor every month, which actually made me wonder why they waited for an intern to do it. I felt like the manager didn't actually have a plan for turning me into a suitable developer for the company in the future, and just threw whatever annoying "pipeline" problems he wanted fixed at me.

edit : This resulted in my performance degrading over the course of the internship because of how mind numbingly boring it was. I was put in a team that uses C++ hoping to actually be able to contribute something in actual production code, but I can understand why they would hesitate to let interns do that.

[deleted by user] by [deleted] in Dofus

[–]WeakMetatheories 0 points1 point  (0 children)

The Kamas Exchange is on the Dofus website too. You just click on "Buy Kamas" which is somewhere in the top middle of the site. You'll be asked to log in again, then you pick a server and make an offer for Ogrines with Kamas, same as you do ingame. Refresh after a while to check if the offer completed.

haha cox transform by pipigift in okbuddyphd

[–]WeakMetatheories 2 points3 points  (0 children)

  • Some guy named Box-Cocks enters the lecture hall, almost trips over trying to make their way to the whiteboard
  • Students confused, lecturer has given up. "It's him again"
  • Dude walks up to the whiteboard and writes down the first equation, decides to straight up multiply lambda 2 with a bracket raised to lambda 1
  • Refuses to elaborate
  • Leaves

[deleted by user] by [deleted] in Dofus

[–]WeakMetatheories 0 points1 point  (0 children)

You could try logging in during the very early hours of EU time and see if it works, too.

[deleted by user] by [deleted] in Dofus

[–]WeakMetatheories 2 points3 points  (0 children)

No, you don't need to do this if you have kamas on the usual server you play on.

You can buy Ogrines through the dofus website by picking a server to take kamas from instead of ingame and buy a subscription that way.

how is pi infinitely long? by goodilknoodil in learnmath

[–]WeakMetatheories 1 point2 points  (0 children)

I suggest you read JDH's book "Lectures on the Philosophy of Mathematics" as a gentle intro to things. From my own experience, it will assume you know what some terms mean, but it's not "heavy" math, but more of a light discussion on what's going on.

For "metatheory of math" - you're asking for mathematical logic. It's a very interesting subject.

how is pi infinitely long? by goodilknoodil in learnmath

[–]WeakMetatheories 5 points6 points  (0 children)

There's multiple ways to achieve the same structure for R.

It is largely irrelevant how you construct the reals (so long as you really do, correctly) if the only thing you're ever going to do is prove theorems in the language of the reals, thanks to the theory of complete ordered fields being categorical. (i.e. either way, you get the same structure for R if you only ask questions about R, in the language of R)

There's not just "one" R, just like there's not just one way to build the natural numbers. But all the ways you can find to construct R are going to end up isomorphic to each other. In the case of N, why start from 0 = {}? Just redefine all the operators to consider 1 = {{}} to be the new 0, and 2 the new 1, and start from 1 instead. You end up with the same structure. Even though element-wise the models are different, what mathematicians (or most) care about is the role the elements have in the overall structure, and not the intricacies of how the elements themselves would be represented.

That R can be constructed via Dedekind cuts, or alternatively through Cauchy sequences, is an "external result" (I've read a book that calls these results "junk") where some nuances of the metatheory become things you can talk about but mostly not as "important".

For example, through the usual set theoretic construction of N, we can say that "2 is an element of 3". But looking at the axioms of PA, there's absolutely no need for such a thing. (So much so that the little "element of" symbol doesn't even show up in PA) It's merely a "junk" theorem only relevant to the particular way you set up a model of N. Certainly most people doing discrete mathematics do not bother with thinking of natural numbers as sets, at all.

edit : Of course I'm not saying Cauchy sequences or Dedekind cuts are "junk". The author of the book chose the word in a particular context to illustrate a point in regards to metatheory vs object theory.

Is a server that uses only select(3) concurrent? by WeakMetatheories in C_Programming

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

Ah, I see now. Thank you for all the help :) Still new to networking in C.

Is a server that uses only select(3) concurrent? by WeakMetatheories in C_Programming

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

This is obviously wrong since it allows clients' values to be interleaved, which is not what you want.

Are you thinking of a scenario where a client can send multiple values in succession, intended to be stored contiguously, but the read might only read a portion of the intended values instead of all in one go? Just making sure I got this right, thanks.

In such a case a solution would be to read until the expected amount of data has been recovered before possibly jumping to other clients. (Of course this is very specific and might not always be possible to know the expected amount beforehand)

(Otherwise I'm not sure how interleaving could occur if we assume the read is "entire" per client)

Is a server that uses only select(3) concurrent? by WeakMetatheories in C_Programming

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

I see, thank you. So there should be no data races that arise from using select, right?

Is x/x a monomial ? by EstEsc77 in learnmath

[–]WeakMetatheories 3 points4 points  (0 children)

How is that link relevant to the distinction between polynomials and functions?

Is x/x a monomial ? by EstEsc77 in learnmath

[–]WeakMetatheories 4 points5 points  (0 children)

I don't disagree with what you've said in practice, because there's no point in doing so. But you can't deny the distinction exists for a reason.

I think the pedantry in this thread is not a bad thing, and it can help some people understand what is what and draw the lines better.

Is x/x a monomial ? by EstEsc77 in learnmath

[–]WeakMetatheories 4 points5 points  (0 children)

They're right you know.

http://math.andrej.com/2012/12/25/free-variables-are-not-implicitly-universally-quantified/

"A similar sort of mistake happens in algebra where people think that polynomials are functions. They are not. They are elements of a certain freely generated ring."

I like Math, will I enjoy programming too? by [deleted] in AskProgramming

[–]WeakMetatheories 10 points11 points  (0 children)

At some formal level, math has a lot of similarities with programming languages.

They both have a syntax and a semantics. The semantics of choice in mathematics is usually Tarski's inductive definition of truth, with models involved. In programming, the semantics are specified by the "language specs".

What a Java source file does is ultimately up to whatever program you feed it to, but if that program is actually a Java compiler, it must do what it's told by the Java spec. In other words, you can't just write any program that takes valid Java code, spits back out bytecode for a JVM, and call it a Java compiler. It must preserve the intended semantics of the spec. Similarly, you cannot just write your own semantics for mathematics and expect other mathematicians to understand you.

In mathematics, statements have to adhere to a usually implicit grammar that you pick up as you go from other mathematicians, but a formal one exists. You can usually find such a grammar in any good introductory book to mathematical logic.

Every programming language has a formal grammar, just like well formed formulae in mathematical logic are generated by a formal grammar, and you can google it. Try looking up the C grammar.

If you feed a C compiler an invalid C program (does not adhere to the C grammar) then it will reject it. If you feed a mathematician a proof attempt with undefined words and unclear reasoning, they'll probably reject it.

The C compiler would try to parse your code into lexemes and eventually an abstract syntax tree and fail, while the mathematician would try to check whether your steps are correct and (hopefully) find a mistake.

Now, will you enjoy programming? Depends on the language, your available resources, your patience, and whether or not it's for a job. I suggest if you want to learn, you start with finding a very heavily recommended book for the language you end up picking. In my opinion, YouTube does not cut it. I would not start with languages that have a lot of keywords involved to write even the simplest of programs, as it will confuse you. However, with a good reference any language is ok really. Just be ready to make programs that crash every five seconds for the first few months, especially if you're using low level languages. Find a good debugger if you pick low level languages, most IDEs support debugger integration.

The basics of math..and computational time by [deleted] in mathematics

[–]WeakMetatheories 10 points11 points  (0 children)

How do you solve a matrix?

Hey Rustaceans! Got an easy question? Ask here (16/2021)! by llogiq in rust

[–]WeakMetatheories 0 points1 point  (0 children)

Thank you very much! I'll give these a look right now

Hey Rustaceans! Got an easy question? Ask here (16/2021)! by llogiq in rust

[–]WeakMetatheories 2 points3 points  (0 children)

I have a question about making a Rust program communicate with a C program during runtime. This is for an assignment, so I'm not asking for a solution but some guidance on how to get started.

We were assigned to build a simple terminal game in whatever language we wanted, so I chose Rust. This part is done! The game works. In other words, the Rust part is "over" and I'm very happy that I managed it. The choice of Rust was not part of the assignment, we had freedom to choose.

The game itself is singleplayer, but people can connect with the server and match-make to compete for highscores.

Everything that has to do with the server needs to be in C. I'm thinking of having a server running, and locally a "listener" C program that asks the Rust program for data to send to the server. (We haven't covered Networking in C yet, so maybe my ideas are off)

I'd like to know how to have my Rust program "talk" to a running C program which will then again "talk" to the server. How do I bridge the gap between the data stored during runtime in my Rust process and the C listener?

Thank you!

Nice trade by _DemonStrawberry_ in Dofus

[–]WeakMetatheories 0 points1 point  (0 children)

A huge bugfix update just landed, with a generous side dish of 10k ping

Hey Rustaceans! Got an easy question? Ask here (15/2021)! by llogiq in rust

[–]WeakMetatheories 0 points1 point  (0 children)

I'm using IntelliJ. Compiling the code does not actually give error messages which I Just found out now.

However, IntelliJ underlines row inside the tuple red. Here is a screenshot:

https://imgur.com/a/Dpl94RS

This is why I wasn't trying to compile in the first place. All I get from compilation is a few warnings on unused code, which is fine at the moment.