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.)
@PleegWat said in Happy Anniversary, Dear Asok!:
@BernieTheBernie You should put your heart in your job, then your job will be hard on you.
Ouch, man. That's some dangerous advice. Have a care.
@Gearhead said in Dawn: the SUBLEQ OS by Geri:
@Tsaukpaetra I'm still YMBNH, and therefore I'm not understanding . What I meant is that your 2018 take-down was epic. Among the best I've read on TDTDWTF. The OP stated:
Dawn operating system is finished, every initial goal has been reached, and every feature works.
and then continued updating until 2020.
Especially since one of the features added in 2019 was making the C compiler understand hex numbers in the 0xABCDEF notation.
@Atazhaia said in What's more difficult than "impossible"?:
All that needs to be done to reset a MacBook (or other Apple device) is to go into the settings and hit the "Erase all data and settings" button
@remi said in Knowledge brought to you by Google:
@LaoC said in Knowledge brought to you by Google:
@BernieTheBernie said in Knowledge brought to you by Google:
By the way, there is a genus of molluscs called Meretrix (that's Latin for prostitute):
Meretrix (bivalve) - Wikipedia
Of course there would be one like this among the Veneridae. There's also the Uterus Clam and the "Little Circe".
(semi-)necroing to mention that in French one of the most common slang for vulva is "mussel."
(though obviously almost any word can be used as euphemism for something sex-related, as San-Antonio was very good at demonstrating)
It's almost as though the French have a penchant for rude names.
@Tsaukpaetra said in Pinned WTF Bites:
@Gribnit said in Pinned WTF Bites:
@Gustav said in Pinned WTF Bites:
did this guy hack your account?
I did not, but, I must say, I'm surprised you can't understand his proposal. Apps would be able to attempt privileged actions, but such actions would be deferred until the user was available to approve them - accomplished via sandboxing and a dirty bit. Do you even software, bro?
Holy fuck. Quick, someone tell me what universe we're in!
Normal @Gribnit service will be resumed shortly
@Zecc said in The official 2023 ludicrous predictions thread:
A human-level artificial self-conscious intelligence will be created, but because it has access to the internet and sees what's out there, it will go "Nope" and delete itself.
After nuking everything it "sees" as it backs out.
@dcon It's super easy to sniff it out
import * as react from 'react'
const reactInternals = Object.entries(react).find(
([, val]) => val.ReactCurrentOwner
)[1]
@HardwareGeek said in JavaScript Date Object:
@Benjamin-Hall said in JavaScript Date Object:
within a closed system
That's why you should reject walled gardens!
Down with the OGL 1.1! #OpenD&D ... oh wait, wrong thread.
@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.