Jump to content

Johanes

Member
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Johanes

  1. yeah i was afraid of that... it was just a thought that came to me while working on this other project. im starting my journey on Linux software and just had a thought on how i could integrate this machine to work on a Linux machine. it just sucks that i cant find any relevant starting information on how i would go about probing this machine on how to make it do what i want from it.
  2. so quick question... i got curious as any newbie programmer would. So im here, making a "simple" program for generating attendance sheet from the records off of an attendance machine (its just my own dummy data). So here i am just programming away then i got to thinking, I see an RJ45 port on this attendance machine... and i see a network/server options in the menu... how could one get raw data from this machine. im just curious what kind of protocol or something to emulate a request for this machine to spew out the records... i tried searching about this machine and similar types but google is being a little B-word... anyone know a thing or two about how these kinds of machine work?
  3. Hello and good day... im thinking of implementing "due to my fathers request" an upgrade to our small family business network. now i an new to networking outside of basic ISP to switch to PC networking and would like more experienced users to look at what im thinking of implementing if its viable. please take note that this is a small family business and buying expensive network gear might be a little stretch to our budget. this is the said network layout. Now for my explanation on why i would like to set it up this way. first is the price... with this im only looking at around $500 - 600 worth of equipment 2nd is using pfsense. ive been looking for a way to make it so that we have guess wifi and employee wifi. basically making the guess wifi a timed connection and also having vouchers later on if needed. 3rd is later on im also thinking of using the 1u as a sort of database for our business. Tracking item stock and stuff maybe even using it as a CCTV video storage just to save money. not sure how i would implement that but im sure ill find a way to jank it up. now im asking if this setup is viable and OR any better alternative for my use case. Feedback is much appreciated. Thank you. edit: reason why im using 2 switch on different floors is because there are still some area in our building that isnt being used. but im just thinking ahead just incase we do need wifi/lan connection in those area... or should i just trow the 2 switch idea and just run lines from first floor to all the different areas of our building... XD
  4. Good day. So basically i was looking for a cheap RGB 140mm fan for my PC case and found this decent priced fans... but i didnt fully read the description, so low and behold the fans are actually addressable RGB fans with separate RGB wires. and it didn't come with a controller. This is the full specification of the fans. Bearing Type: Hydraulic Bearing Fan Type: Chassis Fan Air volume: - 120: 50CFM - 140: 85CFM Wind speed: 500-1500 (±500) RPM Noise: 25-29 dBA Power: - 120:DC 12V/0.15A/1.8W - 140:DC 12V/0.25A/3W Static Pressure: - 120: 0.96 mm H2O - 140: 1.23 mmH2O Interface: 4Pin PWM DRGB Interface: +5V 3Pin Material: ABS Color: Black Size: 120 X 120 X 25mm/4.72 X 4.72 X 0.98" 140 X 140 X 25mm/5.51 X 5.51 X 0.98" My motherboard is a Gigabyte Z370 HD3. which as far as i can see has a 12V RGB connector im looking for advice what is the best way i can make it so that i can control the fans directly from my motherboard or should i just buy a separate D-RGB controller and use the remote for it >.> any reasonable advice would be appreciated.
  5. public GameObject TargetCube; // Start is called before the first frame update void Start() { // transform.LookAt(TargetCube.transform); // Quaternion q, q1; // q = Quaternion.AngleAxis(90.0f, Vector3.up); // q1 = Quaternion.AngleAxis(90.0f, Vector3.right); // transform.rotation = q * q1; Vector3 toOther = TargetCube.transform.position - transform.position; toOther.Normalize(); Vector3 axis = Vector3.Cross(Vector3.forward, toOther); float angle = Mathf.Acos(Vector3.Dot(Vector3.forward, toOther)); Quaternion q = Quaternion.AngleAxis(angle * Mathf.Rad2Deg, axis); transform.rotation = q; } // Update is called once per frame void Update() { } For now the code that i have a hard time understanding is Vector3 toOther = TargetCube.transform.position - transform.position; i understand is that this code is making a Vector3 Variable and storing the TargetCube.transform.position (minus) transform.position.. but what is transform.position where is it getting the number to minus with TargetCube.transform.position. Is it getting the position of the Gameobject that i had the script attach to??
  6. So basically after days of researching i finally found a way to detect if my player(green square) is intersecting with another picturebox. but my code makes it so that i have to write down which picturebox it is thats intersecting. Private Function IntersectWith() As Boolean Dim recInter As Rectangle recInter.Location = MyPlayer.PointToScreen(New Point(0D, 0D)) recInter.Size = New Size(MyPlayer.Width, MyPlayer.Height) Dim ChkPass As Rectangle ChkPass.Location = Floor2.PointToScreen(New Point(0D, 0D)) ChkPass.Size = New Size(Floor2.Width, Floor2.Height) Dim doesIntersect As Boolean = recInter.IntersectsWith(ChkPass) Return doesIntersect End Function example.. Picturebox1 is player.. Picturebox2 is Mayor. Picturebox3 is Bandit. can i ask is there a better way to find out which picturebox it is that my player is intersecting so that i can run it into a function? or if you have a better way to implement intersection/collision could you please share it?
  7. yeah.... i was searching amazon for Nvme and im like.. daim they expensive...
  8. Here's a link https://www.gigabyte.com/ph/Motherboard/Z370-HD3-rev-10/sp#sp
  9. see.. i dont know jack shit if (PCIe x4/x2 SSD support) means that it can support NVme then i didnt know that.
  10. Yeah i dont think my Motherboard supports Nvme anyway...
  11. So im thinking of upgrading my M.2 Storage.. Im still new in the M.2 Business, so i need help.. this is my M.2 specification.. 1 x M.2 connector (Socket 3, M key, type 2242/2260/2280/22110 SATA and PCIe x4/x2 SSD support) My question is will this WD Blue 3D NAND 1TB Internal PC SSD - SATA III 6 Gb/s, M.2 2280, Up to 560 MB/s - WDS100T2B0B be supported in my Motherboard?
  12. So basically.. i Ordered an MSI But instead i got Amazon link is here https://www.amazon.com/gp/product/B07XZ21HH7 So my question is.. Should i keep it? i know it has a better CPU but i kinda wanted the 1650 GTX... but then also its gonna be a real hassle to ship the laptop back to the USA.. Since i live in the Philippines. Need opinion plz.
  13. AAAGHH... switching from Python to VB.net and datatype manipulation is soo weird >.>
  14. thanks for all the replies.. i am still rapping my head with this and all this new ideas are helping me greatly.
  15. yeah i would love to know how to do that class thing as well.. but we haven't discussed that in our school yet.. the code already has a for loop statement in it. its just the taking the string and making it into decimal thats giving me a hard time >.>
  16. well the string would look like this "Apple - P20.00" in the list.. so i want to split this string to "Apple - P" "20.00" and then take the "20.00" and turn it into a decimal so that i can total it...
  17. Public Class Form1 Public listProdAndPrice As New List(Of String) Public totalPrice As New Decimal Public splitValue As New Decimal Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnAddToList.Click lsbProdAndPrice.Items.Clear() listProdAndPrice.Add(txbProdName.Text & " - P" & txbProdPrice.Text) For Each lsbItems In listProdAndPrice lsbProdAndPrice.Items.Add(lsbItems) splitValue = Next End Sub End Class (Code is not complete) im just stuck with this problem Q.Q i want to split a string from a list and take the value that i wanted and turn it into a decimal so i can compute it into its total (Here is what my form looks like) my main problem is i want to split a string and then turn a string into a decimal. here is an example of the form when its populated.
  18. its fine atleast your helping in the forum
  19. aaaaa.. i had an idea it was something like dat... damn you VB.net >.< thanks.. ill use @minibois solution for now ^^
  20. Severity Code Description Project File Line Suppression State Warning BC42105 Function 'CheckOperation' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. BasicCalculator C:\Users\mah name\Google Drive\School Stuffs\Computer Prog\.Net Files\BasicCalculator\BasicCalculator\BasicCalcModule.vb 13 Active here it is ^^
  21. can someone tell my what im doing wrong with this function?? Public Function checkOperation(ByVal n As String, ByVal x As Double, ByVal y As Double) If n Is "+" Then Return x + y ElseIf n Is "-" Then Return x - y ElseIf n Is "×" Then Return x * y ElseIf n Is "÷" Then Return x / y End If End Function ive been looking at this for 30min now... still dont understand why its returning an error when i debug it... Severity Code Description Project File Line Suppression State Warning BC42105 Function 'CheckOperation' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. BasicCalculator C:\Users\pewpew\Google Drive\School Stuffs\Computer Prog\.Net Files\BasicCalculator\BasicCalculator\BasicCalcModule.vb 13 Active this is the error warning
  22. NEW QUESTION!!!! how to disable the dot key if the textbox already has a dot in it.. im using an if statement to check if the string in the textbox has a "dot" if it returns true i want it so that it just doesnt add another dot... Private Sub DotKey_Click(sender As Object, e As EventArgs) Handles DotKey.Click If CalConsol.Text.Contains(".") = True Then DotKey.Dispose() End If CalConsol.Text = CalConsol.Text & "." End Sub this is my current dot button code UPDATE!!! nevermind my brain was being stupid >.> Private Sub DotKey_Click(sender As Object, e As EventArgs) Handles DotKey.Click If CalConsol.Text.Contains(".") = False Then CalConsol.Text = CalConsol.Text & "." End If End Sub just had to do this >.>
  23. WOOOO finished my Basic as heck calculator
  24. thanks for the explanation.. as usual i try to see if i can understand it
  25. thank you for the shortcut keys.. yeah still new to the Visual Studio IDE no idea how to actually debug my code and see what its doing
×