Better HN
topnewbestaskshowjobs
Log inSign up

GrumpySloth

4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions

Submissions

comment 3y ago · link · parent

> A ton of coal will create much more co2 than ton of wood, isn't it?

Yes. But that hardly matters.

> For the same amount of energy the result should be similar amount of co2.

No. Apparently, wood is estimated to emit 30% more CO2 than coal for the same amount of energy[1].

> Coal is worse for people because burning it creates many unhealthy chemical components. Sulfur, heavy metals, etc

Is it more than when you burn wood though? I’m not knowleadgable enough to answer this question. I found one link about it[2], but currently I don’t have time to read it. In any case, the fact that it produces more CO2 than coal is a good argument against wood in my eyes. My argument is against wood, not in favour of coal. Coal is just a benchmark to measure against.

[1]: <https://ecosystems.psu.edu/research/centers/private-forests/...>

[2]: <https://www.intechopen.com/chapters/18644>

comment 3y ago · link · parent

In this instance I’ll say burn it if you want. Although it leading to a natural wildfire is highly dependent on local climate. Where I live, for most of the year it’s too cold and humid for anything like this to happen, except during maybe 2 months a year. But I appreciate that in places like California or Australia it may be different.

comment 3y ago · link · parent

there’dn’t’ve

https://www.youtube.com/watch?v=CkZyZFa5qO0

comment 3y ago · link · parent

It’s going to take time for a new tree to consume the CO2 produced by burning a tree. If instead you leave a tree standing and burn coal, you will produce less CO2, so it’s going to take less time to consume it (and the older tree is going to do it faster than a young one).

Moreover, it’s not only a question of net emissions. It’s also a question of location. People burn wood and coal in their homes and that affects the air most near them the most. It is the worst near cities, where you can’t plant a new forest. Instead just think about how the local air is going to be affected if people burn there 1MWh of wood vs coal. Because trees are not going to help here, if they're planted far away.

And, when trees die naturally, they don’t emit CO2 at the speed that they do when they’re burnt. It happens much slower, so it’s not that much of a problem.

Mind you I’m not advocating for burning coal. I’m advocating against burning wood.

comment 3y ago · link · parent

> Energy output is directly related to carbon content. More energy density from coal mean more co2.

No. It means you need to burn a larger volume of wood to get the same amount of energy. And when you increase the volume, you increase the emissions. The first sentence of this quote may be true, if we are talking about absolute amounts, but then in the second sentence density is a ratio (energy to volume), which is why it’s not true.

I don’t know all that much about relative PM2.5 emissions, but a brief search shows a paper, which argues that PM2.5 emissions depend more on combustion conditions than fuel type[1].

[1]: <https://pubmed.ncbi.nlm.nih.gov/31340411/>

comment 3y ago · link · parent

CO2 doesn’t disappear from the atmosphere the moment you plant trees. In fact, burning wood is worse than burning coal here, because, for the same amount of energy provided, burning wood is going to emit more CO2 than burning coal.

comment 3y ago · link · parent

For video you typically set shutter speed to half a frame. The most common frame rate is 24FPS, so you get 1/50 shutter speed. It’s lousy for a photo, but good for video , since you want motion blur, so that the video isn’t janky. You control light through ND filters and LED/tungsten lights, not through shutter speed, since shutter speed affects motion blur and you want to make that choice independently of exposure.

120FPS is good for sports or wildlife, but those are special. For normal stuff, 24FPS is good. And even with wildlife, you’re probably not recording at 120FPS all the time, only during quick action. Otherwise you’re just wasting space on your memory card with identical frames. Battery as well.

comment 3y ago · link · parent

The problem here is that lots of patches are sent to too many people. Same will happen if you CC a mailing list with many subscribers in patches sent to Gerrit[1] or GitHub for a vibrant project. People will just start ignoring those notifications. It’s not about the tool.

[1]: Speaking as a Gerrit fan.

comment 3y ago · link · parent

But when you move the laser emitter in your hand you're controlling the speed in that 2d space, not in 3d. You don't ever affect the position of photons in the Z dimension. So you’re not constrained by speed in 3d which would later be slowed down after being projected. So you move your laser emitter along the diagonal of a face with velocity v. And the perceived light which would get projected onto a plane needs to match the position of the emitter on the face. Which creates the illusion that light travelled along the 3d longer diagonal faster than at v (in order to match the projection which describes how you/camera sensor see the light). But in reality the light never travelled along this longer diagonal. It’s only an illusion. And it is this illusion that we’re measuring the speed of. Photons on this diagonal arrived straight from the emitter, i.e. each of them appeared in only one point of the diagonal throughout its entire history. In other words, the photon at the beginning of the perceived movement is a different photon than at the end. They travelled along different paths. And when some photons were at the diagonal, some others were on their way there.

