skysight-inc/HackerNews huggingface dataset:
Have a project that requires multiple versions of terraform? what? you don't want to...

clone the terraform source repo

~ git remote -v
origin https://github.com/hashicorp/terraform.git (fetch)
origin https://github.com/hashicorp/terraform.git (push)

check out the tag you want

~ git tag | tail -1
v1.1.5
~ git checkout v1.1.5
Previous HEAD position was 516295951 Release v1.1.4
HEAD is now at fe2ddc22a Release v1.1.5

compile/install the binary in a local bin dirctory,

~ go build
go: downloading github.com/aws/aws-sdk-go v1.42.35
~ install terraform ~/bin/terraform-v1.1.5
~ ls ~/bin/terraform\*
/home/matt/bin/terraform /home/matt/bin/terraform-v0.13.7 /home/matt/bin/terraform-v1.1.4
/home/matt/bin/terraform-v0.13.4 /home/matt/bin/terraform-v0.14.9 /home/matt/bin/terraform-v1.1.5

then manage a series of brittle aliases to disptach the proper version?

~ which terraform
terraform () {
binary=terraform
if [[ $1 == "v"\* ]] && [[ $1 != "validate" ]]
then
version=$1
shift
binary="$binary-$version"
[ -f ~/bin/$binary ] || bail 1 "missing binary $binary" || return 1
else
binary=/usr/bin/$binary
fi
dispatch --name terraform --scope --slice compilers.slice -c 35 -mh 2048M -mm 2048M -s 1M --binary $binary
"$@"
}

(dispatch just runs things with memory and cpu limits)

~ which dispatch
dispatch () {
if [[ $USER == "root" ]]
then
command "$binary" "$@"
return $?
fi
declare args=(--user --same-dir -p IOAccounting=yes -p MemoryAccounting=yes -p TasksAccounting=yes)
while (($#))
do
case "$1" in
(-c) args+="-p"
args+="CPUWeight=$2"
shift 2 ;;
(-mm) args+="-p"
args+="MemoryMax=$2"
shift 2 ;;
(-mh) args+="-p"
args+="MemoryHigh=$2"
shift 2 ;;
(-s) args+="-p"
args+="MemorySwapMax=$2"
shift 2 ;;
(--scope) args+=--scope
shift ;;
(--slice) args+="--slice=$2"
shift 2 ;;
(--name) name=$1
shift 2 ;;
(-P) args+=-P
shift ;;
(--binary) [ -z "$name" ] || name=$2
binary="$2"
shift ;;
(*) break ;;
esac
done
systemd-run $args "$@" 2> >(>&2 grep -vE 'Running.*as unit:')
}

and of course, then you'd need a shitty little script to call your alias when other tools decide they want to call terraform

~ cat ~/bin/terraform
#!/usr/bin/env zsh
source ~/.zshrc >/dev/null 2>/dev/null || exit 1
terraform $@

Because that would be silly and dumb, and I totally don't do that for everything.

Don't even get me started on virtualenvs.
> This is a strange program of [obscure provenance] ... that somehow, still manages to survive in the 21st century.

Perhaps it "survives" because people have been using it for decades for specific tasks for which it still still works just fine. Just because there are other ways to achieve the same results for some of the tool's use cases doesn't mean that said tool should be done away with. If you don't like it no one is forcing you to use it, and calling those who still use dd "The Cult of Dd" is just ridiculous, in my opinion.
I haven't ever needed flakes myself, but I guess this was sarcasm as it's nix eitherway :)
Ironic because it only took a "consumer luxury brand" company 5-10 years to "find a solution" by making their own chip that runs circles around the top name brand CPU at a fraction of wattage? "If you're so unhappy why don't you try it?" may be a less popular rejoinder from future monopolists like Intel.*

Meanwhile, how many assemblies of PC components in the shape of a laptop get a unique part number each year? Surely someone knows how to meld kit into a SKU and make sure important bits have drivers for the OSes you market.

* If Apple starts grumbling about your chips, check your calendar. Not long till your lunch is gone. Every time.
Dating apps are tailored to people in the top X% of attractiveness. Don't take it personally. Most people aren't successful on them, even the ones who get a lot of matches.
Precisely. This is the kind of legislation that benefits all the residents of a state.

Subscription predation is poorly regulated. Starting with cars seems like an obvious target.
For one, dd is a hell of a lot less esoteric than what this blogger is suggesting
I keep hearing the argument that it’s a waste to prefetch assets that might not get used.

Yet, is it ok that so many web developers use bloated JS libraries that causes websites to be multiple MBs in size when it could easily only be 10s of KB?

How is that not a bigger waste?
since when did dd need a block size?
Exactly! Hashcash was proposed in 1997: https://en.m.wikipedia.org/wiki/Hashcash similar mechanics for a different use case
Maybe trusting OP's lived experience is the best path here. This is the kind of thing that someone is only going to conclude for themselves. So I don't think you're doing anyone any favors by saying/asking something like this.
Mescaline is a substituted amphetamine just like MDMA. As is the antidepressant buproprion (Wellbutrin). And a variety of very strong hallucinogens.
When we reach the AGI singularity we can model the light cone in reverse and bring back everyone we ever lost in high fidelity. Not just shadows of singular moments in time, but fully restored high resolution memories sampled throughout an entire person's life.

The good: It's possible to outdo religion and bring back everyone. No believing in this or that. No strings attached. The good people, the bad people, everyone. Maybe even pets. Living in a simulated eternity with infinite freedom until the end of the universe.

The bad: A bad agent might bring back everyone and torture them forever. No death, only pain. It would know exactly how to maximize suffering.

The wat: Maybe that's what we're experiencing right now.
Oh, that's exactly what I wanted, yes.
I read the title as Cult of the Dead Cow and had a flashback to my misspent youth.
Personal anecdote, i heard this as well, but after trying it, its very clear that it has positive results on my anxiety, not only physical (shaky hands...) but mental as well
Deploy Your Own Decentralized Exchange Using Uniswap V2
Hey thanks for letting me know! I did add a few fields that weren’t directly searched on, because I wanted to be a bit more fair across other search engines (postgres is holding the whole document and the indexes).

I’m going to change the configuration and see how that goes.

One thing I’d love help with (that would make an awesome recipe section for your docs site) are the best practices around bulk insertion! I couldn’t tell if there was an actual benefit to using addDocuments() vs addDocumentsInBatches().
I've ran the following prompt on all the models to compare them:
> Q: ( False or not False or False ) is? A: Let's think step by step

Small:
> False

Base:
> False or False is a satire of the term False

Large:
> False or not False or False is a verb. The verb

XL:
> The correct answer is False or not False or False.

XXL:
Model loads forever
a shell is what you type your commands into. a shell interprets those commands, pipes between them, and to and from file handles, and acts as the interface between the human and the things they want to do.

bash is FAR slower than PowerShell, and it's interpreted.
A great article about them: https://www.seriouseats.com/the-nasty-bits-gingko-nuts
> Similarly, whenever a laptop is advertised by its manufacturer as "linux compatible" or "linux certified", it is their job to ensure that linux actually works out of the box.

I disagree, given that there are a bajillion different Linux distros.

To be clear, if Framework shipped a version of their laptop with Linux pre-installed, that to me would say they have tested everything together with that version of Linux, and I would expect it all to work, and if it didn't I would call up Framework.

But (at least looking at their website right now), Framework only offers a "bring your own OS" version for Linux. The answer to the "Can I install Linux?" FAQ says "Yes! We have installation guides for Fedora, Ubuntu, Mint, Manjaro, and Pop!_OS. In the Framework Community, there are even more community-edited setup guides for additional Linux distributions." Perhaps I'm just jaded by all my experience over the years installing Linux on my own, but I'm never surprised when there are driver issues, etc. when I'm installing OS on hardware where it wasn't pre-installed.
Thanks for this. The subject is way out of my wheelhouse, but I enjoy clinging to the coattails of explorers of worlds I don't understand.
bash, zsh, ksh, etc., those aren't shells for Windows, though, are they?
I'll stick with Pleroma, I'm not thrilled with the idea of a "Twitter-Killer" associated with the same man who made Twitter.
It may not be good for the person in the malicious jurisdiction, but the idea is that the team members in the other jurisdictions can route around them if they start acting suspiciously.

What that means in practice differs from project to project, but some good examples would be a software project where the main developers want to sign a release as being official (i.e. not having a backdoor mandated by any individual government), or a team of people who can decide when (and to whom) to reveal some whistleblower's information (without the danger of a secret warrant compelling unwanted disclosure).
Check out OpenFPGA and RapidSilicon
To add to that, there are a number of options for deploying hugo sites easily. https://gohugo.io/categories/hosting-and-deployment
Yes. Just fill out a form selling your house to Tokenized Blockchain Corp. and have Tokenized Blockchain Corp. manage it based on the blockchain.
Everytime I delve into PAM I can't help but think it's carrying a ton of legacy tech debt. It seems like it tries to support a lot of things out of the box that may not be relevant these days, like mail and limits. The modules themselves are littered with arcane options, and the entire thing is just this commented mess of inheritance and options that most users will just use to compare a hash in a file. On a basic debian install, there's around 455 lines of configs in /etc/pam.d!

Maybe systemd will streamline it someday.
I am somewhat saddened to ascertain that most of this project is still rather somewhat under corporate twitter control. Oh boo.

I've spent less than an hour reviewing atproto. So far it has passed my sniff tests; seems legit decentralizing. But there's definitely room for gotchas I havent seen yet.

Thanks for detailing where the powers lie. So far, I'm still willing to attribute great intent & purpose. But it's important to consider, to know influences. Your post is much appreciated, evem if, for now, I believe it all, ascribe- hestinatly- to this system.
TLDR: works worse than a Thinkpad T43 with Ubuntu in 2009… :-(
Thousands of GitHub repositories deliver fake PoC exploits with malware
I second this. It definitely has some issues and I wouldn't recommend it just yet for people that aren't willing to tinker with it but at least you can tinker with it and I haven't had a problem yet that I don't think a reasonably competent user couldn't find a workaround for.

If that's not your jam, then you should probably wait a bit. I really hope framework is able to get things sorted out so it can be more mainstream but for that to happen, they need early adopters.

If you don't mind a bit of tinkering (I've spent maybe 2-3 hours in the 2 months I've owned mine), don't be scared. Before getting mine, I read some stories and was really worried I'd be in over my head and end up regretting a $1400 purchase but as of right now, I'm really thrilled with it.

Quick edit: I have a 12th gen if it matters
Seeking a file descriptor is a basic, useful operation, and dd is the only POSIX tool that can seek an fd without actually paying the read / write costs.

Suppose you have 2 hours of UHD RGBA32 video, and need 5 minutes of footage from the halfway mark:

dd if=in.raw bs=$(( 3840 * 2160 * 4 * 24 )) skip=3600 count=300 | ffmpeg ...

This will be a lot faster than pointlessly catting the first 3 terabytes!

Here's a variation. Suppose the video file has a 1M header you need to skip:

{ dd bs=1M skip=1 count=0; dd bs=796262400 skip=3600 count=300; } < in.raw | ffmpeg ...

The first dd invocation does nothing more than seek stdin ahead 1M, so the second can operate on full 1 second chunks of video. Useful!

Now, are there Uncalled For Uses of dd, just like there are Useless Uses of cat? You bet.
So putting it simply, it’s wasmtime with a “wasm-hub”, stapled onto docker?

And I guess dockerfile can serve as a wasm-playlist for stuffing a whole bunch of them in one container? Call it wasm-spotify
I used to think that failing to recycle plastic was fine, because plastic in landfills is carbon sequestered. If not made into plastic, that same carbon would be burned and enter the atmosphere.

Then I found out that, for each carbon bound up in a piece of plastic, a half-dozen are released to the atmosphere in doing that. Thus, for each bit of plastic not recycled, so much more is made from scratch, and that much more CO2 enters the atmosphere. (Presumably, recycling involves energetic processing, but less.) In the future, when the energy used in processing comes more from renewables, will balances shift?

Shale oil, by the way, is equally evil. For each carbon extracted and delivered, four or five are burnt in extracting it.
We have been secretly, yet proudly drawing our members on stone walls since the dawn of time.

In Centralia, PA there use to be something called Grafitti Highway. It's an old highway road (they created a new road around it) that people would go and graffiti this old, unused highway. It might as been called Penis Highway as innately that's what was mostly drawn there. Too bad they shut it down lol
Running a Why Now Session
Considering the volume, why not start with software?
I agree more with peteradio.
What do you mean IRT magnesium supplements?
You've already forgotten most of what you are because the vast majority of your life has faded from memory. What remains is an impression, a data point in a heuristic mechanism we call "experience". In the same way, when your body dies your actions in this existence will be a data point in the experience of the universe itself.

We fear death because our brain needs to in order to survive effectively, but self is ultimately an illusion, a narrative we construct to weave together memory, present, and projected futures. We know this because self is malleable. We are capable of extending our conception of self into our children, our compatriots, or ideals, and trading "our" life for theirs. Similarly, we can collapse self into just our neural pattern and believe that a computer simulation is still us.

Death is really not quite as big a deal as we think it is, in my opinion.
Do you mean: if I need to pay but don't pay?

I don't see why paying wouldn't work.
> Same goes for roman concrete. We know far more about concrete than the Romans did. We just don't bother to engineer everything to last forever, because that costs money and has little point to it a lot of the time. Yes, some buildings are works of art, but many things just have a function to fulfill, which is often temporary. Nobody is sad that the millions of mass-made soviet residential crappy buildings aren't still as good as new. If they were made to a better standard they'd still be ugly cookie cutter things.

Practical Engineering has a good video on Roman concrete

https://www.youtube.com/watch?v=qL0BB2PRY7k
Basically yes: if you get value out of Docker for container apps today, we think you’ll get value out of Docker for Wasm apps tomorrow.
I remember SCO accusing IBM of doing something similar and IBM responding that they did not, because they could not, refute them.

Refuting bad arguments scales better than some think because arguments can be referenced or copied when they come up again and again, whereas the alternative allows BS to stand unchallenged.

Speaking of which, I should copy this for the next time that comes up.
Huh? The whole comment is comparing asdf to docker and saying asdf is better.
Risk of rain on higher difficulties was always very hard from when I first played it early on, but that's part of what makes it fun for me. I really enjoy a roguelike where you don't win every time; something about the challenge makes a deep run much more satisfying.

Classic roguelikes like Nethack are also incredibly hard to win.
She didn’t like the job and the expectations made of her. The job was a “poor fit”. She “feared the worse” (getting fired? I thought that is what she preferred). She was given a job that was less stressful and within her abilities, but that was “dehumanizing”. I suspect she was not doing the job adequately and that necessitated the company to make a change. Could there be a more gentle change?

In my opinion, she was given a gift. The opportunity to find another job while working with a safety net that would likely last much longer than a severance if it took a while to find the next “right” opportunity.
Also not trying to be rude but also being a little cheeky: This person is weeding out people (possibly like you? <- that's the cheeky part) who care about this type of thing.

I've been in the biz 13 years and only had 4 jobs but I felt varying degrees of "doing the job I wasn't hired to do" by two of them. This actually seems to have almost meme-status from others on the internet talking about their new jobs. Lots of these people stick around these jobs because, "Hey, I have a job!" but that's not for everyone. Some people, like the author of this post, have a bunch of cool personal shit under their belts (check the homepage) and afford to be picky.

The TL;DR here is that job interviews aren't always about an employer trying to impress a potential employee.
That probably depends on the user. I use head every day, I can't think of the last time I used dd. Agree with you on pv, I don't believe I've ever used it - I've seen it around occasionally but it's never top of mind the rare time I might want it
Ahh government work! Look I’m just poking fun at the fact that people who call them COTS are either government or sell to government, it’s not a pejorative.

Not doubting your expertise at all, I’ve worked at shops that are entirely vm based, I just think that when it comes to
making dev teams happy in an on-prem world giving them a k8s cluster has so far never not been a good decision. I can hide so many of the ugly realities of running a production service.
Roman concrete is simply concrete made by pozzolan cement. You make pozzolan cement by grinding quicklime together with volcano ash, fly ash from coal power plants, or metallurgical slags.
Let me help you out:

Data Warehouse. SQL engine that is much bigger than the databases of yester-year. Their size and scalability give you capabilities that DBAs of a MS SQL dB wouldn't necessarily allow you to do, but think "wow, that is a big database!"

Data Lake. Now your database is stored in blob storage (which is like CSV files on your computer) - and the blob storage is HUGE (like hundreds of Terabytes or larger). Also, you store unstructured data, too. So: pictures, JSONs, raw HTML. Whatever

Data Lakehouse... do you mean Delta Lake? This is a made up word from Dara Bricks. Take your Data lake, and slap a SQL engine on top of it, and add in some marketing slang ;)

Data Mesh. THIS is more about organizations than infrastructure. Imagine a Data Warehouse or Datalake. Now find 5 key stakeholders around your company. Let each of them have a playground in your warehouse. You drop the data into one zone, then they copy it, transform it, and share it in their zone - but they have to play by your rules. Bam. Data Mesh
Last year I earned more than the value of my house (pretax though). I really doubt anyone would guess that. My car is about 1 week of earnings.

Of course this year it’s much less with the market being down.
Positive atheism is a thing. It is the strongest form of atheism, where one believes that no god exists. It contrasts with negative atheism, where one does not believe that god exists. There are other forms of atheism, like people like very young children who are not aware of the concept of god and therefore can't be believers, people who want to stay out of any kind of religious belief, etc...

https://en.wikipedia.org/wiki/Negative_and_positive_atheism
Car availability has been awful though. I went in about a car in the early summer that was "in transit." Which apparently meant it was scheduled and allocated but not actually built yet. Got it in 1.5 months which was probably pretty good. And I got it for MSRP and even got $1K added to my trade-in which was already pretty good considering.

In the past year you probably weren't getting any build to order vehicle with a reasonable delivery time. They'd probably take your deposit but you might wait a year.
Fusion Energy Might Power the Grid by the 2030s
Please, dont.
Not easily. A lot of the processes don’t have man pages or any other documentation. And they’re closed source so you never really know what they do.
Authoritarianism was not required. Just science and common sense. I recall a state department representative flying to wuhan to evacuate us citizens back to the us. No mask, shaking hands. Bro…

It became apparent early that it was a respiratory infection, but masks were resisted due to idiocy and politics.

It became apparent early on that there was a week or two incubation period.

Those two facts, had they been taken seriously, would have utterly changed the outcome.

Then again. Maybe you’re crying out against the authoritarianism of facts. It is true they can be a harsh taskmaster. They are utterly unforgiving and totally uncaring. They don’t give a shit what you believe or who’s side you are on. If you love freedom I could understand wanting to be free of facts. Let me know how that works out for ya.
Then why does their company still use docker for that? Did they fail to convince anyone else? Did they disagree? Did they not even bother bringing up their frustrations? People love to complain, but rarely try to contribute to actually make things better.
In the show, Jian Yang sells the app to a social media company for precisely detecting this sort of phallic imagery, so I think Mike Judge knew exactly what he was doing.
Surprised to find this gem so far down on the page
There should be a feature to warp and bend the naughty bits so they're tiny and shriveled and encrusted with warts and scabs and spiders, and post a copy back to the offender, to discourage them.
I wonder if truth about recycling is such a politically incorrect subject similar to profiling of a typical criminal in a specific city/state?
You mean that one case with Jobs and Schmidt in 2005?
Single-stream recycling was basically a greenwashing scam enabled by the ability of supply chains to hide where the product ends up. The plastics weren't being recycled; they were being shipped to China, where peasant children would sift through them for anything of value and the rest would be left in the fields. I'd recommend the documentary "Plastic China" for an expose on that; it's the reason that the Chinese government has banned new garbage imports:

https://www.cnex.tw/plasticchina

I highly suspect that recycling is in fact a terrible economic idea, and it's not at all cost effective to have people sort their garbage so it can be recovered for materials worth pennies anyway. The problem is that you cannot generally tell civilized affluent consumers that their consumption habits are going to turn this planet into the world of Wall-E, without them insisting we do something about this. The real product being sold was the myth of a sustainable future, just as it is with most other industries.