Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I think Google's spam filter got hacked... Got 2 spam emails with those fancy printed subject texts... In the past 1hr2
TLDR why do I need to be like a competitive coder just to get a good job?
Why does being very good at technical interview questions beat having a portfolio of actual apps built using technology, tools, and skills that are much more relevant to the needs of doing the actual jobs?20
Because I finally got tired of closing all the Notepads I open.
Sorry though, it's in NET.
Basically 1-click Save and Create (CTRL+S, N). Dumps it all into a JSON file.14
Was motivated to do a project with ReactNative for Android but already stuck.
I need to read a SQLite DB file from /data/data/some.other.app/database/DB.db
Yes I am rooted.
1. How does I request root from the App (Android Pie)
2. What SQLite npm package can load from an absolute path. I found a few libs but they don't seem to be full access, just for dbs in the app's own data folder.8
I was doing something in Git, switching and I guess another process was doing a fetch and now all the files no meter what bench I'm in says Unstaged/Untracked.
I tried deleting the main branch and checking it out again from remote but nothing.
I have no idea what I did or how to fix... Seems like I need to delete the whole folder... But then I'd lose any changes in feature branches out local branches which afternoon checked in....8
Apparently USPS tracking numbers are case sensitive... I missed a delivery today so went online to check the status.
The code was RAxxxxxxxxxxxxxxxxxxxTR
I first typed the letters in lowercase and it said package not found...
Really???!!!!!! Don't you think all those numbers are already too long...3
Whenever I go out for a walk now, I get a monologue in my head about everything wrong with my team... But using managerial terms like man-month, velocity, chaotic, context switching costs, lack of processes and standards, need for more slack, too much low value busy work, technical debt, scope creep, (violation of) the two-pizza rule... by a lot7
Is there a HTML scraper library for JS/NPM like Selenium or HtmlAgilityPack where I can find elements by ID, XPath, element type and their attached attributes?8
Migrating an existing report from old system to new.
Business: We reviewed the differences you raised and why they're acceptable and this seems fine. But before we provide approval for your productionization, we would like these changes...
*1 month later, changes are made*
Business: you reported new differences. We can't give you approval until you tell us explain them all
Can someone give me a new job so I can just walk in, say fuck it, I quit!!!"
Sometimes I just want to do that now but getting a new job is hard.... for reasons unrelated to how well I can code...
I have so many things I could be doing, either fun or not fun, I wish I could spawn children (processes) to do them all and just return the memorable moments and results to my brain...3
I always thought J2EE was like a completely different thing from general Java. It has features like Enterprise management beans, special packages and has it's on Project type, structure in IDEs.
But it seems like it's not actually that different? If you use Spring, Hibernate, custom library annotations and build a Servlet, web server with @POST, @GET or use Serialization... And maybe use JDK instead of JRE, Maven, Ant... apparently that's considered J2EE?9
When you code during an interview using a coding platform like HackerRank out even on a whiteboard, do you spend time memorizing the actual the import statements?
When I usually code, and I need to use like a Queue, when the IDE asks which to import, all I do is look for java.* rather than an external lib. Or for Date, util.* Not sql.*
After you expected to know the full paths?1
But I get this mail and it's like u gotta be shitting me....
1. You give me $50K on a 500k house
2. If it goes up 100k, you get 40 + (80% profit risk free) the original 50
3. If it goes down, I lose the original and still owe u 10k (20% of the original)4
I think I may have just had a bit of an epiphany...
Algorithms and Data Structures are sort of like libraries and frameworks.
JS is probably the easiest example since npm has a lot of libraries.
For most cases, underscore.each and lodash.each $.each achieve pretty much the same thing except one maybe better in certain cases.
And data structures are sort of like Angular, React, Electron, ReactNative. Each has its own purpose or style and are good for solving certain types of problems?
So day-to-day you don't really care what Sort() algo you use.. unless you really need to perfoarmance tune it for a specific case.
And data structures, depending on the type of problem you have, one is easier to work/think about the problem in although not examply... Usually have to use a few of them at once.
How is this going to help me in interviews... I'm not sure... other than reconfirming that knowing specific implementations of Sort and Trees is usually BS... most of the time just need to know you should Sort or use a Tree...
Does anyone work on a team with multiple stacks?
For example we have batch jobs in Java but also have a JS front-end and APIs.
How do you divide the developers and the work across these projects?
Currently everyone does everything but I feel like this is inefficient and hard to develop expertise. And different people or even the same person will make the same mistakes over and over again because they don't know how to do X or they forget or overlook some quirk. When I switched Beck to JS took me like a week to get a Promises nailed down again. And this morning someone else had a production bug and couldn't figure it out. But when I looked at the code I could pretty much see where an issue could be (uncaught exception in a promise)
Also the testing frameworks are very different and there's a lot of infrastructure technical debt, things that really should've been done a long time or fixed but no one had the time or expertise to do it or notice it (until it causes a production issue and then everyone is like WTF is happening??!!!!).
I'm not the manager but I always feel that the team needs to be split along the language lines and specific people need to own these projects to review and code changes for all these common newbie errors. And also developer enough expertise to foresee problems before it becomes a production issue.9
So technical interview time but whenever I look at algorithm, data structure questions now I feel demotivated... it sort of feels like boring pointless work.
But if i remove the context of preparing for an interview and say I have as much time as i need, it feels like a logical puzzle, challenge, something interesting I could use to kill some time, learn something new...
It feels like there's a divide like how I can go on and on about my personal projects but if you ask about work projects, I give you the boilerplate or have to really think about what to say...
And so now I'm feeling fucked for the phone screens and algo interviews that I'm supposed to be having soon... and let's just say one of them may be with a really really big tech company...
Is there an SSH app like Putty that can login to multiple servers at a time and execute the same command?
We have multiple servers and trying to locate a request in the logs. The structure of all the machines are the same so I want to just toe each command like CD, grep, etc one time and see the output from all of them.
Rather then logging in one by one.27
A lot of the skills I use at work are actually learned on my own time. And a lot of the time, it feels like I trying to drag the team forward but everyone else does things that drag them, and thus me as well, backwards.
There's always work but most of it is low value and there's just less and less time to make things better because no one else has any opinion of how things should be...
Maybe I should just give up... Again....
I really need to find a better job or at least one without so much technical debt.
Feels like actually my PM is exactly like the name of in Phoenix Project... But I guess he'll never take any meaningful action.
But when I'm not sure what that is... Guess it really is hiring the right people and doing things right from the start, it at least fixing them immediately.
**END internal monologue and summary**
Hm.. I wonder if maybe Google finally hired a deaf person....
This stuff is the main reason I wanted to work for Google.11
Is there some app that can record my internal rants and conversations?
The problem is I only have them in spurts when I'm outside or not at a desk and then can't remember then if I want to write them down later. Plus I think if I were writing them down as I thought it out, it would disrupt the flow...6
I Just realized that during my sort conversation with my boss tonight where I said I haven't learned anything new from this job in years. That usually I bring what I learned during my own time to work. He said "didn't you learn something new investigating this issue?"
NO I DO NOT WANT TO FUCKING HAVE TO HAVE A PROD ISSUE IN ORDER TO LEARN SOMETHING NEW....
Agree or disagree?
In algo terms ELK is like going from O(n^3) to O(ln(n))
I actually just said that to my boss.... after finishing running my version of analyzing the issue...6
Another follow up. All these apps I m using to analyze the logs now, I apparently built years ago when I had 20% time or slack.
Even I don't remember that I already built some of them...
I was actually thinking ", wouldn't it be great if we could download all the logs at once for a specific API and date?" and then I open my AiO WPF app and it has button titles Logs Downloader... and it's located next to another that I found a few days ago, Logs Analyzer.
This stuff is going in a blog post I hope.... So guess you can just think of these as keynotes.
So following my previous post, the issue happened again. And actually for background what I've been telling my boss, for years, we need ELK setup and integrated into all our APIs ASAP.
I think it's a punishable crime if any program is released into prod at a tech company with out real time logging/monitoring built in?
So issue still happening, user sent us the request details. So now need to find the actual now that handles the request and look into it's logs to see the details.
Now he's doing it the hard way.... Just finished took 1hr, and the best answer her can come up with is "I think .... Maybe ..."
And if course this is based on infinite data. He stopped after finding a "probably cause"
I have a script that is like promotion ELK, downloads all looks and parsed then so I can run queries to pinpoint the exact call and which log it's in. And can see what's happening around it.
We'll see what my way find but definitely does not take more than 1hr...
Loading data maybe but that's because it needs to download the logs and parse them all...
On a side note, guess I'm Beck on devrant as I have something to rant about. Though it's the same something that I was wanting about years ago... Monkeys...1
Anything that I can make a computer do but can't because my boss doesn't think it's a good use of my time...
I have a lot of those now but can't automate them because.... I'm too busy dealing with them...4
Ok I completely lost it... Been in a prod issue all week and basically just said the root cause is bc this team is blind....
Use the forest and trees analogy first but they still didn't seem to see it so I sent them this.
And then the chat went silent....2
Ever since I became deaf and realized being good at technical algo ds > actual experience coding and building apps...
And was reminded of it recently... job hunting sucks...
Oh and one of my "friends" just landed a $200,000 job at a hedge fund... I'm pretty sure I can kick his ass at coding a real problem though...8
Upgrading my tech skills.. Once again I feel my personal my personal dev environment and told are much more up-to-date than what I use at work.... Though the book Kim reading is on TDD and was written 3 years ago.
Maybe I should read another on in cloud services and ML... but don't have any motivation for these topics.
I need TDD for work because now we're emphasizing unit test coverage...
I usually only use manual functional tests to verify the final outputs as either the testing framework is broken (JS) or I don't have time to relearn the frameworks for the particular language...
Anyway got off topic... So questions after:
1. Do you ever feel your technologically always more ahead than what you do at work and essentially you bring skills to the job but you don't learn much out of it?
2. How do you test? I actually got into a bit of a argument/discussion with my colleagues about how to implement unit tests. Apparently there are 2 ways to test? Black box vs WhiteBox. She said she tests only Public methods using mock inputs, dependencies. She read online and seems there is an opinion that should only test public functions and if you can't then your app is designed incorrectly, not separated enough.
For me I test the private functions individually (WhiteBox/Java reflection) because the public one is like generateReport and as a whole is like a Pachinko machine, too many unique paths that would need a test case for.
So thoughts? Yes sorry for turning it into a remake I guess...25