Best posts made by robo2
-
RE: So yeah. CentOS? Dead. You now get the beta version of RHEL!
@hungrier said in So yeah. CentOS? Dead. You now get the beta version of RHEL!:
There is no ETA for a release.
Ohhkayyy, that sounds promising...
-
RE: Apple launches new products so minimally different from previous generation that their biggest innovation was removing the charger from the box
@TimeBandit I... think over time I have used most of those adapters/connectors at some point in my computing life
-
RE: WTF is happening with Windows 11? And nothing else
@Tsaukpaetra you mean the fact that windows rather ate the music and videos folders than that it dare touch the cheese buns?
-
RE: Why, oh why, do we return empty things on error
@boomzilla said in Why, oh why, do we return empty things on error:
No.
Correct. Kevin has got you covered:
public bool SomeMethod (int arg1, SomeType arg2, int arg3) { try { // use the arguments arg1 and arg3, and attempt to fill the properties of arg2 return true; } catch (Exception ex) { LastError = ex.Message; // LastError is global LastErrorStacktrace = ex.StackTrace; // another global return false; } }
-
RE: Microsoft's Cl---ic mistake
@dragnslcr what's ----ed up about it? It's not like it would compile anyway. It's a filtered extract of the (internal) source they dumped on github for reference use only. If the runtime would have been deprofanitized, then they would really be beyond salvation....
-
RE: 2, 3.5, A
@remi That reminds me of the day we had lunch in a restaurant, somewhere in southern France. We didn't specify our steak, and got it at level 0, I think. Another customer ordered bien cuit. The chef did comply, but in the end smacked the leather slab on her plate and a told her "here, as you wanted" with as much contempt in his voice as he could gather. Not being (nor speaking much) French even I could here the subtext: I hate you, and don't come back complaining when it tastes like shit.
Oh, and:
1-3; 2-3.5; A-C (If you prefer F: you should just drink milk if you don't like tea or coffee) -
RE: WTF is happening with Windows 11? And nothing else
@Tsaukpaetra said in WTF is happening with Windows 11? And nothing else:
Darn. I wish I could blame a driver.
What's stopping you? You can always blame a driver. Or disk. Or other hardware things. shouldn't be a to blame...
-
RE: WTF is happening with Windows 11? And nothing else
@Parody you're all . As a real I am using my Norton Commander clone and thus don't experience any of this nonsense.
File handling hasn't materially changed in the last few decades, so why should the tooling change all the time.... -
RE: I did stupid
@sockpuppet7 resizing the screen to mobile proportions enables the hamburger menu, should be good enough.
Resolved, workaround exists, E_WONTFIX. -
RE: Windows finally gets a real PTY
@pie_flavor or check what you can do using reg.exe. Or regedt32.exe (the 32bit version of regedit.exe). In my work environment I can't use regedit.exe, but the others work just fine...
-
RE: Abode unCreative Suite (includes hoodie!)
@topspin said in Abode unCreative Suite (includes hoodie!):
@Atazhaia said in Abode unCreative Suite (includes hoodie!):
Called it.
@topspin said in Abode unCreative Suite (includes hoodie!):
@boomzilla said in Abode unCreative Suite (includes hoodie!):
Minus the cost of the hoodies!
From the screenshot: "I have concerns at this point".
-
RE: Ticket Prioritization Discussion
@Benjamin-Hall said in Ticket Prioritization Discussion:
There are some things that have stagnated, but I think our "oldest in column" is roughly a month
Only a month? What kind of nirvana are you working in? Some of our issues are almost old enough to vote! (and I'd wish I was exaggerating )
-
RE: How large is your, erm, M.2?
@Carnage said in How large is your, erm, M.2?:
Amazon deserves to die in a fire for being such a horrible mess of a UI, a chinesium delivery pipeline and full of scammers.
QFT. Nothing to add to the discussion, I just felt a need to agree loudly in a random forum.
-
RE: The forum life
@dkf said in The forum life:
My main important view is the list of topics with unread posts
QFT.
Main reason for the categories (to me) is the ability to block them (well, it, being the gaming/maffia category) -
RE: The Day Tsaukpaetra Died
@error but it must be secure, my browser died while opening the link! And if I can't open the source it is as secure as can be!
-
RE: python, com, and msi (oh my)
Maybe dumb suggestion, but if vbscript works, you are tied to a Windows environment anyway, why not shell out to a vbscript from your python script and call it a day? What you are doing sounds like build system type of work, and I have definitely seen worse...
-
RE: The Day Tsaukpaetra Died
@robo2 hmm, it seems Edge was just protecting me. I opened the link in Firefox, and that code was... not a pleasure to read.
No worries, I will grab another beer and hopefully I have forgotten ever seeing this by tomorrow. -
RE: Long running threads in ASP.Net (website)
@lorne-kates in addition to what others have said: When your app pool recycles you might have two instances running, as iis gives the "dying" process some time to exit, while the next process starts up for new request. So then you could have cross-process synchronisation to worry about as well.
-
RE: Intentional subversion of network security
@remi I tend to use Telerik Fiddler on Windows.
-
RE: Scientific Science
@Gribnit said in Scientific Science:
@robo2 said in Scientific Science:
@HardwareGeek said in Scientific Science:
@Carnage said in Scientific Science:
@HardwareGeek said in Scientific Science:
@jinpa said in Scientific Science:
dark matter and dark energy are just fudges.
Moar darker.
Nope you eat it thread is
Only 2kg @200g per day is just enough to sustain me for 2 weeks. I wonder if they also sell bigger containers
200g is nearly half a pound of fudge... (I'm not judging. At all. )
I fail to grasp how a unit conversion would be a judgement, but yeah, it's about half a pound for the non-metric folks.
-
RE: Don't test...not even in production!
@Zecc if it is about xslt, then it is better left untold.
Or I would feel obliged to state that I quite like xslt for processing xml, and that would ruin any reputation I might have.
-
RE: Windows calculator can only count to 999
@Gurth @sloosecannon I keep expecting an "fbmac separator" between posts...
-
RE: Specific characters and password managers
@jaloopa not necessarily, they might have stored a hash for each individual digit
-
RE: What are my options for stuffing user data into an externally-defined XML schema?
when you have the xsd, then I'd say: C#, generate classes from the xsd using xsd.exe, fill those objects any way you like, and then serialize to xml using the xml serializer.
-
RE: Not sure if good idea, bad idea or evil idea
@Zecc they are quite late to the party. It - and lots of other languages - have been available in PostgreSql for quite a while: https://wiki.postgresql.org/wiki/PL_Matrix
-
RE: Poll: Integration test database cleanup
@dkf said in Poll: Integration test database cleanup:
@Zenith said in Poll: Integration test database cleanup:
This has got me wondering how transactions stack.
Normally they don't at all; it's an error to BEGIN when in a transaction.
I give you: Microsoft Sql Server: https://docs.microsoft.com/en-us/sql/t-sql/language-elements/rollback-transaction-transact-sql?view=sql-server-ver15#general-remarks
"A transaction cannot be rolled back after a COMMIT TRANSACTION statement is executed, except when the COMMIT TRANSACTION is associated with a nested transaction that is contained within the transaction being rolled back. In this instance, the nested transaction is rolled back, even if you have issued a COMMIT TRANSACTION for it." -
RE: Google AI
@loopback0 said in Google AI:
robit overlords
They don't look particularly scary
That is just the thing: you never know what is under the friendly façade!
-
RE: Is this a good price for e-mail hosting?
@Arantor Well, as most banks handle numbers, you should have known that that would be the wrong place to check. As the payment shouldn't be in numbers, perhaps you'll have to pay with the blood of your first born child?
Depending on the age of your first born, the kid might not even complain the first time. After a couple of renewals it will definitely become a problem though. At some point you'll just have to search for a hosting provider with more reasonable requirements. -
RE: Another GDPR? Electric googleoo?
@Karla said in Another GDPR? Electric googleoo?:
they are not allowed anywhere near my chocolate
but... but... if not walnuts and raisins, what do you put in your chocolate to make it edible?
-
RE: Scientific Science
@HardwareGeek said in Scientific Science:
@Carnage said in Scientific Science:
@HardwareGeek said in Scientific Science:
@jinpa said in Scientific Science:
dark matter and dark energy are just fudges.
Moar darker.
Nope you eat it thread is
Only 2kg @200g per day is just enough to sustain me for 2 weeks. I wonder if they also sell bigger containers
-
RE: Another GDPR? Electric googleoo?
@GΔ ska I have been lost for quite a while, but it was amusing nonetheless. Thanks for that
Anyway, it just boils down to a legislator (EU) stating "if you want to provide services to citizens under our jurisdiction, then you have to play by our rules". A legislator doesn't really care if it doesn't make economic sense for the service provider to follow those rules, or if that service provider also applies those rules outside of said jurisdiction. Wilfully breaking the rules should be punished, which is easy if there is a legal entity representing the service provider within the legislator's jurisdiction, otherwise they can (and will, e.g. The pirate bay is blocked by ISPs by court order in NL) block the service provider urls.
Every country does this, and is just a fact of life if you want to provide services worldwide.
And FB should stop whining. -
RE: UK `Tossing Tax` to be a surprise to most of the UK in two weeks...
@dkf I feel like I should be offended, but somehow I think you're just right: our beer does leave something to be desired...
-
RE: Scientific Science
@MrL said in Scientific Science:
You can have my Δ s
Why did I read this initially with an additional s? Wish I didn't, what was read can't be unread.
-
RE: The Most Absurd Thing You've Ever Coded/Built
@Gurth I own one still. Don't use it really anymore, but coincidentally I plugged it in today for the first time in a year (it'll be the emergency phone for the kid for a couple of months). After playing with it for a minute or two I already want to replace my Android crap by it. The UI is just so much better. Too bad it never got a real marketshare (yes , no not ).
-
RE: Visual Studio WTF
@Tsaukpaetra said in Visual Studio WTF:
Piece of shit.
Visual Studio turned into an nearly unusable piece of crap indeed. Since we changed our solution to the "new and improved" C# project format it takes about 10 minutes of 100% cpu before the 2019 version becomes barely usable. Even closing VS takes a minute now. Why???
I'll try JetBrains Rider soon, see if it does any better. -
RE: Don't test...not even in production!
@Arantor said in Don't test...not even in production!:
@Zecc said in Don't test...not even in production!:
@Arantor said in Don't test...not even in production!:
the web frontend was never designed
Well, it was designed, just it was designed for making documents with some formatting and linking them together.
It all went wrong whenforms werejavascript was added. -
RE: Call a function based on its type?
@Tsaukpaetra you could probably make that work, but I would look at C# pattern matching first. (sorry, on mobile else would have looked up an example) The if(a is b) {var c = a as b;} is an antipattern any way you look at it.
-
RE: WTF is happening with Windows 11? And nothing else
@PleegWat said in WTF is happening with Windows 11? And nothing else:
@hungrier said in WTF is happening with Windows 11? And nothing else:
@loopback0 said in WTF is happening with Windows 11? And nothing else:
Elevate individual commands within cmd or Powershell rather than the whole session?
Some things (e.g. installers invoked by winget) can ask to elevate themselves already, although it may be that winget launches them in "Ask for elevation" mode. Come to think of it, maybe that's all this "new" sudo feature does
Read the article? No, why would I ever do a thing like that?
The usual workflow in linux is that you invoke sudo (or su, or gksu), and that invokes the target process with elevated privileges
In windows, the impression I get is that you first start the target process with normal privileges, and then the target process invokes some API to trigger the privilege elevation dialog to elevate privileges in the already-running process.I've been using gsudo for a while on Windows now. Useful if you are in a regular prompt and need to run something with admin permissions.
-
RE: Home network options
@Benjamin-Hall also, afaik, the powerline adapters are paired. Adding additional adapters is possible, but for pairing needs an action at (one of) the "old" adapters as well. So it shouldn't be possible for the neighbors to listen on/use your internet without you knowing.
-
RE: The Belt Onion club
@boomzilla said in The Belt Onion club:
Doesn't your post belong in the Emergency Sad Things thread?
-
RE: Outlook being Outlook
@loopback0 I tried "new outlook" for a couple of days. I switched back to outlook
oldlegacyclassic and I sure appreciate the old outlook much more now. -
RE: Switching from Docker-against-Desktop
@Bulb I've followed https://dev.to/bowmanjd/install-docker-on-windows-wsl-without-docker-desktop-34m9 and got it working. At least, at the hello world level.
In my powershell session I have a function
$DOCKER_DISTRO = "ubuntu" function docker { wsl -d $DOCKER_DISTRO docker -H unix:///mnt/wsl/shared-docker/docker.sock @Args }
which works well enough (assuming I remembered to start the
dockerd
in my wsl ubuntu instance...) -
RE: Keeping track of statistics about a web server?
@blakeyrat With a ConcurrentDictionary you wouldn't need explicit locking, but your CacheHitEntry needs to become a class with fields instead of a struct. e.g.
public class CacheHitEntry { public int hits; public int total; } ConcurrentDictionary<string,CacheHitEntry> stats = new ConcurrentDictionary<string,CacheHitEntry>(); public static void ReportCacheHit(string cacheName) { var entry = stats.GetOrAdd(cacheName, (_) => new CacheHitEntry()); Interlocked.Increment(ref entry.total); Interlocked.Increment(ref entry.hits); } public static void ReportCacheMiss(string cacheName) { // similar }
-
RE: How to set up ICS from tethered phone to wifi
@sloosecannon In at least it seems that tethering is
allowednot actively blocked, but putting the same sim in a 4G router will get you a seize and desist letter. (So I put the simcard back in the phone again and all was good ) We used 5-10GB per day either way, so apparently they only react when the card is used in a data-only device. Or maybe they only react because they also offer data-only subscriptions at twice the rate... -
RE: Fun with maps
@loopback0 I am somehow intrigued by the northern bit of Norway.
-
RE: Does anybody actually use this site on mobile :fire:
@jaloopa I... I... I like @ben_lubar even more now... And somehow I missed the announcement of this awesome option, but I've enabled it now, and am at the moment a happy man.
-
RE: Value Types
You can't derive from a double, nor can there be a
T
such thatConvert.ChangeType
results in a value that is adouble
. Well, of course, except whenT
isobject
, and the input value was adouble
to begin with (because if the target type isobject
it just returns the input value). So actually the original snippet was right(ish).
Although I would rather just testtypeof(T)==typeof(double) || typeof(T)==typeof(float)
, that's enough for this snippet, as far as I can tell.