Readit News logoReadit News
etripe commented on We Put Half a Million Files in One Git Repository, Here’s What We Learned   canvatechblog.com/we-put-... · Posted by u/Maxious
rtpg · 4 years ago
Right, it's "I have to send 5 PRs to 5 different repos, get them all cross merged, and then at the end it's wrong anyways so I have to start all over".

Multirepo management is extremely frustrating compared to "it's all in the same folder".

etripe · 4 years ago
How many scenarios are there where the rename both matters (beyond taste and philosophy) and is across interface boundaries?

Surely if it is an advantage to rename once in a ginormous, single code base there must also be leaky abstractions, poorly defined interfaces, god objects, etc present at the same time?

Whenever I find I need to rename anything across domains, it's a matter of updating the "core" repository and then just pulling the newest version.

etripe commented on Ask HN: Hybrid/Remote software team rituals    · Posted by u/codemac
Tevias · 4 years ago
Not directly a software development team but also consulting grouped by location and/or project.

We have a permant meeting open the whole day where everybody is free to join. Normally, it is started in the morning and a few people will join. After initial chit-chat everbody is doing their work either with the microphone off or on. When there are short topics to be discussed or questions arise it is directly done in the meeting and for bigger topics a new meeting/call is setup with the people involved. So most of the time it is quiet but you only hear the typing of your colleagues.

It basically mimics an open space office and direct human interaction where you can ask questions and overhear interesting topics with the advantage of being able to simply leave (or lower the volume) when you have a meeting or need absolute silence.

Additionally, we have a coffee break meeting in the afternoon for half an hour, that is also not obligatory, in which you can small-talk with your colleagues.

So, in total we have lots of opportunities to interact with colleagues but nothing is mandatory.

etripe · 4 years ago
You said you weren't a software development team. What kind of functions do you have?

For me, and most people I've worked with, having an all-day meeting specifically to mimic the open office is not something we'd ever propose ourselves. Was it a bottom-up or a top-down decision? Is everyone happy with it?

etripe commented on Ask HN: Why is visual programming so popular for game programming?    · Posted by u/arduinomancer
pjmlp · 4 years ago
I rather have people giving me their architecture documents in UML than incomprehensible prose.
etripe · 4 years ago
This isn't about architecture so much as implementation, though. Would you prefer to look at a sequence diagram there, or actual code?

To me, only the code is real because it can be run and is the product. UML is great for niche cases, but it doesn't represent the truth well, and is usually at least one time increment out of sync with reality.

etripe commented on Fake emergency search warrants draw scrutiny from Capitol Hill   krebsonsecurity.com/2022/... · Posted by u/todsacerdoti
Jerrrry · 4 years ago
Every gaming platform will give the information upon "emergency request," and most CSR's, siding in caution, will happily give out the name, mailing address...email, and even challenge questions...

It's a social engineering attack that has worked 2ezily since 2007.

Similar to SWATting, but essentially in reverse.

Also abusable are the new GDPR requests. Compliance is pretty much at odds with security of the account itself. Complying with the inane EU rules basically makes your system at risk at trivial account takeover, which juxtapositionally/ironically then make it easier to leverage a person.

It's like 2FA over SMS....you are basically at the mercy of a Verizon/ATT employee.

Stop trusting humans, make systems that humans cannot make unilateral decisions without a reasonable amount of redtape.

etripe · 4 years ago
> Also abusable are the new GDPR requests.

How? Seems to me that if they're storing (and handing over) data that allows trivial account takeover, they have a broken security process to begin with.

etripe commented on Ask HN: Any weird tips for weight loss?    · Posted by u/fatmoron
pwthornton · 4 years ago
No, no, no.

The correct exercise is critical for many people to lose weight. Why?

Weight lifting and some HIIT exercises help you build lean body mass, which will raise your metabolic rate. Many people have "poor metabolisms" because they have less lean body mass than expected. Weight lifting in particular will also help you protect your muscle mass as you lose weight.

If you do not lift weights when you lose weight, you will lose a lot of muscle, which will tank your metabolic rate. When people talk about losing weight, they really mean losing fat. If your goal is to lose fat, you need to weight lift.

Beyond that, exercise can help with leptin. Many overweight people have leptin issues, which causes them to overeat, which makes them even heavier, which makes their leptin ever worse. It could either be too little leptin or a lack of sensitivity to leptin. Regardless, leptin is the hormone that signals satiety, and if this hormone is out of whack, you will overeat.

Either way, this is not a good situation.

Recent research says that exercising 300 minutes a week can help people reverse this leptin issue. I have been doing this myself, and it has been a key way that I have been able to get my hunger levels under control and help me lose more than 50 lbs.

Here is a write up about the study: https://www.nytimes.com/2020/12/09/well/move/to-lose-weight-...

You should not exercise with the mindset of burning calories. You should exercise with the mindset of building lean tissue, with increasing your cardiovascular fitness, with increasing your mobility, and with helping to get your hormones into a good place.

But please exercise. If you do the right exercises with the right mindset, it can help you lose weight and keep it off.

Yes, you can't outrun a bad diet. But you also will struggle to beat poor leptin levels too.

etripe · 4 years ago
Five hours a week is no small investment. Focusing on calories/kJ in < out is much easier as it can be done incrementally, such as by not eating past a certain time of day, leaving out especially high sugar snacks, etc. There is no getting around obesity being a dietary issue.

That said, it's definitely not an either/or situation.

etripe commented on How to manage software developers without micromanaging   infoworld.com/article/364... · Posted by u/gk1
LAC-Tech · 4 years ago
My most eye opening leadership experience was last year. I was made tech lead of a small team, and asked to to accomplish something with a hard and somewhat unrealistic deadline.

It was a success, but it had nothing to do with me being an incredibly inspirational leader. Or being a brilliant developer - I don't think I actually contributed any code. It honestly wasn't much to do with me at all. I basically just set the stage for them to work effectively:

- I booted out all the non-coding people from our standup. The CIO in particular would waffle on, and it was draining everyones will to work (and possibly live).

- I ruthlessly pared down requirements. We had some written specs, and whenever there was a question about which way we should go I chose the one that either didn't involve us doing anything, or was easiest.

- I handled dealing with the stakeholders myself, and reported back to them the relevant info.

The end result was that they were the first dev team to deliver something on time in the history of that company. No one had to work any over time (demo was Friday mid-day, so I got clearance for them to leave early).

So yeah, the best project I ever lead, I barely 'lead'. I was a supporting player. I played interference. I made sure everyone left them the hell alone, that they had the information they needed, and told them that if it fucked up it was all my fault so relax (always blame the contractor).

And and they pretty much did it all by themselves. Turns out developers can develop if you trust them and get out of their way.

etripe · 4 years ago
What you're describing is leadership, just not the popular style. To put terms to it, you weren't doing Taylorist command and control, you were doing servant leadership.

In my opinion, yours is the only sane way to lead. With command and control, all you would be doing is creating the illusion of control, providing no actual added value. If your leadership style is adversarial, you're stimulating your employees to see you as a liability.

etripe commented on Discord is a black hole for information   knockout.chat/thread/3325... · Posted by u/Prestoon
zppln · 4 years ago
A subreddit is a horrible place for discussion though.
etripe · 4 years ago
Mostly, yes, but it comes down to moderation and subreddit culture. Reddit - as a company - doesn't take moderation seriously, as evidenced by it being left to unpaid volunteers.
etripe commented on EU Parliament pushes to ban ads targeting health, religion, sexual orientation   politico.eu/article/europ... · Posted by u/riffraff
CodeGlitch · 4 years ago
Sorry have to disagree. GDPR, cookie banners and now this new ad-ban are just putting plasters over a problem, rather actually solving the root-cause of the problem.

Now I'm not saying that solving the root causes of these problems is easy, but these solutions are just so lame. Just a couple of concrete examples:

* I see and hear of GDPR violations everywhere (here in the UK, pre and post Brexit). Despite the threat of legal action, companies still ignore (too small to care) or are ignorant of the rules. At the end of the day, Big Tech still owns all the personal data in some way or another getting around EU restrictions.

* The annoying cookie banners where everyone just clicks "accept all" because no one wants to go through a list of checkboxes. This is classic EU strategy to problems: just throw more bureaucracy and administration at a problem.

The solution should be that the EU creates its own Big Tech, under the rules and regulations that it itself creates. Instead all of our politicians are using WhatsApp to perform Official communications (frankly this is horrific to me).

etripe · 4 years ago
> I see and hear of GDPR violations everywhere

The legal follow-up could be better. The exacted fines should actually follow the law instead of being softened. With at least 4% of gross revenue in every instance, it would have bite and act to curb the excesses, thereby tackling the root problem. After all, it was never meant to outlaw data collection, just excessive surveillance.

> The annoying cookie banners

The GDPR isn't unclear about what companies can collect, what consent should be asked and how. Those banners are malicious compliance or non-compliance. They're purposefully built that way to get you as a potential consumer riled up about the regulation. And it's working: instead of talking about the companies trying to abuse your data and implementing horrible popups that don't do what the law says they should, you're now upset at the regulators. Classic case of "Don't like what they're saying? Change the narrative".

etripe commented on EU Parliament pushes to ban ads targeting health, religion, sexual orientation   politico.eu/article/europ... · Posted by u/riffraff
mschuster91 · 4 years ago
> 2. Why is there a second set of things to opt out of as "Legitimate Purpose"? Why doesn't the "Reject All", when present, not cover these too?

Because you need to name stuff like session ID cookies, loadbalancer backend cookies and other stuff that is necessary for operation ("legitimate interest")... but you do not need consent from the user for these.

etripe · 4 years ago
I think they might be referring to the dark pattern where there are two sets of "Legitimate Purposes":

1. Actual legitimate purposes for core functionality

2. A toggleable "legitimate purposes" under the ads section

Presenting the second option could be construed as malicious compliance or just dishonesty.

On sites where I've seen this, there is no one-click option to disable those, which should make them non-compliant with GDPR.

etripe commented on Cannabis use produces persistent cognitive impairments: meta review   addictionjournal.org/post... · Posted by u/caaqil
kumarvvr · 4 years ago
Another view, is that, except for the extremely strong willed, getting used to a serene state of mind is addicting and kind of counter productive.

Perhaps, addictive is not the right word. But it seems to me (purely from a human nature perspective) its similar to obesity (Eating food is not "addictive", but there is a definite element of "craving" and inability to overcome that craving).

All in all, such substances are not natural and, with unchecked use, might put a whole society in danger. This is the reason I am ambivalent about the whole movement to legalize it.

etripe · 4 years ago
> except for the extremely strong willed, [...] addicting

Addiction isn't about willpower so much as psychopathology and genetics. It's a coping mechanism.

> getting used to a serene state of mind is [...] kind of counter productive

What is suspect about serenity? Is religion equally problematic as a source? How is it counterproductive?

> such substances are not natural and

A naturalist argument is usually invalid. We can't expand upon the rules of the universe. Plastics are just as natural as anything else. Cannabis also doesn't induce any foreign states in our brains.

Even using the narrow definition of "can't be found in the wild": cannabis is a plant, so it very much does exist in the wild. So do alcohol, caffeine, nicotine, psilocybin ("magic mushrooms") or ergotamine (LSD).

When applied to brain chemistry: to my knowledge, drugs don't do novel things to our brains. They promote infrequent states, but that doesn't make them unnatural. Especially not if you consider how alien dream states, meditative and transcendental experiences feel.

> with unchecked use, might put a whole society in danger

Adding a slippery slope to it doesn't improve your line of reasoning. It does tend to whip the masses into a frenzy, like its cousins "Won't somebody think of the children" and "Why should we help those who won't help themselves?".

It also doesn't conform to reality. Have California or Colorado collapsed because weed was legalised? Have the Netherlands?

> I am ambivalent about the whole movement to legalize it

Decriminalisation seems obvious to me as a solution, if coupled with a sorely needed investment in mental healthcare (across the West). The latter is necessary regardless of how we consider drugs - see homelessness, domestic violence, suicide, burnouts, etc. Decriminalisation works (cf Portugal's results), dries up income sources for the cartels, allows quality controls to be put in place, reduces stigmatisation for users, lowers the threshold for seeking therapy, keeps people out of prison for victimless crimes, creates a revenue source for the government through sales and other taxes...

The alternative to decriminalisation is telling the population "we know best". Looking at the so-called war on drugs globally, it's also an endeavour that's bound to fail, strengthen drug cartels, escalate violence and cause more damage than it prevents.

u/etripe

KarmaCake day639May 27, 2019View Original