skysight-inc/HackerNews huggingface dataset:
If LLVM has a SPIRV backend, probably very little. For a proof of concept, a bachelor CS thesis would probably do.

Clang already has a CUDA parser, and all the code to lower CUDA specific constructs to LLVM-IR, some of which are specific for the PTX backend. If you try to compile CUDA code for a different target, like SPIRV, you'll probably get some errors saying that some of the LLVM-IR instructions generated by clang are not available in that backend, and you'll need to generate the proper SPIRV calls in clang instead.

Its probably a great beginner task to get started with clang and LLVM. You don't need to worry about the C++ frontend side of things because that's already done, and can focus on understanding the LLVM-IR and how to emit it from clang when you already have a proper AST.
Beyond turning policy knobs it's not really in the administration's hands though. There's a lot middle and higher level managers saying "gee I really looked like an idiot when I couldn't deliver on my objectives because I was relying on supply in China" who are looking to avoid a repeat. Some stuff is gonna shift back regardless of what the administration does.
There's definitely a middle ground with tropes, but I think it's also era dependent (and likely cyclical). Some tropes have periods in time when they come into heavy use because people are enjoying them (or there's a new twist to be done with new technological, cultural or social changes), and then become overused a too "tropey" because everyone starts recognizing them. I suspect there may have been a different level of acceptability to some of those tropes (or those tropes in that genre) at the time that series first aired, possibly because of a dearth of good science fiction on TV.
First law of history... The victors get to write it.
We may never have 100% level 5 driving.

But with level 4 + remote assistance, you don't need to support all the edge cases to have a car with no steering wheel. You only need to reduce the need for remote assistance enough to make the economics work out.

We will all have been riding around happily in cars without steering wheels for decades before "true self driving" comes to pass.

It's possible that remote assistance centers will never shut down entirely, even 100 years from now, still waiting on the off-chance that a .00000000001% edge case pops up that the system still can't handle.
India’s ‘Maximum City’ Engulfed by Coronavirus
What do you think that computationally expensive code is cranking on? It ain't small bits of text.
Live and let live - if you follow that, it's ok to hate or be intolerant, just do it quietly, without involving anyone.

Trying to block intolerance by force is wrong.

Teach how to overcome it, or just teach to keep it to one's self.
> For me it all starts with the database, always.

I agree, though I generally reduce this question to, "what is the shape of my data?".
As a day trader, you are always one trade away from losing it all.Even if you're diversified, one major loss can be devastating.
Useful, but not universal. Efficiency is not the point of storytelling. Some details might not appear to have led anywhere in the story, but could have been there for texture, subtext or symbolism.

Chekhov's minimal, efficient, realist style is unique to him and complements his tone and content, but it's not a necessary condition for good writing. Consider Nabokov's short story Symbols and Signs (https://www.newyorker.com/magazine/1948/05/15/symbols-and-si...) which is beautiful purely because of subtext and texture.
Pandemic not a threat to ‘FIRE’ movement
There is https://github.com/AssemblyScript/assemblyscript. It's not using llvm, but it's compiling a subset of typescript to webassembly.
Modern racism probably is focused much more on cultural attributes, perceived to be universal or common among certain people, than melanin level. That makes your test useless for the most obvious thing a hate speech law would seek to protect.
I think it was a long time coming. Ever since Yahoo ruling ( also in France ), the internet was in a downward spiral. I am not arguing it is a good thing, but the trajectory was clear for a while.
You can change the root password after first boot the same way you would do with Raspbian or Armbian image. We just want to shorten the time the device is running with a default password. You can think of that entered password as it is a temporary one.
Wifi configuration is completely optional. You can leave it unconfigured and do it later over serial line.
We don't keep any credentials on our servers.
Good for you, Author. It is not about speed, but usability. Learning random characters that are seldom used does not feel like a great way to learn a language.
Digital vandalism :p
I successfully drew a penis.
> Could you share more about this vision?

Phew, tough question. As I went into web development when XHTML 1.1 strict was the "cool shit", I kind of valued the aspect of using the web for acquiring and distributing knowledge. Not only for me, but also for publishing or other forms of media (e.g. by offering print stylesheets), screen readers, and semantic extraction of that kind of knowledge.

(I was also working on project(s) that were using DAISY to automatically convert websites into hearable formats to be consumable by blind people.)

Somehow from then (around 2000ish) to now, everything went to shit and nobody cares about that aspect anymore. News websites are too busy displaying ads and pushing subscription dialogs in my face (before I read a single line of their article) - rather than being readable or consumable.

And I kind of disagree with that. I want to make the web an automatable tool to acquire knowledge in an easy manner. And I hope I can do that programming-free. Currently, programmers can easily build scrapers - but imagine the possibilities once any person or kid can do that with a few mouse clicks.

I know there are a lot of proprietary scrapy-based solutions out there already, but honestly I think they're crappy. They see the web as DOM and not as a statistical model that a neural network "could" learn once you have a different way of rendering/parsing/modelling things.

> How did you land on SGML?

The reason why I am currently building my HTML(5) compatible parser with SGML ideas is because nobody closes tags. The spec is very complicated (especially while having an eye on what can be abused in the XSS sense or related security issues with CORS), so currently I'm kind of looking at a lot of parsers out there and try to find my own way of making this into a statistical model, so that in future my neural net adapters can optimize old HTML code into new, clean, HTML5 code.

> What do you think of a browser/mode that parses markdown, so we can have a "markdown web" with less complex clients?

Actually this was my first idea to build this. I wanted to convert all html to markdown and back, so that it's easier and cleaner. The issue I realized is that most markup and meta information that comes with a website is lost in markdown (or commonmark), and layouting sometimes implies structure, too - due to how websites in wordpress (or any user-friendly CMS) are being built.

Code-wise you usually cannot imply meaning by only looking at HTML, sadly, that's why I switched to a "filtering proxy-like" approach, whereas the Browser UI simply receives the upgraded, clean HTML, CSS (and webfonts or other assets).
> If you read it carefully, I just “made fun of” people who are unimaginative. Is that an innate trait? Should my content be censored?

Given that reddit is banning the word "retard"... the answer may soon be "yes, it should".
What about https://www.revk.uk/2018/10/unicode-dicks.html?m=1
It'd be cool if you could do multiple sites & then save that to an alias or something. Thanks so much for your help!
Costs? as in commissions? I haven't paid a commission in two years. Many brokers are now commission-free.
While those are plot conveniences, it's still possible to create a good story using those tropes. In fact, some would argue that some of those tropes are what make Star Trek great. Good episodes have come from including the holodeck, Troi(yes, I would say that "Face of the Enemy" was pretty good), time travel and multiple-universes, technobabble, and Q.

Chekov's Gun can rarely, if ever, improve a story. While a lot of people seem to fall for Chekov's Gun, I don't think that those who are aware of it usually consider it to be a mark of a good story. At worst, it's obvious that the writer is bullshitting its audience. Chekov's Gun is just one of the many reasons why Abrams/Kurtzman Star Trek is basically on fire right now.

> - Multiple-universes time travel. Why stick with an existing world and its background when you can just replace it!

I don't think people are bothered by time travel plots because of the infinite possibilities to change the setting. They dislike time travel because it's usually too easy to travel through time, and shows or movies rarely adhere to any consistent time travel mechanics. Time travel stories are good at conveying high stakes, but they almost always lack any real consequences. When someone brings up time travel as a solution, nobody ever says "You know, the last time we traveled through time, we all nearly got killed and almost destroyed the universe."
As other people have specified in this thread, the underlying problem is Goodhart's Law, i.e. these performance tracking systems break down when pressure is applied to them.
Headphones every time. The AI isn’t so intelligent.
Kind of amusing, but if you draw an anatomically correct penis, like how it would look on a sculpture, it doesn't detect it. It only seems to detect the caricature or pornographic varieties.
That's kind of my point - there is no 'universally cheaper' place. However on every discussion high salaries are explained as a result of higher rent. Yet no one would apply the same logic for other things, like in Easter Europe cars are expensive - here is your car price adjusted salary.
There's no emoji but the unicode codepoint U+130B8 exists.
That is usually the best approach. It can still bite you in the ass, though.

Sometimes that approach leads a project into a cemented API and new requirements that arise after real world application can be even harder to implement as a result.

So I guess I’m not arguing, but agreeing while adding that the approach needs a couple qualifiers.
Those rules are mainly to provide grounds for firing people that let their romantic relationships cause problems at work.
If you're making the argument that good talent will always be able to command a high salary...nobody doubts that.

This "good talent" is not the norm. Google has tens of thousands of software engineers, and only a handful of them (mostly the staff/principal/distinguished engineers) have the kind of negotiation leverage you're talking about, but they already get paid a lot in high COL cities anyway.
Kinski's Third Law: Any sufficiently robotic voice is indistinguishable from a Werner Herzog impression.
I think that article seems to miss the point, to be honest. There's no need to conflate furries with LGBT people: even if they were they were all hetrosexual hating on them would still not be OK, like any other kind of discrimination based on personal preference.
Yes, as another commenter pointed out, Canadian govt citizenship forms, e.g. https://www.canada.ca/en/immigration-refugees-citizenship/se...
Front End Application Bundles (FAB's)
I am building a wifi enabled remote control for my flat with an ESP32 microcontroller, a 128x64 OLED screen, two rotary encoders and a 3D printed case.

Planned software features:

- detect which room I’m in by strength of various bluetooth devices

- default screen controls Sonos volume in current room with one rotary encoder, light levels of Hue lights with the other

- pushing the encoders to control other rooms

- scope for adding more screens a simple configuration schema

Current status: hardware prototype (inc. case faceplate working on bench power supply, software about 15% done

Incredible reading all these! Definitely motivating to make a bit of progress this weekend :)
> Also, any recommendations on where to spend $50k month in ads? Looking for somewhere besides Google, Microsoft, or Facebook.

What's the product?
There's something to be said for treating it as an iterative process in layers. At first you have no specification, then you have a bad specification, and then increasingly good ones. The final implementation itself comes from having a good spec, and when you have that it should not matter which you start with.

The trouble comes in keeping a clear idea of what an iteration is supposed to test or accomplish beyond "makes it better" - and an end-to-end iteration is expensive. That is where the idea of putting the data model or UI "first" develops, since it lets you build from the technical details towards the concept, as a way of constraining and filtering your thinking.

Something I want to try but have not gotten around to willfully doing, is to treat the initial design stages as an exercise circuit of focusing on each layer for a limited period of time each day, rotating from one to the next.

I'm pretty sure that you could get some great results if a work week were spent doing a four hour cycle, with one hour each thinking and researching data, interfaces, UI, and premise/market.
> what message does this send to girls who are not considered attractive enough

Arguably this same message is also being sent to boys, who almost certainly aren't "attractive" enough to be paid in this medium.

Aside from that, who is even paying these people? It's not like there's any dearth of free porn out there (or so I've heard). Unless it's someone rather famous or personally known to you, why bother?
Show HN: Web App Client Side Data Storage with CouchDB
I've made a bare bones demo of a web app that uses CouchDB on the client side only to store user data.

The first step to using it is to install CouchDB on your desktop pc. You can get CouchDB here: https://couchdb.apache.org/

Once you've installed it you need to start CouchDB and create an "Admin User".

The next step is to create a regular CouchDB user. I've created a simple setup app for that here: https://cherrypc.com/app/editor/setup.html

Once you successfully create your user db you'll be redirected to a login page. Enter the user name and password you entered into the setup form (Not the CouchDB admin password).

After you login you'll see the demo app that let's you create, save, edit, and delete "Rich Text Documents" using the browser's "contenteditable" feature. Here are the links to what I used for that:

Mozilla Documentation: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content
Mozilla Demo: https://developer.mozilla.org/@api/deki/files/6243/=rich-text-editor.zip

You can open CouchDB's "Fauxton" database manager in your web browser with this url: http://localhost:5984/_utils/

Login with your Admin username and password. Click on the "Databases" link to see the db you created with the setup.html page.

Click on that database to see the documents you've made with the Text app.

Click the "Permissions" tab for your database to see the permissions for that database.

JavaScript dependencies used in this are delivered from CDNs.

JavaScript code to create the user and db is contained in the https://cherrypc.com/app/editor/setup.html.

All the text editor JavaScript code to manage your documents is contained in the https://cherrypc.com/app/editor/index.html file.

Those two files can be run on any web server and you can edit those files to use a web based CouchDB.
Heisig's method is for kanji, which have different pronunciation depending on which word they are in, since Japan imported the meaning but not always the pronunciation. Note that the book is called "A Complete Course in How Not to Forget the Kanji", not "How to Read". All he's doing is endowing the character with an image that conveys a commonly used meaning and how it is written, so that you can remember it. Actually reading or pronouncing a text is out of scope.

If you're learning hanzi you can take advantage of the pronunciation hints. Plus the fact that modern hanzi generally have only one pronunciation per [traditional] character, and only one syllable per, too. The characters made so much more sense learning Chinese.
Even when inundated with recruiter calls and having a stellar resume, 65 days is very, very short for job searches.

From first interview to shortest possible time you can get an offer at most companies is longer than 30 days anyway. People saying they interview and get an offer in a few days or weeks are often lying and otherwise are major outliers.

At my company, for example, the minimum interview process is over 4 weeks, and we are a very competitive e-commerce company with huge pipeline of candidates. We are absolutely not offering people jobs in a fast (less than 1 month) turnaround, and this rarely has any impact on who we hire.

This was also very true across the 6 other professional jobs I’ve had, at brand name start-ups, no-name start-ups and large tech companies.
The first question here is of course how you define the uptime of the site and how you measure your 99.9999 % SLA? Agreeing to a maximum downtime of 2 seconds per month is different from agreeing to 30 seconds per year, or 5 minutes over ten years. A simple DNS glitch for example might take a site offline for 2 seconds and might violate the first agreement but not the others.

Then how do you measure uptime? Up for whom? And where does the responsibility of the company end? If someone cuts a subsea Internet cable and takes a country offline (it happened before), does that violate the SLA? Depending on where the responsibility of the company ends the problem will become much more or much less challenging.

These points aside, I think if you want to build a very stable static site the most important ingredient is redundancy. I'd argue using a single CDN or cloud provider might give you good uptime but it will not ensure your downtime stays below 2 seconds per month, as a single outage of that provider will already be enough to break the SLA (and even CDNs like Cloudflare have outages).

What you could try is the following: Get your own IP space e.g. from RIPE or APNIC. Make deals with several hosting companies to announce that address space. Use several /24 subnets, announce each one via several of those companies. Create multiple DNS A records for all these subnets that your site's domain resolves to. Set the TTL of these records as high as possible to make sure recursive resolvers have them cached (and make sure your DNS servers won't be down for longer than your TTL). Put copies of your site on servers at all the hosting companies from where you announce your IPs.

I'm not a BGP expert so I don't know how fast routes will adapt to a single data center or server being down, if you have multiple A records most browsers should try them one by one if until one works (but does that count if it takes longer than 2 seconds?), so in theory there should be a good chance of your site staying up even if one of your data centers goes down.

Then again this assumes that you have everything on the server side perfectly under control. In my experience most of the system outages are caused by human error so the chance that you will destroy your own system by e.g. misconfiguring it is higher than that one of your data centers will be taken out by a nuke ;)

We're in the process of building such an anycast network and it's absolutely doable. I'll let you know if we reach 99.9999 % uptime.
Short term capital gains rates have been 15%, right? Which is, based on my last gander at the tax charts, less than the regular w2 tax rate bracket many successful traders would file under.
That sounds bigoted against people for free speech to me. You should be banned.
There's a line, and it's different for different people. For example, for me Neal Stephenson plays right along that line pretty heavily, but does it well. He fills his stories with so many digressions and tangents about what the ramifications of the things he's envisioned are, that you're never quire sure whether he's rambling, of if this tangent it going to be one of the few that's integral to understanding the weird resolution he has planned at the end, and not just a fun bit of world building.
I think it could work. Heavens know, I will now have to actively avoid places that are not at least careful about how they reopen.

I am mildly concerned about people, who see doing the opposite as a political expression, but some things cannot be helped.
This must be one of the most misunderstood pieces of popular science.

The Coriolis effect is WAY too weak to affect the direction the water is flowing. Typically the way the water moves initially and the shape of the container will have an outsized impact in the final direction.
How do you tell them apart in speech? Just context?
It’s just a weasel word that can mean anything. Avoid weasel words. In your situation, why not just say I’m going to put my current efforts and focus on X as you clearly meant.
Oh yeah, I completely agree. To a certain extent it's best to be risk averse with things like this, especially when working on professional problems.

npm has spoiled me, so I doubt I'll ever try to use a language in anything other than a hobby capacity without a very good package manager and corresponding community of functionality.
Yes, there is VPN tunel from the device to device.farm servers. It is openconnect VPN. device.farm server then acts as a reverse proxy. User needs to authenticate in order to access the device's service.
We are sorry, there is no ToS and Privacy Policy available yet, it should appear in following days.
My WWDC 2020 Wishlist
Poor admins and moderators... I genuinely never understood what the fuss is about. Hear me out here. I spent a good amount of time of my life living abroad. Almost 6 years to be exact. And this was during a time when commenting stuff online was relatively rare still. That said, an eastern European in a western European country is inevitably going to face racism/xenophobia. If you are a man it will hit you even sooner. And if you are in the late teen age group like I was, I'd say give it 2 weeks tops, regardless of your background. Sure, it was unpleasant but I felt far worse when someone from the crowds stood up for me. I've lived in eastern Europe in the late 80s and 90s, do you honestly think that some moron blabbering is making me feel insecure or threatened? I'm more than capable of standing up for myself if it comes to that, let them talk. If I'm not doing anything about it, chances are I've worked out that this is the best course of action. If anything, that helped me become who I am today and made me a lot more resilient. Fun fact, some of the people who gave me the hardest time coming in are the ones who have me a hand several years later when some dark moments hit me. And I can't thank them enough till this day and though we live on the opposite ends of the continent, we are now close friends.

And till this day, whenever I hear some "hate speech" as they call it, I don't even bother registering it in my brain. "Yeah, cool story bro".

My point is that censoring and forcing people to work like machines around the clock to hide comments is completely redundant. What this does is forcing people to fragment the internet into decentralized echo bubbles, where the two camps can ramble on about their own views and claim that that's how everyone thinks. And historically that has never worked and thinking that it will now is beyond absurd.

Threatening someone personally in public is one thing and it should be dealt with accordingly. But the general "f {insert any nationality, race, religion, etc.}"... Meh... Ok, whatever...
Apologetics and pseudoscience are also littered with hotly-debated, profound questions and a half-dozen answers for each of them.

In science, the null hypothesis that all of this theory is the result of human ingenuity rather than methodical observation gets a seat at the table too.
American Radiologists average pay at $427k