Hacker Newsnew | past | comments | ask | show | jobs | submit | more rootlocus's commentslogin

Indeed a world in which you can't tell truth from lies and proof from ai generated videos suits this administration perfectly. Masked men with no identification kidnap people off the streets and you can't tell if it's real or fake. No wonder the government loves openai. Just look at how happy they are to use it on truth social.


Actions speak to the character of a person. And some actions have long lasting consequences.


Or at least coherent.


> If the were released every other day, people who wanted to do them for 12 straight days could not.

If they instead waited 12 days, they could start with the 6 puzzles already released, and then have enough puzzles to solve once a day for the next 12 days.


You're not the first one to think that k9 is a good name for a kubernetes related technology https://k9scli.io


Funny enough, having close to zero experience with Rust and wanting to build an iced-rs application with Claude Code, I asked it to search github for large projects using iced-rs to use as a reference and Halloy ones one of the top 3.


Here's how Claude Code does this:

> Find all java files with more than 100 lines.

● I'll search for all Java files with more than 100 lines in the codebase.

● Bash(find . -name "*.java" -type f -exec wc -l {} + | awk '$1 > 100' | sort -nr)

...

● I found 5 Java files with more than 100 lines:

  1. File1.java - 315 lines
  2. File2.java - 156 lines
  3. File3.java - 154 lines
  4. File4.java - 130 lines
  5. File5.java - 117 lines

  The largest file is File1.java with 315 lines.
Or, if you want to count lines:

> How many lines don't start with `import` in File1.java?

● Bash(grep -cv "^import " ./File1.java) ⎿ 287

● There are 287 lines that don't start with import in File1.java.


Nobody asked anyone anything. It's a post with people sharing thoughts. You don't even know if the maintainer is the same person as the author. As far as feedback goes, if the comment gets enough upvotes it shows a significant number of people share the sentiment, and would be something for the maintainer to consider if he wants a broader audience. Nobody expects the maintainer to respond or care though.


That’s like me abruptly telling you I don’t like the way you dress or the shape of your body. Unless you ask, it’s an unwelcome comment.


actually, it's more like you are selling clothes, and i don't like the style, and i am telling you which style i'd like to buy.

you don't have to produce my style, and i don't have to buy your clothes, but it's good to talk about our preferences so you have a better idea of the potential market.


Then you should probably add kotlin and java together as well. They share the same purpose, use the same VM, usually live in the same project, have native compatibility, are used with the same frameworks, etc.


Especially considering Kotlin is used as a drop in replacement for Java in a lot of projects. Especially when using the type of frameworks often associated with Java (Spring, Quarkus, etc.).

Personally, I think statistics like this are biased towards the median of the past few decades and do not necessarily tell much about the future; other than that things apparently move very slowly and people are mostly conservative and stuck in their ways.

Cobol is still in that list. Right above Elixir, which apparently is a bit of a niche language. Kotlin has only been around for about 15 years, and the 1.0 release was actually only nine years ago. Java was released 30 years ago and it's been dominant in enterprise development for 25 years now. So, no surprise that Java is nearer to the top.

Python is surprising but it's been around for quite long and gained a lot of popularity outside the traditional computer science crowd. I know biochemists, physicists, etc. that all use python. And it's a great language for beginners obviously. It's not so much that people switched to python but that it is driving the growth of the overall programmer community. Most new programmers use python these days and that explains why it is the #1.

Javascript has had a virtual monopoly on basically anything that runs in a browser, which is of course the most popular way to distribute code these days. Especially since plugins were deprecated and things like applets, flash, etc. disappeared around fifteen years ago. Anything that ran on the web was either written in Javascript; or transpiled/compiled to it. WASM is starting to change that but it's early days.

What the past 25 years tell us is that things definitely change. But very slowly. C++ still outranks Javascript. That's because it's mostly browsers where it is used. It's a lot less popular for other things.

I like Kotlin, so I'm biased. But it's obviously not the most popular thing by a long shot. But popular doesn't mean good. I actually like python for small unimportant things. But I reach for Kotlin if I need to do it properly. I used to reach for Java. But Kotlin simply became the better tool for the job; at least for me. I even prefer it over typescript and I do occasionally use it for web frontend development. The transpiler is pretty good. And there's a WASM compiler too and Compose for WASM just entered beta. Kotlin seems future proof and it seems to be growing into wider adoption. There are a few million programmers around by Jetbrains counts. It's not nothing.


C++ is still very popular where you need raw perfomance but not so raw as C. Especially with the fact that python is used as a more user friendly interface.


True. Pretty much every Kotlin recruitment message I got was because of past Java experience, so the job market seems to agree with you.


JS is a valid TS, Kotlin is not a valid Java (only at a bytecode level, but then you might as well combine all JVM languages).


But TS is not valid JS and nobody uses TS because they can write JS in a file with a different extension. You also get 0 benefit from running `tsc` on a JS file. You could argue that C is valid C++ so there's no reason to discern them either.


> You could argue that C is valid C++ so there's no reason to discern them either.

Only up to C90, and even modern C++ doesn’t fully implement modern C.

JS is a valid TS.


> Kotlin is not a valid Java

But you can easily have both of them in the same project (e.g. when slowly moving to kotlin) and have them interop.


You can also easily have Objective-C, C, and C++ in the same Swift project and have them interop. That’s a feature of Swift. But adding their numbers together wouldn’t make sense.


It doesn’t make it valid Java. You can paste JS verbatim to TS file and it will work.


That applies to all JVM languages no?


Java devs at large are generally not excited about writing Scala.


There are dozens of us! Dozens!


I like where Scala 3 is headed (finally). Martin seems to realize that the simpler "direct" programming model is better and that will make the language more attractive to regular people who aren't FP purists. Though it does feel like it might be too little too late.


Doesn't really bring benefit. With Java you are more quickly useful in C++ and can write server apps without fuss. Very little benefit in using a different language when Java literally does the same and is used everywhere else.


And Clojure and Scala. So really Clojure is number 2. :-)


Add Scala in there, while you're at it!


Don't forget Jruby and Groovy.


Touche!


> Made the mistake of clicking the link instead of going directly to the site like I normally would (since I was mobile).

Does anyone know how this attack works? Is it a CSRF against npmjs.com?


That was the low-tech part of their attack, and was my fault - both for clicking on it and for my phrasing.

It wasn't a single-click attack, sorry for the confusion. I logged into their fake site with a TOTP code.


This is a clear example that this can happen to anyone.

Sorry for what you're going through.


This is why Passkeys are getting pushed right now. They make it physically impossible to sign in to a phishing site.


Fake site.

You login with your credentials, the attacker logins to the real site.

You get an SMS with a one time code from the real site and input it to the fake site.

The attacker takes the code andc finishes the login to the real site.


Probably just a fake site.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: