9.3 C
New York
Friday, April 11, 2025
Home Blog Page 6

Turing Award Particular: A Dialog with David Patterson


David A. Patterson is a pioneering laptop scientist identified for his contributions to laptop structure, notably as a co-developer of Diminished Instruction Set Computing, or RISC, which revolutionized processor design. He has co-authored a number of books, together with the extremely influential Laptop Structure: A Quantitative Method.

David is a UC Berkeley Pardee professor emeritus, a Google distinguished engineer since 2016, the RIOS Laboratory Director, and the RISC-V Worldwide Vice-Chair.

He acquired the 2017 Turing Award along with John L. Hennessy “for pioneering a scientific, quantitative method to the design and analysis of laptop architectures with enduring influence on the microprocessor trade.”

On this episode he joins Kevin Ball to speak about his life and profession.

Kevin Ball or KBall, is the vp of engineering at Mento and an impartial coach for engineers and engineering leaders. He co-founded and served as CTO for 2 corporations, based the San Diego JavaScript meetup, and organizes the AI inaction dialogue group by Latent Area.

 

 

Please click on right here to see the transcript of this episode.

Sponsors

Builders, we’ve all been there… It’s 3 AM and your cellphone blares, jolting you awake. One other alert. You scramble to troubleshoot, however the complexity of your microservices atmosphere makes it practically inconceivable to pinpoint the issue rapidly.

That’s why Chronosphere is on a mission that will help you take again management with Differential Prognosis, a brand new distributed tracing function that takes the guesswork out of troubleshooting. With only one click on, DDx robotically analyzes all spans and dimensions associated to a service, pinpointing the almost definitely reason for the problem.

Don’t let troubleshooting drag you into the early hours of the morning. Simply “DDx it” and resolve points quicker.

See why Chronosphere was named a pacesetter within the 2024 Gartner Magic Quadrant for Observability Platforms at chronosphere.io/sed.

Understanding the small print of infrastructure instruments matter, and there’s no higher option to perceive that than trying straight on the code. Open supply codebases give everybody the power to examine, audit, and contribute to the software program they use, enhancing belief and transparency.

Bitwarden is a trusted open supply and end-to-end encrypted safety answer that empowers companies and people to securely handle and share info on-line. Made by builders such as you, Bitwarden affords open supply options for just about each credential administration use case, from secrets and techniques administration to password administration and passwordless. Builders may even securely handle their ssh keys with the brand new Bitwarden ssh agent! Get began in your open supply safety journey right now and begin your free trial at Bitwarden.com!

This episode of Software program Engineering Every day is delivered to you by Jellyfish, the main software program engineering intelligence platform.

AI codegen instruments might be drive multipliers for R&D organizations, however are you profiting from them? Be a part of your friends on April 17 at GLOWLive. It’s a dynamic 90-minute digital occasion that explores the transformative nature and potential influence of AI codegen options.

At GLOWLive, you’ll hear skilled insights on:
Navigating a constantly-shifting panorama
Adopting codegen instruments efficiently
And measuring their influence in your group, your work, and your organization’s long-term success

Register right now at jellyfish.co/glow and get glowing!

Cellular App Safety Audit Guidelines


New cyber threats emerge each day, demanding fixed consideration. Safety is not one thing you do as soon as and neglect about!

3 methods tariffs will have an effect on sustainable provide chains


Key takeaways

  • Provide chain shifts from tariffs may have an effect on an organization’s capacity to gather information on the influence of worth chains and shift carbon disclosure purpose timeframes.
  • Compliance on human-rights initiatives and moral enterprise practices may fluctuate if provide chains transfer location.
  • Corporations dedicated to ESG efficiency seemingly will let political points shake out earlier than figuring out subsequent steps.

The U.S. administration’s introduction (and delay) of sweeping tariffs already is displaying indicators of disrupting international commerce. In fact, addressing the basic financial challenges the tariffs symbolize shall be high of thoughts for all firms, however it’s vital to notice that the redrawn commerce patterns and alliances can even seemingly change how firms method their efforts to make sure provide chains meet their requirements for environmental, social, and governance-related efficiency. 

Along with the usual enterprise imperatives of price, high quality, and timeliness, most international companies have already invested vital sources into mapping their worth chains. Ahead-looking firms have additionally engaged with suppliers on a variety of points together with local weather reporting and efficiency, human rights-related points and moral enterprise practices.

However as prospects and suppliers come to grips with a brand new financial panorama, it could require them to vary suppliers to make sure they’ll stay economically aggressive. 

A provide chain reshuffle 

Based on our conversations with a number of international firms within the prescription drugs, software program and manufacturing sectors, it’s nonetheless too early to foretell the precise impacts of tariffs. Nonetheless, all see the next three situations as potential, if not going, if tariffs stay in place for any vital interval.

  • Provide chain shifts may have an effect on information assortment: World companies have invested considerably in constructing relationships with suppliers who share or at the very least conform to assist efforts to acquire related information concerning the impacts of their worth chains. The brand new financial calculus that the tariffs symbolize will virtually actually end in substantial parts of world provide chains being restructured and new relationships being put in place. This may have an effect on mutual agreements on what info is offered by suppliers to prospects – corresponding to carbon metrics, well being and security info, human rights-related information and different sustainability measurements. Many of those ESG information assortment processes will must be rebuilt to some extent and will end in a disruption of information availability for a while. 
  • Altering carbon disclosures and purpose timeframes: Varied goal-setting regimes, together with these administered by the Science Based mostly Targets Initiative (SBTi), usually have a requirement for firms to set targets associated to the emissions that originate of their provide chain. To fulfill these targets, firms usually will encourage their suppliers to set their very own targets. Nonetheless, if firms should establish new suppliers to mitigate the influence of tariffs, most of those agreements will must be renegotiated, placing these firms who’ve set such targets liable to not with the ability to accomplish them in the timeframe anticipated. This will likely end in reputational injury to these not in a position to meet their unique commitments. 
  • Compliance unknowns for suppliers and producers alike: The onshoring of provide chains in response to tariffs could end in simpler compliance with varied human rights and anti-corruption necessities. That’s as a result of many firms have constructed refined operations to guard working circumstances and uphold moral enterprise practices. If provide chains are moved geographically nearer — presumably to the place the regulatory setting is much like the purchaser — then there’s the possibility we may see a web profit from such tariffs. On the flip aspect, if an organization requires sure uncooked supplies that solely originate from particular international locations as an integral part to their manufacturing course of, it’s additionally potential there might be a “race to the underside” — the place firms are tempted to supply supplies from wherever, whatever the provider’s dedication to human rights and moral enterprise practices. 

Doubling down on values

It’s clear we’re in a extremely disruptive interval for companies, notably for these dedicated to sustainable enterprise practices. Should you couple tariffs with an administration that’s clearly inclined to decontrol sustainability-relevant points, then progress in direction of a extra sustainable future could also be harder for the following few years. 

That’s why firms ought to prioritize their most vital “non-negotiables” — be it human rights, fundamental carbon information and/or anti-corruption efforts — and stick with their values on these. Then let the political points shake out earlier than figuring out the following finest steps. 

Regardless, the enterprise case for sustainable practices stays clear. Ahead-looking firms which have already dedicated to visibility and traceability of their provide chain shall be higher positioned to navigate these disruptions and shortly adapt to the brand new international provide chain panorama. 

Knowledge Middle Vitality Demand Will Not Save The US Coal Trade



Join every day information updates from CleanTechnica on electronic mail. Or comply with us on Google Information!


A quick-growing wave of electrical energy demand sparked by the info middle business has coal producers within the US hoping to fill the hole, however a brand new report from the Worldwide Vitality Company, titled “Vitality and AI,” signifies that the hope will probably be short-lived.

Filling Knowledge Middle Vitality Demand With Coal, Or Not

Considerably mockingly, just some days earlier than the IEA issued its new report on knowledge middle vitality demand, US President Trump took steps to prop up home coal manufacturing, partly as a method of guaranteeing sufficient vitality to provide the speedy build-out of knowledge facilities within the US.

Trump additionally framed the measure as an effort to protect coal jobs. It’s true that about 45,500 folks within the US at present rely on coal mines to make a dwelling, which is not any drop within the bucket. Nevertheless, Trump had no considerations about choking off 1000’s of present and potential jobs within the home offshore wind business earlier this yr when he suspended the federal offshore lease program.

Be that as it could, IEA doesn’t see a lot future for coal when it comes to matching the expansion in knowledge middle vitality demand on a worldwide foundation. In reality, coal barely will get a point out in report’s govt abstract. “A various vary of sources will probably be wanted to fulfill demand,” IEA summarizes earlier than occurring to notice that about half of the expansion in knowledge middle electrical energy demand will probably be met by renewables, with storage and numerous grid mixes in assist.

“Renewables technology is projected to develop by over 450 TWh to fulfill knowledge centre demand to 2035, constructing on brief lead instances, financial competitiveness and the procurement methods of tech firms,” IEA elaborates.

Digging into the report itself, IEA notes that “renewables stay the fastest-growing supply of electrical energy for knowledge centres.”

“Even so, new demand from knowledge centres is a major near-term driver of progress for pure gas-fired and coal-fired technology, by way of each increased utilisation of present belongings and new energy vegetation,” IEA provides, earlier than occurring to watch that the mix of nuclear vitality and renewables after 2030 will end in an “absolute decline in coal-fired technology for knowledge centre operations by 2035.”

Ouch!

Geothermal Beats Coal For Knowledge Middle Vitality Demand, Ultimately

Along with paying attention to the tech sector’s curiosity in nuclear vitality, IEA additionally takes a look at geothermal know-how, and that’s the place issues get attention-grabbing right here within the US.

US Vitality Secretary Chris Wright is the previous CEO of the main oil and fuel companies agency Liberty Vitality, which is an investor in the promising geothermal startup Fervo Vitality. Coincidentally or not, geothermal vitality gained a slot in Trump’s fossil-friendly “American Vitality Dominance” plan, regardless of the plain conflicts with fossil vitality producers.

As famous by IEA, the US is among the international hotspots for progress in knowledge middle vitality demand, primarily clustered in 5 areas. Nevertheless, there may be an asymmetry within the US between knowledge middle distribution and geothermal vitality. Each geothermal energy plant within the US is situated in a scattershot of areas west of the Rocky Mountains, the place optimum combos of rock, warmth, and water exist.

Nicely, that was then. Geothermal innovators have borrowed know-how from oil and fuel producers to increase their vary into new areas, a circumstance that has already caught the attention of knowledge middle builders.

Rhodium Group is among the many analysis corporations anticipating that a brand new technology of geothermal energy vegetation will play an outsized position in assembly knowledge middle vitality demand over the approaching years. In a brand new report issued on March 11, Rhodium cited excessive capability issue output, broad geographic dispersion, and the “sheer quantity of subsurface vitality obtainable to harness” among the many benefits.

“We discover that if the expansion patterns of knowledge facilities comply with historic clustering traits, geothermal may economically meet as much as 64% of anticipated demand progress by the early 2030s,” Rhodium summarizes, whereas noting that an much more economical strategy could be to eschew historic clustering traits.

“If knowledge facilities find in areas with the perfect geothermal useful resource, geothermal has the potential to fulfill all projected knowledge middle demand progress at costs 31-45% decrease than in a clustered strategy,” Rhodium concludes.

Much less And Much less Wiggle Room For Coal In Knowledge Middle Vitality Demand

IEA emphasizes that many recognized unknowns make it troublesome to anticipate precisely how the world will meet the expansion in knowledge middle vitality demand. On web page 87 IEA signifies that the US has already locked itself right into a collection of recent fuel energy vegetation, however progress within the biogas and inexperienced hydrogen markets may tamp down demand for fossil fuel to run them.

Different rising traits that would increase the profile of renewables in knowledge middle vitality demand embrace vitality effectivity enhancements and new perovskite photo voltaic cell know-how that makes solar energy an much more economical possibility than it’s now. New vitality storage techniques that allow photo voltaic and wind to fill baseload obligations are additionally within the combine.

Among the many extra futuristic eventualities tracked by CleanTechnica is a recent burst of investor curiosity within the the house photo voltaic area. In the meantime, no less than one revolutionary startup is planning to launch knowledge facilities into house, the place their thirst for vitality may be happy on a 24/7, weather-free foundation.

In one other attention-grabbing improvement, on April 3 the Vitality Division introduced that it has recognized 16 federal properties with obtainable land for improvement and grid connections to assist speedy knowledge middle building. The trouble appears geared toward offering a fossil- and nuclear-friendly different for knowledge middle builders that could be in any other case tempted to put money into new solar-plus-storage tasks. Nevertheless, the Vitality Division lists the Nationwide Renewable Vitality Laboratory in Colorado among the many chosen websites, with broader implications for the position of renewables in assembly knowledge middle vitality demand.

“NREL goals to determine a website the place a developer can proceed its typical enterprise operations whereas utilizing the location as a proving floor,” the lab explains. “The strategy wouldn’t solely enable the developer to give attention to its enterprise goals but in addition present nationwide stakeholders with invaluable insights into accelerating AI knowledge middle building and energy deployment, paving the way in which for future business improvements.”

Picture (cropped): Knowledge middle vitality demand is hovering, however a brand new report signifies that competitors from renewables, fuel, and nuclear vitality will shrink the alternatives for coal stakeholders (courtesy of EIA).

Whether or not you’ve got solar energy or not, please full our newest solar energy survey.



Chip in a number of {dollars} a month to assist assist unbiased cleantech protection that helps to speed up the cleantech revolution!


Have a tip for CleanTechnica? Need to promote? Need to counsel a visitor for our CleanTech Discuss podcast? Contact us right here.


Join our every day publication for 15 new cleantech tales a day. Or join our weekly one if every day is just too frequent.


Commercial



 


CleanTechnica makes use of affiliate hyperlinks. See our coverage right here.

CleanTechnica’s Remark Coverage




ios – How do you correctly use CoreAudio Render Callbacks in Swift


I’ve lately received desirous about generated audio once more, however I am having a little bit of bother. I have been following this tutorial, and changing it into Swift:

https://gist.github.com/gcatlin/0dd61f19d40804173d015c01a80461b8

Nevertheless, once I play again by audio, all I get is a few reasonably icky white noise results reasonably than the pure tone I used to be anticipating. This is the code I am utilizing to create the tone unit:

non-public func createToneUnit() throws {
    // Configure the search parameters to search out the default playback output unit
    var outputDesc = AudioComponentDescription()
    outputDesc.componentType = kAudioUnitType_Output
    outputDesc.componentSubType = kAudioUnitSubType_RemoteIO
    outputDesc.componentManufacturer = kAudioUnitManufacturer_Apple
    outputDesc.componentFlags = 0
    outputDesc.componentFlagsMask = 0
    
    // Get the default playback output unit
    guard let output = AudioComponentFindNext(nil, &outputDesc) else {
        throw AudioError.cannotFindOutput
    }
    
    // Create a brand new unit primarily based on this that we'll use for output
    var error = AudioComponentInstanceNew(output, &toneUnit)
    guard let toneUnit = toneUnit, error == noErr else {
        throw AudioError.cannotCreateComponent
    }
    
    // Set our tone rendering operate on the unit
    var callback = AURenderCallbackStruct()
    callback.inputProcRefCon = UnsafeMutableRawPointer(Unmanaged.passUnretained(self).toOpaque())
    callback.inputProc = {
        (userData, actionFlags, timeStamp, busNumber, frameCount, knowledge) -> OSStatus in
        let _self = Unmanaged.fromOpaque(userData).takeUnretainedValue()
        return _self.renderTone(actionFlags: actionFlags, timeStamp: timeStamp, busNumber: busNumber, frameCount: frameCount, knowledge: knowledge)
    }
    
    error = AudioUnitSetProperty(
        toneUnit,
        kAudioUnitProperty_SetRenderCallback,
        kAudioUnitScope_Input,
        0,
        &callback,
        UInt32(MemoryLayout.dimension(ofValue: callback))
    )
    
    guard error == noErr else {
        throw AudioError.cannotSetCallback
    }
            
    // Set the format to 32 bit, single channel, floating level, linear PCM
    var streamFormat = AudioStreamBasicDescription()
    streamFormat.mSampleRate = sampleRate
    streamFormat.mFormatID = kAudioFormatLinearPCM
    streamFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked
    streamFormat.mFramesPerPacket = 1
    streamFormat.mChannelsPerFrame = 1
    streamFormat.mBitsPerChannel = 16
    streamFormat.mBytesPerFrame = streamFormat.mChannelsPerFrame * streamFormat.mBitsPerChannel / 8
    streamFormat.mBytesPerPacket = streamFormat.mBytesPerFrame * streamFormat.mFramesPerPacket
    
    error = AudioUnitSetProperty(
        toneUnit,
        kAudioUnitProperty_StreamFormat,
        kAudioUnitScope_Input,
        0,
        &streamFormat,
        UInt32(MemoryLayout.dimension)
    )
    
    guard error == noErr else {
        throw AudioError.cannotSetStreamFormat
    }
}

And this is the render operate:

func renderTone(
    actionFlags: UnsafeMutablePointer,
    timeStamp: UnsafePointer,
    busNumber: UInt32,
    frameCount: UInt32,
    knowledge: UnsafeMutablePointer?
) -> OSStatus {
    // Get buffer
    let bufferList = UnsafeMutableAudioBufferListPointer(knowledge!)
    let increment = MainViewController.fullCycle * frequency / sampleRate
    
    // Generate samples
    for buffer in bufferList {
        for body in 0 ..< frameCount {
            if let audioData = buffer.mData?.assumingMemoryBound(to: Float64.self) {
                audioData[Int(frame)] = sin(theta) * amplitude
            }
            
            // Word: this is able to NOT work for a stereo output
            theta += increment
            whereas theta > MainViewController.fullCycle {
                theta -= MainViewController.fullCycle
            }
        }
    }
    
    return noErr;
}

Anybody see something clearly dangerous about this? I would actually a lot reasonably be utilizing Swift than Obj C however I am unable to discover a working instance of the right way to accomplish this, just some (admittedly helpful) partial examples about the right way to set issues up that do not truly carry out any tone rendering.