HNHacker News
TopNewBestAskShowJobs

never_inline

897 karma · joined August 26, 2022

submissionscomments
never_inline··on KDE is now my favorite desktop
It's super responsive with keybindings and all convenience features I can hardly be bothered by these aesthetic issues like some icons appearing 69 picometers too left OR looking ugly.
never_inline··on Java 25 officially released
> by-product of Java's strict type system

1. Lack of first class functions till Java 8 is one reason old APIs are horrible with inheritance and reflection everywhere. You had to extend class and override methods even for simplest of tasks.

After Java 11 the code is much more succinct and functional style. But old libraries remain.

There are places where the overextensibility these libraries provide is useful. But those are few.

2. the annotation processors were late to the game - so many libraries which need to inspect object structure (such as serialization) were written with heavy use of reflection.

I will give you an example of how frameworks designed for "modern" Java look like.

Micronaut has something called Micronaut data JDBC - in which you just declare methods with few annotations eg `List<Book> queryTop10BooksByYear(int year)` and it will auto generate the JDBC + SQL code and handle injecting it into your service. The returned object can be a POJO without all the Proxy object circus ORMs come with. I haven't seen something as easy in Python yet. And all this happens in compile time with an annotation processor.

never_inline··on Java 25 officially released
It's very difficult for a language designer to satisify the aesthetes.
never_inline··on Global Peace Index 2025
Logically one should more safer to live in a country which has nukes, no?
never_inline··on Microsoft Favors Anthropic over OpenAI for Visual Studio Code
www.google.com
never_inline··on Adding OR logic forced us to confront why users preferred raw SQL
How do you do conditional filters in pure SQL from a backend Java / Python app, without doing string concatenation?

Not a fan of all the proxy object circus ORMs do but I'd leave row-> domain object mapping and filter building to some library. Sweet spot is probably something akin to Android Room / Micronaut Data JDBC.

never_inline··on Many hard LeetCode problems are easy constraint problems
> the road to becoming good

In my experience, it's totally not true.

Many college students of my generation are pretty good with LC hards these days purely due to FOMO-induced obsessive practice, which doesn't translate to a practical understanding of the job, (or any other parts of CS like OS/networks/languages/automata either).

I will give you an exercise, pick an LC hard problem and it's very likely an experienced engineer who has only done "real work" will not know the "trick" required to solve the problem. (Unless it's something common like BFS or backtracking).

I say this as someone with "knight" badge on leetcode, whatever that means, lest you think it's a sour grapes fallacy.

never_inline··on Many hard LeetCode problems are easy constraint problems
> faangguyindia

> contractor

Do FAANG hire contractor in India?

never_inline··on Things you can do with a debugger but not with print debugging
Didn't expect this to blow up, and now I realize it's bit of a flame bait topic, haha.
never_inline··on Things you can do with a debugger but not with print debugging
I am the author of the posted flamebait. I agree.

I use IPython / JShell REPLs often when the code is not finished and I have to call a random function without entrypoint.

In fact its possible to jump to the graphical debugger from the Python REPL when running locally. PyCharm has this feature natively. In VSCode you can use a simple workaround like this: https://mahesh-hegde.github.io/posts/vscode-ipython-debuggin...

never_inline··on Why RDF is the natural knowledge layer for AI systems
So so obvious slop and pains my eyes to read.
never_inline··on AI coding made me faster, but I can't code to music anymore
> The excitement of getting a day's work done in an hour* (for example) is likely to fade once the expectation is to produce 8 of such old-days output per day.

It's not really about excitement or enjoyment of work.

It's the fear about the __8x output__ being considered as __8x productivity__.

The increase in `output/productivity` factor has various negative implications. I would not say everything out loud. But the wise can read between the lines.

never_inline··on Google will allow only apps from verified developers to be installed on Android
OK, fine, but how will I build and launch an APK through android studio / flutter?
never_inline··on Why are anime catgirls blocking my access to the Linux kernel?
> counting the number of letters in a word seems to be a good way to filter out LLMs

As long as this challenge remains obscure enough to be not worth implementing special handlers in the crawler, this sounds a neat idea.

But I think if everyone starts doing this particular challenge (char count), the crawlers will start instructing a cheap LLM to do appropriate tool calls and get around it. So the challenge needs to be obscure.

I wonder if anyone tried building a crawler-firewall or even nginx script which will let the site admin plug their own challenge generator in lua or something, which would then create a minimum HTML form. Maybe even vibe code it :)

never_inline··on TSMC says employees tried to steal trade secrets on iPhone 18 chip process
At least, it doesnt look like chatgptese.
never_inline··on Keep Pydantic out of your Domain Layer
Even when DTO is separate, you can use projection methods of eg: spring data JPA, or something like mapstruct.
never_inline··on Why Elixir? Common misconceptions
To restart and fail again? How does that help with logic errors caused by wrong type objects?
never_inline··on Speeding up my ZSH shell
Yeah it's literally ANSI escapes.
never_inline··on India: Income Tax Bill allows officials to forcibly access social media, email
Ah what are they going to do with the information gained from my social media that I don't like dynamically typed languages and prefer SQL to NoSQL?
never_inline··on What the Fuck Python
Use static types and treat python as more concise java. Use dynamic types sparingly. Limit expression complexity.

Static types + IDE features make it much easier to understand any codebase.

never_inline··on What the Fuck Python
> Java as contrast has interning wtfs because == between java objects does essentioally what python's `is` does.

It's pretty sensible because i wouldn't expect that operator to call a method - since Java does not have operator overloading.

never_inline··on lsr: ls with io_uring
Poe's law hits again.
never_inline··on All AI models might be the same
My thought exactly. My word would be "Gun" or "Artillery". easily defeats his logic.

But that should also explain us why pure embeddings search is not sufficient for RAG.

never_inline··on My bank keeps on undermining anti-phishing education
Indian government's websites (eg: IRCTC train booking, exam registration portals) are worse IME.
never_inline··on My bank keeps on undermining anti-phishing education
There's a certain Indian public sector banking app which won't run at all unless you give it camera, full filesystem and some other crucial permissions.

I have not received any spam similar to the OP from my bank. But it seems (at least the popular belief) the lower level employees regularly leak your account details to scam callers.

never_inline··on AI therapy bots fuel delusions and give dangerous advice, Stanford study finds
People did absolutely live without all this therapy thing for thousands of years. They had communities, faith and (vague) purposes in life.

Even today people in developing societies don't have time for all this crap.

never_inline··on AI therapy bots fuel delusions and give dangerous advice, Stanford study finds
1. Ars Technica's (OP website) audience includes tech enthusiast people who don't necessarily have a mental model of LLMs, instruction tuning or RLHF.

2. why would this "study" exist? - for the reason computer science academics conduct study on whether LLMs are empirically helpful in software engineering. (The therapy industrial complex would also have some reasons to sponsor this kind of a research, unlike SWE productivity studies where the incentive is usually the opposite.)

never_inline··on Jane Street barred from Indian markets as regulator freezes $566M
Irony is that jane street hires from prestigious Indian schools too, for pretty obscene salaries. These salaries get hyped and celebrated over newspapers.
never_inline··on Jane Street barred from Indian markets as regulator freezes $566M
Irony is jane street hires from prestigious Indian schools too, for pretty obscene salaries. These salaries get hyped and celebrated over newspapers.
never_inline··on Are we the baddies?
What's exactly looksmaxing and why is the above comment a suspect? It seemed normal to me.
← PreviousPage 7 of 16Next →