HNHacker News
TopNewBestAskShowJobs

chucklenorris

165 karma · joined January 9, 2017

submissionscomments
chucklenorris··on Llama.cpp: Port of Facebook's LLaMA model in C/C++, with Apple Silicon support
Games don't want slow memory accesses because it tanks the fps so there was no incentive to have a working implementation (except in laptops).

And also - vram is a moat that keeps the cost of "professional" cards absurdly high without making them actually faster than consumer cards.

chucklenorris··on Parts Pairing Kills Independent Repair
Seems far fetched that someone would go so far to attack you. What sort of enemies you have?

What i'm saying is that most of us are willing to give up a bit of security for repairability and saving the planet. Phones and laptops are expensive products in terms of resources used to create them. We're definitely not paying the full price for them. Imagine how much would it cost to extract every microgram of precious resources and capture all pollution and co2 emitted in the supply and distribution chain. Instead we're lining the pockets of megacorps that use every trick to enrich themselves while slowly destroying the environment, the same corps that gives access to your data to the government if need be. I'd say the chance of a sophisticated hardware hacker implanting a rogue chip in your phone is somewhat smaller than the chance of your phone's screen or battery dying in the next year.

chucklenorris··on Tiny ion is crucial for HIV replication, say chemists
Thank you for this, it really helped me visualise the process!

I find it amazing how the proteins not only have to create the shape in the end, but they also need to be able to snap together in the right conformation and avoid snaping together with other molecules that happen to be around there. And they must evolve that function in the first place. I intuitively have a hard time grasping what simple processes repeated an inumerable amount of time can produce in the end. And yet here we are.

chucklenorris··on Tiny ion is crucial for HIV replication, say chemists
Can someone explain how these proteins get to form the capsid structure? Do they just float around in the cytoplasm and self-assemble through molecular forces? Or there are other specialized machines that do the assembling? How are the machines produced in the first place? It seems so improbable, like throwing a bunch of bricks near each other and getting a house
chucklenorris··on We could stumble into AI catastrophe
Yeah, i find the connection between consciousness and intelligence tenuous at best. Our survival imperative, thermodynamic and game theoretical constraints give rise to it and i'd argue that every living organism has a form of consciousnes, from very primitive to, well, our level. So yeah, I believe we'll have far more intelligent ais in the future that would otherwise be inert.

Ofcourse, in our foolishness, we could create an ai with the goal of survival and replication at the expense of everything else. Or self optimisation could inadvertedly do so

chucklenorris··on Ask HN: Is TypeScript worth it?
I work with typescript everyday. I review prs, i mentor junior devs that are learning typescript. Ofcourse this is my experience, maybe yours is different, if so please tell me about it. The only thing i said is that there is an upfront cost in velocity that people are usually not considering when they are choosing to use ts over js. Sure, that cost may be amortised in fewer bugs and easier collaboration across large development teams. But i see people struggling everyday with specifying correct and complete types. I reject prs, i babysit devs that can't figure out how to type certain code constructs. And if i don't do this the project ends up a mess of anys and ts-ignores which undermines the value proposition of typescript.
chucklenorris··on Ask HN: Is TypeScript worth it?
As i said before, a lot of people expect that writing typescript is as easy as writing js, which is not. I estimate the typescript tax to be around 40-100% more time, especially if you want to do typescript right and not use `any` all over the place. And besides, typescript is a poor fit for someone who is used to writing highly dynamic, lambda based code, which is one of the main niceities of js. My guess is that a lot of people with a background in java and c# found themselves writing server side js and were really unconfortable with this paradigm, so they tried again to turn js into what they knew best - an imperative object oriented programming language. Now, i'm not saying that types are a bad thing, i for one like typescript especially in projects with a lot of people, but, it's funny to see new people struggling to finish a task that should take a few hours in days.
chucklenorris··on U.S. moves to seize $460M Robinhood stake linked to Sam Bankman-Fried
And ofcourse no word about clawing back the donations to democrats and republicans
chucklenorris··on Automating heating with Home Assistant
Oops, sorry, did not pay attention
chucklenorris··on Automating heating with Home Assistant
I don't know what type of gas meter you have in uk so this might not work for you but I used a aqara door/window sensor without the plastic case stuck under the meter digits. There's a magnet embedded in the last digit so it will trigger it once per revolution. It looks like this: https://community.home-assistant.io/t/gas-meter-from-xiaomi-... .I saw that others 3d printed an enclosure and moved the reed sensor closer, but, i just wrapped it in electrical tape and it's been sitting there for 6 months without an issue.
chucklenorris··on Ask HN: Concepts that clicked only years after you first encountered them?
I'll add one more book reccomendation on this subject: Sapolsky's "Why zebras don't get ulcers". It's a really eye opening summary of the physiology of the stress response literature. Quite scary at times.
chucklenorris··on All I want for Christmas is these seven TypeScript improvements
Yes, that and the openapi plugin is what i use right now. Before i used to load the ts compiler at runtime and tell it to parse my file and got the types from there. But it was a stupid overengineered brittle solution.
chucklenorris··on All I want for Christmas is these seven TypeScript improvements
Something like typeinfo<T> being inlined into an object describing my type. Totally opt-in, no need for every type to be tracked at runtime.
chucklenorris··on All I want for Christmas is these seven TypeScript improvements
I want actual reflection a la python so i can use my types to generate all sorts of artifacts for runtime validation, serialization, testing, etc. It's frustrating to make the effort to create the types and then not be able to touch them at runtime
chucklenorris··on Ask HN: Math books you recommend just for the way they are written?
https://m.youtube.com/c/themathsorcerer for math book reviews
chucklenorris··on Nvidia’s hot adapter for the GeForce RTX 4090 with a built-in breaking point
The 4090 is a stupid card pushed way past the efficiency sweetspot for a few percent in performance so NVidia can claim they have the fastest card. The power is insane - 600w is more than the rest of the computer. The cooling solutions are ridiculous - 3.5 slot card and 2.5kg for the rog strix version. Benchmarks show that you can set the power limit to 60% to get 95% of performance in games along with better thermals, noise, etc.
chucklenorris··on Day.js – Fast 2kB alternative to Moment.js with the same modern API
Btw most libraries (luxon, dayjs) that use Intl api to do timezone manipulation in chrome and nodejs and are excruciatingly slow. So slow that pods would get restarted because they would fail to respond to health check while doing the timezone manipulation, on moderate traffic (50req/s). I still use moment-timezone because it comes with it's own tzdata and it's 100x faster.
chucklenorris··on “When are we going to use this in our everyday life?” (2017)
So much of our antropic world is built on top of calculus, that without it it's like being a 17th century man in 21st century. Sure, you don't need to understand the world you live in, that's why we have these nice user interfaces for everything, but when cracks appear in these ui's or if you want to come up with something new, you're stuck making wrong assumptions and are doomed to fail. Even worse, you're vulnerable to all sorts of snake oil peddlers. This is the reason to learn calculus not some sort of fancy crossword puzzle.
chucklenorris··on Amazon to Close 4 of Its 5 US Call Centers, Shifts to Work-from-Home
I'm surprised that Amazon of all gave up the "handcuffed to the desk" approach to management in favor of work from home. Apparently the cost of rent and infrastructure is bigger than the last 1% they could squeeze out of their workforce. Middle managers must have an existential crisis right now /s
chucklenorris··on Co-Founding Considered Harmful
I absolutely despise these "considered harmful" posts. They make an argument from authority which ironically most authors don't even have. If the first "considered harmful" paper was written by Dijkstra on an underlying consensus in the software development community that he was verbalising, now everyone with a controversial thought is slapping this clickbait poop in the title. Even worse, it devalues the ideas in the article, like the ideas themselves weren't good enough to begin with.
chucklenorris··on Meta has banned the personal Facebook accounts for everyone on our team
Proxying.. i don't think it means what you think it means. By that logic they should ban all of google's employees because chrome "proxies" information from facebook's servers (i.e. chrome shuffles private data from facebook's servers to user's eyeballs)
chucklenorris··on We Need New Motherboards Before GPUs Collapse Under Their Own Gravity
The problem with external gpus is that the pcie5x16 slot requires signal integrity chips every 5 inches or so [1]. Even for pcie4 it's bad, many people had blue screens or boot issues when using pcie3 only rated riser cables with a pcie4 video card, even though electrically they have the same connections. So, having a huge cable with x16 lanes of pcie5 on the back of the computer doesn't seem that feasible. Maybe fiber optics could be a thing.

[1] https://www.planetanalog.com/signal-integrity-challenges-set...

chucklenorris··on TypeScript is terrible for library developers
This article made me laugh. I worked and am working with new typescript developers in my day job. They all go through the stages of typescript grief.

