skysight-inc/HackerNews huggingface dataset:
Ask HN: PyTorch on AMD APU for laptops?
Hello,

Can anyone here run PyTorch on ROCm with an AMD APU on a laptop? If so, what is the brand/model of your laptop? How is the performance?

From a quick research online, it looks like this should be possible, but there are a lot of pitfalls.

See here: https://community.amd.com/t5/knowledge-base/amd-rocm-hardware-and-software-support-document/ta-p/489937

> The integrated GPUs in AMD APUs are not officially supported targets for ROCm.
As described [below](#limited-support), "Carrizo", "Bristol Ridge", and "Raven Ridge" APUs are enabled in our upstream drivers and the ROCm OpenCL runtime.

> However, they are not enabled in the HIP runtime, and may not work due to motherboard or OEM hardware limitations.

> As such, they are not yet officially supported targets for ROCm.

Also this discussion: https://github.com/RadeonOpenCompute/ROCm/issues/608

In summary, it is possible to use AMD APUs (at least the desktop versions) for machine learning with PyTorch and ROCm, but it needs a bios which is properly built, which apparently is hard to find…

I need a very portable solution to do ML with PyTorch, and small laptops with Ryzen APUs look like a good solution, but I’d like to make sure before I invest my money in that.
I don't believe I blamed the CEO specifically. I hinted at upper management for bad estimations which includes more than the C-suite.

Making promises you can't keep, or being wasteful or grossly overestimating your capacity to deliver is a sign of mismanagement.
Have you used any passthrough apps on VR headsets? I work on one and it's functionality is the same whether it runs on VR/passthrough or traditional AR hardware.
just because something's old doesn't mean it's bad
One .cc/.h pair, one object

Not always the case; I have a project with

default.o: default.yaml
$(LD) -r -b binary -o default.o default.yaml

and a default.h containing

extern const char _binary_default_yaml_start[];
extern const char _binary_default_yaml_end[];

#define PARAM_YAML _binary_default_yaml_start
#define PARAM_YAML_LEN (_binary_default_yaml_end - _binary_default_yaml_start)

this used in the main code as

fwrite(PARAM_YAML, 1, PARAM_YAML_LEN, stdout);

printing the contents of the yaml file to stdout.
Spare a thought in your enormous hatchback for those of us who can't even see through your back window to the road in front, as you tower over us: https://www.carsized.com/en/cars/compare/lotus-elise-2011-ro... ;-)
As I commented elsewhere, Q4 earnings report is in two weeks. The last two were poor and the trend wasn't looking good. I expect this is happening in part because Q4's is going to look even worse.
I held one Christmas party and attended one Christmas party.

In both cases, the number of guests were very few, all guests had left before midnight, and the amount of drinking wa modest. People with kids left earlier, and every couple had one designated driver who didn't think they were missing out on drinking anyways.

As an adult, if I want more of an intense party experience, I have to go clubbing.

I just don't have drinking friends any more, and I don't drink anymore.
I mostly agree with you, but be careful how often you apply this logic. People who are not already a target can be just as useful, for example when needing to frame someone else for a crime. I mean, who'd care about nicoburns if they disappeared, right?
> There needs to be the component of combining the normal and virtual worlds. Camera pass through is just an ease of use feature.

Passthrough can be overlaid with synthetic elements:

https://developer.oculus.com/blog/mixed-reality-with-passthr...

There's entire apps based around this feature and has been for quite a while (Google Daydream introduced an API before it's demise)
overpaying makes sense, over-hiring makes sense.

for two comparable companies, with comparable products look at Asana vs Basecamp.

How much does Basecamp pay for a senior engineer ? they pay top end of SF salary regardless of location. However, you can best that Asana is paying at least 1.5x what Basecamp pays + RSU's etc.

Yet Basecamp is printing money and yet Asana is bleeding money.

How many engineers does Basecamp have ? How many does Asana have ?

so yeah the concept of overpaying and over-hiring exists and not just a fallacy.

if it was market driven, then the laws of the market would dictate Asana not to pay a premium over Basecamp for talent.
Even if you don't know the economy will slow down, the uncertainty alone will still make companies extra careful.

Where a lot of IT budgets were only guidelines, they are becoming rules now. Layoffs send a message internally and externally about it. Any reasonably sized company will have people who aren't really contributing anything, this is just an opportune moment to cut some of them and avoid the backlash since "everyone else is doing it".
This leaves only Apple as a tech giant that has not announced layoffs yet. I wonder if they are going to follow this "trend".
The sets intersect, partially at least.

Would make for an interesting Venn diagram.

Edit: https://wikispooks.com/wiki/WEF
Electricitymaps uses ipcc2014 which was a retrospective at the time and not about new generation and refers to technology over a decade old.

Please cite one of those 'credible sources' that verifiably refers to something current like a 160 micron bifacial PERC cell based panel at median capacity factor of 18% (or a realistic near future value like 16%) using up to date processes for polysilicon processes and an up to date energy mix from the place of production (even xinjiang or lower mongolia is significantly lower than it was in 2014) and concludes that emissions are higher than a nuclear reactor based on new mining (rather than a combination of ranger and cigar lake).

There is probably a good chance a new ISL mine with solar powered pumps, leeching solution, and electric vehicles followed by centrifuge enrichment then burnt in an APR could come in under wind, but no chance it will come in under new solar -- especially if that solar is produced in new facilities outside of north-western China.

It also doesn't matter because the magnitude is so much lower than delaying decarbonization by 6 months and they all close the loop via electrification.
Tim Cook did this explicitly, while Jassy’s comp (99.999% RSU) had it managed for him by Wall Street.
An open forum like Hacker News is taken care of such that opinions that go against the narrative on sensible topics like: covid, elections, inflation, crypto get massive downvotes and even more, there are task-forces that handle discussion and form opinion to give impression that a majority of people are woke :)
Worst choice ever all it makes is for 1 second of being able to read it then it goes all blurry and not to mention I have to put it on full screen width everytime.
I don't see how this would be that useful. If you are learning a foreign language, you already know what you want to say, but not how to say it in the new language.

Syntax doesn't really matter after programming for more than a year, as the important part is how to solve a problem, and not how to write down that solution.
I pretty much lived like nothing happened. I packed my bag to change countries a couple time to avoid most restrictions.

I did not change my lifestyle a bit. I love spending time inside my house 90% of the time.

I go out a couple time a day for a long walk with a book, hit the gym or meet someone.

I think it's been a year since I checked the situation with Covid, I have no idea if it's still ongoing or if people are wearing masks out of habits.
Since Google employees don't do any revenue-generating work, an AI doesn't need any skills in order to also not do any of that.
Libble – User Manuals Repository
They are designed for that https://diy.stackexchange.com/questions/21685/does-turning-c...

But I agree some organizations will prohibit staff from touching the breakers.
>I'm not sure how intentionally[1] opting into an agreement to have your thermostat remotely controlled is an argument against having it connected to the internet.

???

I think you immediately followed that up with more than one answer to that?
It means he will pay severance, benefits for months even after the people are gone.

It’s just that people are so used to this entitlement that they overlook it by default.
Yep, that is common OS speak.
>building nuclear is not competitive

It clearly is, if France is selling nuclear power to the rest of Europe.
The two elements of "smart" are often combined, but there's no need to have both.

There's remote control, which is one thing. My Honeywell system can do that, but even if I don't connect it to the WiFi (and earlier versions required extra hardware) it'll still do smart local control. I lose weather compensation in that case, though, as it uses a remote forecast to predict future demand and not bother turning the heating on if it's not actually going to be needed.

The more important aspect of "smart" heating is proportional control and predictive heating. As you say, regular thermostats will turn the heating on when the temperature is below the set point, then off when it's above, with some hysteresis to avoid flapping. And one function of the smart system is to predict how early it needs to turn the heating on to get up to temperature in time. The Honeywell will also switch the heating off early if it's confident the temperature will drop by less than 0.5°C before the end of the set time.

