@krans@mastodon.me.uk
@krans@mastodon.me.uk avatar

krans

@krans@mastodon.me.uk
  • Senior Principal Software Engineer at Cadence Design Systems.
  • Reluctant "C++ expert"
  • Bicycle-riding tofu-munching foreign wokeratus.
    ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡บ๐Ÿ‡ฎ๐Ÿ‡ช

This profile is from a federated server and may be incomplete. Browse more on the original instance.

thephd, to random
@thephd@pony.social avatar

Well, at least I got this paper out finally: https://thephd.dev/_vendor/future_cxx/papers/C%20-%20Restartable%20and%20Non-Restartable%20Character%20Functions%20for%20Efficient%20Conversions.html

Once I finish it I hope to return to the C++ version in "Transcoding the world". It's just been too long of a journey.

krans,
@krans@mastodon.me.uk avatar

@thephd I'm so excited for this enhancement, thanks for continuing to work on it!

krans,
@krans@mastodon.me.uk avatar

@thephd I think there's a copy-and-paste issue in the description of STDC_WIDE_LITERAL_UTF8.

s/UTF-16/UTF-8/

krans,
@krans@mastodon.me.uk avatar

@thephd I don't have time to do a fully detailed proof read at the moment, sorry ๐Ÿ˜ž

whitequark, to random
@whitequark@mastodon.social avatar

the problem with telemetry in open-source applications is that the majority of people who use them don't tell anybody about their workflow, so whenever you change something, you have to be prepared for a sudden and unexpected inflow of angry complaints about you breaking something

you could do polls, but that selects for people who would complete a poll, again excluding many who would be touchy about their workflow

krans,
@krans@mastodon.me.uk avatar

@whitequark This problem is not exclusive to open source applications. Most of our customers would have a complete meltdown at the idea of providing us with even the most simple summary of their usage of our product.

We've had the discussion and there is absolutely no way that anyone will agree to give us the kind of detail in telemetry that would be required to remove dead features.

(Anyway, no-one will authorize any work on removing features, even if confident we could do it safely).

kyonshi, to random
@kyonshi@dice.camp avatar

Researching nuclear weapons for my next #shadowrun scenario. Maybe i should use a VPN?

krans,
@krans@mastodon.me.uk avatar

@kyonshi What sort of nuclear weapon do you want to detect? As I understand it, even the most radioactive nuclear weapons would be a struggle to detect from a couple of rooms away (background radiation + inverse square law).

krans,
@krans@mastodon.me.uk avatar

@kyonshi Maybe. I think the W87 has a depleted uranium nosecone, which is very good at blocking nuclear radiation while not being very radioactive (half life is 4.5 Gy). Alpha radiation is very easily blocked by air. I reckon it would be easy for a W87 to be missed by a Geiger counter held immediately adjacent to a lorry at a checkpoint.

It's only about 250 kg, so unlikely to be detectable by looking at vehicle loading. Probably doesn't emit any EM radiation and it should be non-magnetic. ๐Ÿคท

krans,
@krans@mastodon.me.uk avatar

@kyonshi Here's an wild idea: use artistic license and claim that the LX-17 / PBX-9502 explosives in the warhead produce detectable outgassing of their binder chemicals, that can be picked up close to a stationary vehicle with a handheld sniffer?

bascule, to random
@bascule@mas.to avatar

Ordered back to the office, top tech talent left instead, study finds

In the months following return-to-office mandates, an increased number of senior employees departed Apple, Microsoft and SpaceX, often to work for competitors.

Gosh, at that price, I sure hope they got all that unmeasurable spontaneous innovation that can only happen via ad hoc office encounters back! But I guess that can only be confirmed by the same gut feelings that lead to RTO in the first place.

https://www.washingtonpost.com/business/2024/05/12/rto-microsoft-apple-spacex/

krans,
@krans@mastodon.me.uk avatar

@lewiscowles1986 The managers believe their companies' main assets are their source code, documentation and server infrastructure.

Their actual most valuable assets are their relationships with the people who know how to build, improve and maintain their products. @bascule

hankg, to peloton

My first thought is that no good will come of Peloton being acquired by a private equity firm. More often than not it is a vampire operation: they suck the company dry, break it up for parts, and then pockets all the cash. Sometimes they can be productive but I can't assume that.
msn.com/en-us/money/companies/โ€ฆ

krans,
@krans@mastodon.me.uk avatar

@hankg Oh, another private equity . Gross.

thephd, to random
@thephd@pony.social avatar

And this is only one of the Forbidden Magic Words I have to cull out.

I'm so tired, man.

krans,
@krans@mastodon.me.uk avatar

@thephd Is this ISO Secretariat being shitty again? Have they done the โ€œeverything must be in this one specific fontโ€ thing to you as well?

looopTools, to rust
@looopTools@mastodon.social avatar

I keep looking at rust and thinking "Gods it seems to be an awesome language"... Then I read and hear about a lot of hassels moving from C or C++ to rust and never really any massive success stories... are the massive success stories out there?

krans,
@krans@mastodon.me.uk avatar

@looopTools is a massive success story for Rust. After multiple attempts to write a multi threaded style engine in C++, and getting completely destroyed by data races on each attempt, funded Rust , and then used it to write a high performance multi threaded styling engine () with no crashes or data races on basically the first attempt.

KathyReid, to stackoverflow
@KathyReid@aus.social avatar

Like many other technologists, I gave my time and expertise for free to because the content was licensed CC-BY-SA - meaning that it was a public good. It brought me joy to help people figure out why their code wasn't working, or assist with a bug.

