TIL Oracle owns the word "Javascript"
Trademark Status & Document Retrieval
fuck oracle
Sort of in a similar situation where I'm now tasked with making a proof of concept involving a designing a board with a microcontroller and networking that can do nanosecond precise sync using IEEE 1588 (Precision Time Protocol) and writing the code using FreeRTOS+TCP down to the drivers for the networking chip for my graduation project.
Literally none of this was remotely covered in my education and it's basically all from hobby interests. Having a lot of fun learning all these new things though
Embedded code and networking etc are not something I'm interested in, really. I mean I enjoy learning new topics - and this is LEAGUES better than having to try to learn machine learning from scratch, because I can scope this topic and it's something that has a concrete definition (vs being a more abstract field/category of mathematics and programming). UDP is gonna be tough though. I'm freely using Boost and C++17 coroutines though, which should be rather helpful. Current goal today is to create a dummy UDP server in python transmitting garbage data, and just to receive that using the DLL driver I'm writing.
I currently have 50k of spacecraft SDR on my desk though, without an antistatic mat, that I need to eventually get out of the bag and test with. I have an antistatic mat, just hardly enough room to use my own desk as is let alone put a mat out on it + setup this hardware. Work finally bought me an extension so I have a proper L-desk setup, but I found it pretty dumb that they wouldn't drop $100 on that but were willing to give me one of our in-house manufactured and expensive developer radio units :V
I'd recommend using 'heavily inspired' art instead of the original stuff, since Game Freak tend to C&D projects last-minute.
Then again, Mari0 got away with it when the name was changed just a little.
Successfully receiving data packets sent from a Python script in C++:
https://files.facepunch.com/forum/upload/132396/cfdbe90c-20c6-4321-9e3d-65d23fbd5d55/network_test.PNG
As this will eventually be used for tests of hardware, and I want to test my code in a nice way, I made it so that the tests are configured with a little JSON file. It lets you set the port/address data, and the packet (expected) frequency and the single packet size in one common location, so that the C++ and Python code use the same values for these options without a need to modify the code for each.
Pretty simple stuff as I know there are some people who are really experienced with networking here I bet, but as someone who didn't (still doesn't, really) know a damn thing about networking I'm content with my progress today. Now to get to the really hard part of dealing with the high frequency of transmission our radios are capable of, along with unpacking/converting the data frames at these high rates AND checking for fragmentation and stuff >.>
Added collisions and a platformer character movement to my engine:
https://youtu.be/VFPCQi1lJ8c
I'm making a Sublime Text addon to improve efficiency for coding by giving a live-wiki style overview of your code... Plenty of callbacks to create your own mapper and fully customize it to your hearts content.
Check my profile for a huge how-to but here are some photos: https://www.dropbox.com/s/2ov6prv7cfn7sca/Screenshots.zip?dl=0
Or:
https://www.dropbox.com/s/hi30l5ss0xz5tlo/sublime_text_unregistered__screenshot_20180126032617_3224.png?dl=0
Dropbox
Same file mapped 2 ways ..
I'm moving away from the previous app I used as a loader for my custom maps, then mapping back-end, to a stand-alone addon for the sake of control.... and I had to get away from the circular import problem the mod maker wouldn't resolve himself... plus other major bugs and drawbacks...
I am planning on supporting many languages - right now I have several supported: AutoHotkey, Batch File, C++ Basic, JavaScript, GMod Lua with Garry's Mod Mappings such as AccessorFunc expansion and more.., Lua Vanilla, GMod Lua with AcecoolDev_Framework Project Support / Mappings, Also looking to support DarkRP and NutScript by adding mappings for them, MarkDown, PHP, Python, Python with Acecool Code Mapping System Mappings Added with AccessorFunc Expansion and much more, Sublime Text Settings JSON basic, TypeScript and Plain-Text ( output using numbered lines so as not to modify the original file for someone who requested it....
I am planning on supporting many more..
I am currently working on getting rid of all args on the callbacks so I can pass a single object through making it more future-proof so I don't need to edit every single mapper every time I change an arg, or do something else...
Then I'll be working on a new Region Mapping System for the output panel - basically EVERY character can be made into a clickable with or without a tooltip to improve the output panel by ensuring the text seen is as concise as possible while providing the maximum amount of information possible without taking up a lot of screen space with other options to change how the data is output to allow for more data to be shown... which is all available except the region mapping...
Anyway the region mapping will let me link say ClassName.FuncName( args ) output so ClassName clickable goes to the class definition, FuncName to that line, args will show data-type ( possible now or arg, or both ) but a hover tooltip ( the nice advanced tooltip ) will show live wiki info on input and output of the function grabbed from the file itself...
Other clickables other than line jumping will link to other projects, jump to bookmarks, files, open files, open a list of standard files or related files, run a macro, insert a snippet and much more....
I am also working on a toolbox so the system will act like a real IDE code tree / mapping / navigation system... with the region mapping system I'll add a search option with filter / include and mask / exclude search types so click on search and depending on which of the 2 other options are selected ( single click ) as you type the output window data will be filtered in real-time...
Because of how I'm designing it, you'll be able to add your own entries in the toolbox, or elsewhere, so hot links to quick-sort the data instead of needing to change a config file, or hotlinks to each class definition so clicking will remove ALL NON classname data from the output window so it'll act like a dropdown from a standard IDE code tree / navigator...
Having an overview of your code if its 10000 lines or more and fits into 100 lines ( or on screen ) or so, with minimal scrolling giving you an organized way to navigate code without having to scroll search ( which can take minutes to find something in a file that large and doing combos to find something jumps you around and it isn't always want you want ) is annoying and wastes time...
Ultimate goal is to save time because I have so little available to me...
Try it out, I am taking feature requests, support, bug reports, etc... submit on the repo site please...
Installation instructions are on my profile: Acecool
I presume you already know about it, but boost::asio is extremely helpful and used on a server emulator I used to mess around with
Daytime.6
handling fragmented packets shouldn't be too much of an issue, though if your data in the buffer is going to fragment/needs to be reliable I'd pick TCP over UDP
Learning Angular2 cause they've decided to pay me to do nothing at work.
I don't like dealing with Typescript. I don't like having to transpile files on the backend to get a frontend framework to work. Additionally I don't feel like Typescript solves any problems that I've every had. However, my coworkers are fucking die-hard about typescript and I've only got a little less than a month here anyways before I move to another part of the state entirely so I'll play along.
I prefer the simplicity of AngularJS
Yep, using boost.asio already
TCP isn't an option for us, though I'm not quite sure why. This is designed for debugging/interfacing with high-frequency SDR systems though, so I'm guessing the downsides of TCP are of particular issue, and the lower latency of UDP wins out. The dataframes being sent already contain timestamp/redundancy data: so that's not an issue at least
for an SDR i'd figure TCP would be better since it's a stream. Especially if its just for local use which nearly guarantees there'll be no retransmission
as for the latency, just disabling nagle's algorithm on sockets should get it close to, if not the same as UDP. but yeah can't quite comment on the choices since the design has its internal requirements
still, boost::asio is great. kinda wish c++'s committee would hurry up with networking on STL already, since pulling all of boost for a couple modules is kinda meh. we can technically provide a minimal boost setup, but that gets even more annoying for crossplatform environments..
I'm a weirdo, I prefer using sockets raw to boost asio any day of the week
Since I asked one of our EEs why it's UDP: it's because we'd have to implement TCP handling and mechanisms in the hardware, as our SDR platform is pretty much pure FPGA at the moment (which definitely is the way to go for space systems). So in this case, our hardware / radio stack can just assemble a packet and fire it off like it would on-orbit, which is trivially done in hardware: our ethernet breakout board merely facilitates connecting to the radio's output over ethernet, along with a few other things like UART control of certain things. So unless we implemented Nagle's algorithm in VHDL, we don't exactly need to worry about disabling that
I've spent most of today preparing the conversion/parsing code for processing the data packets, too. It's a bunch of important header data followed by 1440 bytes of I/Q samples, which I then have to convert into floating point I/Q samples really fuckin fast cus eventually I'll be expected to hit at least 5Mhz
I can feel the gmod rp brewing already
not gonna lie, sounds like a heap of fun to me. maybe one day I'll be messing with real-time properly.. though doing it at home tends to be expensive and hard to come up with ideas for it.
My company is developing an API for our product that we hope to inspire other developers to integrate their products with our platform. The api is written only in typescript and you have to use node/npm to import the library and then of course build it. I don't really know enough about exactly how it works to describe it but you get the idea.
This, to me, seems like a lack of flexibility. If I was a developer looking for a convenient platform to develop for, and the only option was to use typescript, personally I'd look for a platform that allows me to just drop in a <script></script> tag with vanilla Javascript. It just seems to me like if we're trying to build a "developer community" for our product, we should be as flexible as possible
Many libraries are distributed only in module form, requiring some kind of module loader/precompilation step, but I can't think of any that [i]require[/i] Typescript (that aren't directly associated with it, ex. a wrapper). Even Visual Studio Code, an editor written in Typescript used to develop Typescript, supports raw JS extensions.
Now you can add a chat function to your game in my engine with a single line of code, just importing a chat module: "varley.module('chat')"!
https://www.youtube.com/watch?v=LBlrSsaFwl8
Having lots of fun, just have to add interactible objects like coins, improve the documentation and fix a few issues, and it's ready to be used.
I hated AngularJS even back then. It was a fucking abysmal piece of shit, but there were some redeemable concepts. But shit that was built with generator-angular 4 years ago straight up doesn't even work today, and I mean even if you use the exact same tooling you did back then. The exact same versions of nom and node will outright fail to install your deps, even though the dep versions still exist in the registry. Think about how fucking abysmal that is. I've done great work with AngularJS v1.x that I can't even show to people today. It's entirely lost to the sands of time.
I look forward to seeing inexperienced developers run into the exact same thing, except less than 4 from now, all over again. The only difference now is we'll have a lot more people getting burnt. It's just going to take an entire generation for people to feel the effects of bad throwaway engineering.
I personally dislike having to use a package manager for anything involving the frontend. If I want an additional library to use, I'll include in a <script> tag, but using npm for a frontend frameworks seems like an overcomplication
With easily over a decade of front-end experience, I wholeheartedly agree. I think npm eternal september stems from people not understanding foundational web development and diving straight into shitty trends.
Working on fixing bitangents in lgf, but I'm too stupid to see what the issue is. Could anyone point it out to me?
https://user-images.githubusercontent.com/487078/39085823-581718ca-453d-11e8-9e03-e9fa8c54f6be.png
https://user-images.githubusercontent.com/487078/39085824-5830d116-453d-11e8-9814-f49e906438d0.png
According to the Khronos sample, you're misinterpreting the green channel from the normal map.
https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/NormalTangentMirrorTest#problem-flipped-y-axis-or-flipped-green-channel
Oh my, thanks for the heads up! I wasn't aware of the reference documents providing additional information on the test models. I figured you'd just have to be smart enough to figure it out yourself.
Decided to have a go at a Ludum Dare again, since work has kept me busy from them for a while.
The theme is to combine two incompatible genres, and I'm pretty sure this is as incompatible as you can get;
https://files.facepunch.com/forum/upload/110508/57581e0b-668d-421b-b3fa-b7490879e0c9/Peek 2018-04-22 18-21.mp4
Behold, the button placeholder
https://files.facepunch.com/forum/upload/58146/f9ad0111-4d8f-4f6e-9e61-5985641ce293/imagen.png
On a more serious note I implemented a filling button, similar to what is found in watch dogs
https://i.imgur.com/V8phB65.png
Whoa, glTF is exactly what I've been looking for! Thank you for posting.
glTF is a neat format, yeah. I wish it had more adoption, but I also need to learn more about it because it seems neat on the surface but might not be so great in-use
If there's one thing I've learned about Khronos, it's that they do a pretty great job with their reference documents. Learning to find them and read them is an acquired skill, but it can be done.
I say this as the official reference guide and the actual API specification are currently the two best sources of info about Vulkan, besides just using the API and having the validation layers tell you everything you're doing wrong lol
Sorry, you need to Log In to post a reply to this thread.