Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 1y ago · link · parent

So you need to use hacks, like compiling code into a web-browser language and messing with config files instead of having security out-of-box?

But thank you for letting me learn something useful.

comment 1y ago · link · parent

They are not guaranteed to be precise anyway.

comment 1y ago · link · parent

The problem with C++ metaprogramming is that it is pain to read and understand, unless it is your daily job.

comment 1y ago · link · parent

Javacripts has lot of low-level functions like [[Get]], [[Call]], [[ToPrimitive]] which can be redefined. If you believe that JS is easy, do you remember how these low-level functions work? Also, JS has prototypes.

comment 1y ago · link · parent

The problem with macros in Rust is that they have full access to your computer. This is literally an invitation for exploitation. I think we will see the attacks based on this vulnerability once Rust becomes more popular.

comment 1y ago · link · parent

Bubblewrap is very limited, for example it doesn't allow to grant access to /proc/self/exe without giving access to whole /proc subsystem. So I had to write an emulation of /proc in Python and mount it with FUSE to work around this. I wonder if this issue is fixed in landlock, firejail and others.

Also bubblewrap cannot ask for a decision in runtime: you must set up the rules beforehand.

comment 1y ago · link · parent

I am surprised that people here are saying good words about food delivery workers. They are at least annoying when they break all the traffic rules, crossing roads in every direction on every traffic light color, and often dangerous when they ride on the sidewalk with a high speed. I wish they were at least banned from the sidewalks.

Also recent police raid (they should make them every day) showed that some of the delivery workers were illegal migrants, which shows that companies do little effort to check their documents when hiring.

comment 1y ago · link · parent

There is an ocean somewhere near Jupyter or Saturn.

comment 1y ago · link · parent

This becomes a vicious circle. Language developers do not want to make the language safer because legacy CPUs do not support overflow trapping, and CPU designers do not bother to add it because nobody needs it. For example, RISC-V spec says that they decided to not add overflow trapping because it is "easy" to do in 3 or 4 existing instructions.

comment 1y ago · link · parent

> Fonts are passed through the OpenType Sanitizer prior to processing.

Are font formats so bad that the files need to be sanitized?

Also, note that the identified integer overflows as one of causes of vulnerabilities. It is sad that today many languages do not detect overflows, and even modern architectures like RISC-V do not include overflow traps although detecting an overflow doesn't require many logic gates. C is old, ok, but why new languages like Rust do not have overflow traps, I cannot understand. Don't Rust developers know about this thing?

comment 1y ago · link · parent

Well, if you have 16 M3-equivalent chips you can multiply the bandwidth by 16, right? Also, as I understand, ML is basically matrix multiplication and it has O(N³) operations on O(N²) numbers, so bandwidth might be not as important as number of ALUs.

comment 1y ago · link · parent

AMD has documentation for its assembly language as I remember. Or one needs more documentation to run AI?

comment 1y ago · link · parent

What's the merit of doing this?

comment 1y ago · link · parent

GDDR chips already have very high latency.

comment 1y ago · link · parent

Why NVIDIA cannot manufacture 512 Gb chips and put 16 of them on the board?

comment 1y ago · link · parent

Why Apple packs something like 64 Gb on the CPU chip and NVIDIA cannot?

comment 1y ago · link · parent

But theoretically RAM chips do not need to be synchronous with each other. Even more, the data lanes on the chip do not need to be synchronous - you can treat each lane as an independent serial channel. And GDDR latency is high enough that longer lanes won't change anything.

comment 1y ago · link · parent

If you buy an expensive camera with expensive lenses, you will be able to take such photos, won't you?

comment 1y ago · link · parent

People might not care, but it also might be that they are not aware. Telemetry and data collection are cleverly hidden by app developers. Imagine if for example a phone would show messages like "Sending your data to Company X" every time it sends a telemetry. That would make people more aware.

comment 1y ago · link · parent

As I understand, you can override the panic, but lose your hearing.

comment 1y ago · link · parent

It is not Russia-controlled but it has a long history of relationship with Russia: for example, Russian Empire entered WW1 to protect Serbia.

comment 1y ago · link · parent

"Well I am not breaking any laws so this won't be used against me. And I need money anyway"

comment 1y ago · link · parent

It is interesting that there is a graph showing performance on benchmarks like MMLU, and different models have similar performance. I wonder, are the tasks they cannot solve, the same for every model? And how the "unsolvable" tasks are different from solvable?

Also, I cannot check it with latest models, but I am curious, have they learned to answer simple questions like "What is 10000099983 + 1000017"?

comment 1y ago · link · parent

It is interesting that there are analogies between encryption (or hashes) and Collatz conjecture.

comment 1y ago · link · parent

It is good that commercial messengers forced GSM association to finally create E2EE standards. The reason why telcos want you to use RCS becomes obvious if you calculate how much 1Gb of data costs if sent as SMS (I guess that one could buy a car with this money).

comment 1y ago · link · parent

Sadly Wikipedia doesn't describe a specific mechanism that helps pigeons to navigate. I wonder do pigeons simply fly high enough that they can see hundred miles around?

comment 1y ago · link · parent

In this case, if the scammer is from Russia there is likely no trafficking involved (except maybe for the woman who called on the phone because she did not sound Russian to me).
1
585960
185