skysight-inc/HackerNews huggingface dataset:
Mastodon is the move to Canada equivalent of social media.
The Tech Spec's Tech Spec
Thanks for starring! We are already working on an example to fine-tune a LLM (using Bert from Huggingface) by doing sentiment analysis on the model outputs (filtering output cases where user feedback has a negative sentiment and fine-tuning the model to improve outputs in such cases). Also, thanks for suggesting NER and POS tagging as use-cases. We will work to add those in a couple of weeks to illustrate more use-cases for UpTrain.
Well, it isn’t easy and there is no silver bullet. In practice must use your engineering judgment and THINK about these tradeoffs for every problem you encounter.

That being said, there are some principles you can think about to help you get the tradeoffs right when you encounter a problem.

The main principal the author discussed is the idea of enumerating the good, rather than enumerating the bad. Deny everything except the good by default, and do it at every level of your system. This a good idea to consider, but may not apply to everything.

If there is something you don’t control, you are taking a risk, so understand it, and limit it’s potential impact. In some cases it might be better to use a tried and true library or roll your own vs using some fancy new dependency - or maybe not, that’s for you to think about, but it is worth considering carefully.

Try to keep things as simple as possible and use tech that are easier to understand, well documented, well maintained, hard to shoot yourself in the foot with over things that are fancy and cool.

For example say you’re building a distributed system.

At the network level, only allow the types of traffic you need, so don’t allow incoming traffic you don’t need, and don’t allow outbound traffic you don’t need. This means it’s going to be much harder for an attacker to get in, or exfiltrate data out. Use secure channels, for example mTLS where both sides authenticate each other.

At the application level, think about what data the user has control of and treat it carefully. Is there a way you can authenticate the user is valid, and authorize them to only perform certain actions that are allowed - can you use something like signatures to ensure that every subsystem can verify the data isn’t tampered with.

At the technology level, yes think about your dependencies, and keep things as simple as possible. This makes it easier to secure but also easier to maintain, reduces risk of vendor lock in ect. Depending on what your are dealing with, yes, you might actually want to have someone audit all your dependencies, or if that’s too expensive maybe you can isolate parts of the system that deal with sensitive information so those subsystems don’t use many dependencies. Your value proposition as an engineer is not to just string together code, but to build useful, reliable, secure, flexible software and juggle the tradeoffs. The dependencies you choose, and the way you choose to use them DO matter. Just like someone designing a bridge must use materials manufactured by a 3rd party, and assembled by another 3rd party they must be careful with who they select, and perform their own testing to ensure things will work. But those tradeoffs are going to be completely different than if you make cheap toy drones for example.

So basically in practice think carefully about the risks, costs, benefits and what tradeoffs are worth making. Keep relevant principles in mind like: favor only allowing the good, rather than trying to enumerate the bad, assume threats at every level, avoid foot-guns, favor simplicity, favor tested/trustworthy dependencies.
One thing I do like about Google products is they all seem to consistently have great support for keyboard shortcuts. I usually use Vimium [0] to make the web navigable via keyboard, but I generally disable it in Gmail, YouTube, Drive, etc.

[0] https://github.com/philc/vimium
Paying tax as an employee isn't opt-in.
Paying tax as an employer isn't opt-in.

Why both of them? This has never made any sense to me.

I don't know how it works in United States. In Europe, Companies declaring the money deducted from the salary they have paid to the tax office, the employee is correcting if it is right or wrong. If they need to pay, they pay more, if not, they receive more.

Anyway my feeling is still the same, being employed by google means you're unemployed. This is a feeling. Being employed by apfel would make me feel different.
A query builder is much more flexible. For example, in some cases there might be an additional condition you want to add to the WHERE clause. You can't do that with parameterized queries, so you'd have to make a new query for every possible variation. That may be fine in some cases, but it could become a maintenance headache in large project.
Making "cool shit" if possible.

The empty problem could mean you need a vacation or routine change.

