• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:21
CET 00:21
KST 08:21
  • 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] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy5ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Weekly Cups (March 16-22): herO doubles, Cure surprises0Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool42Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12
StarCraft 2
General
What mix of new & old maps do you want in the next ladder pool? (SC2) Weekly Cups (March 16-22): herO doubles, Cure surprises Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Potential Updates Coming to the SC2 CN Server Weekly Cups (March 2-8): ByuN overcomes PvT block
Tourneys
World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April Sparkling Tuna Cup - Weekly Open Tournament WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
Soulkey's decision to leave C9 BGH Auto Balance -> http://bghmmr.eu/ JaeDong's form before ASL [ASL21] Ro24 Preview Pt1: New Chaos ASL21 General Discussion
Tourneys
[Megathread] Daily Proleagues ASL Season 21 LIVESTREAM with English Commentary [ASL21] Ro24 Group A [BSL22] Open Qualifiers & Ladder Tours
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion 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
TL Mafia Community Thread Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books Movie Discussion! [Manga] One Piece
Sports
2024 - 2026 Football Thread Cricket [SPORT] Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
U4GM Tips Counter Enemy Gadgets Fast in Black Ops rsvsr How to Keep Reward Chains Rolling in Monopol u4gm What to Do First in MLB The Show 26 Spring
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1550 users

The Big Programming Thread - Page 966

Forum Index > General Forum
Post a Reply
Prev 1 964 965 966 967 968 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.
TheEmulator
Profile Blog Joined July 2010
28099 Posts
June 11 2018 22:34 GMT
#19301
I like bitbucket tbh. Some people are pretty against their UI tho.
Administrator
Acrofales
Profile Joined August 2010
Spain18241 Posts
June 11 2018 22:41 GMT
#19302
On June 12 2018 07:34 TheEmulator wrote:
I like bitbucket tbh. Some people are pretty against their UI tho.

I personally use bitbucket more than github, but that doesn't mean I think Microsoft is out to steal the code I do have on github.

Some friends use git lab and love it. So it's not as if there aren't any alternatives... and those are just the 3 major ones. And if you're really desperate, it really isn't *that* hard to mash together a git repository, source visualization and some automated testing tools on your own server. The main advantage of github and its competitors are its availability and convenience (and the trust that their backup system is safe... which git lab quite convincingly proved they can fuck up).
Excludos
Profile Blog Joined April 2010
Norway8243 Posts
Last Edited: 2018-06-12 07:42:37
June 12 2018 07:42 GMT
#19303
On June 12 2018 07:34 TheEmulator wrote:
I like bitbucket tbh. Some people are pretty against their UI tho.


