|
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. |
On May 22 2019 00:01 Manit0u wrote: i found it really cool how a very simple decision-making algorithm for the 4 ghosts in Pacman and Ms. Pac-man gives them the appearance of 4 distinct "personalities". A million dot-eating-maze-game knock-offs of Pac-man and Ms. Pacman were released by dozens of companies after Pacman came out. To the best of my knowledge none of them offered enemy "personalities" even a small fraction as good as 1980 Pacman.
+ Show Spoiler +at each intersection the Red Ghost turns to where Pacman currently is. So he is "Shadow". The Pink Ghost heads to exactly 4 tiles ahead of where Pacman currently is located. The Light Blue Ghost takes 2 locations into consideration. 2 tiles ahead of where Pacman currently is and the location of the Red Ghost. Find the vector between that location and the Red Ghost and that is the Light Blue Ghost's target location. I don't recall how the Orange ghost moves.
This is pretty cool as well. https://news.cornell.edu/stories/2017/01/engineers-eat-away-ms-pac-man-score-artificial-player
|
So I picked up Python a few days ago because I just wanted to learn a programming language from scratch. Previousely I've done a little bit of HTML in high school some 4-5 years ago and now I currently do a little bit of SQL at work. (not programming just script usage)
My question is, should I just go and learn HTML again from scratch alongside Python or should I just continue on Python alone?
I have like 0 programming skills from earlier, I just decided now's a good time to start up a new hobby aside from work.
|
28056 Posts
It completely depends on what you want to do. If you want to do web development you can (and probably should) learn HTML/CSS and Python at the same time.
If you have no interest in developing web apps you can completely ignore HTML/CSS, and just jump head first into Python.
|
|
On July 07 2019 03:16 TheEmulator wrote: It completely depends on what you want to do. If you want to do web development you can (and probably should) learn HTML/CSS and Python at the same time.
If you have no interest in developing web apps you can completely ignore HTML/CSS, and just jump head first into Python.
Right now I'm not really thinking very ahead of myself as far as what I want to do. I'm just mainly going through Python tutorials and then rebuilding code to the best of my memory and learning step by step what the rules are.
Thanks. I will keep that in consideration.
|
28056 Posts
Doing "Computer organization and architecture" during the summer right now, and I can honestly say that I hate MIPS assembly.
|
Hyrule18714 Posts
MIPS is so much simpler to grasp than x86 though.
|
28056 Posts
I'm not finding it hard to grasp at all. I'm just bored out of my mind
The rest of the course material is interesting at least, but for whatever reason I just can't bring myself to enjoy the MIPS assignments.
|
I found MIPS fun. Going to x86 after broke my mind for a bit.
|
Writing x86-64 in hex is one of the most "wtf" moments in my life, that encoding scheme is such a bitch to work with (especially if want to create tooling for it directly on a binary level).
|
On July 18 2019 18:38 sabas123 wrote: Writing x86-64 in hex is one of the most "wtf" moments in my life, that encoding scheme is such a bitch to work with (especially if want to create tooling for it directly on a binary level). What kind of hellish project have you embarked upon? Abandon ship ASAP
|
So guys, are there any freelancers here or people understanding how taxes work? I have come upon this "rent a company" service named winglio and would like to know what you guys think about it, or if you've used it. It seems very useful for freelancers who do not want to deal too much with taxes paperwork. Notice that this company is essentially only for countries using € euro.
The legal problems which could occur remind me of something like what was being discussed regarding the Uber taxi service.
Also, I don't know if this is the right thread; I posted here since I assume that here is the greatest probability that some TL programmer freelancer would read this; but this is only vaguely related to programming.
|
I dont think i understand. Many people use accountants for their taxes and dont do their taxes themself. This is standard practice and is embedded into legal framework of many countries. Is this company just about accounting or this something else? I mean there are lots of companies/people offering accounting services.
|
Yeah I don't understand either to be honest - they seem like something similar to an accountant company since they help you with the invoices, but also a sort of middleman: your customer pays them money and not you directly. Then you can withdraw your money from your account on their server to your bank account.
|
That honestly sounds kind of shady. I am not sure what exactly they are doing, but i think it is not unreasonable to assume that they are scamming either you, your clients, or the tax office in some way. None of which are good if you are involved in it.
I do not have a lot of experience with this kind of stuff, though.
|
As pretty much a freelancer myself - I work for a software house, which basically means they rent me to other companies to provide service and work as a middle-men like someone mentioned - I can only tell you that if you want your taxes and papers in order just hire an actual accountant (that's what I'm doing and pretty much all the others I know who work in similar fashion). This way you can be sure that your papers are in order, you have a point of immediate contact if you ever need help or advice etc. Also, paying an accountant is part of your operating costs so you can deduct this from the taxes.
The amount of work you'll have to put into it yourself is dependent on the kind of contract you have. I'm working on a b2b basis (self-employed, one man business) and my contract stipulates standard monthly rate, if you're going to bill by the hour etc. then there will probably be more bookkeeping involved as you'll have to track stuff more accurately and your invoice might differ every time you have to issue one. That's also why you want to hire an accountant, so you don't have to calculate everything yourself (and tracking down all possible tax deductions, rates for different things, what you can include as a cost and what not etc.) and they can tell you what you actually need to keep track of and to what degree (like driving your car to work and adding that to the invoice, which is different for every country).
|
@Simberto Yeah, it sounded a bit shady to me too, that's why I wanted to hear your opinions on this - note that on their site they mention that one needs to report the withdrawal as a secondary income to the tax authorities.
I'm actually asking for a close relative of mine who plans to switch from working in a company to freelancing.
@Manit0u Thank you very much for your informative post! It should be very helpful to my relative.
|
Man, it has been a long time since I have posted on TL.net and I found this nice thread is still on going nicely
Anybody doing Rust? Trying to get into Rust after the last 3 years of C++ / Spring Java / Golang. It was a debate between Kotlin and Rust but I think Rust is a lot more interesting.
|
I have a squarespace website with photo galleries I recently changed the gallery layout from "stack" , which was showing the images as 17-20mb versions, to "grid", which only displays 100-200kb versions which load after you click on a 30kb thumbnail. It's much more user-friendly.
However, in many occaisions, I have a problem happening:
The first time I click on an image thumbnail, the image pops up and loads into the HD (100-200kb) version as expected. When I close this popup, and click on any image thumbnail for a 2nd time, the HD version does NOT load.
This fixes, temporarily, when I refresh the page.
Here is a video of it happening: + Show Spoiler +
Squarespace is in touch with me but they seemed to have followed the replication instructions wrong so I'm waiting to hear from them again.
Do you have any idea what would cause this sort of issue? Is it something to do with my internet connection? My browser? The Ajax built into Squarespace, which I can't seem to disable with the disable ajax setting for some reason? Does it occur for you too? (I have no friends/no way to check this on other machines - PM me if you want the link to check for me -_- ).
Thanks ~
UPDATE:
Using Chrome developer tool, you can see that page data stops loading when I exit a lightbox (image popup).
Here is a video: + Show Spoiler +
Edit: longer video: + Show Spoiler +
|
28056 Posts
Got my final for computer org/architecture in the morning. Ended up enjoying the class despite being bored by MIPS in the beginning. Now I have a two week break until our regular fall semester begins and I have to take operating systems + AI
Gonna be a tough semester lol.
|
|
|
|