HackerLangs
TopNewTrendsCommentsPastAskShowJobs

greiskul

no profile record

comments

greiskul
·قبل 28 يومًا·discuss
Yup, some of my first contributions when I was a teenager, was to an open source project where I was able to find a couple of bugs, and implement a hacky solution that I shared with the team on the forum. My code was absolutely awful, but by having done both the effort of tracking down the cause of the bug, and one possible way of fixing it (which was badly coded, but worked), made the developers able to quickly turn around and edit my patches into actual patches that got merged into the project.

And it was actually a pretty good feeling. Made me feel that even as a newbie programmer, I was adding value to the community, which I was!
greiskul
·قبل 28 يومًا·discuss
Thats the thing with giant PRs. They never really needed to be reviewed anyway. In cultures with strong review culture I have worked at, if you send me a thousand line PR and ask me to review it, I will look at the giant blob of text, and immediately fire off a "it's too long, can you cut it into smaller PRs?".

Because I don't trust myself to review a giant PR. It takes too much cognition to properly review it.

And now that people are making PRs with AI, this is even more important. If the AI was good enough to have coded it, please instruct it to make the changes in reviewable chunks.
greiskul
·قبل 28 يومًا·discuss
> the person who said this has the coding skills of a Claude Opus 4.5 or whenever the frontier was when they flipped

It's not about just skill. It's a matter of skill, time, and how critical the software you are writing is. There is a lot of software that is not critical. That is not close to security mechanisms. And that even if the code quality is not the highest, it does not matter.

Even if you are the best coder in the world, you would already become more productive by using ai. Things that in the past you might have not coded yourself but delegated to an intern, or things that you wouldn't even delegate to an intern because they are just too boring to do like some refactorings.

Like I had this project at work that was written without typescript strict mode turned on. When I turned it on, it had over 700 errors. I might be better than AI to fix every single of one these errors. But my time is worth more than that in doing other things. But I can, and did, ask AI to fix every single one. And then I reviewed it batches, and something that my team wanted to do for multiple years and nobody had the time for, finally got done.
greiskul
·قبل 28 يومًا·discuss
Yup. If you are bilingual, you quickly realize how some translations are very bad. How some translations are very good. And how hard it is to translate. With dry, simple text, it might be easy. But when it involves art? Some jokes don't translate directly. There is pun. Sounds of words. Double meaning. Ambiguity. Cultural background. The creation of new words.

It can be reasonably argued that some poetry can be impossible to translate from some languages to others. A poem might be explained, but by a lenghty, dissecting explanation, that completely loses the point of it.
greiskul
·قبل 28 يومًا·discuss
It is possible it is just time. Modern humans are considered to have existed for 300k~ years. Civilizations are about 6k years old.

So who knows. Maybe if you gave them an extra 10k years, they would have achived "civilization". It is not much for the scale of human existance. But it is longer than any of our civilizations has existed for.
greiskul
·الشهر الماضي·discuss
Or maybe 100 years from now, your toaster will be powerful enough to run the game.

To me this is about both preserving the access to what consumers purchased, but also future preservation of art.

Copyright is not a natural right. It is a monopoly granted by the government to creators, specifically with the goal of the progress of art and science.

Games that completely die because their servers are shut off, in my opinion should just lose copyright outright. Why should the people via the government provide you with a monopoly on publishing something that you have stopped publishing?
greiskul
·الشهر الماضي·discuss
From all their desperation in making sure api keys are not used in contexts where they are not supposed to, I would say that they actually appear to have services where their profit is negative, if a customer is actually using their api to the limits they set, they lose money. They wouldn't have been this desperate in trying to shut off OpenClaw if it wasn't this way. Most companies that provide api infrastructure love when a killer app using their api is made by outsiders.

And while you can beat low margin with scale, there is the famous joke "we lose money on every sale, but make it up in volume".

If you scale a low margin operation, you can become giant. If you scale a loss making operation, you go bankrupt.
greiskul
·الشهر الماضي·discuss
Commentary and criticism are by law protected as fair use. Why would revenue share be done "ideally"? News reporting is also covered under fair use, do you expect news organizations to pay for reporting on movies?

Ideally fair use would be defended, it is the law of the land, and when a takedown notice was emitted maliciously, with known bad faith, the actor that did that would have to pay for the amount of time that the legal content was down.
greiskul
·قبل شهرين·discuss
Can't answer for others, but I look at this law from the viewpoint of foreign workers, cause I am a foreigner worker. In Canada. Decided to absolutely never immigrate to the US due to the US blatant rise in xenophobia.

And the US has proven me correct over and over again in that assessment. Will watch with great pleasure the brain drain your country will face, and I honestly hope your economy will completely collapse.
greiskul
·قبل شهرين·discuss
And even if you do end up writing an unsafe block, that should be a massive flag that the code in said block should deserve extra comments on why it is safe, and extra unit tests on verifying that it does not blow up.

How do you know the unsafe operation is safe? What are the preconditions the code block has? Write it down, review it, test it.
greiskul
·قبل شهرين·discuss
> you can never have too many sources of entropy

This is so true. And the beauty is that with algorithms, we don't even need to know much about the entropy to be able to extract it.

There is the Von Neumann method of generating an unbiased coin from a biased coin. Of throwing it twice, and checking if you got HT or TH. And completely discarding all HH or TT results. It doesn't matter if the coin you are using is 20% or 80%, the result will be a true 50/50.

There are more modern algorithms that can be even better (in that they need less coin tosses if you have a very unbalanced coin).

And then there is modern cryptographic hashing. Feed it all the bits you can. Collisions end up only happening in the real world if every single one of those bits is identical. So if you have actual entropy being fed, that cannot be controlled, predicted, or replicated, modern cryptography tells you that the end result is unique.
greiskul
·قبل 4 أشهر·discuss
As someone once said it best, Win32 is the only stable ABI on Linux: https://blog.hiler.eu/win32-the-only-stable-abi/
greiskul
·قبل 4 أشهر·discuss
And the people attacked in the weird scene are people that tended to just be dissappeared by police. Gay men. Prostitutes.
greiskul
·قبل 4 أشهر·discuss
The leg is used both as a urban legend that was told at the region at the time, but also as a metaphor. The surrealist scene where it shows the leg brutally attacking people at night: all the people attacked are prostitutes, gays, etc. People that during the dictatorship the police used to just dissappear, and society turned a blind eye to it.

And it is meant to feel meandering cause that is how this period feels for people trying to study it. There are many cases that we don't know what happened. We just know that the people were killed/disappeared. The perpetrators were never brought to Justice. We are not even sure who the specific perpetrators are in a lot of cases.

This is how the Brazilian military dictatorship operated. There are people in Brazil who want to go back to this period. They say that everything was better. The truth is that a lot of stuff that was bad, was so bad that we don't even have the records to properly reconstruct what happened.
greiskul
·قبل 4 أشهر·discuss
Absolutely. For more progressive democrat voters already been harbouring bad feelings around the legitimacy of the establishment candidate from previous elections. The two party system already loses a ton of the feeling of choice and participation in Americans. The primary is the escape valve. It is supposed to be when people that care about politics get to argue about policy, direction, etc. Even if you don't agree with the final candidate, you feel like you helped shape the direction of the process. By skipping this, even if there were other circumstances, it feels like a huge turn off for that base of the party.

And then for other democrats, the feeling when you have an unpopular president like Biden was seen at the time is to go anti estabilishment. But Kamala was Bidens VP. She couldnt run an anti estabilishment campaign when she was part of the estabilishment.

If there had been a primary, whoever was the candidate, even if it was Kamala herself, would have been much better positioned for the General Election.
greiskul
·قبل 4 أشهر·discuss
> whether thinking requires exceeding the Turing computable

I've never seen any evidence that thinking requires such a thing.

And honestly I think theoretical computational classes are irrelevant to analysing what AI can or cannot do. Physical computers are only equivalent to finite state machines (ignoring the internet).

But the truth is that if something is equivalent to a finite state machine, with an absurd number of states, it doesn't really matter.
greiskul
·قبل 4 أشهر·discuss
Does JSON have support for protocol versioning?
greiskul
·قبل 5 أشهر·discuss
This used to be true, but now I don't think it is anymore. Modern frameworks and modern screen readers have no issue with acessibility.

Some survey from WebAIM found that 99.3% of screen reader users have JavaScript enabled.

So... are they really in accessibility territory still? Only people I still see complaining about Javascript being required are people that insist the web should just be static documents with hyperlinks like it was in the early 90s.

Can you find a modern source with valid reasons for accomodating non-JS users?
greiskul
·قبل 5 أشهر·discuss
But is Google buying those GPU chips for their own use, or to have them on their data centers for their cloud customers?
greiskul
·قبل 5 أشهر·discuss
It's not about power users. It's about regular users and the patterns they have learned.

The mobile ecosystem was built in a way to funnel all users into apps. That's the experience that is optimized for use, that's the experience users feel safe and secure. Barriers were put in place on what apps are even allowed to do (like not having alternative app stores, or a browser in iOs that is not just a webview of Safari). This created an enviroment where developers and companies are forced to develop to this ecosystem, and pay the Apple tax, since that's where the users are. And an alternative system is impossible to be created since Apple uses it's power at the hardware and operating system level to make alternatives impossible.

And someone will probably come and say that this is all users choice to be locked down in the walled garden. That the walled garden is keeping the users safe, so therefore it is only fair that Apple gets to capture 30% of all digital economical activity.