Anyone else hate not being a programmer?

That's to signal that it's a long, rather than an int. Python automatically converts numbers that are big enough to a long, it still acts like an int though. No libraries needed :)

Yeah, C++ unfortunately isn't that forgiving. It's actually really easy in PHP though, but you need either the gmp or bmath libraries. Then in C++, you have a openssl lib that gives you the BIGNUM data type, or you have things like the QCA Library.

Of course, they can't just work as expected though, and all have their little nuances. With QCA, doing x %= y simply doesn't work. You have to use something like m = x - ((x / d) * d). QCA likes to throw 0xFF in front of everything for no reason, and sometimes even seems to replace 0x00 with 0xFF for no reason too.

Oh well, I don't care any more, all resolved now and working fine now. :)
 


If you really want to learn programming and nothing's on your way now, then Go and Learn programming. Look for a programming courses or study it yourself.

Don't feel sorry about not focusing on it when you were young, besides you chose to do sports which is great, it's never too late to learn. :)

Not all people study programming just because they want to earn, but because it's fun and it stretches their mind.


Cheers mate. Best of luck.
 
Pro tip: If you're going into software, you have a few choices:

a) have solid business acumen + vision as well, and be able to setup and maintain your own shop.

b) get a shitty 9-5

c) specialize in a specific niche. 15 years ago, being a software developer was great, and paid big. $40k/month profit was no big deal back then. Nowadays, globalization has taken affect, and it's totally different. You're not going to make sweet fuck all being an all-purpose, general software developer. You're most likely going to be struggling to land shitty $40/hour contracts, which is a fucken joke considering the amount of training and skill required to produce quality software.

So if you're doing software and are an independent, find a speciality, and dominate it. Instead of just being a software developer, I'm now a developer who specializes in bitcoin and virtual currency. My income has tripled if not more, and by no means am I worried about shortage of work. I equate it to the same as being a doctor. You can be a general practioner at a local hospital, or someone who specializes in a specific field (feet, heart, skin, penis, vagina, whatever...). Guess who gets paid more?
 
  • Like
Reactions: mpbiz
Android app? Whatcha workin on brah?

Cartoony mobile animal racing game slightly like mario kart and a multiplayer space shooter. I teamed up with an artist/animator so I code it and he makes it look good.

Probably ios and android first, then see how much of a pain in the ass it is to port it to windows phone.

At work I've been working on an oculus rift 2 horror experience and some shitty augmented reality apps.
 
Cartoony mobile animal racing game slightly like mario kart and a multiplayer space shooter. I teamed up with an artist/animator so I code it and he makes it look good.

Probably ios and android first, then see how much of a pain in the ass it is to port it to windows phone.

At work I've been working on an oculus rift 2 horror experience and some shitty augmented reality apps.

Why are you using C# for iOS and Android? What tools are you using?
 
Why are you using C#?

I'm using Unity, so I make it once and can deploy to a dozen platforms.

It takes productivity to the next level. Even Unreal engine 4 is getting mono support to allow c#.

There is some platform specific coding, java for android and obj C for ios, but mainly only if you need to have some custom functionality the engine doesn't provide natively. The computer vision libraries for example, kinect sdk, oculus rift, etc all have native binaries that do the heavy lifting.

Shaders are also written in cg which lets you write code that runs on the graphics card rather than cpu.

edit:: I have unity 5 beta and it even exports to webgl and works amazingly well, it keeps transparency, lighting/lightmaps, scripting, etc for your 3d worlds.
 
As many other here, I always thought why to lear something that borking when I can always pay some programmer to code "that thing for me".

But in past few years, I had some many moments when I needed to do just something small and silly. I would have done it in few minutes if I could program, but I had to find a guy to do it and explain everything... What took so much time that I skip that...

So yeah, on the end I regret I did not took the time to learn at least PHP or so. :error:
 
Challenge, how would you approach this:

You scrape a bunch of products/info from several different sources. Each belong to a general category and many are identical, but called slightly different names.

Everything goes into a database and you put the products into general categories. Think of a normal price comparison search engine.

How do you automatically/semi-automatically group the same product, when each identical product for different source has slightly differing names?
 
Challenge, how would you approach this:

You scrape a bunch of products/info from several different sources. Each belong to a general category and many are identical, but called slightly different names.

Everything goes into a database and you put the products into general categories. Think of a normal price comparison search engine.

How do you automatically/semi-automatically group the same product, when each identical product for different source has slightly differing names?

Do the sites have categories that match? You could use there existing categories as groups.
 
Do the sites have categories that match? You could use there existing categories as groups.

Yes, categories are no problem. It's to match identical products but with different names across sources, for example Widget Awesome, Awesome Widget, That Awesome Widget.
 
Yes, categories are no problem. It's to match identical products but with different names across sources, for example Widget Awesome, Awesome Widget, That Awesome Widget.

If you're doing it in SQL, a LIKE statement would work. If you don't know SQL, then you can just do a filter based on keywords in Excel, adding a column with a congruent product name?

Are the products too obscure to have universal SKUs?
 
If you're doing it in SQL, a LIKE statement would work. If you don't know SQL, then you can just do a filter based on keywords in Excel, adding a column with a congruent product name?

Are the products too obscure to have universal SKUs?

Go on..

SKU do you mean some kind of string identifier that could be grouped on? Not necessarily the full name? It's not webshop stuff.

We're mostly talking grouping based on brand names though, just that when you scrape, you get different names, mostly something extra added, that has nothing to do with the product.

I want to be able to scrape from a bunch of sources and then group together without manual work or with as little manual confirmation as possible.

Also means, I don't know the brand names in advance, so would have to be able to build from the first scrape, then compare with the second, third etc.

I do know some SQL already, but didn't know about LIKE and don't know if it will work here, but sounds like it could.
 
Yes, categories are no problem. It's to match identical products but with different names across sources, for example Widget Awesome, Awesome Widget, That Awesome Widget.

Take the string for the product name on the source's title/heading, get rid of capitalizations with tolowercase or uppercase. Search string for substrings?

You should be processing the source data to clean it up before putting it into the db....
 
If you're wanting to group based on brand names, and the only difference is going to be something like © or 2014 appended to the end, you could do a vlookup in Excel, all you would need to do is after the scrape, make a list of all of the brands, then do fuzzy matching of the returned results versus the table you created. This method will require intervention after each scrape.

If you're using something like import.io or Kimono (scrapers -> APIs), you would essentially let the data get scraped, then structure your api call from your website to the datasource to be a query like 'select * from brand_table where brand like %nike% limit 0,50 groupby pid' or whatever you want.
 
If you're wanting to group based on brand names, and the only difference is going to be something like © or 2014 appended to the end, you could do a vlookup in Excel, all you would need to do is after the scrape, make a list of all of the brands, then do fuzzy matching of the returned results versus the table you created. This method will require intervention after each scrape.

If you're using something like import.io or Kimono (scrapers -> APIs), you would essentially let the data get scraped, then structure your api call from your website to the datasource to be a query like 'select * from brand_table where brand like %nike% limit 0,50 groupby pid' or whatever you want.

No excel, all has to be 100% automatic, or at most something like a backend to approve/change those in question.

It's mostly api's yes, what is the last sentence about? %xxx% limit etc?