skysight-inc/HackerNews huggingface dataset:
Writing backends to integration into compiler stacks like LLVM is as challenge unless one is quite deep into compilers.

If the idea is just to learn how they work, it is easier to just dump an IR that is compatible with a macro assembler, then just call the assembler with your macro definitions on the generated IR.

It won't win prices in performance, but one gets to learn how things work and will have a compiler with proper binaries at the end, and one can fine tune the macros to improve the quality of the code anyway.
I am also working on a compiler and need to decide on a backend soon. I currently plan to use C (clang) as IL in the first iteration, with the option to upgrade to LLVM IL later.
I wonder whether there is any easier alternative. I definitely need to start with a framework that takes text input, because everything else would be hard to integrate with the TypeScript-based interpreter of my language. And it needs to work with a runtime written in C. QBE looks nicer than LLVM's IL, but I wonder whether it would cause more trouble in the end.
EazyPG is hiring its Founding Engineer
He's probably referring to the international postage system which makes it cheaper to ship from China than in- country.
> Fitness and nutrition advice seem to change more often that the favoured JavaScript framework of the month.

You are certainly right there. I think the problem is that the sizes of different effects rarely get reported. So a just significant study that showed a 4% improvement is reported as the new “truth” of the week.

But the fundamentals are the same and very simple. Almost all of us should eat more vegetables. Maybe raw kale is slightly better than tomatoes, but that effect is dwarfed by the effect of switching your french fries to tomatoes. Almost all of us should move more. Maybe 20 minutes is slightly better than 3x7, but that is nothing compared when you go from nothing to 3x7. And if 3x7 is what you actually have a chance to do, that is what you do.

So, for most of us, move more and eat more vegetables is what we have to remember. The rest is just noise.
I can see no mention in article of Airbnb asking for a bailout in Canada and in turn Canada slapping a tax.
I'd love to see a source for that. Just a couple of weeks ago there was an interview with a girl with narcolepsy on SVT (Swedish public broadcasting). This was regarding people being a bit wary of the new vaccines. I can't imagine them running a piece like that if it had been debunked.
Location: Ottawa, Canada (American citizen)

Remote: either/or

Willing to relocate: yes

Technologies: intermediate Python, R, Java, HTML/CSS. Some JS, Node, Flask, React - https://resume.creddle.io/resume/2pbixebvxyr

email: carson.fischl [at] hotmail.com
Inline in c++ doesn't do what many people think it does, i.e the keyword is neither necessary nor sufficient for performing the inlining optimization (although the compiler might treat it as a weak hint).

Instead is a directive to the compiler to ignore the One Definition Rule for the function and it is an artefact of the header inclusion model of compilation.
C++ hasn't meaningfully changed a huge amount since '14, although the committee's latest abominations are starting to hit the big time.

C didn't have proper atomics or a memory model until 2011 if I'm not mistaken, and that is important.
I think that's how it's going to go down in most countries. No need to waste precious vaccines on us who can work remotely and can limit our outings to the local grocery store and the park.
Serious question: if you're a young person with no health issues, should you even get the vaccine?
I had COVID-19 early in the year, and so did my Wife (not sure about my Daughter, harder to tell with kids).

I would really like to know whether I should get the vaccine or not? All the info that's out there says that immunity to C19 is temporary, so a vaccine after having gone through it doesn't seem redundant.

Does anyone know if there's been any research on effects of the vaccine on the people who got C19 and recovered? I'm especially worried about possibility of a cytokine storm possibility as a reaction to vaccine.
> My suggestion is just learn how to write secure code in C.

That is a good suggestion to an individual developer. What is your suggestion to a lead developer of a big organisation? Let’s say to the CTO of Apple.

You can see at that level of abstraction the “make sure every one of your developers know how to write secure code in C and they never slip up” manifestly doesnt work.

You can fault individuals for bugs up to a certain point, but if we want to make secure systems we have to change how we are making them. To make the whole process resistant to oopsies.
It's a bacteria and not a virus, but it's true for whooping cough, as one example.
Pfizer submitted an emergency use authorization request to the US FDA on Nov. 20. Why was it not approved within a day or two? Is it merely a matter of reading the submitted paperwork and scheduling a committee meeting? There better be a damn good reason, because people are dying out here. I understand that trials take time, but we already have trial results now, so what's the hold up?
what do you mean by buffer in this context?
> hang out with their buddies in the sunshine or something equally risky

Spending time with people outdoors, especially in sunshine, is not risky, and for regions with serious outbreaks is an ideal way of finding compromise between keeping people isolated when indoors and allowing people some much needed social interaction.

I'm from Melbourne Australia which is just coming out of one of the longest/strictest lockdowns in the world, and all the evidence has been that letting people have some social interaction in the outdoors is beneficial to people's mental health and not a contributor to viral spread.
For comparing email service, cloud services are superior for spam reputation because they are big.
I sometimes find myself refactoring helpers by folding them back into the caller when I'm pretty sure that the helper won't be reused and that the caller won't end up being too long.

But I don't think I'd like writing long functions as a system or philosophy; I think there is a threshold where a function becomes fat enough that it hurts readability.

Code is an art form.
Is it just me or does that seem somewhat overpriced?
That enterprise need reliability in Office land is a myth and MS is pumping out half baked systems just like Google.

Flow, Teams, Lists, Planner, Sway, Stream, Forms, Kaizala...

Sorry, but these aren't battle tested enterprise apps at all. Could as well pull random apps from the Google store.

Whenever something new releases the first reaction already is "not again"...
That's where editor folding comes in.
There's thousands and thousands of pages of trial data, and if there's a significant screw-up, it would destroy public trust in all vaccines for decades.

https://en.wikipedia.org/wiki/Dengvaxia_controversy
Is there a correlation between liking sports and valuing ethical gvmnt? I think there honestly might be a small one but plenty of educated adults like sports
Heh, cool. There's a bunch of bugs here: the FEN parser accepts totally malformed stuff, which desynchronizes the internal state and leads to some odd behaviour (as far as I can tell, this is what causes it to erroneously output no moves for a reasonable position), and Stockfish will pretty happily analyze nonsensical positions and explode. I looked into the latter issue, which can be triggered even with "mostly-valid" FEN input, such as the "fixed" FEN from "The Endgame":

position fen 4kb1r/B2pqBpp/3P1n2/Q7/PP2PPP1/1K4RP/8/8 w - - 0 1
go searchmoves

With a debug build, Stockfish crashes immediately on the following line (Position::do_move, position.cpp:726):

assert(type_of(captured) != KING);

As noted in the article, the position is invalid as the black king is checked on white's turn. During move evaluation, the king capture is considered as a possible move for white, which crashes in the assertion.

In a release build, without that assumption, Stockfish happily continues examining this line without a black king present on the board, and somewhere deep in the evaluation attempts to locate the black king (evaluate.cpp:540):

const Square ksq = pos.square<KING>(Us);

This fails, producing a ksq value which is undefined: it uses tzcnt, which returns an "undefined" value if the register is zero (and it is, because there is no king so the bitboard is zero). The likely value is 0x40, which is out of bounds; any later operation that tries to index by this will explode in exciting ways. For example, in the same evaluation function, we have

b2 = attacks_bb<BISHOP>(ksq, pos.pieces() ^ pos.pieces(Us, QUEEN));

which indexes an array called BishopMagics with ksq; this goes out of bounds and accesses a wild pointer.

I was unable to reproduce the second crash, "Win by Segfault Attack".
VPS packs but EC2?
> It’s a monopoly in that they are the one that exists and other things cannot, legally, since they had a business model that they must now change.

This is nothing like a monopoly.

It's like Netscape had a monopoly on browsers because they were the first to ship when HTTP 1.0 was finalized.
Unfortunately this sounds too good to be true. Based on what the article said a single core is about as fast as all cores on the Raspberry Pi 3 combined [0] while still consuming less power.

