#r ".\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll"
#load "Mashape.csx" // Sets a value for the string Mashape.Key
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class Spell
{
@allquicatic Yea, my work env is mostly Java-based, though .NET is creeping in. Funny thing there, actually... IIRC Progress/OpenEdge had a few Java integrations before, but now they're moving to .NET. Acquired Telerik and all.
IMO? C# is syntactically far nicer than Java. And it's advancing quickly now, while Java is playing catch-up.
Java seems to have somewhat better lib support, with a quite a few C# libs being ported from Java.
Groovy is still my favorite language right now :P if I didn't have Groovy I'd probably prefer C#, but I prefer the JVM and its library selection over NuGet and the MS ecosystem and the .NET API
JVMs are RAM hogs, but I don't work on any desktops with < 8 GB of RAM or servers with < 32 GB RAM anymore
@Bob it's not that I can't find them, more like it's annoying to use the .NET alternatives or to attempt to port or incorporate via IKVM the Java libs I want the most
Apache POI is a big one; their spreadsheet usermodel API doesn't care if your underlying spreadsheet is .xls or .xlsx, whereas with OpenXML SDK you have to care, and if it's .xls you're fucked and have to use slow COM
I have to open hand-hacked XLS or XLSX sheets saved by users in Office 2010/2013/2016, modify, and re-save without losing any of their custom crap in other worksheets within the same workbook
POI recently-ish (last year or two) fixed a read-modify-save "faithfulness" bug that was wiping out entire classes of objects
I doubt NPOI ported that fix considering the release history
I don't think I'm allowed to even say which libraries I use other than that, because some of them would give away some of our business partnerships
but I just looked up two of them and neither one has any support for .NET unless you could get them running under IKVM
@Bob I think MS is explicitly trying to kill the HSSF (Horrible SpreadSheet Format, as POI calls it) -- the legacy Office '97 format -- by not going out of their way to support it in dev tools :P
I was lucky enough to be in the position to say "save the file as xlsx to use this program" that time
@allquicatic Probably. Would be fairly easy for them to release/package their own compat tools, but the MS Office team isn't nearly as open as the .NET team.
Ha. "I was hoping Java would kill the need for Groovy, but Java is an embarrassingly 1990's language." -- Paul Bartlett (cc @allquicatic)
@Bob actually, the .NET team is pretty much the only team that's even remotely "open" within Microsoft. The Core Windows team? Nope. Show me a SLOC of the Windows core platform that's open source. Kernel? Explorer? Win32 API? No, no, no.
Office? The only parts that are "open source" is the OpenXML file format. The program is locked up tight.
Want a copy of Windows (client or server) or Office? Pay up (even if the cost is low / free for students).
Don't even get me started on SQL Server. Closed, closed, closed. And super expensive.
Apple is very slightly better than Microsoft in some respects when it comes to MacOS. Open kernel; many open core utilities (enough to make an OS, GNU/Darwin); open source compiler (LLVM and/or GCC); and Swift is open source. But the core APIs and frameworks, like Microsoft, are closed. And not much besides the kernel is open on iOS, too.
> Even by 1998 standards, the Game Boy Camera was a bit underwhelming in terms of technology. It took 0.5MP still images and displayed them at half that resolution. Output options were extremely limited: you either displayed your photos on the screen and passed your Game Boy around the room, or you acquired the Game Boy Printer – a glorified receipt printer that spits out tiny renditions of your subject on thermal paper.
@allquicatic Me too. I could try to carry a 17" machine but I'd need a new bag. Besides, 15.6" is already pushing the limits of what I can carry in terms of weight.
@bwDraco Also, I feel I should point out that the Cintiq only goes up to QHD, and costs almost as much as the (lowest-tier) Surface Studio @ 4500x3000. And that the Cintiq is display-only.
(no, that goes up to GTX 1070, probably due to thermal constraints; GTX 1080 needs a beefier cooling system that apparently can only fit in a 17" chassis)
it would be ideal for me to have all three operating systems (MacOS, Windows 10 and Ubuntu 16.04) triple booting on a high-end Macbook Pro and abandon my desktop, but it seems convergence will have to wait
two M2 SSDs and two SATA SSDs totaling 10 TB of storage = win
I'd still have to keep a Mac around, though, for the occasional need to compile crap in XCode and put it on my iPhone
wouldn't need a particularly good Mac though
could just keep my Macbook Pro Early 2015 for the next 5 years
I've been looking for a 15.6" true desktop replacement for a long time, I'm kinda sad now that I spent all my spending money on a desktop instead of a laptop like that one
that 15.6" Xotic you linked me to would give me better (faster) storage than my current desktop, same RAM, same CPU, very slightly downgraded (1080 to 1070) GPU
before I actually jump on something like that, I think I'm going to give SSDs just a little more time to develop yet-higher capacities and still-lower price/GB
that's very close to being affordable but I want better
my "very comfortable amount of storage that I'll probably never need more than" number is 8 TB for the foreseeable future
but the build as I configured it included $3000 worth of storage
as it stands I have three serviceable computers that can play SWTOR: my Macbook Pro in Parallels Desktop (VM) plays it alright at 1280x800; my Ivy Bridge ThinkPad T530 plays it pretty well at 1336x768; and my high-end gaming desktop plays it perfectly at 3440x1440@100 Hz
it's to the point that I can dual box two accounts at home for RP (one a protagonist and one the antagonist/boss) while not even having to tote a laptop back and forth from work
I can lock my Macbook Pro in my file cabinet at work, leave with just my lunch bag and phone and keys, go play SWTOR at home with the ThinkPad and desktop, then come back to work the next day, never moving a laptop
and if I stay late at work I can play SWTOR there too
@Bob it can if fucking game devs will STOP increasing system requirements for games, and focus on optimization! :P also, if fucking display manufacturers will STOP adding pixels that add computation cost! :P
I'm hard on my keyboards. I broke my ThinkPad T530's keyboard (the "a" key, specifically) by hitting it - hard - with my pinky finger, on the first week I owned it. My accidental damage protection allowed me to take it to a local Lenovo repair depot, and after they ordered the part from China -- which took a week -- I picked it up after 8 days in the shop and it was good as new
Granted, at one point, for a warranty repair on my old HP laptop, there were a few non-warranty line items (motherboard for damaged Ethernet jack, display frame because the machine was dropped) but the keyboard and a couple of USB ports were replaced under warranty.
hmm, I'm tempted to use a sharp knife and cut off the port covers for my iPhone 7 Plus's Otterbox Defender
it's annoying to open the port covers because they're very tight fit, and they don't even need to be that protective since the phone is IP67
I just need it not to break when I accidentally drop it, and it already does that job well
the port cover I open most often is the silence rocker
which, honestly, should've become a thing of the past long ago :/
man, I wish we didn't have to use McAfee as our virus scanner at work
I'm 7zipping 425,524 files (open source stuff like Ruby and Eclipse takes up a load of space) on "Fastest" on a Broadwell i5 with a 7200 RPM HDD and it's compressing, like, 15 tiny files per second... this is going to take a long time
most of that slowness is due to the cost of OpenFile() with McAfee
it'd be done already with no virus scanner or even something faster like BitDefender
TIL: Craftsman hand tools are made by an obscure company called Western Forge. WF makes no tools under its own brand (possibly due to noncompete agreements).
!!/wiki Western Forge
...is the bot down again?
Whatever OEM makes these tools, it doesn't matter because Craftsman hand tools are generally excellent in quality.
Absolutely. I'm often tabbing between a lot of documentation wishing I had some additional estate. Currently I have a 2560x1600 display with an old 1280x1024 on the side.