• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:04
CEST 22:04
KST 05:04
  • 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
[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22
Community News
Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event11Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced9
StarCraft 2
General
Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL Revival: Season 5 - Qualifiers and Main Event StarCraft Evolution League (SC Evo Biweekly) 2026 GSL Season 2 Qualifiers $1,400 SEL Season 3 Ladder Invitational
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Do we have a pimpest plays list? AI Question ASL21 General Discussion Using AI to optimize marketing campaigns [ASL21] Ro8 Preview Pt2: Progenitors
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV OutLive 25 (RTS Game) Daigo vs Menard Best of 10 Nintendo Switch Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1638 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
Canada17491 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
Poland17743 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
Hyrule19210 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
Poland4752 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
Germany11826 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
Poland17743 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 3h 56m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 536
IndyStarCraft 172
UpATreeSC 127
BRAT_OK 70
JuggernautJason58
StarCraft: Brood War
Britney 20631
Calm 3514
ggaemo 252
Dewaltoss 118
Movie 14
Dota 2
XaKoH 562
monkeys_forever278
Counter-Strike
pashabiceps2420
Super Smash Bros
Mew2King67
Heroes of the Storm
Liquid`Hasu346
MindelVK13
Other Games
Grubby5879
B2W.Neo1734
Liquid`RaSZi1234
FrodaN1152
qojqva693
shahzam443
C9.Mang0203
KnowMe139
Hui .71
elazer62
Trikslyr50
Organizations
Other Games
BasetradeTV469
Dota 2
PGL Dota 2 - Main Stream36
StarCraft 2
angryscii 29
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Reevou 5
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 32
• RayReign 15
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• imaqtpie1965
Other Games
• WagamamaTV808
• Scarra582
• Shiphtur210
Upcoming Events
PiGosaur Cup
3h 56m
GSL
13h 26m
Classic vs Cure
Maru vs Rogue
GSL
1d 13h
SHIN vs Zoun
ByuN vs herO
OSC
1d 14h
OSC
1d 16h
Replay Cast
2 days
Escore
2 days
The PondCast
2 days
WardiTV Invitational
2 days
Zoun vs Ryung
Lambo vs ShoWTimE
OSC
3 days
[ Show More ]
Replay Cast
3 days
CranKy Ducklings
3 days
RSL Revival
3 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
3 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
3 days
BSL
3 days
Replay Cast
4 days
Sparkling Tuna Cup
4 days
RSL Revival
4 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
4 days
BSL
4 days
GSL
5 days
Afreeca Starleague
5 days
Monday Night Weeklies
5 days
Afreeca Starleague
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

Proleague 2026-05-02
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

YSL S3
Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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.