skysight-inc/HackerNews huggingface dataset:
>At least based on my visits to Luxor, very few tombs have acrylic/glass wall protections to prevent it but it's ridiculously common to see tourists in some of the tombs doing that

I understand the sentiment, however I'm personally not in favour of modelling everything in society to account for the lowest common denominator and sterilizing everything in sight in response.

The issues you mention are nothing that couldn't be solved by advertising hefty fines and enforcing them.
I use Cloud Run and nothing is specially developed for it, other than just being stateless. I can take my container and run it on a generic Linux box with zero changes (in fact, I run it in WSL2 on my Windows machine all the time). And I just install the normal Node.js, imagemagick, etc in my Dockerfile, no special builds or flags.
This isn't related to editions; asm was never stable syntax and couldn't be used in the stable compiler; you could only use it on nightly and only if you opted in. This new syntax is something we hope to stabilize eventually.
I'm more excited about the possibility of a high quality desktop OS rather than the kernel. The Linux kernel is great but a great open-source desktop OS doesn't exist today.

Specifically, this product doesn't exist today:

- Desktop environment that matches or surpasses Mac OS in quality, performance and UX design.

- It includes seamless synchronization between devices.

- Apps are sandboxed, similarly to Android or iOS.

- There is a clearly defined platform / SDK, like in Android or iOS. If it works in your development environment, it's guaranteed to work everywhere.

- You can easily make a commercial product, like in Android or iOS.

- It has 10% on the market (or software creators believe it's on the trajectory to get there).

I don't understand why Google hasn't done this yet. Of course, the answer could be that such project just doesn't have the required ROI.
Others seem to think the real reason is DRM, which seems more googlish to me than Linux being GPL.
That's fascinating. Hopefully the effort can be revived should Google et al. pursue our health data.
Designing Data-Intensive Applications is probably one of the absolute best technical books I've read. I haven't done a second read through, but I can definitely see that being helpful.
Any to solve the SQL long string problem? I hate having to write another custom SQL migration script beside Prisma migration script.

For your reference: https://github.com/prisma/prisma/discussions/2138
Only just now looking it up, but it looks like it points back to an interview with Fortune:

> “Apple is a $30 billion company yet we’ve got less than 30 major products. I don’t know if that’s ever been done before,” Steve Jobs told Fortune magazine in 2008. He added:

>

> > ... People think focus means saying yes to the thing you’ve got to focus on. But that’s not what it means at all. It means saying no to the hundred other good ideas that there are ...

https://www.fastcompany.com/1693832/steve-jobss-strategy-get...

https://archive.fortune.com/galleries/2008/fortune/0803/gall...
Watch Office Space [0]. It'll teach you everything you'll ever need to know about big corps.

There will be office politics, somebody will always either be too hot or too cold in the office, connections will be much more important than talent... yeah, especially that last one. If you want to get anything done in a big company and have any sort of leverage anywhere, connections, connections, connections.

You might get a meek yearly review just because someone in your echelon has cozied up to somebody in a higher echelon and wants a raise.

There might be a company-wide call for product-ideas with the promise of leading your own team should your idea be selected. To be fair, that does happen but the best ideas will be rejected by the committee and then resubmitted as their own.

Whichever company you pick, read the glassdoor reviews and look for stories on reddit and HN. I don't have any links handy but over the years there have been quite a few on reddit about the company structure in GAFAM (Google, Amazon, Facebook, Microsoft). These pictures [1] remind me most of those.

[0]: https://www.imdb.com/title/tt0151804
[1]: https://www.greenm3.com/gdcblog/2011/7/5/organizational-char...
I rather like the Max Landis Dirk Gently series, albeit as its own thing: a drastic reimagining only loosely inspired by the source material, similar to The Shining.

The 2 1/2 Dirk Gently books are Adams' finest in my opinion. HHGTTG is fun, but it doesn't hold together as a cohesive narrative in the same way. It's such a shame that we'll never know how the third book would have resolved.
> Repetition can be incredibly useful. I can't imagine memorizing vocabulary or simple facts (when was FOO born?) without repetition. Of course, actually using the facts (or vocab) makes them stick better. But use is also repetition.

What exactly do you mean by repetition? If I'm memorizing vocabulary, repetition to me means recalling and writing the words down in some way (often according to some prompt or quiz). The repetition with this method works because of 1) recall strengthens the memory and 2) muscle memory of writing helps solidify it. But repetition by repeatedly reading? That simply doesn't work for me (and going by studies, it's a very poor strategy compared to retrieval/recall practice). Nobody who recommends retrieval practice says repetition by recall and producing it on paper (or however else) is a bad idea. Spaced repetition is also just a form of repetition. He doesn't demonize these forms of repetition.

Let's go back to what he said:

> One of these false beliefs is that repetition is the key to remembering; the more someone encounters material, the better the likelihood of retaining the information long-term. I can still remember, after receiving a test grade that I wasn’t thrilled with, believing that I would’ve done better if I’d just gone over the material more times.

Key words are "the more someone encounters material" (note the passiveness) and he emphasizes it with his own experience of thinking how he should've "gone over the material more often". It's really not that uncommon. I knew plenty of people in school and even in university whose only conception of learning was reading, re-reading and highlighting and maybe making notes. It was sub-optimal in so many ways. So to pretend that nobody does it ("Does anyone actually ever just read a thing over and over again hoping that it sticks?") seems a bit ignorant to me of how many people simply never learn good studying strategies.
NoSQL is on our roadmap.

Which NoSQL you had in mind ?
Procgen and MineRL Competitions
Some processors implement "Instruction Level Parallelism" where you can do arithmetic on many values simultaneously with special assembly instructions.

The most widespread cases of this (SSE, AVX2) came from Intel trying to get lock-in in the high-performance computing market. So it took a while for AMD to sell chips that implemented these instructions and even Intel's catalog doesn't uniformly offer them.

It's also tough to get the compiler to emit these instructions where you want even if it knows they're available (unsurprisingly, since you're asking it to auto parallelize a computation), so in the high-performance space a lot of people just have to resort to inline assembly.
Definitely, but I guess I'm implying many people don't think it's subjective. Should have probably put "common sense" and "blatantly obvious" in quotations.
Yes, I mean we shouldn't forget that asm today is a last resort escape hatch which should be avoided if possible.

EDIT: Just to be clear it's still important. But it's mainly used for a view "very high control" use cases.
Some while ago I reread Richard Dawkins's The Extended Phenotype, which he has referred to as his favorite work. You could say it's the logical follow up on The Selfish Gene, quite technical and expert-oriented, but Dawkins is such a talented and lucid writer that anyone with enough intellectual thirst can follow the arguments. I regard it a piece of philosophy as much as a textbook about evolution.
Thanks, glad you like Opaleye! I would like to start a project to improve programmer experience in Haskell. It's not ready to go public yet but if you want to know more then feel free to email me: http://web.jaguarpaw.co.uk/~tom/contact
I've been thinking about this a lot in terms of urban housing. Maybe it's just too expensive now, but modern houses just look like cheap painted boxes inside and out. There's no attention to small details, no flourishes or embellishment. It's depressing, especially compared to mass built housing from pre WWII.

All over the world it seems to be ther older neighbourhoods and houses that are most sought after. I used to think this was snobbiness, just the benefit of time (larger, more full trees etc), but the more I look, the actual built environment of these buildings is a lot more pleasent as well, especially if you consider them against what would be an equivalent new build.
People are scared of SQL or they want to use their objects for data access, business logic and views at the same time (leading to bad architecture and headaches), or they come from Nosql world, or they want a shiny new tool, or they do not understand features of their used db well, or because “everybody is using ORM zyz”... Just from the top of my head, there are probably more.
> e.g. dealing with memory-mapped devices, working on microcontrollers, using processor features that aren't exposed by the kernel or standard library

Or kernel features not exposed by the libc.
Check the commentary on LoTR military tactics, hardware, etc on https://acoup.blog/, it's a hell of a rabbit hole to fall into :)
> just a matter of time before types make it into the standard

I hope so too. TypeScript has done so many things right in its design and implementation - starting from Anders Hejlsberg, with expertise in creating numerous languages; backward compatibility to allow gradual and seamless migration from JS to TS; structural typing; editor/IDE integration via language server; good documentation; corporate backing (maybe not necessary, but like React, I think it was a big factor in its wide adoption).
Because compilers almost never write better code than humans ?

There are literally tens of thousands of bugs in the GCC and LLVM/Clang bug trackers about that.

I don't remember the last time I read some compiler-generated asm and thought "wow, that's great code".
Aren't those usually MMIO?
There are some places where you have to use assembly instructions:

- Operating systems. For example, the voodoo that happens during early boot, where you need to walk the CPU through different modes. And also fundamental kernel stuff like mapping memory.

- Cryptography. Crypto code is often hand-written in assembly for efficiency. (Sometimes it's even the other way around: crypto algorithms may be designed with specific machine instructions in mind.) Also there are places where you have to guarantee that some operation happens in constant time, which is hard to do when a compiler may choose to insert branches or jumps without telling you.

To compete with C in those spaces, Rust will need inline assembly features.

As far as safety is concerned, yes, inline assembly is completely unsafe. In that sense, it's not so different from calling functions in the C standard library (or any other C library), which might do absolutely anything with your memory. In all of these cases, the Rust programmer has to use the `unsafe` keyword, and it's up to them to make sure that Rust's rules are still respected after the unsafe code has run. Doing this properly, and wrapping it all in a safe Rust API, means that other safe code can then use your library without the `unsafe` keyword and without any risk of triggering undefined behavior.
The secret of writing childrens' books is to write something that an adult can read 200 times without going insane. You've got to put in something that the adults will smile at.

For slightly older children, try "The Bravest Ever Bear".
If I wanted to learn assembly language in 2020, what's the best book or resource people would recommend?
nope, someone else. I just stumbled over it and it's currently part of the package. Thanks for your effort ^^
Do you have a source for the claim that it was intentionally to keep rents high? That's contrary to the goals of most city planners, and would require corrupt influences.

While it's not impossible, it is a conspiracy theory, and requires evidence.
New Technology Apple’s iOS 14 Version Will Focus on Stable Performance
LinuxUsability: Have no respect for the status quo
> genetic variations between peoples on the African continent are larger than the variations to anywhere else

You are misinterpreting this, as does almost everyone else. Phenotypic variance is almost completely orthogonal to number of unique SNPs (which is what this generally refers to).

> genetic variation and variation in physical features are somewhat correlated.

This is not the case. You can have narrow population bottlenecks (reducing SNP diversity) followed by high variance in selective pressure. This is exactly what happened to early Europeans. You had a small initial population spread out to inhabit a large variety of ecosystems.
Stealing hearts is also horribly wrong, from the medical standpoint.
Trump's deeply irresponsible conspiracy theory on the man injured by police
This sort of instructions you often have intrinsics for though.
bing has under 3% marketshare vs 92.06% for google. As an advertiser or app/publisher, google has "the power to control prices or exclude competition."

https://www.google.com/search?q=bing+market+share
Apache NetBeans 12.0 LTS
Even distribution of points on a sphere (better than Fibonacci Lattice)
Folks are saying "get a lawyer". Note that you should get a lawyer who practices in the jurisdiction that governs your contract. It sounds like you might be in different countries, and even if you were just in different states this would be important.

Also, in addition to your contract, think about any emails or even conversations that affected your relationship. Most people don't realize that oral agreements are just as binding as written agreements in nearly all cases (not for transfers of land, or agreements that, by their terms, must take more than a year to complete). The difference is that oral agreements are more likely to be a he-said-she-said, since there is generally no documented proof of the precise terms.
> Also, thank you for using Intel x86 syntax instead of AT&T.

Thank you for helping to validate that decision; this is the kind of feedback we needed.

(And note that you can still choose to use AT&T syntax, it just isn't the default.)
Serverless.io is awesome! I don’t deploy to Lambda any other way.
I think one very common characteristic of most ORMs is that tables are defined in terms of classes (often called models). You then instantiate these classes to work with the model instances for data storage and retrieval.

Prisma takes a fundamentally different approach by generating a database client that returns plain old JS objects. We've written more extensively about this topic in the docs: https://www.prisma.io/docs/understand-prisma/why-prisma
And even then you have to assume that COVID-19 could be the only cause for an uptick in diarrhea. Not impossible, but extremely unlikely.

Judging from my discussions with my MD and peer-group, I'm under the impression that in Germany, at least in my region, virii with that symptom are circulating every few years. Would expect something similar for China.
Greatest Java apps ever written
That said, there has been a recent trend moving away from phishing. Exposed services are gaining more popularity,especially for cloud vms.
Unless the business owner already uses Trustwave, which it doesn't seem like they do, then I'm pretty sure this is a phishing email or spam. Trustwave themselves seems like a legit company. I've heard of them but I don't have any first hand experience with them.
I subjectively like AT&T syntax more (as a more familiar to me and having more "machine" vibe).

However, I recognize that it's objectively worse for a human coder and contains some syntactic footguns which shoot even a experienced coder regularly:

- `number` (memory displacement/pointer) used instead of literal `$number`. It's an easy automatic mistake even for a person who knows this very well.

- the SIB clauses for x86 (memory addressing with constant Displacement and Scale and Index, Base in registers) look like `D(B, I, S)`: it's possible to remember this, but reading/writing it is not as obvious as `[D + B + I * S]`.

- Intel syntax in general is more similar to high-level languages, even though it's more verbose.

- AT&T syntax has syntactic redundancies like '%' before each register which make code much noisier than needed.
There are two kinds of things: the ones that suck and the ones nobody cares about.
Making Sense of Kubernetes with Fairwinds Insights
That’s crazy surprising
How exactly should society enforce laws with no police? Mob Justice?
I'm working on open source solution https://github.com/vaulty-co/vaulty that may help with data tokenization, encryption, etc. Few cases from your blog post may be covered. I also created a guide on how to tokenize email address (it can be anything like phone number, IP, SSN, etc.) and let application use tokenized email when sending emails via Mailgun: https://vaulty.co/docs/cookbooks/email-list-with-protected-e.... Would be great to hear feedback if any :D
People who do horrible things are absolutely still human beings.

The test is your genome, not your actions.

If your life philosophy does not account for that, it needs to be replaced.

Dehumanizing people does not stop them from mistreating others - it encourages more of the same.
You could use an Oauth2 server to generate the entire flow including keys/tokens etc. There are self hosted options like ory.sh or you can get a premium provider like Okta/AUth0 etc.

If you want something simpler, you can just create your own API token for each user but then you will have to build things like regenerate, refresh, expire etc etc. Protocols like OAuth2 make all this standard but adds complexity.
Scarily close to reality :D
That's true, and somewhat ironic as I find myself building just such an environment because NodeJS is nearly impossible to sandbox securely, but V8 is built for that use case. Prisma (or anything else with a native dependency) would not run in that environment.
This is great advice.

> Your position is stronger than you think. A buyer will want your cooperation as a top priority.

To emphasize this: as the sole developer, the buyer is going to want to retain you (at least for 6-12 months, depending on the complexity of the software). The buyer's tech team is not going to want to reverse engineer software that's 20 years old. The owner of the company knows this if he's talked to any potential buyers so far (and if he hasn't, will learn it.)

> Best to be calm. This is your strong card, but keep it low key.

The owner may resist your initial ask. If you at any point see red and are tempted to raise an ultimatum, step away from the send button / tell him that you'd like to continue the conversation later. The worst thing you can do is back him into a corner where his ego gets involved. You may well run into conflict, but better to leave him aware that you disagree until you pick up the conversation again than to get into a heated dispute (that will incentivize him to think about a solution in the meantime too).
So very yes, so much modern construction is these ultra-brutalist boxes that, if they have any thought given to visual interest, is entirely at the scale of what's visible from several blocks away. And most of that is "we painted this big boring box in three different colors".

Deco buildings - as well as older stuff like the Classical Revivalist stuff that's so many public buildings in the place I live in now - have thought given to aesthetic variety at a scale only visible from the sidewalk. Allegorical sculptures? Decorative reliefs? Faces peering out here and there? Noveau-flavored ironwork? Yes please.
Except that compilers with inline Assembly also don't have dumb backends that just dump Assembly for as, like on UNIX.

They interact with the backend.

They weren't specific of x86, although I mentioned only PC, they were available across all 8 and 16 bit home computers and several embedded targets support it as well.
Nvidia Ampere 24GB GDDR6X Rumor – Tom's Hardware
“Wizard of Oz prototyping” is a better name for this idea.
You've made the one good point that I've seen in these responses, which is that I think all the pictures were sourced from the US. If black Americans are descended from a relatively narrow geographic region in Africa, that could lead to me underestimating phenotypic variance for black people in general. However, the problem would still exist when the technology is deployed in America.

> some who have naturally blonde hair and some who have blue eyes

I know they exist, but we are talking about statistical properties of entire populations, and these people are very rare.

> Humans' features in general, are more complicated then you realize.

It's not about what I realize - it's about what can be mechanically detected.
Differentiation Strategy (and the Sea of Sameness)
love it! a leap forward in usability. I'm already using some Open Transclude javascript on my own site and am looking forward to using this :)
> What is Rust's policy for signed/unsigned int overflow?

Defined, by default checked in debug mode and unchecked in release, unsigned wraps and signed wraps as two's complement. This can be overridden by explicitly setting overflow-checks in the relevant profile.

It also, separately, has explicitly wrapping, saturating and checking versions of basic arithmetic operations.
Oh, yes, stargate. Some civilisations had interesting level of automation in some episodes.
Excellent investigation on that SO question. I had no idea, thank you for sharing.
Works by the US government are generally in the public domain and not eligible for copyright.