skysight-inc/HackerNews huggingface dataset:
I believe Karri Saarinen was the founding designer at Coinbase, and here's a relevant blog entry from them: https://karrisaarinen.com/posts/designing-coinbase/

See also: Metalab's showcase of their collab with the Coinbase design team: https://projects.metalab.com/coinbase
There's a related project that forks and wraps it as an electron app.

The source code shows it's pretty much just a react app, but slick!
Users are moving to Binance Smart Chain (BSC) and using BNB because Ethereum transaction fees are too expensive for people that aren't rich.
If you can indulge a non-Rust point of view, if I'd been faced with this design problem, I think I would have put a "this is a rodata-backed string" bit into String, and then the representation would be

{ptr, len, rodata-bit}

(or squeeze a bit out of the ptr or len if the space matters).

Then "abc" could have type String, and the only difference between

let abc1: String = "abc"

and

let a: String = "a"
let abc2: String = a + "bc"

would be that (assuming the compiler doesn't get cute) abc1 is pointing at the rodata bytes for "abc" and abc2 is pointing at allocated bytes. (But it can tell them apart so the deallocation is not ambiguous.)

It seems like this would have avoided a lot of the ink spilled over &str vs String. I know it's too late now, but was this considered at all, and if so what were the reasons not to adopt it?

Thanks.
Rust's strings are one of the easiest to use correctly and one of the hardest to use incorrectly, but they vast majority of string handling is done incorrectly, so that makes Rust seem hard.
Wolfram did speculate that 110 would be Turing complete, although others proved it. Particularly in the Maths, an insightful but as-yet unproved assertion can be at least as valuable as its proof (hence all the Mathematicians who are justifiably famous for a conjecture).
Show HN: R64X publicly-traded NFT art gallery and collection
Which is why thieves prefer used notes.
Show HN: Run unknown shell script with a line-by-line confirmation prompt
>Is there anything out there trying to tie this or compare to Weinstein's theories?

Yeah, there is: both are kooks.
The GET_DDL function in Snowflake has one feature that does not allow using the result of its work as intended: objects are sorted alphabetically.

For example:

CREATE TABLE B (ID INT PRIMARY KEY);
CREATE TABLE A (ID INT REFERENCES B (ID));
SELECT GET_DDL ('DATABASE', 'TEST', TRUE);
will return

create or replace TABLE TEST.PUBLIC.A (
ID NUMBER (38,0),
foreign key (ID) references TEST.PUBLIC.B (ID)
);
create or replace TABLE TEST.PUBLIC.B (
ID NUMBER (38,0) NOT NULL,
primary key (ID)
);
Such DDL script could not be executed due to the wrong order of the objects.

This tool that will reorder objects based on their relatedness.

Applicable to all Snowflake objects (including VIEW), supports CREATE and ALTER, and respects FOREIGN KEYS, CLONE, SELECT AS, and other kinds of dependencies. Knows how to identify cyclical dependencies.

This tool also available to use in our API: https://docs.parsers.dev/#snowflake-get_ddl-function-result-...
https://www.gizmodo.com.au/2013/11/a-brief-history-of-the-wi...
You can use Audacious https://audacious-media-player.org
I linked to a PR above which implemented this idea, and was rejected.
The fact that there's very little overlap between those with the inclination to contribute and those with value to contribute, is fundamental to virtually all communication channels / fora. Unless the channel is exceedingly aggressively managed, the former will outweigh the latter.

An early form of this appeared as an observation on Hal Varian's page at UC Berkeley (he's an economist, was with the School of Information Management Science, and now works for Google).

On HN it's interesting to look at what kind of riff-raff appear high on the leaderboard, vs. revered names in the field who may have posted only a few times.

Neither truth nor quality are popularity (or volume) contests.
How well does this scale? Say I have a discrete Poisson equation for some 3d geometry [1], how does the solution time compare to fast multigrid methods, for increasing matrix size?

