skysight-inc/HackerNews huggingface dataset:
>> If you assume one per ms then timeflake and UUIDv1 both have a 0% chance of collision as they encode the timestamp.

They can be generated anywhere at any time. It two machines are generating even 1 per hour, they will have collisions if their clocks are synchronized. The random bits are important.
So it all comes down to less mistakes made with:

order:"order-550e8400-e29b-11d4-a716-446655440000"

vs

order:"550e8400-e29b-11d4-a716-446655440000"

Either one will error in a sane system that checks to make sure the UUID is actually in the db either one can have mishandling sending the wrong id, you just have some extra redundant bytes double confirming the key type while the actual ID will still have to verified.

The nice thing about UUID over say ints is there should be no overlap, so it should be easy to confirm an error like that, double encoding the key from external apis, sure I guess a very slight reduction in time taken to verify an error, for logs aren't you logging the json with the key already?

Of course this whole discussion was about an time order UUID's which are mostly useful just for DB's, if we are just talking about how ID's are formatted for external use in the app, well geez I thought that was what query strings and json was for but ok.
Yes, but isn't it clever and beautiful that he could do all that without resorting to calculus?

I'm thinking of making an attempt at reading it precisely to try to appreciate his geometric reasoning.

Also in my time in highschool they used a physics text book which for some reason didn't use calculus at all, and as I remember they had to use a few neat tricks to present the topics in that manner without much dilution.
what else are they going to do? encrypt the files and store the key... somewhere? interact with local keyrings which aren't compatible across all platforms?
I just got a Renault Zoe 2020 last December and it's been great. Commuting to work and going to the shops is just as comfortable as with a combustion engine. No gas station visits and even with the high cost of electricity in Germany (0,3€/kWh) it's still worth it. Only when driving longer distances (>250km) you need to plan ahead for charging and trips take longer (1-3 hours).
The Anti-Money Laundering Fraud
What have been the most effective lifestyle changes you've made? And how long did it take you before noticing their effects? Hope they continue working for you!
It's not a literal dial--it's an analogy and yes, it's oversimplified (the complexity of the implementation has no bearing on this debate), and the documentary is merely a touchstone. Lots and lots has been written about the subject with many first-hand accounts. Moreover, as discussed elsewhere, these networks have so much power that they can unilaterally influence democratic elections--at least that's certainly the necessary implication if you believe that Russia was able to indirectly influence these curation algorithms to hack the 2016 election (if Russia could manipulate these algorithms indirectly, then how much more power must Jack and Mark have given their direct access?).

> Regulating social media is a fool's errand imo, it's a lose-lose. Either you let ideas flow which includes bad actors/ideas to propagate or you now create gatekeepers and censors with ever moving goalposts. I'm not against more regulation but do you really think the United States Congress is capable of passing legislation to effectively tow that line? Doubtful.

This is just a generic argument against free speech. The obvious problem is that there's no way to ensure that our censors are going to be good actors, and in particular we know with some degree of certainty that Twitter, Facebook, etc are not. Congress (or whomever) doesn't have to toe that line at all--regulating these businesses out of existence is strictly a better option than allowing them to continue poisoning our society. No doubt they deliver some value, but (1) much of that value could be realized through other means (people can still organize on web fora like they did in the brief years prior to social media proper) and (2) they certainly don't deliver enough value to justify the rapid erosion of our social and political fabric. So the worst thing we can do is continue on with the status quo.

That said, I think it's entirely reasonable that we could be more surgical about regulation. There's no reason we can't keep some of the benefits of social media while doing away with the immense costs. For one, we can require social media companies to speak an open protocol such that anyone can compete--not just ad-based businesses with established large networks. We could require their curation algorithms to be made transparent. We could require that they behave as dumb pipes, but they may afford their users mechanisms to curate their own feeds. I'm sure there are many other solutions as well, but again, we oughtn't defer action until we find the best option because we know the status quo is strictly the worst option.
Background execution restrictions mean you would not be able to be online except when the app was in the foreground for the most part on iOS; on Android, you have inconsistent access to cpu and network in the background.

You really need push notifications, but AFAIK, push tokens are tied to the app developer; you can't give an random server a token from your app, because they won't be able to push to you.
This is being discussed at length in another post, here: https://news.ycombinator.com/item?id=25869199
Great. Now provide the same analysis for Twitter, Facebook, iMessage, etc. The livestreams I watched which were streamed from within the WhiteHouse during the event were all on Periscope (Twitter).

I have no doubt that some Parler users went into the White House. I haven't seen any evidence that Parler had no moderation. I haven't seen any evidence that Parler was any different than Facebook or Twitter with regard to users planning illegal/violent acts, making violent comments, etc.
Will be watching for the success of Rivian and Cybertruck to see if the rural market can accept electric.. but can't think of any good reason why not, other than pride and prejudice. (FD, I grew up in the country).
Won't the same regulations then apply to whatever search engine fills the gap though?
Did you get some direct insight on Palantir's marketing strategy? Did they directly plan to construct a shadowy reputation or was it more an accident they capitalized on? Your post confirms some suspicions about the company and its media coverage I entertained but had no way of verifying.
why couldn't we solve that by having a separate cache for bookmarks sandboxed away from web content processes?
True, but exploiting cgit would be significantly more difficult than a SQL injection. I could only find a handful of CVEs for cgit, and the last one was in 2018 (v 1.2.1)[1]. It involved reading files outside the git tree. That said, it's not the common software to see publicly, so probably hasn't been thoroughly vetted. But I think the point still stands that installing from source isn't going to be a horrible security risk.

Similarly though -- It is a mature project without a lot of new features. I don't think there are killer features in master that would make me want to install from source over `apt install cgit`

[1] https://www.cvedetails.com/vulnerability-list/vendor_id-1577...
Honestly I don't know how that works. My understanding is that you cannot move existing ASL code under a different terms other than ASL unless you are the copyright holder. All modifications you done can be subject to whatever terms you liked. This seems to match what they said http://www.apache.org/foundation/license-faq.html#Distribute...

I think this important bit is sublicense v.s. relicense, where in sublicense case, you have to retain the original terms carried for the original code.

Now, Elastic relicensed the whole software stack under SSDL. So to integrate any parts AWS done, they need to license Elasticsearch back to some mixture of SSDL and ASL, which would be weird.
Im a bit confused - could you disambiguate here.

I checked with a couple of people and they read the above to mean that any peering data transfer costs the SAME as if you were transferring data across availability zones. This is not free.

Inter region transfer is a different tier
RIP.

The curse of Babylon 5 strikes again...

Not that there really is a curse, but there is an interessting statistical anomaly that an unusual high amount of people involved with bablyon 5 die early. More than half of the maincast has now died (all in the age 40-65). Even IMDB has a page for this: https://www.imdb.com/list/ls023048945/

Interessting part is that the production of bablyon 5 already met some unlucky envents at it's production. And the series itself had the curse of the babylon-project as part of it's lore. Probably from this the meme about a curse leaped over to real world.
I completely disagree. If the Christchurch terrorist shares a manifesto, and I want to read it, I don't need holier-than-thou types "protecting" me from it. The whole point of a democracy is the optimistic belief that in general most people can be trusted to make decisions and behave decently in society. If anything other apps and services have a free speech problem.
In our production system, CircleCI has Github and AWS credentials. When CI is done building and testing the Docker image, it pushes it to a private container registry and updates the terraform infrastructure repo with the new container hash ID (either through a tfvar file or through env variables). Then another CircleCI job runs `terragrunt apply` in that repo to deploy to staging (prod/stage/dev are separate folders, automated jobs only update staging). Deploying from staging to prod is manual, by copying the container hash from staging to prod and pushing to master.
I personally feel AWS should have collaborated with Elastic long before this. AWS is likely making a ton on the elasticsearch offering.

What’s interesting is a few people working at AWS has decided to be a bully and then now trying to kill a company. There is zero goodwill to the community here. Both parties working off their egos.

I hope they can keep it up and make their solution a MariaDB and not a subpar version of ES.
Thanks for this summary.

I am excited about the DMA and PIOs having used BeagleBoard PRUs, but what about the quality of the ADCs/DACs?

Isn't all the talk of hard real-time applications and so on somewhat moot if those aren't high quality enough?

(afraid I haven't had time to read the datasheet yet!)
Thank you, this is a feedback we get a lot here. Definitely something we will update!
This is great. As an EV owner for almost 2 years now let me tell you you'll love the speed and savings

See my energy usage and cost spreadsheet for details. Scroll to the right for the charts. https://docs.google.com/spreadsheets/d/16JLSzoWA0154ZUU3ahJ_...
love everything coming out of datto and this is no exception
I'm actually having this discussion with a client at this very moment. Client is expecting that check-ins to baseline happens multiple times per day. On our distributed team with junior and senior people in different locations the ability to do async code reviews is critical to maintaining quality. Automated linting, unit testing, and other CD-friendly tools can't teach and enforce code quality the way we need with our junior developers.
You have two separate issues here:
1) Get better at playing uke (develop technique)
2) Have fun (develop passion)

For number one, figure out chords and scales. These are key shortcuts to harmony and melody, to soulful accompaniment and wicked solos. Practice different strumming patterns to achieve different rhythms.

For the second, look up uke tabs to songs you think are fun. Find someone who wants to sing or can back you up on trombone and work on learning songs together. When you can play songs, alone or with others, start adding your own twists to them - slow down during the third chorus (tempo), crescendo in the B section (dynamics), try using your uke for percussion in between strums (timbre). Remember whenever you play, that each performance is an act of creation in and of itself.

Lastly, record yourself, and listen, and work on the things you thought sucked.
What is really interesting about this article is the compartmentalization of function and that this analyst was able to rise above siloization to prevent a killing based on mistaken identity.

That's a critically important role and I think an apt description of knowledge work today. And it has implications for machine learning and predictive analytics.

Here the wrong guy was targeted based on the purple hat which was a sensor processing error based on early light levels.

While integrating all of this data is important and building machine learning models that can pick up specific markers is important, it is clear that you need some type of overall exception processing framework to confirm in this case positive id.

We have a similar problem already with law enforcement no knock warrants.
When you look through the themes on sites like https://www.gnome-look.org/browse/cat/135/ord/rating/, sort by rating and then skip the first few result pages, most of those themes don't look that "great". I don't understand how that's offending though, it's a normal quality distribution (also see https://en.wikipedia.org/wiki/Sturgeon%27s_law)
This tool does not handle that problem. It is not meant to. It's for simultaneously available replicas. And this is the rare moment where thinking about replication vs synchronization as different is worthwhile.

You usually replicate for failure tolerance and performance (this project only aims for the former).
Lets reverse that - why write in a language without a GC when you can write in a language with a GC? Rust's advantages shine when it's time to go low-level, but being without a GC is a disadvantage otherwise.

This application isn't merely 'performance-sensitive', it's a very particular form of performance - performance over network (I assume that's the main bottleneck here). Better write in a ecosystem all-but-officially optimized for networked applications rather than lose developer productivity dealing with low-level stuff.
That can be painful for sure. Litestream will do a snapshot on startup if it detects that it can't pick up from where it left off in the WAL. That can happen if Litestream is shut down and another process perform a checkpoint. But generally a restart will just use the existing snapshot & continue with the WAL replication.
A 10-15 minute deployment process sounds very good, if you take the Accelerate research as a baseline.
Ah I think we're talking about subtly different things. You can definitely use generic goodness (`Generic` in Haskell and shapeless in Scala) to create generic conversions between different types, but the result of each conversion is not itself a user-friendly type.

In the case of shapeless the general pattern is to have a starting type, use something like LabelledGeneric, do a ton of HList transformations, and then transform back. But while you're living in HList land those are in fact HLists and not, say, case classes.

Indeed, you must always write out the final type yourself (e.g. create a new case class). Even if you're using only HLists and completely eschewing case classes (which is both ergonomically painful but also has a pretty large performance hit), shapeless's functions that generate new HLists (as opposed to extracting an element) almost always require you to annotate their use sites IIRC, which is effectively the same thing as needing to write out the whole case class.

To put it another way, with shapeless in Scala 2 you could prove that a certain type was the intersection of two other types and create the generic transformation to do so. But this isn't true intersection types because you still need to write your starting types and your final type. That is in Scala 3 you `T0 & T1` is a type in and of itself; you don't need to rewrite all the fields in common between T0 and T1 and assign it to a new type (and then e.g. use shapeless to prove the relationship between your types).

In the same way what you've demonstrated here aren't mapped types, conditional types, etc., but rather a way of using shapeless to prove that a certain type is the mapped type/conditional type etc. of another type. The former is what I meant when I said "letting me generate any combination of fields wrapped in any combination of types from a single type definition."

Shapeless doesn't get rid of the problem that "Higher-Kinded Datatypes" (HKD) is trying to solve, since you still have to write all the duplicate types by hand for any reusable function.

Moreover, apart from the tedium of rewriting all these types, the bigger issue is that TS's type system lets you stay entirely at the value level, whereas shapeless requires things to become type level computations, effectively bifurcating your code into "shapeless transformations" and "ordinary functions acting on e.g. case classes."

For example, the equivalent of your library in TS would have each step just be a normal function like any other rather than a special type level computation. It can be applied to a normal object directly and can be tested and reused just like any other function.

That match types page on Scala 3 I think undersells the differences. The real power of a lot of TS's type level computations is how they interact with each other and typeof (see my other example in this thread of lightweight dependent types).

All that being said, I really like the concept behind your library and would love to see it updated for Scala 3!
Show HN: List of Products that VCs want for their job
Oof I still remember the update that disabled re-sizing of the text box and people were up in arms about it. And there was a fork of Pidgin over it.
The repository list linked from the Pidgin website seems to be pretty active: https://keep.imfreedom.org/pidgin/pidgin/
More purpose build for this type of work and actively promoting doing it among governments, actively hampering the efforts to get to the point of vote to stop them from doing it or implementing alternative approaches.
Off subject but on Wikipedia Grothendieck says Riemann was his only main or most admired mathematician. Do their fields match up for this to make sense?
I think it is partially genetic, but also the type of environment that Grothendieck was raised in. He was raised in utmost uncertainty during WW2 (he was half-jewish), and i think he gravitated towards the certainty in mathematics. He was also mostly self taught early on, so he definitely had a different way of looking at things than those who came from regular academic backgrounds like serre. I like to think of natural brain power as hardware (genetics) and the set of beliefs, interests, fundamental ways of thinking about the world as software acquired through experience. Even the best hardware can't run shitty algorithms. In any creative fields, there are an extraordinary amount of brute force paths, it takes a special type of touch to find the correct path, and this seems to be very much a function of the life experiences a person had and this is really what differentiates special creative people like einstein or grothendieck from people who are just as intelligent but haven't done nearly as much.
Ah! the glorious days of integrated chat clients.

I had friends of MSN Messenger, Yahoo Messenger, GTalk and for a very limited time ICQ (Actually it was the same guys on all networks :) ). There weren't any network effort, people were willing to try out different IMs for their uniqueness.

