skysight-inc/HackerNews huggingface dataset:
Legally, who knows?

Technically yes.

As for my take, the NFT is just a data, accepted to represent the idea of that Jack minted and is now selling the tweet. Contractually he hasn't agreed to give you rights to editing or deleting the tweet.
whats the reason?
> Similarly, for block chains, mining only occurs when the thing being mined has value. NFTs would not be mined if people weren't using them. Therefore I would absolutely call them an ecological disaster.

The point is that energy consumption due to mining on the Ethereum network does not scale with transaction count. So it does not matter if NFTs are issued ("minted") or not. They add no marginal energy cost in the mining process. That is why calling them an "ecological disaster" is a misnomer.
Not sure. Unless this is sustained for a long time it shouldn't affect autorenewals which are done well in advance of expiry. So it _shouldn't_ affect cert expiry unless people are still manually renewing and leaving it to last minute.

[edit] Unless the attackers identified a bug in certbot (commonly used autorenewal scripts), e.g what happens when LE is unavailable when autorenew is triggered - you'd hope it would retry periodically until LE is restored, but perhaps not. If not you could time the DDoS just right to ensure a specific cert does not get renewed even after the DDoS stops, then maybe a couple weeks later it would expire... But that's relying on such a bug existing and the site owners not noticing it (LE will also email the registered email address eventually regardless of autorenewal scripts), so maybe this is too much of a stretch.
Possibly testing or demonstrating a botnet. "For bragging rights" is a thing, as is advertising ("my botnet took down critical infrastructure, wanna buy my DDoS service?").
The table is essentially:

| site_id | created_at | [..other columns trimmed..]
| 1 | 2021-06-18 | [..]
| 2 | 2021-06-18 | [..]
| 1 | 2021-06-19 | [..]
| 2 | 2021-06-19 | [..]
| 3 | 2021-06-19 | [..]

Site 1 may choose to keep things for 30 days, site 2 for 50 days, and site 3 may choose to keep things infinitely.

The solution I use now is to just run a background job where day with "delete from hits where site_id = ? and created_at < now() - interval ?". It's pretty simple, but works.

There are probably some clever things I can do: partition by site ID and then date range, or something like that. But this has a bunch of downsides too:

- I like to keep things as simple as possible to make it easier for people to self-host this, which is a big reason I use PostgreSQL in the first place. If it was just some SaaS I was running then I wouldn't have a lot of problems turning up the complexity a bit if it gave me serious benefits, but when you distribute software you expect other people to be able to run then it's a bit more of a trade-off.

- The entire thing also runs on SQLite, and I'd like to minimize the number of special PostgreSQL/SQLite branches when possible.

Ideally, what I'd like is that people can optionally plug in something like Citus if they need it (and many don't! Even SQLite actually works fine for many) and have standard SQL "just work" without sweeping architectural changes. They can switch it on/off as they please. I don't mind adding a few "if using_citus then ..." exceptions here or there, but there's a limit, especially since many people just don't need it (but will still "stuck" with a much more complex table structure because of it).

This, for me anyway, is the appeal of things like Citus or TimescaleDB vs. more specialized solutions like Clickhouse or whatnot. I don't need to get the "fastest possible solution", and these solutions strike a good middle ground between complexity/ease of setup vs. speed.

There is also a second use case for UPDATE (the above is mostly for DELETE): right now I pre-compute some data and run most queries on that, rather than the main append-only table with events because this is rather faster in various cases. Because the data is aggregated by hour or day, it needs to update those rows when new events come in. The way I do that now is with a unique key and "insert [..] on conflict [..] do update [..]", but there's a bunch of other ways to do this (but this it probably the easiest).

In principle those tables should become obsolete with a column store, but when I tried cstore_fdw last year this wasn't really fast enough (although this version may be, I didn't try yet). Even if it would be fast enough, this still means I'd have to write all queries twice: once for the "normal" PostgreSQL/SQLite use case, and once for the Citus use case, which isn't especially appealing.

So, tl;dr, I want Citus to be an optional thing people can use, and maintain compatibility with mainstream PostgreSQL and SQLite (and, possibly, other engines in the future too).

Perhaps this is a rare use cases? I don't know. But this is my use case.
Environment variables do the job already, where is the benefit?
Did you read the article?
It quotes a Twitter conversation where a user asks for specifically white male experiences about creating a game studio / prototype. In general the answers basically amount to "I worked extremely hard, like 75hr weeks. Worked full time job whilst doing it; took multiple years before things started to work out" and then the article again tries to shoehorn the white male narrative to invalidate the answers. "other job / parents covering tuition / lack of dependents to support" are hardly exclusive to one gender or skin colour.
A reply by some economists: "Economists’ views on the ergodicity problem"

https://sci-hub.se/https://www.nature.com/articles/s41567-02...
8. To prevent that other guy from dicking up the product and tanking the business.

In some areas of software the only thing that matters is the word: easy. When I say that I mean for the developer and absolutely not for the end user. The end user isn’t even considered. The result is convenience (stupidity) as a compensator for insecurity, missing leadership, and absent competence.

On one hand it feels good to build a superior product that out performs the competition in every aspect. It is reassuring to know your decisions may slightly inconvenience yourself a tiny fraction for a tiny moment because you position product quality for the end user above developer convenience.

Even better is knowing simplicity is built in from the ground up so that the product scales and maintenance is cheaper. Writing software that scales means doing that which does not scale: documentation, refactoring, planning, and removing. Simple is not easy.
> ...stuck without an exit...
I'm sure that somewhere in the world, the value in that bet is enough for a person to decide to change their name and then collect it. Or for an official to slip in a birth record with that name and collect it.

The point: names are not unique, because there is a) no statistic guarantee (like UUIDv4s) and b) no uniqueness validation. So even if by chance you fall in an exceptional outlier of a), you cannot be sure of b)
This comment sounds very snobbish to me. If OP likes his tea simple without ceremonies, reciting poetry, or measuring temperature of water to 0.1°C precision it gives you no logical reason to claim he's not smart, or enlightened enough.
That concern is reasonable because it is difficult to swap parts, so we should keep them in working order rather than relying on the remote possibility of replacing them. But conversely that means if it were cheap and easy to replace them there wouldn't be as much need to take care of them.

Integral part vs. disposable is not a binary distinction.
One can stick to plain and fast SSGs without bringing NPM into the picture. Maintain dependencies in your repository. I think there is extraordinary evidence been presented over the past several years to derive the judgement that NPM is terrible. It is a dismissal with very real and actual substance. One just needs to go through the several dozen critique on HN alone - all supported with a truckload of data, horrendous experiences and security vulnerabilities.

Frameworks which marry themselves to this ecosystem are OK for those developers who are already in NPM hell. My apologies for your suffering - but the rest of us don't need to join the cult of doom.
Ownership relies on asymmetric cryptography, at a basic level the tuple (nft token, public key) is unique and enforced to be unique by the rules of the blockchain.
Ohhh, this looks like Cycling 74's Max MSP.

Lot of seeming derision in the comments but I LOVE Max and this is an amazing step in that direction for visuals.
Past comments: https://news.ycombinator.com/item?id=21492464
The article starts off by saying they want to poll white men, because marginalized developers are struggling.

It includes quotes from people such as this:

> I think most local white dudes
> don't think of a prototype as something they "funded". They
> ”just made it” because they had
> time, space and hardware.

Generally, refers to hidden privilege throughout as subtext. If you're white and male you have more access to these kinds of opportunities, etc.
#!/usr/bin/python3
import random
#100 people start with $100
balances=[100]*100
#They take 10000 bets with an _expected_ return of 1.25x.
# ... so they should end up with ~1.2e1000 at the end...
for i in range(10000):
balances=[0 if x<=0 else random.choice([x*2,x//2]) for x in balances]
#Yet all or almost all are bankrupt:
print(len([x for x in balances if x<=0]))
I think you can do something like this with your Rust code using macros.

struct P0{}

impl P0{
fn write(self:&Self,pin:usize){
std::println!("Writing port P0 on pin {}",pin);
}
}

struct P1{}

impl P1{
fn write(self:&Self,pin:usize){
std::println!("Writing port P1 on pin {}",pin);
}
}

macro_rules! for_each_port_pin{
($port:ident,$pin:ident,$b:block,
$(($e1:expr,$e2:expr)),*) =>{
$(
let $port = $e1;
let $pin = $e2;
$b
);*
}
}

fn main(){
let p0 = P0{};
let p1 = P1{};

for_each_port_pin!(port,pin,
{port.write(pin);},
(&p0,10usize),(&p1,7usize)
);
}

Rust playground link:
https://play.rust-lang.org/?version=stable&mode=debug&editio...
They were also trending towards being a relatively benevolent modern country under Deng Xiaoping when many restrictions were dropped. It's a bit unfortunate that under the present guy they seem to be returning to a Maoist dictatorship and I guess will stay that way for quite a while.
> Random side note: Kanban-for-factories actually does things the other way around. They send an index card upstream to indicate that they need more stuff in order to continue work. This avoids the need for an actual "kanban board" that everyone all over the factory, plus your suppliers' factories, would need to all congregate at.

This actually seems like a better way to do it.

Having physical cards moved forward on a physical board might have been intuitive, but for software task tracking (and especially for remote teams) passing around requests seems better.

Besides, small teams also have the problem where the tasks are too diverse to be squeezed into a standard workflow, so having a single board for all tasks doesn't make sense.
You could also say “discussing movies as effective as therapy” which is quite an interesting find.
This isn't necessarily made for building enterprise web apps or social media sites.

There always seems to be a complete absence of appreciation for value to artists on HN. This is very clearly a creative tool first and foremost.
https://www.youtube.com/watch?v=kOLwDBcgSjs
As mentioned in my other (wall of text) comment, that's not strictly beneficial.

It forces you to implement a lot of logic in "userspace" that other languages do for you automatically.

Complexity for certain abstractions moves from the language to user code, at the expense of consistency, cohesion, totality and (auto-generated) documentation.

It will be interesting to see how things play out for Zig once the ecosystem grows a little and libraries appear, but there are very significant downsides to this approach.
> Not everyone wants to do that? I’ve had an iPhone since the 4 and never cared once or have wanted to

That's not a defense. iOS is restrictive, and that's that.
Where did the idea of tea with only a spoon of milk came from? I am from Pakistan working in Britain and I absolutely despise the British tea. Kadak Chai in McDonald's Qatar is the closest to the tea I have bought outside my country.

Tea is our social drink and made by boiling nearly same amount of water and milk with loose tea. It's never fruit flavored, just tea.
To reduce dripping before carrying it over to the wastebin. At least that's why I do it.
This comment convinced me to buy a kobo.

How's the search functionality in wikipedia when used like this?
AI to generate personally attractive images
ˢᵒʳʳʸ
How did you try to get it running? They have a docker-compose setup[1] that was super easy to use. It looks to be 5 months old so if you tried before then, good news, it's easy now!

[1] https://github.com/plausible/hosting
> The set of problems that you can use EUT on and be correct is almost zero.

But his theory is applicable in a strict subset of those...
>It is also probably just conceptually wrong to think that our bodies are just a side accessory, especially when it comes to understanding how much of our actual intelligence comes from being embodied.

There's not a single study to show this, so calling it 'probably wrong' is just disingenuous. All the current results simply say 'sensory data impacts our cognition', which people who think that the brain encompasses the whole of the mind also believe.

The real test would be whether 'faking' body parts by sending mock sensory data would lead to the same result as having the real body part.
To me it would be conceptually simpler to consider one named variable as analogous to a memory location. So I would not be able to write to assign to a variable after a move, because essentially I could read that as "assign some_other_value to the memory location x", which in this case is already owned by the match statement. It seems here that after the assignment, `x` is essentially being implicitly re-declared as a shadowed variable. I have to think in terms of "can the compiler find a way to make this safe" rather than having a more-or-less one-to-one mapping between the code I write and the machine behavior.
You have other options too. If I have time i can try to reduce the size with a columnar format that is designed for this use case (repeated values, static dataset).
It's also used at least in Korea, but it's uncommon in the west.
We already have artificial scarcity. It's called steam. You buy a game in steam, you can't resell it. This allows you to resell the things you buy.
That's one of patio11 points, I don't quite get: in 2021, _are_ there names which can't be encoded as unicode?
Being unfun to use != being useless to the business
>I'm not saying "you should believe me because I have a PhD".

Yes, you fundamentally are.

>I have deep expertise in this exact area, and based on my experience and knowledge and ability to read papers in this area, I can confidently say that this is a bad "paper" that does not prove the claim made.

There is no functional difference between the here because you don't even provide an argument as to why this is.

What is the real difference between "I have deep expertise in this area and knowledge and experience" and "I have a PhD"? Is a PhD not a proxy for expertise, knowledge, and experience in a subject?

What is the difference between "believe me" and "I can confidently say that this is a bad "paper" that does not prove the claim made"? Are you not asking me to believe your conclusion based entirely on your authority? You have made no argument for me to evaluate.

One form is more verbose, but it is still 100% an appeal to authority.

It is one thing to state your credentials and then make an argument. It is another to state your credentials and a conclusion with no argument.
Ole Peters has addressed this. He had a study of real people done, which shows that real people make decisions using the time domain.

The behaviour of real people matches Ole Peters maths but not EUT. This means that EUT does not apply to the real world, which makes EUT a pointless theory.
That's up to you. It could easily replace steam for me. Or digital audio purchases.
> domain xyz's certificate is expiring

That's why it's so important not to wait until the end of the 90 day expiration period but to renew it every other week or so.
> I'd love to hear more about how a culture that doesn't name children under 5, do their child rearing and generally go about their life.

(Christian Orthodox, majority) Greeks don't name babies when born, only when baptized (usually during the first year, but could be later). Until then, they appear on formal documents as either "male"/"female" or as "AKO" ("no first name"). In practice, people either call a baby "the baby" or may sometimes use the (future) name informally.
> It is however certain that the copy is not you.

That's not certain at all, and depends on how we define "you". And, as you say, we don't know enough about consciousness to flesh out that definition.

If consciousness depends only on the layout of neurons in the brain (for example), then a teleporter that destroys your body and makes an atomically (quantum-ly?) identical copy at the destination actually does move "you" from one place to another. But if there's more to it than just that, perhaps it doesn't.
Even if you didn't have Output Pin, couldn't you just declare a sum type?

enum MyPin { P0, P1 }

Edit: feel free to ignore, read your answer somewhere else about this

You would then have to pattern match when you read the value but I don't see a reason to reach for macros or anything more complicated.

That said, really enjoyed the read (and I'll definitely try zig at some point, if only for the speed / compile experience), even if my experience with Rust didn't match yours; my background is a bit different though, I worked with C++ and Haskell in the past, which definitely made rust feel almost natural.
Overall I'd say that the compiler helps me not to keep a lot of rust syntax in my mind and just try things until it works
The Problem with Climate Tech and Other Relevant Startup News
Hearing of that book, I'm tempted of recommending another book of almost the same time, about another empire half the world away: Anna Komenena's Alexiad.
It's also currently reminding me of the second-life land rushes from about that time.
You might be interested in this: https://m5stack.com/ (not affiliated)
But you could hold the mug/pot over the bin.
How golang compares to zig? Not using any of them, but from my understanding both of them trying to be "simple". Just curious what is the difference on the highter level
>I personally find "hate speech" nomenclature quite tedious,

Why? I think it's quite a useful term that's worthy of discussion from philosophical and legal perspectives. It pretty quickly identifies a range of related behaviors. But I am interested if you have less 'tedious' terms that describe the same thing.
> I feel my life outcome and success depends on emotional regulation more than anything else.

Indeed. It wouldn't surprise me that assuming a person is of at least average intelligence, emotional regulation is the greatest predictor of success. Not to be held back by one's own demons is a big step towards success.
So I take it in (at least) Pakistan there was a culture of having milk in tea before the British colonial era?
Nice to see a rational response to 5 eyes propaganda. Thank you, Asatar Bair
I linked to an article about embodied cognition. It’s a serious topic studied by scientists and philosophers.
> In the Zig example, it seems to me (and I have zero knowledge of Zig, so sorry if this is inaccurate) that you can potentially introduce bugs where the same pin is used twice.

Given the code in the blog post, yes. Here's a possible solution:

pub fn initKeyboardGPIO() void {
comptime checkPinsAreUnique(10, rows);
comptime checkPinsAreUnique(100, cols);
...
}

fn checkPinsAreUnique(max_pin: usize, elems: anytype) void {
var seen = [1]bool{false} ** (max_pin + 1);
inline for (elems) |x| {
if (x.pin > max_pin) {
@compileError("Found pin value higher than max pin");
}

if (seen[x.pin]) {
@compileError("Found duplicate pin!");
}

seen[x.pin] = true;
}
}

If pins happen to be very sparse, one could switch from a basic array to a comptime hashmap: https://github.com/ziglang/zig/blob/master/lib/std/comptime_...

There's also other ways of approaching the implementation depending on the required level of dynamicism, I just hacked together the quickest solution I could think of.
"Asia" is sometimes perhaps too broad of a category for different cultures it contains. Milks don't work for East/Far East Asia teas such as Chinese or China-derived Japanese tea, but teas from Southern/Central/Western Asia such as Indian, Mongolian, Tibetan or other nomadic cultures are either best with milk or use specific fermented milks or butters as parts of preparations.
Good, the US government has been missing in action since the Microsoft litigation. They have allowed lobbying money to completely dismantle the idea of public interest monopoly break ups.
There is a small nugget that is as hard as physics. Namely the tools can be analyzed in their theoretical performance.

But economics is deeply tied to politics. What type of economy you have is entirely dependent on current leadership. It's the government that sets the basic foundation and rules upon which the economy is built. Some governments decided to go to either extreme. Communism or capitalism. There is a price equilibrium, assuming one is allowed to exist, which is dependent on your government, but where exactly it lies is also entirely dependent on the laws the government set.

If the government bans garbage disposal in rivers then it would be completely unreasonable to insist that the equilibrium price should stay the same.

By this same logic if there is an inherent injustice or imbalance it exists in the laws the government created.

One prominent example would be the central bank flooding the market in a way that benefits existing asset holders, one could have done the exact opposite as well or maybe even done a little of both. It's not a question of which is the right action, the question is "What kind of economy do you want?" and the central bank has spoken.
Have you played Aavegotchi? [0]

[0] https://www.aavegotchi.com/
As the language evolve and people will want to do actual things with it, features will be added.
Tesla seem to have maybe sensibly kept their Chinese operations largely separate.
Show HN: Reddish – an open-source Reddit clone. MERN and Redux
How do you guarantee the person trying to get into the event is the owner of the ticket?
Richard Lattimore in my opinion is a more poetic translation than Wilson and it has been out of 50 or 60 years.
FoxTales: Behind the Scenes at Fox Software
Sigh, do I really need to do this?

I'm not going to go over the anecdata of "but for every outspoken fan, there are a dozen closeted ones".

There are some numbers in this Telegraph article: https://www.theguardian.com/film/filmblog/2008/nov/06/twilig...

95% women, ~60% below 25 or younger. Didn't find any other fast sources of data, other studies are welcome

Figures for viewership of Premier League matches:

https://insight.globalwebindex.net/hs-fs/hub/304927/file-259...

Males are roughly twice the number of females, between 19-25% are 25 or younger.

If you find some actual numbers to retort with, that'd be great.
Calling it Ergodicity Economics is a bit confusing. Existing economics is ergodicity.
Ole Peters is claiming that the ergodicity assumption in economics is false.
His corrected version of economics should be called Non-Ergodicity Economics.