skysight-inc/HackerNews huggingface dataset:
I think a lot of the appeal of crypto/smart contracts is that they are final with little to no recourse, humans can't intervene and exploit failure modes which individuals using the so-called contracts can't defend against.

Corporations and wealthy individuals with influence in the writing of this legal system, with massive amounts of financial resources, with negligible moral agency, and with limited criminal liability find very different utility in the ability to use the legal system to roll back contracts, to enforce them, or to ignore them.

Those who find themselves on the other side of this power disparity would often prefer to risk a potentially buggy but inviolate contract than one which they expect to be abused against them.
This is awesome! I’ve considered building something nearly identical over the years, as I’ve definitely used VTT files to aid in searching for content to edit, but never did because getting all the FFmpeg stuff to work made my head hurt. I’m so glad someone else has done the hard work for me and that it’s been documented so well!

Love this.
Please explain why. I thought it was tedious, and I don't understand why it's on the front page. So please enlighten me so I may enjoy as well. Because I don't get it at all.
Editing Videos by Editing Text
One approach that some supervisors take is to encourage their students to submit a paper (or poster, demo, etc.) each term (or a few times a year) to an appropriate conference or journal.

Even if the paper isn't accepted, you get the experience of conducting adequate background research and literature surveys, writing your own work up in a clear and coherent manner, and receiving feedback, some of which may be valuable. You also get used to rejection (and sometimes very harsh and dismissive criticism) as something that happens but isn't the end of the world. Eventually you get published, which in some sense proves the value of your work because it has been peer reviewed and identified as something worth publishing (and has arguably met the often nebulous "novelty" requirement as well.)

Sometimes innovative work just gets rejected for publication because it goes against the status quo, and that's perhaps another good lesson to learn (as well as how to get around such bias if you need to.)
I'm not extrapolating on the premise adding my own commentary. The parent commenter asserts an axiom (that we all purported agree with) and then links an observation to said axiom. I'm merely stating that the observation is not part of said axiom.
I would argue that this wasn't really a code flaw. They made a synthetic asset that calculated its price in a dumb way. That happens plenty often without code, and gets exploited by savvy buyers without code.
First, you are quibbling over 3%. Even on the low end before COVID, we're still talking 47% of people.

Second, to my knowledge, those statistics relate to filing and don't include people who may pay X in taxes, but receive X+Y back in other benefits. If you pay $2000 in taxes, but receive $10,000 in benefits, then you are paying net -$8000 into the system.
There was a wonderful summary of what smart contracts are.

https://twitter.com/qrs/status/1395784294451265536

> Smart contracts should be considered self-funded bug-bounty platforms.
Intelligence is one of the most important aspects.

Through also we had been at a point where a lot of trope movements are always under watch by satellites and now supplemented by various kinds of drones (some call it the unblinking eye) before.

We also have a lot of ways to take advantage of it (long range artillery, big drones, Javelins, small suicide drones, etc.).

What changed is not the general capabilities we have nothing I listed (except maybe the small suicide drones) is new.

What is new is how we can and in case of Ukrain do combine this weaponry and information systems.

So I don't thing any of the tech involved is the defining factor, it's the combination of them in the right strategy.
Olympiad Level Counting
Guessing passwords? You don't even have to try that hard. Have you seen the list of WordPress CVEs?

Here is one just from January of this year,

https://www.debian.org/security/2022/dsa-5039

"Several vulnerabilities were discovered in Wordpress, a web blogging tool. They allowed remote attackers to perform SQL injection, run unchecked SQL queries, bypass hardening, or perform Cross-Site Scripting (XSS) attacks."
They linked to various studies that they reference in the video. This is the one referred to in the title: https://www.pnas.org/doi/10.1073/pnas.2101084119
I'm not sure where you are going with this. Certainly you can have a TA/RA/FA appointment and sometimes a combination of the three. At the university I work at, you should not technically be assigned more than 20 hours a week over those responsibilities. This blanket policy means faculty don't have to account for the potential visa limits of the individual students they work with.

Note though that an RA is research of behalf of a faculty member. Your RA and compensation for it is for assisting with that research. It is not for conducting your own research even if you dovetail it it to a larger research/lab project. In fact, you almost certainly need to pay for the use of the lab and project data via authorship (sometimes first authorship).

I'm not debating that this is fair. Going back to my original post though I'm just calling out that the total compensation package for phd candidates far exceeds their take home pay.
On the whole, I think you’re right. It is important however to recognize that it is not what the relevant demographics see.

Similar to the older and more rural generation in Russia, what they see on all the media they know is cherry picked examples of the craziest most outlandish behavior they are told is ‘the others’, and which shows things that they often had to turn down or wish they could do, but sacrificed to make something that ‘worked’ in their environment.

