It's simple, really. Out of all the strings ordered primarily by length and secondarily lexicographically, print the first one with 12 chars that's lexicographically larger than "Hello World ". ('!'
comes after ' '
.)
Should only take between 256^(11) (3*10^(26)) and 256^12 (8*10^(28)) iterations. :3
I've done something similar to this without the hidden encrypted partition. I installed grub2 on a flash drive and using a custom grub.cfg file, I have a menu to select and boot directly from the iso files.
See here for my inspiration: http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/
Here's a a copy of my grub.cfg file: http://slexy.org/view/s2LIopPRnp
Looking at the DRV8412's datasheet, a UART interface isn't the solution to your problem. Connect the stepper to the driver using the schematic provided in the datasheet (figure 10), then connect the inputs directly to any port on your msp430.
Here's some code I recently used to test a stepper using a DRV8833 driver with an MSP430F5329: http://slexy.org/view/s20Zq4fWOc
For anyone wondering about dependcies on Linux: http://slexy.org/view/s20yWBVmay
For Debian users, this should work (GLX libraries should be provided by your video drivers):
sudo apt-get install libc6:i386 libopenal1:i386 libgcc1:i386 libgl1-mesa-glx:i386 \ libglu1-mesa:i386 libssl1.0.0:i386 libstdc++6:i386 libxcb1:i386 libx11-6:i386 libxext6:i386 \ libxdmcp6:i386 libxrandr2:i386 libxrender1:i386 libxau6:i386 libxxf86vm1:i386 zlib1g
"Following news of the rejections, Apple told Business Insider that it's not rejecting apps or app updates that work with Pebble's devices. Pebble also chimed in on Reddit, saying it was working with Apple, which was being "super responsive" to concerns that existing apps might get the kibosh:
Update: Still a work-in-progress, but we're working with Apple to clear up any misunderstandings to make sure rejections like the handful of recent ones don't happen again—they're being super responsive the concerns that bubbled up (much appreciated!). Apps are still getting approved with mentions of Pebble support in the description or metadata (e.g. RunKeeper). For now, developers should continue with their iOS app update plans and approval submissions to the iTunes store as normal (i.e. include Pebble support in your app info if that was your original intent)."
Source and Pastebin
http://slexy.org/view/s2afeJUijq
https://www.theverge.com/2015/4/24/8493483/apple-app-update-pebble-policy
"Following news of the rejections, Apple told Business Insider that it's not rejecting apps or app updates that work with Pebble's devices. Pebble also chimed in on Reddit, saying it was working with Apple, which was being "super responsive" to concerns that existing apps might get the kibosh:
Update: Still a work-in-progress, but we're working with Apple to clear up any misunderstandings to make sure rejections like the handful of recent ones don't happen again—they're being super responsive the concerns that bubbled up (much appreciated!). Apps are still getting approved with mentions of Pebble support in the description or metadata (e.g. RunKeeper). For now, developers should continue with their iOS app update plans and approval submissions to the iTunes store as normal (i.e. include Pebble support in your app info if that was your original intent)."
Source and Pastebin
http://slexy.org/view/s2afeJUijq
https://www.theverge.com/2015/4/24/8493483/apple-app-update-pebble-policy
~/.Xresources. Have any other configs in mind? All the colors you see on the screen are there. Not sure exactly where the wallpaper is, but if you search wallbase.cc for "steampunk" it will come up.
I think OpenJK supports that feature (as seen here). Here are the bindings, and in console (shift+~) type >/in_joystick 2
and >/in_restart
There are also 3rd party solutions (pinnacle, xpadder, controlMK), but I don't know anything about those.
I wouldn't recommend using a controller though, unless maybe for singleplayer.
I run most of my websites on separate users with PHP, admittedly mostly for convenience, but the security benefit is also there I suppose. I use PHP-FPM and will attempt to briefly show what I did below:
in php-fpm.conf:
Find the line like: include=etc/fpm.d/*.conf (varies depending on your OS) and uncomment it. In whatever folder it specifies, create .conf files for each user you want to have PHP for, and the contents should be like this:
http://slexy.org/view/s2NuVF30lr
That's the minimum number of settings you can have in the file, although obviously everything there can be tuned to your tastes.
Lastly, in your webserver, just point fastcgi calls at the correct port for each website.
How do I transition my save game from 1c ? I want to resave in the 2.0 version. Also getting a log of script errors from the terminal on Linux using gzdoom. Using the V2 pk3's, I get a doubled health count, but the left side is the only text that changes. log: http://slexy.org/view/s21i24xMss. I always use GzDoom, but should Zandronium be used for maximum compatibility?
Guess I'll go back to 1c for now.
Thank you, :) I have attempted some the corrections that I could understand, I'm sort of new to php and can't really remember much of what I studied at university, nearly 2 years ago. Now I am able to get it to connect the database successfully however it does not seem to authenticate the login / redirect on a successful login. New code here: http://slexy.org/view/s2g4eDR1dA
I also tried another method (not posted) which resulted in "unexpected ;" even though they are meant to be there where it was saying they were unexpected. Example: header("Location: welcome.php"); While I did also try the password verify function I could not get it to validate against hash'd pw, only exactly what was set in the DB.
I'll try that, the debug showed this:
http://slexy.org/view/s2SzIKwxpL
Using my wrapper
How is the drive formatted? Is it an NTFS drive from your Windows install? Sounds like it is not setup in /etc/fstab, due to you needing to enter administrative actions to open it. NTFS drives can be mounted in /etc/fstab as well. More than likely, you will need to edit /etc/fstab for a permanent solution. Attach a http://slexy.org/ paste from 'cat /etc/fstab > log.txt'.
In response to "John from Canada"'s question it's absolutely possible to run all those things on the FreeNAS.
A lot of the services have FreeNAS plugins and FreeNAS has the ability to create FreeBSD jails too (which is how i prefer to run things).
I currently have 9 jails on my FreeNAS box:
The only real problem i've experienced with this setup (5x 2TB RAIDZ, 32GiB RAM, i3-3225) was browsing the web interface of Emby. Whenever a library scan was initiated the whole interface would become unresponsive, no doubt due to low IO on the HDDs.
Fortunately i had a spare SATA port and had recently upgraded the SSD on my laptop, so i stuck the old 120GB one in the server and recreated my jails on that. No redundancy on a single disk zpool, but it sure does fly now (browsing the Emby web interface takes less than a second to populate the page with 100 film/show posters and, being on separate zpools, library scans no longer block the UI).
Looking at your specs you've got a SATA DOM on your list. This is a waste of a good SATA port. FreeNAS runs from RAM so, unless you need the absolute fastest boot time, you're better off using that port for a storage drive and just booting FreeNAS from USB. The only time the OS drive is used is when booting or installing an update.
it is SSHed but, it displays half the text. i have Xen center install atm. i'm pulling uo your link for later reading. it seems xen center does not want to let me scroll and select. so it's pita to copy.
reddit won't let me paste it all ( character limit) so i used a paste bin.
http://slexy.org/view/s2VuNCmszu
Thanks for the help, i was wondering if the 9400GT was being detected wasn't sure if my mobo like it since it's PCI and not PCIe. so it's nice to see that in there.
also
here's a link to a link of photos. IDK why'd you want or need any photos of the hardware but, why not.
https://www.reddit.com/r/homelab/comments/3gmvmj/my_current_project/
In response to Gordan's question : I manage technology for the city just east of kernellinux's home, and have addressed some of the same issues:
I simply use mediawiki (although looking at moving to tiki) for maintaining such documentation on a secured webserver. Wikis are easily accessed and edited from any web browser, simple to manage, keep historical records, etc..
I use NAV https://nav.uninett.no/ for monitoring nearly every device (switch/router/server/access point/printer/key desktops/etc.) on our metro area network. Get full data from SNMP enabled devices; ping packet loss, response time, up/down on non-SNMP devices. Can also monitor services like dns/http/smtp/smb/.
Organizational suggestion...something like this:
Markdown for easy implementation: http://slexy.org/view/s2ToTrWRQT
Yeah my bad it got late last night and I was tired when I posted that lol
here's the slexy paste
I have both python 3.4.2-1 and 2.7.8-2 installed, but I couldn't actually get pip to install pybonjour, which I thought could be the real issue, and had to install it from the repo. CherryPy installed fine through pip however, but since it was available in the repo as well I removed it from pip and installed it through pacman, neither of which worked, which leads me back to the problem residing in that function in pybonjour.
Yes, please move it to the Github issues! :-D You need to run the first option of the installation script, see https://github.com/ProfessorKaos64/RetroRig/issues/109 or https://asciinema.org/a/11993. You can then start it manually with /usr/share/applications/startXBMC.sh. After the installation, there will be some debug logs in ~/RetroRig/log, you could post them in http://slexy.org. I like your idea naming the terminal command "retrorig" and posted a suggestion to feedback thread #109.
Depends on your OS. There is a GUI available, called M64py. I used this on Linux for a while. Other wise. you can load up a program that tells you what button press is whatever number, and then open the mupen64plus.cfg file ad adjust the controls under the SDL section.
See:
http://slexy.org/view/s2q0OvrOlq
http://m64py.sourceforge.net/
compholio, you said something interesting there. What database are you talking about? I have been debugging this issue now for a while, but it turns out to be really tricky. I'm now testing to start the actual compiled xbmc file directly from the desktop launcher file: http://slexy.org/view/s2dzvV0N2s It's still the same. I compare that to an identical starter, where I start an emulator. It does not work for xbmc.bin, but it does work for the emulator. There must be some broken entry in this database. The messages on the dbus look like this: http://slexy.org/view/s21iIQMHvt
Updating the database or installing the starter with 'desktop-file-install' doesn't change anything. Where do I find this database and how can I query it? Thanks for pointing me in this direction!
Just brain storming here.
RetroRig is using a custom made version of xbmc, I suppose that's where things go wrong. Is xbmc.png installed properly to a location where Unity expects its icons? (/usr/share/icons/..) Does xbmc.desktop have execute rights? The desktop file for the regular xbmc should look something like this: http://slexy.org/view/s21OWqGhyz For xbmc-retrorig it would need a second desktop file http://slexy.org/view/s233IsjYuX
I think there are no embedded icons under Linux (embedded in ELF executable) it's all done according to the freedesktop specs.
-jc
That's a more interesting one. Generally, pumping lemma and making DFA/NFAs are your tools (there are some bigger guns, but it's harder to have in intuition for them).
I do believe this one is regular and you should try to draw a DFA (or NFA if it makes your life easier). Divisibility in base 10 is sometimes easy. Divisibility by 25? check the last 2 digits. Even? check the last digit. Divisibility by three? add the digits.
A variation on that last one (with slight tweaking based on the length of the string modulo a certain number, which you can guess non-deterministically with an NFA) should work. I think that these languages are regular (in base k, divisibility by n should be regular). But it can get complicated.
Look at this for divisibility by 7 in base 10: (It's a regex, which is equivalent to DFAs) http://slexy.org/view/s2QFWeNxZo
Why do you imply it needs defending, as if it's "wrong"? > thinking I am unfamiliar with
Clearly.
On the Iatrogenic Nature of the Child Sexual Abuse Discourse
Ran the tests successfully on my OS X box. There were two test failures.
Full log: http://slexy.org/view/s2fVDxe13S (Search for [Failure]
.)
On my Linux box (normal Haskell development machine), there's a package conflict I have to resolve:
> Warning: This package indirectly depends on multiple versions of the same > package. This is highly likely to cause a compile failure. > package test-framework-0.6 requires regex-posix-0.94.4 > package regex-compat-0.95.1 requires regex-posix-0.95.1
and on Windows I need to install libcurl (and zlib) on MinGW.
Not sure if anyone is going to look at this, but I have an update. I figured out how to list only the facilities the park has available. As of right now, I am able to list the details of all the parks. At this point, I need to make it so it only shows the parks that fits the user's search criteria. I have no idea where to start with this. I'm not sure how to use DatePicker with the dates in the XML file, and I don't know how I am going to match up the facilities. I also have no idea if I need to use an if statement or what. I really have no idea where to start here with the search criteria portion of the program.
Here is my updated code: http://slexy.org/view/s20Btccu41
Any help would be greatly appreciated!
I would highly recommend TinyVZ - you get a reasonable VPS for just $15 per year.
Admittedly it has only 128mb of RAM... but I'm running Debian 6.0 with dnsmasq, a custom thttpd (with PHP via fastcgi) and an instance of cjdns and I currently use around 18MB of memory.
Check out the stats here
Edit: Check out the results from a bandwidth test
And no - the link is NOT a refferal, and I am not affiliated with them in any way... other than being a happy customer of theirs :)
I have actually changed the code a bit to get this http://slexy.org/view/s21Zh7sSDb
and adding the print statement shows that number increases the way it should and it seems that each time i get the divisors it adds to the sum that's already there. so I need to have sum change to 0 every time. how could I do that?