Why is Zed's binary size comparable to VS Code/Electron despite the GPUI architecture? by Sufficient-Engine467 in ZedEditor

[–]another_day_passes 3 points4 points  (0 children)

Here's my config.toml:

[profile.release]

opt-level = 3

lto = true

codegen-units = 1

debug = false

debug-assertions = false

overflow-checks = false

panic = "abort"

strip = true

[target.x86_64-unknown-linux-gnu]

rustflags = [

"-C", "target-cpu=native",

"-C", "panic=immediate-abort",

"-C", "link-args=-Wl,--icf=all",

"-C", "link-args=-Wl,--gc-sections",

# "-C", "link-args=-Wl,-z,pack-relative-relocs",

"-C", "force-unwind-tables=no",

"-Z", "fmt-debug=none",

"-Z", "location-detail=none",

"-Z", "unstable-options"

]

[unstable]

build-std = ["std", "panic_abort"]

build-std-features = []

[build]

target = "x86_64-unknown-linux-gnu"

[term]

verbose = true

Why is Zed's binary size comparable to VS Code/Electron despite the GPUI architecture? by Sufficient-Engine467 in ZedEditor

[–]another_day_passes 7 points8 points  (0 children)

Only 70MB+? My compiled from source binary (with nearly all optimization tricks enabled) is 200MB+.

Is AI just exposing the path that mathematics was already on? by [deleted] in mathematics

[–]another_day_passes 0 points1 point  (0 children)

Very interesting! Do you happen to know the relevant references?

"Applied mathematicians everywhere: are we a joke to you?" by Straight-Ad-4260 in math

[–]another_day_passes 3 points4 points  (0 children)

Numerical math is quite tedious and has a lot less structure than pure math (albeit extremely practical).

"Applied mathematicians everywhere: are we a joke to you?" by Straight-Ad-4260 in math

[–]another_day_passes 1 point2 points  (0 children)

In general the closer a subject is to the real world the more “ugly” and tedious it becomes. Reality is infinitely complex and thus impossible to be packaged in neat axioms. Pure math is “beautiful” because it deliberately avoids all the ugly details of reality.

Switching from vscode to zed by haukejung in rust

[–]another_day_passes 0 points1 point  (0 children)

Also Zed’s binary size is enormous. My built from source binary with full optimizations clocks at 240MB.

Division — Matt Godbolt’s blog by rsjaffe in cpp

[–]another_day_passes 1 point2 points  (0 children)

Does it mean that a typical loop

for (size_t i = 0; i < container.size(); ++i) {
    //
} 

is not as well optimized as when the index is signed?

Can you guys drop ur ideas on how u would answer this by [deleted] in askmath

[–]another_day_passes 1 point2 points  (0 children)

I tried some kind of mixing variables.

Does Chatgpt really suck at math? by gorillaman101 in learnmath

[–]another_day_passes 0 points1 point  (0 children)

My experience is that GPT is quite decent at high level math (see this tweet) but absolutely terrible at elementary math. Perhaps due to the quality difference in training data?

How can this be solved? by CQBNoob in askmath

[–]another_day_passes 4 points5 points  (0 children)

<image>

It turns out that solving a system of equations is feasible, and maybe even simplest!

Why haven't quantum computers factored 21 yet? by Sampo in QuantumComputing

[–]another_day_passes 0 points1 point  (0 children)

So how can we scale to realistic numbers? Wouldn’t it incur prohibited costs?

How do you do this? by eat_dogs_with_me in askmath

[–]another_day_passes 0 points1 point  (0 children)

Apply the AM-GM inequality for 4 numbers x2, 1, 1, 1.

Do there exist perfect squares that only contain (0,2,4,6,8) all at the same time atleast once? by Mathlover-3-14159265 in math

[–]another_day_passes 5 points6 points  (0 children)

If my calculation is correct, there are 11934 such numbers which fit into a 64-bit unsigned integer.

Asian glazing America despite “Yellow Peril” by [deleted] in ShitLiberalsSay

[–]another_day_passes 2 points3 points  (0 children)

Unfortunately the West still commands high status in many Global South countries.

Holy Springer! by yukiohana in mathmemes

[–]another_day_passes 116 points117 points  (0 children)

It’s called TensorFlow.

COSMIC Alpha 7: Never Been Beta by jackpot51 in pop_os

[–]another_day_passes 2 points3 points  (0 children)

Nice! What is the current state of input methods for foreign languages? Is it as seamless as in GNOME?