skysight-inc/HackerNews huggingface dataset:
> There is a reason regular front-to-back books are more popular then choose-your-own-adventure books. You know where you are, and you dont spend all day flipping back and forth.

I don't think that has anything to do with it. It's a roleplaying adventure where you need to keep track of things on a piece of paper and use dies for encounters. People that want to read don't want to participate, just consume. Active vs passive.

Regardsless, splitting 4-5 lines of code out into a function and giving that a proper name can enhance readability significantly. And modern IDE tools make it simple to read that without disrupting the flow. Visual Studio and IDEA for instance has a peak definition that makes it trivial.

If that function does not do what it say, that is a different problem.
I'm really glad that this brings hope into a dark season.

People are already rewriting Christmas carols: "wipe the halls with sanitizer, falalalala lalalala 'Til we get the cure from Pfizer falalalala lalalala"

https://etcanada.com/news/712874/chris-stapleton-wants-every...
That would be like a ten line bash script (the AWS documentation on custom runtimes is actually just a shell script that uses curl to show how easy this is).
My go-to resource for educated COVID-19 coverage has been This Week in Virology[1], which usually has between 4 and 6 virologists reporting and analyzing COVID-19-related news every week.

I've kind of OD'ed on COVID-19 news myself, so haven't listened to them for a while and don't know if they've commented on this vaccine yet, but they probably will, and for a thorough, educated, hype-free analysis, there's no better place I can think of to go to than TWiV.

[1] - https://www.microbe.tv/twiv/
I dunno, some people enjoy malls, they have experiences and products you can't find going from small store to small store.

Most small towns don't have a one off Chanel or LV store, and some people want that stuff.
That’s a great idea honestly. Even Rust would make a good compile target, the strong typing could help debug the compiler as you go. Although LLVM assembly is a good choice too!
Let me make the argument for short selling, directly from the article:

> "COVID-19 also revealed a dirty secret hidden in the crawlspace upon which many commercial mortgage-backed securities were built. A University of Texas at Austin study published in August claimed that banks knowingly inflated underwriting income for $650 billion worth of commercial real estate mortgages issued between 2013 and 2019, including by 5 percent or more for nearly a third of the roughly 40,000 loans. “A well-documented historical pattern is that fraud thrives in boom periods and is revealed in busts,” the university researchers wrote, adding that end investors were unaware of this hidden risk, a deception akin to buying a Ferrari secretly outfitted with a rusted-out Kia engine. It could be argued that CMBS had been a magic trick all along, with big banks one step ahead, luring investors to pick a card from a rigged deck. It took a global pandemic—an act of God—to reveal this financial sleight of hand."

Our (capitalistic) system is rife with fraud, and as the saying goes "fraud creates alpha", i.e. a competitive advantage. Now in a perfect market, the regulator would step in and prevent and punish the fraudsters. However, fraud has positive side effects such as creating employment opportunities (Wirecard employed 2000ee on avg. for 10 years, say), and regulators are underfunded and overwhelmed because less regulation is good for business.

So the economic function of short selling is to help price discovery at the minimum and expose fraud at the maximum.

Also short selling is a stupid and highly risky idea: You take unlimited (!) downside for a limited upside, and any short portfolio will ultimately go to zero due to markets going up on average.
> We also have to consider how much our subsidized postal systems are really just subsidizing one form of business over another.

Canada post is not exactly subsidized: https://www.ctvnews.ca/mobile/business/canada-post-group-rep...

But even if it was, this is precisely the type of thing it makes sense to subsidize, since its a business that enables other businesses.
Crypto Bot Trading Explained
A completely personal rant:

I was almost evicted since my landlord wanted to make more money with Airbnb. Before that I've already heard of cases how in tourists towns the local poorer population wasn't able to get long term apartments because richer tourists filled them through Airbnb.

Airbnb is cancer for the local population in any country that isn't very rich because locals & students then have to commute from further distances.

So banning Airbnb would be godsend for the local population of many countries, if you want to make money with renting open a hotel.

Obviously there is the argument "I own the apartment so I can do whatever I want". I really have no good counter argument for this as it is true. But all laws are really relative to the culture. This same person could then say "I don't owe the country any taxes because _I_ made the money".

