All the site that I've made for my current company are purely intranet and I don't even remember if they are setup with SSL or not.
By Kibner Go To PostAll the site that I've made for my current company are purely intranet and I don't even remember if they are setup with SSL or not.Intra? probably not. Or at best, are self signed.
A Brief History of Windows Audio APIs: http://www.shanekirk.com/2015/10/a-brief-history-of-windows-audio-apis/
It was really quite interesting to me and now I have a much better understanding of when/why to choose ASIO vs WDM/KS vs WASAPI vs MME vs DirectSound vs XAudio2. There is no code in the blog entry but it does a great job at explaining why each of those interfaces exist and why they are still in use today.
It was really quite interesting to me and now I have a much better understanding of when/why to choose ASIO vs WDM/KS vs WASAPI vs MME vs DirectSound vs XAudio2. There is no code in the blog entry but it does a great job at explaining why each of those interfaces exist and why they are still in use today.
I can't say I'm happy with all the math comp sci requires
Would rather be working on programming skills but instead a large part of my energy is put into math
Would rather be working on programming skills but instead a large part of my energy is put into math
By Dark PhaZe Go To PostI can't say I'm happy with all the math comp sci requiresI think I ended up one class short of getting a math minor in college. The lowest level math in the curriculum was Calc 1. lol
Would rather be working on programming skills but instead a large part of my energy is put into math
The math is extremely important if you are engineering your own algorithms or doing heavy performance analysis. If you aren't doing that, then it is of limited use.
My college eventually split the Comp Sci major into two concentrations: scientific and business. The business one didn't need nearly as much math.
MIS (Management Information Systems). That's the route I went. Got that degree and none of my career jobs have been the type that comes from it (business analyst type), they've all been exclusively IT.
I want to master in MITS, but want Comp Sci undergrad
i'm so desperate to get through this math as quick as possible that I took an 8 week course
--I've made a huge mistake
also wtf @ your tag--1080p gang?
i'm so desperate to get through this math as quick as possible that I took an 8 week course
--I've made a huge mistake
also wtf @ your tag--1080p gang?
Sold my Swift.
Got tired of not having my PC since I sold 1080ti (again)
Bought 1060
Hooked up my 1080p monitors
We bak
Got tired of not having my PC since I sold 1080ti (again)
Bought 1060
Hooked up my 1080p monitors
We bak
So I haven't programmed since the election and got back into the swing of things taking a CS class at CC. I was about to take math then I realized I would have bombed trig and I didn't find out until it was too late that my CC offered a summer workshop for math and also has specialized math courses that don't have deadlines and are basically made so you understand the material no matter how long it takes.
Anyway I'm learning C++ and I've read through the 2 1/2 chapters of Starting Out with C++ from Control Structures to Objects by Mark Gaddis. We haven't done any programming yet besides being shown Eclipse. But so far it's been pretty easy and I'm already figuring out C++ since I know so much JS. Like I already understood nearly all the code I've seen before encountering in the book. Like first day most people had issues exporting the file in Eclipse meanwhile I was on google trying to figure out how to do simple things like trying to output the "Hello World" string with variables and figuring out what all the new syntax was.
edit: And wow just watched the video my teacher recommended we watch on flowcharting and it makes complete sense now. I was heavily discouraged when I took CS at the other local CC since the teacher was one of those weed out people. Basically threw us into C++ without any intro or much help. And pretty much told us to go fuck ourselves if we couldn't keep up.
Yeah I jumped the hell out of math and like I mentioned above figure I'll take it next semester when I can register for the special math workshop and classes my CC has. I already know it's going to frustrate the hell out of me when I'm like understanding I'm everything so far in C++.
Anyway I'm learning C++ and I've read through the 2 1/2 chapters of Starting Out with C++ from Control Structures to Objects by Mark Gaddis. We haven't done any programming yet besides being shown Eclipse. But so far it's been pretty easy and I'm already figuring out C++ since I know so much JS. Like I already understood nearly all the code I've seen before encountering in the book. Like first day most people had issues exporting the file in Eclipse meanwhile I was on google trying to figure out how to do simple things like trying to output the "Hello World" string with variables and figuring out what all the new syntax was.
edit: And wow just watched the video my teacher recommended we watch on flowcharting and it makes complete sense now. I was heavily discouraged when I took CS at the other local CC since the teacher was one of those weed out people. Basically threw us into C++ without any intro or much help. And pretty much told us to go fuck ourselves if we couldn't keep up.
By Dark PhaZe Go To PostI want to master in MITS, but want Comp Sci undergrad
i'm so desperate to get through this math as quick as possible that I took an 8 week course
–I've made a huge mistake
also wtf @ your tag–1080p gang?
Yeah I jumped the hell out of math and like I mentioned above figure I'll take it next semester when I can register for the special math workshop and classes my CC has. I already know it's going to frustrate the hell out of me when I'm like understanding I'm everything so far in C++.
What do you mean by resources? How to start writing React apps? Anything written or spoken by Dan Abrahamov might as well be God's gospel when it comes to React, so start there.
By reilo Go To PostWhat do you mean by resources? How to start writing React apps? Anything written or spoken by Dan Abrahamov might as well be God's gospel when it comes to React, so start there.
Courses, tutorials, people to follow... something/someone that goes in depth for both React and Flask.
Thanks for the Dan Abrahamov(Abramov?) suggestion.
Yea, sorry, Abramov: https://egghead.io/instructors/dan-abramov
He wrote Redux, and is hugely influential there: https://egghead.io/courses/getting-started-with-redux
He wrote Redux, and is hugely influential there: https://egghead.io/courses/getting-started-with-redux
Phaze, you were wondering why colleges require so much math for Comp Sci? I think I have an example of why. You see, a lot of colleges teach not for the general business world, but for the academic world. So they focus more on things that would help you run simulations since that is very important to research. This is probably also why learning how to write a proof was one of the classes I had to take.
Anyway, look at the kind of math terminology and techniques are needed to understand how to decouple the fps of a physics simulation from the fps of a renderer so that both parts can run on a variety of hardware and not have unexpected or undesired behavior: https://gafferongames.com/post/fix_your_timestep/
e: basically, anytime you are running a simulation (games are the most visible example), you need a strong math background to get things working correctly in a reasonable amount of time. There are other cases of math skills being just as important, but that is a big one.
Anyway, look at the kind of math terminology and techniques are needed to understand how to decouple the fps of a physics simulation from the fps of a renderer so that both parts can run on a variety of hardware and not have unexpected or undesired behavior: https://gafferongames.com/post/fix_your_timestep/
e: basically, anytime you are running a simulation (games are the most visible example), you need a strong math background to get things working correctly in a reasonable amount of time. There are other cases of math skills being just as important, but that is a big one.
A friend of mine is saying that the Apple Developer Center has been hacked. Check your shit, Apple devs.
By Kibner Go To PostA friend of mine is saying that the Apple Developer Center has been hacked. Check your shit, Apple devs.
At this point I just assume nearly everybodys info is floating around somewhere on the dark web.
By Smokey Go To PostAt this point I just assume nearly everybodys info is floating around somewhere on the dark web.It absolutely is which is why you should change your logins every so often to minimize the window and extent to which you are vulnerable.
By Dark PhaZe Go To Postusing eclipse in this courseI didn't care for it, either, when I started to learn Android programming using it. Not sure if it has changed much since then.
…i don't like it
In a recruiting meeting (well, dialed in)as we prepare for career fairs...big emphasis on data. Data Engineering, big data, data modeling, AI. Analytics. Software engineering. Big shift from last few years regarding data.
By Smokey Go To PostIn a recruiting meeting (well, dialed in)as we prepare for career fairs…big emphasis on data. Data Engineering, big data, data modeling, AI. Analytics. Software engineering. Big shift from last few years regarding data.
what do you do bro
are you a tech analyst
By Dark PhaZe Go To Postwhat do you do bro
are you a tech analyst
IT Analyst, yeah, more specifically, High Performance Computing Analyst. Do everything from engineering to going into the field to make repairs on the supercomputers. But I'm also on the recruit squad for UH. Big move towards Big Data as I mentioned above. Overall GPA is still the most important thing we look for rather than your major GPA, and that's directly from the mouth of the dude who makes the decisions of who gets the interviews and ultimately brought on. Telling you all this because I know you're in the thick of it and I imagine you'll start hitting career fairs if you haven't already.
whoa
sounds like a ton of on the job training--not that its never that, but in your case it seems like they really threw you into the fire
sounds like a ton of on the job training--not that its never that, but in your case it seems like they really threw you into the fire
By reilo Go To PostI never liked Eclipse.Been working more with Xcode recently. It makes me realize how much I truly love VS.
Phaze, if you (or anyone else) are trying to start learning about how to query a database, here is a tutorial using hockey as an example: https://theleafsnation.com/2017/09/08/an-introduction-to-sql-using-hockey-stats/
Fucked around with Rider the other day and I think the clearest improvement of it over Visual Studio is that the UI never, ever hangs. I can always coding or doing something else in the tool while it's, say, downloading and installing a huge Nuget package. With VS, I just have to alt-tab out for a few minutes.
We haven't really shared any of our code samples before so I'll start with something I'm proud of how lazy it lets me be. I don't mind it being critiqued because I'm sure I've done something stupid and don't really have anyone at my current company that can really be a good critic for this kind of code.
Background: We use Entity Framework as our O/R Mapping framework. For each table, we create a class that holds our various methods (basic CRUD and complex queries). It was annoying to write almost the same methods over and over for each class, so I made an abstract class for them to inherit from so that we only have to create the unique custom queries.
It originally started out as just Create/Update/Delete/GetSingle, but I eventually figured out how to get GetById working so that each class doesn't need it's own implementation. I also created a Page object to help query paged results and a custom OrderBy object to help make that easier, too. This base class supports both Eager and Lazy Loading.
Note: all code is in C#
ServiceBase
OrderBy
Page
So, when I need to create a data access class for one of the tables (this may be the wrong way to do things, to begin with), I just use something like this code to get all those methods in ServiceBase working for whatever entity object is being used:
Background: We use Entity Framework as our O/R Mapping framework. For each table, we create a class that holds our various methods (basic CRUD and complex queries). It was annoying to write almost the same methods over and over for each class, so I made an abstract class for them to inherit from so that we only have to create the unique custom queries.
It originally started out as just Create/Update/Delete/GetSingle, but I eventually figured out how to get GetById working so that each class doesn't need it's own implementation. I also created a Page object to help query paged results and a custom OrderBy object to help make that easier, too. This base class supports both Eager and Lazy Loading.
Note: all code is in C#
ServiceBase
OrderBy
Page
So, when I need to create a data access class for one of the tables (this may be the wrong way to do things, to begin with), I just use something like this code to get all those methods in ServiceBase working for whatever entity object is being used:
public interface ISampleService : IService<Sample>
{
}
public class SampleService : ServiceBase<Sample>, ISampleService
{
public SampleService(DbContext context) : base(context)
{
}
}
That's a pretty standard pattern and I think other Frameworks have slightly tighter integrations and capability of that.
For example, Django has the concept of an "abstract base class" that you can build off of:
https://docs.djangoproject.com/en/1.11/topics/db/models/#abstract-base-classes
For example, Django has the concept of an "abstract base class" that you can build off of:
https://docs.djangoproject.com/en/1.11/topics/db/models/#abstract-base-classes
from django.db import models
class CommonInfo(models.Model):
name = models.CharField(max_length=100)
age = models.PositiveIntegerField()
class Meta:
abstract = True
class Student(CommonInfo):
home_group = models.CharField(max_length=5)
I figured it would be, I just didn't see anything that did it for EF at the time I was looking. Then again, I was very new to EF at the time and maybe just didn't know where to look.
That abstract base class in django is almost exactly how I setup my view models in the MVC projects we do. I have the base class of each table and the data annotations for each column that will be common to all views (mostly the display text but sometimes length and other min/max requirements, too).
These base classes for view models are all one layer deep, i.e. no containers or references to other view models. That way, me and my coworker can just inherit from them when making the unique view models for a page and don't need to worry about if Lazy Loading is on or off. If we want a reference to another view model to be populated, we just add the reference to the unique view model.
Doing it this way also helps the tool AutoMapper (convention-based object-to-object mapper) work more consistently as there is less room for typos and such.
That abstract base class in django is almost exactly how I setup my view models in the MVC projects we do. I have the base class of each table and the data annotations for each column that will be common to all views (mostly the display text but sometimes length and other min/max requirements, too).
These base classes for view models are all one layer deep, i.e. no containers or references to other view models. That way, me and my coworker can just inherit from them when making the unique view models for a page and don't need to worry about if Lazy Loading is on or off. If we want a reference to another view model to be populated, we just add the reference to the unique view model.
Doing it this way also helps the tool AutoMapper (convention-based object-to-object mapper) work more consistently as there is less room for typos and such.
I don't have a mentor at my current place, so I learn by lots of googling when I'm doing something that doesn't feel "right". I have one friend who I bounce ideas off of every now and then, but I know he's real busy with his own kid and don't like to bother him too much with stuff like this.
Being at a small firm with a bunch of other talented developers is the best way to learn. I learned more the last two years at this job and my last job where I was surrounded by smart ass people than I did trying to do it by myself for over four years at my first gig. I always thought I was capable but having people around to help you improve is invaluable.
By reilo Go To PostBeing at a small firm with a bunch of other talented developers is the best way to learn. I learned more the last two years at this job and my last job where I was surrounded by smart ass people than I did trying to do it by myself for over four years at my first gig. I always thought I was capable but having people around to help you improve is invaluable.It really is and that's basically how I met the aforementioned friend. Being able to have that knowledge and experience "on tap", so to speak, really is important.
Meanwhile i'm struggling to get everyone to even use entities at all instead of directly writing SQL and returning associative arrays.
:|
:|
Does anyone know how to get http://example.company.net to resolve to IP 192.1.2.3 using the DNS server and management tools installed on a Windows Server 2012 R2 machine?
I have googled it and am unable to find clear instructions as I am a completely unexperienced when it comes to configuring a DNS server.
I have googled it and am unable to find clear instructions as I am a completely unexperienced when it comes to configuring a DNS server.
This past weekend, Showtime websites were found to be running a script that allows the sites to mine visitors’ extra CPU power for cryptocurrency, as pointed out by users on Twitter. The afflicted sites included showtime.com and showtimeanytime.com, but the script has since been removed following reports from Gizmodo and other sites.wat 😂
fucking el-oh-el
i guess that's another revenue-generating idea i would have never been so corrupt to think of
i guess that's another revenue-generating idea i would have never been so corrupt to think of
Here's the the website: https://coin-hive.com/
Coinhive offers a JavaScript miner for the Monero Blockchain (Why Monero?) that you can embed in your website. Your users run the miner directly in their Browser and mine XMR for you in turn for an ad-free experience, in-game currency or whatever incentives you can come up with.Given that we got no ads right now, this might be not a bad option for us to consider especially if we provide a) a prompt that we're doing it and b) an opt-out.
grant video streaming time
offer files for download
allow ad-free browsing on your site
credit in-game money or items in your game
By reilo Go To PostSheesh, no. Not on Windows Server. That seems painful.Thankfully, the IT guy at the client I am working with finally understood what I needed and we got everything working now. I still don't know a thing about how to do what he did, though. lol
By reilo Go To PostHere's the the website: https://coin-hive.com/That might be hard to implement without making people who want to use it annoyed. You may want to have options to keep it off when on mobile devices so that it doesn't drain battery.
Given that we got no ads right now, this might be not a bad option for us to consider especially if we provide a) a prompt that we're doing it and b) an opt-out.
It would also need to be an easy-to-reach toggle so that users can turn it off easily while gaming or something. Having it set per-machine may be a good idea, too, that way people who have it turned on for their desktop sessions don't have to worry about remembering to turn it off when they browse on their laptop (for battery and/or available power purposes).
By reilo Go To PostIt was probably hidden under some menu after he clicked enough preference panes.He sent me a reply with what worked:
The winning combo looks like the header information you setup, and then on the domain controller on the DNS settings of company.net I had to create a pair of Host (A) records. One siteA, one siteB and point both at the IIS IP address.
Just for future in case you run into this on another project.
By Kibner Go To PostThat might be hard to implement without making people who want to use it annoyed. You may want to have options to keep it off when on mobile devices so that it doesn't drain battery.The joke is that banner ads are so poorly written that they probably waste more CPU cycles than this would 😂
It would also need to be an easy-to-reach toggle so that users can turn it off easily while gaming or something. Having it set per-machine may be a good idea, too, that way people who have it turned on for their desktop sessions don't have to worry about remembering to turn it off when they browse on their laptop (for battery and/or available power purposes).
By reilo Go To PostThe joke is that banner ads are so poorly written that they probably waste more CPU cycles than this would 😂fucking hell