• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 11:02
CET 17:02
KST 01:02
  • 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
TL.net Map Contest #21: Winners8Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!33$5,000+ WardiTV 2025 Championship6[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" TL.net Map Contest #21: Winners Starcraft, SC2, HoTS, WC3, returning to Blizzcon! 5.0.15 Patch Balance Hotfix (2025-10-8) Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BW General Discussion [ASL20] Ask the mapmakers — Drop your questions [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review
Tourneys
[Megathread] Daily Proleagues [ASL20] Grand Finals [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1707 users

The Big Programming Thread - Page 866

Forum Index > General Forum
Post a Reply
Prev 1 864 865 866 867 868 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.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2017-03-30 23:37:35
March 30 2017 23:18 GMT
#17301
--- Nuked ---
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
March 31 2017 00:24 GMT
#17302
Thanks! That's what all the answers are talking about with typedefs, right? The ability to alias a more complicated name for a simpler name?
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Manit0u
Profile Blog Joined August 2004
Poland17420 Posts
Last Edited: 2017-03-31 06:38:40
March 31 2017 06:37 GMT
#17303
On March 31 2017 09:24 WarSame wrote:
Thanks! That's what all the answers are talking about with typedefs, right? The ability to alias a more complicated name for a simpler name?


Here's a nice example:
http://ee.hawaii.edu/~tep/EE160/Book/chap14/subsection2.1.3.1.html

And here's a more convoluted explanation:
http://stackoverflow.com/questions/10758811/c-syntax-for-functions-returning-function-pointers
Time is precious. Waste it wisely.
Manit0u
Profile Blog Joined August 2004
Poland17420 Posts
March 31 2017 10:09 GMT
#17304
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 31 2017 12:30 GMT
#17305
linear algebra question

is the column space of a matrix the same as the basis of a set of vectors that compose that matrix ?
Prillan
Profile Joined August 2011
Sweden350 Posts
March 31 2017 14:36 GMT
#17306
On March 31 2017 21:30 travis wrote:
linear algebra question

is the column space of a matrix the same as the basis of a set of vectors that compose that matrix ?

The column space is, by definition, the span of the column vectors. I have no idea what you're trying to say in the second part.
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
March 31 2017 14:57 GMT
#17307
On March 31 2017 19:09 Manit0u wrote:
https://www.youtube.com/watch?v=VgC4b9K-gYU

We are rolling this feature out to most users on March 31, and all accounts will have access by April 1.
and all accounts will have access by April 1.
will have access by April 1.
by April 1.
April 1.
April 1
April 1
April 1
April 1
.
.
.

APRIL FOOLS GUYS :D:D:D
"windows bash is a steaming heap of shit" tofucake
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
March 31 2017 16:00 GMT
#17308
On March 31 2017 23:36 Prillan wrote:
Show nested quote +
On March 31 2017 21:30 travis wrote:
linear algebra question

is the column space of a matrix the same as the basis of a set of vectors that compose that matrix ?

The column space is, by definition, the span of the column vectors. I have no idea what you're trying to say in the second part.


what I mean is

for an nxn matrix, is the basis of it's column space the same as a basis for the matrix itself.

like if I have a question that gives me 5 vectors of 5 variables each that comprise a vector space
and it asks me to find the basis of the vector space
do I just find the pivot columns and then those vectors are the basis?
CoughingHydra
Profile Blog Joined May 2012
177 Posts
Last Edited: 2017-03-31 16:32:54
March 31 2017 16:32 GMT
#17309
The expression "basis for the matrix itself" has no meaning as far as I know.

And yes, pivot columns (I assume that by this you mean the vectors you get by Gaussian elimination with only column operations) are one of the possible bases for the space the original five column vectors span.
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
March 31 2017 17:08 GMT
#17310
Afair the column space is all possible combinations of the basis. So no not the same.
TRUEESPORTS || your days as a respected member of team liquid are over
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
Last Edited: 2017-03-31 17:22:09
March 31 2017 17:21 GMT
#17311
On April 01 2017 01:00 travis wrote:
Show nested quote +
On March 31 2017 23:36 Prillan wrote:
On March 31 2017 21:30 travis wrote:
linear algebra question

is the column space of a matrix the same as the basis of a set of vectors that compose that matrix ?

The column space is, by definition, the span of the column vectors. I have no idea what you're trying to say in the second part.


what I mean is

for an nxn matrix, is the basis of it's column space the same as a basis for the matrix itself.

like if I have a question that gives me 5 vectors of 5 variables each that comprise a vector space
and it asks me to find the basis of the vector space
do I just find the pivot columns and then those vectors are the basis?


To this yes (although I think your wording is wrong) the matrix will contain n out of the infinite possible columns in the column space that is defined by the basis.
TRUEESPORTS || your days as a respected member of team liquid are over
Acrofales
Profile Joined August 2010
Spain18109 Posts
March 31 2017 17:31 GMT
#17312
Wait. Won't it depend on what pivots you choose whether your pivot columns will form a basis for your matrix?

"Pivot columns" will not automatically form the basis. If you follow a suitable algorithm then yes, your pivot columns will form the basis, but if you choose the pivots wrong (lets say, picking random elements), then you'll just end up with a mess, rather than linearly independent vectors.
emperorchampion
Profile Blog Joined December 2008
Canada9496 Posts
March 31 2017 17:47 GMT
#17313
On April 01 2017 02:31 Acrofales wrote:
Wait. Won't it depend on what pivots you choose whether your pivot columns will form a basis for your matrix?

"Pivot columns" will not automatically form the basis. If you follow a suitable algorithm then yes, your pivot columns will form the basis, but if you choose the pivots wrong (lets say, picking random elements), then you'll just end up with a mess, rather than linearly independent vectors.


This is due to numerical errors in a GE procedure though if I understand correctly
TRUEESPORTS || your days as a respected member of team liquid are over
CoughingHydra
Profile Blog Joined May 2012
177 Posts
March 31 2017 17:47 GMT
#17314
Yes, it depends what you mean by pivot columns. I assumed something like in this wiki, except, as is said in the article, you should do column operations instead of row operations.
Hanh
Profile Joined June 2016
146 Posts
April 01 2017 01:29 GMT
#17315
You can use row echelon form for column space. No need to use column operations.
Zess
Profile Joined July 2012
Adun Toridas!9144 Posts
April 01 2017 08:00 GMT
#17316
What's the best way to translate this javascript that relies on jQuery object to be pure javascript?

jQuery("div.watched-badge").parents("ol.item-section").parent("li").remove();


I have almost no javascript knowledge, but based on a 20 minute documentation read, it seems that it is very difficult to traverse parent DOM elements while trivial to traverse child elements with querySelector

It seems that my best option is to
1) grab all of the "div.watched-badge" elements of the page
2) manually loop over each element's parent until I get to "ol.item-section" and then grab it's parent and remove it