Bitbucket is great, especially for private repositories. What github excels on in my opinion is the open and open source repositories which anyone can view at any time, download, and jump into the development of if they wish. Most git sites have some functionality which lets people do this, but nothing as good as github's.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
Last Edited: 2018-06-12 13:09:41
June 12 2018 13:08 GMT
#19304
Bitbucket is nice, not going to lie, and I don't think anything bad about GitHub but if you would of worked with any of Microsofts source tools, such as TFS then you'd understand why they're not the right company to be handling GitHub. Also I don't know how many of you use Slack, but this was recently sent to me, and I was pretty amazed at how Slack is still handling PHP (Article is from 2016 wonder if it's changed). I personally like PHP since that's how I started, but yea, I definitely thought Slack was on another architecture.

https://slack.engineering/taking-php-seriously-cf7a60065329

Slack uses PHP for most of its server-side application logic, which is an unusual choice these days. Why did we choose to build a new project in this language? Should you?

Most programmers who have only casually used PHP know two things about it: that it is a bad language, which they would never use if given the choice; and that some of the most extraordinarily successful projects in history use it. This is not quite a contradiction, but it should make us curious. Did Facebook, Wikipedia, Wordpress, Etsy, Baidu, Box, and more recently Slack all succeed in spite of using PHP? Would they all have been better off expressing their application in Ruby? Erlang? Haskell?

Perhaps not. PHP-the-language has many flaws, which undoubtedly have slowed these efforts down, but PHP-the-environment has virtues which more than compensate for those flaws. And the options for improving on PHP’s language-level flaws are pretty impressive. On the balance, PHP provides better support for building, changing, and operating a successful project than competing environments. I would start a new project in PHP today, with a reservation or two, but zero apologies.
Life?
Manit0u
Profile Blog Joined August 2004
Poland17699 Posts
June 12 2018 16:01 GMT
#19305
PHP 8 will supposedly have JIT. I wonder if it's going to help anything since most PHP processes are rather short-lived (unlike Java/JS).
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
June 12 2018 16:54 GMT
#19306
The Software Development department(s) of Microsoft has been doing great stuff lately, I'm willing to trust them on this for now. I'm not too happy with a bunch of other stuff that happens at Microsoft, but with a company as large as Microsoft there is room for both good sides and bad sides.
If you have a good reason to disagree with the above, please tell me. Thank you.
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 14 2018 02:18 GMT
#19307
Have any of you ever done a site with just OAuth? Is there anything I should be aware of? How do you link an account with different OAuths together?
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Manit0u
Profile Blog Joined August 2004
Poland17699 Posts
Last Edited: 2018-06-14 08:21:46
June 14 2018 08:19 GMT
#19308
On June 14 2018 11:18 WarSame wrote:
Have any of you ever done a site with just OAuth? Is there anything I should be aware of? How do you link an account with different OAuths together?


I've been doing stuff like that for the past 1.5 years.

Here are some things you have to look out for:

1. Sessions

How will you handle user sessions? Tokens are the most common way of handling this.

2. Authorization flow

You'll have to decide on one. Some are safer but result in more round trips to external providers, others are simpler but not as secure (account that has been disabled in the provider might still be able to use your website until next login so no instant propagation).

Here are simple explanations of those:
https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2

We decided for an auth code grant flow. Where we checked people against external provider and then issued our own token to them so we don't have to do a round trip with every request.

3. Getting user data

Just read on OpenID Connect which is a superset of OAuth.

4. Multiple providers per account

Now this is a tricky thing. It's relatively easy to create identities instead of actual user accounts when using OAuth and then just hook identities to users. The problem arises when someone who already has an account and an identity tries to log in with a different provider. There simply is no common factor that will always be there. You could try checking emails but those can be different, if someone misspelled parts of their first and last name this is a no go too.

Basically, you can do automatic user + identity creation when first logging in and then give people an option to "add other login" where they sign in with different provider and you just add an identity to the user (and now they'll be able to sign in with different providers) since you can't guarantee that you'll be able to automatically link all identities to specific user.

If you have any additional questions just fire away
Time is precious. Waste it wisely.
Manit0u
Profile Blog Joined August 2004
Poland17699 Posts
June 14 2018 08:45 GMT
#19309
This cracked me up: http://leftoversalad.com/c/015_programmingpeople/

Time is precious. Waste it wisely.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
June 14 2018 14:17 GMT
#19310
WarSame, you should take a look at how Magento does it. Here's documentation on that. One of the CMS's I've worked with that brings OAuth.

https://devdocs.magento.com/guides/v2.2/get-started/authentication/gs-authentication-oauth.html
Life?
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
June 14 2018 23:00 GMT
#19311
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.
ShoCkeyy
Profile Blog Joined July 2008
7815 Posts
June 15 2018 00:36 GMT
#19312
I've helped a few companies from startup to corp before, and been part of a couple acquisitions. The first thing would be to validate your idea by a, recognizing a need for the idea, b, recognizing a market, and c, that the market is actually growing. If you don't have money, and the idea/need is there, the money will come.
Life?
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 15 2018 03:00 GMT
#19313
On June 14 2018 17:19 Manit0u wrote:
Show nested quote +
On June 14 2018 11:18 WarSame wrote:
Have any of you ever done a site with just OAuth? Is there anything I should be aware of? How do you link an account with different OAuths together?


I've been doing stuff like that for the past 1.5 years.

Here are some things you have to look out for:

1. Sessions

How will you handle user sessions? Tokens are the most common way of handling this.

2. Authorization flow

You'll have to decide on one. Some are safer but result in more round trips to external providers, others are simpler but not as secure (account that has been disabled in the provider might still be able to use your website until next login so no instant propagation).

Here are simple explanations of those:
https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2

We decided for an auth code grant flow. Where we checked people against external provider and then issued our own token to them so we don't have to do a round trip with every request.

3. Getting user data

Just read on OpenID Connect which is a superset of OAuth.

4. Multiple providers per account

Now this is a tricky thing. It's relatively easy to create identities instead of actual user accounts when using OAuth and then just hook identities to users. The problem arises when someone who already has an account and an identity tries to log in with a different provider. There simply is no common factor that will always be there. You could try checking emails but those can be different, if someone misspelled parts of their first and last name this is a no go too.

Basically, you can do automatic user + identity creation when first logging in and then give people an option to "add other login" where they sign in with different provider and you just add an identity to the user (and now they'll be able to sign in with different providers) since you can't guarantee that you'll be able to automatically link all identities to specific user.

If you have any additional questions just fire away

Thank you. This seems like it will be difficult for me, so my questions will probably trickle in over the next few weeks

On June 14 2018 23:17 ShoCkeyy wrote:
WarSame, you should take a look at how Magento does it. Here's documentation on that. One of the CMS's I've worked with that brings OAuth.

https://devdocs.magento.com/guides/v2.2/get-started/authentication/gs-authentication-oauth.html

Thank you for the reference!

On June 15 2018 08:00 travis wrote:
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.

I can't imagine doing a startup before working in the field is a good idea. I would highly recommend working as a developer for a few years until you are at least intermediate before working for yourself.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
June 15 2018 03:38 GMT
#19314
On June 15 2018 08:00 travis wrote:
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.

If already have a product, get traction on it first. Successful Tech Startups are like 90% marketing and network, 10% everything else.

The value of your product is in its user base and nothing else.
Average means I'm better than half of you.
Manit0u
Profile Blog Joined August 2004
Poland17699 Posts
June 15 2018 08:04 GMT
#19315
On June 15 2018 12:38 WolfintheSheep wrote:
Show nested quote +
On June 15 2018 08:00 travis wrote:
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.

If already have a product, get traction on it first. Successful Tech Startups are like 90% marketing and network, 10% everything else.

The value of your product is in its user base and nothing else.


Sure, but if you're going to approach potential investors with just an idea you better have a good business plan. That requires knowing how much it will potentially cost you to get a running prototype and how long will it take (for most things you'll probably need one or two developers and one graphic designer/front-end developer because it has to look pretty and a time frame of about 6 months).
Time is precious. Waste it wisely.
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
June 15 2018 18:04 GMT
#19316
On June 15 2018 17:04 Manit0u wrote:
Show nested quote +
On June 15 2018 12:38 WolfintheSheep wrote:
On June 15 2018 08:00 travis wrote:
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.

If already have a product, get traction on it first. Successful Tech Startups are like 90% marketing and network, 10% everything else.

The value of your product is in its user base and nothing else.


Sure, but if you're going to approach potential investors with just an idea you better have a good business plan. That requires knowing how much it will potentially cost you to get a running prototype and how long will it take (for most things you'll probably need one or two developers and one graphic designer/front-end developer because it has to look pretty and a time frame of about 6 months).

Well, he said he had a valuable product. Wasn't sure if that meant he already had something, or just the idea for something.
Average means I'm better than half of you.
waffelz
Profile Blog Joined June 2012
Germany711 Posts
Last Edited: 2018-06-15 19:38:28
June 15 2018 19:36 GMT
#19317
On June 15 2018 08:00 travis wrote:
Are any of you experienced with the processes involved in creating a tech startup? I think I want to do that but I have so many questions I don't know where to start, and I don't have any money. But I do have a valuable product that has no competition and should have high demand. My main question is how I can come up with a reasonable valuation of my product, and how I can go about getting legal advice/representation with no money.


Ask your professors! Pretty much every university that’s even just halfway decent provides programs / information and counseling for students who want to create a startup: They often even have means / funds allocated to support promising cases, possibly including infrastructure, technical support, logistical support and straight up money.

EDIT: Also renaming the thread to "The big travis in the shark tank"-thread incoming? : D (shark tank was the US equivalent to the "pitch us your idea and we might invest" reality show, correct?)
RIP "The big travis CS degree thread", taken from us too soon | Honourable forum princess, defended by Rebs-approved white knights
sc-darkness
Profile Joined August 2017
856 Posts
June 16 2018 09:00 GMT
#19318
Does anyone know why this works at all? It feels unsafe yet it works.


const char* SomeMethod()
{
return "Hello!";
}


Pointer points to something that must exist. Does compiler do some magic?
Acrofales
Profile Joined August 2010
Spain18241 Posts
June 16 2018 10:01 GMT
#19319
I assume that's c++. In which case, what's the problem? You promise to return a char array and you do.
iaretehnoob
Profile Joined June 2004
Sweden741 Posts
June 16 2018 10:19 GMT
#19320
On June 16 2018 18:00 sc-darkness wrote:
Does anyone know why this works at all? It feels unsafe yet it works.


const char* SomeMethod()
{
return "Hello!";
}


Pointer points to something that must exist. Does compiler do some magic?


string literals are special and exist for the entire duration of the program.
Prev 1 964 965 966 967 968 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 10h 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft326
elazer 156
CosmosSc2 52
Codebar 18
Nina 1
StarCraft: Brood War
Artosis 584
GuemChi 450
Stork 63
LancerX 26
NaDa 8
Dota 2
monkeys_forever308
Counter-Strike
taco 1
Super Smash Bros
C9.Mang0137
AZ_Axe84
PPMD27
Liquid`Ken7
Other Games
summit1g8662
Grubby3393
shahzam665
ToD158
ZombieGrub105
Maynarde76
Trikslyr57
UpATreeSC32
JuggernautJason11
deth6
Organizations
Other Games
gamesdonequick628
Dota 2
PGL Dota 2 - Main Stream47
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 194
• davetesta23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Eskiya23 27
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• imaqtpie1092
• Scarra632
Upcoming Events
Sparkling Tuna Cup
10h 39m
Afreeca Starleague
10h 39m
Soulkey vs Ample
JyJ vs sSak
Replay Cast
1d 9h
Afreeca Starleague
1d 10h
hero vs YSC
Larva vs Shine
Kung Fu Cup
1d 11h
Replay Cast
2 days
KCM Race Survival
2 days
The PondCast
2 days
WardiTV Team League
2 days
Replay Cast
3 days
[ Show More ]
WardiTV Team League
3 days
RSL Revival
4 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
4 days
Platinum Heroes Events
4 days
BSL
4 days
RSL Revival
5 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
5 days
BSL
5 days
Replay Cast
6 days
Afreeca Starleague
6 days
Light vs Calm
Royal vs Mind
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Proleague 2026-03-22
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
Proleague 2026-03-23
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
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.