You’ll see cat FILE | all the time because it’s just a natural start to a pipeline. You cat FILE to see the content unfiltered before filtering it with further commands.
- 1 Post
- 223 Comments
qqq@lemmy.worldto
Lemmy Shitpost@lemmy.world•I can't believe this is the only comm that will not throw a hissy fit about this.
6·17 days agoFor the record, if anyone is in a serious situation and needs rescue, SAR is free in the US. A medical helicopter, on the other hand, is not.
I initially agreed with your take there but I actually think they’re a great argument for their point.
headandtailare the exact same abstraction. Their implementations will be quite different, but they both serve “provided this data, give me these lines”. Consider instead that these are simply operations on arrays and actually they map perfectly to Python slices:data[:10]anddata[-10:]. This abstraction mapping also shows that, imo, the tool should providedata[n:m]and it would still be entirely consistent with the Unix philosophy. In fact, this tool exists in the Unix toolkit:sed -n n,mp. Three tools then are currently required for the simple concept of “slice lines”. I also think it’s a bit of a mess. You could replaceheadwithsedfairly easily:sed -n '1,10p'but nottail(it is possible, but quite slow and very opaque)As an aside I actually found this quite frustrating myself because I don’t like reaching for
sedin then:mcase (I always forget and end up pipingheadtotail) and ended up writing my own tool for essentially this style of slicing input, also replacing probably my least favorite use of my least favorite Unix tool,dd, to slice arbitrary byte sequences. The tool doesn’t feel overloaded and I use it quite often.(I’m sure many people have written this same tool. There is probably a widely known open source option that I’ve just never come across)
Yea what a hot take that was, critiquing words that were never there and then calling the person an idiot.
This idiot (Gabriel) probably thinks exclusively in the real world paper line analog.
Typical of Internet discourse to just immediately brand someone you disagree with an idiot… That “idiot” is one of the designers of common lisp, among other things. You’re allowed to disagree with a smart person too you know
qqq@lemmy.worldto
Technology@lemmy.world•Generative AI Is an Engineering Disaster. A shockingly inefficient trillion-dollar project.English
11·1 month agoC is compiled; minification won’t make it faster.
qqq@lemmy.worldto
Technology@lemmy.world•Generative AI Is an Engineering Disaster. A shockingly inefficient trillion-dollar project.English
13·1 month agoThe engine is a single C file (c/glm.c, ~2,400 lines)
That file is almost 6k lines. The style also makes my eyes bleed. Why do people pretend stuffing 6k lines of code with almost no whitespace and meaningless variable names into a single file is a good thing? I’ve seen this a lot recently
qqq@lemmy.worldto
Science@mander.xyz•A new paper argues Microsoft exaggerated its quantum claims a year ago
2·2 months agoIt’s actually kinda cool to see people focusing on topological quantum computing in industry. It’s such a wild concept!
qqq@lemmy.worldto
Technology@lemmy.world•Mark Zuckerberg Orders His Employees to Start Having Fun Again After Brutal Layoffs Culled Their ColleaguesEnglish
16·2 months agoJesus, I thought this comment was a joke before reading the article
qqq@lemmy.worldto
Linux and Tech News@lemmy.linuxuserspace.show•The end of uBlock Origin in Chrome is now weeks away, not monthsEnglish
1·2 months agoUgh why is time on that bar graph decreasing as you move to the right?
qqq@lemmy.worldto
Comic Strips@lemmy.world•Stop telling me AI is the future [Still Vreni]
5·3 months agoI’m with you: the experiences people have with these tools are just dramatically different from mine. They are quite good. By no means even close to perfect, but they’re just so much faster than me at pulling up some random information that would be hard to find with an Internet search myself and very good at going from nothing to something that works with code. I don’t particularly enjoy using them because I find the whole industry abhorrent, but their usefulness isn’t in question to me.
I imagine the low level form of each model being free indefinitely, possibly ad supported. It’s already probably becoming the most consistent “we’re pretty sure this is from a human” training data they have.
qqq@lemmy.worldto
Selfhosted@lemmy.world•Bitwarden's new CEO has a Private Equity background, removed 'Inclusion' and 'Always Free' from their website -- because of course he didEnglish
1·3 months ago“Difficult to recover from” was referencing setting all of your accounts back up. I should have also included “lost” and “broken” to make that more obvious. Many hardware (most? all?) passkeys do not allow for backup and restore.
But I do see an issue with stolen hardware passkeys being used for access too if they’re a primary factor. With the mitigations you mentioned hopefully holding up.
qqq@lemmy.worldto
Selfhosted@lemmy.world•Bitwarden's new CEO has a Private Equity background, removed 'Inclusion' and 'Always Free' from their website -- because of course he didEnglish
7·3 months agoThey will almost certainly lead to vendor lock in. Why do you think they won’t? Apple’s password manager is definitely an example of vendor lock in. Many others have a simple to use export feature to CSV or something that others can understand
Edit: it could be that you don’t know what the WebAuthn/FIDO2 specification says or we understand it differently? Do you know how the attestation mechanism works? That ties the key to a device or software authenticator (the software authenticator is likely going to tie it to the device somehow, possibly even via a TEE).
qqq@lemmy.worldto
Selfhosted@lemmy.world•Bitwarden's new CEO has a Private Equity background, removed 'Inclusion' and 'Always Free' from their website -- because of course he didEnglish
4·3 months agoThere is no full stop there… A password that is sufficiently long will never be cracked no matter the hashing algorithm in use. Passwords are easily transferrable and can be communicated to a third party in the event of an emergency. They also provide tunable security, where you can trade off security for convenience if you want.
Some (not all, I know) passkeys are tied to a device. Stolen device means stolen passkey, and it’s potentially very difficult to recover from that. Passkeys are also locked to a certain standard, passwords have no such restrictions.
Tbh I don’t understand the move for passkeys replacing passwords. They should become the second factor when a user wants additional security. They’re perfect for that niche.
qqq@lemmy.worldto
Technology@lemmy.world•GrapheneOS says Google is making life harder for rival operating systems and devicesEnglish
2·3 months agoAre you using those in the US? When I needed to get a new phone they still weren’t available here, but I’m hoping that has changed or changes by the time I need a new one again
qqq@lemmy.worldto
PC Gaming@lemmy.ca•Linux gaming is getting faster because Windows APIs are becoming Linux kernel featuresEnglish
24·3 months agohttps://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guidelines not even standard reverse engineering either. It’s incredibly impressive
I’ve used Fedora for ages and it has never forced a reboot.



Reminds me of https://youtu.be/6gFnL-M7UxA