226 karma · joined Jan 3, 2017 (9y ago) · 37 submissions
[1]: https://greek0.net
comment 3y ago · link · parent
As additional complication, debug symbols are often removed from the binary post-build to reduce binary size. The `strip` utility either discards debug symbols entirely, or it puts them in a separate folder as .dbgsym filses. See the gdb `debug-file-directory` option and the `add-symbol-file` command.
comment 4y ago · link · parent
Performance evaluation—informing employees how happy the company is with their output—is a high-stakes and high-stress situation that precludes learning.
comment 4y ago · link · parent
> This capacity could also be served by a fleet of just 40 737s [...], of which Boeing makes more than 500 per year. Bought new, this fleet would cost $3.6b, and with a lead time of, at most, a few months.
Boeing has a backlog of 4000 planes.[1] Current delivery lead times are 5-10 years, so getting 40 planes within months is ludicrous. Aircraft might be available on shorter timelines from aircraft lenders, but probably not in that timeframe either. It's also not what the article argues.
This puts a question mark over the content: which parts are actually correct and which are merely presented as fact without any checking?
[1]: https://en.wikipedia.org/wiki/List_of_Boeing_737_MAX_orders_...
5.
You can't solve quintic equations (Galois theory approach)(youtube.com ↗)
1 points · by Greek0 · 4y ago · 1 comment
7.
Git Best Practices(caichinger.com ↗)
4 points · by Greek0 · 4y ago · 1 comment
comment 5y ago · link · parent
See https://stackoverflow.com/questions/65870508/git-and-sha-256
comment 5y ago · link · parent
Organic molecules are networks of atoms, with both a distinct connectivity pattern, and a specific 3D orientation [1] of the atoms to each other. See e.g. the Wikipedia page of Lipitor[2] a picture of the connectivity pattern.
We build these molecules through chemical reactions. Over time, we have become pretty good at creating the connectivity patterns we want. However, achieving the correct 3D arrangement is still challenging.
List and MacMillan developed new chemical reactions that enable us to get both the connectivity, and the 3D aspect right. Such new methods are frequent Nobel contenders, and won e.g. in 2001 with Knowles/Noyori/Sharpless.
As for how these reactions work: it is true that they are catalyst-based and that catalysts speed up reactions, but that perspective is a bit misleading. The key point is that without catalysts, these reactions would not happen at all. So the catalysts List&MacMillan found accelerate some desirable reactions so much that they turn from "practically doesn't happen at all" to "done in an hour".
Congratulations to the outstanding work, and to the Nobel price!
[1]: See https://en.wikipedia.org/wiki/Chirality_(chemistry) for a deeper look [2]: https://en.wikipedia.org/wiki/Atorvastatin [3]: For a deeper look at the chemistry, check out https://www.nobelprize.org/uploads/2021/10/popular-chemistry... and https://www.nobelprize.org/uploads/2021/10/advanced-chemistr... -- also shared by _Microft
comment 5y ago · link · parent
def fft(x):
N = len(x)
if N == 1:
return x
assert N % 2 == 0
E = fft(x[::2])
O = fft(x[1::2])
X = [None] * N
for k in range(N // 2):
tf = np.exp(-2j * np.pi * k / N)
X[k] = E[k] + tf * O[k]
X[k + N//2] = E[k] - tf * O[k]
return X
The Wikipedia article describing it is surprisingly decent:
https://en.wikipedia.org/wiki/Cooley%E2%80%93Tukey_FFT_algor...comment 5y ago · link · parent
One of his main critique points is that Apple makes it hard to repair their products, even for electronics professionals. In the past, Apple has also altered designs so that small electrical problems suddenly fry the most expensive component on the board, the CPU. Either this is an embarrassing, junior-level oversight or a deliberate anti-repair-buy-new-hardware tactic.
See, for example, https://www.youtube.com/watch?v=jahtu1_idVU
As such, it seems you are arguing against an idea that no one is suggesting.
comment 5y ago · link · parent
A ZigZag structure is an undirected graph. Nodes are arranged in an n-dimensional space. For each coordinate axis, every node can only have one edge in the plus-1-along-coordinate direction, and one edge in the minus-1-along-the-coordinate. I.e. no diagonal connections, and max one connection in each "cardinal direction" (+ and - in n dimensions = 2n directions).
In its simplest form, a ZigZag structure can be an n-dimensional grid, where each node is connected to its direct neighbors in the grid. In 2D, that would give you a spreadsheet. However, ZigZag can do more: you can have loops along any axis, e.g. a spreadsheet where the columns "wrap around". Furthermore, ZigZag supports looping the columns of only one particular row: a normal 2D spreadsheet, except that row 13 only has 4 columns, and those columns are wrapped up in a loop. You could also have sparse grids - where nodes are missing, and the edges skip over the missing node.
The idea is to have something that locally, if you look only at the surrounding nodes, always looks like a neat n-dimensional grid. But the global topology can be totally whacky.
I have no idea what you would use such a thing for.
comment 5y ago · link · parent
How do you take that away from the plots? If you're in the US my prime take-away would be to keep your BMI in check.
The first graph shows ~2 deaths per 1000 people per year. Surely more than 2 persons/1000/year die in those countries. What are the causes for the other ~10-15 deaths/1000/year?
Given the information in the article, I don't see anything to support the central thesis about air quality. The reasoning for it is so thin that I have no idea whether it's true or not.
comment 5y ago · link · parent
Majorana fermions are particles can potentially be created under stringent laboratory conditions. Whether this has been achieved in practice is unclear: many scientific papers purport to show evidence of Majorana particles, but there are other explanations that could explain to the observed data as well. New research is frequently published that claims Majorana production, but most often doesn't even acknowledge potential problems or alternative explanations. These sloppy practices cast doubt over the whole field, despite the large impact Majorana particles could have for quantum computing applications.
We need:
* More stringent data reporting: raw data, full data (not only the small subset supporting the hypothesis)
* More critical evaluation of other explanations for the observed data
* Transparent publication processes, that prevent a paper that was rejected by one journal on scientific grounds appear in another journal unchanged
comment 6y ago · link · parent
Gimbal lock arises in graphics systems when you store the rotation state as 3 Euler angles:
Internal State: AngleX, AngleY, AngleZ
Update algorithm: AngleX + dx, AngleY + dy, AngleZ + dz
Rotation = Rotationmatrix(AngleX) * Rotationmatrix(AngleY) * Rotationmatrix(AngleZ)
With this setup it is easy to come to a situation where AngleZ performs a rotation so that the X/Y rotation vectors coincide, and you lose one degree of freedom in the resulting rotation matrix.How to fix this:
Internal state: RotationMatrixOld
Update: RotationMatrixOld * RotationMatrix(dx, dy, dz)
With this setup there is no chance of Gimbal lock, the dx/dy/dz matrix always retains its degrees of freedom.Other notes:
* The above description applies irrespective of whether you use Quaternions or rotation matrices
* In higher dimension it's better to describe rotations by their rotation plane instead of the normal vector: in higher dimension there is no "normal vector". Rotation always works in ONE plane / two axis, so there are (N-2) "normal directions" in N dimensions.
comment 6y ago · link · parent
Just because you can automate it does not mean that the task is worthless.
React provides auto-migration scripts to newer versions, Python had the 2to3 utility, the Linux kernel has patches auto-generated with Coccinelle, editors have "rename this variable and all references" functions. Starting from a certain code base size there are changes that are worthwhile and best tackled with automation.
comment 6y ago · link · parent
In general, I can't recommend German-language "Berg und Steigen" magazine enough. It's focuses on safety and risk management in mountain-related activities (mountaineering, indoor/outdoor climbing, skiing, ski touring, mountain biking, ...). Older issues become completely freely accessible in their archive [2].
[1] https://www.bergundsteigen.blog/human-factor-and-decision-ma... [2] https://www.bergundsteigen.at/?module=archiv/ausgaben
comment 6y ago · link · parent
At the same time, lighter gasses have vertical distributions that reach higher up into space, and some helium does get lost as it "boils off" from earth over time.
comment 6y ago · link · parent
It's really my go-to reference for any practical control theory application.
[1]: https://www.wescottdesign.com/articles/pid/pidWithoutAPhd.pd...
26.
Marcus Aurelius – Best Lecture on Stoicism (1995) [video](youtube.com ↗)
3 points · by Greek0 · 6y ago · discuss
27.
Force enable dark mode in Chrome, Safari, Firefox(greek0.net ↗)
1 points · by Greek0 · 6y ago · discuss
28.
LDAP basics for users(greek0.net ↗)
3 points · by Greek0 · 7y ago · discuss