comment 3y ago · link · parent

https://physics.stackexchange.com/a/48329

In other words, speed of a projection of light from 3d space to 2d space may be higher than the original speed in 3d. (Because one dimension gets squished to 0, so movement in this dimension is perceived to be instant.)

It's like a diagonal of a cube 1x1x1 has length sqrt(3), but if you apply orthogonal projection onto R^2, its image will be a diagonal of a square and it will have length sqrt(2). Shorter distance -> shorter time to travel.

comment 3y ago · link · parent

Neither. Both would be attempts at assigning goals to things that aren’t persons. Fallacy of teleological thinking.

comment 3y ago · link · parent

"asynchronous meeting" is an oxymoron.

comment 3y ago · link · parent

> But we don’t, instead we peel oranges and then sell them in plastic containers at the grocery store.

Someone is selling peeled oranges? O.o

How long until they sell peeled apples?

comment 3y ago · link · parent

That would be ideal, but we'd need a new syscall for that.

comment 3y ago · link · parent

Close all other fds between fork and exec then (you can look at the code of base::LaunchProcess in Chromium for an example). It’s a minuscule amount of code to audit compared to XDG portals. And it’s backwards-compatible with decades of unix programs.

For a more complicated solution: spawn a zygote process early with a unix socket which you’ll use to send the fd later. Zygote at start drops provileges. When it receives the fd, it closes the socket and execs the editor.

comment 3y ago · link · parent

It's doable by opening the file in a privileged process (sudo) and passing the file descriptor to a non-privileged process.

Maybe one could make a sudoedit that opens a file in sudo process and then spawns a non-privileged editor process which inherits the file descriptor and is given the /dev/fd/ path on the command line, so it stays none the wiser about the whole process.

comment 3y ago · link · parent

They’re easy to make.

comment 3y ago · link · parent

Yes.

comment 3y ago · link · parent

Poland. It seems to be more of a generational thing than regional. People over the age of 70 seem to use 12h. Younger ones use 24h.

comment 3y ago · link · parent

> People in 24h cultures always use 12 analog hours in normal situations

No, we don't. The only person I know who by default uses 12h is my grandmother. Everybody else always uses 24h.

comment 3y ago · link · parent

My personal pet peeve is American SaaS companies not comprehending that half the world starts their week on Monday. All those systems for requesting PTO, sick leave etc. are so confusing if you’re not extra careful.

comment 3y ago · link · parent

There is a significant difference between async-shell-command and terminal emulators in that the latter allow programs to manipulate emulator state via escape codes, positioning the cursor, clearing screen, resizing the draw area etc. I think terminal emulators are inferior to the Emacs experience. They often exhibit issues when you try to select and copy multiline text in e.g. irssi or vim, where you suddenly need the underlying program to be X-aware for that to work properly. If something uses ncurses, it’s pretty much guaranteed to be broken in one way or another and it doesn’t have any of the programmatic benefits traditionally associated with command-line programs (piping). Terminal emulators simply emulate an outdated UI paradigm. Emacs UI although not perfect is in a completely different league.

comment 3y ago · link · parent

I can't even find the regression point, since for the last several months <https://commondatastorage.googleapis.com/chromium-browser-sn...> contains Mac builds that when clicked trigger a popup “You can’t open the application “Chromium.app” because this application is not supported on this Mac.” (“This Mac” is an M1 Mac Mini, i.e. pretty recent). All I know is that in builds from April 2022 it used to work. So... Very professional CI there.

I swear it's always Chrome that's a PITA when it comes to weird regressions like these. Other browser engines aren't so amateurish.

204.

Ask HN: Why do Chrome and Edge butcher rendering my photo?

5 points · by yakubin · 3y ago · 3 comments

comment 3y ago · link · parent

People who start indexing at 0 still say that {0, 1, 2} has 3 elements, not 2. ;)

comment 3y ago · link · parent

Switzerland isn't in EU.

comment 3y ago · link · parent

And at that point you’re slower.

comment 3y ago · link · parent

This is for countries not in EU. And even then there is a long list of exceptions. Internally, nothing is changing.
1
678
55