The OFFICIAL programming thread
-
Why Hog is a fraud…
-
@gators1 said in The OFFICIAL programming thread:
Why Hog is a fraud…
I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.
Yesterday my IDE was showing an error against an
else ifclause so I triedelifandelseifbut it didn’t work. So I googled how to do anifstatement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns outelse ifwas correct and the error was from something else. ) -
I’m also fucked if work ever looks at my search history, but for other reasons. Ahem.
-
@hog said in The OFFICIAL programming thread:
@gators1 said in The OFFICIAL programming thread:
Why Hog is a fraud…
I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.
Yesterday my IDE was showing an error against an
else ifclause so I triedelifandelseifbut it didn’t work. So I googled how to do anifstatement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns outelse ifwas correct and the error was from something else. )I still google shit in SQL because I forget the syntax if I don’t use it for a few months. Been doing some Python shit and that’s burning my brain and bandwidth because I have been hitting every python site and video ever made. Have not coded to any great degree in years and feel like a retard trying to learn it now. Python has some really cool data tools though and if I use those I don’t have to work with an actual retard who manages our BI application.
-
@lob12 said in The OFFICIAL programming thread:
I’m also fucked if work ever looks at my search history, but for other reasons. Ahem.
You’re welcome.
-
I’m not clicking on that link unless I’m on a VPN or using the Onion.
And even then, I’m more concerned than curious., lol.
-
@gators1 said in The OFFICIAL programming thread:
@hog said in The OFFICIAL programming thread:
@gators1 said in The OFFICIAL programming thread:
Why Hog is a fraud…
I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.
Yesterday my IDE was showing an error against an
else ifclause so I triedelifandelseifbut it didn’t work. So I googled how to do anifstatement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns outelse ifwas correct and the error was from something else. )Been doing some Python shit and that’s burning my brain and bandwidth because I have been hitting every python site and video ever made. Have not coded to any great degree in years and feel like a retard trying to learn it now.
That’s a complimentary gift that comes with every new programming language you learn. And it keeps on giving.
Python has some really cool data tools though and if I use those I don’t have to work with an actual retard who manages our BI application.
How about a “Go away or I will replace you with a very small python script.” sticker for your work laptop?
-

-
@hog said in The OFFICIAL programming thread:
@gators1 said in The OFFICIAL programming thread:
Why Hog is a fraud…
I’m fucked if work ever look at my search history. Because I switch programming languages all the time, I forget really basic shit all the time or, rather, get the syntax confused between languages.
Yesterday my IDE was showing an error against an
else ifclause so I triedelifandelseifbut it didn’t work. So I googled how to do anifstatement in JavaScript. It’s probably the first thing any programmer learns after declaring variables so my employer would be rightfully wondering why the fuck they are paying me so much if I had to google it. (Turns outelse ifwas correct and the error was from something else. )I remember when i was about 14 I had a book with all the difent syntax’s for difent languages that did the same thing listed for different computer makes/ languages …
-
-
@wingmann said in The OFFICIAL programming thread:
I was about to bash you for mathing up the fucking forum, but then I saw I do some similar shit at work with map projections, great circle calculations, etc. Some of that was pretty cool actually. One analysis I did was to figure out if our cheating ass customers were arbitraging our pricing. We have a device we sell in two flavors, one for land and one for aviation. It’s the same thing basically but we charge more for the aviation one because it’s aviation. They thought some of the customers might be putting the land ones in airplanes and pocketing the difference. We don’t get the altitude off the device when it transmits the call data to us, so I had to come up with a different way. So basically what I did was to calculate the distance and time between two points transmitted by the device and convert into freedom MPH. So the shit that was moving fast could be an airplane. The distance had to be calculated with the haversine formula because you are traveling across the globe, so that took some googling to find a code snippet already written for me, plugged it into a function and ran it through my call records. End result is our customers apparently aren’t that smart.
-
@wingmann said in The OFFICIAL programming thread:
I watched a couple of his earlier vids making the same game (I think it was the same project anyway. It was like a year or two back) - they were invaluable for learning how to do procedural terrain geometry.
-
@hog Does he have a video on medieval leg meshes? I know someone that needs some help.
-
I believe this could be true…

-

-
This tickles me. You click on the guage icon in the top toolbar and it opens this popover:

In the actual app (not the above screenie) the needle dramatically rotates from left to right like a tachometer and the data and time savings spin up like a reverse countdown timer from a bond film. It’s only a half second animation so is maybe more subtle than it sounds but it helps draw the eye to it and subconsciously impresses on the user that the values aren’t static but are growing with time.
Anyway, in the real world, the minimum data savings would be kilobytes after first using it but would quickly grow to megabytes etc. But because I’m iteratively developing and testing with small queries, the savings for me get reset regularly and often don’t amount to more than a few bytes. But the animations still kick in every time I open the popover, making my 4 bytes of bandwith saved seem hella impressive.
Edit: oh, and it’s not really called the “Hog 2000”.
-
@hog What browser is that?
-
@tazz said in The OFFICIAL programming thread:
@hog What browser is that?
Edge. Not that you can see any of the browser in that screenshot. The toolbar at the top is from the client’s ERP system (ie the browser search bar etc would be just above it if I hadn’t cropped it out).
-
Thought this was pretty cool. Ascii art-like video:
Above is a few second clip with the results but he writes the whole program (while explaining it) in only 22 minutes.
-


