@benjamin-hall To be fair, .NET Core has moved a lot of the .NET Standard Library out to NuGet.
Posts made by powerlord
-
RE: Help with T4 (runtime text generation in c#)?
-
RE: StackOverflow seems to have overflowed...
@masonwheeler Just below server cooties, although according to The Register it got up to server cooties level at some point.
-
RE: StackOverflow seems to have overflowed...
@blakeyrat It was definitely lagging hard last night in EST.
-
NPM 5.7 recursively changing ownership of system directories when using sudo npm -g
I just saw this linked on twitter.
To my knowledge this doesn't affect Windows. It has been confirmed to affect FreeBSD and multiple Linux distributions.
What's worse is that this is apparently a pre-release but is only marked as a pre-release if you look on their Github releases page. Everywhere else including its own version number, the npm blog,
npm update
, etc... refers to it as if it were a standard minor release.Edit: Also, I put this in the wrong category. Whoops.Boomzilla fixed it. -
RE: Android phone with physical buttons
@timebandit I don't see a price listed on the page itself, so I assumed that the price was taken from a different site.
If the price were on that page, then presumably the Canadian price would be on the product page on the Canadian English site too.
-
RE: Sonos bricking devices intentionally
@dreikin I kind of understood why they made the decision to kill off the older addon API (security), but at the same time... the Firefox devs do realize that's what set them apart from Chrome, right?
Anyway, I booted
ChromeFirefox up to use DownThemAll (which I assume is the download manager you mentioned), found out it no longer worked, and immediately downloaded and installed the previous LTS release. That would be version 52.Edit: Brainoed, should be Firefox not Chrome.
-
RE: Dumb idea I just had...
@blakeyrat said in Dumb idea I just had...:
That's stupid, and the designers of .NET back in 2001 should have known it was stupid.
I'm still not sure how they managed to screw this up, particularly seeing as how that was one of the (many) bugs Java's
Date
object had. I mean, fuck, Java introduced a newCalendar
object solely to fix that one issue and that was in 1997.(As an aside, Java's
Date
object actually has an internal timezone, but for whatever reason, it's just not exposed. Oh well,Date
andCalendar
are deprecated anyway.) -
RE: Wordpress, you make it so hard to defend you -- or do automatic updates anymore
@timebandit I made no claims about how the code for Windows update looks/works, but I'm too lazy to look up which logical fallacy you used to derive that. Probably affirming the consequent, but I'm way too lazy to look it up.
-
RE: Wordpress, you make it so hard to defend you -- or do automatic updates anymore
@anonymous234 said in Wordpress, you make it so hard to defend you -- or do automatic updates anymore:
@timebandit Fuck, I'm sure WordPress update is a work of art compared to Windows Update.
I know you hate Windows Update, but we can actually check the code for WordPress... and historically, it's sucked ass.
-
RE: Usable team instant messaging
@blakeyrat said in Usable team instant messaging:
However, it's still at the bottom of the barrel as far as quality goes. Simple shit, like Move/Minimize/Restore/Etc working on the taskbar window preview, doesn't work, and they actually had to go out of their way to make that not-work in Windows, since you get that for "free" if you don't code your app like a dumbshit. (Slack has the same problem, last I used it.)
Discord and Slack are both web applications. Their desktop versions are just the webapps stuffed inside an Electron shell.
Which means that Electron apparently has fucked up taskbar menu handling.
-
RE: GIF or JIF?
I favorited this video a few years ago:
Edit: While not quite related, this is a great video too:
-
RE: terrible video games that should never be made
@ben_lubar said in terrible video games that should never be made:
@powerlord said in terrible video games that should never be made:
Seeing as how this topic was already bumped...
@ben_lubar said in terrible video games that should never be made:
I know of multiple games this could be describing already, but Murdered: Soul Suspect (which Blakey named) isn't one of them. Although, in fairness I never finished that game and both of the other games I've played with this plot didn't reveal it until the end.
I meant it in more of a "who stole the cookies from the cookie jar" thing except it would have more severe crimes like murder and tax evasion.
I played a game recently where the person investigating 5 murders committed all 5 murders... although, to be fair, he didn't realize he was doing it (yay curses?).
-
RE: terrible video games that should never be made
Seeing as how this topic was already bumped...
@ben_lubar said in terrible video games that should never be made:
I know of multiple games this could be describing already, but Murdered: Soul Suspect (which Blakey named) isn't one of them. Although, in fairness I never finished that game and both of the other games I've played with this plot didn't reveal it until the end.
-
RE: Gitcurity
@asdf I have no idea where you're getting that. The hostname itself is not an option, it's a mandatory part of the command that goes after the options/arguments and before any optional commands you send to the server.
-
RE: Gitcurity
@powerlord said in Gitcurity:
If your parsing library interprets the - in the middle of a string as the start of an option, you should consider dumping it and using a different one.
Not sure what you're trying to say here. At some point, your VCS will execute an
ssh
command. And even if you take the usual precautions, an option can be injected via the host name.Not if you take precautions. UNIX's getopts, and presumably any clones of it, uses
--
to signify the end of the options list:Any of the following shall identify the end of options: the first "--" argument that is not an option-argument, finding an argument that is not an option-argument and does not begin with a '-', or encountering an error.
-
RE: Gitcurity
@powerlord said in Gitcurity:
On a side note, how can you fuck this up, by silently stripping the ssh:// and then treating that as an argument?
Even if you parse the string "correctly" and pass it to the command line of
ssh
correctly quoted, the host argument still goes before the double dash (assuming you've added that). Therefore, you can inject a single switch if you're allowed to start your "host name" with a dash.(OK, so I fucked the wording of my last reply up completely, lets try this again).
If your parsing library interprets the
-
in the middle of a string as the start of an option, you should consider dumping it and using a different one. -
RE: What kind of git created this software?
@blakeyrat said in What kind of git created this software?:
@boomzilla said in What kind of git created this software?:
Now you're denying ever talking about the Excel macro recorder?
No; I'm denying talking about VBA. Go up and read it again. Read it really slowly. Reeeaaally slowly. Read the words on the screen. Get it? That's the part I typed. That's the part it's ok for you to respond to.
Or I'll just ignore this thread since it's now hopeless. Why do you feel the need to make up shit then attribute it to me? Goddamned. At least when you were just calling me stupid every post I kind of understood your motives. ("To be the world's hugest jackass.") I don't even know what you gain by making shit up like this.
You didn't explicitly mention VBA. You know what does? The Excel Macro Recorder documentation:
When you record a macro, the macro recorder records all the steps in Visual Basic for Applications (VBA) code.
Meaning that by talking about the Excel Macro Recorder, you're implicitly talking about VBA.
-
RE: Gitcurity
@blakeyrat A git submodule is just a reference to a specific commit in a different repository on the same git server. "recursive submodules" just means you automatically check out those submodules along with the repository you chose to check out.
(Actually, it probably doesn't have to be on the same git server, but you're asking for trouble in trusting random people on the Internet to not delete their repositories.)
-
RE: Gitcurity
Makes me wonder if any IDEs and/or IDE plugins for these are also affected.
On a side note, how can you fuck this up, by silently stripping the
ssh://
and then treating that as an argument? -
RE: A new StackExchange site
@julianlam said in A new StackExchange site:
... How did this pass whatever they have at Stack Exchange?
Have you ever looked up how create a new StackExchange site? It's easier than you might think.
-
RE: "gedit No Longer Maintained" - Good Riddance
@timebandit said in "gedit No Longer Maintained" - Good Riddance:
@topspin said in "gedit No Longer Maintained" - Good Riddance:
This thing has about feature parity with notepad
No, notepad still can't understand any other line ending beside CR/LF
I thought they fixed that around when Windows 7 came out. Mind you, it still can't save any line format other than CR/LF.
Edit: For future reference, this is still broken in Windows 10, I just checked.
-
RE: VAT fraud?
I don't think it's been stated yet, but iirc the only tax that the Federal government itself collects is Income Tax.
Having said that, as previously mentioned, States (and if allowed by states, Cities) can tax whatever they want. Where I live, all 3 (Federal, State, City) collect income tax, for example.
-
RE: VAT fraud?
@kt_ To my knowledge, only charitable organizations and churches are exempt from sales tax in the US and that may vary from state to state. Other than that, you pay full sales tax.
Do note that some types of items (such as food) may not be taxed. Again, this varies from state to state.
-
RE: McAfee is STILL on my shit list
@accalia For some strange reason, Windows has a nasty tendency to not have drivers shipped with it for hardware released after it was.
And lets not go into the "quality" of some of the drivers you download from Windows Update.
-
RE: McAfee is STILL on my shit list
@accalia said in McAfee is STILL on my shit list:
@powerlord said in McAfee is STILL on my shit list:
@accalia No, that's Step three.
Step One: Go to the website for the laptop and download all the drivers for the correct OS.
Step Two: Put said drivers on a USB drive.You're the one who said to reinstall Windows. Here I'll quote it so you can't edit it out of your previous post to make me look like a liar:
@accalia said in McAfee is STILL on my shit list:
and this is why STEP ONE of new laptop is "Reinstall windows"
-
RE: McAfee is STILL on my shit list
@accalia No, that's Step three.
Step One: Go to the website for the laptop and download all the drivers for the correct OS.
Step Two: Put said drivers on a USB drive. -
RE: The turd is dead. In a flash.
@ben_lubar said in The turd is dead. In a flash.:
@powerlord said in The turd is dead. In a flash.:
Edit: Turns out that Adobe has some weird form of ad block detection because as soon as I disabled ad blocking, the download now button works again.
Why do you always assume malice? It's more likely that Adobe's website just has some part of it that generates a link blocked by an overzealous ad blocker.
Because Adobe. I'd do the same thing if it were Oracle.
-
RE: The turd is dead. In a flash.
@atazhaia I was specifically trying this on Chrome for Windows. What's more amusing is that on Chrome for Windows, hovering over the Download now button even tells you it goes to "www.adobe.com"
Edit: Turns out that Adobe has some weird form of ad block detection because as soon as I disabled ad blocking, the download now button works again.
-
RE: The turd is dead. In a flash.
@timebandit What amuses me is that it mentioned Adobe Air in its description. Adobe already killed off Air (which was a standalone runtime to run Flash content). Attempting to download it will redirect you to Adobe's main site.
-
RE: OWL Web Language
@dkf Precisely... and PDO supports parameterized queries.
-
RE: OWL Web Language
@arantor said in OWL Web Language:
Everyone bitches about mysql_real_escape_string while forgetting we've had two different choices for prepared statements for a fucking decade already. I'll bash PHP for its actual faults like anyone else, but most of what people think of as PHP's faults were already fixed.
The funny thing is that it was
mysql_escape_string
that was the actual WTF.mysql_real_escape_string
makes a call to the actual MySQL API to let the server do the quoting... like every other major database API in every other programming language that has DB support.Oh well, the real WTF is continuing to use
mysql_
ormysqli_
since they've basically been replaced by PDO for over a decade; 2004's PHP5 had it as an external PEAR module and 2005's PHP 5.1 and newer have it shipped as part of PHP itself. -
PHP on .NET
So, apparently there's a compiler named PeachPie that compiles PHP into .NET Core MSIL that can run under ASP.NET.
Scott Hanselman wrote an article about it:
-
RE: The official 2017 death pool
Voice actress June Foray aka Rocky the Flying Squirrel & Natasha from Rocky & Bullwinkle, Granny & Witch Hazel from Looney Tunes, Magica De Spell from DuckTales, etc...
-
RE: Where’s all my CPU and memory gone? The answer: Slack
@e4tmyl33t It's gotten to the point where I have an application installed named X-Mouse Button Control specifically that can block badly behaving programs from intercepting said mouse button.
I've run into far too many apps/games that grab the Mouse 4 button and force it to be treated as Back and don't actually provide a way to disable it. Even games that let you adjust keybindings; Mouse4 and the Esc key are basically the only buttons they don't let you rebind.
-
RE: Reporting a scam site
Unfortunately, to get the domain name, I think the affiliate has to file a UDRP request with an ICANN approved organization, such as the World Intellectual Property Organization.
In the interim, you could probably contact the ISP that hosts the server that hosts the fake site and have said site taken down. If the IP is from Europe, RIPE should have a lookup to find out what organization owns the IP in question.
-
RE: Cross-browser AJAX library
@cartman82 I thought it was weird that they were claiming IE9 support for jQuery 2 and 3 since when jQuery 2 originally came out they basically told you IE wasn't supported in it.
Or was it they claimed it only worked on IE11, I forget, it's been a few years. I know IE9 was explicitly not supported, though.
-
RE: Cheap hosting for an asp.net based site?
@jaloopa Canadian and American money generally aren't very far apart, but it's a Thing to exaggerate it.
In fact, the two currencies were about even a few years ago, although it's since dropped to $1 CAD = $0.80 USD.
-
RE: Cheap hosting for an asp.net based site?
@jaloopa When people talk about Canadian money versus U.S. money like that, they're usually joking.
-
RE: I love null requirements
@erika2day The problem is, I'm sure customers would disagree when you tell them you cast their requirements to null.
-
RE: Stanford dumps Java as introductory class
@dkf I thought C# had a REPL now, although I don't think Java ships with one yet (although it supposedly will when Java 9 ships in 2027... or was that 2037).
-
RE: Stanford dumps Java as introductory class
@sh_code said in Stanford dumps Java as introductory class:
Therefore Java makes little sense, but at least some.
So, you're tossing one language because this boilerplate is bad:
public static void main(String[] args) { System.out.println("Stuff"); }
(this was cited as an issue further up this thread)
C# feels good for the purpose, but that might be just out of my personal preference.
but this one is OK:
using System; static void Main(string[] args) { Console.WriteLine("Stuff"); }
?
-
RE: How do I tell web browsers and/or password managers that the username and password fields on this page are probably not what the user wants auto-completed?
@ben_lubar For HTML5,
input
elements supportautocomplete="off"
However:
User agents would have to use heuristics to decide what autocompletion values to suggest.
And as far as I know, most of the time they match based on
input
names. Of course, changing those will break the form. -
RE: "Admissible evidence"
@rhywden said in "Admissible evidence":
@powerlord Isn't it also the case that you not only have to prove your defendant's innocence but also have to find the real culprit?
Someone has to pay for the crime, after all!
Yes, that's true too.
-
RE: "Admissible evidence"
@masonwheeler Some things that come to mind:
- With the exception of a single case, all cases in the series are decided by a judge rather than a jury.
- Prosecutors are trusted almost completely.
- ...and just the opposite for Defense attorneys.
- All trials start within 24 hours of a person being arrested.
- All trials can be at most 72 hours.
- Discovery rules are... weird and inconsistent.
and that's just what I can think of off the top of my head.
Make no mistake, the series can be pretty fun, but don't mistake it for a real court.
Side note: All 6 of the main games in the series except the fourth game can be downloaded from the 3DS eShop. The first 3 games are also on iOS (and possibly Android).
(There's also a crossover between Phoenix Wright and Professor Layton on 3DS)
Edit: Android has games 4 and 5. iOS has games 1-3, 4, and 5. 6 and the Professor Layton crossover are still 3DS exclusives.
Edit 2: 1-3 are on Android in Japan, no clue why they aren't in English.
-
RE: "Admissible evidence"
At this point, I'm compelled to point out that Phoenix Wright is fiction and the things that go on in it (such as calling a parrot as a witness) shouldn't be tried in a real court.
-
RE: Newcastle Pride is next Saturday. There will be road closures.
@pjh said in Newcastle Pride is next Saturday. There will be road closures.:
@arantor said in Newcastle Pride is next Saturday. There will be road closures.:
@pjh but if you're doing the 'drinking not driving' angle, why for need vehicle?
Pride is people walking on foot on the roads normally used for cars.
Or am I ing on that?
I don't know about in the UK, but in the US parades (even the ones that involve marching) are usually done on roads.
-
RE: Game Deals Thread
@dreikin said in Game Deals Thread:
I did it through the client and it only registered, offering the option to install on the same screen. That's what it usually does for me, too, so I suppose it's a setting somewhere if that's different for you? I don't see an option for it, though.
That's how it works for me as well and I'm not aware of any option that changes that.
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@createdtodislikethis said in Blakeyrat's JavaScript Is Rusty Thread:
Also, since you hate primitive javascript, why not use typescript? (which I think you also had a thread about)
It would allow you to use for-of (for arrays, at least), classes & lambdas (which don't have the 'this' problem), etc.
It generally sits in the sweet spot between 'primitive' and 'too far from the target language'.Not only that, but to my knowledge TypeScript is a first class language in Visual Studio. Which isn't a surprise if you realize Microsoft made TypeScript in the first place.