News for hackers. Stuff that matters.

lfciv

Re:Permutation City on Friday February 09, 2024 @10:34AM (#39315799)
What is this?? Permutation City?!

Ask HN: Embedding PDFs in My Web Application

I'm currently embedding PDFs using a simple iframe.I can't use the Adobe PDF Embed API due to the legal requirements around our customer documents.I'm looking into what the best options are regarding embedding a PDF with the ability to annotate and add highlighting and such (specifically highlighting excerpts we extract from the document).I've looked into PDF.js, but it seems like it might be...

( Read More... | no comments | on HN )
Re:Ask HN: Laptop Buying Guide on Saturday February 03, 2024 @11:59AM (#39242197)
If you do end up getting a used Apple device I recommend making sure that it has the newer keyboard style that the current models have (I think it switched in 2018). The old keyboard was not fun to use.
Re:Ask HN: What web development stack do you prefer in 2024? on Tuesday January 23, 2024 @04:34PM (#39110211)
Working with various data, ML, and researcher-type engineers there's a bit benefit to using Python. Especially if you want to be at the forefront of what's being built.

I've been building with Python FastAPI and a React/Nextjs app. I've gone back and forth on whether we should have used Django, but we've been full steam ahead with what we have.

If I wasn't building in the AI space I think I probably would have used Node <-> React with tRPC to make the typed full stack monorepo experience seamless.

Oh and Postgres - I'm irrationally loyal to Postgres

I feel like work from home is the modern version of this. If I need to go heads down I'll just let the team know and work from home.
Based on nothing but a guess, my bet is that it's probably roughly breakeven

Though I'm curious how they're not charging any subscription given that the device will have ongoing costs to run the models. That feels like it could hemorrhage money – though if users are actively using it I guess it'd be a good problem to have

Re:Ask HN: (Over)hyped technologies that delivered on Monday January 15, 2024 @09:45AM (#39001528)
Given your timeline (since the 1940s) I'd say cell phones in general come to mind as meeting the hype

I also think Cloud Computing has generally met the hype

Re:Ask HN: Why am I suddenly unemployable? on Monday January 15, 2024 @09:29AM (#39001348)
A bit of a different take, but given the amount of experience you have, I wouldn't put as much weight on using a CV at all.

With an updated LinkedIn you can reach out to past bosses, coworkers, and friends for introductions to other people in industry (whether they're hiring or not) – and follow that chain until you find something you're interested in.

Re:Have LLMs solved natural language parsing? on Thursday December 21, 2023 @12:20PM (#38723408)
It feels like it's sort of it's own thing. LLMs are really good at morphing or fuzzy finding.

An interesting example – I had a project where I needed to parse out addresses and dates in a document. However, the address and date formats were not standardized across documents. Utilizing LLMs was way easier then trying to regex or pattern match across the text.

But if you're trying to take a text document and break it down into some sort of a structured output, the outcome using LLMs will be much more variable.

Re:Ask HN: Software Jobs Without Web on Monday November 27, 2023 @04:41PM (#38438804)
Companies with an API-first product will have a lot of opportunities to do non-web work.
Re:Ask HN: Article on software only increasing complexity? on Monday November 27, 2023 @04:36PM (#38438727)
Bit of a tangent, but I always come back to this read:

https://www.stilldrinking.org/programming-sucks

Re:Ask HN: Direct report is a senior beginner on Monday November 27, 2023 @04:33PM (#38438691)
Can you elaborate on what you mean by "really complex solution"? It is well-written/designed, but over-engineered? Or is it poorly done and subsequently hard to read + maintain? Or is it moreso an issue of documentation?
Re:Ask HN: Any AI-based Code Assistants for web CRUD apps? on Saturday November 25, 2023 @10:47AM (#38414220)
Also regarding CRUD apps – I actually was able to automate code generation of most of my CRUD pretty easily using cursor. I hand wrote a couple of them and now I just create the new file and prompt it referencing the Model and one of the other CRUD files as an example.
Re:Ask HN: Any AI-based Code Assistants for web CRUD apps? on Saturday November 25, 2023 @10:45AM (#38414205)
I used to use Github Copilot, but I find Cursor (https://cursor.sh/) to be even better.

You can add an OpenAI API Key and it'll use the GPT-4 API. It indexes your code for you and it'll crawl documentation for you if you give it the link. Then you can reference specific files or documentation with "@". There are also some really intuitive hot keys.

Re:Ask HN: Is there an end to tech job market crash? on Saturday November 25, 2023 @10:42AM (#38414182)
> I agree, but are HR people agreeing on this?

Really depends on the company I guess

> Is it sufficient to be skilled in one programming language, such as Python, and implementing a software renderer or ray tracer, your own neural network, your own HTTPS server, your own OS, your own memory allocator, your own interpreter, your own virtual machine...?

May be misunderstanding here, but if I was implementing my own OS I probably wouldn't be using Python. Different problems warrant different solutions – by a "general problem solver" I mean that you think about the coding language as a tool to solve a problem. Similar to how you might think of S3 or ECS as a tool.

That you're thinking of the problem in the business context rather than purely the technical context.

Re:Ask HN: Should people stop using ChatGPT? on Saturday November 25, 2023 @10:35AM (#38414125)
Full stack engineer – and doing more AI engineering these days
Re:Ask HN: Should people stop using ChatGPT? on Friday November 24, 2023 @11:18AM (#38405456)
GPT-4 has fully altered my dev workflow. I don't think I could move away from it unless there was a clear, equivalent, alternative.

Not only on the OpenAI UI, but also via the Cursor IDE which I actively use with an OpenAI API Key.

Even if you don't use the OpenAI UI you'll likely end up using the produce via other products. Github Copilot, Arc Browser, Duolingo – likely more in the future – all use GPT under the hood.

Re:Ask HN: Getting Started with DAW? on Friday November 24, 2023 @11:12AM (#38405380)
Not exactly in a DAW, but I found Syntorial to be incredibly helpful. Teaches you a lot of jargon around sound manipulation and how to reproduce a desired sound. It'll make you way more comfortable navigating a DAW later.

https://www.syntorial.com/

Re:Ask HN: Is there an end to tech job market crash? on Friday November 24, 2023 @11:04AM (#38405284)
I view it similarly, but differently. I think at some point a developer should aspire to level up to being a general problem solver.

The language, the stack, etc.. are just details. Given a problem - they can tackle it.

Re:Ask HN: Do you have a digital end of life plan? on Tuesday August 08, 2023 @12:36PM (#37051682)
I've been thinking about this recently regarding photos – Would be sad to lose a life's worth of photos just because someone can't get into your phone.

In a similar, but different vein, I've recently found interesting to think about how all the photos of yourself tend to live on other people's phones – whereas photos on your own tend to be of places and other people.

Re:Pay $1.9/month or $24/lifetime? on Friday April 28, 2023 @12:56PM (#35743966)
Back when they used to charge a few dollars to download the app I bought the Ultimate Guitar App (https://www.ultimate-guitar.com/)

Honestly been pleasantly surprised now that they've had a subscription model for years and have honored my app purchase from probably over ten years ago

Even if they're non-technical I value a technical approach to problem solving.

I've always liked the idea that if they didn't have a technical cofounder they might still be able to hack together an MVP using tools like Bubble, Zapier, Airbase, Sheets, etc.

Always has been...
Re:Ask HN: Best way to “donate” dev hours to charity? on Tuesday April 04, 2023 @10:07AM (#35439856)
I'd be curious if there are any strong programs where devs can provide mentorship to students interested in potentially becoming developers down the road (especially underrepresented). I find when you're just getting started there's a confidence issue where having a mentor rooting you on makes a huge difference.
Re:Managers, Stop Distracting Your Employees on Sunday April 02, 2023 @03:53PM (#35414439)
One thing I love about the company I'm currently at is that pretty much every eng manager does some level of IC work. Meaning they all have some pulse on the codebase beyond higher level planning.
Re:Ask HN: Do You Keep a Diary? on Wednesday March 29, 2023 @02:03PM (#35360915)
Also in a weird way my BeReal has become a bit of a photo diary – I use it pretty consistently on a daily basis. It's crazy how much looking back at a single photo can jog your memory on what you did that day.
Re:Ask HN: Do You Keep a Diary? on Wednesday March 29, 2023 @02:02PM (#35360908)
Since reading "The Making of Prince of Persia" (highly recommend) I've tried to journal – roughly once a day – just a way to recount my day to day in the future when I don't remember the smaller details.
I've been recently thinking of this as similar to Data Warehouses vs a normal Relational Database. The Data Warehouse has a variety of usecases around analytics or marketing where it has replaced RDBs, but for other usecases – especially around your core application transactions – you still need your Database.

Similarly, if you're doing something like generating medical/therapy notes, or generating SAT questions then GPT is great, but for transactions or cases where exact behavior is a requirement, then you sort of need a discrete set of instructions that only a programming language can provide. You're not going to see payments systems built by GPT in the short term at least.

Re:Bing Chat now has Ads on Wednesday March 29, 2023 @01:49PM (#35360713)
I wonder if any earlier prompts asked about Honda – feels a bit weird to ask what the cheapest car overall is and have the chat bot say "well let me tell you about some Hondas overall"

And if the user did specify Hondas then why would Honda pay for it? Wouldn't the Chat bot give the same answer regardless of whether it's paid? I guess you pay for the CTA link?

Older »