« first day (2985 days earlier)      last day (1963 days later) » 

9:01 PM
Math is universal and beautiful.
 
Wes
looks like an image from a hacker movie, but it's just something very stupid
 
@Shafizadeh those are images, do you know SE supports that as text too? math.stackexchange.com/questions/2062755/…
 
@mega6382 that's (MathJax) exactly what I'm currently work on, to implement
 
@StatikStasis Yes, but unfortunately I can't learn from there (without context).
 
@Tpojka Oh I agree 100%
 
9:07 PM
That's why I meant when said that few of 100 here (maybe) could read it.
 
Sorry- my comment was just a general statement. It's nice when you see other languages and nothing makes sense but you recognize formulas and math.
 
I want to study math
 
@StatikStasis Its worse when you can read it but still don't know what it means :P
 
I am was good with math, I just never took any class further than 10th grade algebra
Math and Computer Science kind of go hand in hand though, right?
 
@mega6382 100% true. :D
 
9:11 PM
@Alesana I LOVE watching documentaries on math. I really enjoyed Albert Einstein's biography. I've watched every program I can find on math from BBC. I love learning new formulas and figuring out ways to use math to solve problem programmatically. But studying math as a subject by itself I dislike.
 
@Shafizadeh you mean compared to content like this: physics.stackexchange.com/questions/121879/…
 
@mega6382 LOL!
@Alesana They are useful. But you don't have to be good at math to be good at programming.
I find that a lot of people who are good at programming, end up picking up mathematical concepts and formulas in their drive to solve problems in programming.
 
@tereško ow .. well, that's such a valuable and knowledgeable content too
 
@StatikStasis I would go as far to say you don't have to be good at computer science to be good at programming, but maybe I am misappropriating what computer science is
 
I just get bored with solving math problems without context. And "Johnny had 5 apples..." scenarios is enough depth to make me want to be engaged.
I always had to study math longer in college courses than a lot of people in order to get a B in the class.
I still have my binder with every single note because I spent so much time on it.
@Shafizadeh What does "lamtakam" translate to in English?
Or what does it mean?
 
9:16 PM
hmm, I never got that far. I know that when I look at algorithms for things I need to do often I don't understand what people are referring to. It seems everyone gets it but I'm just lost
 
@Alesana I will rephrase it like this "you don't have to be good at computer science to do programming"
 
@StatikStasis it means from "a" til "z" (for Persian alphabets)
 
Although, my programming skills may (or may not) be much better than theirs, as far as writing clean manageable code, implementing security in applications, etc... but I my computer science skills are much worse
@mega6382 I suppose so. Maybe we can differentiate between good and great?
 
@mega6382 you don't have to be good at programming to do programming either.
 
Noted that @StatikStasis someone offered to buy our domain name for 1000 dollars
 
9:18 PM
@Shafizadeh So questions are about all kinds of subjects?
 
@StatikStasis yes, we're the same as SE (multiple communities in different fields)
 
@Shafizadeh You've put too much work into for that. You seem to really enjoy- I would NEVER sell it.
 
@Shafizadeh Did you throw one big middle finger?
Yeah what Statik Stasis said :P
 
:-) ..! You know, you can buy about 5 houses with 1k dollars in Iran
that's lots of money .. but yeah, I won't sell it
 
@Shafizadeh no fucking way
 
9:19 PM
@Shafizadeh Just curious. Do you ever get questions from people about questions with other religions? Asking since Iran is predominantly Islam?
@Shafizadeh Still, no.
 
@Alesana I have literally seen people who didn't even know of loops make a full fledged program, but that doesn't mean it was any good. What I will say is that having good knowledge computer science concepts helps you immensely with performance, readability and re-usability etc /cc @salathe @StatikStasis
 
@Shafizadeh You could grow the site into something really big and important.
@mega6382 I agree. My comments were only on math. Though I do know some well paid developers who did not have a degree in CS.
 
@mega6382 Are loops part of computer science?
 
@StatikStasis well, 3.5% of the whole questions are religious-ish. And yes, we've have 1 christian user which has asked a question about christianity. But it hasn't get an answer yet
 
I always thought computer science was more about algorithms to do things efficiently
 
9:22 PM
@Alesana I would hope so.
 
I don't know what computer science is then haha
 
!!wiki for loop
 
In computer science, a for-loop (or simply for loop) is a control flow statement for specifying iteration, which allows code to be executed repeatedly. Various keywords are used to specify this statement: descendants of ALGOL use "for", while descendants of Fortran use "do". There are other possibilities, for example COBOL which uses "PERFORM VARYING". A for-loop has two parts: a header specifying the iteration, and a body which is executed once per iteration. The header often declares an explicit loop counter or loop variable, which allows the body to know which iteration is being executed. For...
 
If you study CS books, topics, articles, and work on projects- basically apply the knowledge- you're going to become a strong programmer.
 
@Alesana it starts with "In computer science..."
 
9:23 PM
@mega6382 It does
 
@Shafizadeh I was interested in the reception to those topics/questions. Thanks.
 
I'm planning on doing Harvard's Open Initiative for Learning on Computer Science
After the holidays though
 
@StatikStasis 👍🏻
 
@Alesana I even consider books like GOF, POEAA, Clean code etc to be part of Computer Science
 
Huh, doing these advent of code challenges I got to a lot of situations where people were talking about optimizing their algorithms, and there they were throwing out equations and mathematical terms I didn't understand. When looking more into them a lot of computer science websites came up. I took it upon myself to assume that computer science was strictly about that, but I guess it's not.
 
9:26 PM
@Alesana I don't have a degree in comp sci. I just did my A'levels in computer studies and didn't even attempt to get admission in a university afterwards, most of my programming knowledge comes from on the job experience and reading such books /cc @StatikStasis
 
@mega6382 Do you recommend any books?
 
@mega6382 This is extremely common.
 
Also what is A Level?
 
^ A level =D
 
@Alesana It is equivalent of what high school is in US.
 
9:28 PM
.. also, it is something that flat-earthers are obsessed about
 
Wow I thought it was something way different
 
@Shafizadeh You are kidding, right?
 
@tereško lol
 
@mega6382 I ended up resorting to help from the vendor and was given something better than what I was trying to do.
 
9:29 PM
@Alesana The one I recently just bought was "design patterns: elements of reusable object-oriented software", its truly great
 
@StatikStasis sadly, I am not even joking
 
The stuff I was googling didn't work, and I was getting batty, because I was no where close to the solution or understanding WTF I was doing wrong.
 
@Alesana I have a lot of bad habits. Habits I am still working on getting rid of in my projects.
 
@Tpojka it was "Exaggeration". But you can buy one house at least
 
@tereško Oh I am very aware. It leaves me speechless.
 
9:30 PM
@Tiffany I literally spent 30 mins on that :P
 
@tereško It's truly sad... that some people think the world is round
 
@Alesana what did you thought it was?
 
@Alesana Or that we have not been to the moon.
 
@mega6382 I spent around three hours >.<
 
@Shafizadeh I have saved up something like 20x that muxh just for the initial payment to get a loan to buy an apartment
 
9:31 PM
@Alesana @mega6382 I thought it was this
 
lol
 
@tereško oh .. the exchange rate is too less there apparently
 
@StatikStasis Same here. For me it makes it hard because I am the only one who works with my code. Sometimes I do things I know are poor practice because it's nearing midnight, I've got a headache, and it's due the next day
 
Me too.
 
9:33 PM
I'm slowly working on refactoring parts. But I get busy with new features and press on sometimes continuing bad habits.
 
@StatikStasis I have far too many projects to refactor it. A couple of them I inherited and they had so many things wrong with the code that it wasn't even worth it
At this point it would have been easier to start from scratch
With one of them anyways
 
@Alesana Which is why I pay for private repos on GitHub until I refactor some of my spaghetti code rather than have people tear me apart for things I know I need to remedy.
 
Haha good call
I use bitbucket
Also, clients would flip out if they knew their source code/projects they paid for were available on github
 
Well- this is all my code.
 
@Alesana me too, cause github private repos aren't free and gitlab sucks
 
9:38 PM
@mega6382 yup
I want to start an open source project to show my code to future employers
That's part of the reason I am doing Advent of Code
I don't really have much on my Github
 
thats a very good idea
 
I'm thinking of a self hosted shop platform, it seems like all the open source ones (other than WooCommerce/Wordpress) are pretty outdated
 
Don't forget Magento.
 
If not an open source realtor listing CMS
Ah yeah
 
Shopify
 
9:43 PM
I had forgotten Magento
Shopify is open source?
 
Oh wait-
I don't know
Magento is though. It has a community version.
 
I didn't even know Magento was
Shopify isn't even self hosted though
 
@Alesana I remember there was one opencart, I think it was decent
 
No, it's not. (In reference to Shopify comment.)
 
osCommerce, Prestashop, OpenCart.
Magento is best choice probably.
 
9:45 PM
@mega6382 Open Cart is the reason I thought of it
Open Cart has so many flaws
 
I used it in like 2013, so, I don't really even remember anything about it
 
It's not so hard to work with, but the way the code is written is a little bit outdated
 
Do you use the built-in #PHP web server? Please try https://github.com/kelunik/gateway and check whether it works without issues and performs better. It can handle concurrent requests, which the built-in server can't.
 
It's very unoptimized, there aren't really any options for SEO, and there are a lot of bugs
@kelunik I'll try it out!
 
@LeviMorrison can we drop assert with exceptions instead?
This "feature" was stupid when it was introduced and remains stupid now
 
9:51 PM
Asserts with exceptions are much nicer than a warning. Why go back to that horribleness?
 
Wes
what is assert with exceptions
 
@LeviMorrison I mean, assert with an explicit exception passed
I have no problem of only keeping throwing asserts and dropping all the other fluff
 
Wes
i use it like this assert($a instanceof Foo || $a instanceof Bar, new TypeError())
i kind of liked it :B
 
It makes no sense to throw custom exception types with functionality that can be disabled
 
@NikiC Ah, I see. I use custom exceptions. What is stupid about them? It's a development aide; what's wrong with customizing that experience?
Glad to hear you are on-board with removing warnings.
 
9:53 PM
@LeviMorrison What do you use it for?
 
Wes
any subtype of Error is overkill anyway
 
If you need assert with custom exceptions I think it's very likely to be a misuse of asserts
 
Wes
i just throw new TypeError for consistency, but i am fine with any Error
 
You are just making the experience worse really
 
@mega6382 I had to use something like name[not(following-sibling::display-name) and not(preceding-sibling::display-name)] | display-name[not(preceding-sibling::name) or not(following-sibling::name)], lol
 
Wes
9:54 PM
worse than?
 
Just using the assert, or just throwing
 
function offsetGet($ndx) {
  assert(\is_int($ndx), new \TypeError());
}
 
@Tiffany lol
 
I mean, I want to put the type in the signature, but PHP won't let me.
The TypeError is similar to the experience you'd get from it being in the right place.
 
@NikiC Never used assert with custom exceptions.
 
9:56 PM
@LeviMorrison How is that an improvement over just assert(\is_int($ndx)? The only thing you did there is replace a nice error message with an empty one?
You can't catch those exceptions anyway (because they're not guaranteed)
 
damn
I can't decide what to play
 
@mega6382 what was suggested to me originally was display-name|name, but I only noticed after putting everything together that it was only pulling name and not even checking display-name. The other query was suggested to me and I put it in instead, and it worked.
 
There is no point in throwing a different exception type if the caller is not supposed to distinguish error conditions based on it
 
@tereško ONI?
 
I wabted an RPG
 
