HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pdevr

1,069 karmajoined há 13 anos

comments

pdevr
·anteontem·discuss
It is a feature in Rust, not a bug :-) (I know you didn't say it is a bug.)

The error-tagged union is PgResult<bool> - which means it contains bool as the result if things go well. (The other part in the union is of course the error.)

In the original function also, it is returning a boolean: "bool has_subclass".

So anyway you have to check for the boolean as part of the logic. That is what it is doing.
pdevr
·há 15 dias·discuss
I had the 2012 print edition. One of the best books available - the best book that I knew - about GC at that time.

Anti-pattern: Regarding the 2023 e-book edition, I do not see a way to buy it from the site, or even a link to buy.
pdevr
·mês passado·discuss
I am writing this for you as well as those who are likely to read this later as well.

From the quoted snippet from the original article, purportedly AI-generated:

> Not a tutorial. Not an ORM. Actual SQL

From my comment:

> Not stock options. Do not gamble, your life is passing you by.

> Not titles, unless you have a clear plan to leverage your title into a better paying job.

> Not "job safety" - it is never safe. You being in an in-demand area is your job safety.
pdevr
·mês passado·discuss
https://news.ycombinator.com/item?id=25985705
pdevr
·mês passado·discuss
Darn. I write exactly like this. You need to consider that people write in different ways, and the LLM is choosing from among the different styles.
pdevr
·há 5 meses·discuss
I watched this last week.

The part about veering constantly to navigate the maze of internal politics is fascinating. The compromises he had to make, like not being able to put in on Github initially. The easy victories, like making TypeScript open source.

The long road to success. The obligatory advice for people writing new programming languages (Hint: Mostly, don't.). His opinion about creating a new language for AI (I agree with his insight, but still think it is possible).

Overall, well worth watching.
pdevr
·há 7 meses·discuss
Just in case anyone does not know, that is a Base64URL-encoded string. Used by JWT.
pdevr
·há 7 meses·discuss
Merry Christmas to everyone.

Being a non-Christian and it being Christmas time, I am sharing one verse from the New Testament that is, in my opinion, useful - or at the very least, insightful - to anyone, regardless of religion.

Luke 16:10: He who is faithful in a very little thing is faithful also in much; and he who is unrighteous in a very little thing is unrighteous also in much.
pdevr
·há 7 meses·discuss
What confused me was this: "Now remove the two men, just keep the dog, and put them in an OpenAI livestream that looks like the attached image.".

The word "them" implied plural. I was looking for the dog and something else. Thanks.
pdevr
·há 7 meses·discuss
It need not be a dichotomy. I also laughed at the title. At the same time, I found the original article useful.
pdevr
·há 7 meses·discuss
>Now remove the two men, just keep the dog, and put them in an OpenAI livestream that looks like the attached image.

Where is the image given along with the prompt? If I didn't miss it: Would have been nice to show the attached image.
pdevr
·há 7 meses·discuss
>which are known to produce predictable fMRI signal changes in distributed brain regions.

Wondering how they created that baseline. Was it with fMRI data (which has deviance from actual data, as pointed out)? Or was it through other means?
pdevr
·há 8 meses·discuss
I use version managers for Python, Node, Ruby, and others. But for Java, none. I have all the recent versions of Java on my Linux and Windows devices. I download the zip and extract it to a common directory "Java". Setting the path within IDEs is easy, and is mostly unavoidable (regardless of a version manager). Running standalone programs is not that complicated too.
pdevr
·há 5 anos·discuss
For whatever it is worth, Dorian Nakamoto (whom Leah Goodman claimed to be "The Face Behind Bitcoin"[1]) stays nearby - within the realm of possibility :)

[1] https://www.newsweek.com/2014/03/14/face-behind-bitcoin-2479...
pdevr
·há 12 anos·discuss
Related: In IRC channels, ask a question and state that a competing product seems to work better. You will get multiple answers within minutes. Works especially well if it is Linux vs Windows.