Hacker Newsnew | past | comments | ask | show | jobs | submit | carlmr's commentslogin

What were your syntax stumbling blocks? I must be honest I've used jq enough but can never remember the syntax. It's one of the worst things about jq IMO (not the speed, even though I'm a fan of speedups). There's something ungrokkable about that syntax for me.

Just the basic things, like viewing the complete json (with syntax highlighting) to then determine the filter, that is '.' becomes '**'

Replying here because the other comment is too deeply nested to reply.

Even if it's once off, some people handle a lot of once-offs, that's exactly where you need good CLI tooling to support it.

Sure jq isn't exactly super slow, but I also have avoided it in pipelines where I just need faster throughput.

rg was insanely useful in a project I once got where they had about 5GB of source files, a lot of them auto-generated. And you needed to find stuff in there. People were using Notepad++ and waiting minutes for a query to find something in the haystack. rg returned results in seconds.


You make some good points. I've worked in support before, so I shouldn't have discounted how frequent "once-offs" can be.

In Germany I'd say you still make more with white collar, if you have a job. The problem for Gen Z though, is that they aren't hiring for junior positions.

Still if you go blue collar you have to build your own business.


They added the service unavailable feature.

The problem is rather that Java doesn't have generics and structs, so you're kind of forced to box things or can't use collections.

No, in the example they provided, programmer wrote obviously stupid code. It has nothing to do with necessity:

    Long sum = 0L;
    for (Long value : values) {
        sum += value;
    }
I also want to highlight that there are plenty of collections utilizing primitive types. They're not generic but they do the job, so if you have a bottleneck, you can solve it.

That said, TBH I think that adding autoboxing to the language was an error. It makes bad code look too innocent. Without autoboxing, this code would look like a mess and probably would have been caught earlier.


>They're not generic but they do the job, so if you have a bottleneck, you can solve it.

But that's the thing, in other languages you don't need a workaround to work on primitives directly.


>I definitely agree that in principle a computer can drive with cameras alone.

Obvious things first, cameras have way worse contrast and low light sensitivity than human eyes.

Humans have much more evolved logical thinking capacity, even the stupid ones can figure stuff out that modern AI struggles with.

Humans have other sensors, too that they use to plausibility check the picture they see. I.e. one of the best sensor fusion systems on the planet.

When in doubt humans can figure out whether it's a lens occlusion or a some other artifact in their vision by virtue of moving their head around.

There's probably other things I'm not thinking of. In any case to make full self driving work we should first start by using all available tech to make it safe. When you have safe tech you can slowly start removing individual sensors while verifying that safety remains high. As the experience and system evolves there will be optimization potential.

And until we have that low light thing and high contrast figured out, camera alone doesn't cut it.


Unrelated to FSD, what's a good example where frontier AI struggles with logical thinking that even stupid humans can figure out?

I personally feel like that isn't really true any more.


The recent one was should I drive my car to the car wash if it's only 300 feet from my house although it wasn't a slam dunk.

Right, but if these things are so rare that we all only know the one viral example, I feel like that lends credence to the models basically generally not having this problem.

Researchers built the Winnograd Schema Challenge more than a decade ago to assess common sense reasoning, and LLMs beat that challenge task around GPT 4.


They're not so rare. Hallucinations have been spotted everywhere, but the "driving a car to the car wash" is an amusing one that's been recently publicised. Developers aren't going to point out every time an LLM hallucinates an entire library.

I'd add to this, any moderately involved logical or numerical problem causes hallucinations for me on all frontier models.

If you ask them in isolation they may write a script to solve it "properly", but I guess this is because they added enough of these to the training set. But this workaround doesn't scale.

As soon as I give the LLM a proper problem and a small part of it requires numeric reasoning, it almost always hallucinates something and doesn't solve it with a script.

If the logic/math is part of a larger problem the miss rate is near 100%.

LLMs have massive amounts of knowledge, encoded in verbal intelligence, but their logic intelligence is well below even average human intelligence.

If you look at how they work (tokenization and embeddings) it's clear that transformers will not solve the issue. The escape hatches only work very unreliably.


What's a typical example?

I have been broadly quite happy with gpt 5.4 xhigh's reasoning on things like performance engineering tasks.


If you ask this of any current day AI it will answer exactly how you would expect. Telling you to drive, and acknowledging the comedic nature of the question.

That's because AI labs keep stamping out the widely known failures. I assume without actually retraining the main model, but with some small classifier that detects the known meme questions and injects correct answer in the context.

But try asking your favorite LLM what happens if you're holding a pen with two hands (one at each end) and let go of one end.



Are you also an LLM? Do objects often begin rotating when you're only holding them with one hand?

Not unlikely that you're talking to a lot of AI-based AI boosters. It's easier to create astroturfed comments with chatbots than fixing the inherent problems.

I always like to ask AI to generate a middle aged blond man with gray hair. Turns out that all models with gray have black roots.

https://chatgpt.com/share/69bcd01a-a750-800d-95f5-3b840b9ee2...

https://gemini.google.com/share/edc223bb6291 (the try again gave a woman, oops)

Even Midjourney couldn't do it.


Nice. My test was always a blond bald guy. It always adds hair. If you ask for bald you get a dark haired bald guy, if you add blond, you can't get bald because I guess saying the hair color implies hair (on the head), while you may just want blonde eyebrows and/or blond stubble.

Which is not getting better.

I'd pay you 10€ for a TODO app that improved my life meaningfully. It would obviously need to have great UX and be stable. Those are table stakes.

I don't have the time to look at all these apps though. If somebody tells me they made a great TODO app, I'm already mentally filtering them out. There's just too much noise here.

Does your TODO app solve any meaningful problem beyond the bare minimum? Does it solve your procrastination? Does it remind you at the right time?

If it doesn't answer this in the first 2 seconds of your pitch you're out.


> It would obviously need to have great UX

There is the problem. Todo apps are easy to make. However making one that is actually useful for tracking todo items it hard. Getting the todo into the app is harder than writing it on paper. Getting reminders at a useful time is hard (now is not a great time to fix that broken widget - it needs parts not in the budget, I'm at work, it needs a couple hours of dedicated time and I have something else coming up...). I've tried a few different ones, most are a combination of too complex and not complex enough at the same time.


Exactly, you would probably also pay for a good one. I tried maybe 10 and gave up. I now carry a small booklet where you can rip off the pages, for notes and todos. Still way better than the phone apps

>it has way more sodium than ground beef you'd buy at a grocerty store

We're not comparing fairly here. A finished hamburger patty is not pure ground beef. Did you ever make a hamburger patty yourself? You add salt and spices at a minimum.

A more fair comparison would be looking at store-bought hamburger patties. That's the same category of food.

I just compared Beyond (0.75g salt per 100g) and block house American Burger (0.88g per 100g). The patties are somewhat similar in weight, too (113g and 125g). So both in absolute, and weight relative amounts the Beyond burger has less sodium.


You can make an awesome burger pattie with beef, onion, garlic, a touch of finely chopped jalapeno and some herbs and spices etc. You don't need to add salt.

Yes, and I can make a vegan burger from lentils, onion, garlic and a touch of finely chopped jalapino, herbs etc.

The comparison here is shop-bought burgers or those you would buy in a burger restaurant, which WILL have salt and likely more than a Beyond burger.


Why is that the comparison being made?

I believe the claim being made here is that "a beyond burger" is a thing which fast food chains and supermarkets will offer as an alternative to "a beef burger", that almost nobody will make their own burgers.

I have no opinion about the economics of the brand itself; as a vegetarian I've always thought they were over-priced, and also that it was a shame I don't have a huge range of alternatives, as I actually like spicy bean burgers and can't find them any more*. In fact, because of the limited alternatives in my local markets, I got a kit for making my own burgers from dehydrated soy mince and/or mashed kidney beans.

* I don't know how much of this is "bean burgers are no longer popular" vs. "I moved country and Berlin has never heard of them"; for Quorn I do at least know it's the latter.


> I got a kit for making my own burgers from dehydrated soy mince and/or mashed kidney beans.

Do you have a link or name for this? I also prefer black bean or lentil burgers, but I've been making them by hand really.


One of these, found in the discount bin in a nearby supermarket for about €10-20: https://www.discounto.de/Angebot/BESTRON-Hamburger-Maker-AMH...

There's probably also a cheaper source for the form and squasher if that's all you need, but it came with them so I didn't look for that separately.


Thanks, so the squasher is all I need I guess

People who make their own burgers will always make healthy burgers, whether meat or vegan.

People who buy burgers or eat out are likely to get less healthy burgers, if you look at highest selling supermarket burgers, both meat and vegan options are ALL high in salt for example.


Because beyond meat is junk food, whether it’s sold in supermarkets or restaurants.

You absolutely need salt for a good burger. It is fundamental seasoning in every savoury dish at every restaurant (fast or fine) for a reason.

That is just wrong. I'm not sure what to say. You don't really need salt in many things. Don't get me wrong, I like salt, but things can taste amazing without it.

You may have a salt deficiency

Maybe awesome to you, but many people will find that exact same construction more flavorful if salt is added

But you're arguing something different now. Regardless of subjective opinion, the bottom line is salt IS optional.

This whole thread is talking about BeyondMeat burgers.

If you're comparing the healthiness of a premade vegan burger patty, you need to compare it to a premade (or equivalent homemmade) beef patty. You can't take salt out of the beef patty comparison and say "look it's better"

Edit: But you can compare it to actual products on shelves. The first frozen burger brand I can think of that would be a good comparison is frozen Bubba burger. If we compare the sodium content, Beyond patty is 3-4x higher in sodium. Beef wins! :) Although Beyond has half the fat.


Yes but that would make it "unhealthy" for many Americans. So for the health-conscious eater, the real hamburger wins.

Salt is not a health concern unless you specifically have a specific subset of cardiac health problems.

The vast, vast, vast majority of people do not have any reason to restrict salt intake.


47 percent of adults in the US suffer from hypertension: https://pmc.ncbi.nlm.nih.gov/articles/PMC12196499/

which is much more easily explained by a garbage diet, no preventative medicine so to speak of, obesity, work/family/financial stress. there is a lot of space between 2100 mg of sodium for a 3 piece chicken w/ fries, and ~150 mg to put a little life into a patty.

High salt increases likelihood of kidney stones

And high water increases likelihood of electrocution. And very high water increases likelihood of finding yourself with a wet T-shirt.

"Increases likelihood" is bullshit at best (manipulation more typically) without quantifying how much, and how much would it need to be to be remotely significant.


> So for the health-conscious eater, the real hamburger wins.

The health-conscious are famous for their hamburger usage.


It's also good for the texture if you let if rest in the fridge for a couple hours before cooking.

You absolutely need salt for a good burger, and just about any meat. Almost anything, really. Salt is not optional. Beef tastes less like beef without salt.

Beef tastes less like salted beef without salt. Saying anything else is literally wrong.

No, because salt is a flavor enhancer. That's what enhancement is. That's why putting a pinch of salt in hot coco works.

You don't need salt and spices to make a burger, it can be 100% beef with no additives. A pinch of salt can be like 0.3g/burger and you're fine as well.

I don't eat that these days, my burgers are actually 25% beef and 75% lentil/seasoning. Still under 0.5g/100g


I remember working in a restaurant many years ago, where it was part of new hire training to demonstrate the importance of salt and pepper to a burger's taste. We would make 3 burgers, one no seasoning, one poorly seasoned, and one properly seasoned to the spec, and then we would taste test them all. The difference in taste was so night and day I was shocked the first time I participated in the test. Yeah I guess you don't technically need salt and spices, but not adding them or using just a pinch is not the same thing at all.

I think the problem is lot's of people here don't have much kitchen experience and underestimate the effect.

But anyway, I think a pre-seasoned vegan ready made burger patty should only be compared to a pre-seasoned meat burger patty. It's an Apples and Oranges comparison with little meaning.

If you compare the high sodium of a vegan ground beef replacement with ground beef, that's fair game. The one from Beyond here is actually a good example of too high sodium. I won't judge. I only care about the comparison, not the company.


Let me assure you that you're in the vast minority if you add little or no salt at all to your home-made burger patties.

I was going to edit the comment with this but in Canada we have a company called Metro(grocer) and they often sell 4x fresh beef patties for ~$4 which is 1lb(454g) of ground beef and exactly nothing else.

It's good to eat sans salt on bbq with your desired (typically salty) toppings.

I know people salt the patty while cooking, but the topic at hand is Beyond and their patties.


....which should be compared against other premade patties and how people make and serve beef patties, not against the theoretical option that people could choose to omit salt.

The whole "salt" angle is bikeshedding - no one advocated Beyond for salt, they pick it for all of the other health benefits (fats, cholesterol)


Salt, among the ingredients in the average burger is the most likely to cause you problems. Calling it bikeshedding is a massive stretch. In a talk of the importance of the contents of your diet related only to burgers, salt is the exact opposite of bikeshedding.

Nothing whatsoever is stopping Beyond from removing salt and allowing people to salt their own burgers, as they already do.


The contribution of salt in hypertension and other issues is overblown in popular media.

I'm on blood pressure meds. I regularly check in with doctors on things. No, you shouldn't be eating unlimited salt, but sugar and cholesterol are killing (and debilitating) many more of us.


I avoided needing medicine by altering my diet to tone down salt, unhealthy fat, and sugar intake. My doctor was surprised as "everyone just takes the meds."

Still meat is very low sodium, it is weird to say plant based alternatives have less sodium since both have as much salt as you add since there is almost none naturally.

But then you're comparing apples an oranges: meat is low in sodium in its unprocessed form, but so are all the ingredients of the plant-based alternative before adding salt.

What matters is not so much the natural form, it is how the product is typically consumed.

But of course I see your point that with home made meat-based patties, you are in control of how much salt you want to add, while with factory made patties, you have to take what you get, it's typically not possible to "take away" salt. Mind you, though, the latter argument holds for both plant-based and meat-based factory-made patties.


The difference is you CAN'T get Beyond meat to make patties without preservative-levels of sodium. You CAN get ground beef and make patties without preservative-levels of sodium.

Beyond sells a ground beef substitute which has about 3x as much sodium as lean ground beef.

Did you get the point about how you usually season meat (with salt) before you eat it? Beyond Beef has 230mg of sodium per 100g (according to their website), even a pinch of salt you add for seasoning easily contains 10x that amount.

Also, do you expect the vegan alternative to have exactly the same nutritional values as their meat counterparts?

Look, I don't even know why I'm defending Beyond here, I'm certainly not a fan (as a matter of fact, I don't like their beef patties). But I think the arguments you've made are not entirely fair.


