HNHacker News
TopNewBestAskShowJobs

daze42

123 karma · joined November 18, 2016

submissionscomments
daze42··on Httpx: A next-generation HTTP client for Python
Do you mean 0.9.5?
daze42··on Httpx: A next-generation HTTP client for Python
Proper async support was the big selling point for me.
daze42··on Httpx: A next-generation HTTP client for Python
I've been using httpx 0.9.3 in production now for a couple months. I switched from requests when I realized I needed async support and it has been a dream to use.

The only issue I've run into has been with my attempt to reuse the same AsyncClient to make multiple concurrent requests to the same remote host. It looks like this issue may have been fixed in 0.10 or 0.11 so I'll be upgrading soon to check.

Also, be sure to check out the other fantastic projects by Encode. https://github.com/encode I stumbled upon httpx after using Starlette and Uvicorn for one of our microservices and and been pleasantly surprised by how easy to set up and use they are.

daze42··on Announcing Bluetooth LE Audio
YES! This has been bothering me for so long. I'm shocked it's taken them this long to iron it out. I hope the device manufacturers implement it soon.

Edit: on second read, I'm not so sure LE Audio will address this issue.

"Multi-Stream Audio will enable the transmission of multiple, independent, synchronized audio streams between an audio source device, such as a smartphone, and one or more audio sink devices."

This sounds like it's referring to stereo or other multichannel audio, not bidirectional. Hopefully I'm wrong.

daze42··on Help me ask why you didn't just
Rephrasing slightly can get across almost the same suggestion with much less chance for condescension: "sshd has some features that may be useful with what you're wanting to accomplish."
daze42··on No Radical Changes in GNU Project
I believe this is what is being referred to https://medium.com/@selamjie/remove-richard-stallman-fec6ec2...
daze42··on GNU Radio 3.8
I just bought a LimeSDR Mini a few days ago and I've realized it's hard to find software that supports it. Which OS/viewing software have you found that works best with it?
daze42··on Please be more careful when interpreting the Stack Overflow Developer Survey
Anybody can choose to ignore anything. But, if the selection process is demonstrably random (no accidental biases) and we can assume that the SO people are trustworthy (no intentional biases), we can then start making generalizations about the entire population. Everything ultimately comes down to trust, unless you run your own study. But then, do you trust yourself to conduct it properly?
daze42··on Wage Stagnation
This is a good point. It's simple economics. If there is a sudden rise in worker supply, but not a corresponding increase in demand for those workers, wages must fall to accommodate the influx.
daze42··on Wage Stagnation
This, exactly. As technology continues to move forward and make things even more efficient, I would expect this gap to continue to widen. I'm confused as to why anyone would want it to remain linked. As the gap widens, the demand for Universal Basic Income will rise and gobble up the working class and, eventually, even the most complicated jobs, until money is considered worthless and all basic needs are met by robots. Given the option to have robots do all the work and humans reap all the benefits (besides skynet), who wouldn't take it?
daze42··on Ask HN: Why not more hiring of junior devs, then on-the-job-training?
Thanks!
daze42··on Ask HN: Why not more hiring of junior devs, then on-the-job-training?
Facebook Amazon Apple N? Google?
daze42··on Ask HN: Why not more hiring of junior devs, then on-the-job-training?
Law of supply and demand. If supply increases but demand stays the same then the price will fall.
daze42··on Show HN: Rebuilt My CSS Grid Generator with Vue.js
Seems to break if the names have spaces
daze42··on Instant runoff voting is the system we need
The way I understand it, you're correct. If a candidate that you ranked higher is still in the running, your vote goes to them. Only when your highest ranked choice is eliminated does your vote get transferred.
daze42··on Instant runoff voting is the system we need
Let's say Clinton, Trump, and Sanders on on the ballot. Some voters could rank their choice, from most to least preferable, Sanders -> Clinton -> Trump, while others could rank Sanders -> Trump -> Clinton. If Sanders received the least amount of votes, voters with the first ranking would have their vote transferred to Clinton while the voters with the second ranking would have their votes transferred to Trump. It wouldn't necessarily reallocate votes to third and lower ranking candidates to the second ranking candidate.
daze42··on Instant runoff voting is the system we need
Just the other day, I discovered a group that is pushing for this very thing. If you're interested in making this system the norm, start pushing for a change in your local area. https://www.fairvote.org/
daze42··on Introduction to Differential Equations (2008)
I took Cal 1 and 2 directly from Dr. Dawkins back in 2010-2011. He was the best teacher I had in college hands down. Totally changed the way I thought about math and I've been in love with it ever since.
daze42··on Dbxfs – A Dropbox-backed file system
In light of what Storj.io is about to bring to market, I'm curious to see if this could be modified to work with it. I'm a huge fan of Dropbox and have used it almost every day for the past 7 years, but if a decentralized option comes along with feature parity and comparable pricing, I'd switch in a heartbeat.
daze42··on Towards Natural Language Semantic Code Search at GitHub
Of the files, maybe, but not the characters in those files. It's orders of magnitude more difficult.
daze42··on The Octonion Math That Could Underpin Physics
I've known about quaternions for many years and even used them to program rotation matrices for a few 3d projects but I've never really given them much thought beyond that. For some reason, your comment just completely changed the way I thought about them. To think that the i part of ijk is the same i = sqrt(-1) is mindblowing to me. I had never considered that there may be other "more imaginary" dimensions that were required to solve yet more complicated problems.
daze42··on California to Introduce 'Right to Repair' Bill
This exactly. This will only cause prices to go up if extra work is required to produce products that adhere to this new regulation.
daze42··on Ask HN: What are your favorite tech podcasts?
I've been listening to Security Now for over a decade. There's no doubt it's partly responsible for my current position as a software engineer at a large corporation. I can't recommend it highly enough.
daze42··on Ask HN: What mistakes did you make in your first software engineering job?
Accidentally released a version that contained a Thread.sleep(1000); call in the frame-saving loop of the video recording feature. We had put it in to simulate a slow hard drive so we could watch how the system reacted. It reacted quite well until it ran out of ram.
daze42··on If I Had More Time, I Would Have Written a Shorter Letter (2012)
This comment intentionally left short.
← PreviousPage 2 of 2