skysight-inc/HackerNews huggingface dataset:
> Low single-threaded performance, high latency masked by threads switching,

Those are fundamental design tradeoffs of the GPU architecture. Not of PTX Assembly language.

> inefficient branching

Ehh? I disagree strongly. GPUs branch very efficiently, considering its within a SIMD-environment. Modern GPUs can arbitrarily diverge execution paths and reconverge as necessary. Its far more advanced than any SIMD I've seen implemented on a CPU.

GPUs have the most efficient way to branch when you're managing 32 or 64 work items at a time.

> limited memory model (can't allocate RAM, write access is very limited).

You can definitely allocate RAM on a GPU. That's what the CudaMalloc function does. What do you mean by "limited write access" ??

---------

Programmers don't want to "think" in SIMD. They want to think in terms of scalar code. Per-lane Gather/Scatter is far easier to think about than vpshufb (even though vpshufb is effectively a gather instruction over an AVX register)

That's the difference. GPU Assembly language is almost equivalent to CPU stuff, its just "seen" in a different light.

CPUs are missing very, very few assembly instructions before they can run like a GPU. CPUs simply need a hardware accelerated branching-mechanism to help handle the divergent flow graphs (a simple advancement over bitmasks... AMD GCN is a good example. NVidia's Volta/Turing fully divergent flow would be nicer, but that requires a program-counter per SIMD-lane).

AMD's GCN architecture implements that mostly in just two assembly instructions: S_CBRANCH_FORK and S_CBRANCH_JOIN.

Intel is missing the "scatter-equivalent" of vpshufb. GPUs can gather/scatter arbitrarily between SIMD lanes, but Intel AVX512 only has "SIMD-gather" in the "vpshufb" instruction. Add "SIMD-scatter" and AVX512 would be complete. AMD GCN calls the two instructions "permute" and "bpermute" (backwards permute). So maybe a "backwards-vpshufb" or "vpbshufb" instruction is all AVX512 needs.

Finally, allow SIMD-instructions on CPUs to pipeline in more complex manners, to increase utilization. Only guarantee that they complete through the use of a barrier instruction. This one is an architectural shift, but GPUs are aware of "larger" workgroup sizes. (AMD GCN natively executes 64-at-a-time. But it can grow thanks to the barrier-mechanism).

The "variable length" discussed in the article here is backwards. GPUs grow their workgroups bigger, and then the programmer creates synchronization points with barrier instructions. Its actually a very simple model to work with.

Bam. Those 5 or 6 assembly instructions would make CPU-programming effectively on the same level as GPU programming.
It doesn't seem any thicker than the phones we had in our pockets in the early-mid 2000s. I personally would mind that compromise.
current->cred->uid = 0;
Please no.

Didn't pg try something like this once?
...according to the official press release... An internal "advanced power-lacing system" combines with an "app and continually updated firmware" to tie and untie your footwear.

BUHAHAHAHAHAHAHA - "continually updated firmware" to tie shoe laces. at least their dev team has a sense of humor.
Nigerian Doctor Might Just Prevent the Next Deadly Pandemic
Well, I showed it to my friend who I was teaching English while she was teaching me Spanish (although her English was very good) - but even I had to already know what things he was talking about to understand what he was talking about, much less to find it funny, although it's still hard to read. I don't think it would be great for English learners, as the kind of English used is not what you'd want to learn! And he uses the wrong names for everything. Wouldn't another version be better for English learners that just used the normal terms for everything? (That would be awesome!) It's not like Dr Seuss, using a very limited vocabulary but calling things but their right name, which I imagine but be entertaining and useful for English beginners. But if Thing somehow helps people, great. :-)
I have an Aura One that I love (probably around 2k hours of use on it), but the PDF experience (of anything that can't be converted to epub anyway) is not good.
If UBS were to go down that route and succeed, I’d expect their ability to operate as a bank in the EU would be placed at risk.

That would be more costly than paying whatever is due after exhausting legal appeals.
The GP's point is fair, though. Money is fungible, which is just another way of saying that it has no color. Anti-money-laundering schemes are essentially DRM for money.

Now it is my personal and completely biased opinion that money laundering and tax evasion are very big problems affecting society negatively, while copyright infringement on-line is mostly a non-issue due to IP laws being abusive; still, while relatively different in importance, the problems are still similar in the way GP describes them.

(And in both cases you learn that color is very important to the law.)
Working on a service in Go that does this, focusing on no fuzz embeds, yet to be launched tho and the source is not released yet either but it will be.

Anyway, it's currently docker based, basically the only interesting thing is the run endpoint which is a POST request that copies the payload files to a tmpdir on disk (cached files are just represented as a path).

With the files available I spin up the language appropriate container with the tmpdir mounted as the working directory and the default run command (which can be overriden to specify other build options etc but there's a reasonable default built into every docker image).

The output is streamed as plain-text so it works reasonably well even with no JavaScript but SSE is used when JavaScript is enabled, look a bit prettier.
WebSockets are just not implemented yet.

Finally, I found it annoying not being able to preview servers etc on other playgrounds so TCP connections are proxied,
each time a subdomain is accessed it looks up the port and maps it accordingly to the container.

There's a bit of overhead to all this tho, from hitting the run button until seeing output can take anywhere from 10 to 60 seconds.

As for safe execution, people have broken out of docker containers before and no doubt people will do it in the future. Best you can do is minimize the damage breaking out of the container would be able to do by isolating the machines that run the containers from the rest of the stack.
It sounds like 495 MW will be the peak output of the battery, but I can't find anywhere information about the capacity, which is what I really want to know

edit: for comparison the Tesla Australian big battery has a 100 MW output and total 129 MWh capacity. The current largest grid battery in the world is in Japan at 50 MW output/300 MWh capacity
It's a backend engine; it doesn't support languages out-of-the-box. That said, it's extensively used by the open-source Android bytecode optimizer [Redex](https://github.com/facebook/redex), so there's code readily available if you want to do Android bytecode analysis with SPARTA.
Idea Validation for an Ad Blocker Services
Hi Hackers !

It’s Tony here, a fullstack developer. Love to building kinds of interesting stuff. Right now, I’m working on an ad blocker service. The very early demo is almost out now. Here I need your suggestions or ideas about it.

When Google ad block on the web, most of them come out with content blocker, specially on iOS. Have to install kinds of software for specific platform or device. It’s ok and good enough, but is there any better solutions ?

So here it is my ad blocker service, didn’t have a name yet ( welcome to help me to give a name).

This ad blocker service works well on any devices that support http proxy, iPhone, Android, MacOS, Windows, Linux. And we do care about your online privacy and security. Help you to block kinds of annoying ads and log report services like google analytics. Blocking ads and protect your privacy. With such service, the spy (https://techcrunch.com/2019/02/06/iphone-session-replay-screenshots/) on your phone will happen less.

How much would like to pay per month or per year, and what's your most concerned?

By now, I’ve built a very early demo for such service, as a developer welcome any technical or non technical (marketing, product) guy comment here about this idea for more details, and welcome talented marketing and product guy join me to build it better and let more guys know.

Thanks!

tonywang.data#gmail.com
Charcoal? Coke?
If your concern is that it will reduce the supply of blood to younger people who currently use it then this is something that can be solved with incentives in a way that everyone benefits (e.g. people using it for rejuvenation pay more to subsidise higher production and are a lower priority when there is insufficient supply in the emergency room etc).

If on the other hand, that is just an excuse because you're morally opposed to old rich people living longer... ?
That bit of incompatibility will be going away when this proposal is implemented, however:

https://github.com/tc39/proposal-json-superset
having a terms of service doesn't magically give you super powers for policing content
The article links to that very post.
> Did anyone else find the UI scroll reveals incredibly annoying?

I actually thought the article ended when I hit one of those full page reveal things. Terrible way to present information.
Where are you in the world? What's your connection like? I'm on a 100 megabit downstream (95 nominal) connection in Australia and there are often videos on Peertube that won't load at all for me. YouTube is peered with a local Akamai node or with my ISP and is nearly always instant. The user experience is not like YouTube.
Google Docs is already showing "Some tools might be unavailable due to heavy traffic in this file."

I predict this posts hits 100 points and then it crashes. (Currently at 31.)
You misread the article. It was 2002 and wasn't the NBA Finals.
It's actually even less of a camera than existing optical under-screen readers, as it uses an ultrasonic system.
I'm surprised that anything still uses brk. Mentally, I've thrown it in the same pile as fork or gets, but it's been a while since I've written a OS-level memory allocator, so maybe my assumptions are incorrect.
I guess it's because of the interactions between gravity of Earth, Moon and other bodies in the Solar System, solar radiation pressure, and magnetic fields. It's hard to account for all the possible influences, and verifying things experimentally lets you both check your theoretical work, and possibly discover sources of influence you've missed.
Oh that's nice! I asked because here in Spain they advertise the same, but you cannot opt out of getting the 1-year lock-in in any way.
Mutations can be divided to germline (~what you inherited, it's part of your normal dna, but it increases likelihood of getting cancer, for example by making dna self repair less effective, think Angelina Jolie) and somatic (random (?) mutations that enable unlimited growth, switch off cell death and so on and are only present in the tumor). There can be multiple mutation groups within a single tumor.

Preemptive testing is useful and done for people with history of early cancers in family but obviously can detect only germline mutations. Most of the targeted therapies target somatic mutations.

Some hospitals doing genomic testing share their data through AACR GENIE project

https://www.aacr.org/Research/Research/Pages/aacr-project-ge...
AVX2 also incurs some pretty large penalties for switching between SSE and AVX2. Depending on the amount of time taken in the library between calls, it could be problematic.

This looks mostly applicable to server scenarios where the runtime environment is highly controlled.
when i see that pressed/glued bamboo kitchenware, i wonder when the bamboo is going to take over the world. Being basically just a crazy fast growing weed grass and thus cheap and abundant, bamboo tensile strength is higher than that of steel, it is harder than oak yet lighter, bamboo cables only increase strength when getting wet :

https://makawear.com/blog/things-you-didnt-know-about-bamboo...
Rufus Bootable USB Creator
The readme specifies that it’s not optimized for reading a large number of small files.
I went through it with some of the ideas I have but it never asked me “Is there a special technical challenge included that needs to be solved?

So I feel like this missed it a bit.
We‘re using AWS Kinesis delivery streams to batch incoming JSON messages from IoT devices to Parquet files in S3. Those can directly be read by different AWS services like Redshift, EMR or Athena...
I really like the idea of peer to peer. Unfortunately, in my jurisdiction (Germany) this makes you the content provider, because you are also uploading to other peers. So wouldn't use without proper VPN or other means.
I guess this makes it really hard for this kind of application to thrive, since in a lot of country these are in legal grey area.
I like this. This will help in writing email.
The reason you have to say probably is because nothing is 100% certain in situations like this. Imagine some virulent agricultural disease spread among large areas of production driving a sharp decline in production. It doesn't matter what economic system you have there - even if everybody is a 'real' millionaire, people are going to starve simply because there isn't food to feed everybody. The Irish Potato Famine [1] is a good example of this.

Things like this are pretty improbable, but far from impossible. The odds of catastrophe are probably higher than utopia, but your concern for catastrophe should still be at least somewhat comparable to your enthusiasm for the odds of a utopia emerging from capitalism. Neither is at all likely.

----

As for bad actors, I imagine at one point the vast majority of politicians probably thought about getting involved in politics to try to make the world a better place. They were likely good people, like I think most tend to be. But at the same time I think we are all probably alot more 'morally flexible' than we'd like to admit.

Imagine I tell you I'll give you a million dollars a year if you agree to spend an average of an hour a day to engage in divisive trolling online. I somehow have a mind-reading device to ensure you will genuinely and actively work to do this and further my malicious ends. Regardless, unless you're already quite rich, you're probably going to agree after approximately 0 seconds of thought. What's one more troll even matter, right?

Now imagine you're in power and I want you to do something awful. So I give you a nice long power point presentation, more than enough to ensure you can convince yourself it's a good thing to do, and then offer you a very enticing sack of incentives as well. You're suddenly going to do a great job of convincing yourself that that snazzy powerpoint was right on point. I mean if you hold the banks accountable the economy will really collapse, and people will starve, it'd be catastrophic. The only way to save the world is to not only not hold the banks accountable, but to give them billions of dollars instead and work to actively re-empower them. Yes, Mr. Sachs, I see your point. I completely agree with you! Now hand me those sacks!

----

So the whole issue isn't about getting rid of bad actors. You need to somehow elevate people to power that cannot be swayed by self interest. I don't think this is, or ever will be, possible. Even in a time where we have Star Trek style replicators that can pump anything out in an instant there will still be incentives - ego, sex, power, fame, legacy, desirable appointments, ideological victory, etc.

I do fully agree with you on your pointing out the quite hypocritical distinction between behavior of employer and employee. Our entire economy is increasingly be driven by culturally regressive business endeavors. I think there are some solutions there, but this is another topic altogether.

[1] - https://en.wikipedia.org/wiki/Great_Famine_(Ireland)
Incarceration has been a sore spot of the american justice system for a long time. Privatization should be illegal and the plea system needs reform.

“Because jails are chaotic and concealed from outside view, we only become aware of them when very bad outcomes occur, such as deaths,”
There should be a two-pronged effort to tackle over-tourism.

1. For ultra-popular attractions (Venice, Maya Bay...), keep jacking up the prices until the tourist flow trickles down to what can be sustained at those places. In case that sounds elitist, have supplemental measures like first-come first-served permits (like the ones at Half Dome, Yosemite) or procedural barriers which only the most committed ones would jump through.

2. Popularize hitherto unknown destinations. I am sure there are tons of gems in "the middle of nowhere". Spread the tourism everywhere around the globe, which will be appreciated by regions looking for economic boosts. Maybe, there are even known techniques like opening up non-stop flights from hotspot tourist sources (Beijing? Shanghai? Delhi?) or filming popular movies at such locations (like The Beach from TFA).
You're very wrong. They can always make more money, but they can't make more time.
It's all engineered lumber. "This high-rise is being built using glulam, CLT, and Metsä Wood’s Kerto® LVL (laminated veneer lumber)"

glulam = glued laminated timber AKA pieces of regular timber stacked & glued together
CLT = cross-laminated timber AKA glulam but instead of stacking the lumber, you lay it out in perpendicular layers and glue it together
LVL = laminated veneer lumber is like the above, but made like plywood out of wood bits instead of solid lumber, with a hardwood veneer on the outside

The wood is also treated to be fire, moisture, and insect resistant
Has the Fight Over Privacy Changed at All in 2019?
It's important to note that no one in jail has been convicted of a crime yet. These are all innocent people when they are in jail, being abused and murdered by the guards inside.
I understood that GCC auto-vectorization wouldn't do it currently, and hence gave an example where auto-vectorization does make use of it, assuming I remember Intel's session at CodeONE correctly.
... claims the project whose contributor is here claiming that they are "struggling" with JSON performance. Yeah... "in the noise". LOL.
>You wouldn't let them run free on a highway and the Internet is just as dangerous but in different ways.

Kids here roam across the city unsupervised by age 7-8. This includes highways. Also, correct me if I'm wrong, but doesn't YouTube require you to be at least 13?
Combustible cladding.

https://www.theage.com.au/politics/victoria/smoke-alarm-warn...

https://www.theguardian.com/uk-news/2018/jun/18/fire-safety-...
You only owe it to them so long as they do it to you.

And someone who by choice decides to be (or remains) a cog in the broken machine, specifically at the point where it requires being nasty to someone, is fully responsible for that action and its consequences.
DeepMind Should Have Been a 'UK Champion'
In countries like Norway, the timber companies replant trees. In addition, the growing trees suck up more carbon in comparison to the older trees. You think that mining is preferable to this practically infinite renewable resource?
you crack me up ;-)
How hard would it be to extend the parser to handle arbitrary-precision numbers? Strictly speaking the JSON spec does not require numbers to fit into 64-bit ints / doubles.
I don't have any high hopes for Flutter until I see it on https://developer.android.com/about

Fucshia is currently also exploring other UI stacks as per available commits.

Currently it looks like internal teams competition.
ahh looks like they have updated page to include 4.20.11. I was gonna say after checking the source, both the latest and mainline are affected.
The Yosemite system is a lottery now. It was first-come-first-serve but tour companies (read: scalpers) would buy them all up. There were a couple of years where it was incredibly difficult to get a permit. The lottery system is pretty great and we've been able to consistently get Half Dome permits (yearly trip) since.
The income required to make that a couple days work is several times more than what I'd consider a "well paying job".
“It’s good for you”

-WCF
I'm not aware of any SIMD-capable Arduino chips; even when Quark was a thing, it didn't support SIMD.

It's possible to do SWAR (SIMD Within A Register) tricks to try to substitute, but on a 32-bit processor (or even a 64-bit processor) I doubt our techniques would look good. In Hyperscan, my regex project, we used SWAR for simple things (character scans) but I doubt that simdjson would work well if you tried to make it into swarjson. :-)
Sure, it's kinda there... It'll count for free radical oxidation of spacecraft surfaces and cause minute amounts of drag at those altitudes, but it's worth reminding people that this is in the range of dozens of atoms per cubic meter. Water boils at body temperature at the Armstrong line, which is only 19.2 km above sea level.
Introduction to Algotrading (2011) [pdf]
By that definition, Apple's own store is illicit because I don't permit any apps from it. Except that Apple does permit these stores to exist so by that exact definition they are not illicit. Either way, it doesn't make sense, it's confusing, and it's shitty, inaccurate writing.
But... how else are the people that have never seen a byte array or had to flip endianness will be able to write plugins for my text editor?
This is a dangerous assumption to make, and one that bit us a while ago when using trigger.io for an app.

We had a lot of user supplied data in the strings of our API responses, some of it copied from Word documents and were ridden with U+2028 and U+2029 whitespace. Turns out that on iOS, the trigger.io library makes the all too popular assumption that any well-formated JSON can be interpreted as JS, and parses the responses with "eval", thus turning all those unicode characters _within JSON strings_ into newlines!
From Logs to Metrics: Why and How to Parse Syslog Messages
At 47 and had issues loading it, so I printed to PDF and hosted a copy on Docdroid -- I hope that's ok. If not, I'll delete it.

https://docdro.id/tOVflQx
Observability? – Where Do We Go from Here?
Ask HN: What Have You Made with a Node.js Recently?
https://github.com/posativ/isso
Thanks for your answers. I've subscribed for more news.
Posting something like `<script type="text/javascript">alert('hello')</script>` creates a blank comment instead of safely HTML encoding the text.
This would be an easy extension if you wanted to concatenate the files. The plumbing and API aren't there right now, but it isn't hard to see how to do it.
Given one of the things that wooden buildings inspire is a "Hey, we CAN build big buildings in a green manner", how do all the things you mention impact that?

It sounds like gluing, treating etc. etc. would really impact the "greenness" of this building
The article only gives a passing mention to distracted driving but I really think it's what's driving the dramatic increases over the past decade much more so than vehicle design or social attitudes. Around 6 months ago I started driving a truck, offering a much higher vantage, sitting in traffic I'd say > 60% of people are actively on their phones at any given time. It's an epidemic and I'm not sure what the fix is - maybe treating it more like DUIs?

The city of Austin just had a bus driver kill a cyclist a few weeks ago who was later found to have been texting and driving a city bus.

We know that drivers on phones rely primarily on their peripheral vision to spot other vehicles, but it's very easy for a pedestrian or cyclist to slip through that.
Nice project!