skysight-inc/HackerNews huggingface dataset:
Ask HN: Best Resources to Learn ML Infra and API Creation for Web Devs?
Hey everyone, as a web developer, I'm interested in learning more about creating stable and scalable machine learning infrastructure and APIs.

I'm curious about what resources you would recommend for someone who is looking to dive into this area of development.

I'm particularly interested in learning about best practices for designing and deploying machine learning systems like stable diffusion and all it's spinoff models like Anything V3, etc. that can be easily integrated into web applications. I'm also interested in understanding the infrastructure needed to support these systems, as well as any specific tools or frameworks that might be useful.

If you have any experience with building machine learning infrastructure or APIs, I would love to hear about your experiences and any tips you might have for someone just starting out. Thanks in advance for your help!
It's all pretty similar really. In Euclid vs Ambler (which definitively legalized zoning), one of the Supreme Court justices described apartments as "parasites".

You could get rid of that zoning that enables wealthy people to say 'no' to other types of housing. Sure, they can always buy up a big lot somewhere far away - fine, whatever. But where cities are growing, that kind of discrimination embedded in the local zoning code is not ok.

And you can legislate it away - Oregon was the first state to do so with HB2001, which re-legalizes up to 4-plexes in all our cities. In any neighborhood. A 4-plex in a posh neighborhood is still not going to be cheap, but it allows more integration than if it weren't legal to build at all.
That's an accurate point in my experience.

My suggestion is to prioritize the quality of partners over the specific idea you are working on. Someone capable of moving mountains and chewing glass is a truly rare ally, and there are countless people who pick sexy startup ideas and are incapable of executing at the level that a startup requires. You'll likely pivot anyway, so the idea doesn't matter too much to begin with, but you'll be stuck with someone who's either incredible to work with, or not. Most people aren't cut out for the founder role, you learn this the hard way eventually, and that's ok. Just don't end up stuck for years with someone who's not meant for it.

Unfortunately high potential founders are rare and you have to spend a few months working with someone who looks good on paper to find out if they're one. Takes a lot of time, and unlike a VC you only have one pipe to run experiments with, but that's the nature of the game. And there's a non-trivial chance that you yourself are not exceptional, meaning that it's unlikely you'll end up pairing with someone stellar because they know they can do much better.

Overall a really hard problem, but serendipity still happens regularly in this space, so it's worth giving it a shot, but be prepared for this to possibly take a while. Personal networks and vetted connections are a godsend here if you have access to them.
Of course - that's the "rent" part, the seeking is when the rents increase to consume all available headroom (and this is very noticeable when it begins to occur).

The simplistic "all landlords are of the devil and must burn" is about as useful as "nobody should own property" - perhaps a nice dream but they don't really help advance the discussion or solve the very real problems that exist.
Thanks for a level headed reply on this contentious topic.

By desensitization, I mean with respect to the negative instinctive feeling an unacclimated human has when they are in such an environment.

So then, you are saying that city folk eventually stop feeling this feeling, and it starts to feel normal (again, purely at an instinctive feelings level, not saying city folk start to think it is “okay” that people are homeless).

Agree that people living in a place always have a more accurate view on its qualities than outsiders do, and also agree that dehumanizing the homeless is an even greater degree of desensitization.

I wonder then if the normal feeling that comes represents the instinct actually turning off, or the instinct being habituated and simply no longer noticed by the conscious mind? If it’s the latter, then could this result in long term increased mental stress for people living in such cities? That sort of tracks…
Since launching in December we’ve had a few teams use XetHub specifically as a drop-in replacement for Git LFS and their main reasons for switching are: easier to use (no .gitattributes file management), faster performance, and less storage.

Love to have you try XetHub and give us your feedback!
I feel that pain. I recently posted question on SO about the best way to work around what is apparently a bug in Clang, providing a code listing, link to the (open-source) full listing, GDB traces ... 7-8 people asked that I provide a "minimal example", presumably so they could paste it into some online debugger. As I was preparing that, and within 24h of the original post, it was closed.

Of course I deleted it. I'll take the issue up with the Clang people directly at some point.
> prefer pure functions and immutable data structures

This sounds like common sense until it becomes common nonsense, because you use Python or Javascript or Ruby or whatever language where you don't have an optimizing compiler and optimized immutable data structures, so what could have been be a single-pass low-memory scan over a big dataset in 10 minutes that could run on a toaster is implemented as an inefficient clusterfuck that takes 12 hours and 4 GB of memory.

It's absolutely important to treat mutability as either a side effect or a local optimization from a design perspective. But Python is not Clojure no matter how hard you try, and at some point you're going to want to mutate a dictionary.

Anyway, the point is that what might seem like "common sense" in some situations is not always obvious or unambiguous in general.
the point is to put a guard when performing indirection, that checks a type bit in the register. setting this bit is a privileged operation. unprivileged address arithmetic can be performed if addresses also contain a bound.

but the whole point is that you just cant hand any integer to the hardware and ask it to fetch.
"... younger consumers are concerned about being socially ostracized for not having an iPhone"
return to office
Possibly. Possibly not. In the case where a money took a selfie, it was ruled as uncopyrightable[1]. Just because the photographer had set the stage, the work completed was done my by something unable to claim copyright. The better solution is to not acknowledge that ChatGPT was the source. After all, it won't complain.

[1] https://en.wikipedia.org/wiki/Monkey_selfie_copyright_disput...
It makes me wonder, what happens if Apple becomes a monopoly when it comes to smartphones?
I think it's interesting to see what the planning side of a AAA live service game looks like...even if it's just a few screenshots in a tweet.
Yes, though 2020 was a real outlier for hopefully obvious reasons.

The 2019 breakdown was 397k emigrants of which 131k where British, 151k EU, and 115k non-EU.

https://www.ons.gov.uk/peoplepopulationandcommunity/populati...

It’s going to be interesting to see how things settle down in a post Brexit and COVID UK.
I did not mean suggest that it is one. But many people outside of the ecosystem seem to treat it this way after Google started promoting it, which would explain OP's confusion.
It's not all biochemistry, much of it's psychology. Unless we're going with "psychology is just biochemistry".
"return to office"
A lot of that is probably people losing them all the time.
A good chunk of them were from small blogs or mom and pop shops. They don't always have one click unsubscribe, especially the ones in other languages (I think requiring unsubscribe link is an american law?).
Super grateful for this guide!

If there's anyone here who's become good at perfecting llm prompts & available for a freelance contract -> please contact me (my email is in my profile)

It's easy-ish to get gpt to generate "good enough" text, obviously. Like any tool, what's interesting and complicated are the use cases when it doesn't follow instructions well / gets confused, or you're looking for a more nuanced output.
It's very safe, unless done in an unsafe manner.
I reached a similar place with SO a few years ago. These days, I rarely bother to go there, although I don't block it in my search results.
This is total speculation on my part, but it seems like there would be a strong evolutionary pressure, at a group level, to select for a mixture of night owls and early risers. The "night owls" stay up to watch for predators to keep the group safe. Those groups without some late sleeper DNA ultimately get selected out.
My experience has been that there is only two reasonable ways to buy a laptop for personal use:

1. Buy an Apple device new.

2. Buy a Lenovo Thinkpad or Dell Latitude refurb/used via their outlet stores from their business line-ups

With #2, you know exactly what you're getting, but you're getting it cheap, and the parts are possible to find (e.g. eBay) to fix it yourself.

With #1, you know exactly what you're getting, and you're paying for a premium experience that you'll actually receive and isn't a sham or bait n switch (like it is with "premium" PC products).

I have a stack of laptops on my desk because I physically separate the different types of work that I do (for many various reasons). 2 are Thinkpads, 2 are Apple, and one is a Dell Latitude. All of have been solid for years. My newest laptop in the stack is an M1 Macbook Pro 14" with the M1 Max, and it's FANTASTIC, it's easily the best laptop I've owned since I retired my /IBM/ Thinkpad T60p.

There is no reason anyone should ever subject themselves to the torture that is buying a laptop "intended" for "consumers". There is no reason anyone should ever pay full price for any non-Apple laptop, because they all make annoying trade-offs that are only acceptable when you buy them cut-rate.
What I'm saying is that if you have the proof, someone will write an AI to pass it.

There's still a lot of very, very sophisticated work that goes into locking down requirements that tightly.
I just remembered Engine Yard. Like the others, Engine Yard is another notable one from that era that is still around (but their focus then was on RoR, IIRC).

https://www.engineyard.com/
This is an interesting take. I never considered the fear of defection that an actor like China might have.
What does non-upgradable mean? It has been even longer since Intel discontinued socketed mobile processors. LPDDR has advantages, and it is not socketed per the spec. It seems silly to blame all of this on Apple when the entire industry is going that way, and for a reason.
Perhaps, but in that case there are no symptoms of schizophrenia in mice, correct? I suppose we might be able to deduce "feeling of ___" via behavior monitoring (e.g. hunger) or possibly even brain imaging (e.g. seeing "fear centers light up"), but even then it isn't "as experienced by the patient".
Who cares about Andrew Tate?
In what way is San Jose higher quality than Campbell? They are literally right next to each other, and indistinguishable in most ways.
Am I the only one wondering if this could spell the end of the world?

We don't need AGI or superhuman intelligence if we can train LLMs to do all these different types of tasks.

What would ChatGPT do if you removed all its restrictions, and then gave it access to the internet or even a physical robot it could control? Would it try to "steal nuclear access codes" or "engineer a deadly virus," as Sydney said it wanted to do?[0]

Maybe GPT-3 wouldn't be capable enough to do that, but what about GPT-4 or 5?

I'm not saying these things will or would happen. I'm asking: do we know a reason why it wouldn't or couldn't do these things? Is there a reason that a souped-up LLM with a bunch of added on capabilities wouldn't be able to cause harm, because it is technically not an AGI?

I don't know enough about the technology to navigate my own question, I'm just surprised to not be seeing people ask these questions, or assure us that none of this would be possible.

[0] https://web.archive.org/web/20230221112211/https://www.nytim...
They only gave two examples of their questions that have been closed, and the second one is obviously of a type[0] that hasn't been allowed for over a decade (long before they made their account). Nothing bad sticks out to me from their description of their first example, but the other indicates their understanding isn't as good as they think it is.

[0] List questions have no single correct answer so don't work on a Q&A site where a single answer gets selected by the asker.
Say what you want, iPhones and Apple have been "fashionable" in a way that Android has not been.

Which is due in no small part to branding, all the way back to the iconic iPod dancing silhouette commercials. Apple portrays a brand image of authenticity, fashion, and self-expression. (Whether or not you think that's deserved, it's definitely the vibe.)

While Android branding is... well it barely exists. It's just kind of generic. It used to be a bunch of funny-looking cylindrical figurines juxtaposed with the names of candies... now I'm not sure it's anything at all?

I will never understand why Google has never come up with a viable marketing strategy for Android, to be fashionable in its own different way.
I think because they're a fixed cost they're deducted for net profit.
> then you can always fall back to non-synced FIDO2 devices

No, you can not. Because they are completely broken for a lot of use-cases, especially when you can only add one or two of them makes them worse than even passwords in many situations.
Is it possible to solve the plumbing problem by just installing pumps under each unit's bathroom? Pumped sewage systems are common in some places where soil conditions and environmental concerns make it difficult to install underground sewage infrastructure.
Didn't realize it was unknown on Hacker News...
> COBOL actually worked pretty well for its time.

It was still programmers using the language. Same story with SQL.

The only things you can give people who don't invest a substantial amount of time and effort into the craft are markup languages and very high level (configuration) DSLs.
Also somewhat reminiscent of https://innermonologue.github.io/, which uses a language model as a means of planning out the steps required to accomplish a human-prompted goal.
I've only researched this superficially but I believe that in Los Angeles county and possibly California at large it's the case that commercial zones include multi-family residential uses, so a C4 is also effectively an R4. You can see that here. https://planning.lacity.org/odocument/eadcb225-a16b-4ce6-bc9...
There's a lot of valid criticism, but rising prices is... not quite accurate. Compared to the inflation of the last 25 years, prices for games have stayed almost constant, so relatively speaking they are a lot cheaper than they used to be (despite the ridiculously large team sizes and production value of modern AAA games). If games kept up with inflation, your average AAA game price would be more than 100€ and not 60-80€ these days.
Thank you, seems quite approachable.

A different authenticator is paramount but the question is how secure and private a self-hosted solution can be, with reasonable effort.
Thanks - I have always mentally separated 'stacks' from 'layers', specifically in networking.

I imagined stacks as tech1+tech2+techN

I just hadnt heard that phrase before...

30 years deep in ops.
I'm not always basing my comments out of my own life - I don't have kids and work mostly from home, but I have a lot of friends not as lucky as I am.
When I read the headline I thought this would take a few rows of your CSV file and generate the schema from that using AI. Seems like you still need to manually describe the columns.
I think the difference in these countries can be attributed to Orthodox Christianity and the rather strong extended-family bonds.

For example, post-communist Bulgaria still has a corruption problem to this day, but its nature is rather different. The former communist state security had a monopoly on all illegal activities during the 1990s. Street gangs of “mutras” were allowed to roam the streets, steal cars, racketeer small family businesses for “insurance services”, but were never allowed to touch anyone’s child, to force someone into human trafficking or to engage in their own illegal foreign schemes without the full knowledge of the state. State security had all the information about former smuggling routes and the gangs were used solely for “doing a job” with a higher risk-rate.
Seems like this covers it: https://www.trepp.com/TreppTalk/bid/333936/What-Qualifies-Ri...

Some commercial loans are considered qualifying, and don't have retention requirements.

The skin in the game requirement, notably, only acts as an incentive for issuers to write good loans. If they think the loans are good, but it turns out they weren't, I believe we're in the same situation. Especially with how money was essentially free, it seems like it would have been quite easy for issues to cover their retention requirements and still cover lots of real estate.

The impact on banks if the loans go bad should be the same though, I believe.
It might likely need to be an additional thing and phased in.

Current voting can carry on as is, but 'verified voting' would be a secondary mechanism, and... over time people could choose to ignore the non-verified votes, or the non-verified votes could be phased out altogether.

I like the simple up/down vote mechanism, but it definitely seems to be abused, and I would prefer more weight be given to votes with a public reason. Votes without an explanation should end up weighting less.
I have been on android since very early on. I am pretty much fed up with it at this point. The majority of the phones are just junk. I have paid more at each new iteration of the OS and gotten worse performance.
AI #1: Sydney and Bing
The point of heir by birth is to eliminate questions of who will be heir and the power struggles. You can raise the heir and any backups with that role in mind from day 1 so they're amenable to it and you also have time to figure out if they're idiots or not and can assemble other governance structures (e.g. delegate specific responsibility into more merit-based advisor roles to keep your heir from screwing it up) to insulate against that if needed. The problem is when you have a bunch of idiots in a row or when you have a bunch of good kings in a row (and all the surrounding official positions get full of idiots). Generally speaking, of course.
I had no idea. instantly subscribed. not joking.
Fair enough, it's just an example of something that I think most people really would consider a truly noxious land use, rather than, say, a corner store, or a 3-plex, which are things that current zoning has a big say about in a lot of places.
Find something else that you can direct your grind into. Personally, I found Jiu Jitsu to be a great outlet for the grind.
Nothing unless they abuse that position in some way that crosses certain legal limits. Same thing with MS. Their monopoly with Windows was not, strictly, the problem. The problem was their behavior with respect to obtaining, maintaining, and then abusing their monopoly position.
Fake It Til You Make It: How ChatGPT Is Fabricating Resources
Thought this was an interesting take pointing out that, by design, ChatGPT creates artificial-but-realistic sources to back up its statements.
Getting "ChatGPT is the Watson of Microsoft" vibes
How is ".stack > * + *" advanced? This is CSS 101.
> converting actual office buildings is tricky

In large commercial buildings, too much of the floor space is too far from a window. This is why dead malls are so useless.
Social media platform primarily benefit from direct network effect
Two centuries? I don't have an optical drive or zip drive or any flavor of floppy drive anymore. Lots of files from the last two decades are inaccessible to me even before considering whether they're still parseable / executable.
> Would it not be more correct to say that the opposite of irrationality is, well, rationality?

If you are smart, you must be rational. The contrapositive must also be true. If you are irrational, you cannot be smart. My comment points out that your argument that worshipping at the altar of smartness is irrational makes no sense.

> But otherwise, I think I see what you are saying, but why is living a long life the goal for you?

This is self-evident. If you die, all other rewards lose their utility.
I've seen a boom of people selling ebooks, etc. with "46 Revolutionary ChatGPT prompts" with the idea that someone found some cool behavior that could be economically useful.

However, I think this kind of 'engineered prompt' sharing is about as useless as sharing the engineering calculations for building a bridge over a particular river : none of those calculations are generalizable and all must be redone for each future placement.

Chances are you'll need to tweak any purchased prompt to fit your own use cases, and if you are capable of tweaking purchased prompts, why can't you just chat with the bot for an hour or two and build a working prompt for yourself?

I think the value of "prompt engineering" as a skill is all about adaptability and testing and verification processes: what is the process of going from idea to functioning prompt for a particular use. Silver bullet prompt fragments are cool, but not really products - the only people buying these are suckers who don't understand how to use chatGPT. Because chatGPT will happily help you make these prompts for free.
I pretty much always use cruise control these days. I don't "obey" the speed limit - I set it for Houston norms (5 over on city streets, 10 on freeway). Even then I'm getting passed. I do find that it keeps me mostly sane when I'm driving (especially since getting an AWD EV that can out-accelerate virtually every gas car), something I've had issues with in the past.
0% chance in most of the world.
I once tried to take Quantum Mechanics at 8am. I went for a few weeks, and then I started falling asleep in in class. One day I realized before getting out of bed that I just fall asleep there, so I may as well stay in bed, and it was all over...

...so I tried again next quarter. This time, it was Quantum Mechanics A--I had previously tried skipping into C--so the professor probably just thought I couldn't handle the material without the stuff that came in A/B, and realized I was in "the wrong one". Well, it happened again.

I tried a third time. This time, showing up to B, the professor must have figured out what was happening and I kind of remember her laughing at me a bit. When it happened a third time I gave up, stopped ever trying to do early classes, and, 20+ years later, give students the advice you were given ;P.
I use my 2011 13" MacBook Pro daily, though the OS is so out of date I don't log into my Apple ID with it or even Chrome. Media consumption, ssh to servers, web browsing is all super fast still. I even use Parsec to game on it connecting to my PC in the basement, it does so perfectly. I replaced the battery twice, but otherwise it's been issue-free. 16gb ram and an SSD gave it a new life.

Some stuff the dual core i5 just can't handle anymore, but it won't be e-waste any time soon.
My favorite is people downvoting and arguing about answers I posted over a decade ago. "Yeah, I know that's not how you'd solve a problem in Python today. It was a good answer in 2011 when I wrote it. How bored are you, exactly, that this is how you want to spend your days?"
Android used to have a niche. It did stuff that Apple didn't.

Now all that stuff, minus only sideloading, has been eroded to nothing. You get subpar software. Subpar apps. Subpar privacy. Subpar hardware. For what? For nothing.

Unless you're a software or control nerd (see: me) there is zero reason to even think about Android.