skysight-inc/HackerNews huggingface dataset:
I think sometimes it's important to accept the shortcomings of the language we're using instead of chasing high overhead abstractions like the one presented in the OP and in the enumer package.

I hate that go doesn't have enums, I hate that it doesn't have tagged structs, but if I spend my time trying to massage the language into simulacra of them, I'm losing time that I could spend writing productive code, or I muddle the waters for future developers that will have to deal with those abstractions in the future. Overall I think it's not worth it, outside of highly theoretical implementations like this, that can exist independent of code that actually does things.
> WEAVER: Yes. So let’s take the cost of a transaction. The cost of a transaction in cryptocurrency systemically is the amount being used to protect it. I could build a system that would have the same throughput as Bitcoin, three to seven transactions per second, but with a centralized trusted entity. In fact, not even a centralized trusted entity. Ten trusted entities, only six of which need to be honest, because I use a majority vote system. I could do it on ten computers that look like this, that would burn as much power as a light bulb.

Okay, so Mr Weaver can conjure some "ten trusted entities" by simply wishing them into existence.

Either he doesn't understand why one cannot simply create a "trusted entity" out of thin air .. which would mean, he's not actually an expert who anyone should listen to .. or he consciously makes a lazy attempt at formulating an argument that superficially sounds reasonable, while not having any substance.
I feel like the headline mis-states the actual case - and implies something that people believe but probably isn't true. Which is that it's better to found a company in a recession. I don't see any reason to beleive that, and it's certainly not the case for most companies.

The obvious thing though is that the only really important things are: Are you reliant on discretionary consumer spending, and are you dependent on investment capital. If either of those two things are true you're going to have a tough time during a recession.
I can't speak for Europe, but Congress does have the power to put The Fed on a leash and they don't. The conflict of interest is blinding. We The People in the darkest dark. Again.

That's the scope of Only in. America, in this case.
Don't let it discourage you, because it's motivation to discover what they're trying to key in on. For us and our investors it was whether we'd mortgage our houses (hypothetically) to keep the business afloat and see the vision through.

As it turned out, we started in Feb of 2020, with much of our sales pipeline (over 2mil) disappearing in a day and a half when things shut down. So we didn't mortgage our houses but we buckled in, reduced expenses, found alternative revenue streams and survived.

We are here today and executing on our original vision after going through all that. I did end up selling my house to fund my family while we navigated everything, and it was not easy.

Now our investors treat us well because we did that. If you asked me ahead of time if we had the grit to do that I would think almost certainly no. When you're in the thick of it (And especially if you PG'd something), it changes perspective.

For me, it was really a life lesson of don't raise money or take a chance unless you really believe in it and there's a fuzzy path to victory. Sales fixes everything, even if you have to temporarily pivot.

You have it in you, I promise.
That's a pretty uncharitable thing to say!

FaceTime is routinely used to just hang out with your family or buds, your presumption that doing other stuff is automatically rude just doesn't hold up.
and what's wild is that they were on a hiring spree leading right up to that moment. I was heavily recruited by six different people there who seemingly knew none of their colleagues. I received the last message the morning of the infamous zoom call, then, crickets. Not that I was entertaining the positions being offered, only that regular messaging literally fell off a cliff from those recruiters internal to Better.
Yep, and maybe I was being too harsh in how I said it. It's an understandable sentiment; I've just never seen it work in practice. Inevitably, the team (over time) begins to move orthogonally to the company. Like I said above, you'd need a very well-oiled machine, ala a super tight chain of command with clear directives at each layer.

I see it in the same way I see security. A company is only as secure as its most vulnerable employee, so everyone must be vigilant about their own personal security practices. Same goes for "product security" - ensuring that the micro-actions taken by each IC reflect the company's objectives. It's an all-hands-on-deck practice.
> It sure suits a large number of Google employees that "paying for a service" will fail.

Let me get this straight. The idea is that Google has deliberately constructed several different systems over the years to enable micropayments or subscriptions to replace ads with the plan of them failing so they can use this as evidence that the ad model is unstoppable and that people shouldn't try to replace it? And this was done despite knowing that an alternative would make Google more money? And not a single person who was involved in this deliberate sabotage has ever spoken about it?

Come on.

> Newspapers, tv, and music, are counter-examples to the assertion that people won't pay for things - even when they've previously been free.

Newspapers are a dying industry and are filled with ads. TV is filled with ads. Even paid streaming services like Hulu (and soon maybe Netflix) are ad supported. Spotify has an ad-driven free service.

> Google's main product focus now should be Cloud, the ad debate is long-term done.

Ad revenue continues to grow every quarter. Yes, Google obviously wants another similarly sized revenue stream and there are very few domains that can generate that kind of revenue. But "the ad debate is long-term done" is just not based in facts.
I guess it is better to measure CPU time instead of wall time (e.g. using clock() ).
"In a separate study that has not been released, he and his colleagues looked at existing research in an effort to demonstrate that staying in school longer directly equates to higher IQ scores."

...or maybe, it just improves your test-taking ability?
> I don’t need $30,000k Bitcoin

> Etherium doesn’t need to be $3k

The reason they're priced so high is because most of the supply has gone to early adopters (and its creators in case of the 70% premined Ethereum) leaving late adopters in fear of missing out and fighting over crumbs.

> we can just pick dogecoin

Dogecoin admittedly has higher inflation, but still had early miners getting 50x more reward than current ones. If you want to deter speculation, it makes more sense to just have a fixed reward, i.e. a pure linear emission, that maintains a high inflation for the first few decades.
Except US decided to influence a regime change in its rival Pakistan and install a puppet militarist. And to top that provide $12 billion aid through Saudi proxy and another 50+ millions direct aid.

US foreign policy has been baffling since last year.
You're missing the point. As these things are regulated, the holes get plugged by the authority regulating them. This is not so much the case in the crypto space. They see regulation as an ineffeciency, that needs to be disrupted

Meanwhile they're discovering that these regulations were actually safeguards, and they're not solving any problem. They're just reinventing the wheels of the finance sector.
Dokku has official support for k8s and Nomad if you want multiple-host support. The caveat, of course, is that you have to run the cluster.
What does "OG" stands for?
> The one tiny drawback is that the globals have to be variables instead of constants, but that’s one of those problems that really only exists in the theoretical realm. I’ve never seen a bug from someone overwriting a global variable like this

Same goes for the original problem. I’ve heard a lot of people complain about Go’s enum types accepting hard coded values, it’s a conceptual problem, sure, but is it a real problem in practice? It’s not something I would ever do by accident.

I don’t find my self passing random hard coded values to methods. I would have to look up the actual expected enum value, at which point I would think “I should make this a constant” at which point it fails to compile and I find the enum. Even then, in reality I would have noticed the type and the enum long before that. Hard coded values in and of themselves are a code smell. Like sure, in theory a typo could compile, but it seems like a hard mistake for a non-malicious developer to make.
No IQ test ever got me a good paying job, but my degree, the professors' contacts, and the experience of working in research absolutely did.

The 10 years and many loans it took to get through bachelor's and PhD were the best and most important investment I made in myself to get out of the factories and warehouses and into an office with great pay, and oh incidentally an amazing job.
> For the C “FFI” he used standard dynamic linking, not dlopen(). This distinction is important, since it really makes a difference in the benchmark. There’s a potential argument about whether or not this is a fair comparison to an actual FFI, but, regardless, it’s still interesting to measure
Good luck with using that “equivalent” in an embedded web view.

Besides, if I care about my privacy, why would I want to use an ad blocker that has access to my web browsing history?

iOS content blockers tell Safari what to block and don’t have access to where you go.
Don't worry, an entire generation can't all become buffoonish rambling trillionaires with bizarre personality cults. The planet simply cannot sustain the number of bootlickers that would be required to join said cults.
If I was making a market for terra, my bid would be $0.00, any higher is too much risk. No point in making a market for something that has 0 value and virtually 0 liquidity.
I'd rather have the ability to buy a Google Bond for $X that Google must return to me in the event they lock or terminate my account. That way, if their algorithmic classifiers on a whim decide that I'm a bad person and they should lock my account, Google would have a financial incentive to invest up to $X verify that I wasn't the victim of a false positive before pulling the rug out from under me.
Darn that eusocial evolutionary pressure!
I'll do you one better

> Why All Of Silicon Valley Should Die in a Fire

Just an extension of the original... and just as dumb.

Also, I get the general sentiment on this site is CRYPTO BAD, mut can we please not jam the front page with links like this? What will be the next "why all x should die in a fire"?
Tags are hardly rocket science -- simple rules/standards could be setup.
Why do you want to take the choice away from people to use tagging?
Someone like me reads a lot (on other sites) and I skip 95% of the content here.
Why should I have to scroll through posts about: C++ compilers, etc when I know I'm not going to read it?

The tagging approach wouldn't effect you -- you could simply not use it.
The vast majority is still conscripted as early as possible. 18 or 16 - still kids :-/
It's [removed] now, what did it say?
The fire him, Wall Street and the rest panics. They keep him and we get more insanity.

He was interviewed on Marketplace (NPR) this past week and he should be a politician. Tons of half answers and such. Another disconnected elite with zero affinity for accountability.
You have to use Safari on iOS anyway, because the only permitted web view implementation is Safari’s. Firefox/Opera/Chrome on iOS is just Safari in a trench coat.
The DPU can act as a PCI host or as a PCI device. In this case, it's placed into a chassis where there is no host (the backplane is only for power), acts as its own PCI host and talks to NVME SSDs on the bus.

