HNHacker News
TopNewBestAskShowJobs

boterock

244 karma · joined August 15, 2014

submissionscomments
boterock··on America.gov
And along those lines, I'd like to ask USA government to stop messing with other countries politics.
boterock··on Go Gray, Not Cray: Why You Should Grayscale Your Phone
some oled displays have white subpixels, i dont know if the power cost is a thing though
boterock··on Netflix’s AV1 Journey: From Android to TVs and Beyond
tv manufacturers don't want high end chips for their tv sets... hardware decoding is just a way to make cheaper chips for tvs.
boterock··on From VS Code to Helix
And regarding availability, Colemak is now included in Windows 11, which makes it available out of the box in all 3 major OS's. Also, Colemak is an easy way to upgrade comfort in cases where you can't change the keyboard, like a laptop or shared computer.
boterock··on Covers as a way of learning music and code
I think US culture overall frowns upon non-original works. From school there's some push against working on something that is a copy of someone else's work. In the meantime China has mastered copying and made it a big part of their culture and economy.

Nowadays I'm learning game engine techniques by reading Godot code and implementing the damn same thing in my engine... Also, nowadays I like tracing pretty anime drawings... I enjoy it more and end up with something I like better than if I were to draw something original.

boterock··on How fast can European steelmakers decarbonise?
Fun way to look at it, you at the north give us a lot of planned obsolence goods in exchange for our monies. North even gets into politics pushing developing countries infrastructure towards oil economies. and then, we consume what you led us to, and suddenly we're the bad guys.
boterock··on Try Galaxy: A web app to demo Samsung’s OS on an iPhone
but now they added this task switcher to iPad which also appears when dragging from the left edge, and now going back is like rolling a dice. you don't know how how to go back without triggering the task switcher so it ends up taking multiple attempts to go back without the OS consuming the input
boterock··on Htmx 1.9.0 has been released
godot ticks at that rate, but if you don't transform UI things, they don't get redrawn. so maybe the framebuffer is switched every frame, but draw calls shouldn't be reissued unless needed.

also, I think it is possible to make it not tick from time updates, but only from input event updates, or maybe an animation actually running. similar to what the editor does.

boterock··on A secret message in a Colombian song gave hostages hope
That is exactly the point. That is the impression, impression made by media mostly.
boterock··on A secret message in a Colombian song gave hostages hope
I always thought of this as a gimmick from the government. Why would they risk an operation just to send hopes to the hostages. I always felt this was more to get good will from people than for the hostages themselves.

And as always, only part of the story is told. Who were the guerrilla? who where the hostages? not defending them, but in the countryside is common that the guerilla defends the farmers, and the hostages are corrupt politicans.

boterock··on Framework Laptop (2022) review: the repairability dream
There is a world out there where people pay 15~20% of their annual income to buy a computer

seen under a different lens: you think that an effort a person does over 3.65 days to afford a computer is expensive, while many people would have to accumulate the effort of 73 days to afford it.

boterock··on Open source alternatives to popular SaaS products
I have heard of sandstorm.io
boterock··on How bad is QWERTY, really? A review of the literature, such as it is
I switched to Colemak 4 years ago or so, and I think it is one of the best investments of my time ever made. Yes, you will feel similar to that feeling you get when you write with your left hand (something like, why tf I'm doing this, if i'm perfectly capable of living my life as I have been doing before), but it is a skill that will benefit you all your life and I would recommend you to do so.

Still, it is not perfect. The pinky getting tired is something that happens, but it is still so much better than QWERTY. I don't think I will try that QWYRFM layout, as I haven't felt big pain since switching (before switching I felt some pain, but after, I slightly feel something, but after a lot of effort, and not enough to feel worried). And I think if I start feeling something to worry, there are some things I could do before, like using a split keyboard, or optimizing the desk height, before switching to another layout.

Again, try Colemak (or if you want to try any other layout, welcome). It will do good for you.

boterock··on Going forward, Unity devs will need Unity Pro to publish on consoles
I would also add their animation system is crap. If you try something like Animancer, you will never ever want to interface to the AnimatorController stuff because is so badly designed.

Overall their business model of providing some kind of foundation to be filled up with plugins is terrible. I don't have an issue with plugins, but needing to rely on plugins for the very basic things like input management, localization, animation, source control... Just so they do less, and earn more (because otherwise people would just wouldn't pay for that, presumably?). That's a shitty way to run a software company.

Only recently they have started to care, but I think it is too late, and it will be hard to beat the momentum that Godot already has. I would bet that in a couple years the tables will turn and Unity will be juggling to keep their market share.

boterock··on Going forward, Unity devs will need Unity Pro to publish on consoles
That's an issue you don't have if you provide source code.

If a customer relies on bad architecture/undefined behaviour, that shouldn't pull back all the other customers that want their subscription materialize into engine improvements.

boterock··on Going forward, Unity devs will need Unity Pro to publish on consoles
Having the source code available is much better as an investment. Unity support (forums, answers, whatever) is a joke.

It is very sad that whatever gamedev question you have, if you search in google and add "Unity" the answers quality degrades a lot.

boterock··on Going forward, Unity devs will need Unity Pro to publish on consoles
UE4 has been able to export to switch for a long time (Snake Pass notably released on switch, before any other console, 4 years ago) For Godot, there are companies that do the porting (presumably they developed their own interfacing layer), these services seem to be not very expensive, and one of the Godot founders runs one of these companies IIRC.
boterock··on Organopónicos
That review at the end is strange in many ways, it shows the sad truth about economics between other countries and the US. If someone is doing something good, but is not for the benefit of the US, then it is bad. If we develop a technique to harvest locally, efficiently, imagine how much the rest of america would stop depending on US for their industrial needs. So it naturally it appears harmful to the US.