Why are there no other embedded processors with similar efficiency and performance? If you can get an edge through a bespoke ISA then there would be at least a few manufacturers producing such a highly efficient chip with their own proprietary ISA. Hardware companies would then try to make it work despite the proprietary ISA because the benefits are too great to pass up.

[0] https://www.eembc.org/coremark/scores.php search for Raspberry Pi 3 (exact score: 15363.93)
UK health care workers were one of the main groups affected by Pandemrix-related narcolepsy. It was a bit of a scandal over here, though perhaps not the most well-known one.
RNA is definitely not like an "abstract syntax tree" or "intermediate representation". It is the final machine code that is executed by ribosomes to build proteins. Proteins aren't really "executable programs", they are either passive building blocks or simple tools that do the same thing over and over again.

There are "programs" implemented by proteins and other components at a higher level (even things like clocks), but trying to include everything in one metaphor will stretch it to the breaking point.
Developer Hector Martin Announces Patreon Funding for Native Linux on M1 Macs
Instead of cramming the description into a NonPunctuatedFunctionName, just lay down some scoping brackets and write a comment.
IDEs are food at folding code.

If the function doesn't need to be called many times, it doesn't need to exist.
Pfizer concluded their trial and filed for approval with the FDA almost two weeks ago. People are dying. Why is it not approved yet?
Everybody just write wishlists so your friends would enjoy rather than struggle every time you invite them to your birthday.
Wow this sent me down a rabbit hole.

How are the transactions composed, with a smart contract/s, in combination with Dex API’s?
So, once your super secure local app will remind you to contact a friend, how will you message them to exchange detailed personal stories? Gmail? Facebook?
There was actually a big thread about this category of software earlier today: https://news.ycombinator.com/item?id=25270001
> Personally i'd rather there just be more housing so the market can balance out.

to build houses there is a need for a underlying infrastructure (roads, electric grids, gaz pipes, whatever...). Who's going to pay for all that when often existing ones are barely maintained?

Now cities could have more skyscrappers to house more people as well... but there is a lot of NIMBY involved as well, it's a complex subject.

I'm not opposed to Airbnb as long as they are subject to the exact same standards and laws as hotels, in dedicated buildings for instance. Obviously, very little hosts would want that.

Airbnb'ing an appartement can drastically affect the quality of life for neighbors as well.
Code folding solves this problem.
Sorry, I think you misunderstood my request. I was asking for a way to get all posts which have more than X comments.

For example, give me all posts which have more than 100 comments.
There is a footnote that specifically mentions some additional funding to repair Hurricane damage to what sounds like Arecibo.
In Canada ex post facto laws are prohibited in the charter of rights and freedoms for criminal matters only - and this isn’t an absolute prohibition either. They are permitted for civil matters.

It’s an interesting thought exercise, and fairness would in my sole opinion be based on whether they knew they should have been paying the whole time and were getting away with it. It won’t happen, though.
Daniil Kharms, early Soviet-era absurdist, avant-garde writer and poet. When I was in my early 20s, he had a huge influence on me.

A random piece (yes, many, or even most, are like that):

---

Blue Notebook #10

Once there lived a red-haired man who lacked eyes and ears.

He was also lacking all hair, so he was called red-haired only with a large degree of generalization.

He couldn't speak, as he was lacking a mouth. The same with his nose.

Even arms and legs, he just didn't have any. Nor stomach, nor backside, nor spine. And no intestine. He didn't have anything! Therefore it is totally unclear who is being discussed.

In fact, let's not talk about him anymore.

---

More examples:

http://www.scn.org/realpoetik/Daniil-Kharms03.htm

http://polyhymnion.org/lit/harms/

And his Wikipedia page:

https://en.wikipedia.org/wiki/Daniil_Kharms
Yes, thank you for the clarification. We had some problems with VPC-SC in the past. (ML training) and since it was Beta, there was no accountability. Anyways we are a AWS shop :)
https://www.sciencedirect.com/science/article/abs/pii/S10870...

>In our paper, we show that the risk appears to be limited to only one vaccine (Pandemrix®). During the first year after vaccination, the relative risk of narcolepsy was increased 5 to 14-fold in children and adolescents and 2 to 7-fold in adults. The vaccine attributable risk in children and adolescents was around 1 per 18,400 vaccine doses. Studies from Finland and Sweden also appear to demonstrate an extended risk of narcolepsy into the second year following vaccination, but such conclusions should be interpreted with a word of caution due to possible biases.
"Yeah, but you could say that for roads as well, or any utility"

No, roads are socialized, not subsidized.

We socialize them because it would be impossible otherwise - each road represents a kind of 'single access point'.

Package delivery - other than possibly ensuring packages are delivered to remote areas - does not need to be socialized, and probably not subsidized.

Farming - again, absolutely not socialized, because it would be absurd for our governments to be running all of our farms - but - there are strategic subsidies because 'on the whole' we want to make sure certain crop availability (and for other reasons).

We subsidize entertainment: want to make a movie in Canada? You get tax breaks.

There's no reason at all to allow for skimping out on VAT for most online services.

And FYO with respect to 'looking for tax loopholes' - don't discount the ineffectiveness of the bureaucracy. We are 10 months into a pandemic, and the PM of Canada, just 2 days ago, the PM of Canada was zooming with a Big Tech CEO about some cool ideas for 'Apps with Contact Tracing' and other things that they have absolutely made 0 progress on. Compared to places like Taiwan and S. Korea and their very active operational engagement of COVID, sometimes I wonder how the mail actually does get delivered.
In a language like guile scheme or racket this could be implemented as a macro. In guile, the (define-inlinable ...) Is already defined as a macro, and while doing it in reverse would be harder it could be done and tested in an hour.

I would probably do it by overriding (define ...) to make it also store the source of the function somewhere and make (inline ...) just insert it as an anonymous function:

(define (square x) (* x x))
(inline square 5)

The last call would be expanded to

((lambda (x) (* x x) 5)

Which the guile inliner always in-lines.
Yes, There are two primary things to consider the Risk/Benefit to yourself and the Risk/Benefit to those around you.

The answer is still yes for both cases, long term covid damage is bad at any age and so is taking out a grandparent, co-worker you like.
This is really cool. And thanks for posting.

> "In terms of naming, it's really not hard: Matrix is the protocol..."

First time I read that it was clarifying. Second time I read it it reminded me - naming is important. Always think about customers and don't dismiss things that confuse customers / end users. I 100% want to see y'all succeed. But this customer friction area and similar ones are not to be overlooked. If I were you, I'd focus 100% on the best way to surface Matrix's value to others. That's all we're looking for.

https://matrix.org/clients/

is awesome. A CLI client that is reliable and cutting edge would be awesome (looks like some contenders - I'd love to see one in Clojure or Rust but that's just me..). Bridges with other providers like Slack etc. would be a good way to make in-roads into the Slack user base - would get developers using it for work, and then able to switch over, etc.

Most users of Slack, etc., are getting a little tired of it. We'd love something new - and something we could customize more! Awesome. But you have to position yourself as: (a) a strong, stable, growing alternative with a strong customer focus and appreciation (knowing that if you want to be Linux v. Microsoft and not GNOME/KDE v. macOS/Windows - i.e., succeed in the Enterprise outside of Europe, you have to be a new kind of customer obsessed than what has come before) (b) a low risk alternative to start experimenting with.

Biggest focus should be developers creating enterprise apps (like the German army). That's the sweet spot it seems like to get exponential traction. If you can tap into engineers who are using Slack/Teams/etc. and get them to build more clients, etc... it could be really good.

I.e., implement the difficult parts of Slack really, really well (again be Linux OS v. Microsoft OS - and let hypervisors and whatever else innovate on top of your platform -- and not try to boil the ocean with UI features, etc. - which I feel like is just difficult to compete with - there's a mountain of engineers in Cupertino who are going to out-innovate on a stronger platform with a lot more advantages.. but something like the Linux kernel.. is key).

YMMV, just one person's thoughts.
I thought your point was that financial downturn leads to diminished public health, which it doesn't (only if you deny people healthcare).

I'm not sure masks are a good example for 'groupthink'. The messaging was inconsistent not because 'all scientists were thinking alike' but because there was a lack of evidence around cotton-based 'community' masks and even medical masks of type II.

Sorry I'm pressing you on this. I agree groupthink does exist and is bad, however in the true sciences it's very rare. So would be interested to get an example related to Covid.

> For one example, I am shocked that the countries that are incredible coronavirus "success stories" such as Vietnam only occasionally appear in the news. They just went three entire months with zero locally transmitted cases - what can we learn from them?

Fully agree with you here. Every country seems to be in their own bubble and rarely look abroad in a deeper manner.
Gmail needs a phone number. Proton Mail doesn't. That's why my email is with the latter.
True indeed, thanks for the comment. Actually, it goes far beyond the case of Ticketmaster, and beyond money or how much a company earns. It is a warning-sign for any organizational security stakeholder and companies themselves. Specifically, if you look at the implications and analyze the case from accountability or liability perspectives, it shows us where we should look at, what should we, as cyber-security teams, should be aware of.
I guess the real problem is that writing good short functions is hard, so some people might find it better to just write long functions. By good short functions I mean functions that, as you say, don't mix levels of abstraction, use proper names, and follow a consistent pattern so their behavior can be safely assumed most of the time. And sometimes you can't have such a clear view of the problem because it already got too messy at another stage of the process, and you want to murder the system designer plus maybe some of your coworkers too.

Of course, for certain tasks long functions are still reasonable, but they tend to be the exception rather than the rule, and it takes quite some practice to realize.

Best practical advice: do more design and planning on paper.
You have to compare the risks to the risks of the disease and the likelyhood of contracting that disease. And for COVID-19 the risks are very high. It doesn't make much sense to me to trade the very high known risks of COVID-19 against the relatively low risk of rare side effects in a vaccine. These vaccines have been tested in ~40,000 people each, so we do know quite a bit about their safety.

The fatality rate of COVID-19 and the rate of serious complications is high enough that it easily dwarfs the chance of any potential rare side effects of the vaccines.
Location: India

Remote: Yes

Willing to relocate: Depends

Technologies: Firefox & Chrome extension developer, browser extensions, WebExtensions, Vanilla JS

Résumé/CV: https://www.hemantpawar.com/Hemant.CV.pdf

Email: hemant@hemantpawar.com
What I remember but cannot currently find a source for, is that there are three levels of protection that vaccines can provide. First is to protect patients from developing the sickness (but not from being infected!), second is to even prevent them from spreading it and best outcome is to prevent them getting infected at all. Only the second and third level prevent spread.
It's been almost two weeks. That's more than enough time to read thousands of pages if they are literally the most important thousands of pages in the world right now.
Yes, some young people with health issues can’t get vaccines of various kinds and they rely on herd immunity. One of the really sad things about the anti-vaccine movement is the people who are now at risk for things that they can’t get vaccinated against through normal fault of their own because herd immunity is reduced.
If other people want to pay more for your place, why should that place's owner be forced to let you pay less than they could make with someone else?

Seriously. What is better about you, other than that it is you?

"Long-term is better for the community" may be an argument that I can get behind re: a tax, but that's not worth very much at all. Maybe a couple hundred a month in a good location? Less in a poor one.

They do own the fuckin apartment. They should be able to do whatever they want with it, within reason. Go pound dirt may be right.
The linked budget summary says it is in "Millions of Current Dollars". I interpret that to mean it is already inflation adjusted.
Weird, the site looks fine on my mobile...

It is a theme from like...almost 20 years ago. Minimalist, simple. I haven't been able to find a "new" theme that I'm happy with, they have too many features and too much javascript/PHP in them. But yah, I could see how this theme does not play nice with all combinations of mobile+browser.
How to Talk about Politics
Does institutional investment follow trends or science?
Get your domain on Google Domains and use their free email forwarding.
Apple patched it 7 months ago.
I mean I also question the assumption that electron will lead to a poor experience. I'm sure you know the examples everyone cites.