News for hackers. Stuff that matters.

kerny

Re:Don’t use environment variables for configuration on Thursday April 01, 2021 @05:33AM (#26658330)
Any third party code can just read your credentials file and POST it to remote server.
Re:Linux Sucks 2020 on Saturday May 30, 2020 @05:51AM (#23359878)
When you see majority of consultants from the biggest Linux company (that also focuses on desktop Linux) using Macs for their work, you know that Linux on desktops won't happen anytime soon.
Re:Common mistakes using Kubernetes on Tuesday May 19, 2020 @06:36PM (#23241114)
They could have used: soft, hard and strict with the documentation explaining the differences.
Re:Neovim 0.3 released on Monday June 11, 2018 @04:37PM (#17288330)
can you expand a bit more on "not as clean" as NeoVim? I consider vim's implementation of async jobs simpler than neovim's.
No OP, but IMHO GitLab is getting quite heavyweight and that's why people are looking for more lightweight alternatives.
Re:Things I Wish I'd Known About Bash on Saturday January 06, 2018 @10:42PM (#16089010)
This diagram is not entirely correct.

The remote bash startup order is further complicated by the existence of a compile time flag SSH_SOURCE_BASHRC. This flag determines if a remote non-interactive shell will load the ~/.bashrc file.

This flag is turned off by default and stays off in some distributions (like Archlinux), but is turned on in others (Debian, Fedora, ...) to replicate very old rsh behaviour.

Re:Things I Wish I'd Known About Bash on Saturday January 06, 2018 @10:39PM (#16089001)
That graph is not entirely correct: https://news.ycombinator.com/item?id=16088866
Re:Things I Wish I'd Known About Bash on Saturday January 06, 2018 @10:01PM (#16088866)
9) The remote bash startup order is further complicated by the existence of a compile time flag SSH_SOURCE_BASHRC. This flag determines if a remote non-interactive shell will load the ~/.bashrc file.

This flag is turned off by default and stays off in some distributions (like Archlinux), but is turned on in others (Debian, Fedora, ...) to replicate very old rsh behaviour.

Re:Bitcoin Is No Bubble, Says Investor With 30K Bitcoin Stake on Sunday November 12, 2017 @10:14AM (#15681114)
> That's can happen to bitcoin, as its a fixed supply.

There's endless ways to compute arbitrary numbers.

Re:NeoVim 0.2.0 released on Tuesday May 02, 2017 @06:58AM (#14245397)
Can you back up this claim? I think it's not true and authors of both projects respect each other. They simply have different views regarding backwards compatibility etc.
Which metropolis are you talking about?
Re:What makes us Red Hat on Friday April 07, 2017 @05:06AM (#14058258)
Why would you leave such a great place to work?
Re:Containers vs. Zones vs. Jails vs. VMs on Thursday March 30, 2017 @02:52PM (#13997913)
> The're VM's

They are definitely not VMs.

> But they're really, really efficient compared to VM's.

I think that the virtualisation CPU overhead is below 1%. Layered file systems are possible with virtual machines as well so disk space usage could be comparable.

What do you mean that they are "really, really efficient" ?

Why is it bad? Competition is always a good thing, and I'm glad that Neovim urged Braam to improve Vim as well.

Personally, I'll rather use Vim as it focuses on stability and long-term compatibility. I have a huge respect for Braam for maintaining the project for so long. On the other hand, some of the Neovim's promises are just that, big dreams. Development on Neovim has slowed down and if you look at their git history, you'll see most of their commits are actually upstream patches taken from Vim.

I also see a lot of hate towards Vim source code and code styling, which is not that bad and I actually prefer it to Neovim's two spaces per indentation style.

Re:More, less, and a story of typical Unix fossilization on Thursday August 25, 2016 @11:21AM (#12359690)
Put something like this into your .Xresources:

For URxvt:

! Ctrl-Shift-A will show alternate screen URxvt.keysym.C-S-A: command:\033[?47h ! Ctrl-Shift-Z will return to regular screen URxvt.keysym.C-S-Z: command:\033[?47l

For XTerm:

! Ctrl-Shift-Z will toggle alternate screen VT100translations: #override \n\ Ctrl Shift <KeyPress> z: set-altscreen(toggle)

Re:More, less, and a story of typical Unix fossilization on Thursday August 25, 2016 @11:12AM (#12359600)
Why so complicated?

sed -ne 'X,Yp' /etc/passwd

Re:Evolution of shells in Linux (2011) on Thursday August 25, 2016 @10:51AM (#12359434)
The same can be done easily in bash with an alias:

alias cd=pushd

Re:'Music' from /dev/urandom on Monday March 07, 2016 @04:28PM (#11241849)
I don't know if I'm the only one who have noticed that, but on 64 bit machines you have to change "%08X\n" to "%016X\n". Although using %08X sounds interesting, the result is not a major scale and probably not the original intent of the code.
Re:Ask HN: How do you search for an appropriate English word? on Monday November 16, 2015 @03:10PM (#10576808)
http://www.stardict.org I use stardict.
Re:Ask HN: Who is hiring? (September 2015) on Wednesday September 02, 2015 @08:56AM (#10158843)
I'm also very interested, my e-mail: [email protected]
Re:Things Rust shipped without on Friday July 03, 2015 @02:59PM (#9827330)
> Except... it's undefined behavior.

No longer true since C99.

Re:Things Rust shipped without on Friday July 03, 2015 @02:59PM (#9827328)
No undefined behavior. Perfectly legal since C99 standard.
On CNN a few days back: French minister: It's possible asylum will be offered to Snowden, Assange.
Re:The End of the Open Road: How Hitchhiking Died on Tuesday May 12, 2015 @10:10AM (#9531847)
I've hitchhiked around 1000 miles in Europe without any problems. I love the experience of meeting, chatting and sharing stories with complete strangers. Most of hitchhiking riders used to hitchhike themselves, so they have a lot of stories to tell, and it's easy way to find out about local culture.

When I've been on a trip to western Ukraine 3 years ago, I picked up a female teacher, which was commuting to her school by hitchhiking every day. Strange that it's easier to hitchhike in poorer rather than richer country.

Re:How I Got Converted to G.M.O. Food on Saturday May 09, 2015 @04:16PM (#9517550)
Monsanto - the creator and producer of Agent Orange is responsible for suffering and deaths of millions of people. In China and Vietnam, hundreds of people are born with serious health issues even to these days.

GMO are created with barbaric methods with unknown long term effects on human or environment. AFAIK, GMO are created by infecting DNA with a virus and mixing 'terminator' genes to be sure, that species won't have offspring.

Now, please somebody tell me, why should I trust the very same company, that was manufacturing Agent Orange, with my food. Monsanto officially stated that: "reliable scientific evidence indicates that Agent Orange is not the cause of serious long-term health effects". Now, they are saying that GMO poses no risk to health or environment. Thanks, no but thanks.

Re:Ccat – syntax highlighting cat on Wednesday May 06, 2015 @06:04AM (#9497566)
I'm using vimcat for this. Available as part of vimpager https://github.com/rkitover/vimpager
If you're using Firefox, try ScrapBook. Very useful addon to save and organize websites.

Older »