• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:22
CET 13:22
KST 21:22
  • 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
Rongyi Cup S3 - RO16 Preview3herO wins SC2 All-Star Invitational10SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)19Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
Oliveira Would Have Returned If EWC Continued StarCraft 2 will not be in the Esports World Cup Rongyi Cup S3 - RO16 Preview herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey!
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone
Brood War
General
Gypsy to Korea [ASL21] Potential Map Candidates Which foreign pros are considered the best? BW General Discussion BW AKA finder tool
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Azhi's Colosseum - Season 2
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Navigating the Risks and Rew…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1829 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
Canada17200 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
28095 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
Poland17614 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
28095 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
Hyrule19189 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
28095 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
Poland4742 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
Germany11722 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
Poland17614 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
28095 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
OSC
11:00
Season 13 World Championship
Cure vs ClemLIVE!
Solar vs TBD
Classic vs herO
WardiTV659
IndyStarCraft 128
LiquipediaDiscussion
RongYI Cup
11:00
Group A
ByuN vs TriGGeR
herO vs Rogue
RotterdaM561
Harstem260
Rex127
BRAT_OK 113
3DClanTV 71
CosmosSc2 26
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 561
Harstem 260
IndyStarCraft 128
Rex 127
BRAT_OK 113
CosmosSc2 26
StarCraft: Brood War
Calm 2795
Rain 1908
GuemChi 1117
Horang2 763
BeSt 697
Hyuk 555
Stork 498
Mini 381
Larva 371
Soma 304
[ Show more ]
ggaemo 235
Last 204
Soulkey 179
Snow 155
Zeus 117
hero 116
Mong 113
Hyun 98
Backho 79
Killer 76
Barracks 58
Sharp 57
Mind 53
Shinee 47
soO 42
Shuttle 39
Bale 38
ToSsGirL 37
Movie 30
[sc1f]eonzerg 27
JYJ 19
910 18
ajuk12(nOOB) 17
Free 16
zelot 13
Noble 12
HiyA 10
GoRush 9
Terrorterran 8
Icarus 6
Dota 2
XcaliburYe426
Dendi293
Counter-Strike
olofmeister1851
byalli864
shoxiejesuss711
x6flipin665
allub295
Other Games
Liquid`RaSZi1269
B2W.Neo997
crisheroes310
XaKoH 178
Hui .125
ToD102
Mew2King91
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 44
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Laughngamez YouTube
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 2
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos1492
Upcoming Events
RongYI Cup
22h 38m
Clem vs ShoWTimE
Zoun vs Bunny
Big Brain Bouts
1d 4h
Serral vs TBD
RongYI Cup
1d 22h
SHIN vs Creator
Classic vs Percival
OSC
2 days
BSL 21
2 days
RongYI Cup
2 days
Maru vs Cyan
Solar vs Krystianer
uThermal 2v2 Circuit
2 days
BSL 21
3 days
Wardi Open
4 days
Monday Night Weeklies
4 days
[ Show More ]
OSC
4 days
WardiTV Invitational
5 days
WardiTV Invitational
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-01-20
SC2 All-Star Inv. 2025
NA Kuram Kup

Ongoing

C-Race Season 1
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Rongyi Cup S3
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4 - TS4
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
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.