@steve_the_cynic The second definition sounds problematic to me. For example Notepad.exe ships with the Windows DVD, is automatically installed, not easy to get rid of... On my current Windows 10, it's installed inside "c:\Windows" instead of "c:\Program Files" yet I don't consider it part of the OS but rather part of the application layer on top of it.
Best posts made by bjolling
-
RE: Windows 10 vs Sound
-
RE: Why are Linux debug builds of my C++ app so big?
@unperverted-vixen said in Why are Linux debug builds of my C++ app so big?:
@bjolling said in Why are Linux debug builds of my C++ app so big?:
@remi Then you go to PROD with the same Release build, omitting the .pdb files
Why omit the PDB files? Is saving disk space really worth throwing away that potential information source for when something does go wrong?
The C++ program I used to work on was installed at our clients' infrastructure. So PDBs were omitted to avoid them leaving our control because they contain information that can be helpful to reverse engineer the binaries. As somebody else already mentioned, in case of a crash clients would send their dump files to us and we would use our PDBs internally to find the cause of the crash.
-
RE: The glory of Microsoft Edge!
@bb36e said in The glory of Microsoft Edge!:
My only complaints with edge are that the interface is God awful and there's
no13 extensions.I haven't used it for anything other than downloading other browsers, which is why these are my only complaints.
FTFY
-
RE: Why are Linux debug builds of my C++ app so big?
@remi You go to TEST with a Release build AND the corresponding .pdb files so you get more information in your exception logging. Then you go to PROD with the same Release build, omitting the .pdb files
-
RE: Windows 10 reinstall
@izzion said in Windows 10 reinstall:
@Magus
And you can feel good knowing you've saved the NSA the time and trouble of hacking into your computer, they can just get the information they need straight from their direct feed from Micro$oft HQSo... that's a win-win, right?
-
RE: I'm getting tired of this npm shit
@coderpatsy said in I'm getting tired of this npm shit:
var obj = { get prop() { return Math.floor(Math.random() * 10) + 1; } }; console.log(obj.prop, obj.prop, obj.prop);
Easier to
return Date.now()
-
RE: Why Windows 10 Sucks
@hungrier said in Why Windows 10 Sucks:
I've never had this problem. Whenever I run AMD's updater, with the network connected like normal, it does its thing and gets me the new driver. The worst thing that's happened with that is that sometimes it sets the default audio output to HDMI instead of my speakers.
That's probably a Windows problem. I have a NVIDIA GeForce GTX 1050 and it does that too.
-
RE: Adobe Flash Memory for the Apple IPhone
@morbiuswilters said:
TRWTF is this quote:
@CNN said:
Using the patent application as a guide, Apple appears to be making room on the iPhone for flash memory, which means an end to Apple's standoff with Adobe (ADBE) that's kept iPhones from easily viewing a plethora of Internet videos.
Still, there was no reason to post this. Enjoy your mug.
Thanks morbiuswilters!!!
And I hope you enjoy the Adobe flash memory when you'll buy your IPhone :-)
-
RE: Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...
@Gąska said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
@bjolling are you saying we should dismantle non-homogenous countries, or what?
If I could look at the European continent as an IT architect with a license to refactor, I would definitely draw the boundaries very differently from what they are today. For my situation that would make a lot of sense: I personally am affected by way too many governments on all kinds of levels: EU, country, region, community, province, city. I also don't work in the same region as I live so most of those levels, I have to count twice. It's nuts. Nation states here are the result of politics and wars and are not aligned (anymore) with the local people.
-
RE: Can you visually differentiate between a Surface 2 and a Surface 3?
A more interesting question is: can you visually differentiate between a Surface 3 and iPad Pro?
-
RE: I hope Belgiumites don't like playing video games
@blakeyrat said in I hope Belgiumites don't like playing video games:
Because their idiot moron government has just made a decision that practically guarantees no game company will sell in their region. And it's enforceable by prison time for the game's producers.
The most moronic thing they did was trying to tackle this problem on their own instead of doing it on the level of the EU. Because this is national legislation, the UK, the Netherlands and now Belgium have different interpretations of what constitutes gambling in games. It's impossible for game developers to comply with every regulation for every country.
-
RE: Help Bites
@dkf said in Help Bites:
@bjolling said in Help Bites:
I did not try to run this.
Yep. What happens when you try to sound the alarm when the alarm is already sounding? When should the alarm stop sounding? (You've written a level event, not a critical threshold event.)
Good question. Peer review makes for better code
Out of genuine curiosity: how do you define a "level event" versus a "critical threshold event". I did a simple Google search but it referred me back to your comment.
-
RE: New from Azure!
@stillwater said in New from Azure!:
@bjolling said in New from Azure!:
I’ve been hosting my site for free on Azure for about 3 years now
You used static hosting on Azure storage 3 years before Azure even announced it? Sweet.
Any site you host on Azure, stores it files on Azure Storage. How do you think it works?
EDIT:
And any site you host on Azure, can host static content.All your requirements have all ready been fulfilled on Azure for many years.
-
RE: What Programmers Say vs. What They Mean
I wanted to re-use the image but add the correct attribution. This is the oldest version I could find on Google images
https://redd.it/271ulz (June 1st, 2014)Someone knows where this originated?
-
RE: Simple search
@Kurt-C-Pause
Note that you need to have MS Word installed on the machine running this code.
1/ First convert the Word documents to HTML using the Office Primary Interop Assemblies (PIA), e.g.
2/ Then you can run a tool like HTMLTidy on the result to clean it up
Now you should have nice, clean XHTML versions of your documents.
3/ Load the XHTML files in an XmlDocument or load them as free text.
4/ Load the Excel file through using ODBC
5/ At this point, you can reference all data you need from code so you can upload into a search utility (e.g. SSDS) or write one yourself
-
RE: I hope Belgiumites don't like playing video games
@pie_flavor said in I hope Belgiumites don't like playing video games:
@bjolling said in I hope Belgiumites don't like playing video games:
@blakeyrat said in I hope Belgiumites don't like playing video games:
Because their idiot moron government has just made a decision that practically guarantees no game company will sell in their region. And it's enforceable by prison time for the game's producers.
The most moronic thing they did was trying to tackle this problem on their own instead of doing it on the level of the EU. Because this is national legislation, the UK, the Netherlands and now Belgium have different interpretations of what constitutes gambling in games. It's impossible for game developers to comply with every regulation for every country.
Oh God, don't say that. Imagine if the EU really did pass a law banning loot boxes.
Not exactly what I meant. It's the EU rather than Belgium that should come up with a definition of what kind mechanism are allowed or not in games, maybe connected to an age-rating or other criteria. If they would take the UK definition over the Belgian one, thus allowing loot boxes, that would be fine by me.
Edit: and if the EU would disallow gambling with loot boxes, it will be easier for the game industry to adapt
-
RE: Guess your ideology
@darkmatter said in Guess your ideology:
@tsaukpaetra and that it would mean either someone photographed me on the shitter, or i can hold my entire body weight on one arm while taking a selfie and shitting... a true gymnastic feat.
Doing it wrong
-
RE: Tinder is shit
@Tsaukpaetra said in Tinder is shit:
@pie_flavor said in Tinder is shit:
@topspin said in Tinder is shit:
@boomzilla My spidey sense tells me some forum member is reading this thinking “worth it!”
Read my mind.
Reading in progre--error token failincompreh si megration flargh success disco neck tired failjcjzutzgwnekxichthgsbs,mlocoondbdbggsh??Xnxh!
Your error correction algorithm is failing near the end... I'm sure it should have said 'boobies' there
Edit: or Bilbo Baggings...
why not both? 🤔 -
Recruiting Windows Store developers
I'm currently attending a Microsoft event. The goal of one of the campaigns that Microsoft is running, is to register as many new Windows Store developers as possible. Since registration fees are refunded and Microsoft gives out a free mouse and a free T-shirt, I obviously wanted to participate.
So in the past days I prepared and elaborated an idea that I thought would make a simple but useful application. When I arrived at the event, I immediately registered, went to the labs and told the proctors in the lab about my idea for my new application
"No, that's not what we expect you to do," they replied, "you just have to modify this RSS Feed reader application that we have already prepared. Change the title and point it to the RSS feed of your blog, compile, upload it and that's it."
So that's what I did. I modified the application that the proctors provided, tested it and once I was satisfied it was working I dutifully filled in all the forms to create the application in the Windows store and uploaded it to the store for certification.
A few hours later I received a mail: "Your application could not be certified. The application does not appear to do anything useful."
Well duh... But I'm keeping my free mouse.
-
RE: Check for all zeros
@campkev said:
In case you are being sarcastic, doing this
Nice solution. I hadn't thought of that one. I'm coming from a C++ background where I would have created a loop over the characters. But I didn't feel right to use that approach in C#.<font size="2"><font face="Courier New">string check = new StringBuilder().Append('0', length).ToString();</font></font>
<font size="2"><font face="Courier New">if (zero == check)</font></font>
<font face="Courier New" size="2">
<font face="Courier New" size="2">instead of </font>
<font face="Courier New" size="2">if(value.Trim('0')=="")</font>
Not that it matters that much. I wont ask our offshore developers to change the code. We are to deliver in about 10 days and since their function produces the expected the results, my boss wants them to focus on the functional issues instead of the technical ones.
-
RE: Windows 10 vs Sound
@carnage said in Windows 10 vs Sound:
And Windows even manages to be stupid about how to chaneg the wanted sound output, in linux I just have to right click the speaker icon and select the wanted sound device from the context menu, but in windows you have to open a fucking popup window, just to add more to the broken trainwreck of an OS it is.
Huh? How you change the audio output is not part of the OS. If you want a different way to do it, just code one yourself in the same spirit as the open source community on Linux would do.
Edit: or configure a hotkey
https://www.howtogeek.com/301290/how-to-switch-windows-sound-outputs-with-a-hotkey/PS: do your own research instead of complaining. You'll feel much better about yourself.
-
RE: Windows 10 vs Sound
@carnage said in Windows 10 vs Sound:
@bjolling said in Windows 10 vs Sound:
@carnage said in Windows 10 vs Sound:
And Windows even manages to be stupid about how to chaneg the wanted sound output, in linux I just have to right click the speaker icon and select the wanted sound device from the context menu, but in windows you have to open a fucking popup window, just to add more to the broken trainwreck of an OS it is.
Huh? How you change the audio output is not part of the OS. If you want a different way to do it, just code one yourself in the same spirit as the open source community on Linux would do.
I cannot be arsed to change how windows selects which sound output to use, but you're welcome to point me to the public repo where I can acceess the code that handles this so I can make a few change requests.
I said to write your own code, like others have done before you. I can't be arsed to select a code repository for you.
-
RE: Windows 10 vs Sound
@carnage said in Windows 10 vs Sound:
@bjolling said in Windows 10 vs Sound:
@carnage said in Windows 10 vs Sound:
@bjolling said in Windows 10 vs Sound:
@carnage said in Windows 10 vs Sound:
And Windows even manages to be stupid about how to chaneg the wanted sound output, in linux I just have to right click the speaker icon and select the wanted sound device from the context menu, but in windows you have to open a fucking popup window, just to add more to the broken trainwreck of an OS it is.
Huh? How you change the audio output is not part of the OS. If you want a different way to do it, just code one yourself in the same spirit as the open source community on Linux would do.
I cannot be arsed to change how windows selects which sound output to use, but you're welcome to point me to the public repo where I can acceess the code that handles this so I can make a few change requests.
I said to write your own code, like others have done before you. I can't be arsed to select a code repository for you.
Thats a nice arse you aint got there tho.
Whatever floats your boat
-
RE: Windows 10 vs Sound
@ixvedeusi said in Windows 10 vs Sound:
On the other hand, the
secondfirst definition would exclude stuff like Windows Explorer or the Windows Control Panel (or the sound output switching widget ), which just seems ridiculous to me. It's like saying Linux is an OS: this IMHO is bullshit, or maybe just ry to the point of ridicule.Did you mean to refer to Steve's first definition? Just asking, it makes more sense to me that way.
To me, an OS is more than a kernel but less than the bundled applications. But where to draw the line on what is an application and what is not... I honestly don't know. Notepad.exe is obvious but in Windows, even explorer.exe is replaceable. If you kill it, Windows is still usable (albeit not easily) through a CLI.Regarding the sound switching widget, this one I would consider part of the OS:
https://images.scdn8.secure.raxcdn.com/wp-content/uploads/2016/01/33.pngBut this one, not IMHO. This one seems to change quite easily at the whim of the UX designers
-
RE: Wikipedia is a bunch of hobbyists recreating the world's most bloated bureaucracy
@xaade said in Wikipedia is a bunch of hobbyists recreating the world's most bloated bureaucracy:
So, yes, you can teach creationism as long as the context "Some Christians believe [creationism]" is qualified and preserved. Most Christians however understand the context in which the bible was written and use it as a moral compass instead of considering it a scientific fact.
Tried to FTFY ;-)
-
RE: Adobe Flash Memory for the Apple IPhone
@Groaner said in Adobe Flash Memory for the Apple IPhone:
It almost seems like we had a Big Dog and Me Too situation here. I can't tell whether Morbs or MPS would be the Big Dog.
IIRC @MasterPlanSoftware was the resident bully at the time when @morbiuswilters joined. Morbs first followed MPS around but then quickly turned the tables. It happened quite naturally.
-
RE: New Intel microcode license disallows benchmarking
@Gąska said in New Intel microcode license disallows benchmarking:
@remi said in New Intel microcode license disallows benchmarking:
The idea is that is you just say the tiny little thing that you think is innovative, and only get protection for this, then you might open yourself to trivial workarounds that are not protected.
So, in order to stop the bad guys, you become the bad guy yourself? The people who claim they must make the widest patent possible, are the same people who later claim they must pursue even the slightest, most bullshit infringement case, because "if we don't do that we risk losing our patents by abandonment."
Fuck lawyers.
In order to stop fat, you have to become fat yourself!
Fuck diets.
-
RE: Place Your Bets: How Will Microsoft Screw This Up?
@acrow said in Place Your Bets: How Will Microsoft Screw This Up?:
Ten bucks on "adding their own neo-ActiveX". Maybe something Java-ish this time.
Five bucks on baking in a version of Flash Player that is several versions out of date.If the Flash Player one is a hit, then 20 more bucks say that it can't be disabled.
I'll happily take your money. When will you give it too me?
-
RE: GPS tracking for...
@Gąska said in GPS tracking for...:
When it's late in the evening and the kid is not home yet, at least you know where to look for them.
What is the use of knowing where their tracking device currently is? And even if it is still attached to the correct person... you still haven't been able to prevent something bad from happening
-
RE: GPS tracking for...
@Planar said in GPS tracking for...:
@Carnage said in GPS tracking for...:
If it's an actual emergency, what bloody good will a GPS tracker do the parent in that situation?
It makes it easier to find the body afterwards...
So you can resurrect it? https://rpg.stackexchange.com/questions/120082/what-spells-are-available-to-resurrect-characters
-
RE: Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...
@Gurth said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
@Gąska said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
@Gurth said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
@Gąska said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
@bjolling are you saying we should dismantle non-homogenous countries, or what?
That was the plan exactly a hundred years ago
Really? Never heard of that.
Not really what I meant. This treaty dissolves countries in order to create new countries. As you noticed this is not a sustainable solution. Because of raisins, populations of these states keep fluctuating making your new borders obsolete as soon as you decide on them.
In Belgium, we solved that by creating a government for several communities, not bound by specific territory (except for the Belgian territory of course). So the government of the French Speaking Community represents the French speaking people living anywhere in Belgium, even in Flemish territory, on matters of education for example.
It's an elegant solution here, were it not that there are also governments tied to territories... so it overlaps and multiplies quickly :-)
Filed Under: For a specific definition of 'solved'
-
RE: Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...
@bjolling said in Do .EU have a domain registered in the UK? .EU may not have long to reregister it elsewhere...:
My money is still on the "no Brexit" scenario. PM May will not be able to get a better deal. (What's in it for the EU to start negotiating again? What is the UK offering in exchange?). Without a deal, she will be forced to postpone the withdrawal. This will push the issue past the elections which I bet the remain camp will win.
Filed Under: You heard it here fristMy prediction still going strong!
[x] PM May will not be able to get a better deal
[x] she will be forced to postpone the withdrawal
[x] This will push the issue past the elections
[..] the elections which (...) the Remain camp will win. -
RE: Raymond Chen Haiku
@El_Heffe Do you think this would work? Paging @Raymond_Chen
-
RE: Foldable Tablet gets us.... something we already have?
@admiral_p said in Foldable Tablet gets us.... something we already have?:
Two smaller tablets are as an alternative. Two separate devices, with no direct interoperability. It's not really the same thing. And they're tablets. (So dumbed down computers).
Are you talking about Apple or Android?
My Surface is a tablet but certainly not a dumbed down computer. It runs Visual Studio and Visual Studio Code easily. If fact, I can do everything with it that the OP lists, even watch video... although I don't know why I would want to do that. Last weekend in my hotel room, I played a Netflix movie on my tablet but used the TV screen in my room to watch it.
-
RE: Superhuman media kerfuffle
@Jaloopa said in Superhuman media kerfuffle:
@bjolling said in Superhuman media kerfuffle:
@Steve_The_Cynic said in Superhuman media kerfuffle:
@wft said in Superhuman media kerfuffle:
@levicki said in Superhuman media kerfuffle:
@wft said in Superhuman media kerfuffle:
Read receipts on emails are evil
So you don't want to know if and when someone has read your mail?
If they have read it, they respond, that's how I know.
I think you have that backwards. What you probably meant was, "If they responded, then they have read it, that's how I know."
Not in my experience. Too often, I get replies that have nothing to do with the question I asked in my e-mail
Have you tried turning it off and on again?
People. What a bunch of bastards.
-
RE: Excel is messing with your genes
@El_Heffe said in Excel is messing with your genes:
@error said in Excel is messing with your genes:
snip screenshot
So the real story here is that the english-speaking "scientists" doing genetic research can't be bothered to properly format a spreadsheet.
MARCH1 does not mean anything in my locale settings.
-
RE: Unicode went woke
@hungrier said in Unicode went woke:
@cvi said in Unicode went woke:
Writing this, I realize that what Unicode really needs is a method for grouping. I.e., is the above an egg-room with steam, or an egg and a room-with-steam?
Two types of zero width joiner: left-ass joiner and right ass-joiner
@error_bot xkcd intensifier donkeys
Looks like my pull request didn't make it:
https://what.thedailywtf.com/topic/24502/new-skype-sucks-big-green-donkey-dicks-hows-that-for-a-longer-title/102 -
RE: Tech reporting out WTFs tech support
@dkf said in Tech reporting out WTFs tech support:
@topspin said in Tech reporting out WTFs tech support:
How would they even know that??
Was last year an election year?
Yes: https://en.wikipedia.org/wiki/2019_Belgian_federal_election
-
RE: A circumflex a circumflex a circumflex a circumflex a circumflex a circumflex a circumflex a circumflex
@flabdablet said:
I thought Linux users would not complain and just fix it like a normal Windows user would do: http://www.stardock.com/products/start8/So, imagine for a second that I'm a Windows user, and having taken inspiration from my Linux-desktop using friends I've got my Start menu all nicely organized by functional category instead of the manufacturer or product name folders that the installers create by default, and I like my Start menu and am comfortable with it and I no longer need to waste time looking through it for that app I haven't used for six months because I know where it will be when I need it - and I turn up to work to find that IT has slapped Windows 8 on my workstation and I'm expected to navigate this instead.
It's not OK because if they take my stapler then I'll set the building on fire.
-
Check for all zeros
When doing a code review for a library developed by an offshore company I came across the following parsing function.<o:p></o:p>
It's purpose is to take a string containing a datetime from mainframe and convert it to a valid .NET datetime object. If mainframe doesn't have a date it can either leave the field empty or fill it with zeros.<o:p></o:p>
<o:p></o:p>
public static DateTime? GetDateTime(this string value, DateTimeFormat format)<o:p></o:p>
{<o:p></o:p>
if (string.IsNullOrEmpty(value) || string.IsNullOrEmpty(value.Trim()))<o:p></o:p>
{<o:p></o:p>
return new DateTime?();<o:p></o:p>
}<o:p></o:p>
<o:p></o:p>
//check for all zeros<o:p></o:p>
string zero = value.Trim();<o:p></o:p>
int length = zero.Length;<o:p></o:p>
string check = new StringBuilder().Append('0', length).ToString();<o:p></o:p>
if (zero == check)<o:p></o:p>
{<o:p></o:p>
return new DateTime?();<o:p></o:p>
}<o:p></o:p>
<o:p></o:p>
//snip<o:p></o:p>
//...<o:p></o:p>
<o:p></o:p>
}<o:p></o:p>
-
RE: Adobe Flash Memory for the Apple IPhone
@morbiuswilters said:
@bjolling said:
Thanks morbiuswilters!!!
Not sure if this was sarcasm from you or what, but by The Mug is how we show our displeasure with a thread around here. However, this probably isn't completely mug-worthy, so I'll nominate you for The Half-Mug instead. To me the mistake in the article is obviously some kind of editing error that happened when a non-technical person was asked to work pieces of existing articles into this one. I guess it could actually be that the writer had no clue what they were talking about, but that doesn't seem very likely.
I should indeed have quoted from the article to avoid every one having to go through it. bstorer was so kind to post the correct quote, which I do think is WTF-worthy.
These half-mugs look great btw and I accept it with pleasure for my first post ever on this forum. My future posts will be better.
-
RE: Check for all zeros
@Helix Who would have thought 7 years ago that we'd all be sittin' here typing NodeBB/Markdown
In them days, we'd a' been glad to spew tags about -
RE: A critical reflection on GDPR
@apapadimoulis said in A critical reflection on GDPR:
And you people wonder why your strongest member just up and quit.
#MaximumTriggeringEnabled
Just curious... What member would that be? Up until now, nobody has quit and it doesn't look like anyone will in the near future.
-
RE: A critical reflection on GDPR
@bjolling said in A critical reflection on GDPR:
@blakeyrat said in A critical reflection on GDPR:
@jaloopa said in A critical reflection on GDPR:
The approach that's being mooted is to have one big bill that passes everything we currently follow just because it's an EU law, for minimal disruption, then things can be examined, changed or repealed as and when
"Being mooted" in the US implies the solution was discussed and rejected. I assume it means the solution was discussed and accepted over there in Eurotania? Otherwise, your post makes no sense to me.
In Europe, "being mooted" is an expression only used in the UK. No other EU country that I can think of uses English. So please continue bashing your 51st state but leave the EU out of it.
-
RE: Bumping Threads WTF
@tster said:
Is it 2012 already?@dhromed said:
It has already been bumped!
I can't help but notice the irony in life.Do you guys remember the day when posting in a thread which hadn't been active in 3 days was considered a bump on these forums?
-
RE: I've played video games before and I know what I'm doing a little bit
@dkf said in I've played video games before and I know what I'm doing a little bit:
@Gribnit said in I've played video games before and I know what I'm doing a little bit:
What the hell kind of cut-rate bargain-basement Jason do you call that?
That's an example of the rare Australian Jason.
Gasonus Donovaniensis Australopithecus?
-
RE: Quotes Out of Context
@HardwareGeek said in Quotes Out of Context:
@bjolling wrote:
here in Belgium, our cattle had the common sense to break out
The cattle are smarter than the people; they're trying to get out of B*****m.
That's a tough one without context 🤔