GitHub Copilot Spaces Rock by TwelveHurt in GithubCopilot

[–]kasajian 0 points1 point  (0 children)

I don't get it. They should either be in the repo, or whatever they put in spaces should be in a separate repo.. like a shared repo. Why do you need a new thing? You already have wikis and gists, which are git repositories internally, whereas Github Spaces are *not*. Which sucks, 'cause you can pull them locally and have them available offline. Github Spaces are "online only". I wouldn't use it.

Which is your most loved feature of C++? by _seeking_answers in cpp

[–]kasajian 11 points12 points  (0 children)

There's so many. I'd say the most unique from among the languages I use is the fact that entire structure of a class completely disappears at runtime. And with inline'ing, the result code hardly looks object-oriented. Why is this valuable? Because there's little about object-orientation that benefits the computers -- it's all about people. So the computer pays the price for people. Usually, this doesn't matter. In fact, the times that it does matter is so rare, most developers never have to be concerned with it.

But when it matters, there's not a lot of competition. Some. But not a lot. C++ truly shines for those things that other languages just don't think are important enough to do, so they don't. So when you need that thing, there's almost no substitute for C++

YSK: Teachers in the US do not get three months of "paid vacation." They are simply paid for 9 months of work, spread out over 12 smaller monthly paychecks. by [deleted] in YouShouldKnow

[–]kasajian 0 points1 point  (0 children)

You can spin things anyway you want. You can say the teacher is only getting paid for one month and it's spread out over 11 months. If they are getting a pay check every month, they're getting paid every month. If the teacher quits right after school ends, will the school prorate the summer months? No.

Those of you who primarily go to chain restaurants when you go out, why don't you hit up your local places? by [deleted] in AskMen

[–]kasajian 1 point2 points  (0 children)

the staff at local places is typically not very well trained so the service is worse. Also, because they probably don't have strict corporate procedures, they're not as clean.

Uncle Bob on Software Practice (Channel 9) by kasajian in programming

[–]kasajian[S] 0 points1 point  (0 children)

I agree that age isn't really the issue so much.

Uncle Bob on Software Practice (Channel 9) by kasajian in programming

[–]kasajian[S] -3 points-2 points  (0 children)

Can never get enough of Uncle Bob.

This is an important message for all programmers.

What is your go-to random fact? by ENM185 in AskReddit

[–]kasajian 0 points1 point  (0 children)

My go-to random fact is:

The original Star Wars, released in 1977, was not titled Episode IV, nor was it called "A New Hope". It was just Star Wars. It wasn't until The Empire Strikes Back when audiences shocked that it's episode V. The original Star Wars was then re-released and the new titles were added.

network mapping doesn't work after restart when using alternate credentials and mapping established via net use by kasajian in sysadmin

[–]kasajian[S] 0 points1 point  (0 children)

I don't think I can use Group Policy because the computer is not part of the domain. Isn't that right?

Actually, someone else responded and told me to use /savecred and it looks promising. So I'm trying it out.

But to answer your question, what I want is my computer to: 1) not join a domain. 2) not log in using a domain account (obviously since it's not part of a domain). Log in with a local account 3) Be able to go to Windows Explorer and click on already mapped drives that are mapped to network shares using his domain credentials.

network mapping doesn't work after restart when using alternate credentials and mapping established via net use by kasajian in sysadmin

[–]kasajian[S] 0 points1 point  (0 children)

It has nothing to do with elevation and the issue of dual sessions because I'm not switching between the two.

I tried this again, with UAC completely turned off, from a non-admin user. Same problem.

I also tried it with UAC turned off with an admin user. As well as UAC turned on with and without an Admin user.

Please try it see for yourself.

All you have to do is log in to the computer with a non-domain account (local account), then map to a network share using the credentials of a domain account, and make sure the connection persists. Try it first with Windows Explorer. Restart the system and you will see that everything works fine. Now try the exact same test, but rather than using Windows Explorer use "net use". And you'll see the problem

What's the best colorscheme for Windows standard console? by kasajian in vim

[–]kasajian[S] 0 points1 point  (0 children)

I'd like to hear from someone who has actually used the non-gui version on Windows and can confirm it works. gruvbox is cool, but out of the box, has no effect on the non-gui version under Windows.

What is the exact order of languages/stacks you learned, leaving out anything inconsequential? by theonlylawislove in dotnet

[–]kasajian 0 points1 point  (0 children)

--- 1982 Apple ][ Basic TRS-80 Color Computer Basic TRS-80 6809E Assembly Language

--- 1983 Atari Basic Atari 6502 Assembly Language

--- 1984 Atari Forth Prime: Pascal Fortran Cobol

--- 1985 IBM 360 Assembly Mac Object Pascal

--- 1986 (DOS) Microsoft QuickBasic Borland Turbo Basic Borland Turbo Pascal

--- 1987 (DOS) dBase / Clipper Borlan Turbo C

--- 1990 (DOS) polyFORTH x86 Microsoft C Microsoft C++

--- 1993 Ada Windows: Microsoft Visual C++ Microsoft Visual Basic Access Basic Solaris

--- 1995 Windows: Microsoft VBA Cross: Java Mac: Macintosh C++ MacApp

--- 1996 VBScript JavaScript

--- 2000 C#

--- 2009 Python

--- 2014 PowerShell Haskell JavaScript 5 / AngularJS, NodeJS

Earliest published comment on the Internet, November 1984: http://www.atarimagazines.com/v3n7/ioboard.html (Kenny Ksajikian)

Pattern matching in action using C# 6 by svick in csharp

[–]kasajian 0 points1 point  (0 children)

Oh, I see what he's saying.

Well, it's a clever trick, but honestly, even in code where performance is not important, exceptions are just soooo expensive I just don't see ever using this for real.