Hacker News new | past | comments | ask | show | jobs | submit | croo's comments login

Baraka movie is a colorful vivid beautiful impactful movie without any narrative.

Babies movie (1 hour documentary) is about 4 newborns in different locations of the world, again colored, beautiful shots and without any narrative.


I strongly disagree with this comment.

For centuries we lived in large families and those within communities where everyone witnessed birth at home with multiple siblings and responsibilities around raising children from a small age. The current atomic families with two adult both completely inexperienced in raising a child is unprecedented in history.

For a newborn you can sail on your heart but later on it is insufficient unless you had a good upbringing where you naturally learned patterns - but in that case this question would not be here.

In my personal experience having a good overview on what to realistically expect from a child of a specific age gives a great boost to empathy and patience. You also need a good understanding on what do you want to change in yourself and start working on that because your child will copy you a lot.

OP - you don't find resources because your search it too broad. Try searching for specifics for the first year and start from that.

/rant on, sorry, this topic just gets to me

There is no consensus on how to rise a child because there are so many different paths to take.

You can simply not care that much as your heart could dictate that kids are annoying and not for you in the end - there is a system in place to do that for you that is either a babysitter, a child-care or a school where professionals can do it much better than you anyway. Your heart may dictate that you did not have time for your old hobbies and friends and you really deserve it now that the kid reached school age.

You can decide that you care and spend a lot of time with them so the child will be balanced, feel safe and feel loved with the hope of not having that much emotional shit to figure out in their 30s. Maybe you want to search for the best tutors and send your child to excel in sport or music or sciences so they get the pressure they need to grow and the knowledge to excel in adult life. Maybe you give them as much freedom as possible to do what they want so they can learn the world as it is at their own pace. Maybe you are just lonely and they make you less lonely so you are now best friends forever with them. Your heart would love that, no?

Anyway, there are some questions that cannot be answered by "follow your heart":

- Where should you put your baby when he shat himself to the neck and you try to change the diaper and someone is at the door?

- What guidelines to follow when you want them to learn to close the FUCKING door?

- How involved should you be in his school/homework?

- There is a general consensus on what a newborn needs (mother, milk, sleep and clean diaper) but what does a kid _really_ need at year 1, 2-3, 3-6, 7-11 or more? What to realistically expect from a kid of that age and what should we not?

- Why do they sleep so much and what how much sleep should a kid of age 0,1,2,....18 get?

- What's up with movies and phones and TV? Are they really harmful? How do they measure that?

- Okay, kids needs boundaries but how to set those up? From what year? Why is that one boundary works for one kid and not for the other? Why do they need boundaries btw?

- Why is the first kid and the second kid so different in personality brings the questions of what kind of personalities there are and if they are related to birth order?

- Today's culture says "hitting the child is bad m'kay" but why is that and what is the recommended alternative to getting to a healthy and respected relationship with your kid?

- Should you try to be friends with your child? Why or why not?

- There are disturbing people that can make connection and build trust with your child within one minute - how do they do that?

/rant off


I didn't say it's easy !

And you have a very good point with large families vs today. But I think what I wrote still stands.

Most of your questions don't have an answer. Life is not about optimization, we are humans and there is no 'one perfect way' to live or raise a child.


The first two questions are so different than the rest and oddly specific.

Haha, yeah, personal experiences.

Tha answer to the first is "to the floor" because they cannot fall from there.

The answer to the second is to praise them every time they successfully close it. Positive reinforcement seems to work much better.


"From this study we can see the paradox: the Java compiler is blazing fast, while Java build tools are dreadfully slow."

Hi, nice article! I wholeheartedly agree with the conclusion after 10 years of fighting with maven for performance gains (that I always measured in minutes not seconds).

Slow feedback cycle is the root of all evil.


Huh, so for anyone interested but did not have the time to do the comparison of the two links of OP and parent post:

* java (on a cold jvm): 18.000-32.000 line per second on a single core

* java (on a hot jvm): 102.000-115.000 line per second on a single core

* golang: 28.000 line per second on 12 core


Outside a synthetic benchmark:

  * Gradle compiling 100,000 lines of Java at ~5,600 lines/s
  * Maven compiling 500,000 lines of Java at ~5,100 lines/s
  * Mill compiling at ~25,000 lines/s on both the above whole-project benchmarks
Again not to put Java down but have a proper discussion about compiler speeds. I'm not interested in "your" tool is faster than "my" tool, I want to understand compilation speeds of different programming languages and what impacts them. Java and Go have similiar execution speeds + similar simple type systems, no implicits etc, so they should be similar.

Of course beside the obvious, comparing compilation speeds on two totally different CPUs and machines. Do we compare compilers or machines?


Notably, the benchmarks I provide are all single-core. You can get more if you modularize the project and spread out the load over multiple cores, and some of the other pages linked from the OP go into more detail

Notably all the benchmarks you provide are synthetic and not achievable by developers. I more care about real benchmarks for real developers, that they can see in their daily working lifes.

Pretty impressive numbers, although it’s fair to say here that while Go comes with its own build toolset, pretty much no one uses plain javac to compile stuff. It’s almost always either Gradle or Maven and as the article hints they slow down builds a lot.

> From this study we can see the paradox: the Java compiler is blazing fast, while Java build tools are dreadfully slow. Something that should compile in a fraction of a second using a warm javac takes several seconds (15-16x longer) to compile using Maven or Gradle.

edit: typos


I'd be curious to see what the slowdown is, because my gut feeling is that it simply comes down to QoL stuff tools like maven do. If we keep it to compiling only, stuff like resolving dependencies from the pom.xml and such.