The sodium content is about 3x higher. It doesn't taste 3x higher.

If you're salting your recipe with traditional ground beef, you're doing the same with Beyond. If not, same.

I do not expect or even encourage the content of any alternative to match the nutritional value of the real deal.

A typical pinch of salt is 300mg. Not 2300mg.

When the base product has 3x as much sodium, that is a problem. It doesn't need that much because as you stated, you can add salt during cooking. As a great example, let's take a use case for Beyond which is taco meat. I add taco seasoning (my own which is about 30% sodium compared to a traditional) and now the Beyond version is still roughly 250% the sodium content.

I can't remove the sodium they add. It's not a product I like or desire. It's more expensive. It's less healthy (note how often I mention reduced salt) for myself.

Also, I have been a strict vegan in life for about 5 years. I still didn't eat Beyond (aside from tasting it) during that period (it was available).

I'm not really trying to attack Beyond here, it's all personal preference at the end of the day. I make 95% of my food, from bread to tomato sauce to pickled peppers and hot sauce. When I am reaching for a vegan protein, I reach for lentils.


Yes, sorry, you're right - I made a mistake looking up how much salt is in a pinch.

The GP is talking about health conscious folks

It means one patty has around 45% of the optimal recommended sodium intake and 30% of the max recommendation.

https://www.heart.org/en/healthy-living/healthy-eating/eat-s...