Lots of companies were trying to produce integrated chat clients - Pidgin, Meebo, Trillian, Digsby and a whole lot of guys on Mobile targeting Symbian OS (could recollect only Nimbuzz though.) I loved Digsby because it acted as a POP client too.

I even worked for a company that forked Ignite Realtime Spark and tried adding Gtalk and MSN support. When I was freelancing one guy asked me to clone meebo for $500 .. and I accepted :facepalm.
You should read “ IBM and the Holocaust: The Strategic Alliance between Nazi Germany and America's Most Powerful Corporation.” It’s not either/or, it’s both/and.

This fucking matters. Letting corporations off the hook because they were just following orders enables genocide.
In the US there was a "cash for clunkers" program about 10-15 years ago that tried to clear out ineficient older model cars. It was fairly successful and stimulated purchases of newer cars. The downside was that some perfectly fine cars were scrapped.

I suspect that gas stations will start swapping pumps for chargers, and that will motivate people to switch too.

By the time this all happens though we will have more car sharing programs and maybe autonomous vehicles, so the ownership paradigm will be different in 2030 compared to now. Why buy a car that sits idle for 90% of the day?
Iran's supreme leader tweets attack threat to golfing Trump
This will become relevant to me when I can buy a second hand, fully-electric vehicle for $5000-7500.
$10,000 buys a pretty good used ICE vehicle. How many decent electric vehicles are selling used for that price?

The lower ongoing costs of electric can justify a higher upfront price, but then you are paying more up front.
> In Telegram, E2E encryption is not on by default in chats (it is on by default in calls), and is only available for one-to-one chats (the so-called Secret Chats) and calls (including video-calls). Groups, independently of their size, are not E2E encrypted.

Correct me if I'm wrong, but isn't WhatsApp E2E encrypted by default for a while now?

> The fact that Telegram does not publish server-side code while Signal does has no impact in the security assessment of these services... Still, from a security standpoint either of them is a better choice than WhatsApp

So if WhatsApp published the client code it would be at least as secure as Telegram, maybe better because it has E2E encryption enabled by default?
> The people who buy new obviously tend to be well-off, and are often older.

One might think this to be the case, but the breakdown of new car buyers shows about the same % of buyers make <50k as those who make >100k (roughly 1/3rd in each cohort, but varies based on vehicle type). Sadly, many of those buyers will take out out a 72-84mo loan that they probably can't afford in order to pay for that new car.
Attacking a democracy, which represents the will if the people, is not morally equivalent to attacking a dictatorship. Are you drunk or something?
At a certain point some services didn't work anymore, or not fully feature full.

So yeah, ditched it
I wonder if you could just compile it to webassembly as a progressive web app at this point...
Content creators in general and right now podcasters, videocasters, media, podcasting studio and others who want to pre-record content and distribute later in best quality possible.

We found out that the quality of content is not only nicer to watch or listen to, but it actually makes the content easier to consume and digest.
The Putin's Palace ( $1.4B) – video with ~60M views in 3 days
A Palace for Putin. The Story of the Biggest Bribe - Alexei Navalny release detailed investigation. It includes Drone footage and 3D reproduction inside the palace https://youtu.be/ipAnwilMncI?t=3245 (English subtitles available)

In 1881, Lev Tolstoy described Moscow thus in a diary entry: “Stench, stones, luxury, poverty. Dissipation. A collection of robbers who have plundered the people and conscripted soldiers and judges to guard their orgies while they feast.”

https://en.wikipedia.org/wiki/Putin%27s_Palace
Using it since a decade, I faced bugs in the PGP encryption add on, they need to work on a lot of things to make it secure. This is my go-to Jabber client.
Hmmm, kind of misleading name. This isn't "git" news. It's miscellaneous software projects.

If you want actual git news, checkout https://git.github.io/rev_news/
The day I learned what data science is