HN user

kika

769 karma

Me personally: https://github.com/kika https://medium.com/@kikap https://pushf.substack.com https://www.linkedin.com/in/kikap

[ my public key: https://keybase.io/kika; my proof: https://keybase.io/kika/sigs/m0b4sk4sQ3LTHAshBSR5SbGU7B3uckmoHL2HykNX-iA ]

Posts3
Comments317
View on HN

I'm still on the fence (and distracted by Vision Pro). It's a good-ish idea, IMHO. I'd like to see a toolkit for "reading configs" where configs are some universal format (JSON, YAML, TOML, etc) for various languages. So that the app in Ruby can share config with "microservice" in Rust and they can also maintain compatibility with completely different app (but sharing infra resources) in Go. Using one config language that supports hierarchical templates, modules, imports, whatever. Because otherwise everyone starts inventing their own "YAML with functions", "JSON with templates", etc. Pkl seems like that. But I don't like that it's Turing complete. Powerful and dangerous. Configs are inherently declarative.

I just run a count, on the infrastructure configuration for a relatively small, but already public company. 13k lines of YAML alone. Some of it is generated (from "YAML with macros") by AWS CDK parody I invented before CDK became a thing (and being an old school Unix pervert I did it with awk and m4). There's also 1400 lines of written or generated JSON that still needs to be managed. And that's a successful, but single-product company. I also worked for a company which had a single product but ran it for their clients heavily (very heavily) customized, you can easily 10x the numbers above and you still have to do that with a single team and go back to your family every night and not riding an ambulance to the nearest mental facility. YAML is like the object code, it's not a configuration language. (and that's why I prefer JSON, it's less error prone and easier to generate). Writing YAML manually is like programming in machine code back in the 80s. Possible, but why?

my wall outlet supplies power from 3 different sources: grid, solar on the roof and/or powerwall, depending on the weather, grid status (which sucks where I live) and time of day. computer only knows time of day off the bat, everything else it has to learn in a complex way. if I have a "cost" or, better, "status" information integrated into the power itself, smart appliances (like computer) can make decisions what they can or can not run. right now I can start training my models on my 4090 at night, we have an outage, and 4090 will happily drain the powerwall, so I'll not have an A/C in the morning. models can wait, they're stupid anyway, or at least I like the A/C better.

the power cord has to have a data link (USB? or just networking over power line itself) through which the power outlet can tell the computer how much does the energy cost at any given time. this is a very welcome but very expensive addition to the infrastructure.

literally this. but to the benefit of refine.dev i should say that you made the framework extremely easily hackable, at least where lame me wanted to hack it. your data backend didn't work with my rest api, i've asked on discord and someone said: hey, it's actually in the docs, you just copy our default implementation into your project, import it, make sure it works as before and then hack it as your own code. a productized hack, i'd say.

ha-ha, brother, I feel you. Infra engineer (VP last position) and built an app with Refine. I was exactly in your position not a long time ago. I tried to choose "The Best Framework Ever" and made a lot of mistakes, and at the end, if you don't know frontend go with the flow: React + Next.js. Not because they are Best Ever, but because the majority of content online is dedicated to these frameworks. StackOverflow, ChatGPT, a friend who speaks frontend, etc.

I did some work as part of my consultancy, had data left and decided to try my hands at frontend. Oh, boy, I think it was a mistake, but it was a lot of fun, will do again. https://cloudprice.io

law abiding citizens. for criminals it's usually other way around ("progressive" DA drops the gun charge and the rest becomes misdemeanor, etc).

No, gun rights are violated much more and more deeply than for example 1A rights. Convicted felon who paid their debts to society can absolutely post on Quora and be a recognized popular author there and become a radio or TV host, etc. And felony absolutely doesn't mean violence. Driving 50mph above speed limit in Florida could be a felony. Buy a Ferrari, lose your gun rights!

word combo "final solution" as applied to some human population has a very strong stink.

also, wow, weed in the same category as opium and company. wow.

Line 5 and 6 seem to contradict each other. From 5 it looks like you want to more "gun licensing" and in line 6 you want not to "deny rights". Whereas gun licensing (any licensing, technically speaking) is the denial of right. And any argument (of which there are many valid ones) for gun licensing is precisely what you're arguing against: "Everyone gotta have The Gun License because think of the children" ... even if it deprives someone from the right to protect their life.

Not exactly fiasco. Some smart ppl spent $300k to jetset across the world for "research". They definitely do not consider that a fiasco!

I'm happy I don't live in California anymore. Although some of my taxes were spent on these gender equal shades, I left 13 months ago.

Calories are not created equal. They are equal in physics sense, but your body is not a "bomb calorimeter" (device to measure caloric content of whatever). So maybe instead of cutting your calories in half, you cut less and replace carb calories with fat calories or protein calories. Or maybe you can even cut to 1000-1200 by replacing your calorie source with something else. For some weird reason carrots with butter work very well for me and I love the taste :-)

What I'm looking for is more like Rust Book. Concepts explained with examples of more or less real world problems. Like they are not just telling you there's this awkward thing like "interior mutability" but why you may need it.

Thanks! I don't know if it's DL or not, but what I'm mostly interested is "finding patterns". Like I have this very long stream of numbers (or pair of numbers, like coordinates) and I use such streams to train. Then I have a shorter stream and the model infers the rest. Not sure if I'm talking complete nonsense or not :-)