• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:01
CET 15:01
KST 23:01
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA14
StarCraft 2
General
SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3: RO16 results & RO8 bracket RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
2v2 maps which are SC2 style with teams together? Data analysis on 70 million replays soO on: FanTaSy's Potential Return to StarCraft BGH Auto Balance -> http://bghmmr.eu/ A cwal.gg Extension - Easily keep track of anyone
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread
Dota 2
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 Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1938 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
Canada17029 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
28094 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
Poland17450 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
28094 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
Hyrule19159 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
28094 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
Poland4733 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
Germany11640 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
Poland17450 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
28094 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
Wardi Open
14:00
Bonus Weekend Qualifier
WardiTV63
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 368
MindelVK 57
trigger 39
StarCraft: Brood War
Rain 16112
Sea 10192
Calm 7849
Horang2 3244
GuemChi 1658
Mini 1055
BeSt 712
Stork 706
Pusan 692
firebathero 612
[ Show more ]
Larva 279
PianO 241
Leta 224
Light 199
hero 120
Last 110
Barracks 66
ToSsGirL 65
Killer 54
Backho 53
JulyZerg 50
Sharp 44
Sea.KH 44
soO 35
Terrorterran 27
Noble 23
SilentControl 19
yabsab 14
scan(afreeca) 13
Hm[arnc] 13
Sacsri 12
ajuk12(nOOB) 11
HiyA 9
Bale 6
Shine 5
Britney 0
Dota 2
Gorgc7585
singsing1648
qojqva1133
Dendi980
XcaliburYe189
League of Legends
Reynor83
Counter-Strike
ScreaM784
x6flipin577
allub253
oskar153
Heroes of the Storm
Khaldor283
Other Games
B2W.Neo2212
crisheroes478
Fuzer 324
Pyrionflax224
Hui .165
Dewaltoss24
Organizations
Dota 2
PGL Dota 2 - Main Stream29039
StarCraft 2
ComeBackTV 1228
StarCraft: Brood War
lovetv 17
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH167
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 4185
• WagamamaTV351
• lizZardDota238
League of Legends
• Nemesis955
Upcoming Events
IPSL
5h 59m
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
5h 59m
StRyKeR vs Artosis
OyAji vs KameZerg
OSC
8h 59m
OSC
18h 59m
Wardi Open
21h 59m
Monday Night Weeklies
1d 2h
OSC
1d 8h
Wardi Open
1d 21h
Replay Cast
2 days
Wardi Open
2 days
[ Show More ]
Tenacious Turtle Tussle
3 days
The PondCast
3 days
Replay Cast
4 days
LAN Event
5 days
Replay Cast
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-11-21
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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 © 2025 TLnet. All Rights Reserved.