9:58 PM
Disgaea
 
I can't suggest anything you'd like presently, except PoE, maybe Grim Dawn
I've been hopped up on too much Final Fantasy lately
 
started "Pillars of Eternity" but the start is very slow, the setting is "edgy" and there is basically only "good" and "very good" alignment options for RP
 
Disgaea... =)
 
that's one of those "anime bullshit" games
 
No- it's a great game.
 
10:00 PM
also, that's chibi
 
@NikiC That was just laziness.
 
:(
 
@StatikStasis I worked with a girl who was obsessed with Disgaea, so when I hear the name, I think of her. I was friends with her at one point, then she turned out to be crazy and that friendship was over...
 
It might be... but it is good.
42 secs ago, by Tiffany
@StatikStasis I worked with a girl who was obsessed with Disgaea, so when I hear the name, I think of her. I was friends with her at one point, then she turned out to be crazy and that friendship was over...
See her crazy friend liked it. That's because you can be something besides "good" and "very good."
@Tiffany =P
 
She got jealous because I had a boyfriend who I would talk about at times, and she wasn't in a relationship... she said I was "throwing it in her face" ... then she said she was moving to the east coast and trying out women since something about "all men being crazy" or something ... o_o
 
10:03 PM
begins singing "Carolina Girls"
 
@NikiC Getting rid of warnings is the goal. If the assertion fails I need to abort, because I literally put no further thought into how the code will behave if it is false.
 
Of course, in production it is gambling.
 
@StatikStasis She also lived in Watts at the time and wanted me to come hang out. This was before I knew of the Watts riots... I didn't understand why my mom or dad went off on me about going there.
 
@Tiffany I think she liked you. Sounds like you rebuffed her affections and drove her to the East Coast.
 
10:07 PM
rofl
 
I wasn't going to say anything ... but I agree with @StatikStasis's assessment there
 
Wes
i hate illustrator tho. or float math. one of the two
that's a boolean difference gone wrong
 
Heading home- later all.
 
Wes
\o lata. thanks
 
10:09 PM
yw! Can't wait to see finished product.
 
maybe I should just go and troll someone on r/politics
 
10:34 PM
Wow. My hard drive is completely corrupted.
Never had that happen on Debian ever.
 
10:46 PM
it shouldn't have anything to do with the OS
also, congratulations on buying a new HDD
 
@Wes It's not often you see someone who is great with programming and graphic design. Props :D
 
Wes
it's the other way around... i am good at neither of them :B
 
@Alesana he just has a lot of free time
and probably wanted to be a game developer when grew up
 
A lot of people have a lot of free time, but not everyone spends it in the right way
 
Wes
don't talk of me like you know me. nobody asked you anything it's the second time today
i will stop being polite
 
10:58 PM
I guess @Wes doesn't like compliments :(
 
Wes
if you read carefully, i clearly wasn't replying to alesana
 
oh, sorry
 
11:15 PM
apparently some people do not realize the nature of public chat room ... oh well
 
@tereško There was nothing else on there. I have an SSD. Maybe a random bad block or something?
The entire boot record got toasted as well as several partitions.
 
what that sounds to me is either a failure of the controller, or the journal got scrambled .. which seems unlikely
what file system were you running on there?
ext4?
 
Yeah. Ext4. It was an encrypted disk and I bet there was a bad block somewhere. It failed to boot correctly once then when I rebooted it was completely gorked.
 
ah, it was encrypted
then maybe the key got scrambled
I have never really understood that encrypted drive idea
(as opposed to encrypting a specific partition)
 
11:39 PM
Yeah. I dont get it either. I just trust it for some reason.
Uhhh...wait a second yes I do.
It doesnt save the key. You keep it in your head. Its symmetric.
 
11:52 PM
blergh, I need to disinfect my vacuum cleaner
 
I like the one I have already
maybe buy a new roller thingie
cause that thing is going to be gross
 

« first day (2985 days earlier)      last day (1963 days later) »