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

I never heard about this language, so I quickly looked through the docs and here is what I didn't like:

- integers use names like "short" instead of names with numbers like "i16"

- they use printf-like formatting functions instead of Python's f-strings

- it seems that there is no exception in case of integer overflow or floating point errors

- it seems that there is no pointer lifetime checking

- functions are public by default

- "if" statement still requires parenthesis around boolean expression

Also I don't think scopes solve the problem when you need to add and delete objects, for example, in response to requests.

comment 1y ago · link · parent

100-200 lines per day, written, debugged, tested and deployed, is normal performance, isn't it? I think I could do it if worked for 8 hours.

comment 1y ago · link · parent

English has over 1 million words? No way. Except for pronunciation, it is relatively simple language.

comment 1y ago · link · parent

I don't know if you were joking about the hammer or referring to a Russian assembly worker who used a hammer to install accelerometers in a rocket into a wrong position which caused it to attempt to fly downwards (no people were injured) [1].

[1] https://en.wikipedia.org/wiki/Proton-M#Notable_launch_failur...

comment 1y ago · link · parent

In a highly competitive, developed and free US market, why no bank offered this option?

comment 1y ago · link · parent

Proc macros are implemented in an unsafe way because they run arbitrary code during compilation and access any files. I do not like it.

Also I think it would be better if they operated with reflection-like structures like functions, classes, method rather than tokens - they would be easier to write and read.

comment 1y ago · link · parent

Languages like Rust and C seem to be too complicated for them. I also asked different LLMs to write a C macro or function that creates a struct and a function to print it (so that I don't have to duplicate a field list) and it generates plausible garbage.

comment 1y ago · link · parent

That would be "circumvention of DRM".

comment 1y ago · link · parent

Going to the library and reading a book takes hours while AI companies chew thousands of books per second. It's different scale.

comment 1y ago · link · parent

Any distribution of copyrighted material can cause you a big trouble.

comment 1y ago · link · parent

> But people do hear millions of words as children.

At a rate 1000 words/day it takes 3 years to hear a million words. Also "million words" is not equal to "million books". Humans are ridiculously efficient in learning compared to LLMs.

comment 1y ago · link · parent

Downloading and using pirated software in a company is fine then as long as it is not shared outside? If what you describe is legal it makes no sense to pay for software.

comment 1y ago · link · parent

To load a printed book into a computer one has to reproduce it in digital form without authorization. That's making a copy.

comment 1y ago · link · parent

By the way I wonder if recent advancement in protecting Youtube videos from downloaders like yt-d*p are caused by unwillingness to help rival AI companies gather the datasets.

comment 1y ago · link · parent

It is not wrong at all. The author decides what to do with their work. AI companies are rich and can simply buy the rights or hire people to create works.

I could agree with exceptions for non-commercial activity like scientific research, but AI companies are made for extracting profits and not for doing research.

> AI companies shouldn't pirate, but if they pay for your work, they should be able to use it however they please, including training an LLM on it.

It doesn't work this way. If you buy a movie it doesn't mean you can sell goods with movie characters.

> then you have not been harmed.

I am harmed because less people will buy the book if they can simply get an answer from LLM. Less people will hire me to write code if an LLM trained on my code can do it. Maybe instead of books we should start making applications that protect the content and do not allow copying text or making screenshots. ANd instead of open-source code we should provide binary WASM modules.

comment 1y ago · link · parent

Computers cannot learn and are not subjects to laws. What happens, is a human takes a copyrighted work, makes an unauthorized digital copy, and loads it into a computer without authorization from copyright owner.

comment 1y ago · link · parent

> "Like any reader aspiring to be a writer, Anthropic's LLMs trained upon works not to race ahead and replicate or supplant them — but to turn a hard corner and create something different," he wrote.

But this analogy seems wrong. First, LLM is not a human and cannot "learn" or "train" - only human can do it. And LLM developers are not aspiring to become writers and do not learn anything, they just want to profit by making software using copyrighted material. Also people do not read millions of books to become a writer.

comment 1y ago · link · parent

If AI companies are allowed to use pirated material to create their products, does it mean that everyone can use pirated software to create products? Where is the line?

Also please don't use word "learning", use "creating software using copyrighted materials".

Also let's think together how can we prevent AI companies from using our work using technical measures if the law doesn't work?

comment 1y ago · link · parent

Probably it is because the first solved problem seems like fun, but solving problems daily as a job quickly become boring?

comment 1y ago · link · parent

While it's a little unrelated, I don't like when a language model pretends to be a human and tries to display emotions. I think this is wrong. What I need from a model is to do whatever I ordered to do and not try to flatter me by saying what a smart question I asked (I bet it tells this to everyone including complete idiots) or to ask a follow-up question. I didn't come for silly chat. Be cold as an ice. Use robotic expressions and mechanic tone of voice. Stop wasting electricity and tokens.

If you need understanding or emotions then you need a human or at least a cat. A robot is there to serve.

Also people must be a little stronger, out great ancestors lived through much harder times without any therapists.

comment 1y ago · link · parent

Wikipedia says building were being moved since 19th century. We also had a large-scale building relocation during Stalin's Moscow Reconstruction (basically, destroying beautiful historical houses to expand ancient curvy streets into straight wide roads) - some buildings were moved without cutting water supply, electricity and even with residents inside [1]. This probably was intended to showcase the achievements of Soviet engineering but judging by the comments here (and by English Wikipedia article on the topic) nobody even remembers this.

Personally I think that there should be no new construction in historical areas and there is no need to move anything.

[1] https://www.mos.ru/en/news/item/13744073/

comment 1y ago · link · parent

Those who want to make an advertisement comic?

comment 1y ago · link · parent

You are searching in the wrong place if you look for "good guys" among commercial companies.

comment 1y ago · link · parent

You mean people are ready to exchange a democracy and freedom for a tiny increase in income?

comment 1y ago · link · parent

The best solution would be if canvas only allowed displaying pixels on the page but not drawing (meaning you need to bring your own drawing library) so that it would be unusable for fingerprinting.
1
464748
185