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

5.6 Sol has happily reverse engineered and decompiled binaries for me.

Heck it has proactively asked me if I wanted it to tear apart APKs that remote control some HW I have.


Yeah Astra has decompiled binaries for me without even asking. I just asked like "is there a way to do this?" and it went ahead and disassembled it, found some undocumented APIs, figured out how they worked and gave me sample code to call them.

I think you probably just have to frame things right and get it in the mood (i.e. don't ask straight up at the start of the context).


For me as well. I had it reverse engineer my monitor’s firmware to see if i could add a feature which it seems like it can… i am just too scared i might brick my monitor to actually flash it now :)

I can easily use close to 100 million input tokens a day. A few million output tokens but at the end of the day maybe a thousand or so lines of code get written.

Nah we did something similar on Microsoft Band. I wrote about how - https://meanderingthoughts.hashnode.dev/cooperative-multitas...

The tldr is you had to preallocate a struct with anything you wanted captured ahead of time.


Embedded people are well used to this.

Dynamic memory management is a performance enhancement. It lets you more efficiently utilize memory vs static allocation at the cost of, well, lots of types of bugs.

You can always preallocate MAX_NUM_ELEMENTS * SIZE_OF_OBJECT for all your arrays. If someone tries to send you more objects then you have buffer space for you just reject the request.

Latency sensitive programs already do this, since memory allocation is rarely deterministic (although it can be in .NET and other similar languages). Likewise a bunch of destructors going off when an object is freed in C++ also takes a, practically, non-deterministic amount of time. (Really well profiles and controlled programs can make this deterministic if allocation patterns are always identical, but that is rarely the case.)

Of course having fixed sized buffers means you have to have protocols that are aware of size limitations. Most protocols now days assume infinite memory. Everything just fails, badly, when memory does run out.

After having worked in embedded for awhile I grew to deeply appreciate planning around memory limits. Really everyone should be doing it but almost nobody is.


Yeah, it seems like the sweet-spot for this is real-time and embedded because it should be extremely conservative and consistently fast about memory allocation and de-allocation.

Sad that it's got plug-in stuff as a "non-goal", because I'd love to see this as a scripting engine for gaming (since that's Wouter van Oortmerssen's background). But I imagine a "compiles to C" language would at the very least be functionally impossible to sandbox.

Edit: Question for anybody who's playing with this: When he talks about no generics he says that ADTs still work... is that like his example of writing a function "double" that returns "a + a" and works for any type that supports the plus operator?

It sounds like compile-time duck-typing but I'm having trouble working out the boundaries of that in my head. It sounds like it would only work with fully-open-source libraries for one thing since everything would have to compile from source. Anybody have experience with that sort of thing?


The goose language has dynamic allocation via builtin types, like most systems for the past 40 years (Folks were using dynamic allocation on systems back when 640k was a lot of memory). Most embedded systems these days far exceed the capabilities of 40 year old desk top computers and also use extensive dynamic allocation.

The distinction for goose is that it has fixed locations where the free must occur (function return, effectively), not that it doesn't have dynamic allocation (because it does have dynamic allocation)


Yeah embedded means a lot of things.

People working on cortex m series chips still static alloc though. :D

Them and game programmers. Also the HFT people from my understanding.

The latter two are due to latency concerns.

Still though, it is something that I think more engineers should try out once or twice. Thinking about how buffers actually need to be is a useful exercise.


There are multiple companies dedicated to turning gift cards into cash.

It isn't some new idea, he just didn't follow all the rules doing it!


In summary - if a perfect AI is made that orders the ideal product for someone, the best mix of price, performance, and reliability, then Amazon will be screwed because they make more money on ads than by selling people the exactly what people want/need.

As a brief reminder to readers at home, in a theoretically perfect free market, profit trends towards 0 as competition increases.


> I remember genetically modifying E. coli to glow in the dark in high school.

That was a fun class! I haven't encountered anyone else outside a students who went to my one HS in Seattle during the late 90s / early 2000s who also remember doing that, interesting to hear other schools had a similar class.


