HNHacker News
TopNewBestAskShowJobs

anonyfox

2,005 karma · joined August 7, 2013

https://anonyfox.com
submissionscomments
anonyfox··on Ask HN: I learned useless skill of prompt engineering, how relevant will it be?
Well I a right now descomposing business processes into atomic human actions (do X here, decide Y there, submit Z to there), get the interface into a usable form for scripting, and "engineer" a prompt to do exactly what a human does, which ultimately mostly is some kind of data classification or (very rare actually) transformation. Mostly its like: which of those things is important, how many of those are fake, or this thing contains the relevant bit of information I need to proceed.

So, its actually a lot of language tweaking to get just the right context/task description/data embeddings so the LLM (GPT3/4) gets it right >=90% of the time, which surprisingly often is better than actual humans, and in many cases there are also ways to detect imperfection and simply retry automatically which increases success chances even further.

The fetching/formatting/submitting data part (the manual coding) is getting easier over time, but the prompting remains somewhat, and I so far had no luck with any kind of recursion to let the LLM design its prompt, since ultimately all the specifics needed in the context has to somehow got into the context, which is me engineering it into big string structures.

probably doesn't sound shiny, but step-by-step making jobs irrelevant in businesses without sacrificing customizations. I think of it as a silent revolution thats happinging in many places now, ultimately making myself redundant, but hey the ride is fun!

anonyfox··on Ode to the M1
windows 2000 was peak windows for me. only got worse afterwards one way or another... but hot take: windows 8 "metro" was kinda awesome refreshing though most people hated it :-)
anonyfox··on Ode to the M1
More like: if I would lose it today, I would be the same thing again, maybe next gen M2/3, but everything basically identical to this one. There is no single other device out there I'd prefer to buy instead. Nothing shiny to chase thats better somehow...
anonyfox··on Ode to the M1
I still remember the joy of buying additional/bigger RAM sticks for my PC and then being able to do more demanding stuff much better :-)
anonyfox··on Ode to the M1
Working at companies without strict audits, and previously at bigger corps that had audits we established parallel networks for developers. Either way, BYOD was possible after all.

Also I insist on not having security based on VPN/VPC only, but treat every service as if (and often has) direct internet connections, so devs are _forced_ to think about security from day 1.

anonyfox··on Ode to the M1
Lower-end consumer laptops (think: Acer, Asus, ...) tend to fall apart after a year, this is what I was starting out with in university being rather poor.

Now its more like: the current device has zero issues, but the newer available models look increasingly tempting for my inner child to play with.

Also I owe my career, salary and life situation basically to open source (so I donate regularly) and ... apple computers that work flawlessly in many situations other laptops would be dead already or require me to tinker with stuff instead of doing billable things.

anonyfox··on Ode to the M1
Still running a M1 Air 13“, now into my third job since, and refusing to bother with company provided computers. Still feeling as great as 3 years ago… will only upgrade if the next gen is substantially better (read: not just %faster somewhere).

Can comfortably develop on my lap for a full day if needed, only MS Teams draws power like crazy, but apart from that 8 hours+.

Best computer I ever had I think.

anonyfox··on I feel like I made a mistake investing professionally into Flutter
I don't get it. Whats wrong over there?
anonyfox··on Elixir Livebook is a secret weapon for documentation
update: this specific issue is something I could work around differently: defining a user that has its own credentials within SF who can be used in the auth flow did the trick without any redirect needs!

See: https://gist.github.com/Anonyfox/3f36c26fb00a9bc4067d6dc9c9a...

I sound totally dumb now to bitch about it, but glad I could solve it in like 1 hour in a sufficient way

anonyfox··on Elixir Livebook is a secret weapon for documentation
currently starting to run stuff on fly.io, so the notebooks are public (albeit password protected) - should work this way!
anonyfox··on Elixir Livebook is a secret weapon for documentation
I slightly complain a single time for the last few years, and jose directly chimes in with kind words immediately. You rock, honestly!

But on the topic: I think its a simple problem ultimately, the SF Api (https://developer.salesforce.com/docs/atlas.en-us.api_rest.m...) needs OAuth, which needs a redirect at some point, where I have no idea how to capture it from a livebook instance (easy in a phx app).

This is a reference lib in JS ( https://jsforce.github.io/ ) and there seems to be no maintained alternative on hex.pm unfortunately. So, from scratch it seems, somehow.

Additional insight: many big companies do use salesforce, and its internal tooling to produce reports/insights is rather limited, but there is a SQL-like language to do complicated stuff, but there is no way to execute a handwritten query in SF itself, except via API calls from outside. This... would be a perfect fit fro livebook! query SF + other databases to generate a report ad-hoc thats not easily possible right now without adding some heavyweight data warehouse connection!

anonyfox··on Stop Using Brave Browser
firefox developer edition, to be more exact.

also faster than chrome on my M1 nowadays and ... no google. one more user against blink-monopoly in rendering the internet here.

anonyfox··on Elixir Livebook is a secret weapon for documentation
One simple thing I need thats stopping me from jumping into Livebook fully: Salesforce API integration. Right now, I can't manage to make the auth work there (since oAuth needs some http redirect dance).

Connecting to some proper SQL database is a breeze, but if I cannot access some silo'ed data that is absilute critical, its not that useful after all :-/

anonyfox··on What we know about LLMs
Its not an "AI-killer-app" thats the real deal I think. Its that these AI tools (esp LLMs) are truly powerful tools in everyday work now. Automating stuff is a breeze now whereas it was much more involved before. Data classification, content/code creation, data transformation, ... typical jobs for software engineers boil down to this. Its only a prompt now you fire against an API. Automating tasks that used to require human clerks is now a few hours/days of creative coding and the tasks are gone.

A surprising amount of work can tolerate a percentage of errors in a non-deterministic way, even before considering that humans make even more errors that way usually. :-)

anonyfox··on Hollywood movie aside, just how good a physicist was Oppenheimer?
I would argue that the biggest achievement in physics ever was sir Isaac newton: not only the 3 laws formulating classical mechanics, but also inventing calculus itself - which nowadays is basically all what these scientists use all day now (massively complex differential equations) + statistics
anonyfox··on The illusion of AI’s existential risk
I see the reasoning but in practice it’s just sci-fi I believe. Even if you have the _perfect_ walled garden… there you are with your wealth. What will you do with it if everyone else refuses to deal with you? What are shares of corporations worth if no one cares that you own something? Why would the military listen to you, when they could obliterate your escape room and take over your wealth directly?

All this stuff you mention relies on the the „fact“ that capitalism and guaranteed private property rights are absolute truths - when in fact they aren’t, actually more like a temporal fashion wave in some parts of the world, and faith in this destructive obsession in „the economy“ is on the decline finally. :-)

anonyfox··on The illusion of AI’s existential risk
The tipping point is when some „unwashed masses“ decide to go to a billionaire mansion and explain them (forcefully) that they aren’t billionaires any longer, and neither the security staff nor the called police will step in, since they are part of the masses (family ties, defunding, …). Why should they do cruel work for a salary if they can take their part of the wealth directly?
anonyfox··on The illusion of AI’s existential risk
As soon as a significant share of the population is „irrelevant“ and treated as such (read: no good welfare, …), capitalism will end quickly. „Who owns the machines that generate value“ will shift from individuals/corporations towards a public good, and Marx ultimately was right.
anonyfox··on Ten years of “Go: The good, the bad, and the meh”
Comparison with Emacs: an awesome operating system that still needs a great editor.

Go: amazing tooling/libs, only needs a great language :-)

But a few tweaks, like proper Enums and a Option/Return Type (to avoid excessive err != nil), maybe a compilerflag to force dealing with errors (instead of _ it) - much better. If I can wish for something, then some native map/filter/reduce to avoid excessive for-loops…? :-)

anonyfox··on Ask HN: Are people in tech inside an AI echo chamber?
To be honest I am busy with building gpt-powered backoffice tools for data classification, content creation, workflow automations, … to eliminate jobs down the road in my company. It’s already factored in future financial plannings that quite a few positions will be gone in a few months, except the affected people have no idea yet

… so my take is that it takes a bit of time to leverage these new tools popping into existence only a few months ago

anonyfox··on Maine becomes first state to decriminalize selling sex
Why is this a thing in America to begin with? Sex markets do exist no matter what and have been forever.

In Order to really get a handle on some bad side effects and improve everyone’s life, the first step is accepting reality and decriminalize it. Then introduce protection laws for sex workers and make them pay taxes, like everyone else. With regulations and getting real data every action can be tremendously more effective than criminalized (= uncontrolled) black markets.

Even Al Capone was ultimately arrested for tax issues, everything else was not provable in court

anonyfox··on U.S. pedestrian deaths reach a 40-year high
this is the way. don't feel bad. whoever is angry about you can't really complain about it. If you are often late by car, the solution is to start a few mins earlier, not reckless speeding.
anonyfox··on U.S. pedestrian deaths reach a 40-year high
Also looks like the perceived risk is too low. In other countries, ignoring a stop sign (or red traffic light) can cost you your drivers licence fairly quickly, if the police notices it. So there are lots of cameras that 24/7 get the reckless drivers. And driving without readable plates is also not a small thing that gets handwaived.

But the rules only help you so far, you need the execution (iE: police on the streets that actually performs their duties). Might not be as glorious as stopping a shooter, but ensuring smooth traffic literally also saves lives.

anonyfox··on Has Xbox lost the console wars?
For me, I chose xbox recently because of very specific titles (like, starfield). And not to mention the MS/activision talks that were going on for a while now, and I really do love blizzard games, so there would have been a risk of losing out with sony in the longer run.

What I don't get in return a _some_ JRPG titles that ps5 has access to. On the other hand, I also have a switch (which has some exceptionally great exclusives + some of the missing JRPGs), and quite a lot of the gaming portfolio is covered by having xbox+switch.

The only thing I refuse to do nowadays is playing on PC, at all. I am tied to this unhealthy seating position most of the day already, and with consoles I can move to the couch, not to mention multiplayer there. I get why PC gaming is better in several aspects, but body posture is the single thing I am no longer accepting here.

anonyfox··on Next.js App Router Update
Anyone sharing the disappointment with NextJS, please have a second look at https://www.meteor.com/ again. It is much more powerful in terms of backend/frontend communication and reactivity, and even though there was a huge downturn some years ago, its picking up steam again. Importantly: it has been around for roughly a decade now and in most cases "just works", and you can even pick the frontend lib you like (react/vue/svelte/...) or swap it later on, so no _hard_ coupling to react. I blogged about it a while ago (https://anonyfox.com/blog/the-renaissance-of-meteor-js/) and things are getting even better now. There are still rough edges, but central points like SSR that "just works" with "useTracker" is there.
anonyfox··on Svelte 4
I really do like TSX (react + typescript) for the exact things: Functional Components & Hooks - which are basically functional (albeit impure) building blocks for UI things and interactions. Sure, there goes on a lot behind the scenes and so on, but these two things is for me like "perfect" for composing UIs out of reusable building blocks.

But I really hate how react does not have a "blessed"/"official" router or state management, and a lot of "innovation" in this space simply looks like fashion waves nowadays, often reinventing the wheel, and are getting unpopular again over time.

I personally do use Meteor again these days to have real fullstack stuff easily, which has built-in state management (client-only collections work extremely well for state) when things become more complex than a few useState things. Also SSR "just works" with this, since a useTracker (from meteor) is executed during SSR cycle (as opposed to useEffect API calls), including rehydration with a fast-render package.

This absolutely is crucial for my projects, or else stuff like proper SEO is simply a pain in the ass. I would even pay money for react to have kind of renderToString on the server that simply BLOCKS (or awaits) during SSR so that the initial HTML contains fetched data. The discussion about react server components at this point is just comically absurd for me, as if they really want to make the simple SSR requirement as complex as possible for no reason, other than maybe force users into Nextjs so they can make more business from magically working hosting.

anonyfox··on Is Crypto Dead?
I believe its often the other way around: decent humans somehow accumulate high wealth and become influenced/corrupted/changed over time through that. Not that money amplifies weaknesses alone, but rather the wealth itself changes the way people think, and in many cases not for the better.
anonyfox··on Is Crypto Dead?
isnt this that "the people" are for in a democracy? In theory, everyone is free to create a new party that cares about particular things, and people can vote for it if they think its important for them, too.

I think the major reason why this doesn't work fluently in practise (and a bunch of other issues) is capitalism itself, where wealth naturally concentrates and money is able to buy people one way or the other. Not to start a socialism discussion again, just in my mind the general concept of "government" in a democracy is fine, its only sabotaged increasingly by people with too much capital

anonyfox··on Ask HN: GPT4 Broke Me
Ok, I'll try, since I went through that stage also in the recent past. I'd do a multi step thinking process to outline the bigger picture, hope I can communicate it good enough:

1. AI-assistence helps senior people even more that junior people right now. For example I can prompt ChatGPT far better what I want it to generate including some key points to consider that that juniors don't even know about. I can also start typing a solution with autocomplete in mind, knowing roughly how something like it will look like, to get optimal autocompletes over mutli lines, and can see right away if there are subtile problems that differ from my expectation. In total one senior + AI can compensate multiple missing juniors, but a junior cannot become that senior this way - GPT can be a good coach to get there over time, though.

