skysight-inc/HackerNews huggingface dataset:
One notable omission from this piece is a technique to compress integer time series with both positive and negative values.

If you naively apply bit-packing using the Simple8b algorithm, you'll find that negative integers are not compressed. This is due to how signed integers are represented in modern computers: negative integers will have their most significant bit set [1].

Zigzag encoding is a neat transform that circumvents this issue. It works by mapping signed integers to unsigned integers so that numbers with a small absolute value can be encoded using a small number of bits. Put another way, it encodes negative numbers using the least significant bit for sign. [2]

If you're looking for a quick way to experiment with various time series compression algorithm I highly recommend Daniel Lemire's FastPFor repository [3] (as linked in the article). I've used the Python bindings [4] to quickly evaluate various compression algorithms with great success.

Finally I'd like to humbly mention my own tiny contribution [5], an adaptation of Lemire's C++ Simple8b implementation (including basic methods for delta & zigzag encoding/decoding).

I used C++ templates to make the encoding and decoding routines generic over integer bit-width, which expands support up to 64 bit integers, and offers efficient usage with smaller integers (eg 16 bit). I made a couple other minor tweaks including support for arrays up to 2^64 in length, and tweaking the API/method signatures so they can be used in a more functional style. This implementation is slightly simpler to invoke via FFI, and I intend to add examples showing how to compile for usage via JS (WebAssembly), Python, and C#. I threw my code up quickly in order to share with you all, hopefully someone finds it useful. I intend to expand on usage examples/test cases/etc, and am looking forward to any comments or contributions.

[1] https://en.wikipedia.org/wiki/Signed_number_representation

[2] https://en.wikipedia.org/wiki/Variable-length_quantity#Zigza...

[3] https://github.com/lemire/FastPFor

[4] https://github.com/searchivarius/PyFastPFor

[5] https://github.com/naturalplasmoid/simple8b-timeseries-compr...
> Carrots have barely any calories and need a fair bit of chewing.

Not to undermine your point, because it's a good one, but the same guidelines should apply to anything you eat, even carrots. I was losing weight and tracking "calories" very closely. I started eating carrots for exactly the reason you mention and gained two pounds that week. At my next doctor visit, she told me she's never asked this question before, but "are you orange?" I was, from carrots.
> Are you doing any mentoring

But of course. Check my profile.
Sneakers and War Games (and also Tron) are great.

We're running a consensus protocol bounty challenge for TigerBeetleDB inspired by them [1], with our distributed database simulator also being called The VOPR.

[1] https://www.youtube.com/watch?v=_Jlikdtm4OA
The benchmark is ancient.
He claimed he had no idea what they were.

Someone that identifies as a neuroscientist.

He knew very well but thought he was special.

The only thing special is that he went cold turkey (extremely dangerous) and had to be placed into an induced coma in Russia because no one else would do it.
I see a lot of people mentioning counting calories and I've never had success doing that. I stick with Tim Ferris's 4 hour body method of only consuming meat beans and vegetables and getting the 1 cheat day or meal. There are a few other rules like eating 20g of protein right when you wake up, but I can't recommend his book enough to people that are struggling with losing weight. The biggest thing about his book is it makes you understand your body fat percentage and gives you more ways to measure weight loss than just what the scale says, which can be deceiving. Anyways, different things will work for different people, but everything takes time to adjust.

https://www.amazon.com/Hour-Body-Uncommon-Incredible-Superhu...
Thanks, interesting to get this perspective. I have seen a lot of interesting research chemicals and nootropics redditors are using, most of which are prescription drugs in Russia (semax, selank, probably others). Shame there doesn't seem to be any pharmaceutical crossover, would love to see some studies done in the West. I'd be too scared to experiment on myself.
I've also noticed in the US that people have a built in idea of how fast a bicycle goes - roughly 20-25 km/h, the speed that the middle school and high school students go while biking to class. I can often reach 40 km/h on my road bike, but I have to pre-emptively brake as soon as someone starts a right turn or is about to pull into the road. Because they see a cyclist, assume I'm going 20 km/h, and pull out directly in my path even though I would have smashed straight into the side of their car if I had not defensively braked.

It's like their brain just shuts off estimating speed and distance as soon as they see a bicycle, it's very interesting.
> Committing climate arson so that you can get rich speculating on cryptocurrency

That's such a hyperbolic and frankly disingenuous way of putting it.

Any human activity consumes energy to an extent. You are calling it "climate arson" because you personally don't like it, so it is a waste to you. What else should "society" ban because someone thinks it is not useful and harming the environment? Gaming PCs? Meat? Cars?
ok - I was riding my bicycle in the University town where I am typing now. Broad daylight, in the summer.. urban houses. One house is vacant, and has been for years. There are dry leaves and the house is wooden, a giant old tree is in the center of the front yard that drop leaves often. The stairs and porch are painted wood but years old, from neglect. An apparently-homeless black woman had her urban homeless baggage with her, on the steps, and she was smoking a cigarette and talking to herself. We have had fires here, more on the way. I stopped and said "Hey, cigarattes? that is super dangerous. Can you please not smoke cigarettes there?" big, dismissive, mildly cursing no.. So I repeated, "really, its really not OK to smoke there. There are things all around you that can catch fire" .. BIG, resentful, harsh retaliation including "you are a racist!" etc
No movement, no accomodation.. I rode my bike fifty feet, found a neighbor and pointed it out. The middle aged woman neighbor made a bad face, and was completely unhappy about this, as I was.
Wow, 1. who tf gave you phenibut before gabapentin/pregabalin? Phenibut is notoriously hard to quit. It takes at least a few weeks of gradual tapering down. 2. Together with a benzodiazepine? Wew, lad. Should've also taken a few shots of vodka before sleep for the insanity trifecta.

Edit: sorry, I always assume other people have access to medication. I don't so I shouldn't have laughed.

Yeah, so there are a few gabapentinoids/gabaergics out there, and they can help a lot.

But please read everything you can before deciding on something.

Just a couple of pages of Phenibut experiences have convinced me to not try it because there are better alternatives with fewer side effects.
Good to hear!
Glycine 3 gram before sleep can be useful as a combination. it relaxes the body too and relaxe the mind also. There are interesting studies showing positive effects on sleep and no tolerance.

magnesium l threonate before sleep, the lthreonate variant penetarte the brain far more than regular magnesium, and it acts as a mild NMDA antagonist, which means it decrease maximal excitation. it is also a great synaptotrophic.
Wonder if they asked bitcoin farms to turn off.

https://www.cnbc.com/2022/04/26/fort-worth-tx-the-first-city...

https://fortune.com/2022/02/10/texas-world-capital-bitcoin-m...
Granted, but it seems a reasonable enough thing to ask for that "better in every single way" deserves qualification.
As someone with a few family members addicted to Xanax (long term) and have repeatedly bore witness to the destruction, I can say with certainty that it's an evil drug. It's like the person crawls inside a space where they can safely project all of their anxieties onto others. Their problems becomes your problems, a fully projected virtual experience. It's definitely psychosis-like, and I've always wondered if there was some brain damage involved. Well, here's the answer to that.
Guessed correctly on the the mocha, peanut butter, and popcorn :)
If the person creating this website are reading: Please do not pop up a "sign up for newsletter" pop up before one can even take one decent look at the article.

There could not possibly a more clearer message saying: "we don't even want you to read what we write, we just want your e-mail".

Incidentally, I did not get to read this article, because of said pop up, and if you think I'm gonna hunt for that tiny x button as response to that dick move instead of closing the tab, well.

Edit: if this ain't clear, this isn't good design
Was about to say this.

Do you also trigger while trying to exercise? I have had pretty intense panic attacks while trying to work. to the point of having dizziness, weakness, closing throat feelings, the works! Pretty shitty stuff. 15 minutes later, you are absolutely normal and feeling bummed and sometimes embarrassed as well.

I would also not wish a panic attack to my worst enemy.

What I'm trying to do now is short walks and getting more 'confidence'. I think what gets us/me is the "what if I trigger" thing.

So, going slow helps build a little of confidence. That's my current plan, at least. I know an attack is bound to happen, and I will not win every time, but I'm not gonna be deterred by it. I know exercise helps a ton.

Thank you for this reply and wish you well!
On the flip side, we had a cat when I was growing up that had been reared by our dog, and must have been separated from its mom and all other cats at a very young age. The dog had recently had puppies at that stage, and they had all been given away. So, she thought that this was a weird looking puppy that had come back. She dearly loved that puppykitten.

That cat never learned how to meow. It would open its mouth, there would be silence for a few seconds, and then there would be a tiny squeak. It was clearly trying to bark, and failing. Every time.

Fortunately, that cat did learn how to use a litter box. But she never tried to run outdoors.
I dislike FTP and think that it is not a very good protocol. (There is one advantage of FTP over HTTP, which is that it has directory listings, although you could also do with HTTP possibly by a new file format (e.g. application/httpdirlist) for directory listings.)

You can serve other file formats (including text/gemini) over HTTP. Although I could manage to make the web browser I have to support text/gemini files over HTTP (and local files), this isn't commonly done, and the protocol does not support file format polyfills (although I have a proposal that can make it work).

However, that isn't good enough if you want to serve NNTP or IRC or Telnet or something else like that. If I want to serve discussion forums, I will want NNTP. If I want fast communications, I will want IRC. There may be other possible protocols too. We shouldn't force everything into HTTP(S); it doesn't fit properly. (I do have a NNTP server, as well as HTTP and Gopher.)
> I don't buy it. In fact, I think almost the opposite is true: given a fresh start and Zuckerberg is as likely to become a billionaire as O'Neil is to become a top NBA player.

I'd add that NBA players are renowned for being prone to going broke after their pro stint. Wikipedia points to a source stating that an estimated 60% of NBA players are bankrupt within 5 years of retirement.

https://en.wikipedia.org/wiki/Personal_finances_of_professio...

Shaq managed to not only not go bankrupt but also significantly grow his NBA wealth.
Great points. Thank you. Perhaps my friend's perspective is tempered by his being native to Seattle. He mentioned that he thought Montevideo was the southern hemisphere match to Seattle. Hmm.
Weird this can happen in the EU to be honest.

In Germany these things are really difficult to come by for these minor reasons (it's probably different for the critically ill but I wouldn't know).

Briefly, doctors have to have special permissions to prescribe potentially addictive or mentally altering substances and it's only with a special, bureaucratic kind of prescription ("BtM-Rezept").

That's why I always wonder how this can happen so casually. If I'd ask my GP for benzos for sleep problems I'd most certainly not get them even if he'd be allowed to prescribe them and reckless prescription in this case could lose him his license.
FYI milk undergoes a chemical reaction when steamed in which it is broken down into simpler sugars, hence the increased sweetness.
It's because powers of four was great for the original application of statistics on high traffic services where the primary thing the user was interested in was deviations from the norm, and with a high traffic system the signal for what the norm is would be very strong.

I tried applying it to a service with much lower traffic and found the bucketing to be extremely fussy.
> All the other languages I know of, like this proposal for Java, require the variable to be redefined.

can you give a few examples? This makes no sense to me and I've touched quite a few ecosystems in my time. Maybe I am misunderstanding but my current understanding makes this seem not realistic
That was then. I personally know one or two Irish Catholic priests and they are not offended by Father Ted and at least one is a massive fan.

I went to a pretty posh school in Oxfordshire back in the day. The school priest (Church of England) made us watch "Life of Brian" by Monty Python's Flying Circus and discuss it in our "Divinity" studies - an O Level (nowadays GCSE - 13-16 year old).

One of the other Masters (teacher) intended and was going through the process to become a CofE priest and was massively offended by Life of Brian. Perhaps he felt he had to be holier than thou or whatever. He was my rugby coach and was once a player for the Harlequins a long, long time ago so a good egg in my eyes but a bit whizzed up over a comedy film. I will grant him that LoB is a pretty robust parody/critique of Christianity (and English/Britishness and more besides).

Oh and there was a band at my school called On a Friday - they played by the Cricket Pav at the end of summer term 1989 to a load of kiddies enjoying end of term relief and glorious weather. You'll know them as Radiohead. Funny old world.
I don't think we should be calling out what works for someone else as "a terrible strategy". People work in different ways - don't assume your way is the only right way.
I guess you've never used NextJS because it basically uses JS as a server side templating language, and since pages are by default server side rendered, there's no client side JS (unless you want to add it).

You can go to a server side NextJS rendered page that worked even when JS is disabled, that uses only HTML and CSS and no JS whatsoever.
Thanks - it's definitely not an ideal case, but so is losing your ability to work. It feels like a decent back up plan.
I’m not defining terms arbitrarily.

https://en.wikipedia.org/wiki/Database_scalability

Scalability means running a single workload across multiple machines.

Prometheus intentionally does not scale this way.

I’m not being mean, it is fact.

It has made engineering design trade offs and one of those means it is not built to scale, this is fine, I’m not here pooping on your baby.

You can build scalable systems on top of things which do not individually scale.
Propranolol is very commonly prescribed for anxiety in the UK. I take it as needed and it works wonders, but it does make me a bit lethargic. It doesn't completely eliminate the low level anxiety but it stops it ending up in a viscous panic cycle.
If you look closer at others, you'll notice they have a new spark. But "new medication" won't be your first thought.
"Get to know me" is a bad paradigm. I don't want them to know shit about me. But since it's safe to assume that is you're serving content, then someone is consuming it, you can base ads on that content. You know, like TV, radio, and magazines have done the whole time.

I'm still going to block those ads though.
Something that carries say 1kg for any distance, is a pretty significant drone. The Dji Mavic pro can carry 1kg and is around $1k.

> I think the only reason we haven't seen this on the battlefield yet is that we haven't yet had a war between the right countries. But we will.

There are videos every day of Ukrainian drones dropping shaped charges like the Russian RKG-3/1600 from drones.

Ukraine even has special troops specialized in it, the Aerorozvidka (Google for the videos).

The reason they apparently aren’t bothered by anti drone efforts is because the Russian forces don’t seem to have the training and equipment for it, so regular drones work well enough (with selection bias of course - we don’t see the videos of the failed attacks).

It’s clear from that footage what an advantage it is to be able to drop 2 or 3 munitions since you can correct for wind if you miss the first, something you can’t do with a single drop.

The larger octocopters that can carry 5kg or more is probably what you want for the job. Some range, and at least 2 charges to drop.
UA is literally dropping anti-tank grenades and other explosives from commercial/civilian drones as we speak.
Human genetic engineering is coming
I believe blaming this on doctors only is way to easy. I believe many people demand medication when they go to the doctor. If they go because of a cold they don't accept being told to rest for a week, but demand antibiotics, if they feel depressed they don't want to be told to exercise, but want a quick medication etc.. I definitely see this since coming to Sweden, where it's difficult for doctors to prescribe antibiotics and lots of expats complain that they went to the doctor and were told to rest for a week. They feel they are not taken seriously if they don't get medication (that is not to say that there are no problems with how healthcare is done here, but restrictive prescriptions of antibiotics is not one of them).
956,030,724 USDT (956,030,724 USD) transferred from Bitfinex to Tether Treasury
This doesn’t surprise me. I have Klonopin for as needed use. (Since early 2019, I’ve used 106 0.5mg pills, so not a significant amount.)

Being bipolar, I find they are necessary for suitations my regular medication and coping mechanisms can’t handle. Without them, living a normal life would be difficult.

That said… benzos scare me.
Taking one pill will calm me today, but at the expense for increased anxiety the next two.

If I go to a convention, I’ll have ramped up to my max dose around the second or third day. After that, it becomes less effective because I can’t (and won’t) increase it more. I’ve only gone five days at most and by the fifth day, my anxiety is the same it would be without medication. Coming off that afterwards is brutal.

If I had another effective option, I would use it. I’ve tried very hard to “power through” my symptoms or find alternatives during my first year being diagnosed. My psychiatrist, therapist, and friends had to just about physically slap me to use them.
I guess a significant number of the callers must just be curious.

If this site were to somehow become very popular, hypothetically it might even cut call volume a bit.
"Personally, I love having moved to a country where no one relies on the govt for anything."

So it can be like supply of cocaine, laced with horse manure and rat poison?
Prometheus cannot evaluate a query over time series that do not fit in the memory of a single node, therefore it is not scalable.

The fact that it could theoretically ingest an infinite amount of data that it cannot thereafter query is not very interesting.
Can you please stop posting unsubstantive and/or flamebait comments to HN? It's not what this site is for, and it destroys what it is for.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.
Yeah, it doesn't have much in the way of restaurants. Then again, unless the restaurant itself publishes the figure, I don't trust it.

I haven't had too much trouble with missing food items since they are easy to add, I just wish they let you use the label scanner in the normal "make a custom copy" procedure.
kilocalories.

I know that it's metric system, but ffs, at least an entry that tries to educate should somewhere mention it.

It's not calories.
He probably gave himself phenibut. It's not a prescription drug. You can just buy it online.
This raises the question of what measure between Fizz Buzz and 'invert a binary tree' are more accurate of day-to-day work
In my family we don't drink calories. I do give my son some fortified almond milk and some juice if he squeezes it himself (the hard way, by grinding it against whatever they are called. By hand).

I realized when I was 20 that I could easily drink 15% of my energy needs. Mostly empty calories (soda and the like).

I stopped. Now I drink water 98% of the time.
> Of the common legal drugs, benzos are by far the most dangerous to quit.

Not sure if that's right. Alcohol withdraw can actually kill you.
Always assume for anything that affects the economy at a macro level to eventually end up coming under the scrutiny of regulatory action (no matter how much ink is given otherwise) and that AML/CTF will be applied.
https://3dprintingindustry.com/news/uk-defence-agency-plans-...
LTT did an interesting video (but not a review, I think) on the Ankermake

https://youtu.be/E581GZ_dZbY
It's as if people don't even read what a technology is about before bashing it. SvelteKit, like NextJS, is a server side rendered framework that just so happens to use JS as the templating language but in the end serves raw HTML to the client without any client side JS (unless you want it).
Some fair points. But I still feel like as the window of opportunity increases, now at possibly 5By and counting, and extends as long as we don't extinct life on Earth, and future intelligent life to solve the problem of the Sun eventually dying, time just keeps on slipping into the future dragging the opportunity and possibility of abiogenesis with it until our galaxy's red dwarves burn out. So it just seems inevitable short of the annihilation of all life on Earth, and even then there's already been lots of possible.
And you have just described the AeroEnvironment Switchblade 600 drone. According to Drive they haven't actually been deployed in Ukraine yet but they are on the list apparently. The smaller 300 has been deployed apparently but it doesn't carry a shaped charge, instead it carries an antipersonnel charge. More of a flying hand grenade kind of deal.
Ukraine is a current example

Fiat:

- People unable to withdraw the money in Ukraine.

- Refugees being robbed of their live saving during their escape.

- Refugees unable to deposit/exchange Ukrainian currency.

vs

Bitcoin:

- Refugees being able to flee with their live savings safely stored by memorizing 12 words

- Refugees being able to access their savings in other countries simply by having access to a smart phone

- Ukraine being able to receive global donations while national banks being not operational.
This type of explosive is very stable... nothing like nitroglycerin ...
>The existence of a large fanbase for "Zero COVID" ideology (including among many "public health experts"), which was actually attempted in many countries around the world

E.g., https://youtu.be/gDB0UFCmWb4?t=43
This was the case for me too! :) I really hated running at the start because it triggered anxiety. In the end it turned out to be a blessing because it provided me with basically a safe (not socially connected etc) way to activate it at my own comfort and degree I was comfortable with and basically feel like my twisted up brain connections got smoothed out by doing it for a while. (Basically exposure therapy as you mention.) Lions mane may have been part of helping too but idk.