This is a demo and is otherwise pretty absurd, but the main use-case of these devices can be to do some pre-processing on the network traffic before handing off to the host. In addition to the ARM cores, these cards have hardware capable of packet filtering/etc so it can be useful in scenarios such as DDoS mitigation where the card can easily filter out malicious traffic even at rates of millions of packets per second, and only pass through legitimate traffic to the host server.
it might be important to separate the hardware and software parts of intelligence.

IQ tests mostly measure the hardware part (pattern recognition, working memory, spatial reasoning, attention to detail, speed, focus, reasoning about abstract rules)

the software part is mostly about applied epistemological rationality, how good one's life strategy is, and how well one can execute that. (of course there's a hardware component to this too. someone with good emotional resilience, low neuroticism, high self-motivation achieves things with relative ease given the opportunities)

then there's a measurement problem. if someone is taught the importance of attention to detail since they were very little, taught to control their emotions better (eg. boredom), then they will likely score better on the hardware test too.

that said our collective knowledge is much greater than decades ago, our teaching methods are better too, but alas not everyone received the same top quality teaching.

plus there is a big issue with the curriculum. most people are tragicomically underskilled in dealing with themselves and other people, hence they are bad at recognizing and solving problems that brutally impact their lives (and the lives of those around them).

aaand of course there's the plain old resource availability problem (everyone inherits, the question is what. advantaged people get advantages with very high probability, disadvantaged people get disadvantages...)
You could substitute “trusted entities” for “banks”. Get ten banks on board, buy them each a raspberry pi, and you are up and running.
> should be balanced with omega3

Sources high in omega 6 are also high in omega 3.

> They also can go rancid more easily

More easily than what for example?
> Can anybody of sound mind make the claim that they are completely different recipes?

!=

> Can anybody of sound mind make the claim that they are different recipes?

You seem to have it backwards, those were your words. Not mine. A little ironic for someone claiming I can't read, but alright. It would be nice if you could keep your emotions in check though, both for your and my sake.

I of course agree that they are similar, that is pretty evident. But that doesn't matter to call it a different dish, e.g. an egg sunny side up is a different dish compared to a scrambled egg even though the ingredients are exactly the same and it's prepared in the same way too, with the only difference being that the egg is mixed/destroyed.

For the sake of argument we can pretend that the sunny side up was invented in India, now a Taiwanese dude comes along and decides to scramble it. Is the new dish an Indian dish? I would disagree with that.
Ask HN: Learn Data and Distributed Systems
I want to learn about data systems and distributed systems. I have been told by multiple people to read "Designing Data Intensive Systems" However, starting off with that book doesn't seem easy. Can someone suggest what path to take? What are the pre-reads for a book like this one.
Fyi - I have some experience writing SQL queries and have decent exposure to Machine Learning
Perhaps only the hackernews crowd plays the interesting games
One thing I've noticed with reddit is they constantly push violence to the frontpage and encourage it. Someone calls you a name or uses a racist word, here watch this video of someone getting beat nearly to death for speech and here are 1000 top comments as to why that is perfectly okay and acceptable.

I get the feeling the police state actually wants more violence and crime and therefore encourages it quite frequently. Slavery is legal as long as someone is in jail or prison. They have people working for less than $1/hr just for some extra snacks and perks.
That is one outcome. A person like that however will get another chance to change their mind.

Another possible outcome is that people will pretend the whole thing didn’t happen.

(From the viewpoint that it is possible to learn from other people’s mistakes, people are already pretending the tulip bubble, law’s scheme, 1829, 1969, 1999, 2008, etc. didn’t happen. That Charles Dickens, Emily Brontë and the other authors of those awful Victorian novels lost their money in railroad bonds. The difference is railroads go somewhere, Aries don’t.)
Hulu has an ad free plan and Netflix is offering an cheaper ad tier.
trustless is a myth. if there is no trust, there is no value.
They're the ones buying abandoned oil wells and coal power plants and starting them back up for more shitcoin.

Of course, the externality is shoved on ALL of us with worsening environment, climate crisis, higher cost of electronics to do *real* work (no, your 10^15 hashes where -1+10^15 are thrown out IS NOT REAL WORK).

I hope EVERY shitcoin peddler loses everything.
> but lots of things in history were stupidly valued (tulips, beanie babies, bored apes) and eventually the market did or will change

Only one of those things requires enough energy input to drive a massive V8 Landrover for a week every single time you try to exchange it, and it's not tulips or beanie babies.
Oh. I agree. "End The Fed" was an eye opener for me. But what we got is what we got. For now?? Until that changes Congress is as guilty as The Fed.
> Private or not, which country are you in that would penalise you if you donated to Wikileaks?

Didnt US companies stop payments to Wikileaks because they exposed the US govt, atleast with crypto Wikileaks and others can bypass US payments systems.
> It also begs the question, who’s really more intelligent? The person who spent their prime years pontification, or the person who won the evolution game?

You're right, who's smarter? The people who manage to reproduce thus pass on their genes or the ones that are "too smart" not to?
That's just not true. Leave alone being "widely known".

The stupid (or rather gullible/inane) angle is a fairly recent government spin to justify the aggression.
It can't be just smartphones, the downward trend started in the 1970's. My guess is television. The "idiot lamp" made idiots, QED.
Simplicity is one thing, but lacking things such as Enums is just plain bad. Is this a programming language from the 70's
Mikrotik has a budget equivalent: https://mikrotik.com/product/ccr2004_1g_2xs_pcie

It's nowhere near the Nvidia one, but it does have hardware acceleration for network-related tasks so if you're looking to offload networking/packet filtering/etc, it will do the job perfectly.
The cycle life is also insanely good which is why I'm so excited about LFPs. Pretty good density (not quiet nickel levels, but close), insane cycle life, and far cheaper materials.

It'll be a great solution for grid energy storage.

I'd be shocked if most short range EVs don't end up with LFPs.
Sure! Feel free to message me in github or via email.

I've abandoned my Pico8 on RP2040 port though, a lot of games simply need more memory than there's available. There's this crazy guy: https://github.com/yocto-8/yocto-8/blob/main/doc/extmem.md that managed to get external RAM over SPI working (RP2040 does not support memory remapping)

On ESP32 with SPIRAM (/PSRAM) Pico8 is definitely achievable, and _most_ games will run at a playable frame rate, but some won't; as an example "Rockets!", does too many calculations per frame to run smoothly, and the Lua overhead starts showing so I'm exploring ideas like an optimizing compiler that can run off-console, etc.

I don't thing TIC-80 will be doable, the constraints are significantly more relaxed. A Pico8 framebuffer is 32KB; in TIC-80 it is 64KB (and this doubles with buffering/DMA) but most importantly, code is no longer something simple like Lua
>The availability or non-availability of tagging on any platform has nothing to do with the quality or usefulness of the content.

It does if there is an ocean of info and you miss posts.

>tagging is mostly useless because there needs to be a canonical dictionary of tags to choose from

Wrong. Tagging is simply solved on many existing platforms and is extremely useful.
How are those the most successful companies in corporate history? By what metric? Apple took dilutive investment, as did Amazon, as did Google and famously Intel did also. Even the formation of general electric involved financing from jp morgan, who financed a lot of the early giants.
https://web.archive.org/web/20220513210317/https://old.reddi...
While that is true, I cannot think of a real world scenario where it is relevant, since I don't think you can actually produce a specific plain text, but only corrupt certain sectors.

And in case it is a real issue one can use ZFS or btrfs as the file system to ensure data integrity.
Recently I kept dreaming text, like headlines. Problem was as I read the words they kept changing, except one occasion when I got a real but puzzling sentence. Should have written it down because now it's gone.
How to Make $800m in Crypto, Soros Style – Breaking $UST
Not on HN.
I mean, fair enough, if that is true then respect to you. But I just figured it might come off as tasteless and maybe not a good idea to represent Heroku with.
I always had a problem getting the point of IQ tests. It necessarily makes assumptions on what intelligence is, seems a bit self referencing. It measures how you conform to what a specific group of people think intelligence is...

So I can't really take into high consideration inference based on average IQ test results. It could also mean that people are becoming intelligent in stuff not measured by the test. I really don't know.

Another point to consider: even if we had the perfect way to measure intelligence, so what? Why waste an intelligent person time doing a test about intelligence? What does this accomplish?
Do you use Android?
Repeatedly: E.g. the battle of France took six weeks, and the 2003 invasion of Iraq just over a month, never mind things like the Warsaw Pact invasion of Czechoslovakia that was over in 2 days. However, occupation can be a bitch...
> I've had increasing trouble reading books for years.

Me too. But I read way more than I read when I devoured scores of books. I just do it in the web browser.

I always had very short temper with books. If the book didn't captivate me with first few pages it never got read by me. I just moved to another one.

I always really liked anthologies of short stories, because amount of the ideas to amount of text was the best there. Way better than when the author stretched just a handful ideas into a novel.

So now, with internet filled with so many interesting texts I have real trouble with books, because my short temper got even shorter. I also know a lot more of the ideas than I did when I was younger so it's hard to encounter something novel to me. So a book, that's captivating, dense and novel is really a hard find. And others get ditched by me at some, usually very early, stage. I just have even less patience for them than I had ever before.
> every bitcoin transaction uses about as much electricity as it costs to run my house for nearly six months.

Why does that even matter, a rich guy travelling in a private jet uses more energy compared to you travelling in commercial jet, does that mean we should ban private jets?
Is there anything akin FFI but with static linking for any foreign (non C) language?