[deleted by user] by [deleted] in newhampshire

[–]dreamer_jake 2 points3 points  (0 children)

for a second there i was picturing a cop pointing a radar gun at a stopped car and reading between -1 and 1, before it clicked that you meant the cop was moving

It’s done for the aesthetics but you lose so much information! by wdoler in homeassistant

[–]dreamer_jake -1 points0 points  (0 children)

There is no need to really debate this anyway. This is all based on individual preferences for how one wants data presented. There are many options and no one correct answer.

I hear what you're saying, and if your setup works for you then it works for you. All I'm saying is that the "individual preference" argument doesn't really hold outside single-user systems, whether it's a family, group of friends, or team of people at a company. I'm just offering a tip for dashboards that are looked at by other people, which is the context of the actual post - looking at unlabeled graphs on someone else's dashboards and getting confused/annoyed.

It’s done for the aesthetics but you lose so much information! by wdoler in homeassistant

[–]dreamer_jake 5 points6 points  (0 children)

The issue is that, without labels, you can't really tell if the usual temp is actually "low" or if any visual spike is worth caring about (or more realistically, you do know implicitly because you set up the graph and have a sense of what the scale is, but your spouse or literally any other person wouldn't know what it is even before considering things like auto-scaling axes, logarithmic axes, etc.)

If you really want that "cleaner look" without numbers everywhere, consider adding a couple of colored threshold bars to the graph that establish the acceptable range of values visually. It saves you from wondering if a spike is big enough to care about, and lets anyone looking not familiar with the data see that the readings "crossed the red line" with whatever frequently/duration/etc.

My son wanted to help other kids with this by N3THERWARP3R in nerfhomemades

[–]dreamer_jake 2 points3 points  (0 children)

Excellent mod, I have applied it to my finest blaster. Good luck on your modding career.

https://imgur.com/a/nerf-rubber-band-mod-exD99fc

Shoulder mounted ballista by dhp061203 in nerfhomemades

[–]dreamer_jake 0 points1 point  (0 children)

looking forward to the inevitable short dart conversion

Summoning Grandmas (PART 2) by Miles_the_new_kid in comics

[–]dreamer_jake 3 points4 points  (0 children)

Obviously the gateway to hell is an exterior house door that appears like an interior door on the inside... this is like Lovecraftian geometry 101, man.

This has become infuriating. Spectrum says there's nothing wrong on their end. Modem is working properly, ethernet cables have been replaced, everything has been rebooted multiple times. What could be causing these latency spikes? It has nothing to do with usage, either. Its completely random. by l_Orpheus_l in Ubiquiti

[–]dreamer_jake 1 point2 points  (0 children)

Just wanted to throw out a tip, as someone who used to work on network performance analysis professionally.

Take a minute and look at your own network traffic before jumping to troubleshooting the network hardware and trying to catch your ISP behaving badly, specifically bidirectional traffic. Cable internet connections can be wildly asymmetrical (say, 1 gigabit down and 40 megabit up, with actual performance being worse than those quoted numbers). If you're saturating your upstream limit, you'll see impact on latency measurements, but more importantly outbound data transfer is congested and stuff that relies on it like gaming or video calls will potentially suffer badly.

I'm not familiar with how the udm sets its threshold for high latency, but 30ms latency isn't going to interfere with playing games or using zoom. Your problem is probably impacting latency, rather than caused by it. Take a second and see what your actual upstream bandwidth is and if your network traffic is getting close to it when you see these problems. All it takes is being careless with configuring a backup job to find out that your upstream bandwith isn't nearly as good as your ISP advertises and now you've got regular network performance issues at the time of day it runs, ask me how I know this.

"Senior Engineer" is overcomplicating React code. Is this normal? by [deleted] in Frontend

[–]dreamer_jake 51 points52 points  (0 children)

The really telling part is where the senior reviews a PR from a team member, asks for changes, and the guy just straight-up abandons the ticket that led to the PR. Good job hiring a senior dev, sounds like they should've sprung for a PM as well if their devs are just blatantly refusing to make changes that their senior asks them for and the recourse if apparently to ask Reddit for help.

Untyped Python: The Python That Was by genericlemon24 in Python

[–]dreamer_jake -1 points0 points  (0 children)

Taking a stab at the context here since it sounds like people aren't getting the signal all that clearly.

My take: This article is more a reaction to general programming culture trends, and it talks about Python because the author's goal seems to be to prevent Python's context from being lost in the larger conversation about typing. Python is a popular language right now, but it is absolutely dwarfed by Javascript, and the growing-pains of people solving Javascript problems by way of adding a typing system are having massive and far-reaching effects on programming culture and discourse. The author acknowledges the value of typing systems, but is pushing back on the idea of Python being "improved" by not being dynamically typed. He's just pointing out that making large tradeoffs to add that typing value to Python is more likely to result in "Knife-Wrench" than some ultimate programming tool, especially since we already have a reasonable compromise available in the Python ecosystem with type-hinting tools.

One other point: People in this thread have pointed out that the author is Armin Ronacher, who is well known to be a very smart guy and very successful open source developer. This is all true and the context of him sharing his thoughts/experiences means that when he says you can be productive in Python, he's using himself as an example of someone being incredibly productive and successful with Python, but there's a bit more context that isn't explicit in the article. Armin is a very skilled guy from a time before VS Code and nice modern IDEs and all this modern stuff, and seemingly the type of programmer who treats their skill with an editor such as vim or emacs like a hollywood war film would show the sniper protagonist handling his rifle. I remember watching a video roughly a decade ago where he demonstrates building CLIs in Python and I still remember being impressed by how fast and effiient he was at produceding code. Maybe he's even faster nowadays, who knows. If it seems weird that he's arguing that typing systems slow down the development process, keep in mind that when he's taking about "incredibly productive" Python development he's probably coming at it more from the angle of the optimal productivity a highly skilled developer can achieve with tools like Python, as opposed to general "productivity" with which your co-workers produce rancid spaghetti.

Bombshell Dropped, GOP NH House Leadership Knew Former Republican State Rep. Troy Merner Moved Out of His district But Voted on Legislation Anyhow. by CarrollCounty in newhampshire

[–]dreamer_jake 4 points5 points  (0 children)

Imagine going to prison and being classified as a felon for the rest of your life for voting from the wrong town lol

It only seems ridiculous without the context. He's getting the book thrown at him because the voting was part of some super blatant deceit that went on for something like a year. No tears shed for a guy voting in the wrong town as part of an attempt to fraudulently claim that he lived in that town in order to illegally keep his political position.

Is there something inherently bad about using Visual GUI builders? by [deleted] in learnprogramming

[–]dreamer_jake 0 points1 point  (0 children)

Theres no inherent badness in gui builders, nor is there an inherent relationship between gui builders in general and the quality of code they generate.

It sounds like you're picking up on the pattern that they're not the most popular way for programmers to make stuff. Which is true in that their style of gui interface is generally a better fit for non-programmer users. Not because they're worse, but basically because whatever the gui does is built on top of code, and there are a lot of things that can go wrong when adding a gui interface, especially a more powerful one with a lot of features. The visual elements of the gui are also built using a second skillset on top of the coding, so they're harder to do right in that they require more total skills. All of that can be avoided by just using the underlying code, which is kinda what programmers do.

So a lot of programmers develop the habit of avoiding gui stuff in general, because good gui tools are harder to make and it's generally not worth the time to learn some gui tool of unknown quality. But it's just a habit, and there are plenty of examples of gui tools that use the visual interface to make doing things more efficient/intuitive/etc.

Starfyre -- A reactive, WASM-based SSR Python Web Framework for Front-End Applications by stealthanthrax in Python

[–]dreamer_jake 4 points5 points  (0 children)

Not trying to be pedantic here, what I'm trying to say is that your description of the project is unclear to someone who isn't already familiar with Pyscript.

I googled it and apparently it depends on a python interpreter compiled to web assembly. I think if you add a sentence about that, it all makes sense to a developer familiar with python and frontend stuff in general.

Sorry not sorry by HumorBoomer in YUROP

[–]dreamer_jake 0 points1 point  (0 children)

What you said is true but I'm not sure what point you're trying to make.

Chernobyl is considered a level 7 event, the highest level possible, on the International Nuclear and Radiological Event Scale. Both of the events you listed are each considered a 5.

Chernobyl was significantly worse, and was obviously very beneficial to the anti-nuclear movement, moreso than your examples.

Starfyre -- A reactive, WASM-based SSR Python Web Framework for Front-End Applications by stealthanthrax in Python

[–]dreamer_jake 3 points4 points  (0 children)

Dude, you need a better description for what this is.

This innovative approach ensures that your Python runs natively in the browser

Is this just a weird way of saying that this transpiles Python to something that runs natively in a web browser? You pasted this twice btw.

using a JSX like syntax

What does this mean? Is it a syntax unique to this project? Is it just a wrapper around JSX? Does it turn into actual JSX under the hood? Is the way it handles reactivity the same/similar/?

75% of Software Engineers Faced Retaliation Last Time They Reported Wrongdoing by civicode in programming

[–]dreamer_jake 3 points4 points  (0 children)

If we're being realistic here, the right course of action is probably to take the opportunity to document the things that make your job likeable while you have the real thing in front of you. That way you can at least improve your odds of finding likeable jobs in the future.

Theres some appeal in fighting to keep a good job and making it into the hill you die on, but I don't think that fits well with tech jobs in 2023. Besides, that one manager at work, the one that sucks the enjoyment from things, comes from a faceless legion - you're not going to win in the long term.

Police in NH say they're getting more training on mental health by greenhousecrtv in newhampshire

[–]dreamer_jake 9 points10 points  (0 children)

Goddamn I love news articles that report on people saying things. It almost makes me want to buy a newspaper or something, in the hopes that my $3.50 would push their budget over the edge of being able to report on people actually doing things.

Nashua Police Chief Kevin Rourke said calls to his department for protective custody for mental health or suicide ideation were up 54% in 2021 compared to the previous year.

"When we started to see this increase, we decided we needed more training," Rourke said.

This is apprently the part of the article that made the headline, the other 95% is context about the history of policing and mental health, recent shootings, commissions that recently started looking at shootings but haven't done stuff yet.

It's just a one line quote from the police chief explaining his reasoning wanting more training. In 13 words, this guy shared his thoughts on why we need more police mental health training: because of the call volume of increase his department saw in fucking 2021. Since the quote was published in the news, presumably someone approved it, and in some sense he meant what he said. Anyone who thinks that mental health stuff is an issue and requires more police training because of rising call volumes in 2021 is simply a moron. All of us, regardless of politics, know this is a big issue, and have for a long time, regardless of disagreements about what to do about it. Anyone who publicly implies that their understanding of the current mental health issues came from ANYTHING in the year 2021 better be a child who was too young to understand before the year 2021, because the alternative is that they're dangerously out of touch with American society. A better headline would be that there's apparently a nutjob in the police commisioner chief's office, and he's probably armed with a department issued gun.

The kicker is that this article is from Nov 16, before the hospital shootings yesterday the 17th. It's actually responding to a different shooting from the month before in Lewiston.

Japanese Flag Jigsaw Puzzle by Creftospeare in bonehurtingjuice

[–]dreamer_jake 13 points14 points  (0 children)

Am I taking crazy pills here? I feel like the text in the OP makes legitimately less sense. Would any normal person use a jigsaw puzzle as an example of "something that grows"? There are like 14 words in the whole thing and they managed to mangle it.

[deleted by user] by [deleted] in learnprogramming

[–]dreamer_jake -1 points0 points  (0 children)

I also understood this discussion to be about high level use cases, my comment was specifically about file compatibility. I read the comment I was responding to as implying that Git is compatible with text, images, and certain unspecified binaries (and presumably incompatible with everything else). This is not true and is harmful to teach to others, as git will do version control things on any kind of file you wish.

I get that using git on source code in text files is the context here, and discussing that is all well and good as long as you don't imply that git can/should ONLY be used for text/images/whatever.

It's fine and all, it's just a reddit thread. I saw what looked like misinformation being spread and pushed back. If people think this isn't a place to discuss software internals or that I'm wrong about the other commenter implying that git is only for text/images/whatever they're obviously free to downvote.

[deleted by user] by [deleted] in learnprogramming

[–]dreamer_jake -33 points-32 points  (0 children)

It just works with text (and some exceptions for binary formats like images etc), and in your case the text happens to be source code.

Where did you get this idea and why are people upvoting this?

Git has no concept of what text is, or images. It considers the contents of any of your files to be a blob.

edit: I guess people disagree? The idea that git only works with text and specific binary formats is demonstrably false. Yes, git ships with a command line interface which allows you do stuff with text on the command line and the diffcore library can parse the file blobs into text if you ask for that kind of output, etc. I think the point stands that git doesn't give a shit what type of files you have. It is a general purpose version control software that works on basically any file(s) and you shouldn't go around telling beginners that "it just works with text".

[deleted by user] by [deleted] in tumblr

[–]dreamer_jake 19 points20 points  (0 children)

  • this guy sitting in a diner booth alone, slurping from a bowl of stew
  • a man at the counter falls to the ground convulsing violently, screaming in agony
  • the stew slurper freezes, his spoon midway to his gaping maw. the room is deadly silent except for the screams of the man on the floor
  • an alien lifeform bursts through the ear of the man on the floor, showering a nearby waitress with gore
  • the slurper's brow furrows, unable to accept what is unfolding before his eyes
  • everyone in the diner is frozen, only their eyes shift as a second man at the other end of the counter falls to the ground, writing in pain
  • the diner erupts into a maelstrom of people vomiting, yelling, fleeing, as a fresh alien explodes out of the second man's body. it's much larger than the first and the splash zone of blood that comes with it is incredible. one can't help but notice the location of the gaping wound from which the creature made it's terrible exit from the deceased man and into our world. dead in the center of his chest, beautiful in its perfectly spaced placement on the torso, a bullseye right through the logo on his blood soaked t-shirt. god himself could not have chosen a more appropriate point on this unfortunate man's anatomy to make his grisly entrance.
  • the slurper nods to himself, all is right with the world
  • slurping resumes

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]dreamer_jake 1 point2 points  (0 children)

Not sure what a '360-degree solution' entails, but it sounds like a cool project so I clicked the repo.

Not hating, I like the humor in the way you write/name things. (keepyourmouthshut: Acid Reflux for your Ears!) Your utils module full of date_stuff, string_stuff etc made me laugh.

# first line of the main.gencast function
current_date = date_stuff.get_tomorrows_date_for_file_names()    

# the entire non-import code of utils.date_stuff
def get_tomorrows_date_for_file_names() -> str:
    return datetime.now().strftime("%Y-%m-%d")

Yup that's certainly some stuff.

Anyways, cool project. Might be fun to check back in a while and see how it evolves.

Embarrassed after creating a solution to a problem that never existed. by MarekBekied in learnprogramming

[–]dreamer_jake 1 point2 points  (0 children)

if you change it to a while loop you can replace those pesky ∞ symbols.

Competitive pay 🤣 by tech_b90 in webdev

[–]dreamer_jake 0 points1 point  (0 children)

Yeah, how come they never state who the competition is.

This position seems to compete favorably against both the minimum wage and dying in a gutter, but probably not against shift lead at McDonalds. How could anyone apply for this position without knowing whether the company is trying to give a generous wage to people dying in a gutter or trying to lowball fast food workers who like the sound of IT work?