skysight-inc/HackerNews huggingface dataset:
>Yes, `api/v1/employees/100` should return a 404, because that path represents the location of a specific entity and that entity does not exist.

A GET request to that path should return the current state of the resource at the path. As you note, the current state of that entity is that it does not exist.

Let's look at the spec:

>200 OK - The request has succeeded. The information returned with the response is dependent on the method used in the request, for example:

> GET an entity corresponding to the requested resource is sent in
the response;

Did the request succeed?

Yes, we found the current state of the entity so we return 200

What do we return?

"An entity corresponding to the requested resource". In this case however we want to represent an entity that doesn't exist.
The monied class isn’t everyone, the fact that you would suggest such implies you aren’t aware of the distribution of wealth in the US.

10% of households own 90% of the stocks held by households. Close to half hold none at all.
this is pretty funny.
You can fix that without going to activity.

I hate it, but... goto the chat channel and click in it.

I had someone on the team here send one, I was already in the chat and it still showed up in Activity. I just click in the message area and it goes away.

I hate Teams. So much.
this reminded me of how thankful i was to finally find contacts that work for me. glasses are annoying (to me).

it took ten years, lots of disappointment, and an old-school OD doing a number on my eyes after an allergic reaction to contact lens cleaner, but it was one of the best things to happen in 2021.

(I use Acuvue Oasys toric dailies.)
> Maybe the flagging algorithm looks at private sheets with much more suspicion.

You could be right, but jeez... shouldn't it be the opposite?
And it doesn't have to be something super difficult. I realized after my divorce a decade ago that due to all the hours I had spent working I was a bit of a shit dad and didn't really have a great relationship with my kids.

One of the best things I did was started a "family game night" every week. Bought a handful of board games and each Saturday we'd sit down with pizza and games. No cellphones at the table. It was a huge success for us. It allowed us to learn new things together and it helped build a foundation for us all to grow from. Even now with all but one of my kids grown, when we get together games are brought out and we have a blast. Nowadays I'm teaching my grandson to play some simple ones and can't wait for him to join in.
> going to different URLs for different resources is also nuts

It’s not, and if you want to know why it is not, think about what “URL” stands for.
I had a similar experience after posting a design focused article in a UI design sub Reddit: https://www.imkylelambert.com/articles/designing-for-mode-co...

It had comments and engagement, but the moderators took it down because it was considered `self promotion`
What do you mean by a reload, exactly? If the asset isn't changed it won't be re-imported. If you're seeing erroneous reimports, then that is something you can track explicitly.

If you're talking about code compiles or script reloads, that's not really what the asset database deals with. (Although you can script imports so its not entirely unrelated).

That said, they did a lot of work to allow you to handle larger projects with (albeit manual) incremental compilations with asmdefs and the like.

I'm also pretty sure they also didn't add more code reload points, they just added load bars for when they did the code reloads. If you don't want the code to refresh automatically, you can just turn it off.
Love the sync/async transparency in this language.
When you have moderators censoring medical studies that go against the majority narrative in the midst of a pandemic, that's a problem.

Dissent should be encouraged and valued, not muzzled.
I mean if I said it was for Direct Deposit this would match many candidates and employees experience.
Genome engineering and how our agricultural system actually functions. Next step is to have an in-depth understanding of the entire value chain of agriculture.
>In fact it might provide a similar kind of protection the physical chip provides for debit cards. Let me explain:

You didn’t explain how this gives you any protection akin to a physical chip on a debit card…

Let me illuminate the problem with a real-world analogy: this system is like me walking into a bank with a list of account names, and the bank issuing me debit cards for those accounts with random PIN codes, no questions asked. I’d have 3 attempts to guess the PIN, then the ATM swallows the card. Same as in OPs login system!

Still, don’t you think banks would be silly to do this?

>So after the 3rd unsuccessful attempt you start from scratch.

You don’t start from scratch. You do 3 attempts per user, period.

>The number of accounts you're targeting does not matter

It does matter. The entropy of their six-digit OTP is small enough that pwning at least one account from a pool of users is feasible. As I’ve shown above, the number of users necessary for pwning at least one account with 50% probability is log(0.5)/log((1 - 10^-[digits])^[attempts per user]). In our case digits = 6, and attempts per user = 3, which gives us ~231000 users. Which isn’t too many for a website.
Damn, didn't realize Chabuddy G is on hn
It'll be very interesting to see the impact on the games market 5 years from now on this, no competant business is going to use Unity for new projects after this.
Office is nice, as long as they dont hide Desktop downloaders on their website and try to force you to use their Web version which is like 1/3 of real desktop office.
I'm not a fan of them myself, but reddit has quite strict guidelines regarding submitting your own content.

https://old.reddit.com/wiki/faq#wiki_what_constitutes_spam.3...

https://www.reddit.com/wiki/selfpromotion

On that background, mods of a subreddit that agree with those rules banning you is not terribly surprising: If we ignore 2 posts from 4 years ago all you've done is post and comment on content from your own site.
Since a lot of interviewers conducted interviews from their homes during the pandemic, I am not sure just being able to see a person would provide enough assurance.
Reminds me of this - https://cdn.quotesgram.com/img/53/30/1253009639-7ab83ab4c9b8...
> MS Outlook on the other hand frequently crashes. Maybe there’s a memory leak issue?

Off-topic but I need to get this off my chest: Outlook on the web is a much better experience than the native app on the Mac.
One note on that: last time I tried installing edge it asked me to enter my password, which I find unnecessary.
>Discord is probably the only company that can make voice+chat+streaming software right.

it's absurd to a level where they could white-label their existing stuff and aim it at commercial applications.
This is really cool, but...

The syntax is based on xTalk (reminds me heavily of AppleScript). As much as I like to say languages don't matter that much, this style of "almost english" for programming feels so broken and misguided that it sours the whole (really cool) concept for me.

One of their examples includes the attribute text

make a Date then put it into the next <output/>

Like..what? Make a Date how? How do you "put" a Date? Put it in what? String formatted or something? How is "next" determined? I'm sure these are well-defined concepts in the language and can be learned quickly, but this awkward contortion of English makes me mentally double-parse every statement and question my basic understanding of English (as a native speaker), the underlying JS and framework, and how the language will map between them.

Even if their developer tooling lets you learn, write, explore, and debug the language, there is always going to be a mismatch in contorting awkward english sentences to communicate intention to the framework.

I wish the project success and perhaps this is a good evolution of this syntax and paradigm, but I personally would be hesitant to invest in it without clear escape-hatches for the syntax.
the problem with using this technique alone is it’s basically 1FA all over again. hacked email means everything is hacked. excluding the need to remember a password, how are magic links an improvement?
The spam that's allowed to be sent through Google Docs @mentions has been horrendous lately. What's even worse is they only let you ban the individuals. You can't turn off the notification email messages.

Thankfully I'm about ready to close down my Gmail account (still stuck needing a Google account for now) but it's a good reminder of what I won't be missing when I finally get out.

The risk of facing the "black hole" may be larger then you think. There's a person who posts a common "recovery how-to" in the support forums when people get locked out and that page got 83,878 views last month.
The electrical properties and strength of covalent molecular bonds during DNA splicing

Also microinstruction vulnerabilities of CPUs.
I have had a Google sheet I created years ago and edit periodically that has also been flagged but not removed. It has a number of URLs. I suppose it's possible at least one of the URLs is no longer legitimate.

There is a yellow banner "This file looks suspicious.
It might be used to steal your personal information" and an option to "Request a review".

It also says "This file can still be viewed, edited, and shared, but users will see a warning that alerts them that the content may be harmful. These restrictions were put in place because this content violates Google Drive's Phishing policy."

There is no indication of why the file was flagged.

Despite my concerns about a human looking at my personal file, I bit the bullet and clicked review several times but the banner remains after several months. Google support hasn't been helpful even though I'm a paid user.

I have now received 5 emails from "Google Drive Safety" notifying me of this alleged violation.
> The root problem with conventional currency is all the trust that's required to make it work. The central bank must be trusted not to debase the currency, but the history of fiat currencies is full of breaches of that trust. Banks must be trusted to hold our money and transfer it electronically, but they lend it out in waves of credit bubbles with barely a fraction in reserve. We have to trust them with our privacy, trust them not to let identity thieves drain our accounts. Their massive overhead costs make micropayments impossible.

— Satoshi, 2009-02-11
https://satoshi.nakamotoinstitute.org/posts/p2pfoundation/1/...

> pseudonymous: why do I want anyone to be able to see my transaction history?

Transactions are viewable in the blockchain so that every party involved can audit the system and confirm the issuance.
my take on a reactive language was a tiny AST manipulator language. Since `a=b+3` assigned the ast `b+3` to `a`, you would implicitly get `a==4` when `b=1`. There was also an "eval" operator for when you really wanted `a=b+3` to just assign the evaluation of `b+3` (a single number) to a.
I'll definitely agree that the Microsoft of today is not the Microsoft of yore. And I'll completely agree that Microsoft leans in and makes use of Linux. But to say that Microsoft "is a Linux company" feels like a bit of hyperbole.
I'd start by talking to talking to your state's Dept. of Agriculture (or equivalent). But in general, if you're selling only plant products (vs. meat, fish, dairy) that are ~completely unprocessed and safe to store longish-term at room temperature, then I suspect that 99% of the food safety rules & regs do not apply to you.
I can't help but notice that all of the historical concept art shows people sitting in one place while being fully-clothed and presentable. But phones have never been used that way at home. Even before wireless phones, people would buy extra-long cords for their phone handset so they could (for example) walk around in the kitchen preparing food while talking. And because phone calls are synchronous and intrusive, it's easy (and was historically common) to receive phone calls when you're not ready for video. I suspect that those two factors were at least as important as the high price in dooming any attempt at home video phones.

There's more of a case for long-distance video calls, but even long-distance voice calling was so expensive in the pre-cell phone era that it was rarely used for personal calls. Even the video calling we do today looks more like business -- scheduled conference calls -- than the personal phone calls of old.
This tip is gold. I had no idea Edge had this feature on Mac. I have used a variety of other tools in the past to create website "apps". Thanks!
Exosomes and Their Role in Cancer Progression
I just went and bought this stuff. I hope it works wonders.
Those titles weren't editorialized. They were edited in keeping with HN's title rule, which calls for editing titles when they are either misleading or clickbait.

I realize it's annoying when there's an edit that you don't agree with—and I would never claim that we get every case correct. But HN's overall approach to titles is one of the easiest things to defend about the entire site. It makes an enormous difference to the quality of the front page.

Edit: you can't compare "HN as it is" to "HN as it is, but without the title edits I dislike". That's not a possible alternative. The alternative is "HN without the current title policy", and that would be a front page inundated with linkbait and sensationalism—exactly what most people come here to avoid.
'As somebody who has helped plan coups...'
Why exactly do you call S3 "centralized"? You can distribute it around the world if you choose to.
The Fed has stated that it's within their mandate to let inflation run higher since it's been so low the past decade, to have a long term 2%. Their thinking was, while unemployment isn't down to pre-covid levels (it wasn't until March 2022, the date of their first hike), the last decade is actually -4% under a long term 2% average. 2021 coming in at 6% inflation would be a 2% inflation average the past decade, but it still only came in at 4.7%. Inflation at 3.3% this year would still be exactly a 2% average, and we're currently overshooting that, thus the frantic 75 bps hikes. But with July's numbers already looking greatly down, the rest of the year could still prove like a 2.2% yearly inflation over the past decade.

Feel free to look at how low inflation has been: https://www.usinflationcalculator.com/inflation/current-infl...
A question with no answer. It's an unnamed node tuned with automated routines. Classifier curators will scratch their heads too meanwhile victims have to wonder why this is acceptable.
> how our agricultural system actually functions

I take "actually" to mean that your understanding differs from that of most people. Care to tell the highlights?
moderators can do whatever they want, as long as they don't break site-wide content policy.

https://reddit.zendesk.com/hc/en-us/articles/205192355-What-...

You on the other hand are posting a link in light of the self-promotion guideline

https://www.reddit.com/wiki/selfpromotion

I'd avoid big subreddits like /r/technology if I were you and just post in niche subs.
For a somewhat more complete example which runs in browsers, check out my little pacman.zig toy project [0]. This is cheating a bit by using the Emscripten SDK as 'sysroot' (needed for the Emscripten headers to provide the glue to web APIs), and the Emscripten linker to create the additional html and js output file, but the actual code is all compiled with the Zig compiler to WASM, emcc is only used for linking.

The interesting part is that the platform abstraction is provided by the sokol C headers [1], with auto-generated Zig bindings [2]. It's interesting because the C headers use "Emscripten magic" (mainly embedding Javascript snippets in the C sources via the EM_JS() macro), and the Zig compiler is able to compile this (when it has access to the Emscripten headers).

It would be nice if the "Emscripten platform" could get the same type of cross-compilation support as the desktop platforms eventually, but apart from bundling the Emscripten headers, this would also require to implement some of the "Emscripten magic" in the Zig linker.

Maybe projects like WaJIC [3] can help with this (this basically implements the "Emscripten magic" of embedding Javascript snippets in C/C++ source code, but without Emscripten (only the wasm-opt tool is needed AFAIK).

Anyway... it's a lot of fun to tinker around with this stuff in Zig :)

[0] https://github.com/floooh/pacman.zig

[1] https://github.com/floooh/sokol

[2] https://github.com/floooh/sokol-zig

[3] https://github.com/schellingb/wajic
Wages are not up.
reddit doesnt care. there are some kind of words, like proper nouns (technology, politics) and country names which simply cannotbe substituted, not only because people go there , but reddit used to auto-subscribe users to their country's subreddit. Yet they have the same moderators for 15 years. And there's a lot of incest, with moderator teams recruiting one another. It's almost a shame that so many people are wasting their time trying to fight a system run by crazy people.

I think reddit is really making itself obsolete these days and it's a good time to launch a new boards mega-site
Well USD doesn't pass that acid test. If a single person gained all the USD why would people want it? The US military would be foolish to accept a salary in it, the nation would quickly move to some other currency.

Pretty hypocritical for Munger to hold so much USD, perhaps extrinsic value actually matters.
That may be true, but you just need to look at Unity's financials to see what fraction of the games market flows to them. https://finance.yahoo.com/quote/U/key-statistics?p=U

It's not _terrible_ but it's not great.
>> Everything is a Graph
>> Lisp: everything’s a list

Actually, the universal 'cons' cell data type of LISP (which is used to build lists) allows to represent graphs. Take, for example, Common Lisp. There are read-macros which make this possible: The expression #1=(hello . #1#) builds a circular list that only contains the symbol "hello" [1]. This example can be extended to build graphs.

[1]: https://letoverlambda.com/index.cl/guest/chap3.html#sec_5
I wish there was an open source spreadsheet solution I could host myself.

Update: thanks for tips. Will have a look when I get home.
Two frequently mentioned alternatives are Protonmail and Fastmail. I can personally recommend the former - free to test, imports history from Gmail, vastly more secure, UI is pretty nice if a bit slow (but I'll take the E2EE as an excuse).
remake it on Word 365?
The multiply instructions on later CPUs were implemented as microcode programs on the silicon, so sometimes it was faster to write your own or a specialised routine anyway.
Are you a Google One subscriber?
Edit: You broke reddit's self-promotion rules. I'd ban an account like this too.

Oh. I was expecting more than someone getting banned from a default sub. Any large and generic sub is just going to be a garbage experience no matter what.

> Are Reddit moderators just banning people at will?

Yes. Moderators are the unabashed dictators of the subs they moderate. If you want a different approach, there's nothing stopping you (or anyone) from creating a different subreddit like /r/realtech or something. This approach has many many negatives as well as positives.

> Is Reddit not interested in blog posts about technology anymore?

I'm sure _somewhere_ on reddit is certainly interested, but any large/default sub is going to be a crapshoot at best.
Struck dumb: why ‘the voice of God’ got booted out of documentaries
> for free forever

Translation: Free for maybe about 5 years if the company doesn't fold or less if it does
Developer experience and managing complexity
Your perspective just looks weak.
Shall I do all that after or before my 'American psycho' routine?
I'm not sure what your criticism is here, sorry.
if you get the most basic lenses, the glasses are super cheap (since it costs almost nothing to make frames).

if you start adding features (like thinner lenses, or coatings), the price adds up quickly.

i usually spent $60-$120 per pair of glasses on Zenni.
Regarding graphs, I also have wondered why thy are not part of the regular suite of collections / literal syntaxes in most languages. In fact, they are really rare to even see in day to day programming, despite that most of our problems could make use of them in some way.
I think part of it must come down to that you can't come up with a satisfactory way to encode graphs of data in a text-based literal. You will have to have a lot of repeating of nodes depending on how you want to express it. Take this simple graph from Wikipedia for instance https://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/6n...

We could express this as an adjacency list like

Graph{
1 <-> 2
1 <-> 5
2 <-> 3
2 <-> 5
3 <-> 4
4 <-> 5
4 <-> 6
}

So there's already a lot of repetition of the node labels, but in real life applications you would probably have actual data associated with each node (like maybe a user_id, or a name, etc, whatever the "elements" of your graph are). Actually, you would in most cases have some key that identifies the node (like user_id), and some other data associated with the node (like date of birth, locale, etc). So the above notation would force some kind of notation like:

("user1", (1970, USA)) <-> ("user2", (1980, UK))
("user1", (1970, USA)) <-> ("user5", (1990, RU))
...

So now the notation would require not only repetition of the node name, but also the data itself. This would be even more of a problem if the data was not a literal but was computed, like:
("user2", (getDateOfBirth("user2"), getLocale("user2"))

So then the way around this would be to use the programming language's own variable/identifier system, like

var user1 = ("user1", (1970, USA))
var user2 = ("user2", (1980, UK))
var user5 = ("user5", (1990, RU))

Graph{
user1 <-> user2,
user1 <-> user5,
...
}

or perhaps some other node registration system, and then just repeat the labels

Graph{
Nodes {
("user1", (1970, USA)),
("user2", (1980, UK)),
("user5", (1990, RU)),
...
}
Edges {
"user1" <-> "user2",
"user1" <-> "user5",
...
}
}

So now we've avoided repeating data, but we still have to repeat nodes. In some situations, a different way of expressing a graph would also be preferable to adjacency lists (you might want an adjacency table, but in sparse graphs the list is more efficient)

but by the way, for your graph system to be generally useful, you'll have to come up with a syntax and flexibility of design that ergonomically allows graphs that vary in:

directedness: support for undirected and directed edges
edge wights and data: edges could be identical or they could have weights or even keys and other attributes associated with them

graph/multigraph: can there be multiple edges between the same 2 nodes?

in statically typed languages, the data type of the "key" of the nodes, the "value" of the nodes, the "key", "value" of the edges, all have to be represented to some degree in the language's type system, so at least 4 generic parameters in a graph

So, seems that there is just a huge design space and a variety of different usecases that makes coming up with a simple solution to the general problem very difficult.
Most subreddits have policies against self-promotion, that is likely why your post was taken down. The ban seems kinda harsh though.
Didn't even know that was possible. But yes: huddling and sharing screens in slack actually deserves some credit because that always works well. (Jesus C. - I just gave software credit for working.)

In my mind Slack does not add one iota to mIRC 4.5 (?) which fit a single 1.44M diskette and came as a single executable. That shit started before the MouseUp event was even fired on pre-pentium hardware. What in the name of something holy happened?
Nothing.

Some people don't understand things, that is not the same as understanding nothing.

I also understand ashtanga and programming.