US media has done so much harm to the world, at this point I think THEY are the harmful thing, telling the story that benefits the US despite the truth of many places being better without the US imperialism.

boterock··on In Mexico, cartels are hunting down police at their homes
Yes you’re right, I can’t say from that side.

What I can say is it has happened here for a long time, and no one questioned as they were also in control of the media. Just until recently it became widely known the 20+ years of smoke of “fight against drugs”. Maybe over there is different, or maybe is not a big of a deal, as, even if there is a lot of money in drugs, there is orders of magnitude more money in big tech, and also from a cleaner origin, so who knows.

boterock··on In Mexico, cartels are hunting down police at their homes
The skeptical part of me makes me think that it is just smoke... the police takes down large gangs as it draws too much attention, so they gotta do their job. But really big fishes never get caught, and everyone gets good scores in their reports. Down here it is known that some cops are in the trafficking network, and micro traffic is the norm.
boterock··on In Mexico, cartels are hunting down police at their homes
Small captures are just the distraction, heck, they even made a tv show “alerta aeropuerto” where they show how efficient they are grabbing mules (that’s the name we give individuals who transport cocaine). The truth is that cocaine transportation is a business that airlines and politicians are into. Nothing unexpected, knowing the dirty records of very high security agencies from both sides.

Well, I can only speak from this side, I don’t really know what happens in the US, but here we have always been fooled by the media, so maybe it can happen there too. And we all know what politicians are capable of.

boterock··on In Mexico, cartels are hunting down police at their homes
The case here is that coca traffickers and producers are very different. Producers the bottom of the chain, who live in the violence, sometimes they’re threatened if they try to change their crops. Traffickers are the ones that have got into politics, actively sabotaging any effort of legalization, while also controlling the mass media, and preaching under the blessing of US drug fight. That is the very same group of right wing capitalist politicians that have signed disastrous coal/oil mining regulations, and signed free trade agreements that have hit the local farmer the hardest. The moment when the money of cocaine actually reached the people was back in the time of Pablo Escobar. Since then almost none of the profits have reached the actual farmers.
boterock··on In Mexico, cartels are hunting down police at their homes
US and Canada are very into southern politics, to do a lot of coal/oil/etc mining very below the actual worth, because it is always so much cheaper to lobby local politicians, who get elected year after year because they control the big media chain, making the whole circle of corruption and then labeling it democracy and capitalism
boterock··on In Mexico, cartels are hunting down police at their homes
These turf wars exist because these people have a lot of power from trafficking drugs over a very widespread area. In the moment that every person can have a coca plant in their house, the trafficker loses this power.
boterock··on In Mexico, cartels are hunting down police at their homes
Maybe they do the same that politicians do here... they keep the cops busy grabbing individuals, but they turn a blind eye to the shipments of tons that are sent via airplanes that could be intercepted easily. In the end everyone knows that it is a deal between traffickers and politicians.
boterock··on In Mexico, cartels are hunting down police at their homes
The problem is more that people don't know all the problems that are causing when buying cocaine. In the end, if they're doing it at home without harming anyone, what's the issue? I would relate it more to how people eating meat are contributing to global warming without realizing it.
boterock··on In Mexico, cartels are hunting down police at their homes
About that last sentence: "former U.S. Ambassador [...] said in April that López Obrador views the fight against drug cartels as a distraction ... So he has basically adopted an agenda of a pretty laissez-faire attitude towards them, which is pretty troubling to our government, obviously.”

Not from Mexico, but from Colombia, where we also have a very hard time with drugs. The real problem with drugs has never been here. It is always because the US which always pushed us to fight drugs from this side, while they don't seem to do much from their side, this way they push the war to this side. while they get to enjoy the benefits of unregulated markets.

The true solution to the problem is regulated drug market, where the country people can make a profit out of it, and every link of the chain pays its due taxes. But cocaine is so big of a business that mafias aren't letting that happen.

US doesn't even care about cocaine, otherwise they would be doing a far better job at eliminating the trafficking. It is just that if they're not the ones making a profit, then no one should make a profit.

Typical case of a northern country exploiting a southern country.

boterock··on The complexity that lives in the GUI
I was doing something like that with Godot [1], the approach I took was setting some global "dragged_item" when the drag started, and then each drop target would check if the dragged_item was compatible and if the mouse was within its bounds. This way each drop target would do the check instead of some drag manager having to check whatever was under the cursor.

[1] https://github.com/0xafbf/aether/tree/master/addons/godot_im...

boterock··on Godot Shaders: View and Share Shaders for Godot
Godot shading language is GLSL with some syntax sugar. The nice thing about the Godot visual shader editor is that you can start from nodes, and then open the generated code panel, copy it and continue from there in a code shader.

I think that although Godot doesn't have as much nodes, I like it over unity's or unreal's editor. It doesn't try to be as smart, so you get separate vertex and fragment stages, and you may find issues like getting local coordinates in vertex stage and normalized device coordinates in the fragment stage, instead of world coordinates (like ue4 does). Which may bite you at first, but it is actually nearer to what happens under the hood.

boterock··on Godot Shaders: View and Share Shaders for Godot
From what I've seen on computer graphics, most of the algorithms are tricks and hacks... I think that in the end a good engine should acknowledge that it is hard to support everything, so just having a hackable interface is good enough.
Page 1 of 5Next →