News for hackers. Stuff that matters.

soupshield

Re:Git In Two Minutes (updated after 8 years) on Saturday August 06, 2022 @05:00PM (#32371551)
Ah yes I've seen it in those kind of contexts too. Thanks everyone this has really clicked in to place for me :)
Re:Git In Two Minutes (updated after 8 years) on Saturday August 06, 2022 @04:59PM (#32371542)
> E.g. to rm file named “-f”:

I've defintely had this sort of problem in the past :)

Re:Git In Two Minutes (updated after 8 years) on Saturday August 06, 2022 @04:57PM (#32371530)
Thank you for this brilliant explanation (complete with interactive example :) I completely get it now.
Re:Git In Two Minutes (updated after 8 years) on Saturday August 06, 2022 @04:42PM (#32371419)
What do we call the "--" part in a command like this:

    git checkout HEAD -- <filename>
I find it hard to remember things unless I understand their purpose. It looks like it's specifying an argument but without an argument name (e.g. --verbose), unless it's similar to a pipe | symbol and <filename> is being passed to the checkout command as some special kind of argument?
Re:Twenty years of C# with Anders Hejlsberg [audio] on Thursday February 10, 2022 @07:00PM (#30294730)
We have extension methods; I would like extension properties.
Re:Show HN: My 486 Server on Sunday January 16, 2022 @02:47PM (#29959264)
Can you share how it's doing cpu/memory wise and his it's holding up in general under what I assume I heavy load from HN?
Re:Is Web3 a Scam? on Saturday January 08, 2022 @06:22AM (#29850648)
I find it a bit strange that in this system my identity is conflated with my wallet.
Re:Neovim v0.5 on Friday July 02, 2021 @02:51PM (#27715306)
My heart is with vim but I switched to emacs as I love orgmode too much for note taking. I tried a few vim orgmode plugins but they seemed quite flakey even though I only really use orgmode for outlining. Excuse my ignorance but could all this LSP/Lua stuff allow neovim to take over from emacs?

Ask HN: How to Ensure File Integrity

I have a lot of data which I try to carefully backup. One thing which concerns me is the integrity of my files. It's no good backing them up if they become corrupt without me knowing. Most of my files like photos, old emails, etc will never change and I want to keep it that way. Bit rot or more likely, me inadvertently changing a file somehow.I'm familiar with source control like git and if I...

( Read More... | 3 comments | 5 points | on HN )
Re:The Old Robots on Saturday May 26, 2018 @11:37AM (#17162590)
MST3K's Tom Servo bears a striking resemblance to the Quasar Klatu robot:

http://www.theoldrobots.com/QuasarKlatu.html

Re:Why does Google Hangouts still not work in Firefox? on Sunday December 10, 2017 @03:53AM (#15890577)
When I switched to Firefox I also switched to bitwarden for password management. Auto-filling is still in beta but I don't miss it. The Firefox extension is fast and simple to use.

https://bitwarden.com/

Re:Ask HN: Do you still use browser bookmarks? on Saturday April 08, 2017 @02:55AM (#14065717)
Pinboard archives it with wget: https://pinboard.in/faq/
Have you ever had any false alarms with this?
Re:Bootstrap 4 Alpha 4 Released on Tuesday September 06, 2016 @08:21AM (#12435399)
I seen an issue on github[0] which mentions that a lot of development time is still spent on version 3, which is slowing down progress on version 4. I suppose future versions might take longer to roll out if they're supporting the previous version at the same time.

0: https://github.com/twbs/bootstrap/issues/20631

Re:Atom 1.9 and 1.10 beta on Monday August 01, 2016 @04:46PM (#12205800)
Found some info on this:

> 0.37.8 is actually a 1.0.1 version of Atom so it's not THAT old. The only difference between 0.37.8 and 1.0.0 release is the remove of deprecated API that were not flagged as such in 0.37.8 release. Reason why Atom only incrementally updates electron is to minimize application breakage due to Atom project's size. [0]

> We decide to update to a new version of Electron when there is an enhancement or bug fix that version would enable that would benefit Atom users. Because updating to a new version of Electron is non-trivial, sometimes we skip versions until there is a clear benefit that justifies the cost. [1]

[0] https://github.com/atom/atom/issues/11967#issuecomment-22550...

[1] https://github.com/atom/design-decisions/blob/master/electro...

Re:Removing Python's GIL: The Gilectomy [video] on Monday June 06, 2016 @06:58AM (#11845811)
I almost didn't watch this because it's over my head, but the speaker was enthusiastic and made it fun. It's a shame there wasn't time for questions. I'm now going to watch the original Larry Hastings GIL talk: https://www.youtube.com/watch?v=4zeHStBowEk