Code Snippet of the Day - self-submissions for code snippets that shouldn't really exist.
304
Topics
11697
Posts
@izzion said in Visual Studio WTfs:
I wouldn't want to be on either side of the bet that Framework 4.8 is going to be available in Windows 12.
I can fairly confidently bet that it won’t be; if it ships with the OS it’ll be 4.8.1 or later.
(It will be… interesting… if they put .NET Framework 4.x on the standalone-component train like 3.5 but not the VB6 runtime.)
Error'd - features fun error messages and other visual oddities from the world of IT.
468
Topics
11404
Posts
Dropbox...
Then why did you try to open a preview for it? I just wanted to upload a file. Period. Full stop. And then I move on with my life. Absolutely nobody asked you to try and open a file that was never meant for any kind of human consumption whatsoever.
TL;DR: Dropbox decided to try and preview any and all files you drop into the WebUI from now on.
@loopback0 said in Supermarket Self-Checkout:
@Jaime said in Supermarket Self-Checkout:
I'm specifically talking about the times where you didn't bring your own bag and you're using theirs.
Here you're paying for the bags so they're scanned like a normal item.
Around here they just ask you at the end how many store provided bags you used. It was only in the last year that the local counties started a 5¢ per bag tax. Fucking ridiculous.
@Carnage said in The ten year problem:
@TwelveBaud said in The ten year problem:
@PotatoEngineer said in The ten year problem:
switch up our encryption techniques to be quantum-resistant by then.
Sadly not an option: quantum-resistant encryption is trivially crackable on conventional hardware.
This is wrong. OTP is not crackable by quantum OR regular comuters.
Yes. But OTP is also not feasible for network-based commerce for several reasons.
@dkf said in Science!:
Getting things in a few years will work just fine. Most of the stars aren't going away.
And this belief being rational per observations is why I have responded as I have, you see.
@Carnage said in I knew Python was slow, but not THIS slow. And I knew JS was bad, but not THIS bad:
Weyland and systemd makes me think that there must be node somewhere in Ubuntu.
Those two components are not the ones that should make you think that. Not the least because they are the two components that were created pretty much in spite of Ubuntu, which had its own versions, mir and upstart respectively.
I think there isn't actually node. There is javascript in the Ubuntu Desktop, the gnome shell is in large part written in it, but it is a web view using webkit libraries.
@Luhmann said in Don't test...not even in production!:
@HardwareGeek
Don't mix the streams
Indeed. The prohibition against passing water into the river is included among the earliest known laws.
@BernieTheBernie our customer has been trying to get us to go to the cloud for years. Their parent even set up a couple of data centers a while back. I think one was managed by HP and the other I don't remember. They were super cluster fucks and got shut down after a couple of years.
We've done some studies and have found that moving to AWS probably wouldn't save them money and would have significant disadvantages for them (some advantages, too, but still). Might still happen, but we've basically been running our own mini-cloud on their premises.
@Applied-Mediocrity
The stability of the boat is in an uncertain state. It could fall further over or wash back out to sea at any time.
The OSHA-friendliness of the boat is in an uncertain state. Dangerous circumstances, like unsecured nets that could offer a choking hazard, could exist.
The non-occupancy of the boat is in an uncertain state. Although the police reported their understanding that no one was on the boat, a fugitive or corpse definitely still could have been.
@Applied-Mediocrity said in CDPR gets Cyberpulled:
From the company that failed to deliver on promises, after spending $313 million, seven years in the making:
Imogen Mellor / Oct 4, 2022 / The Witcher
CD Projekt announces new Witcher trilogy, 3 new games over 6 years
There's a lot of Witcher on the way.
Imogen Mellor / Oct 4, 2022 / The Witcher
Two Witcher spin-off games are on the way as well as the new trilogy
There is so much Witcher on the way.
Andy Chalk / Oct 4, 2022 / Game Development
CD Projekt is also working on something brand new that it 'created from scratch'
A mystery project called Hadar is being concepted in addition to the Cyberpunk 2077 sequel and new The Witcher games
Andy Chalk / Oct 4, 2022 / RPG
Cyberpunk 2077 is getting a full sequel
CD Projekt revealed the game, codenamed Orion, during a strategic presentation today.
Imogen Mellor / Oct 4, 2022 / RPG
The next Witcher and Cyberpunk games will have multiplayer
CD Projekt Red plans to expand its horizons.
Fucking hell...
Now in Unreal Engine, too. Because, I tell you, it was all RED Engine's fault. By no means it was overhype, indecisiveness, mismanagement and the Polish local brand of "Bioware magic" (churning it and hoping it will all magically come together in the end, by itself, because it always did before).
The only thing that could make this better is an announcement that they'd put Chris Roberts in charge of all of it.
@Zerosquare said in Unreal claims concerning purple:
the way color differences are usually computed in perceptual color space is wrong. For small differences, it doesn't matter much, but for larger differences, it does.
And this notion of smaller and larger is pretty fucky. We (I) had to switch colorspace models for image preprocessing because of tinted glassware tints not looking right, one time. The difference, iirc, was stark and hard-to-describe, likely because the tint was primarily red but contained some elements of blue as well.
what's with the pink circle?
@Kamil-Podlesak Swagger was built primarily with the idea of describing the objects serialized and deserialized by the standard java serializer. And I don't think that can express this kind of constraint either.
@CodeJunkie said in Ubuntu and settings and WiFi:
@Atazhaia said in Ubuntu and settings and WiFi:
Ubuntu is , because it loves doing stuff their own ways.
How is that different from the hundreds (thousands?) of other Linux distros?
Popularity.
@Steve_The_Cynic said in Failson:
@topspin said in Failson:
@Gurth being exceptionally great, to the point that you’re world famous, makes it almost guaranteed that you’re an outlier.
I think the key is that word "exceptionally" that you mentioned...
But note, e.g. microcephaly does inherit, although in the population it is still exceptional.
@HardwareGeek said in A mockery of a mockup:
@dcon said in A mockery of a mockup:
monitor in portrait mode
:theres_your_problem:
Figured I'd give it a try... It is nice seeing all that source code. But I suspect I won't do it for long - not sure my neck will survive...
@The_Quiet_One said in 1 + 1 = 1:
Just came across this bizarre rambling. There's a little bit of Poe's Law at play, but if he's a troll, he's done a convincing job of acting it out all the way to the end. I really wouldn't be surprised if it turns out this is the Time Cube Guy.
He's either trolling, or, he is just another twat who thinks he is being clever. I'm leaning toward the latter.
@Applied-Mediocrity said in Shit recruiters say:
@Atazhaia said in Shit recruiters say:
Extending a unicorn would kill the poor animalmythical creature
@HardwareGeek said in Re: The Official Funny Getting Started with Python Thread™:
@Bulb said in Re: The Official Funny Getting Started with Python Thread™:
Samsung Bada.
Sounds like it's-a bad-a.</voice="Mario">
Filed under: Bada-boom!
The Fifth Element Big Bada Boom – 00:22— Sedoy Zloy
@DogsB it is a pointer to the fabled, mythical lands known only to the chosen few as 'a story from the front page'. If it gives you a 404, your fate is safe - for now.
@boomzilla said in Re: The Quixotic Ideas Thread - Retiring Javascript:
Yeah, but remember, a la Internet of Shit, "smart" just means that it's controlled by one or more computer programs.
Written by the people who appear on the front page.
@izzion said in Why do people do this? Episode 2:
I am in this post and in my defense I used to be responsible for writing the tier 1 Internet support script so it’s only natural that I worked ahead before I called.
Reminds me of Dr. Timothy Leary recounting how when he was admitted to prison, he was given an aptitude test that he had written. He deliberately scored as "hopelessly incompetent" on the administrative skills test, because he didn't want to be assigned as an inmate clerk, because that would have interfered with his escape plans.
@jinpa said in What will baby's name be?:
@dcon said in What will baby's name be?:
@merreborn said in What will baby's name be?:
"What's your name?"
"Null"
"What does null mean?"
"Zero."
No it doesn't.
Trying to explain undefined to young classmates would be interesting but difficult. It's almost a philosophical concept.
Teaching can never start too early.
I listened to the talk today and put my notes w/timestamps below. TL;DL: They didn't say much more than what they'd been saying on their Discord and Reddit:
Branch makes a Search product they sell to OEMs to integrate into their launchers.
Nova will be used as a rapid UI and feature testbed for this product.
We'll be good stewards for Nova as well as any data we do collect. Trust us.
We'll see.
Ironically, I couldn't listen to it live because the audio kept cutting out on the Android app.
4:00 - Actual Start
5:20 - Alex (Branch CEO) Talks About Branch.io/Branch Analytics
- (Was an app developer.)
- (Wants to help people search across apps.)
- (Got developers to put links into their apps for them to search.)
10:00 - What's a (Branch) Deep Link?
- (A common use is the annoying "Open this in our app." popups.)
13:40 - What happens if you don't have the related app installed when you "click" on a Branch Deep Link?
- (The app/website maker picks.)
14:20 - Talking about Deferred Deep Links and having to install apps.
- (Alex is surprised we still have apps.)
16:40 - Are Branch's Deep Links the core business of Branch?
- (Alex really wants a discovery/search engine for apps.)
18:20 - Who uses Branch Deep Links?
- (Too many people.)
20:55 - Does Branch sell ads?
- (No, but I don't think everyone assumed that.)
- (Branch sells their software library and hosting for the links if you want.)
22:15 - Kevin speaks! Branch is similar to Google's Firebase.
24:00 - More about information collected to do Deferred Deep Links.
- (Doesn't exactly answer the question, but says that they only pass the link along.)
- (Doesn't believe that you can make a company now that uses data to monetize?)
27:50 - How does Branch('s library) identify a device?
- (IP, Ad ID, anything else the company using Branch's stuff already has.)
- (Keeps insisting they don't use your data for anything but providing links.)
29:35 - Device ID Finder app.
- (More about Branch not keeping your data.)
31:00 - Why did you want Nova Launcher?
- (They want to improve app search and discovery by building their search and deep link info into OEM launchers.)
- (Since they're selling their libraries to OEM launchers, they don't get much feedback.)
- (Nova is going to be their beta test platform, with Nova's users as the guinea pigs.)
37:15 - Give us an example of what your search in Nova (or other launcher) will enable.
- (Blah blah Soundcloud.)
- (Search your Soundcloud downloads and go directly to there in the player.)
- (Did you know Mixcloud also has downloads?)
- (A mix of searching your phone, not having to open apps to do everything, and advertising other apps.)
40:10 - Problems with the stream. (Apparently Twitter Spaces don't work well on Android. Ironic, that.)
40:40 - How did Nova's search and Nova+Sesame Search work before Branch?
- (Nova just listed Intents. Sesame does something similar to what Branch Search does, but did it by decompiling apps vs. deep links.)
43:10 - How will Nova's development and monetization be affected?
- (Agile Testbed. Ugh.)
- (Nova makes money and they don't want to affect that.)
- (Kevin doesn't want to change what Nova is.)
45:30 - What data will Nova collect for Branch? How will it be collected?
- (No changes in 8.0.2.)
- (Things like: What do people select after a search?)
48:20 - Audience Q&A starts?
48:45 - Alex: this Branch isn't the one owned by Facebook. (This one is a startup.)
49:50 - More about Twitter Spaces not working on Android and features not existing on the web. Also dead air.
51:55 - Any comments on the acquisition and response?
- (Kevin: it was hard on me. Acquisitions are disruptive.)
- (Alex: never thought about Branch as a data company and how it looks to outsiders.)
- (Both: communication is the issue.)
- (Kevin: privacy focus.)
55:05 - Free to make up your own mind. (But you're overreacting.)
57:00 - More technical problems.
58:00 - Wrap up.
@dkf said in "Everything is live. Why would you need a test environment?":
@acrow said in "Everything is live. Why would you need a test environment?":
@Carnage Now that you mention it...
Good Stuff IT Services
British surnames beginning with 'TEST'
Find out where in the world your surname originated, what it originally meant and how many other people you share it with.
Test
Testa
Testaferrata Moroni Viani
Testaferrate
Testagrossa
Testall
Testam
[...]
River Test - Wikipedia
Which gives its name to the Test Valley which means several local organisations with that in their name - e.g. Test Valley Borough Council, Test Valley Golf Club.
It did make me go the first time I saw them in our B2B systems.
@Gurth said in The one where Apple upset Facebook:
@topspin said in The one where Apple upset Facebook:
@boomzilla and that man doesn’t need a pager.
No, because it’s no longer the 1990s and he has a cellphone now.
Must not be from the FP then.
@Deadfast said in Dates are hard... and may lead to tax fraud?:
@kazitor said in Dates are hard... and may lead to tax fraud?:
Magpies are sweet and wholesome
[..]
a vicious stepmum who wouldn’t let the poor juveniles have anything as she was around, dive-bombing and pecking at their backs…
There are exceptions to everything.
@Carnage said in The privacy mouse trap races:
Users could avoid Facebook, but that may not be possible all the time.
Indeed. Despite my best efforts, once or twice a year I accidentally click a link that takes me to a Facebook page. forcing me to hit the Back button as soon as I realise what I just did.
@dkf said in PyPad:
curation is a very hard problem ... avoiding of corners quietly rotting
True. That reminds me of one of the YT channels I subscribe to. It's put out by the curator of the Battleship New Jersey Museum and Memorial. One of the things he's mentioned in several videos is that typically old ships don't rust from the outside in, they rust from inside out. It's usually not the obvious seawater rusting the ship's hull that causes a problem. It's condensation and leaks in internal plumbing that causes rust in void spaces that nobody goes into that eventually eats through the hull from the inside.
Every once in a while, somebody needs to go into those quiet corners of the repo and check for rusty modules.
@HardwareGeek said in Caching is hard: docker edition:
@TheCPUWizard And it lies between the pit of man's fears and the summit of his knowledge.
Thanks for the scope restriction. I'll just check all the code between there, shall I.
@Zecc
This is what you get when a language is modernized while maintaining backward compati(de)bility.
The new operations are defined in terms of special methods, which are defined in Array prototype, but the old ones were defined in terms of looking at length and then iterating for(i = 0; i < x.length; ++i) and can't be changed because of above mentioned compatidebility.
@CodeJunkie said in It's tools all the way down!:
No they didn't and every new "tool" that appears today seems to want to push the "developers" to deploy using cli tools from their local machine for some reason.
It's a wise policy.
@Bulb said in Enter the Monorepo:
@dkf The big advantage of find -exec is that it knows where the filenames begin and end. The find -print0 and xargs -0 are GNU extensions, which means you can't use them when your script is supposed to run on MacOS (or any other BSD derivative), some embedded systems using busybox or even that house of cards of a system the Chinese department cobbled together from AOSP the other day that uses “toybox”. And then you are relying on the filenames not containing newlines, and have to be careful to at least handle spaces correctly, because the filenames definitely do contain those. At that point, find -exec becomes easier.
But in general I usually give up and not try to support newlines in filenames. Spaces and other weird characters are doable (but note that xargs defaults to splitting on any whitespace), but newlines are too much of a pain. Too many places don't have a suitable option for nul-separation.
I was going to say -exec ... + is also a GNU extension, but according to the manpage it was actually added to POSIX at some point. Still wouldn't surprise me if it's missing from busybox.
@HardwareGeek If I had to give up every product made by a company whose CEO is in bed with Klaus Schwab, it wouldn't matter if I was paid in Itchy and Scratchy dollars.