HNHacker News
TopNewBestAskShowJobs

stjo

1,202 karma · joined December 8, 2018

Contact me at stanislav.ltb[at]gmail[dot]com.
submissionscomments
stjo··on Ask HN: Share Your YouTube Channel
I sometimes post videos of little projects I make, although in the future I hope to find the time to make tutorials like Sebastian League or the coding train

https://youtube.com/@stanislavnikolov7423

stjo··on Ask HN: What's the best lecture series you've seen?
Andrej Karpathy's "Neural Networks: From Zero to Hero". https://karpathy.ai/zero-to-hero.html

Just watch the first lecture and you won't be able to not watch the rest. It starts with making your own autograd engine in 100 lines of python, similar to PyTorch and then builds up to a GPT network. He's one of the best in the field, founder of OpenAI, then Director of AI at Tesla. Nothing like the scam tutorials that just copy-paste random code from the internet.

stjo··on Chronophoto
Same thing with smartphones. If the photos is of a crowd, it is immediately obvious if it is after 2012 by the fact that everybody is watching their hands.
stjo··on Porth, It's Like Forth but in Python
This is quite stupid in my opinion. I don't see how you "help" the language discouraging others from forking/improving the project.
stjo··on Ask HN: Son is major in CS, but doesn't code. Red flag?
I somewhat disagree with the other comments. I believe practising, even in your free, time is a dramatically important if your goal is to be one of the best. Look at the titans of our industry. Do you think John Carmack or George Hotz “thinker” less than 40 hours a week? Constant practise and love of your craft is easily the most important factor in becoming great at anything.

With that being said, maybe your son is not interested in becoming the next Bill Gates. It is ok to not be the best. Average developers make a fair living. And even if he has high hopes but no chance of succeeding - maybe let him learn that lesson on his own? Learning to make decisions about one’s own future is much more valuable than anything they teach in college. Let him give up or succeed on his own.

stjo··on Perfect Circle
An even better challenge: try to draw the least circle-like thing. It is surprisingly hard!
stjo··on Deno 1.27
It seems to be down for me and for some reason the domain is not indexed by the web archive.
stjo··on Google postpones MV2 shutoff in Chrome stable to June 2023
Sounds a lot like https to me.
stjo··on Basilisk Collection
Beware, this is a work of fiction.
stjo··on 30TB Portable SSD Hits Walmart for $39 but Stay Away from It
They probably changed the partition table to say that the partition is 8GB. No complex firmware shenanigans needed. See https://en.m.wikipedia.org/wiki/Master_boot_record. Tools like fdisk will allow you to “hack” it in 10 seconds.

When you reparationed your OS probably read the true disk size (correctly reported by firmware) and made a brand new partition table, partition and file system on top of it.

stjo··on Ask HN: Resources to learn generative art programming?
As much as I like Shiffman’s YouTube channel, I don’t think he “invented” that many of the algorithms shown in his video. Cleverly adapted or explained? Sure.

Can you show some examples?

stjo··on Swarming drones autonomously navigate a dense forest
Will and initiatives
stjo··on On Leaving Facebook
What?
stjo··on River: A dynamic tiling Wayland compositor
How am I supposed to judge a window manager (excuse me, compositor is the term used in the brave new world of wayland) without a video / screenshot of it running? I get the "tiling" part, but how is this different than sway with a python script telling it to do something on the background?
stjo··on Yesterday, US grounded all planes on the west coast for ten minutes
Not confirmed though, just the most probable theory for now.
stjo··on Linux Touchpad Like MacBook Update: Touchpad Gestures Now Shipping
Let me explain my downvote:

1) Obviously such efforts will help non-power users as well. A lot of people use touchpads.

2) Yes, power users also use touchpad. Duh.

stjo··on This website has 81% battery power remaining
Whoa, TIL. It actually makes quite a big difference. Nevertheless I don't actually think being pixelated is much of a stylistic choice.

Here [1] they explain how they use dithering to minimise their bandwidth and computational costs.

[1] - https://solar.lowtechmagazine.com/2018/09/how-to-build-a-low...

stjo··on Price increase on .io domains on January 1, 2022 (Renewal: $55.00)
> So if ".cars" is added, Ford would get the first shot at ford.cars

Actually .cars exists and ford.cars is indeed taken by Ford.

stjo··on BetrFS: an in-kernel file system that uses Bε trees to organize on-disk storage
Looks very promising. Anybody tested it yet? The benchmarks look phenomenal https://www.betrfs.org/faq.html !

Even if far from production ready for important data, I can see its immediate uses for certain kinds of software, where the disk is used as a large scratch pad for example. Lot's of random writes are common in photogrammetry in large datasets, where I imagine BetrFS can be used during compute and the final output stored on ZFS.

stjo··on Making the dislike count private across YouTube
It doesn't differentiate between unengaging and "bad".
stjo··on The US Is a Banana Republic: The 1% Own More Wealth Than the Entire Middle Class
Yes, effectively turn it into a plutocracy, where laws are decided by how much you can pay for them. I'm sure this is the type of fight the poor want to get into.
stjo··on Dune: A Shell by the Beach
Please share more, this is amazing https://nextrepl.leaningtech.com/?python3
stjo··on An End-to-End Guide to Photogrammetry with Mobile Devices
At the startup I work at we make a platform allowing users (mainly telecom providers) to upload drone images from some site. Then we generate a 3d model and do additional computer vision tasks such as finding rusty parts, simulate coverage to find more optimal antenna placements, real time collaboration etc.

Have a look at: https://platform.myxrobotics.com/twins/109/?invcode=Db4GksYM https://platform.myxrobotics.com/twins/3/?invcode=EhiGcTX-

The technology stack is pretty similar to nytimes's:

1) Compute the model and divide it into 3d tiles.

2) Load the model in the browser and overlay changes on top.

Except that instead of story telling we help telecommunication engineers :D

stjo··on My Room in 3D
Although libraries like threejs (or softwares like blender) give you so many tools and knobs to play around, I cannot for the life of me make a scene look so great. The lighting, the composition, the textures, the even level of detail…

I would recommend everyone try it out for themselves to see what I’m talking about. No matter how much you try, there is always something too dark or light. Always something that looks like made from minecraft blocks and something too detailed for those 2 objects to be from the same universe. Animations are either too stiff or move like jelly blobs.

How is this so perfect?! I just can’t comprehend how do 3d artist’s brains work.

stjo··on World’s Top Beef Supplier Approves Methane-Busting Cow Feed
> How much methane did flocks of pigeons generate if they were so large that they were able to darken the sky.

Sorry, what?

stjo··on Almost free serverless on-demand Minecraft server in AWS
Thanks for trying it out! Op commands are disabled because I haven't gotten around to making every user admin by default. I also remember some vague security concerns on the back of my head ;D. It would be cooler if I could also let you change the game mode from the web interface.

As for the skins - servers run in "offline mode", which means no communication with the Microsoft authentication API responsible for validating accounts and (I believe) giving skins to players.

stjo··on Almost free serverless on-demand Minecraft server in AWS
If my memory serves me correctly, it is rather easy to decouple natural from player made blocks. It was either stored separately on storage or at worst you can deduce it by "subtracting" a fresh chunk generated from the seed.

Then you just need a good heuristic to guess whether or not a group of blocks matches your definition of a base to be explored.

stjo··on Almost free serverless on-demand Minecraft server in AWS
Yup. In my experience a stable server requires about 700MB of RAM. There are reports on https://www.reddit.com/r/admincraft/ saying you can run it in 200 MB but I haven't managed. Probably with the right swappiness settings, performance tuning of the JVM and the Spigot / PaperMC instance.

So 16GB of ram should be enough for 20-60 servers.

stjo··on Almost free serverless on-demand Minecraft server in AWS
Sure, get in touch at stanislav.ltb[at]gmail[dot]com :D
stjo··on Almost free serverless on-demand Minecraft server in AWS
BTW, other fun hacks include:

1) Initial world creation is quite slow - 10-15 seconds on a moderately powerful hardware. Since I want first joins to be as fast as possible, I keep 1000 pre-generated worlds and one of them is chosen randomly to be used as template on your first login.

2) In addition to login packets, minecraft clients send a ping packet to check if the server is online. I forge a valid response because I don't want to start a server just so you can see "server is up, 0 players online".

← PreviousPage 2 of 6Next →