The reason why I want to do this without jQuery is that this code cleans up my youtube subscription feed of watched videos (who knows why that doesn't happen by default) and I want to turn it into a bookmark or extension, so I feel that doing it in a way that doesn't require loading jquery into the page is probably the best (right now I'm manually injecting a jquery script in from their cdn and then running that code into the console).
Administrator@TL_Zess
| (• ◡•)|八 (❍ᴥ❍ʋ)
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2017-04-01 08:31:08
April 01 2017 08:30 GMT
#17317
--- Nuked ---
plasmidghost
Profile Blog Joined April 2011
Belgium16168 Posts
April 01 2017 09:09 GMT
#17318
While not specifically about programming, I figured it would go here.
I'm trying to learn Active Directory, does anyone have any resources they recommend for someone mostly unfamiliar with it? I'm currently using Microsoft Virtual Academy but was wondering if there is anything better (not that the MVA is bad)
Yugoslavia will always live on in my heart
Prillan
Profile Joined August 2011
Sweden350 Posts
April 01 2017 10:59 GMT
#17319
On April 01 2017 01:00 travis wrote:
like if I have a question that gives me 5 vectors of 5 variables each that comprise a vector space
and it asks me to find the basis of the vector space
do I just find the pivot columns and then those vectors are the basis?

Basically, yes. (As Hanh pointed out)

Put your vectors as columns in a matrix and reduce it with Gauss-Jordan elimination. See this for an example: https://en.wikipedia.org/wiki/Row_and_column_spaces#Basis

As a former teacher in linear algebra, please take care when using the different terms. They are precisely defined and should be used as such.

"5 vectors of 5 variables": vectors don't have variables. Did you mean 5 vectors in R^5?
"it asks me to find the basis of the vector space": a basis. There are (usually) infinitely many choices for a basis.
"then those vectors are the basis": same here.
"for an nxn matrix, is the basis of it's column space the same as a basis for the matrix itself.": I don't know what "a basis for the matrix" means. Is this something your professor has defined?
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
tofucake
Profile Blog Joined October 2009
Hyrule19151 Posts
April 01 2017 15:09 GMT
#17320
On April 01 2017 17:00 Zess wrote:
What's the best way to translate this javascript that relies on jQuery object to be pure javascript?

jQuery("div.watched-badge").parents("ol.item-section").parent("li").remove();


I have almost no javascript knowledge, but based on a 20 minute documentation read, it seems that it is very difficult to traverse parent DOM elements while trivial to traverse child elements with querySelector

It seems that my best option is to
1) grab all of the "div.watched-badge" elements of the page
2) manually loop over each element's parent until I get to "ol.item-section" and then grab it's parent and remove it

