• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:06
CET 16:06
KST 00:06
  • 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
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation12Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion What happened to TvZ on Retro? Brood War web app to calculate unit interactions [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33 Beyond All Reason
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
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
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2278 users

The Big Programming Thread - Page 738

Forum Index > General Forum
Post a Reply
Prev 1 736 737 738 739 740 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.
Nyxisto
Profile Joined August 2010
Germany6287 Posts
Last Edited: 2016-06-20 02:52:21
June 20 2016 02:51 GMT
#14741
On June 19 2016 15:10 WarSame wrote:
To be honest, I couldn't properly explain because it was mostly blindly following instructions online

I have enabled my wireless in the past and that didn't work.

I will try that tomorrow and report back. Thanks for the recommendation



there's a driver for that specific adapter on github

https://github.com/abperiasamy/rtl8812AU_8821AU_linux
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 20 2016 03:16 GMT
#14742
On June 20 2016 11:51 Nyxisto wrote:
Show nested quote +
On June 19 2016 15:10 WarSame wrote:
To be honest, I couldn't properly explain because it was mostly blindly following instructions online

I have enabled my wireless in the past and that didn't work.

I will try that tomorrow and report back. Thanks for the recommendation



there's a driver for that specific adapter on github

https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Oh... wow, thanks! That is very fortunate.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
TheEmulator
Profile Blog Joined July 2010
28093 Posts
June 20 2016 04:05 GMT
#14743
github saves lives
Administrator
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 21 2016 03:00 GMT
#14744
On June 20 2016 11:51 Nyxisto wrote:
Show nested quote +
On June 19 2016 15:10 WarSame wrote:
To be honest, I couldn't properly explain because it was mostly blindly following instructions online

I have enabled my wireless in the past and that didn't work.

I will try that tomorrow and report back. Thanks for the recommendation



there's a driver for that specific adapter on github

https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Unfortunately, that driver does not work for me. They say they have not tested it for 16.04 so I think that's what the problem is. Does anyone have any more ideas? Should I just fresh reinstall or something?
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Nyxisto
Profile Joined August 2010
Germany6287 Posts
June 21 2016 03:34 GMT
#14745
what is the specific problem when trying to install it on 16.04?
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
June 21 2016 04:05 GMT
#14746
It could not find dkms.conf. I did not check if the file existed, however.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
June 22 2016 14:32 GMT
#14747
Do you have any experience with Ruby on Rails?

I have a bit of a problem. I'm using the bootstrap-sass gem and all of bootstrap is working fine except for the glyphicons. I can access them via web and all but for some reason they won't display and I have absolutely no idea why. I've tried every solution I could find on SO and on the web in general and nothing seems to be working for me.

Did any of you run into similar problem before?
Time is precious. Waste it wisely.
carmon
Profile Joined December 2010
United States220 Posts
Last Edited: 2016-06-22 15:50:54
June 22 2016 15:45 GMT
#14748
On June 22 2016 23:32 Manit0u wrote:
Do you have any experience with Ruby on Rails?

I have a bit of a problem. I'm using the bootstrap-sass gem and all of bootstrap is working fine except for the glyphicons. I can access them via web and all but for some reason they won't display and I have absolutely no idea why. I've tried every solution I could find on SO and on the web in general and nothing seems to be working for me.

Did any of you run into similar problem before?


Are you having this issue in production? If you are experiencing this issue in production, I might know what the issue is as I ran into the same thing when deploying a web app on my production server.

Edit - Derp ... it is too early in the morning. I reread your message and I assume you have deployed it on a server so it should be in production. I'll pm you what I did to fix the issue.
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
Last Edited: 2016-06-22 19:19:51
June 22 2016 16:38 GMT
#14749
I have it in development and production envs... I don't know enough about rails (or ruby for that matter) to solve it on my own at the moment.
Time is precious. Waste it wisely.
amazingxkcd
Profile Blog Joined September 2010
GRAND OLD AMERICA16375 Posts
Last Edited: 2016-06-27 06:05:16
June 27 2016 06:05 GMT
#14750
has anyone played with this? https://www.stockfighter.io/


not that i am searching for a job (already have a kickass one atm), but i thought it is a cool recruiting idea
The world is burning and you rather be on this terrible website discussing video games and your shallow feelings
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
June 27 2016 12:43 GMT
#14751
On June 27 2016 15:05 amazingxkcd wrote:
has anyone played with this? https://www.stockfighter.io/


not that i am searching for a job (already have a kickass one atm), but i thought it is a cool recruiting idea


Haha. Just came upon this today and wanted to post it here but you ninja'd me hard
Time is precious. Waste it wisely.
amazingxkcd
Profile Blog Joined September 2010
GRAND OLD AMERICA16375 Posts
June 27 2016 20:54 GMT
#14752
ITS HAPPENING, ITS HAPPENING BOYS

https://www.microsoft.com/net/
The world is burning and you rather be on this terrible website discussing video games and your shallow feelings
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
June 27 2016 21:03 GMT
#14753
visual studio is free now?
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
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
June 27 2016 21:09 GMT
#14754
--- Nuked ---
TheEmulator
Profile Blog Joined July 2010
28093 Posts
Last Edited: 2016-06-27 21:23:03
June 27 2016 21:13 GMT
#14755
On June 28 2016 06:03 solidbebe wrote:
visual studio is free now?

.NET core 1.0 was released and it now has full support for developers on Linux/OSX systems (as well as mobile). It's a pretty huge deal for .NET devs.
Administrator
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
Last Edited: 2016-06-27 21:15:24
June 27 2016 21:14 GMT
#14756
Does it mean that doing C# on Linux will actually be feasible now? Or is the .Net core missing some core libraries (all pun intended) widely used in modern development (LinQ and shit)?
Time is precious. Waste it wisely.
TheEmulator
Profile Blog Joined July 2010
28093 Posts
Last Edited: 2016-06-27 21:17:23
June 27 2016 21:16 GMT
#14757
On June 28 2016 06:14 Manit0u wrote:
Does it mean that doing C# on Linux will actually be feasible now? Or is the .Net core missing some core libraries (all pun intended) widely used in modern development (LinQ and shit)?

That's answered here I think https://www.microsoft.com/net/core/platform

Multiple language support with C#, VB, F# and modern constructs like generics, Language Integrated Query (LINQ), async support and more.
Administrator
amazingxkcd
Profile Blog Joined September 2010
GRAND OLD AMERICA16375 Posts
June 27 2016 21:18 GMT
#14758
https://blogs.msdn.microsoft.com/dotnet/2016/06/27/announcing-net-core-1-0/

blog post about the .net core 1.0 release
The world is burning and you rather be on this terrible website discussing video games and your shallow feelings
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
June 27 2016 21:29 GMT
#14759
Relevant section:


The major differences between .NET Core and the .NET Framework:

  • App-models — .NET Core does not support all the .NET Framework app-models, in part because many of them are built on Windows technologies, such as WPF (built on top of DirectX). The console and ASP.NET Core app-models are supported by both .NET Core and .NET Framework.
  • APIs — .NET Core contains many of the same, but fewer, APIs as the .NET Framework, and with a different factoring (assembly names are different; type shape differs in key cases). These differences currently typically require changes to port source to .NET Core. .NET Core implements the .NET Standard Library API, which will grow to include more of the .NET Framework BCL APIs over time.
  • Subsystems — .NET Core implements a subset of the subsystems in the .NET Framework, with the goal of a simpler implementation and programming model. For example, Code Access Security (CAS) is not supported, while reflection is supported.
  • Platforms — The .NET Framework supports Windows and Windows Server while .NET Core also supports macOS and Linux.
  • Open Source — .NET Core is open source, while a read-only subset of the .NET Framework is open source.

Time is precious. Waste it wisely.
Manit0u
Profile Blog Joined August 2004
Poland17432 Posts
Last Edited: 2016-06-28 11:17:04
June 28 2016 11:13 GMT
#14760
I must say I'm more and more in love with RoR so far. Not doing anything fancy for the moment, just blindly trying things out and I'm constantly amazed that it just works (it's my first contact with Ruby).

That's why I'd like to ask for a bit of advice... I have this piece of code that does what I want it to but I think it's not very efficient. Is it fine or is there a better way of implementing it?


class Warehouse < ActiveRecord::Base
has_many :item_locations, inverse_of: :warehouse, dependent: :delete_all
has_many :items, through: :item_locations
end



class Item < ActiveRecord::Base
has_many :item_locations, inverse_of: :item, dependent: :delete_all
has_many :warehouses, through: :item_locations

def quantities
data = {}

self.warehouses.each do |warehouse|
key = warehouse.name + ' (' + warehouse.code + ')'

data[key] = {
:in_stock => self.item_locations.items_in_stock(warehouse).sum(:quantity),
:inbound => self.item_locations.items_inbound(warehouse).sum(:quantity),
:outbound => self.item_locations.items_outbound(warehouse).sum(:quantity),
:reserved => self.item_locations.items_reserved(warehouse).sum(:quantity),
}
end

data
end
end



class ItemLocation < ActiveRecord::Base
belongs_to :item, inverse_of: :item_locations
belongs_to :warehouse, inverse_of: :item_locations

scope :items_in_stock, ->(warehouse) { where(warehouse: warehouse, in_stock: true) }
scope :items_inbound, ->(warehouse) { where(warehouse: warehouse, inbound: true) }
scope :items_outbound, ->(warehouse) { where(warehouse: warehouse, outbound: true) }
scope :items_reserved, ->(warehouse) { where(warehouse: warehouse, reserved: true) }
end
Time is precious. Waste it wisely.
Prev 1 736 737 738 739 740 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 55m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 350
TKL 341
Reynor 49
mcanning 46
StarCraft: Brood War
Britney 32905
Rain 4173
actioN 1647
Horang2 1446
Jaedong 1184
Shuttle 522
Stork 472
EffOrt 303
firebathero 261
Leta 114
[ Show more ]
Barracks 105
Shinee 97
ggaemo 96
Hyun 80
PianO 66
LaStScan 65
JYJ49
Shine 49
Mong 31
Rock 25
Movie 24
ToSsGirL 22
Bale 20
zelot 15
HiyA 10
soO 10
sorry 8
Sacsri 7
Dota 2
Gorgc5504
qojqva1773
Dendi1127
XcaliburYe145
LuMiX0
Counter-Strike
oskar115
Heroes of the Storm
Khaldor136
Other Games
B2W.Neo1782
DeMusliM470
Hui .333
Lowko306
Pyrionflax240
Fuzer 206
febbydoto6
Organizations
Dota 2
PGL Dota 2 - Main Stream8720
PGL Dota 2 - Secondary Stream3341
Other Games
EGCTV119
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH154
• StrangeGG 72
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Michael_bg 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2112
• Ler59
League of Legends
• Nemesis2754
Other Games
• WagamamaTV236
Upcoming Events
IPSL
1h 55m
ZZZero vs rasowy
Napoleon vs KameZerg
OSC
3h 55m
BSL 21
4h 55m
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
18h 55m
RSL Revival
18h 55m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
20h 55m
Cure vs herO
Reynor vs TBD
WardiTV Korean Royale
20h 55m
BSL 21
1d 4h
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
1d 4h
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d 7h
[ Show More ]
Wardi Open
1d 20h
Monday Night Weeklies
2 days
WardiTV Korean Royale
2 days
BSL: GosuLeague
3 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
5 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
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

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.