skysight-inc/HackerNews huggingface dataset:
I found myself using msgpack as a drop-in alternative for acceptable mimetypes for HTTP responses in a flask app. Browsers would get the response data with the pretty-printed json embedded (or even a custom template with the data fitted in, if there was one for that specific endpoint), api clients asking for nothing in particular would get pure json, and clients asking for msgpack would get that.

Seemed like a free way to offer slightly better performance on the API (both serialize/parse times and bandwidth), since it can just serialize any data without specifying protocols or schemas, like json serializers can too. I didn't know about any alternatives that would also require no further configuration or infrastructure, so it seems like msgpack fills this 'free performance boost' niche quite nicely
Do you have statistics on that? (Should be possible to get from openstreetmap using overpass queries, but I am busy with other things right now.)
> I’ve done a lot of research and I think psychiatry is pseudoscience and antidepressants are largely placebo.

For you. There are many causes of depression, and many reactions to the depression and to the various treatments.

For me, the very day I started taking an SSRI I felt physically different. My brain felt slightly too large for my skull, and it felt "fizzy." That, and the loose stools, went away after a time. (We have serotonin receptors in our digestive system, to guard against swallowing poisonous seeds.)

And I immediately felt like cleaning the apartment.

While I still have depression, it's manageable, and the SSRI knocks it back enough that I can see and deal with bouts.

In other words, for me, I seem to have a chemical condition that SSRI is exactly designed to deal with.

For me.
Git history makes great docs
One particular advantage of msgpack is that it allows embedding binary data without binary-to-text overhead (~30 %). I don't really see msgpack as something that makes much sense to use inside a browser, though.
Agreed that it's too late in that the key is compromised at that point, but a notification before you release to production that you've accidentally committed it allows you to roll the key (hopefully) before any bad actors find it.
hate all frontend compile steps from a developer productivity perspective but love it from a user value perspective, especially if that enables JS-disabled browsers to more or less use dynamic sites
TL;DR crazy rant
Hey :)
Here are several examples of custom rules:

* Verify that CI configuration includes running certain jobs (e.g. third-party packages scanner).

* Ensure that all Docker containers are using a pinned down tag and not "latest"

* Verify that every commit is tied to an issue tracker (e.g. JIRA) ticket for traceability.
And as I recall Linux had a kernel patch that would bypass the affected hardware and run all floating point operations in software (splitting floats into two integers, etc), so you could bypass the flaw at the cost of performance.
Listen, I like your enthusiasm: I really want to show you the other side of the story: I know that what one hears from relatives/favorite ideologs makes some things very hard to swallow. However you should search for the truth and in this case there is more to the story.

I am mostly telling you our own bulgarian experience:finally, communism was also forcefully imposed in Bulgaria: so many people died after the "People's court" and in "Belene" camp(I think even my grandpa was there for a bit as a part of a 10 year sentence, thank God, he survived).
The red army/russians stayed and helped the socialist get the power, gradually isolating everyone else politically.

Those things happened, they are not a "fabricated story" sadly. We shouldn't leave modern communism erase this part of history
EV acceleration is not in any way a factor in normal traffic.
I have interpreted it, and some similar comments, as a way to lessen the pain of expectations and feeling like you're falling short of your own life.

The emotional distance between "perfectly healthy and wonderful" is much much further than "I really could end it and it wouldn't be much difference".

At the worst points, looking at it from the bottom of the hole to just that little bit up, makes it bearable enough to eventually start something, and slowly work back up toward okay.
We believe in the restoration of paid janitors in Mormon church buildings.

Not long ago our Church paid custodians to professionally clean our buildings. The result was a spotless place to worship and vital employment for a ward member in lieu of Church welfare. Beginning in the early 1990s the Church eliminated paid janitors and asked (actually unilaterally assigned) members to clean the building. It was a way for the Church to save money and for members to enjoy the "blessings" of service.

Well, you get what you pay for! The sanitation in most LDS buildings is an absolute disgrace. And as for "blessings", we would rather enjoy the blessing of spending Saturdays with our families or serving those truly in need, while also giving certain members the blessing of gainful employment as a building janitor.

Please join us in adding your support to the restoration of paid janitors.

https://www.gopetition.com/petitions/mormons-for-paid-janito...
Work like this is another reason to shut everything non-essential the hell down. It gives people time to do important work that could save lives.

https://www.theatlantic.com/ideas/archive/2020/03/coronaviru...
Teams is horrific. It's like buying generic Cola. It's remarkable how bad Microsoft is, even when they just copy.
Those do seem high though $0.10 seems a bit low. I think a dozen store-brand large eggs are around $2 where I live. (White are a bit cheaper than brown.)
The volume rocker buttons are frequently mapped (or can be in settings) as a shutter release, too. Handy when you've got gloves on.
In Seattle you can get a dozen for $1.99.
It's taking a different angle from JSON, encoding it in JavaScript is done from standard objects into a UInt8Array.
From the interviews on it, along with the podcast, it looks like they're trying to draw people away from Other People's Computers as a Service, not serve as a way to onboard them into it.
Just pack a giant fan onto it, kinda like an up-side-down hovercraft.
I am getting a ton of messages from friends that seem to be in a panic.

I am no expert, and I don’t have answers.

I did read about a simulation called Operation Dark Winter that was done years back. One of the conclusions was that it was incredibly difficult to get correct information out to the public.

This was before mobile phones and social media were common. There is definitely a higher noise ratio out there. I don’t know how to solve this problem.

My governor tweets out that they have these meetings, but he provides no detail. I think giving more detail would help comfort people. Perhaps it they would not flock to unreliable sources online if they had more details.
What did you avoid it in favor of? XML?
How do you start testing with 100x the number of tests? You have to figure out how to make a test this takes time in itself. The disease is only a few months old so it isn't like there was time to prepare. This is a very hard supply management problem. Don't forget to account for tests that fail quality control, something that happens but can't be predicted.
I LOVE what svelte is doing. I've been using React daily for the last 5 years & it does the job, documentation is world class, community is great, but it still has sharp edges & parts that feel bad. Things like hooks make complicated things look & feel simple, which is great for 80% of my work, but for that other 20% (exit animations, high frequency re-renders, drag-n-drop without HTML5) I do some pretty atrocious things to make it work. This is where svelete shines.

The readme does a good job of pointing out its shortcomings, too. Primarily, no typescript support yet & the unknown bundle size inflection point. As soon as these are solved, I can't imagine it not becoming the best (albeit not most popular) solution.
I have switched to pure HTML/CSS/Javascript for frontend. And I am very happy with it.

I sometimes use external libraries. For example handlebars if I want to template something clientside.

But no more frameworks.

I think pure Javascript is plenty enough these days.

For those who can't live without a framework: What would you miss?
PasswordState?
Such supplies exist for some levels of power. Very popular in the MiniITX community where power levels are < 300W.[1]. There is also a wealth of material on developing DC to DC converters and a number of modules for the same.

For a non-engineer putting something together I would look at DC-DC converter modules (see https://www.digikey.com/products/en/power-supplies-board-mou...) that provided the necessary power rails, at the power level that was required.

Such a solution would not be compact and integrated like one that was designed from scratch to be used in this way, but would certainly work.

I used one of the MiniITX supplies to power a system that is mounted in a box on a tree with a solar panel charging a deep cycle battery. It is the download/storage point for a number of wildlife cameras nearby.

[1] https://www.amazon.com/250w-DC-ATX-Power-Supply-Supplies/dp/...
Feel free to start a competitor…
> Most of those I remember are from the 80s and 90s though :D

So do I. Weird. The thing is, I have trouble remembering my own cell number, because I never dial it.
I'm rapidly becoming a huge Svelte fan. Quick self-promotion plug (but in the name of altruism): I've been working on an open source project that glues together Svelte (on the front end) and Crystal (on the back end).

https://github.com/noahlh/celestite

Two slightly obscure (but growing) languages/frameworks, but hey, gotta pick a niche. Contributions & feedback welcome!
[Ignorant tangent] Is core hardware more exploited these days or are vulnerabilities just more reported in tech news? I'd assume the former, but I'm not a hardware person. If so is this just due to increasing complexity/optimization going on in chip design or better tooling/methods of exploitation?
Some race cars [1] put fans under the cars, sucking upward. This effectively created a vacuum under the car and allowed it to stick to the road pretty well. It was more for cornering fast than straight-line acceleration. But modern race cars to use aerodynamic tricks to create downforce, but only to keep the car on the ground at high speeds.

1. https://jalopnik.com/brabham-bt46b-fan-car-making-lemonade-f...
LVI – Hijacking Transient Execution with Load Value Injection
But you won't be turning that car around any time soon. The Flintstones notwithstanding it isn't particularly clever to have your tires run the width of the car because the inner and outer radius during a turn will cause the tire to wear rapidly. You could cut the width-of-your-car tire into a lot of slices I guess but that would be mechanically quite complex and you'd still have to drive it somehow.
Jeff Prucher's Brave new words gives its earliest attestation for the word as Niven's Warriors in 1966.
Performance. Overhead of JSON encoding followed by gzip will be slower and more CPU expensive than msgpack.
The US Supreme Court has consistently affirmed that Americans have a right to freely travel by the common conveyances of the day, and this right cannot be restricted without due process. The government would be required to prove that a specific person has a high probability of harming the public before it would pass judicial muster outside of very narrow contexts that won't apply to most Americans. A vague "because you might have coronavirus" has the same weight as "because you might be a terrorist".

As an example, this is one of primary legal arguments for why the No Fly List is unconstitutional.
It really is eye-wateringly bad. Open up the inspector in your browser and remove the reference to roboto for the paragraph text, and see how much more readable it is. The problem is they only import two Roboto fonts, one is a semi-bold and the other is a bold. Firstly, there's almost no situations where a semi-bold should be paired with a bold because there isn't enough contrast between them to show any meaningful difference in the content, but they still look different enough to kill any sense of harmony you might have by simply using a larger-point font. Secondly, paragraph text should only be set in regular/roman/book/normal/etc width. That width is "regular" for a reason— it's the most readable.
Is there really such a great need to make the lowest level shader API more accessible to beginners? You can always build things on top that make a low-level API more friendly, but you can never build something below the lowest available level (short of inventing a new standard). What kind of beginners are these that want to do low-level shader programming, but without any tooling? Don't web programmers already accept the use of heavyweight build tools even for their plan old ordinary Javascript?

My enthusiasm for seeing yet another GPU language is very restricted. I simply cannot see the rational arguments in favour of this design. We were so close to having a standard IR for this stuff.
Would it just be better for people who are getting too much sugar to eat less of it?
Abstract art with “pseudo-profound” BS titles seen as more meaningful
> because the Soviet Union nationalised their land

I don't think they were that old.
Most companies we see try to implement something by themselves. pre-commit hooks is a major problem as it requires all the developers to install them on their computer, which is part of the problem itself right? aligning the dev team :)

Your unit tests and integration tests should still run using your CI. We run tests around the git and structured files
> I’ve done a lot of research and I think psychiatry is pseudoscience and antidepressants are largely placebo.

Please don't spread anti-psychiatry misinformation online. I'm sorry that it didn't work for you, but please don't dissuade others from seeking proper treatment.

Playing devil's advocate: Even if SSRIs are just placebo (they're definitely not, and we have decades of science to explain why that's a false statement), what would be wrong with that? Placebo is remarkably effective, and even placebo is even getting stronger with time: https://www.psychologytoday.com/us/blog/straight-talk/201803...

This is where people are mistaken when they conclude SSRIs are placebo. SSRIs still diverge from placebo, but placebo is so incredibly powerful in short depression studies that it's hard for SSRIs' superiority to reach a numerically large statistical significance.

> I’m really on the mindfulness bandwagon

Mindfulness is a common therapy technique within professional treatment. I think you'd find that a lot of the mainstream self-care practices are mirrored in professionally-guided therapy. However, some people just can't/won't trust professional institutions, so at least we have mainstream pushes for mindfulness and self-care to slip these techniques in the back door.
Under PHP...

> Msgpack is an PECL extension, thus you can simply install it by:

Having something available in PECL is a good first step, but nobody will use it unless you either:

1. Get it into the standard library (which requires an RFC for PHP Internals), OR

2. Write a pure-PHP polyfill installable from Composer, OR

3. Do #2 then #1 (using the polyfill's popularity to argue for the importance of the RFC acceptance to make #1 a reality).

Reason: A lot of the places PHP is deployed, you can't compile C code or install binary dependencies (.so, .dll files). You can't access the OS package manager, either.

But Composer is a pure-PHP package manager that still operates in these environments.

So if anyone on HN ever wants your thing to be used by PHP developers, don't just stop at "PHP extension, written in C, available in PECL".
Oh yeah, #1 piece of advice for toddlers is roughly:

1. They crave attention

2. If they do something wrong they reliably get lots of attention (sure they'd rather have more positive attention, but...)

3. If you don't reliably give them loads of attention for doing something right, see #2
Agree. Actually trying to get it reviewed but meanwhile we re-wrote our API to use a third party Amazon integration.
Regardless of Apple’s motivations those still are real benefits, I think at least one major WebGL framework uses dynamic shader generation and was looking at going the bundled-shader-compiler route. Hopefully this approach cuts back on the projects that find it necessary to do that and encourages faster adoption from WebGL.
Depends on what you're doing... for real-time data streaming, sure... for request-response, I'm less convinced. JSON being human readable, relatively lightweight, and highly compressible is pretty convincing.

I'm not against messagepack or protobuf, however, much like all things, I'd rather start with simple http+gz+json (maybe websockets) and optimize as needed. Not everyone is at the scale of FAANG, and most don't really need this level of optimization.
Hackers Are Infecting Other Hacker's Tools with Malware
Clinical depression has defined symptoms: https://www.mayoclinic.org/diseases-conditions/depression/ex...
Amateur Survival: Death Valley
Jerry Weinberg used to say that whenever you hear the word "just" on a software project, replace it with "have trouble". Similarly, replace "should" with "isn't". "That should be easy" -> "that isn't easy"; "we should just use git" -> "we'll have trouble using git".

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
There were a lot of small scale reveals. I worked in a lab in 1997 that turned the clock on some machines forward and watched what happened. We then told all customers this machine hasn't been made since 1975: it breaks and we won't update it - they responding by setting the clock back. We spent a lot more time testing (and fixing) the then current replacements.

Though to be fair, most of the media predicted bad outcomes were completely unrealistic and wouldn't have happened even if no effort was put into mitigation.
Hi, I happen to be interested in one of the gigs listed. Is there any way to obtain a referral?
If you can predict that the market will go down, yes. But you cannot--that's the whole point.

You could transition more slowly to get the "dollar cost averaging" effect, but that has its own risks.

If your mix is wrong, it's best to fix it pretty quickly.
There are billions of comets available https://en.wikipedia.org/wiki/Kuiper_belt

Then there is also https://en.wikipedia.org/wiki/Oort_cloud

Don't worry - there is more than enough comets to bomb the Mars with all the future settlements. Muhaha
I'm sure that is also a problem, but "quiet" still means "free from sound" and I very strongly emphasize that it does apply here.
Protobuf requires schemas, which is good practice anyways but maybe you don't have or want to do for some reason.

FlatBuffers doesn't have as many client libraries. There's a MessagePack library for a ton of languages.

One thing I really like about MessagePack is that the Python client (and others too) supports reading from a stream. So you can write a bunch of msgpack messages to a file or TCP socket and it just works.

Protobuf can't do this out of the box because it doesn't include how long the message is. You can write a wrapper that specifies the message length, which isn't that hard and I've done before, but it is another thing to maintain. And other formats do that out of the box (ex. Cap'n Proto)

And as someone else mentioned, Protobuf doesn't have NULL which is useful in some cases. (I understand that Go has strong opinions about there being a useful default value, but that doesn't map well to a lot of languages)

One other thing with Protobuf is that the Python client is not very pythonic. I've been keeping my eye on this project [0] which makes Protobuf messages work just like dataclasses. They don't support OneOf types currently, which I happen to need for some of my use cases. But they're working on it [1]

[0] https://github.com/eigenein/protobuf

[1] https://github.com/eigenein/protobuf/issues/85
I'll quote the lede from the abstract so people know what they are clicking on:

Instead of curing depression, popular antidepressants may induce a biological vulnerability making people more likely to become depressed in the future.

Nobody currently taking antidepressants should stop them without very careful planning and consideration of whether they should and how, but the same very strong consideration should be given before starting them for long term use, too (with a professional ideally, which I am not).
What I'd hoped to see here was why use Svelte for a large web project. I get the advantages, but devising and maintaining good architecture is hard enough in the more established React paradigm. What do complex and older Svelte apps look like? This is the part that's missing for me, not pleasant DX and early-web nostalgia.
You can blow them quite nicely if you manage to create a magnetic field inside the capacitor that exceeds the strength of the beaker it is contained in. That's a lot of bang for your buck, please don't try this at home. The good thing is most capacitors have an internal resistance and inductance high enough that this isn't a problem. But with capacitors that are made for very fast discharge (such as the ones used in old school xenon flash equipment for studios) you may be in for a surprise.

Purposefully weakening the container can bring this sort of behavior out at lower levels.
GDPR unfortunately doesn't apply in North America. I know there may be other clauses in American, or Canadian law (I am Canadian), but this is in no way enforced. I can think of multiple services, where the first thing I have to do after creating an account, is go and toggle opt-out in all the places the setting has been buried.
Is this a good fit for an on-prem small data center backup solution?
It seems to me that this technology may actually deal with theft better than what's there now, because it can retroactively charge the thief once he's caught, and it has more eyes than any amount of human guards at a supermarket can possibly have.
Holy crap.

This made me recognize my privilege and the massive gap in facilities between schools. I never thought it was that bad in some American high schools. I went to a pretty high-performing school where the biggest problems were anxiety and depression, not (this still shocks me) actual hard drugs.

Thank you for sharing your SO's experience. It's eye-opening to say the least.
But can a reader who's truly depressed think as rationally as Nietzsche and make sense of it?

Because of the views around suicide and how it can be seen as an "out" for issues that are actually only temporary, associating suicide with hope in any sense could be counterproductive. You have to make these people understand. Sometimes they never intend to understand, and only take the parts that validate their preexisting notions. Suicide and hope in the same statement.
> I’ve done a lot of research and I think psychiatry is pseudoscience and antidepressants are largely placebo.

Then your research methodology leaves a lot to be desired.
> led by a member of the previous fascist government ... violence against Jews

Well, that doesn't sound good...