The reason why I want to do this without jQuery is that this code cleans up my youtube subscription feed of watched videos (who knows why that doesn't happen by default) and I want to turn it into a bookmark or extension, so I feel that doing it in a way that doesn't require loading jquery into the page is probably the best (right now I'm manually injecting a jquery script in from their cdn and then running that code into the console).


You'd basically have to go in reverse, start with a document.getElementsByClassName('item-section') and then traverse that and pick out the watched-badge subnodes
Liquipediaasante sana squash banana
Prev 1 864 865 866 867 868 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 58m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 572
BRAT_OK 90
Codebar 45
Livibee 33
StarCraft: Brood War
Jaedong 1495
GuemChi 1465
EffOrt 1325
Stork 698
Light 607
Larva 417
Snow 411
Mini 356
Rush 223
Barracks 222
[ Show more ]
Leta 119
hero 112
sSak 111
Sea.KH 51
JYJ47
Aegong 37
Backho 34
sorry 29
zelot 26
soO 23
HiyA 15
Terrorterran 14
scan(afreeca) 12
Bale 9
Dota 2
qojqva3387
420jenkins258
syndereN218
Other Games
singsing2113
Sick375
DeMusliM361
crisheroes346
Lowko284
Hui .257
Liquid`VortiX154
oskar118
KnowMe99
XcaliburYe58
QueenE30
Trikslyr12
Organizations
Counter-Strike
PGL195
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2399
• WagamamaTV457
League of Legends
• Nemesis4222
• Jankos3067
• TFBlade809
Upcoming Events
LAN Event
1h 58m
Lambo vs Harstem
FuturE vs Maplez
Scarlett vs FoxeR
Gerald vs Mixu
Zoun vs TBD
Clem vs TBD
ByuN vs TBD
TriGGeR vs TBD
Korean StarCraft League
10h 58m
CranKy Ducklings
17h 58m
IPSL
1d 1h
dxtr13 vs OldBoy
Napoleon vs Doodle
LAN Event
1d 1h
BSL 21
1d 3h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d 6h
Sparkling Tuna Cup
1d 17h
WardiTV Korean Royale
1d 19h
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
[ Show More ]
LAN Event
2 days
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
2 days
Wardi Open
2 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
Kung Fu Cup
4 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
5 days
RSL Revival
5 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 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.