2. This means roughly that companies will trim "fat" from the organization, but the remaining highly skilled people might earn even more (or at least not get fired) since they become more and more responsibility that was previously held by those fired people. It also means that bootstrapping something from scratch is now even more feasible if you're junior - these new AI-assited tools are quite good, and can augment individual weaknesses (like devs starting a company can use a marketing ai tool to build something good enough instead of typical abysmal UX/techblahblah raving about their product.

3. Both directions in point 2 basically leads to every dev over time becoming a manager: but not with humans as direct reports, but controlling powerful tools upto autonomous agents that execute unsupervised on nontrivial stuff. As software creation itself becomes a commodity, STOP VIEWING IT AS A CRAFT. its an industrialization moment, where especially the localized creativity/problemsolving part is automated away. Don't be proud of the code itself or similar, but about your ability to deliver products/projects in a fast and reliable way - so you can tackle more complicated problems within these products instead of always fiddling with the lowlevel details.

4. There is a paradox at play that is important to know: yes, we're at a race to the bottom when it comes to coding, so getting a software that does what someone needs goes towards (but not reaching) zero. Naively, this means that developers' time is also worth less and they will be earn less and less until being obsolete. But the cheaper something becomes, demand increases, since suddenly a lot of stuff is now in the financial range that it is worth tackling with code. I think its called "Jevons Paradox".

5. For you specifically, its simply moving up the abstraction ladder again, with prompting as a higher level programming language (but being able to drop down into lower messes if really needed, as always) + hard focus on the "shipping" part including better/cheaper fully managed hosting for stuff. Over a year, expect to do more different projects/products over the same time period and/or more sophisticated topics than before since you are freed from the lowlevel code monkey work rather soonish.

6. We're at the _start_ of the curve and times are wild, and my previous points already include a healthy future prediction (which is more like months instead of yers nowadays). Still it takes _many_ years until heavy changes in the economy really propagate through, since there are layers of people sitting on brakes. Computers and the Internet took (and still are taking!) maaaaany years to shift businesses, especially conservative areas (which there are A LOT).

Side note: while arguably there always might be some people left doing the really basics everyone else builds ontop of, who have to know their shit and go deep down the rabbit holes, there are concinving predictions that AI researchers will be jobless quickly, before many others, so I don't believe in that anymore. Better ignore this path when starting today, and strictly focus on raw shipping skills, which probably means managing/orchestrating some flavors of product-building-bots instead.

Bonus points: I'd buy the house, now, on fixed terms. Inflation is a thing that helps you here when you have a mortgage. Also when you are unable to pay the monthly rates for your house, what is different from not being able to pay your rent? Its not that much worse in practice. The only thing I strongly suggest is moving close to a big/growing city instead of buying property in a maybe beautiful village somewhere unknown, the curve is swinging back already with people moving back to cities.

anonyfox··on 11 years of hosting a SaaS
After 20 years of dev, having devops skills nearly maximized (with a AWS specialization), built/maintained/scaled many products, ... can completely relate. I really do see hostings costs differently now compared to earlier in my career, when I was more junior/midlevel where one still argues about "cool" tech/languages/architectures.

What you want from day one is a completely managed hosting for tech stack you work with, but are not hard tied to forever.

Right now I am starting some new/modern meteor.js stuff again, there is meteor galaxy for hosting that "just works" for that stack, you bring your own mongodb (I prefer atlas itself, they even have serverless now), and everything is taken care of, including CI/CD/Monitoring/... . Its like a few minutes of initial configuration, and never think about it again, and if done correctly you shold have horizontal autoscale of some kind automatically nowadays.

Yes, this is significantly more expensive than directly using AWS (which they use under the hood), and even though I am personally highly trained in this stuff+terraform/cdk/..., I don't want to have all this work anymore when I also can shell out a few hundred bucks per month instead. Just in case Galaxy becomes a problem for some reason, I _still_ can deploy the app stack to some VPS provider, but I'd use some already existing automation (like meteor-up in this case) instead of really digging into typical devops topics for it.

There is a bad feeling in the mouth as an engineer to shell out "more than needed" for infrastructure, but my rule of thumb now is that I am happy to eat that frog as long as the potential cost saving is less than 2 infrastructure engineer FTEs, thats my trigger to _maybe_ discussing it.

← PreviousPage 9 of 24Next →