Recent comments in /f/Coding
Saint_Cuthbert OP wrote
Reply to comment by z3d in For a new coder, what resources would your recommend? by Saint_Cuthbert
Thank you very much.
Saint_Cuthbert OP wrote
Reply to comment by z3d in For a new coder, what resources would your recommend? by Saint_Cuthbert
Specifically, I'm looking for php resources. Thank you for the advice.
z3d wrote
Without more information about what you want to learn and what your objectives are, it's hard to recommend specific sites. Do you have any idea what language you're aiming to take up, and have you got a specific project in mind?
Here are some basic guidelines if you're just looking to get involved:
- Before just diving in, work out what you want to achieve. Sometimes it's easier to take an existing project and work on adding features than starting from scratch. Identifying your area of interest will help narrow the selection of languages you'll want to focus on.
- Start small. Don't take on big projects until you're comfortable achieving tasks you set yourself. Running code on a webserver is a good way to start seeing immediate results. Choose a language that suits, and hack something together. Javascript, html and css are a good entry into coding, and the results are immediate, no compilation required, just a webserver and and browser!
- Find a text editor that you're prepared to invest time learning. VS Code / Codium might appear daunting at first, but if you're committed to learning, it'll pay off in time by helping you write and format your code with inline help, syntax highlighting, autocomplete, and error checking etc. For something simpler but still coder-focused, Bluefish is a lot less capable but a lot easier to pick up, and still has syntax highlighting and support for various languages.
cumlord OP wrote (edited by a moderator )
Reply to comment by NotQball in MultiSnark tool (Class/example, incomplete) by cumlord
I have a project (that's tied into this) that I'm prioritizing for the moment, and will be making a more fleshed out version of this available soon after.
I want some more granular tools with individual torrents too, and some stats, so I'll see what i can do.
The transmission-rpc plugin works great for managing one snark at a time though.
NotQball wrote
Reply to MultiSnark tool (Class/example, incomplete) by cumlord
I will wait for a more mature/developed tool that has alarms and monitoring of torrents. Ideally it will monitor torrents and have some kind of configurable actions. It would be like a stock (stockmarket) chart analysis tool. Start (buy), Stop (hold), Delete the evidence (unusual patterns). I like to start simple... but it is always complicated.
preplanskyline_90 wrote
Games? Dude work on something productive.
NotQball wrote
Talk is cheap. Repo or Gitlab address. For emotional support try your local listings or travel.
BoJack wrote
Reply to GUI's, heaps of CSS, "pretty websites". They are ALL POINTLESS! Soydevs enraged! by DaarkDev
I mean, most people will do so regardless; solely because ruining their website in this way will make them money
Wahaha wrote
Reply to comment by TallestSkil in GUI's, heaps of CSS, "pretty websites". They are ALL POINTLESS! Soydevs enraged! by DaarkDev
The weirdest thing to me is how browsers don't auto-delete cookies per default. 99.99% of cookies are completely useless to a user. And if website login could just work via certificates instead of using passwords, it would be 100%.
DaarkDev OP wrote
Reply to comment by TallestSkil in GUI's, heaps of CSS, "pretty websites". They are ALL POINTLESS! Soydevs enraged! by DaarkDev
Wow, that's absurd! I absolutely agree. Thanks for giving everyone some good advice!
TallestSkil wrote
Reply to GUI's, heaps of CSS, "pretty websites". They are ALL POINTLESS! Soydevs enraged! by DaarkDev
The trick is to never learn JavaScript (or have post-traumatic stress from the professor who taught it to you such that you don’t remember it), and therefore you won’t be ABLE to code a website with bad JavaScript. It’s the perfect solution.
Joking (am I?) aside, you’re obviously right. What we need to fight back is a browser explicitly designed to destroy all tracking mechanisms. And not just the obvious ones. For example, wipe all loaded websites of the ability to track cursor location and page scroll depth. Automatically erase all HTTP referrers from every single link so websites have no idea where you came from when you got to a specific page (make them think you manually typed in the URL every time). Oh, and the big one:
A WEBSITE SHOULD ONLY BE ABLE TO SEE COOKIES FROM ITS OWN DOMAIN. IT SHOULD NEVER HAVE ANY CAPABILITY WHATSOEVER TO EVEN SEE A RANDOMIZED, ANONYMIZED HASH OF WHAT OTHER COOKIES ARE ON THE DEVICE. When I heard that browsers just let any website see any other website’s cookies, I was so fucking appalled that I couldn’t put it into words. The mere idea of such a security flaw never even occurred to me, yet it’s literally common practice in browsers.
smartypants wrote (edited )
Reply to comment by Rambler in Buffer overruns, license violations, and bad code: FreeBSD 13’s close call by z3d
I don't really care about that, seems like 4Chan level bickering at that point. I care more about the poor code pushed out.
Me too.
That said, lots of fun memories hanging around some skilled FreeBSD programmers in San Francisco years ago, with me busting their chops.
Their biggest complaint? Any cool driver fixes for "pc platform" USB , Audio, Network Cards, etc was lifted, duped , forked to OpenBSD , etc, then rapidly "stolen" AND COPY-LEFTED with GPL and shoved into Linux with new restrictive headers rubber stamped on all files... and crippled by GPL.
They REALLY really believe in totally free software and puke at hypocritical GPL2 GPL3 etc.
Rambler wrote
Donenfeld identified numerous problems with Macy's code, but rather than object to the port's release, Donenfeld decided to fix the issues. He collaborated with FreeBSD developer Kyle Evans and with Matt Dunwoodie, an OpenBSD developer who had worked on WireGuard for that operating system. The three replaced almost all of Macy's code in a mad week-long sprint.
A good response.
This went over very poorly with Netgate, which sponsored Macy's work. Netgate had already taken Macy's beta code from a FreeBSD 13 release candidate and placed it into production in pfSense's 2.5.0 release. The forklift upgrade performed by Donenfeld and collaborators—along with Donenfeld's sharp characterization of Macy's code—presented the company with a serious PR problem.
Not a great response.
This combative response from Netgate raised increased scrutiny from many sources, which uncovered surprising elements of Macy's own past. He and his wife Nicole had been arrested in 2008 after two years spent attempting to illegally evict tenants from a small San Francisco apartment building the pair had bought.
I don't really care about that, seems like 4Chan level bickering at that point. I care more about the poor code pushed out.
neilalexander OP wrote
Reply to comment by Rambler in Go 1.16 Release Notes - The Go Programming Language by neilalexander
It is indeed :-)
Rambler wrote
Nice. Isn't yggdrasil written in Go?
Rambler OP wrote
Reply to comment by J0yI9YUX41Wx in Executable PNGs by Rambler
Feel free to create it. :)
J0yI9YUX41Wx wrote
Reply to Executable PNGs by Rambler
I'd put this in /f/MildlyInteresting if it existed. :)
Rambler OP wrote (edited )
Today I Learned that error code 418 = "I'm a teapot" and error code 420 = "Enhance Your Calm"
Wahaha wrote
Reply to Vim Tutorial: Tips to Write Code Faster by Rambler
The simpler sales pitch is that vim can do everything you can and cannot imagine. Just do a search for what you want to accomplish and find out how it is done.
First time users should just go through vimtutor, which will start vim with a document that shows you all the basic functionality and let's you do all these things, so you can build muscle memory.
As for the things vim can do that you cannot even imagine: you can type stuff in vim, let's say text_A, then undo this and write something else, let's say text_B. If you now decide text_A is really where it's at, in normal editors you're fucked, but vim can actually get it back: with this plugin
abralelie OP wrote
Reply to comment by idk in Gitlab hosted on I2P by abralelie
It's a service hosted and administered by me, personally, and made available to the community.
I guess I misunderstood that.
Wahaha wrote
I don't know any good argument against open source, but that doesn't mean you have to open source everything you do. Decide for yourself.
There's some good arguments against using Python, though. Might as well read this and figure out for yourself what kind of code you want to write: https://suckless.org/philosophy/
DcscZx5idox wrote
Reply to For a new coder, what resources would your recommend? by Saint_Cuthbert
A famous super hacker recommends Lisp. See "Programming languages" and "How to learn programming" section.