I get this way in the winter too. Best of luck to everyone feeling this way right now. These feelings are mostly temporary. 3 weeks vacation to a new climate is nice. YMMV.
That's exactly what I took from "(cough cough) disorders".
I do not disagree at all with that. In fact, I also think I said, or implied at the least, that it was used incorrectly. However, for the sake of discussing the articles, every time this comes up, it would be more productive if people still understood that it isn't the monopoly part that is important, but the antitrust. Similar to what you were saying.
Yes, because he got stock as part of his compensation package. Last year it was worth more, but it's still worth a lot. If the product hadn't been successful, it would have been worth nothing. It's not a mystery at all.
See also: Star Trek's Ferengi . If you are unfamiliar with Star Trek's "cosmoverse," just go to http://perplexity.AI , and ask it to explain anything from that storyline, including the Ferengi, who existed solely to allow the writers of Star Trek to "mock" some of human's more ridiculous notions of "fair" and "what is." It be happenin'

The world isn't fair, and GPT-like technologies will and are already making sweeping existential questions for what it is to even be creative — this is such a rare "human" attribute as to be laughable that only a human could be capable of generative, useful content. True creativity is unhuman, even for those human's among us that think so highly of ourselves.

"Good artists copy, great artists steal." —P.Picasso
> 13 Ghosts

That game was ahead of its time.
Lol. A piece of paper with 200 passwords?
Stop looking at the carrot. Enjoy now.

“Dead yesterdays and unborn tomorrows, why fret about it, if today be sweet.” - Omar Khayyám

Disclaimer: life may now contain booze and floozies.
I, for one, appreciate all the video recommendations for local news stations in a country I don't live in.
Yes there is. Sync it with syncthing (or next cloud or seafile or...) and use a compatible client to read it on your phone like KeePassDX.
Conveniently in Rust because a block is an expression it lets you "convert" a statement (or sequence thereof) into an expression.

To be used sparingly, but very useful when it applies e.g. in the precise capture clause pattern, or for non-trivial object initialisation (as Rust doesn't have many literals or literal-ish macros).
I think the moral and message and consequences are stronger in Rick and Morty than your usual sitcom.

Your usual sitcom the heroes are infallible and get at most a slip on the wrist. Here the narrator is saying, this anti hero is so bad he could literally destroy the whole world. He can't undo his mistakes because some mistakes are beyond even his abilities to undo.

We're resetting the situation because that's what sitcoms have to do, but it's the opposite of a happy ending. That's the message I got at least. Similar to the vat of acid episode. That actions have consequences and not all mistakes can be corrected.

It's actually the normal sitcom heroes that get away with everything by virtue of plot armor or plot ingenuity, while Rick and Morty cynically reset it because the show must go on, while hinting strongly that this is the only reason it's allowed and consequences were as real as they could be.
Personally, I am always more suspicious of 20.1% in this context when someone is obviously trying to bullshit with fake precision in a context that is inherently not that exact.

20% vs 21% is basically meaningless in this context. We can't run it a 1000X or see the counterfactual to know what figure would be more correct.

I just take 20% to mean "a good chunk" and much preferable to a style of fake precision you seem to think is better here.
Show HN: 1 Million AI-Generated Domains Since Launch
Hi folks, I launched Smartynames.com on Hacker News in December, and you were instrumental in helping me spread the word and to get users. Thank you! Since then, Smarty has displayed 1 million domain names.

I have never set out to be a domainer, but as I have learned, it is a really big business! It is one of those boring tech ideas that is completely overlooked, and I love it.

There have been issues that I am yet to overcome, primarily due to heavy load and occasional spam. For anyone who has experiencing those, I apologize. My good friend and outstanding engineer Rafal Dittwald (https://github.com/rafd) is helping me tackle those, and we will.

On top of speed, Smartynames will soon be getting new domain and business generation-related features. If you are curious to see those, please sign up for a free account and I will keep you updated (but never spam!).

If you have any feedback, thoughts, ideas …etc, please reach out, and once again, thank you for your support!
Yeah, I'd be really curious how it fairs on jespen now. Back then it did...poorly

https://aphyr.com/posts/323-jepsen-elasticsearch-1-5-0
I gave Venture Bros a look a while back, and it scratched my pop-culture references + nihilism itch way better than Rick and Morty ever did. I don't know why though.

Nothing matters in Rick and Morty because they can always hop to another universe (as that universe's Rick and Morty die) and pick up where they left off. Similarly, Venture Bros nothing matters cause everyone can be cloned and fixed even if they die.

But somehow, Venture Bros hits my funny bone way harder.
>Nobody is contesting the physical reality of CICO; what they are contesting is that the "calories out" section of the diet is as easily controlled as previously thought.

I'm not so sure about that, I see a lot of claims otherwise on this article's thread which blows my mind a bit.

It's definitely an issue calculating and managing the calories out portion and for some people, it may not be an effective model to manage weight with diet and exercise, but I'm reading a lot of "this model is wrong" which is a little baffling to me.

Is it possible the caloric measurements are off? Absolutely, we may not even be considering all metabolic pathways, but hopefully a lot of its getting covered. CICO should be used as anchor points to help you guide your diet and find what works for you because everyone is a little different. Don't like a lot of vegetables, coffee make you sleepy and lazy? Hate cardio but love weight lifting or vice versa?

Try something else, but CICO can help you make a better grounded basis of comparison here to find what mixture works best for your body to manage weight and get or keep the body composition you desire. Does the model simply not work for your lifestyle? Try something else! But is it wrong? Eh, I don't think so.
This is something pilot programs are helping to figure out. The ideal case is the driver can set minimum discharge as they can set a maximum charge (that's how it works on the Ford Lightning.) on top of that many EVs have the ability to set a departure time and the vehicle will ensure it is charged to your maximum level at the departure time.
Someone can correct me if I'm wrong but what I got was that there's nothing to patent because phages are found in sewers and mud pools as is. Also every individual with a bacterial infection needs a custom cocktail so there's no one-size-fits-all pill that can be mass produced.

Phages also have their own caveats but I don't remember what it is. The TLDR is that in the worst case scenario we still have phages and as far as I understand no bacteria can adapt to phages. But we need to figure out a way to make it commercially viable as you put it.
Could someone explain this to me like I'm 5?
Super depressed and toxic and always right. He's shown as being that way because he understands the world better. The show might not praise him directly, but until the most recent seasons (where they appear to be trying to undo some damage) it consistently showed that he is a more effective person because of it.

Another example of the subversion that reinforces this "truth = negativity" moral:

(Spoilers)

The episode where they're trapped in the house with shapeshifting memory-modifying aliens pretending to be loved family members. Traditionally you would expect such a problem to be resolved through the power of love, or some other positive quality that bonds the family in a way the aliens can't fake. Rick and Morty inverts it and the problem is solved through the power of resentment. The message is clear - reality is ugly and messy and painful, and "love" is a powerful illusion created to fill a biological purpose, and you should be suspicious of it if you want to act rationally, which you should. Admittedly, the Mr Poopybutthole denouement partially redeems the episode by subverting its own point and cautioning against taking it too far, but the same message crops up too often in Rick and Morty to be ignored.
Yeah, sure, why not? If it has the same amount of content, or more, as YouTube, and I could watch whatever I wanted, just like on YT. Especially if it's decentralized, and could get around a few copyright laws - I'd love to be able to watch full episodes of shows like you could back when YT was in its infancy.

The no ads is also huge, I understand that YT needs to make money, but the fact that the ads are so abundant and sometimes the content barely loads while the ad loads in HD quality immediately is maddening and seems like YT is just a platform to push ads.

So yeah, I'd use that site in a heartbeat.
How's that related to this article? People should have the freedom to spread rumors and hearsay... according to Musk. But he still censored many people.
The title of the article is a bit misleading. It implies that he's leaving with a severance package -- that he was let go by the company -- but the $105M is from selling stock from his original employment package and it seems like he's leaving on his own volition.
Were most Big Tech companies overstaffed?
Painful as layoffs have been, will it lead to greater hiring discipline?
"SLA refund page"?
How I would fix Twitter if I were CEO
Not used Codespaces, but gitpod.io.

What you end up cobbling together to really create a fully fledged environment ends up being what the yaml does for you in a consistent manner.

Also, getting off of "DOCKER", and specifically "docker desktop" and its magic, is beneficial.
He likely doesn't have a deep understanding of the numbers, just thinks it's overstaffed and 20% reduction sounds good cause it's nice and round.
What are “books for cities?”
the products that both attacks the bacterias & are perfectly safe are probably very very hard to find, right. the product needs to be safe to flood your whole system with, because that's how pills work, you eat it and it diffuses everywhere in your system, there is zero targeting. Plus ideally it should kill all the bacterias very fast so none can develop resistance. it seems like it would be an incredibly hard balance.
So, the ship is sinking?
This is surreal to read. Can anyone please explain how is it possible for the board to value so much someone?

I don't see what can possibly justify this kind of compensation...
No pool parties either, they're getting into late night and involve alcohol as well.
it turns out that the glitter of this world offers no lasting happiness

this is perhaps evidence that you, the real you, the deep down you-you, is not of this world
I'm just a layman so perhaps you're referring to some top secret scientist internet but here on the normal internet it has been drilled into me through comments for as long as I can remember that a large part of anti-biotic resistance is being developed because of animal agriculture and that big food is responsible.
Those 5kwh "server" batteries are overpriced compared to prismatic cells and a bms.
How to Add a Software Bill of Materials to Your Containers with GitHub Actions
After 25 years, Goldeneye 007 gets its first modern rerelease Friday
The battle between capital and the labor is class warfare.
Top Lessons about Part-Time Work in Tech in 2022
It kicked in. I had not heard of the documentary until after India banned it.
It says "Learn the flags..."

But doesn't give me the correct answer when I'm wrong, so I can't learn.
I really think this is the problem the financial world of numbers and spreadsheets and funny money has become almost completely divorced from the economic world where people actually make things and do things, and most of the "money" produced is really just by finding complicated ways to transfer risk from one person to another while retaining the money.

Too many people are busy trying to play financial games and not enough are actually looking to produce anything of value. It is worrisome where this long term trend takes us.
I don't know what anyone else is chasing, but I know precisely what my primary goal is. I want to live a life of idle leisure. I'm 20% of the way to my goal now that I only work 4 days (32 hours) a week. It may be that I don't get to 100% until retirement, if I'm even able to retire at all. It may be that I have a setback and end up working 5 days again. It may be that I get extremely lucky earlier than that.

I know that my end goal is so unrealistic, I am very unlikely reach it if I try to make it in one step. Instead I'm always looking for small steps I can take to just get a little bit closer. And with that mindset, I have made real progress.
In this context, "server side" and "headless" refer to different things. "Server side rendering" (SSR) or "client side rendering" (CSR) refer to a method of rendering a website or application, while "headless" refers to the architecture of the application's business logic.

For more details: https://refine.dev/docs/#what-do-you-mean-by-headless-
It's not a comment on American bathrooms. There are people in Japan literally living in drawers.[0] Not even a joke. You're plan to "start ramping up immigration and allowing in those from cultures where having larger families is more of a priority" is quite frankly insane. I can't even call it naive as it's clearly drawn from a political belief that "immigrant = good" with no exceptions, all repercussions be damned, even in severely overpopulated countries.

[0]https://earthlymission.com/capsule-homes-in-japan/

These aren't even the smallest ones. There are ones even half the size of these.
Like... the UK? Not exactly the first place that comes to mind for "cheap labor".
These are good points and hopefully useful to other HNers.

I'm not overweight by more than a kilo or two, and I sleep on my back or side, so this doesn't match my case as much.
You might have misunderstood the OP: key stakeholders are people you care about - for most it’s themselves and/or family. That’s who you create value for.
It does in tiny text at the bottom middle
Probably the other way round. They’re getting rid of a product officer who has no faith in his product.
His equity was presumably worth much less when it was given to him.
Code interview: balanced parentheses problem solved in a creative way
One of the biggest compensation packages I've ever heard of (600M+ in 5 years) and he walked away a year in. Wow.
You're counting warehouse workers as employees, instead of as disposable meat robots. The layoffs are of people that matter -- software developers and only software developers
Why would I invest in a company that returns less than just sticking it in the bank?
There is a bit of all, content, publishers and self-served.

We already have +10.000 registered users (most signed up in the past 30 days)

About 20.000 stories are generated and some 50.000 images

We are releasing about 2000 books on Amazon with 10 stories per book, and pay royalties back to the creators of each story.

So there will be a lot of noise, essentially we are taking on the big fish.
Instead of bookmarking stuff that you would never later read, start relying on HN search. And coming soon would be better 'search' capabilities via ChatGPT ...
Sorry cant find it. But here a little calculation.
Someone who is 180cm has 80kg of lean mass potential. Someone who isnt trained but lean would be around 65kg or so. So 15kg muscle to gain. If training correctly this person can gain 1-2 kg of muscle per month. So 6 month max 12kg muscle.
Getting more muscle with training aint the hard part. Not getting fater while training for mass is the problem
Great work refine team!
This seems like an awfully high compensation package for someone who only joined around the time of the IPO.
I'm making a video game and once I'm done with the video game hopefully it's fun
At your level, you get a plaque. A cheap one. Plastic, maybe some aluminum.
Hi, good post man
Sounds repulsive, really. And this is supposed to be a comedy? I guess I don't get it for the same reason I don't get the love for "Breaking Bad." I'm a cynic but not a nihilist.
All I can say is, damn, props to him. Tricking the coinbase execs into giving him one of the highest paying packages for any product exec in history and delivering so little value in return is the kind of heist we should all aspire towards.
I mean ... he ran it by his team of 30 doctors he hired.
Imagine dozens of people calling every comment you make wrong, unprofessional or dumb.

There aren't many people for whom this would have no effect on the nature and quantity of their comments.
What will you use instead? What don't you like about teams (or wiring integrations)
This is such a funny question. It's not a particularly uncommon one either, but I find it so peculiar.

Who's "we" here? Are you saying "we're" the same, you and I? Are you using the royal "we"? Are you a group of people running this same account? But I suppose I do know the answer to that question, "we" is the group of people like you that is still fervently participating in the rat race.

Live as you can, live as you should. There's not much else I or anyone else can really say. If you have goals, try to achieve them. If you fail, get back up. If you succeed, keep on going. What are we going after? We're just living. Is there an end? Unfortunately, yes. But don't take it so seriously.

Read, meditate, go see a therapist, maybe take some drugs. You'll figure it out.
How long does it take to round trip through the network stack of 2 machines in a typical datacenter?
Often imitated, never duplicated — If you need external inspiration for starting a business your chance of success will tend toward zero.
Have you tried this? https://github.com/asdf-vm/asdf-nodejs#nvmrc-and-node-versio...

Also lts, lts-hydrogen, etc are available to install I can see when running `asdf list all nodejs`
What exactly is this site solving? I'm asking because I don't know
You think Labour wouldn't try and pull the same type of shit? The freedom loving "Lets have ID Cards" Labour party?
God..I hear ya. I'm at that midlife point where I'm realizing I'm probably not going to be a rock star or billionaire.
Dumb question, with all of this newfangled WASM stuff, why couldn't we also bake the Postgres server (and then client) into the code? I know the WASM runtime would need to expose the low-level ability to do filesystem operations, mmap()ing, network sockets, etc.
Oh totally. There is a large segment of Rick and Morty fans who have not internalised that Rick Sanchez is _not_ a role model.

They lay out that he is not a role model pretty clearly here: https://www.themarysue.com/pickle-rick-therapy/