sixfold

joined 1 year ago
[–] sixfold@lemmy.sdf.org 1 points 1 year ago (1 children)

That's a super interesting project. For anyone else, the project overview has some great system level diagrams:

https://github.com/opentraffic/otv2-platform

[–] sixfold@lemmy.sdf.org 9 points 1 year ago (3 children)

time for some kind of anonymizing location data sharing service, peer to peer or federated protocol? that might be interesting, or sketchy, not sure which.

[–] sixfold@lemmy.sdf.org 12 points 1 year ago (1 children)

Pretty sure you can download the maps ahead of time, GPS doesn't require data, then upload the fixes when you get home.

[–] sixfold@lemmy.sdf.org 1 points 1 year ago

Go map keeps crashing for me, does it for you?

[–] sixfold@lemmy.sdf.org 2 points 1 year ago

I've been using Go Map! but it keeps crashing... Maybe I'll try Streetcomplete if it's on apple.

[–] sixfold@lemmy.sdf.org 7 points 1 year ago

Crawling and indexing lemmy inter-instance would be an incredible boon to discoverability on the platform.

[–] sixfold@lemmy.sdf.org 1 points 1 year ago

Do it! it is easy to do at home! Just wear some gloves and safety glasses, those jars can easily shatter during the heating process if you use too hot of a heat source. I recommend a glass top electric stove, or put some kind of metal plate between your jar and the burner to help spread out the heat. Once you seal the jar, take it off the heat right away, so it doesn't build pressure. I boiled mine for a few minutes before sealing to try and get some of the devolved gasses out, and lightly set the lid on top to help the steam push out all the air.

[–] sixfold@lemmy.sdf.org 15 points 1 year ago (10 children)

It does. And Firefox is my default browser app.

 
 

It's the only browser I have installed besides Safari, and my default browser but instead of just opening the link with my default browser, it advertises these other browsers to me and makes me click 'Default browser app' by default. wtf I'll be turning that off, should have never been a feature.

[–] sixfold@lemmy.sdf.org 4 points 1 year ago (2 children)

Yes definitely. The pressure will drop along the vapor pressure curve all the way to the triple point, gently boiling all the way if you remove the heat from the vapor and not directly from the water.

[–] sixfold@lemmy.sdf.org 1 points 1 year ago

Anything for posterity

[–] sixfold@lemmy.sdf.org 12 points 1 year ago* (last edited 1 year ago) (3 children)

Exactly. it was bottled at atmospheric pressure while it was boiling, so 1 atm and 100 degrees C. Check this graph to see the relationship between the water's temperature and it's pressure in the jar (since there is no air, only water vapor). If the vapor is condensed, then the pressure drops below the curve on the graph, that is, the pressure in the jar is lowered below the vapor pressure of the water. Any time the pressure is below the vapor pressure, the water will boil, releasing vapor, until the pressure is equal to the vapor pressure. The pressure does not become negative, it is still positive, just lower than the vapor pressure at the given temperature. You can get below the vapor pressure curve by changing the temperature too, which is what we usually do when boiling water at a pressure near 1 atm (760mmHg)

http://hyperphysics.phy-astr.gsu.edu/hbase/Kinetic/watvap.html#c2

(1 atmosphere is ~760mmHg)

a slight aside, there is an important difference between the total pressure of the air, and the partial pressure of water vapor in the air. Inside the jar, the two are equal, but in a dry location (not humid) the partial pressure of water vapor is usually less than the vapor pressure of water at that temperature, but since the total large pressure of the atmosphere would not allow a pocket/bubble of very low pressure water vapor to form inside the bulk water, the water cannot boil, but it will evaporate at the surface anyway until the partial pressure of water is equal to the vapor pressure (very humid).

 

This is a jar full of only water (liquid and vapor). It boils at any temperature when you apply something cold enough to the top, like ice.

cross-posted from: https://lemmy.sdf.org/post/2697716

I put water in a jar and sealed it while it was boiling, and now it boils at any temperature. Super fun demo to try.

[–] sixfold@lemmy.sdf.org 2 points 1 year ago

I decided to translate the worksheet into GLSL code on shadertoy. It was really cool to see the gradients and sub-coordinate systems represented by the intermediate variables in the calculation. Smoke and mirrors. Maybe you might have some insight into some of the calculations. https://www.shadertoy.com/view/cllBzM

50
submitted 1 year ago* (last edited 1 year ago) by sixfold@lemmy.sdf.org to c/programming@programming.dev
 

I've been playing with shadertoy a bit, and here is a lil demo. It's probably not the best way to do it, code suggestions welcome.

https://www.shadertoy.com/view/dtlBRM

Here's most of the code for reference:

void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
    // fetch neighbor values from last frame, loop back onto screen if off screen
    mat3 n;
    n[0][0] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(-1., -1.), iResolution.xy)), 0).g;
    n[1][0] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(0., -1.), iResolution.xy)), 0).g;
    n[2][0] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(1., -1.), iResolution.xy)), 0).g;
    n[0][1] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(-1., 0.), iResolution.xy)), 0).g;
    n[1][1] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(0., 0.), iResolution.xy)), 0).g;
    n[2][1] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(1., 0.), iResolution.xy)), 0).g;
    n[0][2] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(-1., 1.), iResolution.xy)), 0).g;
    n[1][2] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(0., 1.), iResolution.xy)), 0).g;
    n[2][2] = texelFetch(iChannel0, ivec2(mod(vec2(fragCoord) + vec2(1., 1.), iResolution.xy)), 0).g;
    
    // sum of neighbors
    float sum = n[0][0] + n[1][0] + n[2][0] +
                n[0][1] +           n[2][1] +
                n[0][2] + n[1][2] + n[2][2];
                
    if(n[1][1] == 0.) {
        if(sum == 3.) {
            // if dead and has 3 neighbors, come alive
            fragColor = vec4(0., 1., 0., 1.);
        } else {
            // otherwise stay dead
            fragColor = vec4(0., 0., 0., 1.);
        }
    } else {
        if(sum == 2. || sum == 3.) {
            // if alive and has 2 or 3 neighbors, stay alive
            fragColor = vec4(0., 1., 0., 1.);
        } else {
            // otherwise, die
            fragColor = vec4(0., 0., 0., 1.);
        }
    }
}
115
The Human Shader (humanshader.com)
submitted 1 year ago* (last edited 1 year ago) by sixfold@lemmy.sdf.org to c/programming@programming.dev
 

A GLSL shader computed painstakingly by hand by almost 2000 people

 

Nice article reviewing hash tables and how python dictionaries are implemented with them.

 

The internet is a series of tubes, try not to get lost.

This community is dedicated to the most interesting engineering/science projects and papers out there. Lots of youtube videos, along with scientific papers ( <3 https://www.sci-hub.st/ <3 ) and book recommendations that are not only Interesting, but also Rigorous to some degree, without being exclusionary.

sullen.social/c/series_of_tubes

!series_of_tubes@sullen.social

https://sullen.social/c/series_of_tubes

More people ought to feel allowed and able to think about ideas that are worth thinking about!

https://lemmy.sdf.org/post/425110

 

cross-posted from: https://sullen.social/post/59233

Really great description of the american sprawl. These issues eat away my soul every single day, and this guy wrote about it in 1973.

Some of my favorite excerpts:

The invention of the personal automobile, and destruction of public transportation, was a triumph of capitalist drug-peddling; suddenly, all at once, everyone’s personal mobility became dependent on a single, new commodity, gasoline. Without it, we are unable to function, since urban sprawl and suburbanization now means we can’t even walk to work if we wanted to.

“The typical American devotes more than 1500 hours a year (which is 30 hours a week, or 4 hours a day, including Sundays) to his [or her] car. This includes the time spent behind the wheel, both in motion and stopped, the hours of work to pay for it and to pay for gas, tires, tolls, insurance, tickets, and taxes .Thus it takes this American 1500 hours to go 6000 miles (in the course of a year). Three and a half miles take him (or her) one hour. In countries that do not have a transportation industry, people travel at exactly this speed on foot, with the added advantage that they can go wherever they want and aren’t restricted to asphalt roads.”

You’ll observe that automobile capitalism has thought of everything. Just when the car is killing the car, it arranges for the alternatives to disappear, thus making the car compulsory. So first the capitalist state allowed the rail connections between the cities and the surrounding countryside to fall to pieces, and then it did away with them.

These splintered cities are strung out along empty streets lined with identical developments; and their urban landscape (a desert) says, “These streets are made for driving as quickly as possible from work to home and vice versa. You go through here, you don’t live here. At the end of the workday everyone ought to stay at home, and anyone found on the street after nightfall should be considered suspect of plotting evil.” In some American cities the act of strolling in the streets at night is grounds for suspicion of a crime.

No means of fast transportation and escape will ever compensate for the vexation of living in an uninhabitable city in which no one feels at home or the irritation of only going into the city to work or, on the other hand, to be alone and sleep.

https://lemmygrad.ml/comment/1364150

 

Open source way to connect your devices together. I just got it and it seems pretty dope. Anyone used this, or something similar before?

view more: next ›