|
Data Graham posted:Like this gem I saw a little while ago. So *that's* how you defend against SQL injection.....
|
# ? Dec 1, 2016 18:01 |
|
|
# ? May 9, 2024 14:40 |
I mean what it thinks it's trying to defend against is HTML entities (like & nbsp;) and tags, but still what we've got there is someone who not only stores passwords in cleartext but does things with them (like I guess display them if you forgot).
|
|
# ? Dec 1, 2016 18:03 |
|
MrMoo posted:Been challenged to create a 60fps synchronized video wall in HTML5. Starting with single computer, multiple port, and increasing up towards multi-computer synchronized play for much bigly displays. I may start a project.log as the last time it took 3 months to get news & quote tickers running across 6 displays. Is each one streaming the whole file and just showing a part of it or is it pre-split into the grid with playback synchronized over multiple files?
|
# ? Dec 1, 2016 18:30 |
|
It's targeting a customizable signage solution type thing so they have single super size videos that cover the entire wall, but from what I've seen they have been split up because I don't think anything is going to play 12x4k resolution in a hurry. They also have a lot of odd videos that need to be played side by side and looped in various forms, all different lengths and sizes. Easy first step would be to at least preprocess the video so that you have easier chunks to work with. ooh, one of the target walls is this thing, so sometimes single adverts, sometimes multiple: and this the first wall to fix as it is looking super with tearing and other awesome artifacts: MrMoo fucked around with this message at 18:55 on Dec 1, 2016 |
# ? Dec 1, 2016 18:50 |
|
That sounds like a cool project.
|
# ? Dec 1, 2016 18:54 |
|
MrMoo posted:It's targeting a customizable signage solution type thing so they have single super size videos that cover the entire wall, but from what I've seen they have been split up because I don't think anything is going to play 12x4k resolution in a hurry. They also have a lot of odd videos that need to be played side by side and looped in various forms, all different lengths and sizes. I remember a few years ago a goon in the "post pictures of what you are working on" or maybe this thread did the NASDAQ (or was in NYSE?) video boards along these lines. If you can search or whatever, maybe you can pick their brain? Or maybe it was you!!
|
# ? Dec 1, 2016 19:41 |
|
MrMoo posted:It's targeting a customizable signage solution type thing so they have single super size videos that cover the entire wall, but from what I've seen they have been split up because I don't think anything is going to play 12x4k resolution in a hurry. They also have a lot of odd videos that need to be played side by side and looped in various forms, all different lengths and sizes. Very cool indeed, this is pretty close to my industry actually... Do you know how many frames you can be off? I'm guessing very few. I would be surprised if you could offer any sort of guarantee of frame accuracy via HTML5, especially at 60fps. Is it an absolute "drat the torpedoes" decision to use HTML5 video? If not, I would first try to really clarify what your tolerances are and if you think that can be met, before investing too much into an avenue which may never pan out the way it needs to.
|
# ? Dec 1, 2016 20:02 |
|
I used to maintain a video delivery system as part of my job and if DASH had just come along a couple years earlier I could have made my old boss' dreams come true
|
# ? Dec 1, 2016 21:50 |
|
Skandranon posted:Very cool indeed, this is pretty close to my industry actually... Do you know how many frames you can be off? I'm guessing very few. I would be surprised if you could offer any sort of guarantee of frame accuracy via HTML5, especially at 60fps. Is it an absolute "drat the torpedoes" decision to use HTML5 video? If not, I would first try to really clarify what your tolerances are and if you think that can be met, before investing too much into an avenue which may never pan out the way it needs to. It's a hard 60fps, this is what the tickers already run* at NYSE with live data at 4K resolution. On gigantic display boards any visual errors are significantly amplified over a desktop environment which is why it is rather challenging. One could say the new implementation is more of a commodity by leveraging Chromium for everything, previous implementations are bespoke hardware and bespoke software and thus with additional costs and maintenance. There is a big question on tolerances which is why previously I used WebAnimations for an independent frame rate and sub-pixel rendering which ultimately proved incredibly powerful and visually better than pure CSS hardware animation that has browser and system jitter interrupting everything. The primary question is whether this entire thing is feasible in a web browser and thus that is my project from today. It looks like it has been done before, the Chrome Pixel Tree project used a Node.js server for synchronization and relaying of control signals. If one looks at something like the Jet Blue Terminal at various airports they have a super sized display: Is that real wide display or just 10 monitors repeated? Is it in a web browser and is it 60fps? idk, looks pretty nice though. LAX JetBlue has a couple infamous Windows XP desktops showing so probably some custom app or Flash monstrosity. MrMoo fucked around with this message at 22:42 on Dec 1, 2016 |
# ? Dec 1, 2016 22:34 |
|
MrMoo posted:It's a hard 60fps, this is what the tickers already run* at NYSE with live data at 4K resolution. On gigantic display boards any visual errors are significantly amplified over a desktop environment which is why it is rather challenging. One could say the new implementation is more of a commodity by leveraging Chromium for everything, previous implementations are bespoke hardware and bespoke software and thus with additional costs and maintenance. There is a big question on tolerances which is why previously I used WebAnimations for an independent frame rate and sub-pixel rendering which ultimately proved incredibly powerful and visually better than pure CSS hardware animation that has browser and system jitter interrupting everything. The primary question is whether this entire thing is feasible in a web browser and thus that is my project from today. One monitor at 4k isn't much a problem I don't think, but 2 monitors, which are 2 browsers, and synchronizing DASH playback to within a few frames... Could certainly use Websockets to communicate between them all, but can you get your DASH transport stream segments small enough to correct for just a few frames? Tricky, sounds like you're looking mostly at some custom DASH extensions or something. Sounds fun though!
|
# ? Dec 1, 2016 22:40 |
|
4k is the glorious combination of 6 HDTV's at the joke resolution of 1366x768 or whatever the usual low end size is. However that is all on one PC, it is going to be interesting scaling up either with a server or peer-to-peer. The other important caveat is that the servers are low profile boxes that you cannot jam a nVidia Titan into. For some reason nVidia have special cards for digital signage but they are a generation or two behind those for gamers, we already had to use better hardware for the tickers compared to the regular wallboards like the one showing the DJI index. They provide bezel correction and allegedly frame sync. Behold the power of flot. MrMoo fucked around with this message at 22:51 on Dec 1, 2016 |
# ? Dec 1, 2016 22:44 |
|
Was going to come in here to ask you guys if you had any experience unpacking SQLite files but then I found a cool site that does it for you: https://sqliteonline.com/ It's like a little MSSQLMS thing in a web page! Pretty neat.
|
# ? Dec 2, 2016 00:40 |
|
Running a site like that is such an opportunity for evil. Delicious!
|
# ? Dec 2, 2016 00:49 |
|
Yeah I was thinking that, but it was just a little database I was troubleshooting for an embedded hardware Android app someone else made. They're welcome to the 20 or so lines of obscure name/number combinations used to configure which tiles should be displayed on the screen
|
# ? Dec 2, 2016 01:13 |
|
Chome video wall update: I started a project.log before I start forgetting and losing things.
|
# ? Dec 3, 2016 21:26 |
|
Anyone have a recommendation for a good (front-end) lightbox/image carousel-y type library? Slick wasn't quite cutting it for us in terms of responsiveness. Just need to be able to cycle through a list of images and look good on mobile or desktop.
|
# ? Dec 5, 2016 23:07 |
|
an skeleton posted:Anyone have a recommendation for a good (front-end) lightbox/image carousel-y type library? Slick wasn't quite cutting it for us in terms of responsiveness. Just need to be able to cycle through a list of images and look good on mobile or desktop. We moved from Slick to Swiper
|
# ? Dec 6, 2016 05:17 |
|
Seconding Swiper. Unrelated: My company wants to livestream presentations (show their computer + voice) embedded on our site. I'm not familiar with anything other than Twitch and YouTue live which they wouldn't want to use. Chat, etc isn't required either; I'm thinking barebones live video would be enough. Any recommendations?
|
# ? Dec 6, 2016 15:08 |
|
youtube live might be the easiest to just embed if you want to pay, there are places that just provide you a player JS/swf code and a rtmp url to push to
|
# ? Dec 6, 2016 18:14 |
|
You might want to mosey over to the LP forum and the tech support fort thread therein. I believe they have instructions/experience with free programs like OBS and the like that might work. You can also hack together a janky stream with VLC, though I've never done it but I believe it's possible.
|
# ? Dec 6, 2016 20:18 |
|
Any of you UltraEdit owners know what the hell this "Download Insurance Service" is? It's $8 for what looks like a 2 year guarantee I can download installers for the software. Is this needed? I thought the trail was downloadable then I can just put my license key in that way?
|
# ? Dec 6, 2016 21:28 |
|
OBS is kinda janky to setup, if you have money for it, maybe look into something like xSplit.
|
# ? Dec 7, 2016 13:43 |
|
Is anyone building web applications in Common Lisp? I made an HTML generation library for PHP a few weeks ago that turns out to be virtually identical to what Common Lisp and Clojure users are already doing. The idea of such an elegant language that produces fast-running binaries for the server just sounds so nice.
|
# ? Dec 7, 2016 14:53 |
|
Another Drupal question that will probably go unanswered, but here we go... How can I see the unrendered contents of a field in a twig template? For example, I have this: code:
code:
Any help? Pleeeease?
|
# ? Dec 7, 2016 22:32 |
|
kedo posted:but it would have taken me thirty seconds to figure this out instead of a half hour if I could actually just print the field's contents onto the page in an array/object format. dump() is supposed to do this, but I get a WSOD whenever I use it which is incredibly frustrating. dump() should work but kint() will work better (install devel module). You're probably running out of memory.
|
# ? Dec 7, 2016 23:45 |
|
Yeah, I figured as much. I pumped my memory all the way up to 2 gigs (locally of course) and still had some issues so I started dumping only keys instead. It works, it's just a little slow. I need to get kint working but I have so many composer errors that I don't want to take the time to fix right now that I can't. Fun stuff.
|
# ? Dec 8, 2016 00:12 |
|
InevitableCheese posted:Any of you UltraEdit owners know what the hell this "Download Insurance Service" is? It's $8 for what looks like a 2 year guarantee I can download installers for the software. Is this needed? I thought the trail was downloadable then I can just put my license key in that way? Total guess: I think they save your key with that, otherwise the responsibility is with you? Man, how is ol' UE doing? I used to love working with that.
|
# ? Dec 8, 2016 02:48 |
|
well why not posted:OBS is kinda janky to setup,
|
# ? Dec 8, 2016 12:59 |
|
Kekekela posted:Like janky to the point of "if you haven't done something similar, it'll probably be super-frustrating" ? I'd been thinking about trying it out for a personal project after seeing it recommended on a gaming board for something completely unrelated.
|
# ? Dec 8, 2016 14:23 |
|
Yeah, it's not like it's broken, it's just hard to get setup to a solid state. Hard to beat the price, though.
|
# ? Dec 8, 2016 15:09 |
|
Thanks for image carousel suggestions. another quandary: We have an image viewer of sorts in our app which allows a user to upload photos. If this photo is an iOS photo taken in portrait mode, for whatever reason, it is displayed in its side (rotated 90 degrees) instead of upright. right now the image is set into a background, but earlier it was in a regular old <img> tag, and both methods resulted in the img being sideways. anyone have a solution to this? i suppose we can read the metadata and maybe do some css rotation magic, but wanted to reach out before we tried that.
|
# ? Dec 11, 2016 07:07 |
|
Are there any courses or tutorials that walk you through, with exercises, doing the very basics of requests, post, get, Ajax calls, etc? I already know the topics more or less by observing what happens with developer tools and I've built simple stuff with Django. However, this knowledge is very far removed from the basics of what's going on and I'd like to learn more about that.
|
# ? Dec 12, 2016 15:19 |
|
I don't know about tutorials or the like, but for me way back in the day downloading and messing around with Fiddler really opened up my eyes on how that stuff worked. Basically pick your favourite site, fire up fiddler, and inspect things.
|
# ? Dec 12, 2016 19:44 |
|
Writing the other end is very useful too. Try writing a very basic API in more or less whatever language and you'll learn so much about how HTTP requests work.
|
# ? Dec 13, 2016 07:18 |
|
what is the consensus on tools such as Browserstack? Anyone have experience using it, was it worth it, or is there an alternative you liked better?
|
# ? Dec 13, 2016 10:19 |
|
Browserstack is kind of a joke IMO. Modern browsers are all fairly close to spec at this stage. IE6 is buried, IE7/8 are on the way out and IE9+ is generally fine. Just explain to your clients that worse browsers will have a degraded experience and be done with it. If you have to test across browsers, the current best way - IMO - is with a Mac and Parallels Desktop. Covers IE, Safari, Chrome, Firefox.
|
# ? Dec 13, 2016 13:44 |
|
Agreed. I use VMWare Fusion to run a couple different versions of Windows so I can test back to IE9. Browserstack is useless (or at least was last I used it) when you have some obscure JS error that you can't troubleshoot because it doesn't give you access to developer tools. Granted I also used it last about 4 years ago, so take what I say with a grain of salt.
|
# ? Dec 13, 2016 16:19 |
|
I've been missing BrowserStack recently because the place I'm at right now doesn't have it and it turns out that modern browsers aren't consistent enough at, for example, rendering native date controls to pass QA here without a lot of browser-specific tweaking. Also I technically have to support IE 9 because corporate and of course I'm on 11 and lol no, there's no spare RAM for a VM on this thing Aside from helping to fix the odd bug that only shows up in some annoying mad-libs-filled-in-at-random configuration, the mode that just shows you a giant grid of screenshots from ~20 different configurations is really nice for spot-checking changes that might break ~something~ ~somewhere~ and hand-testing each would take up too much time.
|
# ? Dec 13, 2016 16:44 |
|
I just ignore ancient IE versions at this point -- I don't even mention them to clients. Better to ask forgiveness than permission, and so far I've had zero complaints in the past five years anyway.
|
# ? Dec 13, 2016 17:09 |
|
|
# ? May 9, 2024 14:40 |
|
The place I was at this time last year was doing 30% of their online business through IE 9 and their site did about $1.2B per year, IIRC. They still do most of their sales over the phone, though, because they mainly sell to healthcare providers and lolll if you think a doctor is going to ever change their ways - or buy new computers for the office, apparently By contrast, BBY dropped support for anything older than 11 because nobody on those old browsers was spending any money on the site, so
|
# ? Dec 13, 2016 17:31 |