Sekitar 10 hasil (3.01 detik)
Komunitas infosec.pub

What are You Working on Wednesday

A bit late (sorry, been busy and distracted), but my new toy came in, and it is all pimped out. Only thing missing is a type c to USB female OTG or whatever, so I can plug in an external Wi-Fi adapter. Been writing way too many scripts in Golang and python, so been losing my sanity, but hey shit works.

Komunitas programming.dev

batman or man bat?

Yeah. Putting my old man crankiness aside, for a moment, I adore goLang. GoLang is like having a youngest grandchild. It can do whatever it wants and I’ll praise it.

Komunitas programming.dev

New language

I work in Java, Golang, Python, with Helm, CircleCI, bash scripts, Makefiles, Terraform, and Terragrunt for testing and deployment. There are other teams handling the C++ and SQL (plus whatever dark magic QA uses).

Komunitas lemmy.world

GitHub - awesome-selfhosted/awesome-selfhosted: A list of Free Software network services and web applications which can be hosted on your own servers

Doesn’t have additional fluff like scrobbing or telling Spotify about every track you listen to get their albumart. (though you might want this, that’s fine) Browsing is by folder structure, not via tags. Again, this is a preference thing, I prefer to browse by folder structure, since just about every player wants to define the ‘album artist’/‘artist’ split differently and some do and don’t support ‘sort artist’ tag. node.js v. Go+ReactJS (nodejs is mature now and is a single dep, golang is pretty mature but react is moving fast and breaking things) Really just depends on what features you want.

Komunitas lemmy.ml

Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"

Nope, I’m glad to share. I personalized it from the “Gruvbox Rainbow” preset from here: https://starship.rs/presets/ So, you might prefer that, if you’re not, well, me. You will need to set up a NerdFont, like the Starship installation guide says. Here’s my configuration: ::: spoiler Spoiler "$schema" = 'https://starship.rs/config-schema.json' format = """ [$status](bg:color_red fg:color_fg0)\ [](fg:color_red bg:color_orange)\ [$cmd_duration](bg:color_orange fg:color_fg0)\ [](fg:color_orange bg:color_yellow)\ [$time](bg:color_yellow fg:color_fg0)\ [](fg:color_yellow)\ $line_break\ [$directory](bg:color_aqua fg:color_fg0)\ [](fg:color_aqua bg:color_blue)\ [$git_branch\ $git_status](bg:color_blue fg:color_fg0)\ [](fg:color_blue bg:color_bg3)\ [$c\ $rust\ $golang\ $nodejs\ $php\ $java\ $kotlin\ $haskell\ $python\ $docker_context](bg:color_bg3 fg:color_fg0)\ [](fg:color_bg3)\ $line_break\ $line_break""" palette = 'gruvbox_dark' [palettes.gruvbox_dark] color_fg0 = '#ffffff' color_bg1 = '#3c3836' color_bg3 = '#665c54' color_blue = '#458588' color_aqua = '#689d6a' color_green = '#98971a' color_orange = '#d65d0e' color_purple = '#b16286' color_red = '#cc241d' color_yellow = '#d79921' [status] disabled = false symbol = "" format = ' $symbol $status ' [username] format = ' $user ' [directory] format = " $path " truncation_length = 3 truncation_symbol = "…/" [directory.substitutions] "Documents" = "󰈙 " "Downloads" = " " "Music" = "󰝚 " "Pictures" = " " "Projects" = "󰲋 " [git_branch] symbol = "" format = ' $symbol $branch ' [git_status] style = "bg:color_aqua" format = '$all_status$ahead_behind ' [nodejs] symbol = "" format = ' $symbol $version ' [c] symbol = " " format = ' $symbol $version ' [rust] symbol = "" format = ' $symbol $version ' [golang] symbol = "" format = ' $symbol $version ' [php] symbol = "" format = ' $symbol $version ' [java] symbol = " " format = ' $symbol $version ' [kotlin] symbol = "" format = ' $symbol $version ' [haskell] symbol = "" format = ' $symbol $version ' [python] symbol = "" format = ' $symbol $version ' [cmd_duration] format = ' 󱦟 $duration ' [time] disabled = false time_format = "%R" format = '  $time ' [line_break] disabled = false :::

Komunitas lemmy.world

Rust is Eating JavaScript

Thanks, and interesting point about Wasm if that is important. You can also compile C++ to wasm but then its C++ ;). I don’t know about Ada to Wasm. I don’t think Rust is quite mainstream yet either. My impression is that its type system has not caught up with Haskell’s except in a few areas, but of course nobody pretends Haskell is mainstream. I haven’t yet tried Idris. Golang seems to have a decent runtime model (lightweight threads, GC) though the language itself is underpowered. There is a Golang backend for Purescript that sounded interesting to me. The thing that turned me off the most about Purescript was the JS tooling. Purescript (purescript.org) is/was a Haskell-like language that transpiles to JS, intended for use in browsers, but Typescript filled this space before Purescript got much traction. That felt unfortunate to me. I don’t think HLL (high level language) has an official definition, but informally to me it has generally meant that the language is GC’d and that the native integer type is unbounded (bignum). By that standard, Rust and Ada are low level. I’ve so far thought of Rust as a modernized Ada with curly braces and more control of dynamic memory reclamation. Maybe there is more going on than that. Ada is still ahead of Rust in some ways, like generic packages, but Rust is working on that. If you have a suggestion of a no-nonsense Rust book, I’d be interested in looking at it. https://doc.rust-lang.org/book/ beat around the bush way too long before discussing the language, but I guess I should spend more time with it.

Komunitas lemmy.world

Rust? Like what's on some metals?

I’m not saying Rust is better for all applications, but IMO Golang has a pretty bad readability due to the “simplicity” they keep adhering to. Heck, even their generics support is still pretty terrible, and that’s a fundamental feature for properly readable code.