Readit News logoReadit News
Karliss commented on Newgrounds: Flash Forward 2025   newgrounds.com/bbs/topic/... · Posted by u/lsferreira42
hofrogs · 10 days ago
Is there an open source tool to make flash games/animations? I only ever hear of adobe stuff
Karliss · 10 days ago
Haven't done that in a long while but you used to be able to use Haxe as a compiler in combination of tools like swfmill converting and importing resources. Targeting flash was actually one of them primary usecases when haxe was initially released.

It's a bit different workflow than what the adobe tooling provides and in no ways a replacement for adobe animation tooling, but for a more programmer oriented workflow especially if you are using sprite based graphics it's not bad.

There was also FlashDevelop and later HaxeDevelop as IDEs (.NET based) that integrated the corresponding tooling. Both seem currently unmaintained. If you are on windows you might still be able to run the old builds. Otherwise for non flash based projects the vscode haxe extension is quite good, but might need a bit more manual build scripts for the flash stuff compared to prime time of FlashDevelop.

Karliss commented on Show HN: Prime Number Grid Visualizer   enda.sh/primegrid/... · Posted by u/dduplex
mfoc · 14 days ago
When choosing rows = 4000 and columns = 546, an interesting pattern emerges.

For all integers n ≥ 0, the ranges [243 + (n * 546)] to [249 + (n * 546)] inclusive appear to contain no prime numbers. Same with the ranges [297 + (n * 546)] to [303 + (n * 546)].

For both sets of ranges, the minimum gap between the closest neighbouring primes appears to be at least 10 (in decimal). Does anyone know of a number-theoretic explanation for this kind of pattern?

Karliss · 14 days ago
Nothing too surprising more or less same thing as all other vertical columns. 546=2*3*7*13 and all numbers in the range [242, 250] can be divided by one of those 4 primes same for [296, 304] . If x is divisor of a and b, then it will also divide a+n*b meaning you get an empty column. 2 and 3 already makes more than half the columns non primes, fill in the gaps with few more primes and you get the wide empty columns. If the width is multiple of many different small primes it's more likely to happen.

In a similar way 210=2*3*7*5 also gives wide empty columns (if you ignore ignore first row where 2,3,5,7 themselves are primes)

It helps if you think of it in terms of where the non primes are located instead of where the primes are. Multiples of 2, 3, 5 form a very regular pattern. Wrap it around in a grid and you get straight lines which are either straight vertical or slightly shifted depending on the divisors of width. Stack a couple of repetitive patterns and you still get a repetitive pattern. If the positions which are not primes form a regular pattern, the inverted image also forms recognizable pattern. Of course the primes don't form perfectly regular pattern and but most the visible repetition are result of small prime multiples.

Karliss commented on So what's the difference between plotted and printed artwork?   lostpixels.io/writings/th... · Posted by u/cosiiine
cluckindan · 16 days ago
For plotters, just get a pen with UV ink. Is a UV printer something more fancy?
Karliss · 16 days ago
Those are two completely different things. Nothing to do with UV fluorescent inks. UV printers use special inks which are cured by UV light instead of relying on solvent evaporation like most inks. A bit similar to UV cured resins used by SLA printers or UV cured glues. This makes it easier to print on various materials like metal, glass, and ceramics. UV printing can be done in multiple layers to add 3d texture or using bottom white layer as primer thus providing better colors regardless of base material color.
Karliss commented on OpenFreeMap survived 100k requests per second   blog.hyperknot.com/p/open... · Posted by u/hyperknot
LoganDark · 20 days ago
> I believe what is happening is that those images are being drawn by some script-kiddies.

Oh absolutely not. I've seen so many autistic people literally just nolifing and also collaborating on huge arts on wplace. It is absolutely not just script kiddies.

> 3 billion requests / 2 million users is an average of 1,500 req/user. A normal user might make 10-20 requests when loading a map, so these are extremely high, scripted use cases.

I don't know about that either. Users don't just load a map, they look all around the place to search for and see a bunch of the art others have made. I don't know how many requests is typical for "exploring a map for hours on end" but I imagine a lot of people are doing just that.

I wouldn't completely discount automation but these usage patterns seem by far not impossible. Especially since wplace didn't expect sudden popularity so they may not have optimized their traffic patterns as much as they could have.

Karliss · 20 days ago
Just scrolled around a little bit 2-3minutes with network monitor open. That already resulted in 500requests, 5MB transferred (after filtering by vector tile data). Not sure how many of those got cached by browser with no actual requests, cached by browser exchanging only headers or cached by cloudflare. I am guessing that the typical 10-20 requests/user case is for embedded map fragment like those commonly found in contact page where most users don't scroll at all or at most slightly zoom out to better see rest of city.
Karliss commented on Ask HN: What trick of the trade took you too long to learn?    · Posted by u/unsupp0rted
pydry · 24 days ago
i can count maybe 3 times in the last 15 years ive used git bisect and it didnt even catch the bug in at least one of those cases.

It's one of those things that sounds super cool and advanced and i thought id be using all the time when i first learned about it but in practice 99/100 times to see when and where to bug was introduced it it's quicker and easier to just track it down manually in the code.

Karliss · 24 days ago
On the other side of experiences - i have used git bisect at least 3 times just last week to track down source of regression. I was not the person who wrote the code originally or introduced the regression. All i knew that it worked in last version but not now. Bisect, do an easy fix, add the missing test and move on to next bug. No need to think hard.
Karliss commented on The Math Is Haunted   overreacted.io/the-math-i... · Posted by u/danabramov
Karliss · a month ago
Is there a way to read lean proofs noninteractively.

After playing with the natural number a game a bit, proofs quickly ended up being opaque sequences of "rw [x]" commands which felt unreadable. It's nice that the editor allows interactively viewing the state at different points, but having to click on each line ruins the flow of reading. Imagine if you had to read python code which has no indentation, braces or anything similar and only way to know where if statement ends or an else block starts is by clicking on each line. My impression might be influenced by the limited vocabulary that the early levels of natural number game provides. Does the richer toolset provided by full lean make it easier to make proofs readable without requiring you to click on each line to get the necessary context?

Karliss commented on The Saltgator: A Desktop SoftGel Injection Molding Machine   core77.com/posts/137875/T... · Posted by u/surprisetalk
modeless · a month ago
Hmm, so basically it's a heated syringe? Is there a reason you couldn't just use a regular syringe and heat it up?
Karliss · a month ago
A lot of diy/custom lure makers are are already doing something very similar.

The process involves a plastic mix called Plastisol https://en.wikipedia.org/wiki/Plastisol which is initially liquid but after heating it for the first time and letting it cool it becomes rubbery.

In small scale setups the heating is typically done in a glass beaker and microwave or other heater. Injection is done using giant metal syringe (which are sold for exactly this purpose).

If you look up some videos of people doing it the process is quite messy. Search "making soft plastic lures" on youtube. Looks like this product just tries to streamline the process by integrating syringe, heater and mixer (typically you would mix in a dye and or glitter preferably without introducing a lot of air bubbles), while at the same time comparing their product to everything else except the direct competitors based on similar technology.

Considering the target audience (a lot of fishing lures) and information about their plastic/rubber - initially liquid, needs to be heated to ~180℃, becomes rubbery after cooling, recyclable seems likely that the rubber they are using is very similar to the plastisol stuff.

The recyclability claim is a bit weird. Yes you can remelt that stuff, which is not a problem if you heat it in a pot. Not sure how well it would work with their product which has the heater integrated and relies on the rubber initially being liquid at room temperature before the first heating so that you can suck it into syringe.

Using PLA molds also seems a bit of stretch. While their heater can be set to lower temperatures, the existing plastisol requires ~180℃ and screen in their own videos are showing similar temperature. PLA is melting temperature is ~210 and it becomes soft at 60. Might get away with PLA mold for some shapes once or twice. Maybe not so bad if it cools fast enough and actual melting temperature is lower than 180. In most of the lure making videos I have seen they are usually using aluminum molds.

Karliss commented on I designed my own fast game streaming video codec – PyroWave   themaister.net/blog/2025/... · Posted by u/Bogdanp
richardw · a month ago
If the system knew both sides were the same vendor or used the same algorithm, would it be better to stream the scene/instructions rather than the video?

I suppose the issue would be media. Faster to load locally than push it out. Could be semi solved with typical web caching approaches.

Karliss · a month ago
Are you suggesting to do the 3d rendering on client side, which would require a beefy GPU for the client? The whole point of game streaming is that the game can run on the big noisy, power hungry computer located somewhere else, but the device receiving the stream only needs minimal compute power to decode video.
Karliss commented on Performance and telemetry analysis of Trae IDE, ByteDance's VSCode fork   github.com/segmentationf4... · Posted by u/segfault22
theusus · a month ago
Okay, no where it's mentioned which IDE is talked about. https://www.trae.ai/ OR https://traeide.com/

Would be sad if wrong one is murdered.

Karliss · a month ago
Naming is hard but if there really were 2 different AI IDEs with nearly identically name that's no accident.

But it seems like traeide.com is in the best case someones extremely misleading web design demo, worst case a scam.

One the traeide website:

> Educational demo only. Not affiliated with ByteDance's Trae AI. Is Trae IDE really free? What's the catch? Yes, Trae IDE is completely free with no hidden costs. As a ByteDance product, it is committed to making advanced AI coding tools accessible to all developers.

By the way TRAE isn't free anymore, they now provide a premium subscription.

If the later really is just a web design demo it has a bunch of red flags. Why the officially sounding domain? Download links for executables!!! If it is just a web design demo for portfolio -> why are there no contact information for the author whose work and skills it's supposed to advertise?

Karliss commented on Data on How America Sold Out Its Computer Science Graduates   ifspp.substack.com/p/data... · Posted by u/haskellandchill
tayo42 · a month ago
>The percentage of computer science graduates ... For those who specialized in computer programming,

Isn't computer programing all of computer science. This seems like a weird distinction to make?

The job market just seems to suck, if it didnt i dont think things like this would come up. I dont think immigration is the reason for the job market sucking. theres no jobs to apply to, theres no jobs to take from americans in the first place

Karliss · a month ago
Universities provide various specializations for the computer related programs: actual computer Science (math and algorithms with focus on research), computer networks and other IT infrastructure stuff, computer hardware, software engineering (the process of designing, architecting and managing the lifecycle of large scale software projects) for those that approach software like engineering project, and of course there is actual programming.

u/Karliss

KarmaCake day1254March 9, 2015View Original