Better HN
topnewbestaskshowjobs
Log inSign up

rkharsan64

507 karma · joined Apr 21, 2024 (2y ago) · 39 submissions

Submissions

comment 2mo ago · link · parent

According to https://news.ycombinator.com/item?id=49417480, Anthropic hires writers who do not use LLMs, and reading their updates I also feel that they don't use LLMs for communication.

comment 4mo ago · link · parent

I haven't used it, but YouTube Music has a samples section which is supposed to show you "shorts" of new (to you) songs.

comment 1y ago · link · parent

This website is just AI slop, the real reporting is in the BBC page linked at the end.

Photos and numbers seem to be stolen straight from it.

comment 1y ago · link · parent

I see multiple banner ads promoting ChatGPT on my way to work. (India)

comment 1y ago · link · parent

Are there any local models that use this new approach to generating images?

comment 1y ago · link · parent

You can install things from Windows/Microsoft Store without an account.

comment 1y ago · link · parent

Advertisers are the cause of DNT's failure, not Microsoft.

comment 2y ago · link · parent

Does this change include any UX improvements? The article only mentions updated visuals and theming. From the discussions I've read, it's the UX of GIMP that holds it back.

comment 2y ago · link · parent

Most of the comments here echo what the article is criticising. I can see countless threads of back-and-forth defending single-entry bookkeeping.

Sure, single-entry bookkeeping might be easier and more normalized, but sometimes it is a good idea to just stick with the systems and abstractions that have been developed over centuries.

Just use double-entry bookkeeping unless you definitely need something else. Sure, it might be icky for the programmer inside you, but I think you'll be thankful if you ever need to get actual accountants involved to sort out a mismatch.

On a related note: does anybody know of any good resources for programmers in payments and adjacent fields? Something like an "Accounting for Programmers"?

comment 2y ago · link · parent

These and other related machines are super popular among people interested in handheld gaming. I agree that the AI label is just for hype, but GPD does make good machines.

comment 2y ago · link · parent

> And if you step past something but then later realize it was important, time to start over.

How can you do this using print debugging? For every print statement I add, I can add a breakpoint. Even more importantly, I can see the stack frame and know which functions led to the current one. I can inspect any and all variables in scope, and even change their values if I want to pretend that the code before was fine and proceed further.

comment 2y ago · link · parent

Google Search Fixer. It's a recommended extension for Firefox on Mobile.

comment 2y ago · link · parent

FWIW, I run Node 12 painlessly on Apple Silicon using fnm, so you might be thinking of a few versions before that.

comment 2y ago · link · parent

People here seem to be underestimating the advantages that Google gets just because of Chrome:

- When you sign in to Google, you sign in browser-wide. Google now gets all of your browsing data, perfect for advertising. (If you ever doubt it, go check out Google Takeout. You'll be shocked at the amount of data you see there.)

- They have special APIs and features that they get to use, and nobody else. Only because they own Chrome. [1]

- They get to move forward with enabling and pushing features that allow for more advertising: see Manifest v3, FLoC.

- Google specifically serves a worse version of Search on Firefox for Mobile. You have to get an extension to get the full experience.

This isn't an isolated attempt. You can see more of the same thing with Android.

- AOSP (the open source counterpart of Android) is now unusable. It doesn't ship with most essential apps, including a Phone app. In previous versions of Android, all of these were a part of AOSP.

- Most third party launchers/stores struggle to implement features because they are only available for Google themselves.

- The signing in with Google thing from above continues here too: you sign in to Google system-wide.

[1]: https://x.com/lcasdev/status/1810696257137959018

comment 2y ago · link · parent

From my (super limited) experience, debuggers shine when:

- You're using a dynamically typed language.

Something like Rust can eliminate most bugs that come from incorrect data types. For me, a lot of bugs used to come from types that were different from what I expect.

- It is super easy to run your program with a debugger attached.

If your code needs to run on a K8s cluster or a dedicated test machine instead of locally, logs are much easier to get hold of than a remote debug session. Some people aren't even aware that they can attach a debugger to a computer over the network, or inside a Docker container.

- Your environment.

If you don't use an IDE that supports a debugger, it's another friction point. I'm not sure if Vim has something similar to, say, PyCharm's debugger.

Similarly, if you're a junior, and you reach out to a senior and they tell you to debug using logs, you probably will never switch to using a debugger yourself.

comment 2y ago · link · parent

On a general note, I would recommend any new (and experienced!) programmers to master the debugging tools of their ecosystem. I've seen countless experienced developers use printf-based debugging and waste hourse debugging something which could've been easily figured out by setting a breakpoint and stepping through your code. This is also a good way to understand code you're unfamiliar with.

This is one area where I believe a GUI tool is so much better: I can hover over variable names to view their values, expand and collapse parts of a nested structure, edit values easily, and follow execution in the same environment I write my code in.

Sure, it doesn't help much for some scenarios (one I've heard people mention is multithreaded code, where logs are better?), but for most people it's not that far from a superpower.

comment 2y ago · link · parent

Somehow people seem to be missing the fact that this would've been an opt-in feature.

> A way to bake that in without breaking old code would be to allow function definition to put an explicit stop to the argument list, ...

comment 2y ago · link · parent

There's only 3 competitors in that particular benchmark, and the speedup compared to the 2nd is only 1.06x.

Edit: Also, from the same table, it seems that only this library was ran after warming up, while others were not. https://github.com/bhavnicksm/chonkie/blob/main/benchmarks/R...

comment 2y ago · link · parent

That will only protect you against wall hacks. This is a strategy known as fog of war. The server will not send the positions of players far from you. However, you still need to send the positions of players near you, but still behind walls, otherwise lag compensation won't work properly.

This doesn't protect you against trigger bots (shoot automatically when you put your mouse on a target), aim bots (snap to targets, ranging from obvious hacks to very minute adjustments), and others.

comment 2y ago · link · parent

If you're talking about Tailwind, this is nothing like that. This is a set of pre-built components, not unlike Bootstrap. You just use the components they offer, instead of having to manually code up a drop-down from scratch for each new website you create.

comment 2y ago · link · parent

Isn't it possible that o1 was also trained on this data (or something super similar) directly? The score seems disproportionately high.

comment 2y ago · link · parent

It's a website where most articles don't have translations. This article seems like an exception, and I can't think of a simpler way to do this either.

If you had separate paths for each language, most links would have an unnecessary /en/.

comment 2y ago · link · parent

There's several examples where Google's SEO has actively made things worse, even before you look at ads. And to be clear, I do agree that advertising has also done massive damage to the web.

All the long, rambling stories you see before recipes? That's just there so the recipes can rank higher.

I can't remember the source, but I also remember a website adding AI generated slop to cater to Google's wishes, and leaving a page to explain to normal users why they did so.

It's also seen when you look at YouTube videos, where now it's basically necessary to have a clickbait thumbnail + title + reminders to like and subscribe.

comment 2y ago · link · parent

There's a big catch here: creating mods for Bedrock is difficult. And, Mojang is taking steps that make it difficult for modders to create stuff for Bedrock. [1]

There's no match for the modding capabilities that Java edition gives you.

[1]: https://feedback.minecraft.net/hc/en-us/community/posts/2309...

comment 2y ago · link · parent

Every time I've left an organization, they have swiftly deleted the company email address/revoked my access to it. I assume every reasonable organization will have processes in place to do this.

I don't see this as a vulnerability: how is Google supposed to know that a person has left the company? You let them know by deleting the account.

comment 2y ago · link · parent

There's nothing wrong with caring for your child. The cause of this situation is insufficient paternal leaves, not having and raising children.

If you as an employer provide a leave of just 15 days for the father (I've seen really big companies do this), and just a few months for the mother, don't be surprised if people lose productivity or just straight up leave when they have children.

Most EU countries have great paternal leave policies. Most other countries could learn something from them.

Somehow, it has become acceptable to forget raising a family for the sake of working, and it's disheartening to see people actually defend companies when they set these policies.

Edit with some more thoughts:

95% of all the time you will spend with your parents is gone. [1]

If your child is raised by a caretaker, you're losing a huge chunk of all the time you'll get with them. On your deathbed, would you feel proud of having delivered another feature instead of spending a bit more time with your family and children?

[1]: https://seeyourfolks.com/

comment 2y ago · link · parent

Modern Thermonuclear bombs (also called Hydrogen bombs) work on fusion. The only reason why they use fission is to trigger a fusion reaction.

https://en.m.wikipedia.org/wiki/Thermonuclear_weapon

comment 2y ago · link · parent

If you're using a JetBrains IDE, the AI based autocompletions are powered by super tiny LLMs, each trained on a single language. This allows them to run locally and still product decent results.

For example, the C++ model is really good at writing both OpenGL+GLFW and Raylib.

comment 2y ago · link · parent

https://learnopengl.com/ is a super popular recommendation, but I found it a bit lacking when trying to understand how things work. I tried using a college book instead, Computer Graphics Programming in OpenGL with C++ and found it more approachable.

comment 2y ago · link · parent

I personally don't mind having it installed, just because it makes a huge difference.

I remember playing CS:GO (and later, CS2) and it was super common to see cheaters in almost every other match.

In contrast, I haven't seen a single cheater yet in a match of Valorant.

You can see the difference yourself by checking the UnknownCheats forums for CS2 vs Valorant: the CS2 subforum is full of new hacks every day (most of which seem to be slight modifications of existing ones) while the Valorant one is completely dead.

12