Beyond that, though, the controller will modulate the boiler to maintain the set point -- heating systems term this "TPI", I assume it's not a PID controller because it lacks the derivative component. Time Proportional and Integral either (in my old house) controls the boiler modulation directly or (in my new house) turns it on for a few minutes in every time slice in an attempt to get the right amount of heat into the system to maintain the set point.

Where a system like the Honeywell really shines though is that I'm not turning the whole house on or off -- I've smart TRVs on each radiator, so I can have heat in my office during the day and in the lounge in the evening and not have to keep rooms warm when I'm not using them. Having recently moved house and consequently had a few weeks without the smart system I can attest that it really does make a big difference.
Guess that means Apple layoffs are next
There are loads of examples of smart lighting systems that are more efficient than a light switch. You didn't notice them, because the lighting was doing exactly what you expected it to. You only notice the instances where the system is badly calibrated or had a poor control system and it annoyed you.

For me that's basically the definition of good automation. If its really good you don't engage with it at all. The lights come on when people want lights, they turn off or dim when they want less light. The heating keeps things at a comfortable temperature. The unfortunate thing is that a bunch of vendors have come along and because its easier rebranded "automation" to mean "awkward light switch which requires having a conversation with a computer".
The linked student article covers that.

Gaining access to the software that runs the lights is one of the main reasons why the lights can’t be adjusted correctly. “[5th Light] no longer has any of that information. They don’t have the software,” Cenedella said.

“The old information is proprietary, so they wouldn’t originally give it to us. Now, they say that they don’t have it and that it’s unavailable."

https://minnechaugsmokesignal.com/1894/news/whats-wrong-with...
Circuit breakers are not designed for many cycles.
Um, you could look at something like Matrix possibly?

https://matrix.org/

Your question doesn't really make your goal clear. What are you trying to do exactly?
Couldn’t you make the same argument about fiat currency? Both in regular finance and in defi there exist funds that do high stakes gambles with other people’s money.
Discord, telegram. Maximizing the information pipe is no longer the problem, it’s filtering it properly. /r/all is sometimes fun but often too broad and shallow
I don't understand some of the comments here, maybe someone can explain.

Does a company need to have an excuse to let people go? Is there a right to stay employed? As far as I am aware working for a company is not a life-long situation.

And further - why don't we invert it and praise these companies for supplying thousands of six figure jobs for years. Surely being employed for several years is better than never being hired at all?
> Why is it not something simpler, like P(bomb exploding in a year) ^ 100 ?

That would be "bomb exploding EVERY year (= this year AND next year AND ...)".

What we actually want is "bomb exploding this year OR bomb exploding next year OR bomb exploding this year and next year OR bomb exploding in two years OR ...". But that's too complicated, so we use the trick with 1 - P(bomb not exploding in a century).
I realise you're joking, but no, not without the year.

It's not even standard for the US! Did they decide "/" wasn't Apple-y enough so they had to use "."?
Channelling my inner HR drone here, but I've heard that all at different times from them when looking for talent:

Because why would you linger around in university if you can have a serious income ten years earlier? Obviously something must be "wrong" with you, something that would make you a complicated employee that just asks for creating trouble. Better hire a CS bachelor for a third of what you would ask (risking you'd run as soon as you get some offer more to your liking), not like we're doing any revolutionary bleeding-edge stuff anyways.
Agreed 100% with this.

Plus many took advantage of this "chaos" to get rid of products they don't want to do anymore - my company did the same. It had very little to do with the global recession etc.
> I wonder if it will affect their longterm attraction as employers.

As long as they pay well, I don't think it will. And it's not like alternatives are safer.
I keep getting reminded of that scene from the movie Margin Call about the 2008 financial crisis (great movie by the way):

There are three ways to make a living in this business: be first; be smarter; or cheat. Now, I don't cheat. And although I like to think we have some pretty smart people in this building, it sure is a hell of a lot easier to just be first.

The recession might not be here yet, but it’s a lot easier to reduce costs before it hits.
If the average cost of those employees is 150k usd, then it's 1.8 billion. I imagine it's probably much higher than 150k depending on how many were US based engineers. If they make 55ish billion this year, I think it makes a pretty decent impact.

I 100% support siphoning as much money as possible while doing as little work as possible (a.k.a coasting). However, from a capitalist perspective, it makes sense to try to weed those people out. Gone are the days of a 26 year old making as much as a neurosurgeon while working 20 hours a week.
Is it not? Yes we have 2 eyes, but if you watch TV you can process depth from various cues. Whereas if you're driving in fog and all you can see is headlights ahead, it's difficult to judge distance because you don't have those cues.

I suspect 2d only scanners is a symptom of a deeper problem. It's essentially (premature) optimision for an unsolved problem. And they're underestimating the problem. How long is it before a car can read the cues of a pedestrian that may or may not be about to cross the road without looking, or a dog or a teenager. Has that car stopped because there's something blocking the way, or have they just pulled over without indicating? Is the person just ahead that is driving unusually about to pull into your lane? The long tail of edge cases is just impossibly long.
So, that would make at least 5'000 years during which (at least at one end of the distribution) the returns to studying violence were greater on average than the returns to shepherding capital?
Haha yes, and Kubernetes is the guy who drives ships.
Enter the new matrix of app creation ! Lenra is an open source framework to create your app using any language, and deploy it without any Ops scale, built on ethical values. Show your support !
There's no notes field for contacts on the Instagram app.
Quora does a pretty good job of disrupting itself...
It's an over-compensation for the earlier responses that blamed things on "unforeseeable market conditions" or something in a "we did everything perfectly and this is just the way the world is" kind of excuse.

It doesn't really help the people who are out of a job, but I think it's a nice gesture at least to say "this one is on us, we'll reflect on what went wrong and try to do things differently next time" even though I have around 0 faith that any of these leaders would hire less in another Covid-like scenario where funding was cheap and demand for their services was growing.
> “I would say the net impact is in the thousands of dollars per month on average, but not in the tens of thousands,” Osborne said.

> “After many weeks of effort, we were provided a rough estimate in excess of $1.2 Million to comparably replace the entire system,” Osborne and Provost wrote in an Aug. 26, 2022, response.

Let's say $3,000 per month, so 1,200,000/3,000 = 400 months = 33 years

> The original high school building, which dates back to 1959, was replaced with the current 248,000-square foot structure in 2012.

So the current system has only 10 years.
I've been really enjoying the Hacked podcast for about a year now. It's quite similar to Darknet Diaries but episodes are typically shorter and they seem to be branching out a bit more past just security. They don't seem to have a website so here are some of the useful links:

* https://twitter.com/hackedpodcast

* https://open.spotify.com/show/21zZfOy7VCSIIWlJ64DElv?si=f1ad...

* https://podcasts.apple.com/us/podcast/hacked/id1049420219
Okay, but why would these companies secretly know something that the rest of us doesn‘t? Maybe they are preparing, but it doesn’t tell us more about whether that‘s justified or not.
My understanding is anything more than stereoscopic vision, like lidar, will fail in many conditions like snow/rain so you might as well never rely it.

The fact that we can do it with just vision means the computer vision should be able to as well, ideally better.
On OpenBSD all static system binaries are compiled as static PIE, so they already benefit from ASLR. The issue, IIUC, is that ASLR only randomizes entire ELF sections relative to each other. In any executable or library, whether static or dynamic, the code is placed into one giant .text section, so the relative offsets remain static. In a dynamic executable all library dependencies are loaded separately, so at least each section of each library gets a unique base address. A leak that exposes the address of a function only leaks the address of other functions in that library, not every function in the process. But in a static executable all those libraries are also placed into the same .text section as the main program code, so a leak of any function address leaks all function addresses.

In theory all functions, or more realistically groups of functions spanning page-size increments, could be dynamically located. The obvious way to achieve that would be to have multiple .text sections within a main executable or library. But off-hand I don't know if that's actually supported by ELF, or if so whether the standard tool chains and environments could easily support it.
This is an opportunity to flood the market with unemployed and reset salaries. They just needed the excuse: another company doing it first.
It works for other things as well. I needed to create a „customer portal“ web application for a product I’m working on, and kept postponing it, because I don’t enjoy working on it. The pressure to have it functional became so great that I literally committed a generic dashboard template with just a couple text changes, truly ugly, vomit-style stuff. But it helped me overcome my blockade and start working on it in earnest (and actually enjoying it!).
This is such a strange complaint. I don't know half the things on HN, so I just ignore them and read the articles on topics I do know and care about.

If you don't know what Genesis is, you could have simply ignored the 20 odd pixels of vertical space this headline occupies, and moved on.

Apologies if I'm being brusque.
This is the right attitude. Other higher-voted threads trying to shame the company/CEO etc. are only depressing to see.
it does not only break your bookmarklet, but even vimium [1] is unable to focus the language selection. this is awful.

[1] https://github.com/gdh1995/vimium-c
Actually there is a way, but instead of enabling SMS you have to enable U2F first, then it will allow you to turn on TOTP. If you don't have a U2F-capable device then you can use a program like softu2f that emulates one on your computer, even if it's just temporary in order to get TOTP turned on.
I very like this one. We could be using zooming UI now if it had two joysticks: one for scroll, one for zooms (view and text or distance and perspective); three had the keyboard (one for cursor) - and what about one more (not on the mouse) for 'rotation', mean 4 2D analogues as default ?
The second bullet point under the title of this article is

“Customers said they had unknowingly agreed to let companies raise the temperature to save energy.”

If your position is that you could never mistakenly click the wrong button or check the wrong box, how is it possible that you could ever be so careless as to not accurately predict your temperature needs?
Not worried about AI that passes Turing test, but AI that fails it on purpose
I can't remember where I got this from but for the last 35 years, my go-to trick for when I don't know what to write has been writing "I don't know what to write and" and then the rest of it just pours out of my mind and onto the sheet/file.
Again, pointing at one person doing something is profoundly weak evidence. Even a big player. The UK sold most of its gold reserves in 2000 and in hindsight looks rather silly.

One person is not the market, is certainly not a signal that the market is doing anything in particular. Figuring out the big picture by examining random stories is emotionally satisfying and not very clever. This is a good topic to argue about using aggregates and statistics. Not Twitter threads about ... things that really are predictable from the macroeconomic state of things. There are going to be bankruptcies or spectacles this year based on interest rates alone.
> Nobody is retiring - why would you

Turnover rates in these companies are pretty high! Surprisingly many employees leave after 1-2 years.
I don't get the panic mode some folks here seem to fall into pretty quickly, probably young/junior ones. Numbers alone do seem scary, but then you 1) put it into global count perspective, we never so far go above few % which ie in banking is simply a no-story, usual yearly culls, every effin' year, sometimes more than once. And 2) all of these greedy companies over-hired massively during covid (and we talk about tens of thousands of hires per giant), so now are shockingly trimming that swing that ended up differently than they wrongly predicted (thank god for that).

Once we will see trims going into 30% territory we can have a story. Now of course its pretty crappy if you are one of those affected, ie those 5%. If we are going to see serious employment issues in IT this is not yet it (and I see few reasons for that personally, but what do I know...)
> 858705 comparison combinations

So 1311 cars in their database.
Okay, but that's not a reason to jump to the conclusion of bad citation practices.
Oh ok, that's quite a bit smaller than I thought. Thanks.
>It can be a good way to get the low performers out

It can if individual performance is considered in who gets the axe in mass layoffs. From my understanding, individual performance usually isn't a huge factor in who's laid off.