In Australia I had to get into a genetics program, which happened automatically because I was the only applicant from my school, and take a four hour train ride to one of the local universities.

Definitely worth it though! We did gel electrophoresis too, and some other bits and pieces.


At that time my city was flush with funding from biotech startups and one or another of them donated a bunch of really nice equipment to my school.

The two of you were actually in the same class.

Having worked at multiple large companies more often than not the truth is there are 5 levels of approval for every tweet that goes out and writing a single blog post can take months.

The smart companies out source their gorilla marketing to a third party, having realized their own inadequacies.


The problem with outsourcing your gorilla marketing is that it can cost big bananas with a hard to quantify return


I remember talking to a person who worked in marketing Kingsford, which at the time had like over 90% of the marketshare for USA charcoal. They had a marketing budget that was willing to spend money on any ol' stupid idea because they had already won & just wanted to stay on top by getting their name out there.


Guerilla marketing, but never mind, worth it for the bananas joke.


The original comment had the typo.


It not the bananas joke.


I worked in community marketing for few rather large software companies. The struggle is real. Almost every CMO I worked for seemed to make it their mission to squeeze any life out of social conversation with actual users and replace it with bland, boring "on message" communication about synergies for leveraging pivots enabling disruption at enterprise scale.


For every Tweet that goes out on the company account and every blog on the company blog. But that's not what we're talking about here - we're talking about vague sources like low-impact social media snippets getting cited on low-reputation blogs until someone more reputable comments on the apparent trend. There are absolutely marketing people who do that "unofficially".


Different ballpark. Original comment is about shadier methods of marketing not official stuff landing on the primary domain of Apple. I have 1st knowledge of a travel tech company laying off their entire marketing team during COVID that then got hired by a brand new company to find different and riskier approaches on how to keep the funnel alive despite the travel restrictions without direct risk of exposure for the brand.


Yeah and why they outsource that? First is effectiveness of reach as you mention. Second is the ability to have a clean official record.

Wake me up when an extremely capitalistic company, in the past caught with dirty hands on numerous topics, will reject increasing massively a legal revenue stream with no strings attached. Right, exactly how to become a trillion dollar company and keep it.

I grok that specifically for apple their echo chambers do majority of certain work themselves, but claiming with 100% confidence thats all is a bit of a stretch. If I was a personal close friend with their head of marketing, I would maybe believe that. In any other case, hard logic prevails over anonymous online claims.


It's Guerrilla Marketing. It comes from guerrilla warfare, not gorillas the large ape.


It was a joke referencing the typo in the message they responded to.


Not in this thread, the joke is in an aunt comment.


That only applies to tweets that are published on behalf of the company, not tweets from sockpuppet accounts that have no direct connection to the company and are made to look like a regular consumer.


Tbf comment you replied to never said they were direct hires. Outsourced workers sitting around is possible. You seem to have customized their more general statement

Can confirm though, being acquainted with PR people in the field for >20 years; everything on TV is scripted these days.

Chatted with some of my PR friends coworkers over the years at Christmas parties and the like. They claimed stunts during MTV specials, other "candid" moments from the last 20-25 well known to pop culture were actually organized by a PR company they worked at (never that they worked on that project; such work was reserved for whatever PR rockstar PR firm hired)

But all this too could be PR sales pitch to impress; society is full of hearsay to titillate


I was at the same dose of concerta for a decade. I just recently increased to the next dosage.

At this rate I'll top out of dosage sometime around when I retire.

It really isn't on my list of concerns.


Part of diagnostic criteria is how long something lasts.

If you have a really good week you aren't going to get diagnosed with mania.

If you have a really good month where you quit your job, move to Italy, and try to start a new job carving marble statues (and you've never carved stone in your life), well those will all be factors in any diagnoses given.

On the other hand, if you feel sad because your dog died, no one should be writing you a script for anything.

But if your dog died and you can't even function enough to go to work for a month, yeah it is probably temporary, but maybe some help is warranted, be that therapy or meds.


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

Search: