• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 00:45
CEST 06:45
KST 13:45
  • 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
[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9
Community News
Weekly Cups (Sep 13-20): herO scores triple2BSL Season 2313Weekly Cups (Sep 7-12): SHIN, ByuN, MaxPax double down1StarCraft open world shooter announced at BlizzCon101Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10
StarCraft 2
General
How do you feel about the StarCraft shooter announcement at BlizzCon 2026? Balance hotfix patch 5.0.16b (July 16) Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (Sep 13-20): herO scores triple The Death of Cheese: From a Professional Cheeser
Tourneys
2026 GSTL Grand Finals ScienceCraft (October 24-25) - Live Event Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
Mutation # 544 Double Trouble The PondCast: SC2 News & Results Mutation # 543 Enhanced Defenses Mutation # 542 The Ascended
Brood War
General
an AI researcher's take on the ladder bot Bot on ladder BW General Discussion BSL Season 23 Syncronization issues and can't find games
Tourneys
[Megathread] Daily Proleagues [ASL22] Ro8 Day 2 [ASL22] Ro8 Day 1 [IPSL] IPSL is Back With Winter 26-27!
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Warcraft III: The Frozen Throne EVE Corporation Diablo IV
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread All you football fans (soccer)!
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Violent-Cooperative Play and…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9162 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
Canada17873 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
28103 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
Poland17845 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
28103 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
Hyrule19257 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
28103 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
Poland4769 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
Germany12005 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
Poland17845 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
28103 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 3h 16m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft607
RuFF_SC2 258
StarCraft: Brood War
Britney 9137
PianO 399
actioN 196
Stork 140
Sea.KH 138
Barracks 35
ggaemo 27
Icarus 8
Dota 2
NeuroSwarm192
Heroes of the Storm
Trikslyr51
Other Games
summit1g9375
JimRising 613
PiGStarcraft275
ViBE193
Maynarde166
Sick98
ArmadaUGS62
Mew2King35
Organizations
Other Games
gamesdonequick510
StarCraft: Brood War
Afreeca ASL 332
[ Show 9 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2133
Upcoming Events
GSL
3h 16m
Yamato Cup
10h 16m
BSL Open Qualifier
14h 16m
BSL Open Qualifier
14h 16m
OSC
18h 16m
Replay Cast
19h 16m
Afreeca Starleague
1d 5h
Soma vs Jaedong
WardiTV Weekly
1d 6h
Monday Night Weeklies
1d 11h
Sparkling Tuna Cup
2 days
[ Show More ]
Afreeca Starleague
2 days
Leta vs Soulkey
PiGosaur Cup
2 days
Kung Fu Cup
3 days
The PondCast
4 days
Replay Cast
4 days
CranKy Ducklings
6 days
Online Event
6 days
FEL
6 days
BSL: Ladder Tournament
6 days
Liquipedia Results

Completed

Acropolis #5 - GSA
Blizzard Classic Cup 2026
Calamity Invitational

Ongoing

ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3

Upcoming

Acropolis #5 - GSB
Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Custodian Cup
Copium Cup
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
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.