Now that a deal has been struck with to scrape all the questions and answers in Stack Overflow, to train models, like , without attribution to authors (as required under the CC-BY-SA license under which Stack Overflow content is licensed), to be sold back to us (the SA clause requires derivative works to be shared under the same license), I have issued a Data Deletion request to Stack Overflow to disassociate my username from my Stack Overflow username, and am closing my account, just like I did with Reddit, Inc.

https://policies.stackoverflow.co/data-request/

The data I helped create is going to be bundled in an and sold back to me.

In a single move, Stack Overflow has alienated its community - which is also its main source of competitive advantage, in exchange for token lucre.

Stack Exchange, Stack Overflow's former instantiation, used to fulfill a psychological contract - help others out when you can, for the expectation that others may in turn assist you in the future. Now it's not an exchange, it's .

Programmers now join artists and copywriters, whose works have been snaffled up to create solutions.

The silver lining I see is that once OpenAI creates LLMs that generate code - like Microsoft has done with Copilot on GitHub - where will they go to get help with the bugs that the generative AI models introduce, particularly, given the recent GitClear report, of the "downward pressure on code quality" caused by these tools?

While this is just one more example of , it's also a salient lesson for folks - if your community is your source of advantage, don't upset them.

krans,
@krans@mastodon.me.uk avatar

@wraptile @KathyReid No, throwing plausible-looking bullshit that looks like answers at users does not in any way align with the goal to โ€œraise everyone up with the tide,โ€ and is actually just force feeding everyone lowest-common-denominator pap.

whitequark, to random
@whitequark@mastodon.social avatar

i think nobody should be crying because of verilog

krans,
@krans@mastodon.me.uk avatar

@whitequark Not just girls ๐Ÿ˜ฐ

krans,
@krans@mastodon.me.uk avatar

@whitequark Why has the industry settled on Verilog even though VHDL is objectively superior?

krans, to edinburgh
@krans@mastodon.me.uk avatar

Please suggest things to say to the cultists handing out their "free personality test" flyers near my bus stop.

shoq, (edited ) to random
@shoq@mastodon.social avatar

ABOUT

Were you aware that on some Mastodon instances, you can โ€œopt-inโ€ (via preferences) to have your posts indexed so they can be found in searches?

(Please repost this poll.)

krans,
@krans@mastodon.me.uk avatar

@shoq Missing option: yes, but I didn't make any decision about it yet.

danieldurrans, to random
@danieldurrans@mastodon.me.uk avatar
krans,
@krans@mastodon.me.uk avatar

@danieldurrans Yeah, that sounds like anti-competitive collusion to me.

MatWright, to Taiwan
@MatWright@mastodon.social avatar

Eyes on Taiwan, lots of earthquake damage especially in Hualien City on the east coast, constant aftershocks, tsunami warning as far as Guam and the Philippines

krans,
@krans@mastodon.me.uk avatar

@msquebanh Earthquake-resilient building standards are a good thing. I don't understand what point you're trying to make.

I thought for a moment you were saying urban dwellers should die in earthquakes until rural poverty has been completely eliminated, but I'm pretty sure that's not it.

@MatWright

niconiconi, to random

If a photo of an internal engineering prototype DRAM appears on the Web, is it a memory leak?

krans,
@krans@mastodon.me.uk avatar

@niconiconi Samsung, SK Hynix and Micron all work hard to prevent unchecked borrowing of their internal data.

junesim63, to UKpolitics
@junesim63@mstdn.social avatar

This worries me. No party should have such a huge majority, particularly one led by a man who brooks no opposition in his own party and has reneged on all his policy pledges.

Conservatives set for worst election result yet, research shows | Labour | The Guardian
https://www.theguardian.com/politics/2024/mar/30/conservatives-set-for-worst-election-result-yet-research-shows?CMP=GTUK_email

krans,
@krans@mastodon.me.uk avatar

@hengymrohebwlad @junesim63 Did Labour publish their election manifesto already?

craigtimpany, to random
@craigtimpany@mastodon.social avatar

My number one wish from the fallout of the xz backdoor is that it kills autoconf/configure/autohell. That shit is illegible and watching for compile failure is a shitty way to test for features

krans,
@krans@mastodon.me.uk avatar

@craigtimpany Most compilers lie about what features they support. What's a better way to reliably test for compiler features than to test whether the compiler has those features?

krans,
@krans@mastodon.me.uk avatar

@waldi @craigtimpany Take the Microsoft C++ compiler, for example. They say they support certain features (e.g. no_unique_address) and set the __cpp_no_unique_address macro, but their implementation of this feature doesn't actually give zero-sized initial member variables unique addresses.

You can either program a big map for every C++ compiler ร— every feature for whether each works usably for your program, or write a compile test.

simontatham, to random
@simontatham@hachyderm.io avatar

A silly idea for a pretty picture.

I'd hoped there would be more of the original structure visible in the decomposition, but there's at least one hint of it visible.

krans,
@krans@mastodon.me.uk avatar

@simontatham Did you consider visualizing the LU decomposition as well, for science?

tony, to random
@tony@hoyle.me.uk avatar

deleted_by_author

  • Loading...
  • krans,
    @krans@mastodon.me.uk avatar

    @tony It also gets linked in via libselinux -> libpam -> xz. Possibly other dependency chains too

    nixCraft, to random
    @nixCraft@mastodon.social avatar

    This is going to help scammers a lot. Imagine getting a call from your loved ones, and they explain they are in trouble and need immediate financial assistance. This is going to affect so many elderly and innocent people. OpenAI is developing these tools again from publicly scrapping of your voice samples.

    krans,
    @krans@mastodon.me.uk avatar

    @nixCraft More evidence that the purpose of is spam.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines