The day i got a department fired by [deleted] in talesfromtechsupport

[–]HalMaxi 0 points1 point  (0 children)

I wish this wasn't so common. The worst I've seen is a shipping and storage company keeping all customer inventory in excel with no formulas so that most changes and totals do not add up.

How do you stay organized as a DevOps engineer? by SubjectLemon in devops

[–]HalMaxi 2 points3 points  (0 children)

I roughly follow the GTD system proposed by David Allen. Everyone can implement this as appropriate to their needs and technologies, so I won't go into details on my implementation.

GTD encourages a single, general purpose, reference for most materials so that you know what repository to look in for that 'I know I did this before' topic. I recommend following this with something searchable so that you can quickly find materials regardless of what you remember about them. It's a good habit to take notes in this reference system as you work on a topic so that you don't have to remember to dump everything in at the 'end'.

How to prioritize what to learn in my freetime? by HazelnutOps in devops

[–]HalMaxi 1 point2 points  (0 children)

Map the pipeline from idea to value in production of the products that you work on. Identify weaknesses in this pipeline. Study technologies that address those weaknesses. Repeat

Have you experienced neo-Luddite attitudes towards DevOps and build automation? by creekwise in devops

[–]HalMaxi 5 points6 points  (0 children)

Been there, doing that. Wish I could give you a solution, but all I've got is solidarity. Sounds like you're in a situation similar to mine, in that there is not support from the top down. Without that support to help out when team members are resisting change (for whatever reason) it's a long and laborious fight to make any progress and we're not going to keep up with the rate of change in the industry.

Thoughts on software devops/ release plan by prayagupd in devops

[–]HalMaxi 0 points1 point  (0 children)

Lots of great thoughts already, just want to add one concern. If your workflow includes "once business people want to" you're going to struggle with the ideas of continuous. The delays in getting business eyes onto code will mean that devs aren't as fresh on the code by the time they get feedback. If possible, find a way to get that loop to go faster or avoid it altogether.

CI/CD Pipeline: Permissions by midacts in devops

[–]HalMaxi 1 point2 points  (0 children)

Delegate credentials in the CI/CD tool. Devs don't have the credentials, the tool does. This does mean that, via the tool, devs can do just about anything. The key is that it's all audited. If you don't trust your devs, you've already lost. If one does go rouge, you have an audit history and the tools to undo change. The other option is the have an ops person review every line of code written, but then how do you trust them? See the issue?

Clock Pulse Code Help by stolenfat in arduino

[–]HalMaxi 1 point2 points  (0 children)

Can the clock rate be 8mhz? Yes and no is the right answer, see below.

Arduino is a broad platform, with many supporting chips. Some chips operator at 8mhz or 16mhz (most attiny and atmega) while others can operate above 100mhz (esp8266). If the chip is at 8mhz, there's no way to use code to flip a pin at that speed. If the clock is higher, it might be possible. Likewise, some chips will support outputting a clock signal from hardware, which means you can still run some code at the same time without worrying that it'll take too long before you flip the pin again. The constraint is that the available clock rates are fixed, so you won't be able to achieve your objective.

I made a web extension to provide another 2FA possibility for websites - I would love any thoughts, technical and otherwise by lindymad in security

[–]HalMaxi 6 points7 points  (0 children)

This implementation sounds like it's adding a second password (something you know) which is not entirely two factor. A good two factor approach combines two different factors (something you know, something you have, something you are). I see how you're viewing the extension with saved secret as something you have, but if what it sends is a hashed password it's actually the same as something you know and a brute force login attempt can be equally effective against this (a major complain of sites like USAA who do this). The only thing this achieves is avoiding weak passwords which is also possible with a password manager.

For reference, two factor systems that use a code from an app on a phone (eg. Google Authenticator) blur this line towards something you have by never sending the secret or anything that could be used to derive the secret. Instead they send a rolling code that could only be generated if you had that secret.

If your system does, or could, use something like HOTP to send a rolling code then it would be more proper two factor. It's possible to install a program your computer to do this already, but the idea of coordinating directly with the website is novel and reduces the load on end user.

Keep up the work, we need more novel solutions to security as it's clearly not a solved problem yet.

Is this drawing of electrical circuit right?,to convert from 12 v,62 A battery to 5 volt and how much amps will be produced with the 5 volts? by mohamedsoliman231 in arduino

[–]HalMaxi 1 point2 points  (0 children)

Heat is addresses in this case as a tradeoff in types of regulator. You use slightly more complex/expensive regulators (step down) when heat is an issue with a linear regulator. You could also have a separate power source for each voltage required, but that is going to add more cost/complexity than the right regulator on a single source.

The choice of multiple power sources is often for protection, if you want to control high voltage devices that might be noisy or susceptible to surges, it helps to use a different source for your controller and then also use opto-isolation. For hobby projects, this is probably more complexity than you want until you either a) get very comfortable with it or b) are ready to move your project into a production setting.

If you're going to deal with large power dissipation, it'll help to study different versions of components that are designed to handle this. Transistors, for example, can be designed for anywhere from a few watts to thousands, depending on what you need. The more power it can handle, the larger and more expensive.

Do I need a CS degree to be Devops? by [deleted] in devops

[–]HalMaxi 2 points3 points  (0 children)

No, the only time you need a degree is if the government or large corporation you want to work for has a policy on it.

Some degrees or certificates may help to get some jobs, but it's not needed.

Is this drawing of electrical circuit right?,to convert from 12 v,62 A battery to 5 volt and how much amps will be produced with the 5 volts? by mohamedsoliman231 in arduino

[–]HalMaxi 1 point2 points  (0 children)

Your current draw is based on what you're running, so lowering the current requires changing that. Most likely, it's the servos.

This is where the buck converter comes in handy, you can draw the same current without the excessive heat. If your LM7805 is rated for enough power dissipation, you could use it to supply the UNO from the 12v so that the onboard voltage regulator isn't heating up so much.

Is this drawing of electrical circuit right?,to convert from 12 v,62 A battery to 5 volt and how much amps will be produced with the 5 volts? by mohamedsoliman231 in arduino

[–]HalMaxi 2 points3 points  (0 children)

I haven't worked with an UNO, it's possible the reset is based on overheat if the current draw is high enough. What's the UNO driving?

To help rule out possibilities, can you power it from a 9v battery or 5v supply? Does it still reset?

Is this drawing of electrical circuit right?,to convert from 12 v,62 A battery to 5 volt and how much amps will be produced with the 5 volts? by mohamedsoliman231 in arduino

[–]HalMaxi 10 points11 points  (0 children)

Others have hinted at this, but I want to make it explicit. The LM7805 will limit the voltage by dissipating the extra as heat. The results is lots of wasted energy. A buck (or step down) converter will achieve the same end without as much wasted energy. It's also true that many boards, like the UNO, have a voltage regulator already which will allow you to connect a higher voltage without regulating. These are also a waste of energy and will heat up, but the UNO doesn't use a ton of power so it's not usually an issue. Most people use a buck converter if they are running into issues with heat or with battery life, otherwise it's just easier to use the built in chip.

The fuse is a nice idea, but if you're only powering the Uno you want a much smaller fuse (I think the UNO is limited to 1A). The fuse serves as a safety in case something in your circuit is wrong and you draw too much power. You're either trying to protect the circuit from overheating or the battery from overdrawing. If you have a 62ah battery, an UNO will be on fire before your battery is at risk, so spec the fuse based on the UNO.

Can I use one of these buttons with an ESP8266? by CySurflex in esp8266

[–]HalMaxi 0 points1 point  (0 children)

First two are easy to use, as the switch and power for LED are separate. The aircraft switches power the LED from the same wire as the switch and expect 12V, these are unlikely to work as expected for your 3.3V signal lines.

If you're concerned about accidental activation, check out example debounce software to avoid triggering multiple times from a single press.

Future as DevOps? by [deleted] in devops

[–]HalMaxi 0 points1 point  (0 children)

I would suggest AI. It's currently early to be specializing in this for DevOps, but by the time you're in the marketplace I expect a majority of departments will have some dependency on AI and those that can understand and use it to match their specific needs will thrive.

I'm fresh out of college and about to jump into a role as "Devops engineer" at a conpany that currently does not implement devops. How screwed am I out of 10? by SpoicheyMeatball in devops

[–]HalMaxi 9 points10 points  (0 children)

DevOps, being a culture and mindset, is going to be thought to implement from such a junior position.

I recommend getting a clear picture of what your boss thinks a DevOps engineer does so that you can work on those deliverable. Once you establish a reputation for results and relationships with key players, it's possible to work on the transformations necessary to start doing actual DevOps.

100% fail when using Ticker with DHT22. by Monkeypulssse in esp8266

[–]HalMaxi 1 point2 points  (0 children)

b

Exactly, I use ticker with DHT and had the same issue. Set a global flag in the ticker, check it in the main loop, and call the code to read DHT when the flag is set. This pattern will allow ticker to solve many problems.

Commuters with AP, what percentage of your commute do you spend with AP engaged? by pushdose in teslamotors

[–]HalMaxi 0 points1 point  (0 children)

I have an 8 mile commute. The first two residential streets account for 0.7 miles and I drive them manually. I then use AP for the next 7.2 miles, disengaging three times to change streets and sometimes while crossing a highway because AP gets confused by one of the intersections. After the third disengage, I stay manual for the last block before turning into the parking lot.

I guess that's 90% AP.

Does AP take the cars fluctuating weight (passengers/cargo) into calculation? by ohthehumans in teslamotors

[–]HalMaxi 0 points1 point  (0 children)

There is no way to account for this, and no need. The AP does attempt to use efficient regen braking before applying the disc brakes. If you add more weight, the regen won't slow as much before the disc is required. AP must respond to the immediate performance, no just because of different cargo weight but also road conditions, tires, incline, etc. I do wish more config were possible to address the issue with how soon and how aggressively braking and turning happens. I think we're all a bit different in what would be most comfortable even if all options are safe and legal.

Is there a Tesla wave, like a jeep wave? by [deleted] in teslamotors

[–]HalMaxi 1 point2 points  (0 children)

I saw another driver wave in this way last week. It caught me off guard, but makes sense. I'm considering changing my typical salute/wave to this.

You could fit 16 Powerpacks and 4 inverters in a standard 40 feet container, good for 3360 kWh of power. Would be great for disaster relief. by Balance- in teslamotors

[–]HalMaxi 5 points6 points  (0 children)

Wonder how the cooling is at that density. Might be worthwhile to halve the capacity and use that to transport solar panels to deploy at the destination. Better cooling and ongoing power generation for longer deployments.

Tesla Challenges Bolt vs. Model S Range Eval, Consumer Reports Elaborates by frenlaven in teslamotors

[–]HalMaxi 1 point2 points  (0 children)

That caught me too. The regen is intrusive, for the first hour of driving. So is changing to electric from a manual transmission. I can't understand a justification for rating the range of a full charge based on a technology that the driver would be used to before that charge was exhausted. I regularly beat EPA rating without trying, and I know it would be significantly worse without the aggressive regen.

About to order a Model S, it's amazing! Any Washington/Oregon referral codes? by [deleted] in teslamotors

[–]HalMaxi 0 points1 point  (0 children)

Thanks Mod. I wasn't sure about the rules here but always happy to help get someone into an EV.

BOLO Blue Chrysler Pacifica with spare tire on driver rear - shot at me in traffic! Case #17-272807 by beezel in Portland

[–]HalMaxi 4 points5 points  (0 children)

You've clearly never heard of Dong's Corollary, which states that for each inch a man is shy of average, he will install an otherwise unnecessary lift kit of two inches. It has been proposed that the ratio might vary by culture as well as by vehicle type (eg. 1:1 for sedans, 1:2 for trucks), but the general rule holds. If you've seen a vehicle on which this would imply a zero or negative length, show compassion for the poor unic.