[1] https://en.wikipedia.org/wiki/Discrete_Poisson_equation
> I would imagine batching updates to be an advantage of the vdom but only if it’s still that much lighter weight (seeing as you can ignore a ton of stuff from the DOM).

There are two separate issues here: one is how well you can avoid updating things which didn't change — for example, at one point I had a big table showing progress for a number of asynchronous operations (hashing + chunked uploads) and the approach I used was saving the appropriate td element in scope so the JavaScript was just doing elem.innerText = x, which is faster than anything which involves regenerating the DOM or updating any other property which the update didn't affect.

The other is how well you can order updates — the DOM doesn't have a batch update concept but what is really critical is not interleaving updates with DOM calls which require it to calculate the layout (e.g. measuring the width or height of an element which depends on what you just updated). You don't necessarily need to batch the updates together logically as long as those reads happen after the updates are completed. A virtual DOM can make that easy but there are other options for queuing them and perhaps doing something like tossing updates into a queue which something like requestAnimationFrame triggers.
A music instrument is worth more than the sum of its components? Maybe high pricing makes it a sustainable business?
Yeah same boat. We ended up doing several complete rewrites and finally giving up. My main grievance is hcl, it’s so close but so far from an actual programming language that it drives me mad, even after a few kilolines of it in prod.. we ended up going with pulumi which so far has served us well
Bandicam 5.0.2.1813 Crack with Key Free Download 2021
> Even their recent modular kits left a bad taste in my mouth...

Their modular is ridiculous, I can't imagine what they were thinking.
Truth is, most cash these days probably only has one or two transactions between bank withdrawal and bank deposit.

If the banks track serial numbers, they could probably build a fairly complete picture of what kind of transactions are going on. With the vast amount of data, you could probably fill in a lot of the gaps.
You absolutely can manually fix and sync state:

`terraform refresh` does this.

(Disclaimer: I am an ex-core-maintainer of Terraform)
Yep, BTW looking forward https://lkml.org/lkml/2021/4/14/1105 those kind of 'real piece of code' that pleases Linus :)
It's fascinating how much of this holds out in various accents across the UK, most particularly outside of London and going up north. My mother and grandparents on her side have similar-ish pronunciation of some words with their thick Lancs accents. Not quite farmers accents but still quite archaic in sound sometimes.

(Imagine other examples, like pronouncing 'couch' a bit more like 'cooch')
a lot of greek letters seem to have languages as well (at least, alpha, beta, gamma do...I stopped checking after that).
It's a curious question for the value proposition of blockchain denominated currencies.

There is a real possibility that in the future, all stolen assets will eventually be recovered and returned to their owners. There needn't be any limit to recovery given a universal, traceable, and non-fungible transaction log. Pretty soon payment processors/recipients would start maintaining blacklists of stolen coins which they refuse to transact in.

The value proposition of theft/fraud may be significantly curtailed in such a world.
Lots of great recommendations, thanks so much! I was missing The Hedgehog Review, The New Republic, Eurozine, Boston Review and Columbia Journalism Review. Highly appreciated. Just on their title pages alone I found a big selection of interesting topics for my Pocket collection!
Most of the comments I downvote the official comment guidelines in the section "In Comments" here: https://news.ycombinator.com/newsguidelines.html

When I see heated back-and-forth discussion chains I'll often find myself downvoting several comments and upvoting none of them, because sarcastic quippy retorts to bad comments are also bad comments.

I'll also downvote comments for factual inaccuracy, particularly if I don't have the time to patiently correct them. This only partially mitigates the damage and doesn't really help the original author to learn. When someone writes a comment with just a single big mistake, and they don't seem to have a history of willfully repeating it, that's when I am most likely to write a lengthy reply with explanation and citations.
While not a perfect solution, perhaps you could tag various conversations by subject and keeping track of which topics a user tends to discuss. If a user mostly talks about a few subjects, have their comments in conversations with those tags be prioritized by the ranking algorithm and deprioritized outside of it. Obviously just because you spend a lot of time talking about something doesn't mean you actually know much about it, but it's a start. Perhaps you could improve further by keeping track of users' karma within a topic (presumably those speaking from ignorance will be less upvoted), but this runs the risk of promoting views that are popular instead of informed.
By the same arguments, there's a 50-50 chance that our universe is maya, illusion, and the only truth is one-ness. Or that it was created in the exact image of God, or whatever transcendental explanation you want to give.

It would go like this: let's imagine that you were an omnipotent being. Then, one of three things must hold: either we will never become omnipotent beings, or omnipotent beings are not interested in creating a universe where creatures can become omnipotent beings, or we are living in the creation of an omnipotent being.
We've all seen mighty platforms fall. Myspace at one time could've made the same argument.

You're not wrong, but that logic doesn't hold forever.
Worth $1B tops.
Have you ever set something up manually via AWS console, then 6 months later totally forgot the steps you took and end up wasting a lot of time reverse engineering what you did in order to make a comparatively small change?

After that perhaps you vowed to take better notes, so the next time you do it that way, but then 6 months later you find that you missed some detail, or there was some changes in between that were not recorded.

So then you decide you're going to do everything by API and save the commands, so you write a bunch of bash scripts that execute against the AWS CLI. Over time you add several more for different operations (eg. adding an instance, configuring new ssl cert, etc), but the list of scripts grows very long, and you find that each one makes a lot of implicit assumptions about the state of the infra when its run, so you end up with varying degrees of confidence in the scripts depending on how often you run them.

Now you are primed for Terraform. At this point you realize the hard part about cloud configuration is state management. Furthermore, you realize there are some common patterns of how different components and APIs interact with regard to serial dependencies and operation idempotency, however the specifics vary by service and by use case. Terraform gives you a standard substrate for state management, and a framework for developing service "providers" that know how to interact with APIs and map them to state. All of this happens in code which is declarative, can be code reviewed, and state which can be centrally tracked and shared among a large team for a clear audit trail.

There's definitely a learning curve, but once you learn it the overhead is pretty small compared to the benefits, even for small teams IMHO.
I mean I don't think the damn NSA or whatever the EU has for that is going to stop doing whatever they're already planning to do with AI.

And I absolutely could not care less about "great companies rising" either now or hypothetically in the future.

Some applications of AI tech are very clearly MORALLY WRONG and cause harm. Currently that harm is limited because the reach of these tools is limited and that is the only thing holding them back from doing worse.

If companies need that dynamic to rise and be great then they can just not as far as I'm concerned.
Okay, so instead of knocking your nodes offline, the attacker only has to commandeer them for just long enough to commit a slashable offense. That's usually easier anyway.

This is fundamentally a double-edged sword -- the harsher your penalties are for bad behavior, the easier it is for someone to use a zero-day and kill your staking coins. But the laxer your penalties are, the more damage a buggy or malicious node can do with impunity.

Either way, the resilience of PoS comes down to the resilience of the majority of its staking nodes, because once you lose that, the system is dead. Once you control majority stake, it doesn't matter how many other offline coins exist -- you, as the majority staker, simply never mine their transactions.

This isn't true for PoW systems. A PoW system can always be brought back to life, even after an arbitrarily long amount of inactivity, and even if all the previous miners cease mining. All you need is one miner, somewhere, that has a copy of the chainstate, and the system makes forward progress.
This just popped into my head:

1: Recipient. Participate in one of those pyramid scams that always shows up in @elonmusk's replies and elsewhere.

2: Sender. Send money to a bunch of people who show up in one of those scams.

3: Recipient. Your plausible explanation for the windfall that just landed in your account is that you thought the scam was real, and hey, it apparently was!

This leads me to wonder: Are those scams just cover for laundering, that happens to also suck in some other gullible victims along the way?
One thing is, crypto is at the intersection of many disciplines at once, tech/finance/economy/psychology/game theory, etc.

I'd if you try to start with a clean slate and no biases against it from the get go, spend some time researching and understanding it alonside what money is and it's history, etc. You'll probably start to see some usefulness to it.
You realize that this comment section is in response to a story where YouTube is suspending educational content, right? Someone else already mentioned Elsagate which is still an ongoing problem as noted by the GP. YouTube is not interested in providing healthy material, which is not surprising since they are owned by the world's largest advertising company. I would advocate that parents should look for better alternatives altogether rather than use it as source of education or entertainment, even with supervision. It's simply the wrong place to go for that sort of thing.
I initially really liked this idea. I think the only problem is that it could lead to requiring more moderation. It's very hard to enforce quality. Right now I'm imagining a bandwagon chain of "You suck!" or other low quality comments just for the price of downvoting. I guess you could impose a minimum character requirement. At any rate, the idea of it being visible only to the user being downvoted is somewhat novel as well.
Our Investment in OneSignal
Thanks for sharing, that was awesome.
Use privacy.com. It's a godsend.
Are you just referring to your blog? I went through a dozen pages of your comment history thinking you had a website about giving straight forward answers to questions.
More articles like this and I might get started with Rust again. Well async is still a problem but at least strings are much clearer now after reading this.
So if their business model is raking it in by selling pumped-up speculation, and the pumped-up speculation market is a growing sector, then that's what is called an efficient business model which has nothing to do with the fact that markets are 'efficient'.

Also, since when does anyone care if casino's business is based on pumped up gambling. As long as there are millions of transactions going on, the business model will stay 'efficient'.
JS can already be parsed as it is streamed (I think this has been the case since around Chrome v40 and earlier for Firefox). The JS binary AST proposal could make that even more efficient.

My example assumed you were running the code locally. If it's coming over the wire, larger WASM binaries will suffer an additional penalty over the network because download speed is much slower than parse speed.

https://hacks.mozilla.org/2017/02/what-makes-webassembly-fas...

https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...
You don't understand their pricing because you don't understand what they are actually selling. They don't sell musical devices, they sell status symbols.

You buy an OP-1 to look cool, not to actually make music with it. It's a bit like with the iPhone, but on a whole different level.

Some buy fancy sneakers, others buy fancy pens and Moleskine, others buy an OP-1.

And you can't have a cheap status symbol.

This is also why they look so clean and minimalistic, like a MacBook, to the point of sacrificing ergonomy, since the aesthetic is what they are selling, so they can't look gnarly, black and full of ports and cables like an actual musical device.
You mix through monero
Some people are reporting bad side effects
https://t.me/covidvaccinevictims
And not publishing something is a valid choice that the author is currently making with regards to his code for his blog and I support his right to be closed source on that detail so he can focus on other things.
Coinbase Direct Listing
It's worth noting that 2009 was a eon ago in internet time. Almost nothing from that era is applicable to social media behavior in 2021. Especially Hacker News, which IMO was much more elitist/hostile at that time and fortunately has improved in that aspect over the years.
This is my way of thinking about the topic these days. It's not that strings are more complicated in Rust than in other languages, it's that a lot of the other low-level languages are presenting an abstraction that assumes implicitly that a string is some type of sequence of uniform-sized cells, one cell per character, and that representation was an artifact of a specific time in computational history. It's like many other abstractions those languages provide... Seemingly simple at first glance, but if you do the details wrong you're just going to get undefined behavior and your program will be incorrect.

Languages that don't expose strings as that abstraction are, in my humble opinion, more reflective of the underlying concept in the modern era.
> if you have been handling Unicode and using wide characters, you have not been handling Unicode properly.

Paradoxically, trying to do "the right thing" and being an "early adopter" of (the now called) UCS-2 was a "mistake", as both Java and Windows can attest, by getting "stuck" supporting the worst possible Unicode encoding ad-infinitum. UTF-8 is the "obviously correct" choice (from the hindsight afforded by us talking about this in 2021).

I still find it funny that emojis of all things are what actually got the anglosphere to actually write software that isn't completely broken for the other 5.5 billion people out there.
The ability to use Greek letters and Unicode symbols in Julia is delightful, because it helps the math in the code to look more like math, and makes the code in general more succinct. It’s optional, but seems to be popular. And Julia is not alone here, but the culture around it has embraced it.
Or bc1qtl0s05gxxnv9xskkyzrd7k5epwr4esqdhpcvfx

:pray: :)
I'd appreciate some examples. I'm not saying it doesn't happen, but in my experience downvoted comments tend to have something beyond a counterpoint or difference of opinion; their content is usually irrelevant or unnecessarily snarky or somehow hostile.
Isn't Uniswap doing a swap within the same chain?
To me, value investing is when you already have a good idea of what something is worth, but it's trading below that value. That's great strategy if you know and understand a certain sector.

It's very difficult to value futuristic things, it might succeed beyond our wildest dreams or completely flop.
https://smallbusiness.chron.com/use-archetypes-advertising-3...

User stories are just customer archetypes, themselves based on Jungian archetypes, adapted to software development.
Nah, it was his nickname, Blaise "Turbo" Pascal, because he was blaising fast.
EFCC boss, Bawa seeks Senate backing for anti-graft fight
My understanding is that UTF-8 is not a good representation for non-european alphabets.

So do you think UTF-8 is always the best internal string representation? Or just for English speakers?

For Mandarine what would be optimal?
The average student loan debt at graduation is $30k [1]. That's very nice car money, not house money.

[1] https://www.usnews.com/education/best-colleges/paying-for-co...
> the reputation floor -4 for a comment, not zero as they suggest

Correct, -4 is the lowest a comment can go: https://github.com/minimaxir/hacker-news-undocumented
> "If I downvote a misinformed post the original poster won't know where they went wrong, and people who see a grayed post won't necessarily understand what's wrong with it either."

that's ok, the onus is on the downvoted poster to figure it out for themselves. usually that requires seeing a pattern over the course of a few downvoted posts rather than pinpointing it exactly from a given post.

most downvoted posts break one or more hn rules, but a few are downvoted ideologically, so a little resilience is required. strictly unpopular opinions can often be more tactfully rephrased and at least be accepted for discussion, if not agreement. this is a pretty good life skill to develop generally anyways.
No, you are assuming that simpler things are more likely to appear out of nothing than complex things. There is no basis for this assumption outside the laws of physics themselves.

In fact, in mathematics, the opposite is usually true - there are many more complex objects than simple ones, so given a random object, you should expect it to be complex rather than simple. For example, given a real number, it is infinitely more likely that it will be irrational rather than natural.
Are all variables, conditionals, templating, and loops done in Python? Or is some of that still needed on the Terraform side?
They have talked about it some, seemed reasonable.
Also understand why it would not be a popular decision though. Think running a business, and understanding success can be very temporary if you are not careful helps.

"We have had to face other costs than the actual components’ costs of course. The currency conversion, inflation, sourcing of the new component, re-coding the display, re-designing the mounting, new tools etc. are just a few of the “why”. When Teenage Engineering faced the reality of the OP-1’s future, there were only 2 choices: kill or save. We decided to save it. I understand that the new price is a disappointment to many of our fans. But I do hope some are happy that we did not kill it."

https://www.gearnews.com/teenage-engineering-open-up-about-t...
I'm not certain the emotional damage around the deaths would be worse than the emotional damage around the restrictions. Same with the economic damage, I'm entirely certain the the economic damaged caused by the death of a large amount of largely economically inactive persons would have been way less than the economic damage caused by forcibly shutting down large chunks of the economy.

The whole 1 vs 2 thing is just a matter of how much must the whole suffer for the benefit of the few?
They tend to be overly positive of things like netdata and plex that are selfhosted but with closed cloud components. They also talk a lot about home assistant. And generally give thew impression that they have a short attention span, are always looking for shiny new and never have issues like the latest nextcloud upgrade breaking.
I'm inclined to agree, but that requires your map to be consistently up-to-date, which may not always be practical.