So this just goes to show that we "normalize" everything based on laws.

For the greater good of the local population in poorer countries Airbnb should be banned.
GUTS Tickets | Frontend/Backend devs | Amsterdam, The Netherlands | ONSITE €35k-€60k p.a. depending on experience, part-time/full-time, SARS plan available.

GUTS Tickets is a ticketing platform & service that puts an end to disgraceful secondary ticket prices and ticket fraud.

We're have an open position for frontend/backend developers and for a Devops engineer.

Our (current) tech-stack:

Backend: Python / Django / REST API / Golang

Frontend: Vue.js / React Native

We're looking for anyone who does & loves any of the following. Overlapping skills or full-stack is a big plus:

Frontend JS development (senior/medior): JavaScript, Vue.js, CSS/SASS/PostCSS, Bootstrap

Backend development (senior/medior): Python 3.7+, Django REST API, Golang, PostgreSQL, CouchDB

DevOps: Gitlab, CI/CD, AWS, Terraform, Ansible, docker, Ubuntu

Competitive salary based on experience: part-time or full-time is negotiable. ESOP (SARS) or token plan are negotiable. Employee-based conference, hardware and training budget is available.

Perks: PS4 Pro and 4K TV gaming-battles, ping-pong tournaments, Friday-afternoon bbq/drinks on roof terrace (looking over Amsterdam), committed team-members from all over the world (all on-site), meetups & lightning talks, access to "fill in whatever you want" events & conferences.

Check out https://careers.guts.tickets/ (soliciting is NOT appreciated)
I wanted to write an LLVM backend for various instruction sets (e.g. Z80, R216[0]), since those would deal with the problems of optimization passes and register allocation for me, but the LLVM tutorial[1] makes it look so goddamn hard. Does anyone know of a tutorial or of a declarative way to write such backends for either QBE or LLVM? The QBE git repository[2] has a few backends but also looks similarly involved.

Comparatively, writing frontends is quite easy these days and many examples of compiling to IR exist.

[0] https://trigraph.net/powdertoy/R216/manual.md

[1] https://llvm.org/docs/WritingAnLLVMBackend.html

[2] https://c9x.me/git/qbe.git/tree/amd64
An immediate "but if it breaks down fast, how can it do anything?" thought springs to mind.

I know what you mean is "not dormant and doing something for months/years", but at the same time, if it can initiate a modification of immune response, it can do "other things".

I believe we must take the utmost of care at this juncture, and make sure assurances are not construed as in a poor light.
[Levinthal's paradox](https://en.wikipedia.org/wiki/Levinthal's_paradox) was the thought experiment that "proved" that protein folding is non-random. This is currently the dominant attitude in the field.

As others have stated, misfoldings do occur, and the protein is trying to achieve its lowest energy conformation, but the simplest answer is that we don't have a complete answer, hence the desire to come up with a reliable computational solution. We know how certain residues affect tertiary structure, and we know the measurements of secondary structures with a surprising degree of accuracy, but for a protein with potentially hundreds of residues, there are simply too many degrees of freedom to simply tack on amino acids and come up with a structure (although this is essentially the approach that markov chain, monte carlo solutions use).

[This article gives a pretty good synopsis of where computational approaches to the protein folding problem stand.](https://moalquraishi.wordpress.com/2018/12/09/alphafold-casp...)
In any case, I wish y'all the best of luck. Even if Slyde never achieves a perfect privacy story, it'd at least be an improvement, especially if coupled with a strong privacy policy and a solid picture of how things work behind the scenes.

Another huge help on the transparency front would be to at least ensure the source code for any apps is publicly available. Even if not necessarily under a FOSS license (though that'd be a bonus), the apps being as easy as possible to independently audit would alleviate a lot of my own concerns with these sorts of social networking apps doing scummy things like using the microphone for ad targeting.
Healthy skepticism belong in peer-reviews, in revisions of medical journals. Skepticism in the public space fosters anti-vaccine sentiments, adds to the already growing anti-vax movements and puts in risk the vulnerable in our society as they require shielding and for the rest of us to do our part.
I don't see the direct connection sorry. With currency, gold, etc, it can be stolen or controlled in ways a blockchain currency cannot.

I was merely talking about replacing proof of work with a human step rather than something computed. Intellectual labour (such as to plug our gaps in AI) moreso than physical. Answer a quiz when you buy a coffee or sit there for a few hours to mine coins while analysing a corpus. Something like that.

I saw that some exist, I don't know how relevant they are.
I love the findings, however, I think that the conclusions made for games might be exactly opposite to the coding style used for business software.
> If you care more about latency than consistency you have an 'eventually consistent' system, where a write will eventually propagate, but a read might get stale data.

Not just stale data, you can also have states which never actually existed. I'll steal the example from Doug Terry's paper "Replicated Data Consistency Explained
Through Baseball" because it's really good. Linked below.

Say you have a baseball game which is scored by innings. It's the middle of the 7th inning, and the true write log for the state of the game is as follows:

Write ("home", 1)
Write ("visitors", 1)
Write ("home", 2)
Write ("home", 3)
Write ("visitors", 2)
Write ("home", 4)
Write ("home", 5)

If you were to read the score at this point in time, and your system is strongly consistent, the score can only be 2-5 or a refusal to serve the request. If your system is eventually consistent, the score can be any of the following: 0-0, 0-1, 0-2, 0-3, 0-4, 0-5, 1-0, 1-1, 1-2, 1-3, 1-4, 1-5, 2-0, 2-1,2-2, 2-3, 2-4, 2-5.

Source paper: https://www.microsoft.com/en-us/research/wp-content/uploads/...
Also this video can help realize the amazing scale of this thing:
https://youtube.com/watch?feature=emb_title&v=QZAWqk-wrzc

This was basically a whole building suspended into the air. Science or magic? Amazing engineering to be sure (but maybe not built with maintenance and security in mind)
I see, your information is more up to date than mine.
Maybe the culture at Amazon isn't a fit for Slack. Depends on the users, I guess, but it may end up as a tool that hinders productivity.

I think Salesforce compares itself to Microsoft and sees its ambitions to enter ERP, CRM and BI markets and they already have a collaboration platform with Teams, for better or for worse.
It's a bit hard to use because you need two Macs plus an iPhone that's airdropping something to one of them and a lot of time, but I place a reminder: "don't airdprop anything to your Mac in an airport/square/crowded streets/google labs/etc..." =)

Just kidding, hope Apple will fix it but it's not easy.
Because the entire subject is so politicised and polarised that even daring to ask a question that might go against the current might get you labeled as a right wing science denier racist (based on the country, different labels might apply).

Edit: it's funny that the comment above gets downvoted just for asking a question. Great world we live in. We didn't learn anything from the past. Blaming and shaming gay people in the AIDS epidemic, some previous hastily released vaccines that caused the anti vaccine current to gain momentum (just look in the nordics at the current willingness to get a COVID vaccine, something like 1 in 4 maybe)
> Levinthal's paradox

What I was getting at here is that the answer to the question "does every protein have a default native conformation" is "yes."
Wikipedia [1] has an overview of mRNA vaccines, including a summary of some potential side-effects/risks. For more technical details, this review of mRNA vaccines [2] appears to be a decent place to start.

[1] https://en.wikipedia.org/wiki/RNA_vaccine
[2] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5906799/
Same in Sweden. Currently, 26% stated[1] that they do not want to be vaccinated. The issues with the swine flu vaccine are still fresh in our collective memory.

[1] survey done on November 19 by Novus
The code where the bug happens is legal C++, but it uses absolutely none of the memory safety improvements which were added to the language in the past... twenty years probably. It's basically C with classes.

If they haven't kept up with the changes in their current language, what makes one think that they would "move on" to the alternatives, two of which aren't even alternatives?

Before they switch to Rust it would be much faster and more efficient to use smart pointers, std::array, std::vector and stop using memcpy.
I remember reading that book in 2012, and it absolutely blew my mind.

The map reduce stuff hasn't aged well but the model for thinking about complexity in distributed systems is worth the price of the book alone.
Long functions are fine when you read sequentially, but when enclosed in a loop you have to scroll back up to recover context about the loop and this is disruptive. Carmack says it in the essay too

> Enclosing pages of code inside a conditional or loop statement does have readability and awareness drawbacks
LLVM is much better documented than any other compiler system, so I would just KISS and use it. LLVM is a beast, though, but to get started I'd want to focus on the my side of the compiler first (the sema is where the pain is imo)

Remember that there's no reason why you can't have an IR in between your language and the backend.

If your language fits, (based on the CPS it probably won't but still) you can use a subset of it as a representation of that IR and use lowering to rewrite expensive constructs into smaller ones, greatly reducing the surface area you have to work with.
Modifiers like inline and register are left overs from the days the compilers had to work in 64KB or less and needed every help they could get from the developers.

Nowadays most optimisers ignore them anyway and use heuristics to decide if and when they actually care, and also inline when not asked to.

If you really want the original behaviour you need to use non standard modifiers like forceinline.
Try https://github.com/rui314/chibicc
Generate an image with NN-SVG. Generate stand-alone C code with NN-512 (https://NN-512.com)
I've been following this closely and put a fair bit of time into porting a CAD tool to this new process.

I won't be submitting a design at this time.

The Google sponsorship comes with a lot of strings attached. That's okay, "he who pays the piper calls the tune". Unfortunately unlike MOSIS and IMEC there is no option to pay your own way in order to drop the strings. Based on MPW charges for other foundries through MOSIS+IMEC the Google subsidy is worth around $5k-$10k per submission [1]. But there isn't any option to pay that amount yourself.

One of the most problematic "strings" is the fact that you do NOT get a reserved booking. This is a big issue because for anything more serious than an undergrad-level "hey I threw a pile of verilog at the place+route tool" the designer time invested will be worth a lot more than $5k-$10k. But they expect you to invest this with zero guarantee of getting it fabbed, which means that investment can easily get dumped in the trash bin. Project selection is "random" which is sort of just another way of saying "unaccountable".

The other problematic "string" is the Management Engine Padframe [2] they wrap around your design. You can't touch it or change any part of it, and it sits beteween your design and every single pad that faces the outside world. This sort of Management Engine garbage is exactly what we need open silicon in order to avoid. Yet here Google and Skywater and eFabless are sticking it back into the mix. Oh, by the way, this makes "OpenMPW" totally unusable for any RF work, or any design that needs an analog input.

Kinda miffed about all this, especially that they sprung the "Management Padframe" on us two weeks before the tapeout deadline. That screams to me "this is not for serious designs, please undergrads only thanks".

[1] https://europractice-ic.com/schedules-prices/

[2] https://github.com/efabless/caravel

PS, It's also intensely irritating that you're forced to create a LinkedIn account and must use your LinkedIn account to log in to the MPW upload site. That is some amateur-grade personal data harvesting there. Serious MPW providers, like MOSIS who have been doing this for 25 years, give you their PGP key for you to encrypt the GDS with and don't put you at the mercy of deplatforming by LinkedIn for whatever lame reason LinkedIn cooked up this week.
The original deadline was two days ago, but it seems to be extended indefinitely. The reason is that all parts of the stack, caravel, openlane, openroad, and the submission process itself are under heavy development that is only just finishing. Much frustration and hand wringing has been had in their slack group in recent days.
Introduction to Google Firestore
the page lists :

There's no perfect textbook for this class, but there are some relevant books:

Data Structures and Network Algorithms by Robert E. Tarjan (covers BSTs, splay trees, link-cut trees)

Open Data Structures by Pat Morin (covers BSTs, B-trees, hashing, and some integer data structures)
The thing that sucks is that a lot of the publicised grievances are always with the demand side, and never the supply aka the home owners. Since they are richer or something, denying them side income or filling an empty room that would otherwise go unused is supposed to be a loss they should stomach, not to mention the savings/ better experience for the renter who doesn't want a hotel experience.

And yes, there are lots of serial property owners who run lots of homes on Airbnb but I really don't think regulation can be nuanced enough, at least what's been proposed.
The compiler can inline things for you. There is a way to specify that a function should be inlined: inline.

https://en.cppreference.com/w/cpp/language/inline

If this specifier is used, then when your inlined function is compiled there will be no function call, just the inlined code.

This is just a hint for the compiler, though. The compiler can ignore this hint, and usually does.
Terraform works with everything, everywhere.

CDK gives you a TypeScript/JavaScript/Python/Java dependency.
Academia is doing a lot of advances every year. The fact it didn't make _this one_ is not really relevant to postulate that academia is inefficient.

It happens that the team at deepmind is apparently pretty damn good at deep learning problems, so they're going faster than matching academia labs.

It's not to say that academia has none of the problems you mentioned, but it's imo unreasonable to expect that, in a world where both public and private labs exist, only public ones would make advances.
It’s good for users that HTML, CSS and JS are separate languages
I kind of agree here, is Office 365 stuff targeted at devs and software companies? I sure don't care about it when I'm shopping for managed cloud services and infra to run my software.
> Very rarely has any cryptographic algorithm been broken, but often one of the other links in the trust chain has broken.

The whole point of Ethereum is to reduce/eliminate those links in the trust chain.
This. It is absolutely my favorite piece of gear when hunting, hiking or fishing because it just works. I have the Solar Version and while it can’t fully recharge from solar with GPS in full power tracking, it’s amazing how long it’ll run in expedition mode.

More importantly it looks like a G Shock and is similarly tough.
By the time we all retire in a few decades they'll be a thing of the past, probably.

There's so much low-hanging fruit to pick in that code and switching to Rust is like saying that we should go to Mars to pick fruit instead.
Carmack was talking about a different kind of inline :-)
Western Australia signs whole-of-government agreement with AWS
On the opposite end, reading long functions can be hard when they mix levels of abstraction, or their lack of abstraction buries the overall logic with details.

If I'm reading a novel, it would be jarring to read "and then he took 45 steps of average length to reach the kitchen" instead of "he went to the kitchen".
I'm glad you've taught yourself infra things as you needed. But, you see, this is an anecdotal proof (like the whole article, anyway).

Learning infra is not the case all the time. Some companies choose AWS (or any other) for speed.

We can, again, argue but the argument is my PoV vs yours, or any other new commenter. Although I know how to maintain small infra: bunch of vms, reverse proxy and an rdbms, I'm not really into hosting HA Rabbitmq or Postgres myself. There is a ton of problems and configuration options coming from replication and consistency I would rather pay premium to people who have done it in the past.

I want my team to build solutions solving customers problems instead of fixing bugs in our replication code. It's all about perspective, I guess we can't reach a definitive answer for one or the other.
No, Pressured Water Reactors (LPWRs) are large, expensive, dangerous, etc. Molten Salt Reactors, especially Thorium Molten Salt Reactors (e.g. LFTR) are much much smaller and passively safe.

What you're missing is that cost scales with volume. If you use a technology that allows you to reduce your reactor size by a linear factor of 2, you reduce its reduce volume and cost by a factor of 8.

Likewise, while ITER is uber expensive like large PWRs, ARC is 10 times smaller, and a factor of 30 times or more cheaper. It's also not as complex as some fission reactors, the most complex elements being the HTS magnets and the blanket.

This is the problem with ITER and PWRs, they have convinced the public that nuclear energy is inherently dangerous and expensive and impossible to make substantially safer, cleaner, and cheaper, but that is false.

You should look up at the history of LPWRs vs MSRs from the guy who invented them. There's a documentary on the Oak Ridge Molten Salt Reactor experiment. He himself thought LPWRs were too dangerous requiring ginormous size and shielding, but the US government and cronies, preferred LPWRs, and so MSRs were abandoned, despite successful trials.
In C this is because the inline qualifier has at least as much to do with linking and controlling symbol definitions as it does literal inlining of the code into the caller.

Relatedly, in languages like C that have global mutable state, it's the callee who knows better whether and when it's safe to inline code, not the caller. Ditto in languages (like C) that can have complex linking semantics, multiple function definitions, etc.