HackerTrans
TopNewTrendsCommentsPastAskShowJobs

velosol

no profile record

comments

velosol
·3 года назад·discuss
It's not always a legal requirement but sometimes it is: https://nccriminallaw.sog.unc.edu/bartenders-duty-cut-off-se...
velosol
·3 года назад·discuss
Changing properties of electricity (ie current to voltage or vice versa) requires a trip through the magnetic field and that means varying the current through a conductor. With AC that's easy as it's already changing and so you can trivially (passively) convert between voltages at the same frequency with the efficiency cost of heating the conductors of the coils used in the transformer.

With DC it's harder because you don't have the time changing nature necessary for the magnetic field so you have to turn the DC on and off which requires a switch. Nowadays we have very fast switches (transistors) that allow us to tune a circuit to the power required and temporary energy storage (capacitors and inductors) available. Ignoring (or shielding) the RF interference that's created with fast switching we have systems that can efficiently convert between one DC voltage and another.

I'm not so sure we'll have DC to the home for supply, a zero-crossing is helpful to keep circuit breakers small and reduce damage in brief, accidental contact (eg broken insulation on a lamp etc).
velosol
·3 года назад·discuss
I read it slightly differently: those 60% can set one of the other values and the default value no longer exists but is simply the default so the 40% who previously had to set that value now don't.
velosol
·3 года назад·discuss
Eh, leaded solder is just fine with some basic precautions (and still indicated for military and space ratings) but the smell is probably a highly reactive core flux (rosin) that will eat away at anything it's used on and needs to be vigorously cleaned off after soldering. It may also be a sensitizing allergen so maybe kabdib shouldn't use it, at least not without an extractor.

If you're doing more than the once a year small project you should have fume extraction, occupational (or hobby-based) asthma sucks. As does metal flu (zinc for welding and tin for soldering although I expect that's rarer).
velosol
·3 года назад·discuss
https://10xeditor.com/ might prefer you use a different number ;)
velosol
·3 года назад·discuss
Is the reason for R12 making you smile something you could share?
velosol
·3 года назад·discuss
Higher end 'luxury' apartment buildings are frequently offering FCFS hoteling spaces and also rentable-as-you-need locking private spaces in the building as well as the modern phone booths in various parts of the buildings. If you have the income and that fits your desires you can have the city life and WFthe building you live in.
velosol
·3 года назад·discuss
A couple more recent looks back at the experiments and their impact and meaning:

https://www.smithsonianmag.com/smart-news/how-mouse-utopias-...

https://www.lse.ac.uk/Economic-History/Assets/Documents/Rese...
velosol
·3 года назад·discuss
Anyone happened to use Toga with video streams? I've got some gstreamer stuff with Qt and it doesn't need a rewrite yet but it's a glimmer on the horizon.
velosol
·3 года назад·discuss
I like "emergency brake" as a variable name!

Glad to help, it was similar for me with a lot of effort to synthesize best practices and really appreciate all the concurrent options (asyncio, threads, MP) for where they each are valuable.
velosol
·3 года назад·discuss
Miniconda can be nice sharing an environment around especially with Apple Silicon as one of targets.
velosol
·3 года назад·discuss
I don't think I can do all of those justice right this moment but let's get a few here so people can link to an HN thread instead of the red hat article ;)

MP is good when the GIL would hamper your thread concurrency, ie your problem is likely CPU bound rather than IO/network bound (where Cython is good about releasing the GIL).

Cost is that there's process overhead of each new instance of Python running the worker code and pickling any required data to/from the worker across a process boundary (rather than between threads). Benefit is mostly the last answer: can saturate all available CPUs.

Few options but generally something like `concurrent.future`'s `.map` will keep tasks with order while a `.submit` and then checking with `.as_completed` will be tasks out of order (but if you return an ID of what you were working on you could reorder after and that may be worthwhile if the workloads are highly variable).

Exceptions:

Capture all in your worker and make available to the main via event or queue and check that signal periodically in your main and take action as needed.

For the other (Ctrl+C in your main) have your workers periodically check a signal from main as often as needed for the responsiveness desired and have the worker cleanup/quit on Interrupt signals.

Data transmission feels too problem-dependent to give a single answer to but if you're processing say, files, don't read and pass the files bytes to a worker, pass the file's location and let the worker read the file and return/write results.
velosol
·3 года назад·discuss
I'd just like to expand a bit on the minor citation: you often cite the seminal papers in a field simply to give context to the work you're doing and, in some fields, to show competing or past equations as contrast to your method of doing something.

None of those require the paper you're citing to be free from fraud: seminal works with fraudulent or inaccurate results may still have preparation methods that are applicable to novel, non-fraudulent, experimental techniques and equations are rarely at issue with data manipulation or other fraud.

There's still space to be aware of retracted papers in citations as building directly on those results and managing to show an improvement on doctored data would be suspicious but I'm pretty sure that is the minority of citations in many fields.
velosol
·3 года назад·discuss
I found this section interesting:

>[Non-programmer programmers becoming/being SMEs] is great for a while; finally someone can fix all the annoying known issues in that space that have been lingering for a while.

Followed a whole sentence later with:

>If something is only getting done because someone that "isn’t a dev resource” wants to work on it, then that’s a sign that it shouldn’t be getting done.

Yes it's qualified that it's "a sign" but if you have annoying known issues that are customer facing (even if only internal customers) sitting open in perpetuity you're probably under resourcing those areas. If you're doing that it's likely that those areas could disappear and the company would be better off or should be charged at a higher rate to external customers so they are properly maintained.

As a whole having the codebase be accessible is just open source writ small: a small number of people will be interested enough to take part and they'll often not be fully aware of the code culture when they submit a PR leading to more work for the maintainer. But they were also interested or annoyed enough to clear the hurdle of submitting one and maybe that's a sign something should be getting done in that area.
velosol
·3 года назад·discuss
How do those 32 hours end up by day (ie 6, 8, 6, 8, 6)?
velosol
·3 года назад·discuss
I haven't watched beyond Jason Cammisa's videos but they feel as though they wink back to Top Gear with the May, Clarkson, Hammond lineup: a show meant to be a little crazy, something Michael Bay would approve of and easy to take what you want out of them.

In both cases though the presenting personality is key as they have interesting knowledge that they share in an engaging way; it might be childish but their excitement is infectious.
velosol
·3 года назад·discuss
For Windows they're not pushing current 102 users to the new design yet. This matches some of the previous rollouts where the auto-upgrade branch is treated a bit more like 'stable' or 'ESR' might be in Linux and Firefox ESR.
velosol
·3 года назад·discuss
It's possible, I was able to use the method listed under (2) at [1] but it was a few hours of fiddling/restoring backups and even a "102% completed" message before I got it to work. I don't have my notes from the but I believe it involved a second profile at one point so probably pretty similar to method (3) in the end.

[1]: https://tinyapps.org/blog/202207100700_thunderbird-mbox-to-m...
velosol
·3 года назад·discuss
If you're interested they're also available on Amazon.de https://www.amazon.de/LockCowboy-Transparent-Practice-Beginn...
velosol
·3 года назад·discuss
What a nightmare that would be: wearing gloves, fast entry and exit, injury/swapping drivers, sand.

Also those were Humvees taken from Iraqi personnel.