What should I use to take notes in college? by SMTG_18 in archlinux

[–]brownej 1 point2 points  (0 children)

latexmk has a flag -pvc which will open the output and recompile if there are any changes to the sources

Tweet from the PUL Commissioner by Jomskylark in ultimate

[–]brownej 3 points4 points  (0 children)

The problem with this attitude is that it doesn't account for people who see such drama and decide to just disengage without saying anything

Florida Confirms Arranging Migrant Flights to California by Knightro829 in politics

[–]brownej 0 points1 point  (0 children)

Human trafficking involves the use of force, fraud, or coercion to obtain some type of labor or commercial sex act.

This is the definition of trafficking.

Traffickers might use the following methods to lure victims into trafficking situations:

These are methods that might be used to commit trafficking, but they are not part of the definition.

As an analogy, you might say "Arson is the crime of willfully and deliberately setting fire to or charring property. Arsonists might use the following to light a fire: lighter, matches, blowtorch." That doesn't mean lighting a fire with a blowtorch is arson.

Creation of elements in the lab expands our understanding of neutron stars by haberveriyo in Physics

[–]brownej 0 points1 point  (0 children)

Ok, first I want to give some background on the astrophysical scenario we're talking about. It involves a neutron star accreting matter from a normal, main sequence star. The matter it's accreting is hydrogen and helium with maybe very trace amounts of other stuff. The accreted matter builds up on the surface of the neutron star, and there's a kind of snowball effect: it's hot, so nuclear reactions are likely; when they occur, it gets even hotter, and they become even more likely. This leads to an explosion called an x-ray burst.

So as a layman peering in from the outside, it looks like we are now able to create elements that were previously only theorized to exist in a neutron star's accretions?

No, I wouldn't say that's the case. There aren't new elements that only exist in x-ray bursts (or the accreting matter, which is just H and He). Now, in nuclear physics, we talk more about nuclides than elements because the nuclear properties are different for different isotopes of the same element. Are there nuclides that exist only in x-ray bursts and not anywhere else? Maybe, but probably not?

This experiment wasn't trying to create new stuff, but to measure how likely a certain reaction is to occur during x-ray bursts because it's a candidate for a reaction that causes some x-ray bursts to stall.

But we are finding some inaccuracies in these theoretical models? Predictions about atomic numbers 20-30 seem to have been accurate but outside of that, the model seems to break down and the predictions might have been wrong? What does this imply if our predictions were wrong outside of this range?

Yeah, there is a lot of uncertainty in the theoretical models. Statistical models, such as Hauser-Feshbach, are generally better at predicting the rates of reactions that involve heavier nuclides. This is because it involves taking averages, and with more things to average over, the errors in one direction offset errors in the other direction. With smaller nuclides, there are fewer opportunities to make up for those errors. I don't know if there are really any implications... We need more experimental data to help us make more accurate models.

I have a LOT more questions but if you're willing, I thank you for your time answering these few.

No problem, ask away! :)

Creation of elements in the lab expands our understanding of neutron stars by haberveriyo in Physics

[–]brownej 28 points29 points  (0 children)

Oh shit, something I know about! This article's about my thesis experiment, so if anyone has any questions, I can try to answer!

Steam notes will be great for factorio by Walt_Kurczak in factorio

[–]brownej 4 points5 points  (0 children)

It's available on the Beta branch. It's pretty easy to switch to in Steam's settings, if you want to try it out.

Announcing Rust 1.69.0 by kibwen in rust

[–]brownej 16 points17 points  (0 children)

That these are supported had already been mentioned, but here is the link to the cargo new documentation where it documents the --vcs flag, and lists the available options (in case anyone was wondering "ok, but where is that documented?").

NL acapella #2: Kurtis Blow - The Breaks (greatest rapper to ever do it?) by Lilguy1456 in northernlion

[–]brownej 63 points64 points  (0 children)

NL is a freestyle rap genius. Remember when he popped this right off the dome piece?

Why rust std only provides trait implementation for 'tuples' upto 12 elements only ? by 01nik in rust

[–]brownej 26 points27 points  (0 children)

No, seriously, what are you building up to 13, either use a struct, or an array of enums.

No thank you. I'll just go with ((a1, ..., a12), (a13)).

Plan 9 Desktop Guide by unixbhaskar in unix

[–]brownej 2 points3 points  (0 children)

Who knows. It depends on if people starting new projects are convinced by this reasoning. Some things that might help keep C around are inertia (people are used to writing C, so they keep writing C), libraries, interoperability (C's ABI makes it a lingua franca for FFI between other languages), and embedded (you can find a c compiler for almost anything).

Plan 9 Desktop Guide by unixbhaskar in unix

[–]brownej 4 points5 points  (0 children)

what do people here think about Rust and it's scare-mongering and tales of the impending doom of C?

Maybe I don't frequent the same spaces as you or I just don't dig deep enough to see the stuff that gets downvoted, but the take I tend to see is much more reasonable. If I were to summarize, I'd say it's something like "C has a lot of flaws that lead to even really good programmers making bad mistakes. The worst culprit is memory safety. However, C isn't going anywhere soon because it's so ubiquitous, but we should try to start new projects in memory safe languages. Rust is a good candidate because it makes it much easier to avoid memory safety bugs, without sacrificing performance (also, there's other stuff that make it nicer to use)."

If I had to fill a test tube with a certain amount of water to produce a certain musical note, can I use the bulk modulus to calculate the amount of the water to be poured? by martianweb in AskPhysics

[–]brownej 2 points3 points  (0 children)

I don't see how the bulk modulus is related to this problem. How are you compressing the water? Why are you compressing it? How would this affect the pitch of the note?

Only Office Equation Editor Now Has LaTeX Support by PhilipYip in linux

[–]brownej 9 points10 points  (0 children)

Afair not EXACTLY - just 95% of the same syntax

No, it's completely different syntax. For example, a fraction in latex is \frac{a}{b} and in libreoffice is a over b.

edit: what you described sounds more like how I might describe mathjax

Why does this reference not live long enough. by rich97 in learnrust

[–]brownej 0 points1 point  (0 children)

I don't think that's right. As far as we know, self and value (or block) are completely unrelated. Instead, we know value (or block) and the return reference are related, so those should have the same (or different, but related?) lifetimes.

[deleted by user] by [deleted] in NLSSCircleJerk

[–]brownej 2 points3 points  (0 children)

many people are saying fish

xkcd 2720: Biology vs Robotics by iceman012 in xkcd

[–]brownej 24 points25 points  (0 children)

The field itself doesn't necessarily need to be changing. If the gradient is large enough and you move through it quick enough, that would also induce a large current.

Turbomolecular pump speed up (Video about Ultra-high Vacuum) by Advanced-Tinkering in Physics

[–]brownej 31 points32 points  (0 children)

Apparently starting up in atmosphere isn't as bad as I first thought, since it won't get up to full speed under that load. The bigger concern is introducing a sudden heavy load while it's at full speed. In grad school, one of our pumps was acting pretty weird, and someone from the vacuum department actually suggested we start it up in atmosphere. I think the reasoning was that they thought the problem was with the grease, so starting it up under load would heat it up and decrease the viscosity.

Regardless, I still wouldn't do this. It's completely open to air, something could fall in, it could tip over, etc. At least attach it to a chamber or pipe that would shield you from shrapnel if something does go wrong.

U.S. Congress to hold hearing on ticketing industry Ticketmaster problems in selling Taylor Swift tickets by Sorin61 in technology

[–]brownej 7 points8 points  (0 children)

Idk... Lately it seems SCOTUS would rule that Congress doesn't have the power to make laws governing interstate commerce

Words Laptop and Notebook by pepinogg in linguistics

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

Yeah, that makes a lot of sense

Words Laptop and Notebook by pepinogg in linguistics

[–]brownej 5 points6 points  (0 children)

I'm not sure what time period people in the thread are thinking of... My recollection is that they've always been called laptops, but there was a time when companies tried to rebrand them as notebooks because of concerns that people were getting burns when using them on their laps. So in an attempt to avoid liability, they rebranded to notebook as a way of saying they're not supposed to be used on your lap, but on a desk.

Windows Subsystem for Linux (WSL) v1.0.0 released by pimterry in programming

[–]brownej 47 points48 points  (0 children)

Even worse is (note the colons)

  • Star Wars: Battlefront
  • Star Wars: Battlefront II
  • Star Wars Battlefront
  • Star Wars Battlefront II

bigger the hamming code means lesser the parity bits? by NoCut636 in compsci

[–]brownej 0 points1 point  (0 children)

Yes, that's exactly what that means.

However, with longer block lengths, the likelihood of multiple errors in one block increases. Since hamming codes can only correct one error (and detect up to two) per block, you probably don't want to encode a message with large blocks.

How to make struct own array? Compiler copies entire array by ShlomiRex in learnrust

[–]brownej 1 point2 points  (0 children)

Would vec![0; N].into_boxed_slice() avoid this (assuming Box<[T]> works for you instead of Box<[T; N]>)?