I have made burgers hundreds if not thousands of times and I have never done more than roll ground beef into a ball ans squish it flat. Salt and spices are completely unnecessarily, who am I, Gordon Ramsey? Sliced onion on top of the patty does plenty of work.

You are comparing a prepared product to a raw ingredient. Raw beef is pretty boring which is why every single restaurant add some combination of salt, pepper, mayo, ketchup, mustard, oil, butter, gochujang, etc to make it into food. If you want to convince the world to eat unseasoned beef and onion burgers be my guest but you have a tougher hill to climb than the vegetarians. Eat what makes you happy, but maybe acknowledge it's not actual cooking.

[flagged]


Huh.

>But instead, all you see are FOMO propaganda to get devs to adopt the tool with no asking if it actually helps the devs do their job.

If (big if) LLMs/AI take over all of knowledge work the first thing you'll notice is that the first company getting to the point of automating all knowledge work will close off their models to the public, not advertise it, and take over every business on the planet.

You wouldn't waste a dime on advertising, influencers, or convincing people to use your product.

Taking over every business in the world seems more lucrative than selling $20 subscriptions to people.


There's not going to be a single point at which that happens.

More likely what we will see (if this happens) is AI companies entering close partnerships with other businesses, building up their models ability to do that sort of work, then either acquiring their partner or directly competing with them.

Similar to how Apple monitors developers having success on their platform and then launches a first-party offering.


This might be happening, too, however B2C advertising and heavy astroturfing is a sure sign that they don't even think they're close to this goal.

The average consumer pays the least for subscriptions and asks most uninteresting questions to the AI in terms of gaining insight. The only goal here can be upholding the narrative that everything will be AI soon™.


>We have strong KPIs on how much we use copilot so I must say woof woof to it every day or so to make sure it shows me as an active user (luckily it only shows the latest date someone has used it in each application).

Ask it to generate a cron job for this.


that would just create more evidence of him not using it regularly. not good


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: