Search the Community
Showing results for tags 'api'.
-
Hello, I am trying to do a API request in Java 8 and the code I am using is for newer versions: //Classes and Packages Import package com.malcolmjh.runsafeprofiles.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; //Chat Command Code public class isprofilesuptodatecommand implements CommandExecutor { @Override public boolean onCommand(CommandSender sender, Command command, String s, String[] args) { //Check if the command sender is a player. if (sender instanceof Player) { Player p = (Player) sender; //Check if the command has arguments. if (args.length == 0) { //If no args return the error p.sendMessage(ChatColor.RED + "Unknown or incomplete command, see below for error"); p.sendMessage(ChatColor.GRAY + "chat" + ChatColor.RED + "<--[HERE]"); p.sendMessage(ChatColor.DARK_GREEN + "Usage: /chat <message>"); }else { //Make the "name" var Pt1 StringBuilder builder = new StringBuilder(); for(int i = 0; i < args.length; i++) { builder.append(args[i]); builder.append(" "); } //Make the "name" var Pt2 String name = builder.toString(); name = name.stripTrailing(); //Chat API call HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("http://api.malcolmjh.com:8080/check_name?name=" + name)) .method("GET", HttpRequest.BodyPublishers.noBody()) .build(); HttpResponse<String> response = null; try { response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()); } catch (IOException e) { throw new RuntimeException(e); } catch (InterruptedException e) { throw new RuntimeException(e); } // Print the response p.sendMessage(ChatColor.DARK_BLUE + response.body()); } } return true; } } does anyone know how to do a API request in java 8?
-
Summary GEICO the second largest auto insurer in the united states, recently announced a third party data leak that has effected its 40,000 employees. The company notified employees that the MOVEit system was compromised "outside of GEICO's internal systems". GEICO uses MOVEit to send data via API to Delta Dental, Cinigia, and many other companies for employee benefits. Several employees have come forward saying that personal information such as Social Security Numbers, Address, Phone, Email, and Address have been found from credit searches on the Dark Web. Several individuals in the r/geico subreddit have claimed that GEICO neglected to protect the data in transit. The company has advised employees to freeze credit. Quotes My thoughts This raises several questions about data security in the industry. Does this matter? In todays age 1 in 4 people will have some kind of identity theft happen. Is it reasonable to assume that all data is already compromised, if so should a company be held responsible at all? Is a company responsible for ensuring the partners they share data with are following proper security standards? Should GEICO be held responsible for sharing employee data with a company not following proper standards? What rights/say should employees have when it comes to who a company shares data with? If a data is compromised in anyway, should employees be able to sue an employer for compensation? Lets talk about the complexity for an individual maintaining their data, GEICO employees need to go through three different credit monitoring services and freeze accounts, what about SSN and other information. Who is responsible for ensuring that individuals have the tools to protect their own data. Sources r/GEICO reddit Current GEICO Employees Experian Monitoring Report
- 8 replies
-
- api
- employment
-
(and 3 more)
Tagged with:
-
Hi everyone During the covid lockdown i've decided to finish an old project of mine i started during my education, but never finished due it is so large and abstract, that even the teachers said 'That will never work'. Now that it soon has all the basic features it's current state, i was then wondering if it's actually relevant or not these days due technology moves so quickly. Eitherway, it was really fun to create and a pain in a..., and would sit nice on my portfolio. What i'm seeking now, is to to hear some oppinons on the solution / idea, and what also could be nice to have in such application or general workflows people seek to shorten in daily day that people miss or wished existed. Disclaimer I'm not a pro, or trying to make advertisement for the product, but general interested in the software solution, potential and ideas for improvements if any. Why did i make this software? A friend of mine had an issue at work, where he had to involve many steps and different tools, solutions, and data sources. The process was long from exporting data from different databases based on request, having different applications, filter the data recieved, combine it with some files from a client and filter it again with a script which he had to write himself, before the result came to live. I've managed to shorten this process to few minutes and saved him some work for repeatable tasks as this.. Intro video website What is this software? The software is a datamanagement tool, to merge data from different data sources together. It allows you to connect all your favorit databases in one single application and fetch data from them and combine them if not converting it inbetween the different databases. The application also support's the typical REST, SOAP (ASMX, SVC) and OData API's and soon WZDL files import. The API's has the same use-case as the database connections with few options also known from the POSTMAN if an database connection is not exposed or you simply don't want to work with an databases in general. When having all the data from either API's, and databases, files can be involved in the progress and merged with different connections to an unique export. If in doubt of files, content or verse versa, a simple comparing tool inbetween files vs files, files vs tables etc can be used. Below is an example of an export or manipulation of the data fetched from different sources. Below is also a wished result, if we want the application to write an documentation for where the data came from. Application type It's currently made in WPF, but are looking to convert it into something different in near future. Documentation & download Please see the attached file, or the website Thanks for reading. Kind regards Martin Datamergeeditor DEMO documentation.pdf
-
Hi all, I recently started learning Flutter & the video I was watching used the Notion API to get records from the database. However, I was wondering if anyone has added records to the database using the API? As I want to have my expenses app add records to the Notion Database. I've tried reading the documentation but I found it hard to follow. If anyone has an example posting data to the Notion API, please do share. Thank you in advance.
-
Hi, for the past 3 or so years i have been fighting with my fans I have 3 original phanteks fans and 2 corsair h100i fans my mobo has 5 fanheaders but i need my aio plugged into 1 of the slots however my h100i allows plugging in 2 fans into it (great ! (not really...)) my current setup is: 3 phanteks fans plugged into asus motherboard controlled using AI Suite 3 2 corsair fans plugged into h100i aio watercooler my issues: coirsair fans are LOUD coirsair software is a piece of **** it never respects my profiles, randomly does random stuff like ramping up and down for no reason (I have stable rpm untill like 80C so it shouldn't) asus software is not terrible... but could be better i want more control fixes: get new fans add more fans to motherboard so i don't have to use h100i and iCUE use https://github.com/Rem0o/FanControl.Releases instead of AI Suite 3 write custom software to make custom event based fan curves or use software above now comes my question and followup, is there something that (preferably open source) can allow me to add let's say 2 or 3 more fans i don't mean a splitter or commander or whatever they are called, i mean a way to add FAN1 FAN2 with their own (different) events/fan curves? just like a motherboard supports i looked up for corsair, they have an API for iCUE which is great, but WHY can't i have custom fan speed, their api only supports colors?? im desperate enough to make my own board/hardware if nothing is available? would create new thread on that, as i have some questions for example my device manager lists "ACPI-Lüfter" (Lüfter = Fan) is there easy way to add more fans to windows/device manager? let's say im lacking in the driver department making a board that can control 10 fans via pwm and writing some software in whatever using serial (better choice?) is pretty easy, software is where stuff is harder but probably borrowing some code from hwmonitor should make it easier, again would make new thread maybe some peeps would get on the board (open source hardware and software, because im tired of iCUE) i tried googling and didn't find a product that can do this pretty easy task let me know what you think !
-
Oh god I don’t know if this is the right place for this but I really value the info that I get from the Linus Media Group team on YouTube. I work in engineering in a TV/Film post production facility where we rely heavily on Davinci Resolve. We operate over 30 resolve systems across windows, centOS7, and macOS. Our primary workstations are windows. They cooperate better than any other OS with our network storage (NVMe, Isilon) so we put the most effort into windows. That said, we don’t have prores rendering capabilities in windows but many clients require prores deliverables. Our macs are crap and are on their way out, they can’t run the kind of jobs that are coming out of our color suites. so we are relying on remote rendering with Linux and prores resolve licenses. The problem we have is sending jobs from multiple places to headless remote resolve systems, is kind of a basic workflow. We need to have some sort of job queue management or central monitoring window. blackmagic design’s dev team says it’s all possible with the API tools built into resolve 17. It looks promising for sure. But we don’t have anyone who’s confident with python. I can only run basic one liners. There is nothing online or in technical documentation that outlines the practical use of these modules included with resolve, the only thing I could find was a few YouTube videos talking about useless console commands. short of hiring someone experienced in python, is there somewhere to go to learn from the ground up? Or better yet, is there anyone out there reading this that has experience with the Resolve API scripting modules that is willing to have their brain picked a bit? my python experience is basically mindstorms lego 101. That’s it. ive reached out on Reddit and BMD forums but there isn’t anything on the internet about this specific request. Remote render monitoring, or job queue management. I know this is a long shot. Also a long post lol
- 1 reply
-
- davinci resolve
- python
-
(and 1 more)
Tagged with:
-
Which is better? I get better performance with Vulkan, but I don't know if it's better. Does it reduce graphics quality?
-
Is there any way to access the data from the LTT reviews? I specifically want the data for the Ryzen 7000 review for my stats class, because I find this an interesting topic. Is there any way to access this? I know LTT Labs will soon have a website and data will be available there, but I've been looking around and there are no resources that I can see.
-
since none made it, here we go. "Originally developed by Intel, VAAPI (Video Acceleration API) is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing", "Having VA-API on Windows enables developers to build video apps that work across platforms. This work continues our pattern of supporting a wide range of other APIs by layering them on top of the Direct3D 12 driver model" Video acceleration API (VA-API) now available on Windows! https://devblogs.microsoft.com/directx/video-acceleration-api-va-api-now-available-on-windows/ Platforms supported OS/D3D12 requirements for using VAOn12 driver - For video decoding and processing, at least Windows 10 November 2019 Update or Windows 11 is required. - For video encoding, at least Windows 10 November 2019 Update with the usage of DirectX 12 Agility SDK 1.608.2+, or Windows 11 is required. GPU hardware and driver requirements for using VAOn12 driver - The availability of the VA entrypoints, profiles, formats and other specific features exposed by the VAOn12 driver (vaon12_drv_video.dll) are directly tied to the capabilities reported by the underlying hardware and drivers via the D3D12 Video APIs. other stuff, "gstreamer" Accelerate Multimedia Creation: Fluendo’s Open Source GStreamer* Framework with Intel® Deep Link Technology https://www.intel.com/content/www/us/en/developer/articles/technical/fluendo-open-source-gstreamer-framework.html
-
Hello, I have got a small facebook classifieds group with about a hundred users regularly posting items for sale. It has reached some popularity among the locals and it is quite active now. All kinds of items are posted in it and its a bit messy now as the only way to sort the items would be through the keywords you enter in the search. So I had a thought to make a shopping website for having a more organized representation of the items in this group by separating them to different categories. I want the items to be fetched and displayed directly from facebook to my website so I do not have to store them with me and they will be taken out when the publisher deletes it from facebook. I have not attempted something like this before, so im not sure where I should start. I had a look into Facebook's developer tools Graph API. The documentation didnt explain anything on how to go inside a group and search for items. It only shows how to search for group names. Found this other third party API called Facebook4J and that also shows similar examples to that of Graph API. I also saw other options like using an RSS to grab the information but then again I saw comments on them that they do not work anymore as Facebook has changed their policy. What do u think is the best way to achieve this process? Your suggestions would be very helpful. Thanks.
-
Hey guys so I'm just learning to code in Javascript and APIs and how it all works. I want to practice but idk where to start? Does anyone have any recommendations or can point me towards a free API that would be "fun" to work with as my first project?
- 2 replies
-
- api
- javascript
-
(and 1 more)
Tagged with:
-
I'm working on a project and i need to have a box where you can put in someone's name and it'll parse out their steamid64, how can i do this without spending money for the steam api?
-
There are a lot of API now like Open GL, Vaulken, Direct X, i am a windows 7(64bit) user which one should i choose ? I have a AMD AMD Radeon R7 240
-
What games are we aware of that are being developed with Vulkan ? The performance increase it has given me in Doom has been staggering and I am very interested in other games that may support it. Thanks Everyone.
-
i was wondering if anyone knows how asus interfaces with their rgb lighting and other motherboard functionalities (fancontroll etc). i want to either be able to run it from linux or from inside a virtual machine (maybe someone can test that for me?).
-
source: https://blogs.unity3d.com/2017/03/31/5-6-is-now-available-and-completes-the-unity-5-cycle/ don't get me wrong .. I like that they support Vulkan, but I loathe the engine as a whole - the most shittiest performance I have seen in a modern game engine I dunno, maybe they got better over the years maybe not; maybe with their new generation, 6, they'll get a perf overhaul --- Unity is a cross platform game engine that was released back in 2005 Unity can be used to develop PC, mobile, console and web (in browser) games - Unity is currently available for 27 platforms, including the newly released Nintendo Switch
-
http://www.wpthemedetector.com/ http://whatwpthemeisthat.com/ They accomplish this type of thing where by typing in the domain, you can find out what themes or plugins other sites are using. Could anybody possibly elaborate on how this can be accomplished?
-
razer abyssus v2 vs deathadder , i want to buy a gaming mouse but dont know which one to pick as both of these very similar price in uk. i do play mainly fps - rb6 , bf1, gta v, rust anyone know any pro or cons , any advice will be helpful from the users who used any of these two mouse.
-
Hello everyone, I have a problem with DOOM. Everytime I start with the Vulkan API it crash. It was perfectly fine since yesterday. Configured log listener print-redirect tags Added structured log listener print-redirect Added structured log listener mp-cloud-gobbler 2017-01-03T18:17:10.273+01:00 LOG: Process started Winsock Initialized ------ Initializing File System ------ Current search path: - C:/Users/strez/Saved Games/id Software/DOOM/base/ - D:/SteamLibrary/steamapps/common/DOOM/base/ ------ File System initialized. ------ Command Line ------ D:\SteamLibrary\steamapps\common\DOOM\DOOMx64.exe +com_SkipIntroVideo 1 2017-01-03T18:17:10.281+01:00 LOG: Command Line: D:\SteamLibrary\steamapps\common\DOOM\DOOMx64.exe +com_SkipIntroVideo 1 ------ CPU Information ------ 1 CPU package, 4 physical cores, 4 logical cores 3400 MHz Intel CPU with MMX & SSE & SSE2 & SSE3 & SSSE3 & SSE41 & SSE42 & AVX 32768 kB 1st level cache, 262144 kB 2nd level cache, 6291456 kB 3rd level cache 8144 MB System Memory initializing resource container gameresources.resources initializing resource container gameresources.patch initializing resource container gameresources_002.patch initializing resource container gameresources_003.patch initializing resource container gameresources_004.patch initializing resource container gameresources_005.patch idLib::SetProduction( PROD_PRODUCTION ) Restarting executable in to different graphics API.... No address, error: 487 No address, error: 487 DOOMx64.exe @ 0x892fad1d( ) + bytes () : GetGameSystemInterface( ) DOOMx64.exe @ 0x89262fc1( ) + bytes () : GetGameSystemInterface( ) DOOMx64.exe @ 0x892537dd( ) + bytes () : GetGameSystemInterface( ) DOOMx64.exe @ 0x87d1300c( ) + bytes () : ** UNKNOWN **( ** FUNC_PARAM_ERROR ** ) DOOMx64.exe @ 0x890567a7( ) + bytes () : GetGameSystemInterface( ) DOOMx64.exe @ 0x8904aa5a( ) + bytes () : GetGameSystemInterface( ) DOOMx64.exe @ 0x87d0f1a9( ) + bytes () : ** UNKNOWN **( ** FUNC_PARAM_ERROR ** ) DOOMx64.exe @ 0x892b0b9b( ) + bytes () : GetGameSystemInterface( ) KERNEL32.DLL @ 0x9d318364( ) + bytes () : BaseThreadInitThunk( ) ntdll.dll @ 0x9f5f70d1( ) + bytes () : RtlUserThreadStart( ) ERROR: Could not start process: '"D:\SteamLibrary\steamapps\common\DOOM\DOOMx64vk.exe" D:\SteamLibrary\steamapps\common\DOOM\DOOMx64.exe +com_SkipIntroVideo 1 +r_renderAPI -2 ' 2017-01-03T18:17:17.950+01:00 LOG: Error Dumped console text to C:\Users\strez\Saved Games\id Software\DOOM\base\ErrorLog_01-03-2017__06-17-17pm.txt. idRenderSystem::Shutdown() Shutting down OpenGL subsystem *************************** ERROR: Could not start process: '"D:\SteamLibrary\steamapps\common\DOOM\DOOMx64vk.exe" D:\SteamLibrary\steamapps\common\DOOM\DOOMx64.exe +com_SkipIntroVideo 1 +r_renderAPI -2 ' *************************** Anyone know why? What I tried for fix. Reinstall DOOM, reinstall AMD driver (I have the lastest), Enable and Disable AMD profile, Enable and Disable AMD Crossfire, Run on compatibility mode, run as Admin, removed 1 of my gpu, swapped gpu, reset bios.
-
http://finance.yahoo.com/news/microsoft-tests-payments-api-164400544.html didn't know what microsoft wallet was so had to look it up... https://www.microsoft.com/en-us/wallet looks like something like the apple or exxon mobil rfid tap here to pay things, so not sure how a api for website developers has anything to do with it, are you supposed to tap your phone to your laptop or desktop somehow or what? lol. would be nice though because if it becomes a thing maybe ltt can use it and i can finally get floatplane club access.
- 1 reply
-
- microsoft wallet
- api
-
(and 1 more)
Tagged with:
-
Hello all, I am using a raspberry Pi 4B 4GB with Raspbian and Mono C#, I am looking for a Speech API to replace System.Speech since its not supported in Mono, anyone have any API for a speech to speech for my project?
-
Hey All, I'm trying to build a finance product with python, but to do so I need an API with access to live pricing, TTM EPS and Balance Sheet on global equities markets. So far I've been unable to find one that can do this. 'yfinance' constantly breaks, returning empty dataframes, iexfinance doesn't offer global products etc. etc. Do you guys have a fix to the yfinance problem, or an alternative API for me? Thanks in advance.
-
I'm a old school C++/Python/Asm programer (started coding back in 86), and I want to write a custom web ui frontend for a python command line backend which handles a renderfarm VM management system. For all the web programmers out there, I have 2 questions: 1. what would you recommend as "best" to write responsive web UIs with dinamic stuff, like Trello/Weekan style drag-and-drop and popups, for example? For "best", I mean the "best visuals" VS "simple and fast to do"! The learning curve and visuals, I think, is the most important for me since right now since I need something that would give me a professional look, and doesn't take days to learn! (I have a lot of stuff to do already... lol...) I'm very used to the way PyQT works for UI's, so if there's a similar framework out there, or even simpler, that would be the best! 2. do you guys known of a simple and fast to write API/Framework for user authenticated (OAUTH) database setup? Basically, I would love to have something that could be easily tied to the UI so it would store the UI Data created by the user automatically. 8P I really hate to deal with SQL/Database queries, so ideally something that would show an OAUTH authentication dialog, and then would store whatever is done in the UI, so the next time the user logins in, the UI is retrieved on the same state, with the same data. Then for the backend, I just need to be able to use Python to easily retrieve the user list and the UI data from each user! ------------------------------------------------------------------------------------------------------------ That's it! Since I'm an old school guy (aka "old man" as my boy calls me! LOL), I'm not very used to the new generation frameworks and languages, so some context from you "kids" out there would be amazing!!! 8P I can reciprocate the help with any C++/Python/Asm/Qt/RSL/OSL/Maya C++ API/Linux/FUSE API/OpenGL-OpenGL ES API/Arnold,Vray,Renderman and other VFX API's/etc; questions you guys have!! LOL!! cheers... -H PS: I work with R&D for rendering in Visual Effects, by the way...
-
I'm making fetch post requests from the backend of my wix site to the spotify api. it works perfectly in the editor and the api returns an access token, but when I publish the site and try and use it on the live site I get an invalid_grant invalid authorization key error instead. Why might this be? I already verified my permissions are set to allow anyone to call functions from the backend.
- 2 replies
-
- websitedesign
- website coding
-
(and 4 more)
Tagged with: