skysight-inc/HackerNews huggingface dataset:
It seems that this process will be incredibly stateful in the encoder component.

Most of codecs targeted at low bandwidth for mobile streaming track scene changes and if you make chunks in a naive way (split via I-frame borders and encode 'em independent of each other), when reassembled final video will look choppy due to broken scene change relations.

So after encoding each chunk you will have to carefully save relevant parts of encoder state and reuse it for the next chunk. Seems doable, but tricky to get right?
I’ve been using Nhost for the past year and both the software and founders have been really great. There’s a vibrant discord community, an active group of contributors, and it all makes for a very productive stack.

Highly recommended!
It is a little frivolous, but "signaldctl" is the most horridly awkward naming for the command line tool. The letters "ctl" are in a terrible location on the keyboard for smooth typing, but ignoring that, it doesn't even fit in typical naming where "signald" would have a "signalctl" binary to control it

Of course you can't really use "signal" because that's the name of the official product, but it still feels like there are better alternatives than the handful that was chosen

(Apologies for pulling a HN classic and being the only comment on the thread complaining about something dumb. At least it wasn't a comment on the web page type face!)
Oligarchs gonna oligarch.

Gates hasn't changed his spots since 1975.
How strongly typed is C? Are non-trivial programs in C a no-go? Would a LISP program more than a couple of pages long be forbidden?
From cmcaine on lobste.rs:

This may occur because collisions modify a ball’s position but not its velocity. Balls are also attracted to each other more the further away they are from each other, which is wacky.

Here’s the most relevant code:

https://github.com/johnBuffer/NoCol/blob/d60bc4029186dac888a...

Dunno why that makes it converge, but those are some differences from normal elastic collision.
Usually people say CSPRNG if its secure for crypto applications. Just saying PRNG kind of implies its not cryptographically secure
The tail call design gives more control over register allocation, and gets the compiler to generate better code by putting fast paths and slow paths in separate functions. I tried to explain this in the article and in my link upthread.
My biggest question: who the hell plays KSP without the orbit map interface?
Contracts stipulate that material that has been paid for remains available even after the subscription is cancelled, that's usual for publishers. There's also agreements that material is transferred to archive sites if a publisher goes out of business and finds no buyer.

I wouldn't know about ToU violations, universities routinely get banned from arXiv for weeks because CS departments hand out assignments to write a webcrawler - no clue what kind of grovelling is requited there, but it must be well ritualized now.
There are far better ways to handle Externalities than a carbon tax.

Which BTW under most proposed versions of the Carbon tax is nothing more than a political tool, not a tool to properly account for externalities

Governments do not have a track record for being trust worthily enough to be placed in charge of controlling Externalities, it would inevitably be used to usurp power, and liberty from the people, while unjustly enriching their political allies.

This happens every day, in every government. As the saying goes "Government: if you think you have problems wait until you see our solutions."
This is genius and highly worth clicking and reading the thread.
I honestly don't know, but I am wondering how much credit for this (and many other things, like various machinations the Economy) can really be given to any president, or if it isn't the product of long-term, behind-the-curtain developments.
I made a tool that does exactly this [0] wrapped up in a tiny little server! Main reason I did that was because I found myself creating "compose apps", where it was some self-hosted thing that I spent a lot of time managing without version control or in a deterministic manner.

For ingress, nginx-proxy (or traefik or caddy) listens for when a container starts on the network (auto attached by pcompose) but you still have all of the flexibility of docker-compose. Build happens on push if you have that defined in compose, so on and so forth.

Was able to even create some simple "convenience" ssh methods where you can trigger docker-compose commands or tail logs/exec into container directly over ssh. Definitely super crude and not really for production, but works great for apps that I just want to run and forget about.

[0] https://github.com/antoniomika/pcompose
The Art of the OKR – Eleganthack
5 minutes read.

Christina Wodtke with my favorite post about the topic of OKRs, and how to use them effectively in your company. I'd use it as a baseline for everyone to read, so you'll all strive for a similar outcome from this method. I'd put extra focus on reading "What Makes OKRs Work?". I've failed to use OKRs in my weekly rhythm, making it less effective overall - inspirational yet not practical enough to leverage it further.
Take a look at https://diagrams.mingrammer.com/
There’s no fixing operator error.
In the UK at least I don't think that's true.

I saw an article the other day saying they'd given the FFP3 (out N95 equivalent) masks to the nurses in the ICU where patients are on ventilators, but the nurses dealing with the less sick patients just had surgical masks. Unfortunately, the less sick ones were up and about, coughing everywhere, not connected to machines to regulate their breathing and so those coughs are going into the air. Sadly lots of NHS staff have died.
> Filtering against slander seems like reasonably simple

It's not.

> not one that different from what they already.

True, and they're pretty bad at all those other things too.

Unfortunately the societal costs of false-positives and false-negatives are not the same as Google's cost of false-positives and false-negatives.
OK, and?

I find it amusing that in this thread if I make a statement opposing government funding of trains people point out that Airplanes get government funding, and if make a comment opposing government funding of airplanes people point out that trains get government funding

It seems that the 2 groups are completely unable to fathom that a person could simply oppose government funding of both Planes and Trains....

Neither Amtrak nor Air Travel should get ANY tax payer money, for any purpose or reason..
There are toolings that patch C's shortcomings, and there's a reason better typed languages (e.g. Rust) are making strides in C's domain.
Then don't. But publishing aggregate salary information is not that. You're making an excuse to avoid sharing information that would help your employees.

You might, for example, try asking them, and seeing how many feel that their privacy would be violated by publishing aggregate anonymous salary data. The answer will be 0.

Keep in mind if you have a reasonable belief that all but one of your employees will collaborate to unmask another's salary, they have ample support to form a union and require internal transparency in the contract. Your threat model is illegitimate.
By the way, there is a "demo ride" available with the app download if you want to try the app but don't want to record your own ride.
I'm very confused by what you're saying. It seems you're saying that knowing the state of stream 1 teaches me some information about stream 2, specifically that it's guaranteed not to overlap outputs to the first stream. Why is that desirable?
Some people start fires just to watch them burn.
It's a bit of a weird case for Haskell. Because of laziness, you don't always want tail recursion (in fact sometimes you definitely don't want the tail recursive version). The classic example of this is foldl vs foldr.

-- Tail-recursive so must be good right?
-- That way lies thunk accumulation and *non-constant*
-- additional memory usage for a lot of functions f
foldl f acc [] = acc
foldl f acc (x:xs) = foldl f (f acc x) xs

-- In contrast, this definition often results in constant
-- additional space usage despite the non-tail call.
foldr f acc [] = acc
foldr f acc (x:xs) = f x (foldr f acc xs)

Tail recursion is an unalloyed good only for strict languages.

Although I'm not sure why you put mutual in parentheses and maybe you meant to address laziness with that?
You might be interested in the tv show https://en.m.wikipedia.org/wiki/Masters_of_Sex
Do you mean that the purpose of std::optional is to be faster than a pointer (which could represent absence as nullptr)? I would have thought it would be ML-style safety, but it seems like you're right. I guess a tagged union (or std::pair<T, bool>) would be faster—if the std::pair is a local variable, fields of the wrapped object will be at fixed offsets from your stack pointer or frame pointer, so you save yourself an indexed register load the first time you access a field of the object. That seems to have been the intended use.

Why did they think this was a good idea?
Over 10B emojis are sent daily
Why does this need to be a daemon? What does this offer that other signal clients do not?
signald author here, open to suggestions on that name. As you've noticed, I try to avoid using the word "signal". I do agree that the current name is pretty awkward.

edit: the name for signaldctl. I'm not looking to rename signald at this time
I'm a bit puzzled here, after seeing the word "screen-space". I'm no game dev, but I know that there's tessellation shader for this very purpose. We can let the shader churn out more points on-demand in a separate step in the rendering pipeline. I think doing this in "screen-space" is a bit unnatural. (Just nitpicking.)
The term 'retention margin' doesn't seem like a commonly-used term (according to a quick Google search, anyway).

The definition seems identical to the commonly-used term 'contribution margin', i.e. revenue less variable costs.
https://en.wikipedia.org/wiki/Contribution_margin
Bank accounts don’t grow in value at the rate Bitcoin grows.
Is there a safe subset of C++ defined somewhere? Can I turn off some of these ridiculous "features"? As we add so much to the language, the number of footguns increases quadratically.
What about people that do not believe the government should build trains, nor roads, nor anything else?
I worked on a 9000/319 that drove an HP 64000 Logic Development System with pluggable in-circuit emulator boards. We were working on the 6809 at the time and the ICE was an amazing tool for the time. That Sony monitor mentioned in the article was a thing of beauty for the time.
It does not make business sense. If i can not try out with a demo version why would i buy it.
You now know 1 way of not to do it.
Yes, they did say they want to find its limits even if that means crashing it. I don't think they'll just turn it off still in working order and abandon it. They didn't do that with any of the rovers, after-all.
It's not whether people could start judging every satoshi differently, it is whether they do.

Generally, to a percentage very close to 100%, people are not doing that.
Strange Forgotten Space Station Concepts That Never Flew (2012)
From outside the US you look like a weird mix of forward thinking, liberal (e.g cannabis legalisation) and a right wing theocracy ( e.g abortion). Although the US doesn't have a state religion a large and vocal part of your population are Christians. Atheists, of which the US has plenty, make a very small proportion of your government. So a lot of laws come with religious baggage or at least the debates around them do.

This adds to the idea of your being a religious, predominantly Christian country. However your Christians talk the talk but don't walk the walk.

The richest nation on earth, putting people into space and all your other achievements are to be admired. But any idea of helping your fellow man is shot down entirely by one party and isn't always fully supported by the other.

I understand the countries foundation was to help yourself, but once you reach a point where you are rich enough to fix it, then you fix it.

I was enamoured with the US and the military as a child and imagined moving to the US and joining the military but as I grew up and the reality collided with what was essentially propaganda I was left sorely disappointed that you had squandered the opportunity to really be a world leader.
cmake shudder

No thanks. I am one whom cmake has tried. When it works, it works well. When it doesn't, it is utterly impenetrable.

I actively avoid any GitHub projects that use cmake because it's just normally too painful to use, and it brings on an episode of PTS. Just writing this is causing my blood pressure to rise.
> It’s really simple

Have you ever written a stateless transcoder like this? Of course it can be done, but saying “you could simply encode those chunks” and “It’s really simple” is pretty misleading especially if you are changing frame rates or sample rates or audio codecs during the encoding process.

That said, if there is someone that could do this at scale it would be Facebook.

Also this would mess up ABR streaming at least for the first people to watch the video which would not really guarantee “the perfect encoding always”.
Yes it really is! From October 2019:

https://github.com/Raku/problem-solving/pull/89#pullrequestr...
Why not apply this in the opposite direction? Google is allowingforvad things, and therefore shouldn't exist.

The potential for abuse is bad, but only when it's stopping this nonsense? To me, you're endorsing the bad behaviour
This post does not, at all, try to steal Google's thunder after revealing Google Argos.
I think the presidents dont matter, the decisions are really being made by bureaucrats in the government agencies and lobbyist who influence them.
It seems we are increasingly leaving the scientific method out of science.

The scientific method is the most powerful tool we have to determine causation. It's also very strict, which means that it's limited in applicability.

It's strict because you have to intervene in the real world after forming a hypothesis about what change might be caused by that intervention. The experiment should be constructed to try to refute the hypothesis.

Increasingly, what I'm seeing is observational "science", where you keep forming hypothesis until you find one that fits the data you have.

Another thing I see, which this MIT study appears to be, is where the scientists completely make up a fictional world (called a model), and intervene in that fictional world.

(Note: models are more likely to work when they aren't completely made up by scientists. For instance, mouse models are very important to life sciences. But the reason they are useful is because scientists can't make up a complete fiction to support their preferred conclusion -- they still have to face the realities of mammals in all their complexity.)

I wish we could have a different word for this, so that people can't use the vaneer of science to add authority to something as though it were a law of physics.
What if you were streaming 1080 VP9 and then your player decides to downgrade to 720 because your connection became slower? At that point the missing 720 would make you unable to watch the video.
Just hire the Chinese and they'll get it done. on time and under budget. The US is ideal for high speed rail- long distances - plenty of land - almost all the objections are mostly bogus, political, etc,. Nothing significant ever was achieved without giving up something. https://youtu.be/aXo7wi488Eo
Twitter-Bugs: Public bug repository for Twitter
I used to write a lot of C++ (like 14 years ago at this point). I haven't really paid any attention to it in that time. I am looking at the code examples and what I see is a language trying to adopt features from Java, Rust and others - but where in those other respective languages there's like just 1 thing going on in a single line of code. In these C++ examples you have the namespacing stuff, templates/generics, implicit operators and constructor calls. It just feels like exactly what you would expect of a language like C++ to try to adopt the native features of these other languages. Which isn't a bad thing, but it just screams to me like wouldn't it just be easier to switch languages?

That all being said, I do get the "rush" C/C++ programmers feel when they write multi-threaded socket servers. You step back and go whoa - that worked?
This wasn't a criticism of the US. Look around the world at all the despotic regimes, or places with Dubai where you have a large population of migrant workers who have their passports seized.

The first basic tenet is throwing up barriers or blocking departure. The US doesn't really worry about people leaving - way more people want to enter then leave.

Seasteading has a very implicit hazard here though: there's an in-built ability to make leaving difficult (same with the mega-yachts and the like - when you happen to very rarely be in your employees home countries, you've created a rather effective barrier to them being able to depart).
This is a tool to build Signal clients with. It handles the Signal-specific stuff, clients can communicate with via a unix socket.
No, the purpose wasn't to be faster than a pointer. You can't even necessarily use a pointer where you can use std::optional; the value of std::optional is embedded in itself.

One purpose would be type safety (and things revolving around that). Another would be to let you pass around an optional object just as easily as the underlying object.

As to whether it's a good idea to have it at all, I'm not particularly fond of it personally either. I don't have specific issues with its dereferencing safety though.

Don't confuse type safety with memory safety though. Type safety != memory safety != thread safety != ...
Presumably the folks that make airplanes instead of rockets?
Not that I particularly think there's anything wrong with signaldctl, but for other apps that employ a daemon/control model, I've always found <service_name>d and <service_name>-cli combo to be good naming scheme.

So signald and signal-cli in this case.
Looks extremely interesting! I originally it mean information theory but this is more about the spread of knowledge(?). I wish there was a ePub of this!
Space rendering is full of interesting problems like this. Another one is that single precision floating point doesn't have enough precision to represent both planet scale and human scale in the same coordinate system (let alone solar system scale or galaxy scale), yet GPUs don't support double precision well. So you have to make sure that you do calculations needing high precision on the CPU in double precision and only send the GPU coordinates it can handle, or your 3D models will get crunched by precision errors.

Another one is that a planet sphere renderer will often tesselate the sphere into quads in lat-lon space. Of course the quads are split into two triangles for rendering. However, at the poles, one of the triangles has zero area because two of its vertices are the same, the pole. Then when you texture map that "quad" with a square texture, half of the texture is not shown, and you get visible seams (Google Earth suffers from this artifact, or at least it did in the past). What's less obvious is that this problem is present to a lesser extent in every quad on the sphere, because the triangle with the horizontal edge nearer the pole is smaller than the other, so half of the texture is stretched and half is shrunk. The fix is to use homogeneous texture coordinates.
Student Laptops 2021
Totally, and probably from there it would be easier to find a 60-70k job. That's why I think assuming people from "poor countries" will be necessarily cheaper is a huge misconception
No Code I feel like could be also viewed as a compromise for selling dev tools to mass market. You can sell a "cheap complete*" solution instead for the overhead of also dealing with customer issues / inevitably helping train a dedicated person for them to maintain their app. Then you have customers who need dev tool support as intended
well "signal-cli" is already in use by https://github.com/AsamK/signal-cli (which signald is a fork of)
boost::optional was designed to mimic pointers. Before boost::optional, some programmers would return a T* as a caveman's optional<T>. Boost wanted to preserve the syntax of *, ->, and operator bool. Dereferencing a null ptr is UB, so operator* for optional was the same.

I agree it would be nice if you could get an assert in operator*. But you can already fire up a debugger or sanitize build and get a nice error message anyway, so it's nbd.
Ziggurat Golang – Stream Processing made easy
It depends on how you're aggregating, of course. If I publish an indicative range, I agree that I'm not divulging any private information. (That also happens to be exactly what I'm personally fighting HR/comp in order to be able to do. I want my employees to have this information, but I want that less than I want to protect the privacy of employees who have not chosen to share their information on their own.)

If I publish a names-redacted list of everyone's salary and track/level/job code, or a mean & std-deviation per track/level/job code, I am almost certain to divulge private information of at least one employee. I have spoken with employees on this topic. Publishing their data, even inadvertently (as in the Netflix contest example), does not have anywhere near 100% support.
I think photography is a bit different. I had a (Phillips?) breadboard toy back in the mid 60s which gave you some transistors, capacitors, resistors and such, and allowed you to build simple things like amplifiers, moisture detectors, and so on. But it never really taught me anything about electronics.

Whereas when I got my hands on a camera, I immediately got a pretty good idea about optics, and when I started developing my own photos I had a pretty good understanding of the chemistry involved.

But perhaps that's just me - I'm more a chemistry person. After my O-level results came out (1969) my physics teacher came up to me and said "I cannot believe you have passed!", whereas my chemistry teacher said "I was expecting a better result than that!" Make of that what you will.
> Achieving buoyancy would require a gigantic lifting body

That's why the first manned mission should include a politician, so they could fill the thing with election promises...

Seriously though, it got me thinking about Mytbuster's lead balloon experiment. Though I guess part of the problem is having to survive the dust storms, and possibly small meteorites?
Yes, without the attribute the only option is to use macros to generate different code in debug mode, which is possible but far from ideal.
I wanted to watch it, but I never got around to it. Thanks for the reminder. I was watching sex sent me to the er which was pretty cool, it reminded me of dark matters. At the same time it turned my hulu recommendations to trash. Say la vie.

https://en.m.wikipedia.org/wiki/Dark_Matters:_Twisted_But_Tr...
Sorry for "invading" an unrelated reply, but thanks for your work! I discovered signald an hour ago and I'm really happy about it.

I'm pretty sure that's the way for a better desktop experience with Signal, but I still need to test a few clients. Even before that, with signaldctl and the Python libs alone I already have a way of sending notifications, etc.
I actually had beef with Valve for doing something tangentially related.

A while back they updated their service provider agreement to require users of steam agree to arbitration rather than court action.

The problem is that a user could not access their purchased games even in an offline manner until they agreed to the new terms. I was presented with the new terms, and clicked "I disagree" and Steam immediately exited.

I even wrote Gabe about this because I found it fundamentally anti-American.

I'm no lawyer, but I could see that forcing someone to agree to terms by withholding "property" they have legally purchased would not be enforceable.