↓ ↑
Someone needs to translate this ASAP...
https://vndb.org/v7754
↓ ↑
I am thinking of using Dash because it is less bloated than other shells in the Bourne shell family (e.g. Bash and zsh).
Rash: The Reckless Racket Shell
https://rash-lang.org
PowerShell is kind of interesting. I'm still very new,. Are you interested in trying it: https://books.goalkicker.com/PowerShellBook/
# help system
Update-Help -ErrorAction Continue
help Get-Process # alias for Get-Help foobar | more
Get-Help -examples Out-GridView
Get-Process | Get-Member # pipe object, not text
Get-Command *json* # which commands contain "json"?
Get-alias select
Get-Verb
Show-Command Get-Process # open a GUI for command
# List processes without active windows.
# it's formatted in a GUI table thing.
# You could also use Format-Table or Format-List
#
# let's checks if mainWindowTitle property for each process is $null and select those objects:
Get-Process | Where-Object -EQ -value $null {$_.mainWindowTitle} | Out-GridView
# who is using up teh RAM?
Get-Process | Sort-Object -Property WS | Select-Object -Last 5
# calculate file checksum
Get-FileHash gentoo.iso
# find new files added in the last 7 days
Get-ChildItem -Path Downloads -Recurse | Where-Object CreationTime -gt (Get-Date).AddDays(-7)
# find large files, convert size to MB with 2 decimal places, sort by the new "Size (MB)" property and format as table
Get-ChildItem -Path Downloads -Recurse | Where-Object { $_.Length -gt 255MB } | Select-Object FullName, @{Name="Size (MB)"; Expression={ [math]::Round(($_.Length / 1MB), 2) }} | Sort-Object -Property "Size (MB)" | Format-Table
IM A FAT NIGGER BTW
if you are crazy enough, you could set Emacs as your login shell?
EXWM
Fish, because it has the best default settings.
↓ ↑
What motivates people to learn and use Lisp? Do they do it for an ego boost? e.g. I've learned Lisp ... I'm enlightened (unlike all the ignorant programmers out there) ... I'm so smart ... I'm better than other people!
I learned Clojure because I wanted
- a functional language that helps me write code with less bugs
- runs on a lot of different platforms
- has a good standard library
If that was the goal, they would be better off learning Python. Learning Lisp will make you feel dumb; it's a very humbling experience.
What if Lisp and Lisp-like languages are simply better or more enjoyable than most other programming languages? The core features of Lisp or Scheme are also very simple. Common Lisp spec is frozen so your all programs just work. Some languages keep on breaking old code. But this doesn't mean that Common Lisp is obsolete because you can extend it and new useful features that are integrated seamlessly with the rest of language.
I haven't used any other programming language that's as coherent as Common Lisp or Scheme. Because of this (and the fact that Lisp syntax is same for almost everything), Common Lisp and Scheme tends to have less mental overhead than many other languages.
Lisp is for wizards.
I learned Clojure because I wanted a functional programming language that I could use for making websites.
Before switching to Clojure I tried using JS with a bunch of functional programming packages, but it was very unergonomic and cumbersome.
↓ ↑
So we already had
* AI bubble strawberry counting edition
* Video games bubble, covid edition
* Electric cars and associated paraphernalia
* Drone bubble
* Blockchain (kinda over)
* Linux
* DotCom bubble
* PC bubble
* AI bubble electric boogaloo edition
* Video Games crash
* AI bubble
whats next?
I suggest some air drone delivery services bubble, driven by the shoplifting and flashmob looting. Had I been Amazon, I would be organizing these niggers to loot more local stores.
security is a bubble because it rides on the bubble of mounting complexity brought by the self-sustaining superstructure of programmers giving themselves work by stacking "features" and rolling releases so that somewhat old versions of perfectly good working hardware become obsolete so you have to UPGRADE and buy the smartest smartphone if you want to keep running essential apps.
>>31
s/smartest/latest/
latest bubble is jumping on linux because windows 11 ai bad
>>33
"Apple Removes Ability to Run Unsigned Apps in macOS 15.1"
https://news.ycombinator.com/item?id=42032444
>>34
was a bug. hopefully not an A/B test.
↓ ↑
You guys usually use pen and paper to write and study code before punching the keys into the screen, right?
I don't get flowcharts either, but I find statecharts very useful for µC programming.
What do you people think about mindmaps?
>>46
Cool stuff. It gets a lot of data and knowledge onto a single space and then connects them in logical ways.
before smartphones were ubiquitous I used to do this sometimes. Now I just type my notes into emacs on my phone.
I don't program, I'm only here for the SICP yuri fanfics.
↓ ↑
Give me some links, where are all the chuds
bitchan.i2p - i know, what else?
It's been ages since I last used it. I used to download close to everything from the torrent tracker to "help the network". I came across some very fine metal albums this way.
I'd recommend kycklingar.i2p but the eepsite seems to be down
You can always browse zzz.i2p for some neat technical discussion
legwork.i2p is the best search engine IMO but it's a bit unstable compared to i2psearch.i2p
>>4
I should also mention 3chv2.i2p but I don't use it much, only really know it's another imageboard like bitchan
Current i2p checksums are mixed up!
from their official website (Linux .jar):
== ea3872af06f7a147c1ca84f8e8218541963da6ad97e30e1d8f7a71504e4b0cee ==
calculated from my downloads folder:
d70ee549b05e58ded4b75540bbc264a65bdfaea848ba72631f7d8abce3e3d67a Downloads/i2pinstall_2.7.0.jar
ea3872af06f7a147c1ca84f8e8218541963da6ad97e30e1d8f7a71504e4b0cee Downloads/i2pinstall_2.7.0_windows.exe
>>6
they fixed it.
↓ ↑
Can you evangelise Docker to me?
I don't get it, it seems dead. Why people keep copulating dead corpse of Kubernetes?!
When docker just arrived >+10yrs ago, I was like: wow, light weight lightspeed vm`s, nice!
but now I feel pain & frustration :::
- whole big rebranding split of community\enterprise\desktop pay for win versions + ... vm (?!) which was unavoidale and was ultimate solution from the beginning.
- can't easy install & run rootless without hustle
- we can simply use lxc or other light weight containers
- everyone enforcing podman or rkt or some their own new sh1t as replacement
- can't offer secure protection from running untrusted malware code
- docker seems good if we build apps from 0, but when it came to just running instalation of some 3rd party server app proprietary binary - it failed.
- used wrongly for wrong reasons as package system or build system isolation
- nixos replaces case above ^
- just use lightweight vm, Cloud on demand as a Service.
Maybe I'm dumb, and don't get geniuses who pay & earn 10k/mo with Kubernetes? Elaborate.
Also, docker has very convenient UX. You can download, configure & run any container with just one command. Compare with virtualbox or qemu. You can say that docker is like flatpak for servers.
Plus, its isolation helps against dumb bugs in shitty software you just wanted to run once, e.g. [1]. I'm not talking about security here, only dumb bugs.
[1]: https://github.com/ValveSoftware/steam-for-linux/issues/3671
way to check the system for known CVEs
how do you usually check, what tools you use?
can you recommmend good FLOSS scaner + antivirus, with fastest regular crowd contributed updates?
antivirus alone doesn't fix or protect from arbitrary code expoiting CVE.
clamAV if even with recent signatures doesn't detect unix (or crossplatform) badware.
----------------
2c
1 in nixpkgs you supposed to read, audit code yourself, trust build intstruction, hash demonstrates build reproducibility. But there are other specific designated tools out there for reproducible builds other that nix.
2 in theory nothing prevents you to run offline customized CVE scan script, just get and compare installed versions vs vulnerable. + optional exploit check via nix-env .
I like Guix because it uses Scheme.
Did you migrate from NixOS? I'm considering it and am looking for stories from the frontlines.
>>6
From a practical point of view, they're equivalent. From a stylistic point of view, customizing your packaging system is easy with the power of Guile. I am a fan of Scheme and it's cool to manipulate Guix to do little things that it wasn't explicitly programmed to do.
↓ ↑
There are people using that to store data?
Why not use S-expressions instead?
>>9 Because there are no tools that understand sexps. It's a chicken-and-egg problem.
Chicken understands sexps: https://www.call-cc.org/
>>11 I meant DevOps tools.
>>10
You can write all the S-exp tools you want using Lisp.
↓ ↑
I kno I'm risking to get 403'd for this thread, from textboarder Scheme tsar, but YOLO, I've been 403'd so many times I have no hope to stay here & might leave this place (so I may just leave & become friends with feds), so this could be my last thread here, I really want to know
So I just noticed this board focused primarily on Lithp derrived family of langs
I mainly been writing in dynamic langs whole my life, and I've seen your infiltration psy-op squadron on Hackernews & everywhere all over the internet brainwhashing me to learn Lisp, with Ritch Hickey & other more mature 'programming uncles' prophets, evangelists earning gazillions of USD from Oracle.
Is there any practical serious benefit for me ($INSERTDYNLANGNAME)ist to not just learn but actually USE Lisp in my day to day projects, life???
I've tried Dereck Banas yt tutorial & a bit of SICP, made Hanoi Towers, and seen some of MIT video lectures Sus man & Abelson ... It has not done miracles to me idk why, I can't grasp Lithp magic or what's so lovely about it that I'll feel the need that'll must use it everyday everythere.
Lisp kind of may be cool in comparison to C C++ Java 1.4 ... but for person using ruby/python/js I don't see benefits of ditching them for Lisp.
The most oversold overhyped biggest selling feature is Metaprogramming with macro. Well, maybe it does feel slightly more natural do do that in Lisp, write DSLs, define own syntax, or write code that generates code, since everything is a List. But I can do SAME, ALL of THIS & everything in Python AST. I can parse it, I can make DSL, define new syntax, new operators, generate code, eval it on the fly.
So why you keep telling me in my face & insisting me that Lisp is better & I have to use it?
Is it me being stupid here, not grasping some aspects of Lisp, or you trying to justify 50k annual spend on your Comp Sci degree by telling everyone what to do?
I know about Carp, and some low level dialects of Lisp/Scheme designed to run on microcontrollers.
But that is such a micro portion of marketshare.
Your post/reply >>6, is so vague and abstract without comparison of code side by side, makes me wonder if you posted gpt reply, or ai actually writes & understands subject better than you.
I was phoneposting whilst intoxicated. Sorry for not posting code examples. I still won't post any but I'll reply again later to clear up some vagueness.
>>4
Refresh your memory of Abelson's foreword to EOPL.
Shit, colleagues, do you eat shit?
The other colleague is right, and I'll tell you something else: 99% of the code written out there could just as well be written in server-side-includes, which is Turing-complete.
>>11 Now I want to see an OS written in server-side includes
↓ ↑
Please redpill me on APL.
Does it have modern relevance?
Nice vintage REPL!
https://www.youtube.com/watch?v=_DTpQ4Kk2wA
Yes, it's a nice mind-bender! Though you'd want to start with a simpler dialect, e.g. K, BQN or uiua.
https://xpqz.github.io/kbook/
https://mlochbaum.github.io/BQN
https://www.uiua.org/
I'd say uiua is the nicest to beginners, but it's not pure APL — it was just as influcenced by FORTH (it's a win in my book).
>>7
There is a new APL MOOC by University Of Helsinki
https://dyalog.tv/Dyalog24/?v=2wdtPPqdECo
https://aplmooc.fi
Will there be Ivy (or any array programming language) for Android phones?
https://pkg.go.dev/robpike.io/ivy
Probably no native apps, but termux has `kona` (K language), or you can use https://www.uiua.org/pad or http://johnearnest.github.io/ok/mobile.html