Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions

Submissions

comment 4y ago · link · parent

One place I worked at we had a nice little 'golf clap' when the build worked. Then of course you had to have the the 'missed the putt groan' when it failed. Nice feedback from 3 offices over and you did not have to sit and watch it. Fun times...

comment 4y ago · link · parent

Are you sure about that? Even in your own life? Why did you eat the dinner you had last night? Was it because the caloric intake was the proper amount you needed for life? Or were there other reasons? You liked the taste? Just felt like it?

many decisions we make are shortcuts in life. Maybe at one point something was a rational data decisions. But you can turn that into a 'gut feel' very quickly with little thought.

Changing someone's opinion with facts almost rarely works. Unless they do not care about the outcome. Then you can easily change their minds. Something like 1+1=3 'hey you got that wrong' 'oh yeah you are right its 2'. That sort of fact decision is easy to 'fix'. But which steakhouse is the best one on the market? You will get lots of opinions and anecdotes. But there are known and sometimes manipulative methods to change someone's opinion on those things. Edward Bernays methods are usually manipulative and use extensively in politics and marketing campaigns. I usually personally use a more questioning methodology. You also have to get past the idea of 'right vs wrong' also, and be willing to change your own opinions. If not fact methodology usually makes people dig in and ignore you.

comment 4y ago · link · parent

I get that. Just remove the 'extra'. That is a good first pass. I was thinking the longer term you want to show the 'original' higher in the list? Wouldnt you? What sort of criteria would you use to make it so it shows one copy vs another? Probably in many cases it probably would not mater much. But if you wanted to figure out linage of imports it could be? Some projects could have thousands of forks. Yet only maybe a dozen of those actually have anything going on. Those would be more useful to show?

comment 4y ago · link · parent

That would be a tough problem. As de-dup you probably want to show/point towards the 'original' tree. But which one is the source? Or even worse someone abandons a project but someone else forked it and kept going should it show that one instead? Or should it show the one it was forked from depending on the version number. Which one is the 'true' repo now? Most certainly an interesting problem.

comment 4y ago · link · parent

I have a nice coffee mug that I got for the end of a multi million dollar deal. I dont drink coffee. They would not have got that deal done without me. As I was one of two people on the planet who knew how that code worked and the other dude left years earlier. They then wondered why my productivity jumped off a cliff.

comment 4y ago · link · parent

At one point I was porting between different C stacks. I found they would compile just fine. It was when you looked into the details of the different CRT functions you would have some real fun. For example printf is an evil function of randomness, where the parameters are identical but the way it would decode that input string was highly dependent on when it was written and which stack it was in. Now today you have basically 3 different compilers you have to worry about and they mostly act the same now. It is just as you move between libs that it can sometimes get a bit crazy if they use any sort of if/def to change the way some features work (glaring at you pthreads).

comment 4y ago · link · parent

It gets more odd for the next few years.

See 'Sound Recordings Published' sections https://guides.library.cornell.edu/copyright/publicdomain

comment 4y ago · link · parent

I agree about the bash+ansible bit. For me it is usually using ansible to push bash scripts to some remote machine. Those remote machines may or may not have python or ansible. So ... bash for those bits :(

comment 4y ago · link · parent

I know you are being funny. However, it does make me think hmmm... Is there any advantage/disadvantage to not handing out something like a /120? Or is there something else at play like in the way auto discovery is working? I am not familiar enough with it to say.

comment 4y ago · link · parent

hmm, I can take a stab at that. I have extensively used both. Ansible is pretty good for 'get something or set of machines into a particular state'. Python is pretty good for 'run these bits and give a nice error if something goes weird'. The 'error path' is where ansible falls down for me. It can generate some very strange ones. Also its yml syntax can sometimes create odd issues with people who have not used it before. Ansible is also terrible for any sort of data processing. It is very good at iterate over a list and do this action to those items though. I recently did an audit script using ansible. Because I thought hey I have this cool tool to do it. It was a mistake. It probably would have taken 1/3rd the amount of time to do in python. Also if someone (probably me) has to extend that script getting the yml right will be tricky. I also recently used ansible to write a bunch of upgrade scripts. It was a breeze and would have taken much longer to do in python. In my case many times you have to write to the lowest common denominator. So bash it is, with some sort of central ansible setup controller.

comment 4y ago · link · parent

I think it would depend on which system you were introduced into. Also 99% sure in my classes in the mid 90s they taught stack push. Which made sense as registers were pretty valuable. It was not until RISC came along, and register renaming, that you could consider 'wasting' them on passing args in the general case. In the 'DOS'/'Win16' world calling conventions were all over the place. You could get into trouble real quick if you did not pay attention to those calling convention modifiers. Especially if you were using libs from different compilers. In the linux world where you can control the whole stack it is easier to say 'this way and if you stray away from it, good luck'.

Small sample of the remnants of that in the DOS world. https://docs.microsoft.com/en-us/cpp/cpp/argument-passing-an...

comment 4y ago · link · parent

No kidding. The number of projects and developers that I see that refuse to use the tools is quite interesting. One project I worked on dozens of engs say 'your code is so easy to read'. Then one dude comes along and it 'gives him a headache'. He also spent way too much time refactoring and renaming things. He became obsessed by it. Every few weeks changing the spacing, indentation, and naming conventions. Then expecting everyone to keep up with whatever decision he made at 10PM on some random Friday 3 weeks ago in a fit of open every file and change everything. He looked like the hardest working person in the group but he was adding zero new features. It killed the project. The worst are the groups that say 'everyone is a professional we do not have to deal with that'. You then end up with dozens of modules with whatever rando style they happen to like that day. Pick one. Put it in the tool. Stick to it for a decent amount of time. If it is not working bring it up in a meeting.

comment 4y ago · link · parent

In the US that really depends where you live and where you are at in your career. If you just started a year or two ago that would not be out the realm of possibility in the US, in what many affectionally call 'the fly over states'. Depending on where you live it can be a lot less or more. If you have 10+ years 100k+ US (90k UK) is not unreasonable at all. You see very large comp packages here as that is what the VC companies talk. They also usually include in the comp package things like parking, your desk, the building you work in, health insurance (usually at least 12k per year), the nice dual screen computer, any 401k contributions, RSU that has not matured yet. Basically anything to make that number seem huge. One company I worked at they were saying I had a comp package of 250k yet I took home closer to 110.

But take home base pay is usually in line with whatever area your are living in and the amount of exp you have. Everything else is bonus. That bonus is usually bandied about in interviews but sometimes never materializes.

comment 4y ago · link · parent

I have them, and have had them since I was maybe 4. They work up to a point. This is more along the lines of need bifocals.

comment 4y ago · link · parent

At one company I worked at we had an 'out of coverage bucket'. It was a zinc plated steel bucket. Worked almost every time. Some dude had found at an arts and craft store a very small version of the same thing. It fit over phones perfectly. Basically put device on ground. Put bucket over it. If you had any gaps or any cables hanging out it was sort of iffy and you would get coverage sometimes.

comment 4y ago · link · parent

Same. At one point I could easily read 4pt fonts. Now everything is a blur.

comment 5y ago · link · parent

For me I have 3 variations. Blank page, some search landing page, or my.yahoo.com, thought the last one I am moving away from as less sites have RSS feeds.

comment 5y ago · link · parent

Plex and its father KODI are very good for local. There are plugins for external stuff. But the quality is kind of random and subject to the whims of whatever SaaS they are scraping.

comment 5y ago · link · parent

That sort of trick is a terrible opener. You want something simple for an opener. A 'tweener' trick yeah something like this is OK, but read your audience. I may have binge watched all of scam school.

comment 5y ago · link · parent

For many searches like that I use 'tools->all results->verbatim'. Seems to help.

comment 5y ago · link · parent

I remember one of the documentaries he was openly talking about how he locked out competitors when at atari. He did it by buying up fab space in any company that could make something for a competitor.

comment 5y ago · link · parent

The chipset the qcom modem they are using probably supports it. Would depend on the firmware and sometimes a grounded pin if it is on or not. Much like FM radio in many of these devices is 'there' but not turned on/wired up. For the new chipset that Apple is making I seriously doubt they would support that standard, esp if the big telcos are turning it off. But it would depend on what sort of contract they have with the telco.

comment 5y ago · link · parent

Hmm, I can take a stab at this and probably be wrong myself.

Money like everything is a market. There is a supply of money and a demand for money. If the demand remains constant but the supply is curtailed in some way I could see the value of the good exchanged going up. Now if you make the argument that this action would decrease the demand then yes the value should go down?

comment 5y ago · link · parent

hmm good point. Assuming they started with a similar code base it could be useful too.

comment 5y ago · link · parent

I still fall into that same trap. Oh wow these guys amazing (they probably are). But when you watch a presentation it has this weird effect of compressing what took them weeks/months/years to do into a 45 min presentation, making you feel really bad. I try to remind jr devs the same thing. I am showing you this thing I have been working on. They had no idea I was working on it. But suddenly I have hundreds of lines of code and it all 'just works'. It makes me look like a wizard to them. But I remind them I spent the past 4 months working on that thing, do not feel bad or stupid. It just takes time and failing thousands of times over and over.

comment 5y ago · link · parent

I have been toying with doing this to simtower for awhile. The disassemblers are a bit all over the place with respect to Win16 NE code though. Bit annoying to do though as it uses a decent amount of the win16 API so those bits have to be done too sometimes to figure out what is going on. Though it is fairly decently documented so you can block off the game bits from the win16 bits and just skip past the crazy way win16 loads dlls up.

comment 5y ago · link · parent

I did it accidently about 5 years ago, structured layoff and wildly good severance package. Had enough for 3-4 years of coasting. What I found for myself personally is that I did just that, coast. I did not have any great plans to do anything. I went back to work because I was bored. Days of YT, video games, and coursework can be interesting and all but after awhile it wears thin and I personally wanted to work on something a bit more interesting. But I had no 'interesting' ideas of my own. So I got a job and borrowed someone's. I lasted about 7 months before I was ready to go back to work and started applying anywhere. Would I recommend it? Not really. It may be time to jet from this place though.

comment 5y ago · link · parent

Elon is hyper focused on one task. Go to mars. Everything he is doing is that. Orbital network so you can talk to each other. Boring company to dig places to live as the surface is probably too harsh. Electric vehicles and solar to move around the surface. Reusable rockets to dramatically lower the costs going there and back. To move the amount of material to build a city there is going to be daunting the rocket cost was one of the large outliers. Think he said that cost had to come down 10-20x for him to make this happen. SpaceX is doing research and they are willing to blow up rockets to do that. NASA seems to have lost the taste for that years ago.

comment 5y ago · link · parent

One cool use I saw of it was in the instruction decoder for bochs. Duffs device is really nice for decoding instruction sets that are not necessarily regular in size (such as x86).

comment 5y ago · link · parent

That was the plan. But never got to the 'super saturation' point where it would no longer melt in. Knowing what I know now I figure the temp was too high. Least I got an A as I had pounds of crystals. We added flavoring and coloring to some of it and gave most of it away.
1
373839
59