2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions
comment 5y ago · link · parent
I see this 'style' many times in some docs. A bit of doc that basically describes the name of the function/class. But does not show why and how to use it, how it fits in the API system, and so on.
public void DoesXYZ()
Then many times a description of 'a public method that does XYZ' does not return anything.
It is exceedingly unhelpful but meets the 'it is documented' checkmark.
My next step would be to search for an example usage of that thing (usually landing on something like SO or some random training site). Then what sorts of items might it need to work. Why would I use it over something else? Some OK examples of what is going on goes a long way and what sets the expectation of the original dev on how they were expecting you to use it. So I end up spending some decent amount of time reading the tea leaves and if I am lucky the code itself to decode what is going on.
One feed back I consistently give to all vendors is 'your docs need examples and those examples need to be consistent with each other' If I have to open github and spend a few hours reverse engineering that code, and then also try to learn whatever language you thought was fun to play with 6 years ago, I am not going to be happy.
comment 5y ago · link · parent
I would wait 1-2 weeks after class started to buy books. Especially if the teacher decided you need 6 of them to finish the class. It was usually pretty clear which ones they were going to use by that point.
comment 5y ago · link · parent
I would go house shopping with friends and family. I would walk into houses that were basically amazing. But they would hate the backyard had not been mowed this week and nope out.
When buying a house keep an eye on structural, shape, layout, and location. Everything else is mostly decorative. For example I had to kind of move recently fairly quickly. So the apt I ended up in is very 70s. There is no fixing that structural. The owners have tried with paint and colors. But it still has a very closed in 70s build to it. No amount of paint will fix the walls that are in the way.
comment 5y ago · link · parent
comment 5y ago · link · parent
This application of blockchain seems to be only creating a chain of ownership. Which we already sort of have now with many things. It does not seem to bring many better properties with it other than one I can think of. That property is that it makes it harder to forge ownership.
The weird thing is coming from people creating NFT's for things that are basically not worth tracking who owns it. Then others buying that thing at a wildly overinflated price (which many digital easily copied goods fall into).
comment 5y ago · link · parent
If you want to understand why we ended up here you need to get at the root of the issue. Exemptions, tax breaks, and writeoffs. Once those were created there will be an accountant that will max/min that thing. You may think 'oh flat tax'. The problem is unless everyone does flat tax no one can. This is due to putting yourself at an economic disadvantage in relation to other countries. An interesting prisoners' dilemma if you will.
comment 5y ago · link · parent
What is really annoying is how over the place the USB ones are in quality and drivers. The rub is they almost work. In many cases they are fine. But some of them have very odd modes of working fine then becoming jittery. What is also annoying is you can find a brand that 'works great' then the next batch they switched something out. Then there are some out there if your software does not play with the rts cts 'pins' correctly the whole thing will get out of wack. So your can end up in a condition where it works rock solid on real hardware but the USB will refuse to work correctly because you did not follow the 'standard', or worse sorta work.
comment 5y ago · link · parent
The problem is these 'solutions' never go away. They are never revisited. So people just keep applying them because 15 years ago they had an issue with them.
comment 5y ago · link · parent
Another lesson I learned was not to be too quick to take other peoples left overs. I was really bad with computers for a bit on that one. A few trips to a local computer recycler later and that issue was cleared up. That is not even moving international that is this junk is in the way of things I do use. What was a little sad was one large stack of game magazines (2 decades worth). Like 2-3 weeks after I dumpstered the things someone on a forum was asking if anyone had them! doh! I am right now looking at a dumb period where I was buying lots of lego. What am I going to do with that? I have culled the 'easy' stuff. Now it is the 'what am I going to do with that' sort of items... When the reality is I do not really want to spend any more time at all on them. So that junk sits in boxes...
comment 5y ago · link · parent
My personal biggest issue is self interruptions. Mostly web sites that are distracting.
comment 5y ago · link · parent
I purged about half of my stuff a few years ago. I still have a huge pile of junk. On my next move more of it is 'going away'. It is in the way and takes up space.
comment 5y ago · link · parent
Which contains all of those and just tries them all. Been meaning to pop it all out and make a bash script of them to automate some of my stuff on a cron job instead of using a GUI.
comment 5y ago · link · parent
Now more Bob and Doug McKenzie I would be down with that.
comment 5y ago · link · parent
You do not need a lot of money to exercise. You can get in cheap. Mostly it is about setting up a routine and doing that. Basically 'procrastination is the thief of time' and 'by repetition I get things done'.
comment 5y ago · link · parent
comment 5y ago · link · parent
Renting makes sense if you can not afford it at all or only will use it for a small period of time. If you are going to use something long term you are usually better off buying that thing.
Also try to buy used equip. Many times people realize they did not really want to do it at all but made an excellent coat hanger. Usually it is in very good condition and you can save a decent amount of cash.
comment 5y ago · link · parent
All of these 'clean code' style systems have the same flaw. People follow them without understanding why the system was made. It is why you see companies put in ping pong tables, but no one uses them. They saw what someone else was doing and they were successful so they copy them. Not understanding why the ping pong table was there. They ignore the reason the chesterton's fence was built. Which is just as important if you are removing it. Clean code by itself is 'ok'. I personally am not very good at that particular style of coding. I do like that it makes things very nice to decompose into testing units.
A downside to this style of coding is it can hide complexity with an even more complex framework. It seems to have a nasty side effect of smearing the code across dozens of functions/methods which is harder in some ways to get the 'big picture'. You can wander into a meeting and say 'my method has CC of 1' but the realty is that thing is called at the bottom of a for loop, inside of 2 other if conditions. But you 'pass' because your function is short.
comment 5y ago · link · parent
comment 5y ago · link · parent
https://en.wikipedia.org/wiki/Articles_of_Confederation
That is why the one we are under is basically the 2nd revision of that.
comment 5y ago · link · parent
For example take Paris Hilton. When she had her DUI a few years ago her 500k car got repo'd. Wah? She stopped making payments on it. Payments?! Because she probably had it going through some business expense structure and was probably literally writing off the interest and payments. More than likely the original money was borrowed against an existing capital asset. If the sale price of the car did not make up the difference they had to come up with whatever cash was left over. Like most repos. But in this case it was a fairly flashy car that held its value decently well. So they probably took a small loss. But there was never any real risk to owning it.
Think of getting a HELEOC but running everything through that type of borrowing structure. But since you 'know a guy' you get the super awesome low interest rates. Which are business expenses. That flashy show of hers was a way to write a bunch of stuff off. Everything is an expense and a way to write it off your taxes. In some cases it does not even affect your taxes if you bury it in another company that is doing something similar that you control 100% of and just happens to be in a lower tax bracket. But gave you a sweetheart deal of leasing a yacht for a small amount per year for being such a good customer!
comment 5y ago · link · parent
Bottom line though is we are taking in about 3.5 and spending about 7. We are well past 'buy one less bomber'.
comment 5y ago · link · parent
2) have a budget. what can you spend per day? What is your current burn rate vs your new one vs liquid assets on hand? Are you OK with the difference?
3) when you start looking again what are your expectations? You now have put a hole in your resume. Remember companies like the idea of you can 'hit the ground running' so have a story for this. From their side of the desk you look like someone who can not get hired. They will use it as a filter. They have 200 resumes to look at and 199 have to go. Any dumb thing they can to kick you off that pile is one they will do.
4) do you have other obligations? For example car payments? Spouse? Parents who need help? etc? These may consume your time/money faster than you think or plan. As they will all say the same thing 'you are not working why dont you ....' Set boundaries.
I personally would not do it again. It was enjoyable enough. But the money anxiety I got was bad. Even not really having any debts or anything to worry about. It was just too much for me personally. I was not bored as I have plenty of projects I like to piddle with.
comment 5y ago · link · parent
At the end of the day the stack is closed out or put into bookmarks for later looking at. I then have a set of folders of 'look at later'. If later is greater than some time period I just delete the whole folder. Once a month I look at the overflow. Most of the time it is more of a 'why did I care about this' and just blow it away. It is a variation of the empty mail box. Inbox needs to be done. Then the 'done' folder. There is no real stack or tree. That way lies madness (I have tried).
I try to keep my tabs in context of whatever I am doing. I max out about 10-20 (6 at the moment). Past anything like that and most of them are useless.
Bookmarks are for 'I know I will need this in the future' everything else I can search for again.
comment 5y ago · link · parent
Java as a language is actually tiny. So are most languages. Most of the pain is in the tools, build chains, and libraries that go along with them. Also sometimes what works very well in one lang is a pain in another. For example the dictionary in python has no real equivalent in C, unless you use some lib or write something yourself. In java you would need a map or hashmap class and knowing it exists sometimes is the biggest hurdle. But at least it is in the std library. So sometimes those sharp edges bite students as they are first starting with new langs and have decent exp in another language.