Jump to content

FMQ203

Member
  • Posts

    101
  • Joined

  • Last visited

Everything posted by FMQ203

  1. So, I'm a code-noob. I know just the basics, especially at web-coding. The thing is, for work, I have to figure out how to create a Facebook SHARE button in a web that gets a response if post-share is succesfully completed and send a mail if that's the case. All of this hidden for the user. Anyone working with the Facebook API here? From what I've been reading, in order to get facebook to give me a respone if the post is shared, users need to login to my app (web app in this case) using Fb login plataform. Does this mean I have to create a user-database just to get people to share content? Hope someone can help
  2. So, my boss is making me build a LAN-website for all the employees to access important data for the functions they make (like; currency exchange tables, dead-lines, forms, news, etc) and also, he want me to make the clients data, currently saved in an excel database, accessible in that web page. Now, import data from excel to the mysql db it's not that hard (save as csv and then import that, at least it sounds easy), but I don't know how I can make all that data accessible in the web page without it being a mess or ugly. Want I was thinking (more like dreaming) to do it's a section with entries for each client (the id and name of it), a search bar to filter the names, and then, when click in the client name, display all the client data (info, tasks, dead-lines, etc) This sound great but I have no idea of how to make this, like, 0 idea, so, if you could help me make out something... Thanks in advance
  3. So, I'm having big problems getting my mysql query to get through. I'm getting some data from my mysql db to fill a JTable, everything was working fine until I decided that I need a 'WHERE' clause in my sql statement. This is the code, I can't seem to figure out how to insert the WHERE data from the method: public List<VOSesion> listarSesion(int dia, int mes){ Connection con = null; con = this.conectarBD(); VOSesion sesion = null; List<VOSesion> lstSesion = null; PreparedStatement pstmt; try{ Consultas consultas = new Consultas(); pstmt = con.prepareStatement(consultas.listarSesion()); pstmt.setInt(1, dia); pstmt.setInt(2, mes); ResultSet rs = pstmt.executeQuery(); lstSesion = new ArrayList<VOSesion>(); while(rs.next()){ sesion = new VOSesion(rs.getInt("id"), rs.getInt("id_cli"), rs.getInt("id_trat"), rs.getInt("hora"), rs.getInt("dia"), rs.getInt("mes")); lstSesion.add(sesion); } rs.close(); pstmt.close(); }catch(SQLException e){ e.printStackTrace(); } this.desconectarBD(con); return lstSesion; } where "consultas.listarSesion()" is: public String listarSesion(){ String consulta = "SELECT id, id_cli, id_trat, hora, dia, mes FROM Sesion WHERE (dia=? AND mes=?);"; return consulta;} I need to be able to call this method with (dia, mes).
  4. I'm going to leave this here: https://iihelp.iinet.net.au/Resetting_Network_Adapter_(Winsock_Reset) Had work for me before
  5. So, first, I want to make it clear, I'm not into programming, I've never been, but I'm taking a course about JAVA, and we got a task assigned about making a little game. Basically, the program makes a 5 digits random number (every digit is different) and the user has to guess it, and, after every attempt the program prints out the amount of digits that are right in the correct spot, and the amount that its right but not in the correct spot. For the the first ones I make this and it works! (How to look for them after the user enters a number)(It's in Spanish because I'm from Uruguay ) : public static int cantBien (String ingreso, String numero) { int contador = 0; for (int i = 0; i < largo-1; i++) { if (ingreso.charAt(i) == numero.charAt(i)) { contador++; } } return contador; But I'm struggling to get the second ones work, I tried this but its returns is wrong data: public static int cantReg (String ingreso, String numero) { int contador = 0; for (int j=0; j < largo-1; j++) { for (int k=0; k < largo-1; k++) { if(ingreso.charAt(k) == numero.charAt(k)) { contador++; } } } return (contador-cantBien(ingreso,numero)); Hope you can help me!
  6. I think the cheapest is the Asrock X99 WS-E/10G, I mean, it's $650 for a full x99 mobo with dual 10gb Intel, and if you're thinking of building a NVMe Raid array you need x99 pci-e lanes, 5930k preferred (40 pci-e lanes vs 28 lanes with the 5820k), but I think a normal SSD raid array would be more than capable of delivering the speeds you need, I mean, aren't Linus SSD Server speeds enough?? To the switch, the best for the price is the Netgear ProSAFE Plus XS708E, 8 port
  7. not sure about framerates, probably yes, but, with the high bandwith available it enables bigger and more advanced textures to be loaded much more quickly to the GPU's memory, and a wider bandwith to exchange information with the CPU
  8. spend 22 bucks in these TP-LINK Nano Router and you'll get 150mbps wifi for your phone, a 10/100mbps lan port, and a usb for charging or for file-sharing, if you have greater internet speed, get these TP-LINK gigabit router and voaila!
  9. it's cheaper and easier to buy a load-balancing router and snap that to a good switch, down the road you can build a nas or a htpc, or even buy one (you would be better off building one),
  10. please go powerline, wifi does not cut it anymore at those internet speeds
  11. the powerline kit you mentioned as enthernet extender at first would be your best solution, so yes, go ahead
  12. Vessel user: fmq203 Fav videos: https://www.vessel.com/videos/LCoY5zfFf https://www.vessel.com/videos/DkWN4qqW1 https://www.vessel.com/videos/JemZ8O7Hy
  13. if you make a pfsence router pc, please use an external dedicated access point, the internal wifi card isn't capable of hosting a proper wifi network
  14. Maybe if you could get an old netbook, that would work flawlessly
  15. I think Luke is winning this one, he is way more of a fine tunner than Linus, and that's going to give him the lead
  16. just connect to whatever port is empty and look if you get a connection, probably those are common lan ports, but labeled for whatever reason your isp ask that oem to
  17. FMQ203

    Wifi help?

    It depends, wireless N standard was released with 150mbps speeds and there is a lot of routers with that speed, you should get one with at least 300mbps rx rate (speed of the router), but if money isn't a problem, I would go for a medium to high end router, I mean, spend like 60 bucks and get a propper dual band router
  18. I would go for the AC model, that will serve you for so much years to go, future proof
  19. if it's a small apartament: http://www.amazon.com/802-11ac-Wireless-AC750-Dual-Band-Router-RT-AC52U/dp/B00I1K3T8G/ref=sr_1_14?ie=UTF8&qid=1424583903&sr=8-14&keywords=dual+band+router if it's big: http://www.amazon.com/TP-LINK-TL-WDR4300-Wireless-Gigabit-300Mbps/dp/B0088CJT4U/ref=sr_1_5?ie=UTF8&qid=1424583903&sr=8-5&keywords=dual+band+router
  20. https://downloadcenter.intel.com/SearchResult.aspx?lang=&FamilyId=2280&ProductID=3706&ProdId=3706
  21. I couldn't get my laptop to work anymore after updating to 8.1, so, I don't know, it's still supported?
  22. http://www.newegg.com/Product/Product.aspx?Item=N82E16833122542 or http://www.newegg.com/Product/Product.aspx?Item=N82E16833122529 but very expensive for the amount of ports
  23. I didn't get my ports seen open with web apps, but I downloaded one application that checks if its open and voila, it was my browser that didn't get my ports open, http://portforward.com/help/portcheck.htm, that one
  24. So, I got a somewhat old Toshiba Satellite, a C845D-SP4327SL more specifically, the thing is, the laptop won't post, It charges de battery just fine, POWER light is on if plugged in, everything ok there, but when I press the power on button, the POWER ON led lights up, the fan starts to spin, but the screen keeps black, no backlight. So, I made the usual things -First, the 30s power button pressing without battery or power -Second, I disconnected the CMOS battery to clear out the BIOS -Third, removing the RAM modules and try one by one -Also tried removing both RAM and HDD But, I always get the same response, that black screen and both lights on, I know it's not booting because the WiFi toggle switch doesn't seem to be working (the indicator led is always off) The only difference I get is when I press FN + ESC first, then the power button, this way I get the POWER ON led to blink, but nothing more
×