• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:18
CEST 00:18
KST 07:18
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8[ASL21] Finals Preview: Two Legacies21
Community News
[TLMC] Summer 2026 Ladder Map Rotation05.0.16 patch for SC2 goes live (8 worker start)6ZeroSpace at Steam NextFest - Last free demo23Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611
StarCraft 2
General
5.0.16 patch for SC2 goes live (8 worker start) SC2 Planner - The StarCraft II Build Planner [TLMC] Summer 2026 Ladder Map Rotation StarCraft II 5.0.16 PTR Patch Notes may 26th HomeStory Cup In Early July
Tourneys
Douyu Cup 2026: $20,000 Legends Event (June 26-28) GSL CK #4 20-21th June Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Crank Gathers Season 4: BW vs SC2 Team League
Strategy
[G] Having the right mentality to improve
Custom Maps
Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 531 Experimental Artillery Mutation # 530 One For All Mutation # 529 Opportunities Unleashed
Brood War
General
Fact based Zerg Upgrade Tier List BGH Auto Balance -> http://bghmmr.eu/ STARCRAFT MOVIE - Last Night at the Command center BW General Discussion Battle cruiser feet vs Carrier fleet
Tourneys
[Megathread] Daily Proleagues CSLAN 4 is Coming! Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Why doesn't anyone use restoration? Simple Questions, Simple Answers Relatively freeroll strategies Creating a full chart of Zerg builds
Other Games
General Games
Stormgate/Frost Giant Megathread ZeroSpace at Steam NextFest - Last free demo Beyond All Reason Nintendo Switch Thread Path of Exile
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread [H]Internet/Gaming Cafe Tips and Tricks The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How To Predict Tilt in Espor…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8825 users

The Big Programming Thread - Page 1007

Forum Index > General Forum
Post a Reply
Prev 1 1005 1006 1007 1008 1009 1032 Next
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.
JimmyJRaynor
Profile Blog Joined April 2010
Canada17622 Posts
Last Edited: 2019-06-29 07:07:10
June 29 2019 06:53 GMT
#20121
On May 22 2019 00:01 Manit0u wrote:
[image loading]

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
Ray Kassar To David Crane : "you're no more important to Atari than the factory workers assembling the cartridges"
Jan1997
Profile Blog Joined April 2013
Norway671 Posts
July 06 2019 17:53 GMT
#20122
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.
Do something today that your future self will be thankful for.
TheEmulator
Profile Blog Joined July 2010
28100 Posts
July 06 2019 18:16 GMT
#20123
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.
Administrator
Manit0u
Profile Blog Joined August 2004
Poland17774 Posts
July 06 2019 21:07 GMT
#20124
If you don't know if you want to do web dev or not and still want to learn Python go along with this book:

http://www.obeythetestinggoat.com/pages/book.html#toc

It'll teach you plenty of stuff.
Time is precious. Waste it wisely.
Jan1997
Profile Blog Joined April 2013
Norway671 Posts
July 07 2019 09:20 GMT
#20125
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.


On July 07 2019 06:07 Manit0u wrote:
If you don't know if you want to do web dev or not and still want to learn Python go along with this book:

http://www.obeythetestinggoat.com/pages/book.html#toc

It'll teach you plenty of stuff.


Thanks. I will keep that in consideration.
Do something today that your future self will be thankful for.
TheEmulator
Profile Blog Joined July 2010
28100 Posts
July 12 2019 21:34 GMT
#20126
Doing "Computer organization and architecture" during the summer right now, and I can honestly say that I hate MIPS assembly.
Administrator
tofucake
Profile Blog Joined October 2009
Hyrule19221 Posts
July 12 2019 23:24 GMT
#20127
MIPS is so much simpler to grasp than x86 though.
Liquipediaasante sana squash banana
TheEmulator
Profile Blog Joined July 2010
28100 Posts
Last Edited: 2019-07-13 00:08:55
July 13 2019 00:02 GMT
#20128
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.
Administrator
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
July 15 2019 04:53 GMT
#20129
I found MIPS fun. Going to x86 after broke my mind for a bit.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
July 18 2019 09:38 GMT
#20130
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).
The harder it becomes, the more you should focus on the basics.
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
July 18 2019 18:15 GMT
#20131
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
That's the 2nd time in a week I've seen someone sig a quote from this GD and I have never witnessed a sig quote happen in my TL history ever before. -Najda
CoughingHydra
Profile Blog Joined May 2012
177 Posts
July 21 2019 19:39 GMT
#20132
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.
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
July 22 2019 10:48 GMT
#20133
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.
Pathetic Greta hater.
CoughingHydra
Profile Blog Joined May 2012
177 Posts
July 22 2019 16:06 GMT
#20134
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.
Simberto
Profile Blog Joined July 2010
Germany11898 Posts
July 22 2019 17:15 GMT
#20135
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.
Manit0u
Profile Blog Joined August 2004
Poland17774 Posts
Last Edited: 2019-07-22 20:35:43
July 22 2019 20:33 GMT
#20136
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).
Time is precious. Waste it wisely.
CoughingHydra
Profile Blog Joined May 2012
177 Posts
July 22 2019 21:17 GMT
#20137
@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.
NB
Profile Blog Joined February 2010
Netherlands12045 Posts
July 23 2019 04:27 GMT
#20138
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.
Im daed. Follow me @TL_NB
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2019-07-25 20:36:45
July 25 2019 19:07 GMT
#20139
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 +


Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
TheEmulator
Profile Blog Joined July 2010
28100 Posts
Last Edited: 2019-08-15 03:51:47
August 15 2019 03:50 GMT
#20140
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.
Administrator
Prev 1 1005 1006 1007 1008 1009 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 11h 42m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft788
ZombieGrub287
UpATreeSC 222
ProTech155
Railgan 106
SpeCial 97
BRAT_OK 82
StarCraft: Brood War
Shuttle 260
Leta 53
Dota 2
capcasts236
canceldota105
LuMiX1
Counter-Strike
summit1g7008
Super Smash Bros
PPMD35
Heroes of the Storm
Liquid`Hasu354
Other Games
Grubby4548
FrodaN994
shahzam642
C9.Mang0301
Trikslyr42
Organizations
Other Games
BasetradeTV183
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 103
• RyuSc2 26
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade1002
Other Games
• Scarra1102
• imaqtpie949
• Shiphtur370
Upcoming Events
Sparkling Tuna Cup
11h 42m
The PondCast
1d 11h
Douyu Cup 2020
2 days
Oliveira vs Trap
Jieshi vs XY
soO vs FanTaSy
TY vs Coffee
OSC
2 days
Douyu Cup 2020
3 days
Neeb vs Impact
MacSed vs Cyan
Scarlett vs Kelazhur
INnoVation vs Dear
Douyu Cup 2020
4 days
Maestros of the Game
4 days
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
4 days
Douyu Cup 2020
5 days
BSL22 NKC (BSL vs China)
5 days
[ Show More ]
Online Event
5 days
RSL Revival
6 days
RSL Revival
6 days
WardiTV Weekly
6 days
Liquipedia Results
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.