And because they can’t know something they are not exposed to or shown, and it is a convenient tool by politicians to stoke up anger, resentment, etc. and these areas are quite poor and have lost most of their young people but still have economic and voting power….

On the liberal side, it’s getting more strident as conservatives have been getting some of what they want, and the media and feed algorithms are more than happy to play the same outlandish examples of ‘the others’ and tell them how at risk everything is (which is not false many times!), which just goes to more extremism.

The conservative base has in been more violent in large part I think because they’ll fall back on what traditionally works instead of trying to reason with folks to get what they want. Especially if it sounds terrible.

Personally, I’m a realist and try to look beyond whatever someone claims to want or be able to deliver to the long term track record it has of success, and what the trade offs are. Because there are always trade offs.

Having babies and giving birth sucks for instance, and doing a decent job as a parent requires long term sacrifice, physical and earnings, and a huge amount of time and energy spent towards stuff that is incredibly valuable and necessary in the long term for everyone but is also often incredibly unpleasant in the short term. For instance, Thu and Fri last week I spent mopping up projectile vomit and scrubbing diarrhea out of the carpet because my youngest got sick from daycare.

Having fun instead sounds way better!

A society without children however is dead in a generation or two. And someone has to do the work.

If someone won’t do what you want because it sucks for them, what would the person trying to make it happen do? Especially someone without a lot of resources? Well, they make it so they don’t have a choice to do it, if they can.

Even if that means banning all the fun things you’d otherwise be doing.

The cities don’t understand, because the cities have too many people. The rural areas understand, because everyone who could left for the city.

Repeat for all the major hot button topics.
I'm happy to support Thunderbird; it's great to see a healthy project supported by donations.

It would be pretty great if Firefox development could be supported by direct donations too. Although maintaining a browser is probably orders of magnutide more expensive than Thunderbird.
The Sun, the largest nuclear reaction in the solar system!
This, to me, sounds like a pipe dream. We can become carbon neutral with the tech we have _right now_ whereas I fail to imagine how these necessarily exponential improvements in storage capacity will happen.

The _one_ thing that gives me hope for storage is maaaaybe synthetic fuels. But currently it's unproved.
The trouble with SPIR-V, 2022 edition
Private Equity's Fundraising Flux
The official recommendation to hydrate recommends several drinks that sound refreshing, and also buttermilk.
Coober Pedy
The news is a soap opera for serious people.
What do you mean? They all mention it, usually towards the start, and it's definitely the core idea under discussion.

In this one, I'd point to the title ("Extend your Runway"), and if you really picked at those nits I might fall back to "Default Alive."
On the federal level pharmacies are required to log purchases for some drugs including those containing Pseudoephedrine, they are required to get ID for this. Same for controlled-substance prescriptions.
My only gripe with TAOCP is its usage of MMIX.
Klarna laid off 10% of its workforce through a video message
No they don't.

The decorator pattern is a well known one, where one "decorates" a function by passing it into another function. GP expresses that they would avoid the pattern with these decorators.

The decorator operator is essentially prefix notation of the form `f1 = f2(f1) = @ f2 f1` which is what the GP alluded to, i.e. that f2 is a higher order function since it takes a function and produces another function. In-fact, the @ operator is a higher order function as well since it takes 2 higher order functions.
My gripe is that there is an order through them that is an excellent textbook, but the lexical order through the book is usually very long winded and meanders immensely.

Meandering through topics is good, but he meanders through style as well: sometimes he was in a mathematical mood, sometimes he was feeling more practical. I think it's better to intuit first then formalize, Knuth likes to do these in groups of pairs rather than a pair of groups.

Knuth is not the worst at this, but the lost potential is the greatest in his writing.
I’ll give the full quote:

> The Ethereum address Medjedovic used for the attack included the number “1488”—shorthand for a neo-Nazi slogan—and he’d written the N-word into the code itself, 16 times. A Twitter user called him the “Dylan [sic] Roof of Balancer Pools,” a reference to the mass shooter who killed nine Black people at a church in Charleston, S.C., in 2015. Medjedovic liked the tweet.

Here’s another:

> Medjedovic apparently flirted with extremist ideas: The classmate says he heard him speak favorably about White supremacy and eugenics.

He is clearly a white supremacist, how is this “searching randomness for patterns they want to find”? This is speculation, but it wouldn’t surprise me if this guy generated lots of addresses until he got one that did have 1488 in it.
Whilst the baby boom was clearly a peak, the subsequent generations are much smoother - why would we see such peaks and troughs then?
It's not the battery cell production that is the real issue. Battery cell production is a big issue, but production can be increased in a few years to keep pace with demand if the raw materials are available.

The new aspect is the price signal that Lithium is now sending. This means that lithium will limit the ability to increase battery production and that battery prices are not going to decline as they have in the past. The history of commodities means this situation is more likely to hold for a decade than a year.
@redirect could be handy when the print statements are embedded in someone else's code.

We use a library that is very...chatty (some function calls send a screenful of info/progress to the screen), and I think I'm going to steal this to make it quieter.
That's pretty much what I said, though? I don't know what you're actually disagreeing with? "American food" in the UK is going to be a few stereotypical (in UK context) American dishes adapted for local consumption.
Hugging Face Community Event: Building Demos for SOTA Models
Well, it's a garbage-in / garbage-out kind of thing.

You call my position ridiculous (without even understanding it). As is evident from your next point where you state I'm "defending" crypto. I've made it obvious multiple times that I agree that at least 90% of crypto projects fail and have no (mainstream) utility. The nuance I added is to not forget about that 10% and that regardless of success/failure, crypto in itself has interesting ideas.

Ideas that are fun to reason about as they touch many aspects: economical, philosophical, technical, political.

The only thing I said really is to be intellectually curious and to keep an open mind, and that this should be considered normal in a tech community like HN.

Even for the bad parts of crypto (the 90% speculation) I'd encourage intellectual curiosity, as it's driven by important macro conditions for young people. Why not try to understand that better?

For the above position you call me ridiculous and imply I'm a crypto bro. You continue that you will believe nothing that I will say. In a bad faith discussion like that, don't expect high quality replies. After all, you don't believe anything anyway.
A solution I have used is to creat a logging recordfactory similar to what’s described here: https://stackoverflow.com/questions/59585861/using-logrecord.... There’s also logging adapters as described here: https://docs.python.org/3/howto/logging-cookbook.html. The docs how-to also describes how to add contextual information via a filter. Not knowing your particular setup I can’t say how well any of these will work for you, but these gave me all the tools I needed to selectively attach IDs and other metadata to celery task logs so I can easily grep for the task ID or a few other unique pieces of data and easily see the whole log for a given task or for tasks that all used the same device, etc.
The CA thing is even more hilarious when you find out they were bullshitters with no real technology. Just another PR/Strategy firm pretending to use "AI" etc to drive your requirements.
In short you work with tree (AST) and can compose instead of stiching strings (builder pattern)

Good thing of having common AST in language is libs interoperability.

It’s like normal lanugages had SQL support built-in (except you can’t do that easily as SQL is order dependent)
Welcome to .NET Multi-Platform App UI
The trick is in knowing where to draw the line. We definitely felt we had "some" tracking. We had hundreds of people sign up to our newsletter. We had a couple of users that absolutely raved about the product (or as it turned out later, not about the product specifically, but the support we were providing).

We asked ourselves many times: is this "too slow" or are we just being impatient?
> from what I'm hearing so far: There is little to no value assigned to the _paper_

I was given this advice when I was wavering on whether to finish my Ph.D. In fact, a guy who had finished his Ph.D. told me don't bother, nothing changed from before or after he got it.

Then I went to his wedding and he had the DJ refer to him as "Dr." the entire night in front of his entire family, and by God did they care. They were so proud of him for that title and that degree. After seeing that, I immediately went and applied to defend my dissertation.

And here's the other thing -- even if you work in an industry like CS that has more egalitarian views on credentials like a Ph.D., the whole world is not like that. The actual piece of paper opens up several opportunities not available otherwise:

- Some jobs require a Ph.D. All the experience in the world won't qualify you for that kind of role without the piece of paper.

- You can get jobs as an "expert" easily, where the piece of paper reifies your expertise to your clients (think expert witness or consultant). It's difficult to explain "Yes, I'm at the top of my field except I don't have the same credentials as those other people who also claim they are at the top". The credentials are more convincing to a lot of people.

- It's easier to emigrate to various places. Having a Ph.D. could help you qualify for a O1 visa in the US, and other countries have special carve outs in their immigration codes for Ph.D.s. You don't get any special treatment for being ABD, no matter how much you insist it wasn't worth your time.

etc.

So having completed the Ph.D., it was by far the right choice for me.
With the ledger being public, it could be very simple for courts and police to deal with it given the appropriate legislation.

Mark the result of theft or other illegal transactions, and any subsequent transaction as dirty.

Make any exchange, any vendor, any trader, and any user check with a government database before or immediately after receiving a payment, with penalties prescribed by law.

You immediately limit stolen crypto to the black market.
Appreciate the clarification, thank you khedoros!
I've never had any trouble, but good to know.
Correct, but it misses the point.

Users need to monitor their open CDPs and add collateral if they are at risk. This has been done to protect users from paying the liquidation penalty fee, which is ~ 13%.

Also, do you really need leverage if your ETH's cost basis is 0 to 30c at the time when market price was in the range of $141 to $816 range?

It's all rounding error to you, you can basically print DAI out of thin air.
Market manipulation might work, but since it was all inside of a flash loan that's harder to argue.

I'm skeptical that any fraud happened here.
How does this compare to offerings from Snowflake and Databricks?
Plant Identifier Built into iOS Photos App
Funny, your thinking is wrong. I'm not here to promote crypto. Which you would have known if you had bothered to comprehend my comments.
Anyone interested in this should check out Bisqwit's YouTube channel! It has a few password reverse engineering videos and lots of other excellent game/close-to-metal programming topics.
reminds me of:
https://review.firstround.com/lean-startups-eric-ries-on-how...
They repaid someone else's loan early.
If you comment out the delete[] line, it returns the same output. Does that mean leaking memory is undefined behaviour?
Additionally, there is a huge difference in getting free users and getting paid users.

We tried with a very low-price plan and got a lot of interest & signups. The moment we raised the prices a bit to cover hosting costs, the interest went away.
> We asked ourselves many times: is this "too slow" or are we just being impatient?

Yeah, this is extremely tricky to gauge (and I'm no expert), but when it "clicks" it's hard to miss.
Thomas Schelling and the strategy of nuclear brinkmanship
Smart contracts are badly named lambda functions. They need the same regulation as any other code, the difference being, the regulation can come in the form of more lambda functions.

The judiciary could write the latter any time they got the right technical input. The question really is - what’s worth putting in the effort right now?

And those answers are coming soon.

But we shouldn’t conflate smart contracts with legal contracts in discussions.
> That's a simplification, they didn't make a fortune from the inflation on things being higher than the interest rate, they made it from salary increases.

I don’t really see the distinction. There was an energy angle to it in the 70ties too (the oil crisis). Whenever there is significant price inflation there will be salary inflation too, sooner or later.
I think you just gave a panic attack to a whole generation.
Are there any good resources someone can point to on getting into the code and mechanics of this? The article was a nice read, but probably distills the real stuff behind some journalistic simplification.
The impression I get is that the US feeds them satellite info on the general disposition of Russian forces, but the individual targeting seems to be done by drones, some of which are consumer-grade. They seem incredibly accurate.

It seems unlikely that there is direct US involvement - the US doesn't want that and it would slow the Ukranians down.

They seem to have their own networked fire control: https://en.defence-ua.com/events/digitization_of_ukrainian_a... , and have said that Starlink was critical, after the Russian cyberattack bricked a lot of satellite terminals.

They even have a local drone startup: https://interestingengineering.com/ukraines-combat-drone-the...
It's in the article, from "Let's look at a hypothetical seed-stage startup with $2M in the bank right now. It makes $10k a month and spends $100k a month" through "Make the product amazing, go to your customers' offices, do crazy things that don't scale, whatever it takes."
> This information should be much more widely disseminated but woke politics are more important, apparently. I believe that's two epicenters now centered around promiscuous homosexual activity, one from a "sauna" (bathhouse) and another from a pride gathering(?).

I agree with you in broad strokes. The current outbreak does very much appear to be centered around a pride festival on Gran Canaria (Canary Islands, an exclave of Spain). The media doesn't seem to be talking much about that, which does seems likely to be because being seen as "blaming" it on that community in particular is culturally verboten.

That being said, you wrote:

> centered around promiscuous homosexual activity

... but the operative word there is "promiscuous", not "homosexual". If one or more infected people were involved in a "swinger's cruise", or one of the many "adult bookstores" common along US interstate highways, the result would have been the much the same. This appears to be primarily impacting the LGBTQ community, but it's not even close to problem _exclusive_ to the LGBTQ community.

Morality judgements aside, sexual promiscuity absolutely increases our society's potential exposure to blood-borne (and "bodily-fluid-borne") pathogens like this. If that's something that we're seeing as a societal trend, we should be cognizant of that potential impact, and perhaps there are some steps we could take to limit the initial spread of things like this and/or identify them sooner, before they become endemic.
Visual FB Editor
Perhaps there's a case to be made for submissions having an option to provide a subtitle that is allowed to editorialize?
Yep, completely agree. We had a project before when it "clicked" and we could tell.
Imagen, a text-to-image diffusion model
War contorts all logic. If you oppose war, "I guess you don't support the troops"
I've not played with it yet but I've heard good things about the newest version of PHP, could anyone confirm?
This kind of automated index fund seems pretty suggestive of arbitrage to me.

And flash loan contracts are a bright neon sign saying "arbitrage opportunity!"
Agreed. I really dislike this trend of super-minimal sites that aren’t much more than a logo, peppy marketing text, and a signup button.

The idea sounds interesting, but I want to know actual specifics—what something looks like and how it works—before I go to the trouble of signing up.
If it’s a matter of a landmark, I trust GPS. If it’s a matter of where the rocks and shoals are, I trust a human. From the cockpit you can only see what’s above the waterline. Currents and seas can shift sand bars and reefs. For that you need a person on the bow.