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

The optimum time to beat this game for me is 2 seconds.

My brother and I used to have it as kids, eventually you figure out shortcuts, and go faster and faster.

But we discovered by mistake (or rather while expressing frustration) that the quickest route ends up being a very sudden lift of the left corner, sending the ball flying above the whole board, and directly into the last hole.

With practice, you get down to one second to get to the left corner, then a second and a half to get it airborne, and for it to fly into the finish line.

I have no doubt the AI will figure it out, and probably even make it faster.


There's some fun shortcuts in https://en.wikipedia.org/wiki/Screwball_Scramble too


I mean that's what I was hoping to see, completely exploiting the game.


Agree.

All those remastering are often done with more importance given to the economic side of things, instead of respecting the art.

Some are destroying the original work.

The first thing that pop into my mind is how they destroyed Buffy with the HD makeover:

https://www.youtube.com/watch?v=oZWNGq70Oyo

As a reddit commenter said about the cropping job: "All they had to do was nothing and they still fucked it up."

It's a disgrace.


Buffys remaster is a joke. Did they just try to automate the whole thing and not look at it before publishing it? I mean there are night scenes that are clearly shoot in daylight and they didn't even bother to adjust the lighting and color balance, scenes where you can see the edge of sets and the film crew or boom mics hanging in the picture.


The right way to do it is how The Wire has done it: https://davidsimon.com/the-wire-hd-with-videos/


Really appreciate you posting this! I didn't really watch Buffy but the video did a fantastic job of highlighting the issues.


In 2010, one of my client employee kept complaining the report she downloaded from our intranet app couldn't be opened.

It was only her machine. It worked on all others.

I looked at the file, and it was a tad smaller than on the other machines.

I disabled her anti-virus, it worked !

Realizing kaspersky was taking a bite at the report, I created a self signed tls certificate so the anti virus could read it.

Worked.


11m monthly user is not that of a big number. Any stack will do providing you don't do something stupid.

Our stack was similar than pinterest, django but postgres and redis. Team of 2.

Indeed, keep it simple. Cache things. Use queue, etc.

You can scale vertically a lot. Db perfs and disk space were our points of focus.


I think 11m monthly users is a lot. Sure, compared to Facebook 2023 it's minuscule. But assuming those 11m monthly users log in 2 times a week (~8 per month) and check out 15 pages each time that comes out to 1.3bn pageviews a month. Divided by (60s/m * 60m/h * 24h/d * 30d/m) comes out to about sustained 500 pageviews per second.

I assume since they're a viral / addictive platform the numbers will be higher. Plus they're not a blog or so, but rather a personalized social media platform, which makes stuff more complicated (you can't just cache their news feeds, they're all personalized).

It's easy to say meh, 11m is nothing, there are other platforms with more users (esp. since you don't bring up examples how you managed otherwise). But I think it's a big technical feat to do this with 6 people.


500 page views / second is, again, not that big.

Basic servers are capable of handling hundred of the housands of those if you optimize your db and use a low level language.

We used python and an orm and we handled 1000 r/s on peak hours daily.

And we are talking user accounts, comments, votes, upload, transcoding, video streaming...

Todays computers are mind blowingly fast.


> transcoding

Afaik a transcoding session holds the entire CPU core, for example malformed gif avatar typically can lie down a single-server web-forum for a few seconds.


500 pageviews per second are big but 90 Web Engine + 50 API engine? i.e. ~6 rps per web server and 10*x rps/ API server. Apart from that ~250 servers for DB+cache. I know my comment smells so HN and kudos for the team that they build and scale it. But as an outsider hmmm.


A single SSD can serve over 100k ops/s. Pubsub systems built for the finance industry operate in excess of 60M messages/second [0]. I understand having multiple machines for failover reasons, but I can't help but feel that the majority of scale-out is due to the people who are doing the development not having the skills to properly optimise their systems.

0. https://youtu.be/8uAW5FQtcvE


There's an element of "how can they be so inefficient" in this thread, but hardware has come a long way in the last 12 years. I'd bet you could handle this scale with a single DB and 3-4 read replicas with modern hardware for example.


The thing is, we need to kill bacterias in many other places than the human body:

- medical equipment: handles for scalpels, syringes, operation tables... All those things we need to clean again and again.

- passage ways: doors, handles, stairs handrails, subway grab bars... All the things that propagate infections in very dense populated areas.

- research fabs: hazmat suits, protection googles, fum hood protections,... All the stuff you want to make sure don't end up cross contaminate your batch or escape.

So it's still very useful.


> - medical equipment: handles for scalpels, syringes,

I hope these things are autoclaved and not just disinfected.


They also need to be mechanically cleaned. Simply sterile is not sufficient due to the presence of pyrogens after sterilization.

https://ethidelabs.com/depyrogenation-and-sterilization-for-...


Yes, but once they are out of their container, they start collecting bacterias.

No matter how clean operating rooms are (which can vary a lot), it's never perfectly sanitized.

A cheap way to get many surfaces agent free would be a nice additional safety measure.


It depends on the instrument, you can't autoclave the scope used for cystology for example, they're generally treated with vaporized Hydrogen peroxide. It's very effective, but not as effective as an autoclave.


> passage ways: doors, handles, stairs handrails, subway grab bars... All the things that propagate infections in very dense populated areas

Sterilizing those often increases disease spread. By default, they are covered with a microbial community that can outcompete things that are human pathogens.

If you sterilize it, then you’re either leaving a coating of food (mostly dead skin cells) for pathogens to eat, or a coating of nasty poisons that strip the protective barrier off people’s skins, which undermines their ability to fight off what pathogens they do end up touching.


I believe you mean sanitize, not sterilize.

Probiotics can be applied to mitigate undesirable bacterial growth after sanitizing [1].

1. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7350316/


Not with such material which kills everything.


Out of the body, we have a number of solutions; fire, bleach, uv-c, lye; on your list, only the plastics (personal protection stuff) can't cleaned with these many times around


Unfortunately, bacteria resistant to bleach are starting to develop https://www.microbiologyresearch.org/content/journal/micro/1...


You are not going to bleach a handrail 50 times a day, it's not economically viable.


This thread is full of comments that tl;dr to "oh, they also told us x was safe, but eventually it was not".

The thing is, I'm sure half of those stories came with studies stating how safe all that was. And hacker news like debates where well meaning smart folks defended that point of view because the data was there.

Now I'm much more tolerant to all the tinfoil hats, anti-whatever and crackpots out there. Because even when their arguments make no sense, I get where they come from.

The history of mankind is riddled with those situations.


"Only"

But yeah, not the cause.


Any long time with yourself will do: walking for days in the mountains, isolating youself in a cabin in the wood to write, a meditation retreat...

It's hard to have your own thoughts when the entire world is constantly inputting its own in your psyche.

After long periods of silence, you start emptying and the mind fills the void. Ideas come in.

With practice, it will stop filling the void. But this isn't necessary if all you want is producing new ideas.

Even being bored is not necessary, but we are so not used to less input that we easily get bored.


Road trips are my (not so) secret sauce to boredom and, as pointed out, ultimately my more creative ideas.


Same. I've had a lot of game design ideas while driving on the road.

Doesn't work for me if I have music with lyrics on, though. Sometimes podcasts work, because something they say might spark an idea, but songs with lyrics don't work at all.


Several things can be true.


Consuming energy productively > storing it?

Well, yeah...


What's the difference


Storing it lets you feed back that energy at a different time (e.g. night) but requires a lot of expensive hardware (i.e. batteries) + you have to deal with losses involved with storing & retrieving that energy. Consuming it directly doesn’t require batteries and desal plants are cheaper than battery plants + going to be fewer losses.

It’s a stupid comparison though because the point of batteries is to get to net 0 and desal plants don’t help with that. But it’s not a great sign for renewables achieving net 0 at the grid level that a process that is so energy intensive for getting so little water out is a better use of electricity than batteries.


If you live somewhere that desal is the way you get your drinking / irrigation water, it makes sense that rather than storing energy to run desal continuously you can run desal intermittently and store water.

You already need infrastructure to store fresh water for later use, and storing water for later use is relatively low loss (depending on the scale --- outdoor reservoirs can have a lot of loss). There's always a question of capital costs, of course: does it make more sense to have a higher capacity plant with a lower duty cycle where the duty cycle that uses mostly off-peak priced energy, or a lower capacity plant with a higher duty cycle which uses on-peak priced energy much of the time.

Most energy consumers don't care about getting to net 0, they want to pay less for energy, if energy is a large part of their input costs.

Intermittent operations do help get to net 0 though --- if all energy intensive uses could handle intermittent operations, it allows for more intermittent generation. It certainly doesn't get you all the way though; there's lots of uses that won't work well without continuous energy.


If you read the article, this take actually is not true if you have a grid powered fully by renewables. It only makes sense when you have a hybrid grid where baseload is powered by fossil fuels and the arbitrage difference makes desal attractive. Note that a nuclear grid doesn’t have this problem & it has enough capacity to reliably power everything + continuously run desal. To run desal off of solar requires a much larger capacity installed because you have to make up the lack of 24/7 operation with excess capacity whereas something like nuclear can make up the production gap due to smaller excess capacity by running 24/7.


Desal plants do help by giving renewables something economically valuable to do in the spring when energy output is being wasted.


Only because you have to overbuild more solar capacity than you need to with nuclear/hydro/fossil fuel plants which have a more reliable method of operation.


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

Search: