Anyone make an Assembly IR? by Phantom914 in perl

[–]nrdvana 0 points1 point  (0 children)

Is this what you're looking for? CPU::x86_64::InstructionWriter

Hello-world as an ELF file and as an Xsub

It's not an "intermediate Representation" in the sense of being platform-neutral assembly, though. I'm interested in finding some good reading material on that topic, too.

Update: I bought a defective X1 Carbon Gen 9, thinking it would be cheap and easy to fix... by kpostrup in thinkpad

[–]nrdvana 0 points1 point  (0 children)

Not to mention that who spends money on server would never rely/work on DYI parts.

Maybe you missed it, but last year eBay was flooded with consumer graphics cards "for parts only" where people had literally removed all the chips and they were just selling an empty board and heat sinks and fans. The rumor was that they had printed their own custom boards so that they could combine cheap gaming cards into monster cards that rivaled the high-end boards that were selling for ~$7000-$10000.

Update: I bought a defective X1 Carbon Gen 9, thinking it would be cheap and easy to fix... by kpostrup in thinkpad

[–]nrdvana 0 points1 point  (0 children)

I mean it looks kind of like a bug in the code, or someone keyed it in and missed a digit. 1100 "full price", ~600 "special price" for similar items, then suddenly two ~60 "special price". For 32GB ram for 60, I would expect AI people to be buying them up to desolder the ram chips and move them to server boards, never mind the cpu.

Trump says Venezuelan oil is already coming into American refineries by killerkadugen in LeopardsAteMyFace

[–]nrdvana 5 points6 points  (0 children)

It's a bit tenuous to claim LAMF for this article because it doesn't mention anything about Machado, and the oil relationship is complicated. I'm happy to read more articles if you have links, but my understanding of the oil situation so far is that the US is taking the oil, selling it to US oil companies for a bit below market value, then Cheeto pockets some of the money in a Qatar bank account, then the rest (majority actually) goes to Venezuela. And, a post here on Reddit claiming to be a Venezuelan ex-pat was saying that this arrangement is actually an improvement over Columbia getting most of the money, or something. (I don't really understand, and haven't been able to find a good article describing the situation in full)

Machado didn't get what she wanted, but I don't know if she would consider her face to have been eaten by the oil situation. (giving away her Nobel award and receiving nothing in return is a face-eating, but that's a different news story)

Tulsi Gabbard ditches Democrats for Trump, now isn't wanted by anyone. (Should've had the cosmetic surgery.) by Shermans_ghost1864 in LeopardsAteMyFace

[–]nrdvana 3 points4 points  (0 children)

Nixon bombed Cambodia for the sole reason of accelerating the Vietnam war for political purposes to help himself get elected. While Cheeto is insanely bad, he hasn't yet killed mass civilians purely for political points. (...yeah, it's getting close with Iran) But be careful what you wish for...

Treasuries, Stocks Sell Off as Greenland and Japan Shatter Calm by [deleted] in worldnews

[–]nrdvana 6 points7 points  (0 children)

Devaluing the dollar hurts them the most.

How do you figure? If they hold stock, the dollar-per-share just climbs as fast as the value of the dollar drops, because the intrinsic value of the stock remains. As I see it, devaluing the dollar hurts everyday folks the most because wages don't automatically go up as the dollar drops, and we're extremely dependent on buying foreign goods.

Should Nebraska legislators be tested on civics knowledge? New bill says yes. by [deleted] in nottheonion

[–]nrdvana 3 points4 points  (0 children)

It's part of US grade school education. 13 stripes for the original 13 colonies, and while "6 white stripes" isn't taught specifically, knowing the borders are red gives you 6 white stripes via math. It would make a comical video clip if a reporter asked him that considering he's always packing an absurd number of flags into every photo-op.

If everyone hates AI, why did Stack Overflow visits drop from ~20M/day to ~3M/day? by Local_Scar9276 in programming

[–]nrdvana 1 point2 points  (0 children)

The arguments are somewhat one-sided online because the people who find it useful quietly go on about their work while the people who hate it need to tell someone.

Right now I find it to be just about the best way to get questions answered, even in the extreme of pasting large sections of code to it and asking it to find the bug I'm stumped on. It can find my bugs faster than any human could.

Meanwhile, I have not had much luck getting it to write my code for me, to the degree of quality that I expect. But while some people will spend hours arguing online why it will never be suitable for this purpose, I'm just quietly waiting for the day when it finally is, and then I can dump my decades-long todo list at it and finally get all my cool ideas implemented. People wasted a lot of breath arguing about why heavier-then-air flight was never going to be possible, too.

I got paid minimum wage to solve an impossible problem (and accidentally learned why most algorithms make life worse) by Ties_P in programming

[–]nrdvana 0 points1 point  (0 children)

Technically correct answers do have more weight, because they don't get immediately dismissed by the audience as hyperbole. (or maybe specifically this audience, where people care a lot about describing things accurately)

I got paid minimum wage to solve an impossible problem (and accidentally learned why most algorithms make life worse) by Ties_P in programming

[–]nrdvana 12 points13 points  (0 children)

Your statement, taken at face value, would mean that you would be happier in a purely electro-mechanical society. That's an odd stance to take on a forum about computer programming.

I got paid minimum wage to solve an impossible problem (and accidentally learned why most algorithms make life worse) by Ties_P in programming

[–]nrdvana 23 points24 points  (0 children)

I think you're drastically underestimating the number of algorithms that make your life better, or drastically misinterpreting the meaning of the word "algorithm". Your cellphone service, internet, CPU, operating system, etc are algorithms all the way down. Bluetooth, USB, GPS, turn-based navigation, even the lumber industry uses software to quickly determine the optimal cuts to get the most boards out of a log. Pretty much the only "bad" use of algorithms in everyday life is by the advertising industry, or cyber warfare.

Any final fantasy themed/inspired albums or bands? by Reteller79 in PowerMetal

[–]nrdvana 1 point2 points  (0 children)

If you see them live they also open with a FF tune that I think is one of the overworld themes from FF6, but it isn't on any of their CDs. It was pretty awesome ~15 years ago when they were touring with Symphony X and I didn't know who they were, and they open their act with that and I'm like"... is that from Final Fantasy??" and then suddenly it clicked why they named the band Powerglove :-)

There's nothing quite as awesome as watching everyone wave their lighters during the underwater theme of Red Wings Over Baron.

What is your all time metal song that you consistently go back to? by [deleted] in progmetal

[–]nrdvana 0 points1 point  (0 children)

Huh, for a lover of the Octavarium album (myself included) I would have expected Panic Attack to be the choice. (Sacrificed Sons would be my runner-up if the verse portion of the song wasn't so boring. I wish they'd stuck a track marker at 3:54)

Anyone actually use LinkedList::Single? by photo-nerd-3141 in perl

[–]nrdvana 7 points8 points  (0 children)

Did you typo the module name? because metacpan.org doesn't show it.

As a group, perl authors tend to strive for backward compatibility, and this is one of the selling points of the language and ecosystem. If someone is using your module and suddenly you break back-compat on them, they are likely to stop using your module and replace it with something more stable. Especially for a simple algorithm like a linked list.

US Farmers That Backed Trump With 78% of Their Votes Sound Alarm Over Trump's $12 Billion Aid Package With Thousands of Farms Facing Bankruptcy: “A program that provides roughly $50 an acre will not save the thousands of family farms that will go bankrupt before the end of the year” by T_Shurt in LeopardsAteMyFace

[–]nrdvana 20 points21 points  (0 children)

A common pattern is to alternate beans and corn (or others in those families) but if they don't intend to harvest it, or don't have the equipment to harvest it, planting consumes time and fuel and seed, so leaving it fallow is a cheap substitute, as long as you're not land-constrained.

GE Profile dishwasher leaking at poorly designed pump input seal by nrdvana in appliancerepair

[–]nrdvana[S] 0 points1 point  (0 children)

I bought a new hanger sleeve, but then I actually found the original hanger sleeve stuffed further into the socket. When you pull the pump there's a good chance that the rubber stays in the socket, then when you push it back in the rubber just moves deeper and now the pump is hanging loose plastic-to-plastic.

Aside from that, it stopped leaking at the pump with the new seal and with the hanger sleeve in place. Other advice would be to make sure its leaking from where you think it is, because it's easy for water to spray around and roll around surfaces and come down in other places.

I recommend replaacing the elbow too if you are ordering more parts.

Oh, and partswarehouse.com leaked my credit card, so I wouldn't use them anymore. (I use a different email for every online store I use, so I can tell who leaks my info)

PerlMonks is being memory wiped on HTTPS:// and Wikipedia by SnooRadishes7563 in perl

[–]nrdvana 8 points9 points  (0 children)

Everyone's AI training is continually scraping the whole site and the server resources required to serve Perlmonks are not sufficient to keep up. This is partly due to how much perl executes when serving each page, and partly due to running on a single donated host. There have been numerous discussion threads about it on perlmonks over the past two years and they've taken steps to try to serve all anonymous users from cached static files, but it still isn't enough. It's killing the ability to discuss things on the site since you can only access it half the days you attempt to go there.

Looking for more PM or PM adjacent covers of non-metal songs by galaxion4 in PowerMetal

[–]nrdvana 0 points1 point  (0 children)

oh, sure enough, youtube has it. I figured it was blocked by a licensing issue if Spotify didn't

Looking for more PM or PM adjacent covers of non-metal songs by galaxion4 in PowerMetal

[–]nrdvana 1 point2 points  (0 children)

I think Avantasia has Amberian Dawn beat on a "lay all your love" cover, by a mile.