News for hackers. Stuff that matters.

tomazio

Re:Don't let dicts spoil your code (2020) on Saturday June 25, 2022 @11:35PM (#31880848)
This is more common than you might otherwise think. I've worked at multiple companies that have multiple systems/sources of truth for various reasons. One example of that is my current company has stored and handled all its transactional data in a legacy point of sale system from the early 90s. They decided to upgrade to a modern ERP system a couple years ago, but it takes a while to fully implement and roll over to a new source system. Especially in a high transaction system that cannot go down otherwise the company will start losing a lot of money. Thus its being incrementally rolled out, resulting in both systems running together and being read and written to simultaneously.
Re:Ask HN: Anyone highlight text as they read? on Tuesday April 12, 2022 @05:07PM (#31008249)
I do it all the time and have been doing it as long as I can remember. I couldn't tell you why, but as others have pointed out it annoys the crap out of people when they're trying to read with me.
1. It seems to mostly be a me problem, on reviews of other coworkers PRs her comment seem reasonable. That could just be not fully understanding scope or task at hand. 2. I believe it's in good faith. Sometimes comments will be helpful for when I forgot a specific convention or missed something small. 3. I have not had a direct conversation as I'm not sure how to go about it or phrase it. We seem to have a good relationship and I don't want to potentially ruin it going about this in the wrong way. 4. We have basic standards: X amount of required reviewers, all PR feedback resolved appropriately, PR contents fully address acceptance criteria for the task at hand. Pretty standard stuff in my experience for code review

Ask HN: How to deal with coworker code review who haven't read my code?

I started a new job half a year ago as a senior full stack engineer. There is one coworker who routinely reviews my PRs and leaves feedback that clearly demonstrates they didn't read my code closely or they didn't fully grok it. I then have to go out of way my to prove to this person the code is doing what is expected/asked, either in long winded responses on the PR, or sometimes as far as...

( Read More... | 10 comments | 3 points | on HN )
Re:Dude, You Broke the Future (2017) on Sunday July 12, 2020 @10:18PM (#23816561)
That one went right over your head.
Re:Ask HN: How do you handle toxic coworkers? on Wednesday February 19, 2020 @02:00PM (#22368797)
Sometimes you have to fight fire with fire.
One point I think some people are overlooking are the military implications of launching nuclear facilities. These become prime targets in times of conflict that can cause a ton of damage if successfully attacked. Maybe that is part of the reason countries are hesitant to build them?
Re:Ask HN: Are you ok? on Thursday September 12, 2019 @12:13PM (#20953197)
After reading this thread, I feel fantastic compared to most of these answers. Thanks HN.
Re:The Heart of a Swimmer vs. the Heart of a Runner on Thursday April 04, 2019 @10:08AM (#19572441)
Distance swimmers don't really hold their breath, but sprinters certainly do. I was a state champion sprinter, and when I would swim the 50 freestyle I only breathed once, usually a few strokes after the turn. For the 100 freestyle it was one breath per lap, and this is crucial because in a sprint anytime you breathe you are slowing yourself down.
Re:What I learned in ten years of blogging on Wednesday December 19, 2018 @02:52PM (#18718882)
Your comment on stapling their eyes shut made my day.
This is literally insane.
I'm very interested to read some of your blog posts related to strategy/code around DFS, but I don't know what your blog is. Would you mind posting a link to one of these posts?
No to dissuade or reject your points but you might have ADD/ADHD if that's how marijuana affects you.
Re:Don't shoot, I'm disabled on Monday October 08, 2018 @01:03PM (#18169155)
My heart goes out to all the victim's families, as these are all very tragic. I have a brother with down syndrome and reading the story about Ethan and how the situation played out sounds exactly like how it could play out with my own brother, heaven forbid he ever ends up in a similar situation. While I agree the shoot first ask questions later methodology is not the best, I think education surrounding common mental handicaps/disabilities would go a long way to helping officers better understand the situations and better equip them to judge the threat level of situations. I can attest that people with down syndrome can freeze up and easily experience a paralysis through analysis as they are put in confusing and unfamiliar situations, especially once someone starts shouting commands at them and they are not sure what do. Just knowing this simple fact and general behaviors surrounding people with down syndrome/mentally handicapped would give officers the knowledge to know "hey person has x or y disability and is acting this way because of z, this is a non threatening situation." It's almost ironic to me, where a profession that's main job responsibility is dealing with all different types of people all day isn't required to know any more specific social dynamics or behaviors surrounding them. I think requiring a psychology/sociology for police officers so they have a better understanding of human behavior might help in this regard.

EDIT: Grammar.

Ask HN: What companies pay starting salaries similar to FAANG but aren't FAANG?

I've read a good amount of threads in the last couple months saying getting hired by one of the FAANG companies will get you the best compensation package for an entry level position, while simultaneously seeing many people saying working at one of the FAANG companies isn't all it's made out to be and some people even saying it made them worse off. So my question is are there even companies...

( Read More... | 10 comments | 27 points | on HN )
Re:Remote Code Execution on a Facebook server on Friday August 24, 2018 @02:25PM (#17836793)
Ever heard of Jon Skeet?
Re:Ask HN: What is going on? on Monday August 06, 2018 @02:30PM (#17700204)
I imagine it's because the teacher thought that destroying that person in a debate with facts would change their opinion, but came to realize some people just aren't worth the time or effort because they will never change their opinions no matter how many facts you throw at them.
Re:Nearly Half of Americans Are Lonely on Friday August 03, 2018 @04:09PM (#17683207)
As a current Chicago resident of 2+ years, I agree. Although I always thought this was just a Midwestern thing, as I grew up in Ohio and this was pretty common there as well.
When you get to the highest levels of competition in any event, it's almost exclusively the little things that make the biggest difference. This is because the greatest athletes/competitors will have mastered most everything else surrounding their sport/event and the only differences that remain between them lay in the minute details.
Could you describe what you mean by this? I briefly skimmed the html for the page at that link and that page is clearly using angular.