News for hackers. Stuff that matters.
Re:Can you make a basic web app without Googling? I can’t by colecut on Friday January 29, 2021 @03:58PM (#25962454)
I remain living happily in the old days of PHP, somehow making functioning applications and being paid well. Life is easy and good.
Re:Can you make a basic web app without Googling? I can’t by animex on Saturday January 30, 2021 @12:39AM (#25966529)
My last interview: the interviewers said I was the only candidate who didn't Google any syntax or articles after being given a small 60 min development task from scratch. I was applying for a senior dev role and if I couldn't deliver a tiny web app, I wouldn't hire me either. I could have just solved the task procedurally but I asked if they wanted to see a more OO solution to demo a bit more knowledge. I think back to that time and think how poor my env/tooling was back 5 years ago compared to today. I'm way more powerful now. Version control. Docker up an entire server architecture now with separated proxy, web, db server, env configs, & more. I routinely challenge myself to starting scratch projects to test myself because I rarely work on greenfield projects these days. When I encounter resistance in the workflow, I work to solve the roadblocks. I think this is an important dev exercise that brings alot of satisfaction. Constantly improve your tooling!
Re:Can you make a basic web app without Googling? I can’t by TaylorAlexander on Saturday January 30, 2021 @02:36AM (#25967108)
Personally I make no attempt to write code without googling. In my position as a robotics engineer my work covers such a breadth that I guess I just outsource my memory to Google. I don’t remember the syntax for many common Linux commands. I don’t remember how bash scripts work. I constantly look recommended ways of solving certain problems. Google is just integrated in to my process.
Re:Can you make a basic web app without Googling? I can’t by beefield on Saturday January 30, 2021 @03:59AM (#25967471)
This applies to me as well. There are lots and lots of small things I do so rarely that I just can't keep the details in my memory. And I really would love to be able to type "man scp" and on the first lines of the man page to just get a couple of basic examples that I could basically copy-paste and change the server addresses to suit. But instead I get a ciphertext of all possible flags I can use, so in the end it is just faster to go directly to qwant.com and type "scp example"
Re:Can you make a basic web app without Googling? I can’t by axismundi on Saturday January 30, 2021 @09:34AM (#25969369)
http://cht.sh it does exactly that, also from command line.
Re:Can you make a basic web app without Googling? I can’t by MrMid on Saturday January 30, 2021 @07:55AM (#25968671)
Take a look at https://tldr.sh/.
Re:Can you make a basic web app without Googling? I can’t by huffmsa on Saturday January 30, 2021 @11:53AM (#25970625)
Re:Can you make a basic web app without Googling? I can’t by bcrosby95 on Saturday January 30, 2021 @02:43AM (#25967131)
It seems odd to practice things you rarely do.

I went one stint where I didn't start a new project for 5 years. Practicing new projects in that time period would have been a whole lot of wasted time.

Re:Can you make a basic web app without Googling? I can’t by enqk on Saturday January 30, 2021 @02:51AM (#25967171)
To make you less fragile to disorder. The things you do regularly are trained into you by repetition. You practice under developped skills to stay flexible and able to adapt.

Very similar to physical fitness. Sitting all day trains you to sit. And that’s making you more fragile

Re:Can you make a basic web app without Googling? I can’t by forgotmypw17 on Saturday January 30, 2021 @11:35PM (#25975989)
If you don't do it, how can you know what's going on inside and how it works?
Re:Can you make a basic web app without Googling? I can’t by Dudeman112 on Monday February 01, 2021 @05:55AM (#25987554)
I don't think practicing how to spin up a hello world web app from zero is gonna be very good at teaching you how it works inside.

Most of the inner working is hidden

Re:Can you make a basic web app without Googling? I can’t by colonelcanoe on Sunday January 31, 2021 @09:35AM (#25979090)
Do you need to know what's going on inside? Or can you trust a colleague who's responsible for that?
Re:Can you make a basic web app without Googling? I can’t by forgotmypw17 on Sunday January 31, 2021 @10:09PM (#25985096)
If you don't know what's going on inside, how can you claim to have an opinion about its reliability and suitability?
Re:Can you make a basic web app without Googling? I can’t by qwantim1 on Saturday January 30, 2021 @01:26AM (#25966777)
It’s impressive what you say, but I would hire someone that would need to google to develop something if they were to code it quickly enough and to code it well.
Re:Can you make a basic web app without Googling? I can’t by crooked-v on Saturday January 30, 2021 @02:22AM (#25967047)
Especially for the initial spinning-up part, given how rarely that happens compared to ongoing work.
Re:Can you make a basic web app without Googling? I can’t by jeena on Saturday January 30, 2021 @05:58AM (#25968087)
I think I would die from boredom if I had your job doing the same thing which I know how to do over and over again. Wouldn't you just automate something like that with a Factory in Java? Somehow my brain works the exact opposite if I already know how to do something without googling it then it's not interesting anymore and I move on to the next thing outside of my comfort zone.
Re:Can you make a basic web app without Googling? I can’t by astura on Saturday January 30, 2021 @08:44AM (#25968994)
The fuck?

I guess I know now why every other website pegs my CPU to 100% to slowly display static text and break the browser's back button - professional software engineers are "bored to death" when doing their job so they have to make things "interesting" in order to entertain themselves.

Re:Can you make a basic web app without Googling? I can’t by colecut on Saturday January 30, 2021 @12:18PM (#25970855)
I have a fiancee, I have a 10 year old child, She has 9 and 7 year olds.

We live together, I work from home, they school from home.

I manage to not get bored.

Re:Can you make a basic web app without Googling? I can’t by theonething on Saturday January 30, 2021 @01:58AM (#25966926)
Sounds wonderful. Is your company hiring?
Re:Can you make a basic web app without Googling? I can’t by whimsicalism on Friday January 29, 2021 @04:04PM (#25962529)
Do you live in Europe?
Re:Can you make a basic web app without Googling? I can’t by colecut on Friday January 29, 2021 @04:23PM (#25962750)
San Diego, California
Re:Can you make a basic web app without Googling? I can’t by hrjfkgkgk on Friday January 29, 2021 @05:06PM (#25963331)
it's hilarious. people using ruby and python and wondering why they cant build web apps without copy pasting stuff off of stack overflow.
Re:Can you make a basic web app without Googling? I can’t by viraptor on Friday January 29, 2021 @05:39PM (#25963706)
The question is not about stackoverflow, but googling in general. As in, without project documentation accessible.
Re:Can you make a basic web app without Googling? I can’t by hrjfkgkgk on Friday January 29, 2021 @05:47PM (#25963807)
in the php world you usually have decent man pages for webservers handling php requests and generally speaking php frameworks and packages have good inline documentation. also there is a package for anything you may need and and ide will usually give hints based on that documentation.

most frameworks come either with examples or commands to get your started. symfony even had their docs available for local reading as well.

with python i always have to delve into reading obscure documentation that either makes no sense or is not up to date. and there are too few packages for what you normally need in a scalable app. so yeah you can write php code without googling, as long as you are not a complete noob in web development.

if its 2021 and you still write code using vim and niche languages then you are doing it wrong, and indeed google is your only hope.

Re:Can you make a basic web app without Googling? I can’t by tannhaeuser on Saturday January 30, 2021 @03:39AM (#25967405)
> if its (sic!) 2021 and you still write code using vim and niche languages then you are doing it wrong

That's literally what I keep hearing since 30 years lol (for vi proper not vim, that is).

[dead]
Re:Can you make a basic web app without Googling? I can’t by selfhoster11 on Saturday January 30, 2021 @08:45AM (#25968997)
Please familiarise yourself with the HN Guidelines: https://news.ycombinator.com/newsguidelines.html

Please don't dismiss comments for grammar or spelling mistakes. These are not substantial criticisms of the argument being made, and are IMO a form of ad-hominem.

Re:Can you make a basic web app without Googling? I can’t by lovemenot on Saturday January 30, 2021 @08:00PM (#25974663)
I would be grateful, if you could explain which of the guidelines I may have transgressed. I read them all and searched "grammar". Nothing comes to mind.

My own comment was precipitated by the sneering tone I read in (sic!)

Which itself points out a grammatical mistake unnecessarily. Then compounds this, by making a more egregious mistake.

Really my comment was making the same point. Don't point out grammatical mistakes, which is the precise purpose of (sic).

Re:Can you make a basic web app without Googling? I can’t by viraptor on Friday January 29, 2021 @05:57PM (#25963923)
There's nothing unique here. Virtually all libraries and languages have local version of docs. I think you're too biased to continue in good faith argument.
Re:Can you make a basic web app without Googling? I can’t by hrjfkgkgk on Friday January 29, 2021 @06:02PM (#25963975)
they all do, its just that some are better than others. i dont actually like php, but it has plenty of advantages when it comes to quick web app development even without googling.

had a client once where its workers were day dreaming of a job in the valley and ofc they were using python. they bashed php on a daily basis, and as they were doing it, the php api was sole codebase running in production (essentially the company’s product) and running reliably for a few years.

the python workers were still struggling with basics such as queues and isc, and digging through non existent or vaguely written documentation. was a fun experience watching them struggle as i basically cloned repos, read the code or entry points for that code and get things shipped.

since then i started loving python. development is slower and my invoices keep coming. love it. occasionally i write some lib thats already been implemented in plenty of php and nodejs packages.

oh same client had a ruby codebase that kept failing and couldnt find devs to work on it. fun times.

Re:Can you make a basic web app without Googling? I can’t by dumb_troll on Saturday January 30, 2021 @02:52AM (#25967181)
The comment was about writing an app with no docs local or otherwise. That you hate python seems...irrelevant