Better HN
topnewbestaskshowjobs
Log inSign up

langcss

233 karma · joined Apr 24, 2024 (2y ago) · 207 submissions

Submissions

comment 2y ago · link · parent

Best to use SSO for SaaS passwords. This is where your whole team has a Microsoft or Google (or other identity provider) login administered centrally by the company that is further used to authenticate to various services.

As opposed to "login with Facebook etc." logins that are individually administered by each end user for each app.

This is low fruit for many things but often companies require you to be on an expensive SaaS pricing tier to use SSO on their product.

Next problem to solve is Software Engineer's cloud secrets. Use key vaults in your cloud for this. Use SSO to authenticate your team to that cloud.

Enable 2fa as much as possible. TOTP not SMS.

Finally you will need people to save passwords for some stuff. Lastpass or Bitwarden etc.

Avoid shared passwords. Sometimes unavoidable in which case rotate them often and when people leave too.

comment 2y ago · link · parent

Check your pricing page amounts are weird (e.g. strike through $10 now $420), and and links are broken.

33.

A tech firm stole our voices – then cloned and sold them(bbc.com ↗)

3 points · by langcss · 2y ago · 1 comment

comment 2y ago · link · parent

You can also bulk export all codes from Google Authenticator as a single QR code and scan to another device which is a convenient way to back up.

comment 2y ago · link · parent

Reminds of something I thought of as a kid. You know the two way switches for a light bulb: where both switches can turn the same single light on and off. You probably have one.

What if it were a 100 way switch and you had the challenge of keeping the light on (maybe everyone else is trying to keep it off). This is like just one checkbox in this game. It is cool to see this exists and someone figured out how to keep the lights on.

comment 2y ago · link · parent

Poke: setting a hardware memory address directly from BASIC. Those were the days.

comment 2y ago · link · parent

Almost perfect. I don't know US history well enough it seems.

comment 2y ago · link · parent

I recommend you get specific. "AI expert" could mean anything, from a visionary who funds startups but had never touched code to someone doing a PhD right now in computer vision.

comment 2y ago · link · parent

Well done. Very nice.

I really like the UI/UX, and admit that I am a bit jealous (as langcss.com creator) of how polished it is. I like the way it tells you what files it is working on but doesn't stick a full IDE in your face.

I am not worried this year about AI taking my job - it couldn't manage to capture the camera for my example app. It did get the permissons. Still this isn't useless - it can be easier to debug a non-working app than build from scratch.

So at this point you need a coder! But that will change pretty quickly over the next 2-5 years I am sure.

There is certainly a danger that this kind of app could do a lot of jobs, especially once mistakes are limited so you don't need an Engineer to come fix it. However learning some non technical skills like business analysis is probably wise for most of us :-).

comment 2y ago · link · parent

Sounds amazing. From a career point of view it is good for a dev as they click up native skills instead of some abstraction layer, while being able to do cross platform.

Been a long time since I worked on mobile (pre Kotlin!) but how does it handle differences in the UIs. Do you need "is android" directives. Are there Swift objects in your library that are android specific.

comment 2y ago · link · parent

1. Someone asks chat gpt. No answer

2. Checks Google/SO and no answer

3. Figures it out themselves

4. Blogs about that

5. AIs that search pick it up first but eventually it ends up in training.

As well as AI teams paying for content for training.

comment 2y ago · link · parent

Scroll down for the answer!

comment 2y ago · link · parent

Please tell me there is a separate French word for free (as in puppies).

comment 2y ago · link · parent

Enhancements? ML usually beats feature engineering humans. See: chess, computer vision. So the enhancements might be more data, better data and better models.

However knowing why is probably if scientific interest and of interest to people deciding where to live.

comment 2y ago · link · parent

Leave. If you live in such an area it would be a way of life. You probably have a spare toothbrush at someone else's house already. Unless you have a bunker or something that is considered safe.

comment 2y ago · link · parent

Design patterns: composition inspite of inheritance

comment 2y ago · link · parent

I think time zones not existing really meant there were infinite time zones, because you use the sun to tell the time.

comment 2y ago · link · parent

Most use cases don't care about relativity

comment 2y ago · link · parent

Do you mean uploading a design as a png and figuring out the code? I hope to do that at some point.

comment 2y ago · link · parent

When prompted LLMs Shakespeare said:

You taught me language, and my profit on't / Is, I know how to curse”

The Tempest, by William Shakespeare

“The poorest service is repaid with thanks.”

The Taming of the Shrew, by William Shakespeare

Pretty funny!

comment 2y ago · link · parent

https://langcss.com/demo, recent show HN: https://news.ycombinator.com/item?id=41318284

This is essentially an IDE with LLM support to help design CSS and HTML. Currently Tailwind only but I may add other frameworks and Vanilla support.

comment 2y ago · link · parent

The benefit of "The service is now ready. To check the service's status, ..."

Is when someone needs to amend this sentence later, e.g. inserting another point:

"The service is now ready. This means you can query the health endpoint. To check the service's status, ..."

It makes the writing less likely to become ambiguous.

Most documents I see in work will constantly have sentences added/removed as things change.

comment 2y ago · link · parent

And yet every single cloud let's you scale from zero and play and experiment. They know today's tinkerers are tomorrow's CTO decision makers.

comment 2y ago · link · parent

Codeium.

comment 2y ago · link · parent

Ah I see. The idea behind the model name is to kind of abstract away so the user needs to think less (why was it Llama last week and now it is Mixtral).

I have updated the UI to make it more obvious what the model is.

I am happy for people to know how the sausage is made and go direct to that provider if they don't see value in the UI. I might write an architecture post one day too.

comment 2y ago · link · parent

It was an event for me as Microsoft decided to brick .NET debugging in forks.

comment 2y ago · link · parent

The fork is what put me off so I use Codeium that seems to do an excellent job. It has saved me a lot of time especially in "convert from React to HTML" or "Use this field list to define a table" type tasks. The more autocompletey end of things rather than intelligent.

The practical issue of a fork for me is .NET won't debug on a fork, but that is probably a niche issue overall.

Edit: Codeium

comment 2y ago · link · parent

The demo also shows the code. You can use the demo repeatedly or sign up for free. The paid version has more models though.

comment 2y ago · link · parent

No fine tuning yet. I was going to look into that but I think over avenues are more fruitful. RAG, GRAG and function calling for example.
1234567