Yes but reality is even worst maven projects take f*"* eternity like the post says, you have tens of atomyse package that make simple task that should take seconds take minutes, while the fast in go is not only the compilation time, but that 28000 is in real word case,at least it'd feels like this for experience.

What I love most is how people project.

I was just saying "How fast does Golang compile" because I'm interested in compilation speeds and CPU usage cross compilers (Rust, despite it's "slowness" seems to have the best CPU utilization of the compilers I've checked over the years).

I've been using Java from 1996 on for two decades.

A sidenote: The article is hard to read, it's not clear how much IO there is. It seems to use LOC as "all lines" including empty lines and comments, not "of code" (most tools today mean NCLOC when they say LOC). Also not sure why they chose Netty for the test with 500k lines and then only used a sub project with 50k lines.

"Compiling 116,000 lines of Java per second is very fast. That means we should expect a million-line Java codebase to compile in about 9 seconds, on a single thread."

The get the score from compiling 50k of lines without IO it seems and then extrapolate to 1m of lines - does that also fit into memory? No GC? And no IO? At least one would need to check if a file has been changed on disk? Or would the OS do that with a cache check?

"compile your code, build tools add a frankly absurd amount of overhead ranging from ~4x for Mill to 15-16x for Maven and Gradle!"

IO? Check for changed files?


All this is actually covered in the article

> These benchmarks were run ad-hoc on my laptop, an M1 10-core Macbook Pro, with OpenJDK Corretto 17.0.6. The numbers would differ on different Java versions, hardware, operating systems, and filesystems. Nevertheless, the overall trend is strong enough that you should be able to reproduce the results despite variations in the benchmarking environment.

> Again, to pick a somewhat easily-reproducible benchmark, we want a decently-sized module that’s relatively standalone within the project

> "typical" Java code should compile at ~100,000 lines/second on a single thread

> We explore the comparison between Gradle vs Mill or Maven vs Mill in more detail on their own dedicated pages


"All this is actually covered in the article"

Then answering none of my questions.

None of your "answers" you quote answers anything to me.

> Again, to pick a somewhat easily-reproducible benchmark, we want a decently-sized module that’s relatively standalone within the project

Why not take netty src? Why is a module more easily reproduceable? We chose a decently sized module because we want a decently sized module does not explain anything.

What about IO? Why lines with comments and empty lines? Or do you even? There is no mentioning in the text as far as I can see, "lines/second" implies this, but then you say "source lines per second", does this include empty lines? I think any compiler can compile a >1.000.000.000/second of empty lines in one file that is already paged into memory.


Python. I want to focus on having fun with the puzzles instead of decrypting unfamiliar syntax errors.

Singh Simon - Code book is an excellent and fantastic read about the history of cryptography and provide insights of what really drove technical improvements in ww1 and 2.

Think about what annoys you at your current workplace, what really pisses you off. That is a great indicator that you give a fuck about it and you can use that passion as a force to drive a change no one asked for but you.


That game was made out of 3.5 tonns of clay.


I had the same line of thought as I am not following the topic and media hype can make an elephant out of a mouse.

But based on this 2022 statistics USA really has a thing going on with school shootings... more than a hundred per year is way too much. I would definitely consider it "regularly" even if it seems a low number statistically (50 million students === 1 shooter / 500000 student ~?~ 1 shooting / 1000 school).

https://cdn.statcdn.com/Infographic/images/normal/19982.jpeg


For anyone who actually tried it :

Does it respects/builds some kind of game map in the process or is it just a bizarre psychedelic dream walk experience where you cannot go back the same place twice and space dimensions are just funny? Is a game map finite?


Just looking at the first video, there's a section where structures just suddenly appear in front of the player, so this does not appear to build any kind of map, or have any kind of meaningful awareness of something resembling a game state.

This is similar to LLM-based RPGs I've played, where you can pick up a sword and put it in your empty bag, and then pull out a loaf of bread and eat it.


> you can pick up a sword and put it in your empty bag, and then pull out a loaf of bread and eat it

Mondays


Just skimmed the article but my guess is that it’s a dream type experience where if you turned around 180 and walked the other direction it wouldn’t correspond to where you just came from. More like an infinite map.


I don't think so, what they show on CS video is exactly the Dust2 map, not just something similar/inspired by it.


It's trained on moving around dust2, so as long as the previous frame was a view of dust2, the next frame is very likely to be a plausible subsequent view of dust2. In some sense, this encodes a map; but it's not what most people think of when they think about maps.

I'd be interested to see what happens if you look down at your feet for a while, then back up. If the ground looks the same everywhere, do you come up in a random place?


tried this irl and wound up here


It probably depends on what you see. As long as you have a broad view over a part of the map, you should stay in that region, but I guess that if you look at a mono-color wall, you probably find yourself in a very different part of the map when you look around yourself again.

But I am just guessing, and I haven't tried it yet.


Just tried it out, and no. It doesn't have any sort of "map" awareness. It's very much in the "recall/replay" category of "AI" where it seems to accurately recall stuff that is part of the training dataset, but as soon as you do something not in there (like walk into a wall), it completely freaks out and spits out gibberish. Plausible gibberish, but gibberish none the less.


Can you upload a screen recording? I don’t think I can run the model locally but it’d be super interesting to see what happens if you run into a wall


This should mainly be a matter of giving it more training though, right? It sounds like to amount of training it's gotten is relatively sparse.


It doesn't have any ability to reason about what you did more than a couple of seconds ago. Its memory is what's currently on the screen and what the user's last few inputs were.


Theoretically. In practice, that's not clear. As you add more training data you have to ask yourself what the point is. we already have a pretty good simulation of Counter Strike.


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

Search: