Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

01-04-2019 , 12:58 PM
Quote:
Originally Posted by ChrisV
He didn't say he can't write bash scripts, just that he'd have to look it up. Seems reasonable?
And life is open-book. If you generally know, but have to take a second to google syntax or something that's nbd imo. People use a lot of different languages.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:02 PM
If that’s what he was saying, OK-but the overall tone didn’t seem to imply that to me when I read it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:05 PM
With any kind of systems level programming it’s very easy to write a working script that completely breaks when you move it, some assumption changes, or something gets updated a few months down the line. I think that’s where the real skill lies, not in knowing syntax. I can never remember syntax for anything I use.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:09 PM
Or instance we have a person who writes extremely pretty code, can kick the crap out of me in a competition between the gnarliest piped grep/sed/awk commands and can generally write prettier code than me. But her stuff never works after more than a month because she makes too many assumptions. Like grep’ing output for “fail” to determine if a test failed, smh
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:12 PM
Quote:
Originally Posted by jmakin
With any kind of systems level programming it’s very easy to write a working script that completely breaks when you move it, some assumption changes, or something gets updated a few months down the line. I think that’s where the real skill lies, not in knowing syntax. I can never remember syntax for anything I use.
What do you do about that? Detect operating system version or w/e is relevant and send an alert and not run the script whenever it's not what you allow? I mean, I'm sure that could be good, but do you do it in practice?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:37 PM
Quote:
Originally Posted by jmakin
That’s not what i’m trying to say - i just think if you’re gonna proudly brag about not being able to write a bash script, you shouldnt ever touch anything serious in a *nix system. They’re not super complicated nor should they be.

If you wanted to write a simple installer script for a linux system that should be something anyone halfway competent should be able to do, if the need arose - obviously that’s not something everyone will have to do but idk it’s just a weird “brag” from that guy. Like i get the overall point is just you dont need to be a l33t systems hacker to be successful but that doesnt mean you should skip over the basics of how those systems work.


What’s serious though? Can I change system setting like open file limits? User permissions? Write cron jobs?

There’s a bajillion things you can do on an operating system and thinking that bash scripts is some sort of gateway skill for all of them is silly.

And why not skip over basics? Skipping over basics of things it turns out you don’t need to understand is the foundation of computer science.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:42 PM
Quote:
Originally Posted by jjshabado
What’s serious though? Can I change system setting like open file limits? User permissions? Write cron jobs?

There’s a bajillion things you can do on an operating system and thinking that bash scripts is some sort of gateway skill for all of them is silly.

And why not skip over basics? Skipping over basics of things it turns out you don’t need to understand is the foundation of computer science.


Again that’s not what i am actually saying.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:44 PM
I don’t really get what you’re saying then.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:52 PM
Quote:
Originally Posted by microbet
What do you do about that? Detect operating system version or w/e is relevant and send an alert and not run the script whenever it's not what you allow? I mean, I'm sure that could be good, but do you do it in practice?
I don't know and certainly am not trying to present myself as anything other than a novice, but I've had to review a lot of code lately and here's the main things I notice people do that really sucks for me to try to maintain:

- Using a lot of external software dependencies, I avoid these unless absolutely necessary and stick to common commands that don't change much between unix based systems. For instance I never use find because its implementation and parameters change too much between mac/centOS for instance. I also don't use host or any of its associated commands for similar reasons. Stuff like that.

- Hardcoding file paths, or using a lot of relative file paths. This is the worst offense to me. I try to use absolute file paths for everything and to use locations where I know things will always be and keep it as simple/readable as possible. I see a lot of scripts that bounce between directories 40 times and you read it and you're like "where the **** am i right now?"

- Doing stuff that depends on output being formatted a certain way. Grepping output to determine some thing - I really hate this but sometimes it's unavoidable.

- hacky stuff like modifying source files with sed. **** that ****, just don't do it, there's almost always a better way.

- Piping 5+ things together to do some thing, completely unreadable and usually avoidable.


just a few things off the top of my head.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 01:53 PM
Quote:
Originally Posted by jjshabado
I don’t really get what you’re saying then.
im not saying bash is some gateway to understanding linux. I'm saying if you understand linux you can write bash. That's all
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 02:27 PM
Quote:
Originally Posted by jmakin
im not saying bash is some gateway to understanding linux. I'm saying if you understand linux you can write bash. That's all


If you understand one part or a subset of Linux, sure I guess I agree with your comment. But it’s an operating system and so pretty complex. You can have only a very simple understanding of command line functionality and commands and still understand other very complex parts.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 02:41 PM
Writing a language like react is more like UX for developers than an exercise in bleeding edge engineering. And it's definitely not something that requires a super-broad full-stack skillset.

If you read Abramov's things he does know - it's obvious he's very UX focused. Writing a good framework has a lot more in common with UX than it does with writing an efficient algorithm imo. You need to be hyper-empathetic to your end users (in this case developers, and actual end users to a lesser degree) - which is a completely different skill than engineering, and one that often doesn't go hand in hand.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 04:22 PM
Quote:
Originally Posted by ChrisV
Like everything, stereotypes have a lot of people who don't fit them. Certainly think "those who can't do, teach" was relevant to my story as well.
I mean, that's still a terrible stereotype, I had multiple great professors in college who I learned a lot about programming from.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 04:24 PM
I had pretty good teachers for my $13/credit hour programming classes at SF City College. Certainly can't complain.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 04:30 PM
Incidentally, one of the first programming books (C Primer Plus) I ever got happened to be written by a guy from College of Marin. It was a great book.

(for non-locals, that's a community college in Marin County)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 04:34 PM
I don't use Python quite enough, but some of you might find this cool/useful: Coconut, a superset of Python adding functional stuff to the language

Featuring things like:

Quote:
pipeline-style programming

"hello, world!" |> print

prettier lambdas

x -> x ** 2

partial application

range(10) |> map$(pow$(?, 2)) |> list
(from what Python I do use, their lambda syntax does seem utterly horrible)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 04:45 PM
Quote:
Originally Posted by goofyballer
Incidentally, one of the first programming books (C Primer Plus) I ever got happened to be written by a guy from College of Marin. It was a great book.

(for non-locals, that's a community college in Marin County)
I took Java there - same price. Never did find out my grade.

I took C++ and Perl at CCSF.

Both colleges shared some of the same teachers with Berkeley Extension - which was like 10x more but probably still cheap by today's standards.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 05:46 PM
Wow I just got called in for a performance review, only positive feedback and they gave me a 20% raise and more stock, that starts like next week. I am blown away - I was gonna ask for 20% at the end of this quarter, and pray for 10%, but this works. I didn't even hint at it yet. That's really cool, I am so glad I chose this place, even though it's been kind of difficult.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 05:55 PM
Congrats jmakin! Keep doing awesome.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 05:56 PM
Nice. Congrats!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 06:01 PM
Congrats!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 06:05 PM
Nice job - sounds like taking the initiative on your process re-org thing really paid off.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 06:05 PM
Quote:
Originally Posted by OmgGlutten!
Vue > React
angular>>
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 06:08 PM
Good stuff jmakin!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
01-04-2019 , 06:09 PM
Quote:
Originally Posted by Victor
angular>>
Web components ftw! On pace to be standardized around 2030, implemented in browsers about 2047.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m