Readit News logoReadit News
stu2010 commented on Show HN: Zeekstd – Rust Implementation of the ZSTD Seekable Format   github.com/rorosen/zeekst... · Posted by u/rorosen
stu2010 · 3 months ago
This is cool, I'd say that the most common tool in this space is bgzip[1]. Have you thought about training a dictionary on the first few chunks of each file and embedding the dictionary in a skippable frame at the start? Likely makes less difference if your chunk size is 2MB, but at smaller chunk sizes that could have significant benefit.

[1] https://www.htslib.org/doc/bgzip.html

stu2010 commented on Vertical Sharding Sucks   pgdog.dev/blog/vertical-s... · Posted by u/samokhvalov
stu2010 · 5 months ago
I've not evaluated it or ever worked with it myself, but CitusDB has been working on PostgreSQL horizontal scaling for quite some time now, right?

Does anyone have positive or negative experiences with Citus?

stu2010 commented on Pi 5 overclocking: Silicon Lottery   jeffgeerling.com/blog/202... · Posted by u/goranmoomin
tuetuopay · a year ago
No, I literally made my own hand-soldered Pi Port -> PCIe adapter. That's to plug a 2x25Gbps programmable NIC, so no bandwidth needed because the NIC does all the work. All I needed was something to power up the nic :D

As for bandwidth, well, it's one lane of PCIe gen 2. This won't win any races but can be useful to access exotic hardware not available in usb or if you don't care about bandwidth. (e.g. HBA with many drives for mass storage without speed requirement).

stu2010 · a year ago
How much power is the Pi port capable of delivering, or are you sending additional power to the PCIe adapter from somewhere else?

What SmartNIC are you using? Most SmartNICs that I'm aware of suck a decent amount of power, many more require significant external airflow. Are you using the Mikrotik active cooled one? https://mikrotik.com/product/ccr2004_1g_2xs_pcie

stu2010 commented on Most cars still cost more to charge than to fill up with gas   businessinsider.com/ev-ch... · Posted by u/j_walter
rurp · 2 years ago
A tesla owner I know recently mentioned saving money on fuel as a reason they love their car. I was curious about the difference and asked what they pay for the equivalent of a gas tank charge. They had no idea.

I have also heard it claimed by others that charging is much cheaper than gas, but they never back it up, it's just taken as a given.

Given the variance in both gas and electricity prices by time and region, the answer to which one costs less is almost certainly "it depends". Interesting that electricity being cheaper has largely become conventional wisdom.

stu2010 · 2 years ago
Because in most of the US, it is dramatically cheaper to charge an EV than fuel a similar gas vehicle.

These costs in this article are surprising to me, and very questionable without any actual numbers behind it. As a PHEV owner who can fuel with either gas or electricity, the 13c per kWh I pay is dramatically cheaper than gas at circa $3 a gallon, to drive any distance at all.

Confounding factors across the US may be that in some places using more electricity results in an increase in your marginal rate, in others it results in a decrease. Typically EV charging is not broken out as its own line item, so owners may not know exactly how many kWh their car is consuming. That doesn't change the fact that only a small number of places with very expensive electricity will have electric charging cost anywhere near gas.

stu2010 commented on Fed raises rates 25 bps   federalreserve.gov/newsev... · Posted by u/mutant_glofish
Dig1t · 2 years ago
Legitimate question, I’m not very economically literate.

We went through wars in the past without crazy inflation, gulf war, Iraq, Afghanistan. Is it because of all the Ukraine aid we’re sending? If so, why is this different than other conflicts?

How does disease cause inflation?

stu2010 · 2 years ago
Disease, disaster, war all cause significant inflation because they harm or destroy both things and productivity in the real world without destroying money.

If factories shut down and supply chains are disrupted and we only make half as many cars this year, how much would people be willing to pay for those cars? Much more.

stu2010 commented on Show HN: Mofi – Content-aware fill for audio to change a song to any duration   mofi.loud.red/... · Posted by u/jaflo
jaflo · 2 years ago
There is no enforced maximum length for either input or output right now. In practice, the remote machine times out trying to analyze a song after 10 or so minutes. For output, your machine will take forever to generate really long results.
stu2010 · 2 years ago
I see an error saying "Remote media exceeds maximum duration" for this track that is 9:24 long: https://www.youtube.com/watch?v=Y7JG63IuaWs

I'm guessing that's the timeout?

stu2010 commented on Show HN: Mofi – Content-aware fill for audio to change a song to any duration   mofi.loud.red/... · Posted by u/jaflo
stu2010 · 2 years ago
What's the maximum length? I can't find it documented anywhere and keep running into it when trying to try this with Tool tracks.
stu2010 commented on The absurd cost of finalizers in Go   lemire.me/blog/2023/05/19... · Posted by u/jjgreen
sieongioetnio · 2 years ago
Effective Java 2nd Edition is 15 years old now. Is the Java information at all accurate?
stu2010 · 2 years ago
I haven't measured, but I find it very likely that such a neglected corner of Java behaves just like it did many years ago. Finalizers were never a widely used feature of the Java language, and are now deprecated to be fully removed in the future: https://www.infoworld.com/article/3649089/how-to-handle-java...
stu2010 commented on The $GREED Experiment: From a joke tweet to the top of Twitter Trending   voshy.medium.com/the-gree... · Posted by u/taubek
stu2010 · 2 years ago
If someone trying to make a joke can accidentally get this much access and engagement, imagine how well the scammers must be doing.

Cryptocurrency scams must be an incredibly lucrative space, and now we know why there's so much spam about it that plenty leaks out into visibility.

u/stu2010

KarmaCake day282January 15, 2016View Original