- Denial - This should be pretty easy, just put types everywhere!

- Anger - But my code is correct! The damn compiler doesn't understand what I mean!

- Bargaining - Can't I just use any?

- Depression - This will take forever to figure out and I have a deadline :(

- Acceptance - It's a tool like any other, it's a hassle, most of the time is useless but sometimes it saves you from bugs and makes collaboration easier.

You just have to accept that the type specification in typescript is a whole separate language that you have to learn, that takes time to write correctly.

In my experience that's at least 30% more than writing js when you know what you are doing, more when you don't. Adding the linter and tests you end up spending more time on these correctness checks than actually writing code, and that is ok, or not, depending on the project goals.

When you are writing library code this cost goes up, WAY up because your library will be used in multiple ways by different people so you have a combinatorial explosion of cases that need to be handled.

I don't understand where this expectation that writing typescript should be as easy and quick as writing js.

IMHO the typescript docs are one of the best resources (just compare them to python docs...)

chucklenorris··on The EU Commission accepts high error rates when checking chats
I think there are some important questions that need to be answered before such a dangerous decision should be made.

How big is the risk of a child being groomed through these electronic means? Is it comparable to being struck by lightning? What is worse weighted by probability: being sexually assaulted as a child or being suspected and having your life turned upside down for years by these algorithms. We already see these things happen with relatively minor things like having your google account closed by an algorithmic mishap.

How was this 10% number of false positives determined? Is this only an expectation of false positives or an actual statistic. What does 10% mean in the context of mass surveillance?

It might well be that millions of children are groomed and assaulted every year through chats. I don't have the data so i cannot say. I was under the impression that most sexual assault cases happen in the family and not by strangers.

What's worrying though is that these decisions are taken behind closed doors without any oversight, on the hope that they might save a child and possibly putting our lives in the hands of algorithmic justice.

chucklenorris··on Ask HN: What MIDI micro/nano keyboard(s) do you like? (Electronic music)
I have a arturia keystep and keystep pro, and love them. They are great for composing, the built in sequencer is easy to use and they have midi and cv outs which work nicely for a dawless setup. I am seeing more and more of my favorite artists using them, so i guess i'm not the only one who loves them. The keystep fits into my small backpack and I live in a mountain area so in 15 minutes i'm in the forest, I connect it to my phone and come up with melodic lines. Although i'm not much of a musician it's great for relaxing after a busy day
chucklenorris··on Adventure game graphics with DALL-E 2
But these images are not copyrightable - what's stopping someone to rip off your artwork?
chucklenorris··on Copyright infringement in AI art
I have a different but related question. Let's say i use a dall-e like ai to generate character models for my next game. Are they copyrightable? What would stop someone to outright rip off the models from my game and use them in other works?
chucklenorris··on Incognito Mode Isn’t as Incognito as You Might Think
A few days ago I opened a youtube video in chrome incognito mode so it won't pollute the feed, but in the middle of the video I decided it's quite good so I opened it in the main window. At this point the tracking code glitched out and the video started where I left it off in the incognito mode. Couldn't reproduce it since though.
chucklenorris··on “I think the vast majority of developers still debug using print() statements”
I don't think anyone is arguing that print debugging isn't useful or is somehow archaic. That's a straw man. What the author and I experienced is that the vast majority of developers don't use an incredibly powerful tool when it's available, and relatively easy to set up. I personally saw developers go through compile time cycles of 30 minutes to add and remove print statements than to bother using a debugger. Most people don't understand what's a stack view, or memory dump or the fact that you can modify variables at runtime to skip conditional checks to avoid recompiling. On dynamic languages it's even better, you can easily evaluate code, replace functions, import modules and call other unrelated functions, etc. That saved my bacon noumerous times in production with nodejs and python. Just connect to the container, send sigusr1 to the process to open the debug port, forward that to my machine and then connect my debugger and run code/json dump large data/put a conditional breakpoint and wait for that hard to reproduce bug to come to me. This kind of silly stuff got me "wizard" status in orgs i've worked in over the years and substantial pay raises over devs that were more conscious/hard working than me.
chucklenorris··on Apple Launches Self Service Repair Program for iPhone
Does that mean that independent businesses can buy genuine replacement parts? I'm not really interested in fixing it myself, i just want to leave my device at the corner store and pick it up in a few hours. This seems like another one of those programs that will be used so little it won't make a difference but it looks good and is ammo for their anti repair lobby
← PreviousPage 2 of 3Next →