skysight-inc/HackerNews huggingface dataset:
> I feel like I've said this a few times but for some reason you're not getting it, not really sure what the hangup is?

I think the hangup is that you aren't understanding what a C++ future is, and why it solves this problem. Remember, I'm operating under the assumption that the GPU-programmer has figured out how to write a C++ future on the GPU.

I kinda have an overall idea of how one would be written, but I recognize that no one has done it yet. But I don't see any reason why a C++ Future couldn't be done. The real question I have is if C++ Futures can be implemented efficiently to make all of this worthwhile. (I've gone through a bunch of ideas in my brain... I think I've got one idea that is "efficient enough"... but many obvious implementations... like atomics or mutexes won't work well on a GPU. An implementation that is innately "task based cooprerative switching" is the only efficient implementation I can think of)

> Like I've been saying, you don't know what you want to q-search next until you've finished the last q-search. So you can't make a q-search queue because you couldn't add anything to the queue until the previous addition was evaluated.

Future<int> f = spawn(new q-search);

f.wait(); <---- Really simple actually. If "f" is blocked, then the current task goes into the "blocked" list. The first task from the "unblocked list" gets pulled off. If the "unblocked list" is empty, then this SIMD-thread idles until someone else in the NVidia warp (or AMD workgroup) calls f.wait() for another opportunity.

Yes, there is some divergence here, but the overall process of f.wait() is efficient enough that I don't think its a big penalty to have the warp stall.

You only run Q-searches that are on the "Running" list. You only need 32-running Q-searches to keep an NVidia warp busy, or 64-running Q-searches to keep an AMD workgroup busy.

Surely, there are at least 32 Q-searches that are unblocked at a time in a parallel chess search? Sure, not at ply 1, but the number of Q-searches that could be performed in parallel grows exponentially per ply, and also remember... an NVidia Warp will operate at 100% utilization with as little as 32-Q searches.

An AMD Workgroup is less efficient, needing 64 Q-searches before operating at 100% utilization. But this is still a small number in the scope of the exponentially increasing chess game tree.
Farmers and forest owners have been doing this for years already.
Multiplayer Deck of Cards
NetNewsWire 5.0a1
How an internal cloud migration is boosting Microsoft Azure
An author once came and spoke to my environmental studies class. Of the Club of Rome, he said "Fascinating ideas. They might be right. But try getting elected by promising a shrinking economy."

Yeah, not gonna happen. Best to treat growth as a given and work around it, imho.
Someone unfamiliar with shell commands will likely have just as much difficulty finding, installing, and using your script/package.
Amazon does not collect more data than Google does, even by your own definition. In fact, Google uses Amazon to collect even more information than they do innately by mining Gmail for purchase receipts.
Checkmate inequality.
That micro usb photo is actually a rare mini usb.
The fact is that the revolving door between Google and our government was spinning pretty quickly during that period.

>The Campaign for Accountability (CFA) this week launched the first two of its Google Transparency Projects. One of the projects – a visualisation of the revolving door between Google, the White House and US government agencies – is so dense, the website suggests viewing it on a desktop display.

As well as Googlers leaving the ad giant to join the administration, there’s also a heavy traffic in the other direction, with federal employees leaving to join Google. The project documents 61 staff taking key public positions after leaving Google, or firms working closely with Google, and 171 leaving public office to join [Google].

https://www.theregister.co.uk/2016/04/29/google_transparency...
This is not a competitive business. It’s just monopoly companies grabbing what they can. They don’t need to sell data, they just do because they can. Nobody weeps for the poor ISPs, ultimately perhaps the owner will get a slightly less tall stack of money each year.
Anecdotal evidence: in large corporations good luck finding leaders who can write anything in a clear and concise way. There are some, but by far and large they are exceptions. So much for "write well can propel you to the heights of leadership of a nation", playing politics is definitely the more important predictor than anything else.
The economic value of a healthy environment is certainly not accounted for, but growth isn't bad. Externalities and tragedy of the commons are.

I want the economy to grow. Specifically I want the wind and solar industries to grow REALLY fast. So much so that their lobbying power is greater than that of the oil industry.
Is this really a surprise to anyone? I mean beyond that they admit it?
Yeah, this is basically how regulation works. You give whoever a chance to do something reasonable before you bring the hammer down. Threat of regulation is a key part of the process.

Ajit Pai just did this move with robocalls and SHAKEN/STIR:

> Ajit Pai orders phone companies to adopt new anti-robocall tech in 2019
Pai threatens "regulatory" action if carriers don't use Caller ID authentication. (https://arstechnica.com/tech-policy/2019/02/ajit-pai-orders-...)
While I appreciate the efforts of authors and believe in long term mission, they seem to not mention anywhere some key shortcomings of Ray, while marketing it pretty hard (eg see the paper).

I have used ray (a year ago) in one of the advertised basic applications: parallelising the environments for RL. It was unusable back then, as it was clogging up the memory.

The plasma store which is backend for arrow was never cleaned which made the computation stop after 3 hours

Here’s the issue:

https://github.com/ray-project/ray/issues/2128

Or perhaps this has been fixed already?
Bearer instruments are linked to money laundering and we largely outlawed in the US in the 80s in relationship to securities.
That's for targeting terrorists, not reading Joe Shmoe's email.
What do you recommend your clients to do if that kind of mistake happens to them? Is Twitter-shaming the only way out?

I know people say some legal arguments why they close you down and won't say anything, but this is the worst scenario ever. I'd be better off excused at something I didn't do than just ooops we can't tell you anything, your account has been shut down.
Yes of course but how do you resolve that discrepancy on the immutable ledger records?
Yes. Found this out the hard way, which was rather stupid of me.
Funnily enough it was because someone else ‘demonstrated’ waterproof by throwing me their phone when I was in a pool, and taking underwater photos with it. Then I was amazed and did the same. <1m water, <5 mins... guess my seals weren’t as good as theirs. Thank god for AppleCare
This is not the first study ever to use mice for testing. I think it is very common.
> Alpha-beta in general is so sequential that basically all the algorithms to parallelize it focus on making each thread as independent and sequential as possible. For example, the PV-split algorithm (which generalizes into Young Brothers Wait) splits the tree as low as possible (eventually to the root node) so that all threads can act as independently as possible. There is no local parallelism to be exploited because every branch is radically different from the last branch, and dependent on the result of the last branch. Local parallelism is necessary for a GPU to be effective and conventional game tree search algorithms have none.

I forgot to respond to this half.

Have you heard of Task-based parallelism? Pretty much any recursive algorithm can easily become parallel through the technique.

Alpha-beta tree searches very easily follow the task-based parallelism. Give this page a look: https://software.intel.com/en-us/node/506102

-------

The key element that ties it all together is the future / promise construct. https://en.wikipedia.org/wiki/Futures_and_promises

If you have a task-based parallelism model, with symbolically executed futures/promises (that... instead of waiting immediately on max(alpha, score)... where "alpha" and "core" are both futures... it can immediately return a symbol representing "max(alpha, score)" and carry on with the execution / evaluation. Lazily evaluating the future at a later time when alpha and/or score is ready.

Yeah, its a few advanced threading concepts here and there. But I've seen the primitives written in various frameworks. And from my understanding of GPU-programming, C++ Futures / Promises CAN be implemented in GPUs. Its just that no one has really done it yet.

From those perspectives, I keep looking at something as "sequential" as alpha-beta pruning and I don't see any major thread-divergence issues. Honest. I just don't think anyone has combined these 4 or 5 techniques together in one program yet.

In short:

* GPGPU programming / SIMD

* Task-based parallelism (like TBB): https://software.intel.com/en-us/node/506102

* Futures

* Symbolically-lazily executed symbols associated with the futures (only "Beta-cuttoff" absolutely requires a yield or stall. Everything else can be "lazily" executed at a later point in time, which should discover latent parallelisms in the program).

* Alpha-Beta pruning

-------

You keep saying "it cannot be done", but what I'm saying is "I've seen some new parallel primitives invented in the last 10 years. I think it can be done now". As long as someone ports these primitives over to the GPU.

EDIT: I have looked through the AMD Vega instruction set. Modern GPUs allow the programmer to know the program-counter, to set the program counter (aka a jump), and all that good stuff. Function-pointers, as long as a full AMD workgroup (64-threads) or NVidia warp (32-threads) do in fact work (!) on a modern GPU.

Yeah, there are issues like the CPU Stack (it won't translate to the GPU. So everything talked about here would have to be converted into iterative form). So I haven't solved all the issues yet. But the general thought process looks promising to my eyes
That isn't too surprising, given that functional compatibility really isn't the kind of thing you would expect a copyright law to discuss. If copyright is being stretched to cover this new realm, then it also needs to be assessed for what should qualify as fair use in this realm.
I think you're jumping to a conclusion with that phrasing. It's very likely they happened to also volunteer (or maybe be hired by) the campaign WHILE also happening to be employed by Google.
> It was obviously wrong

It sounds obviously wrong by the way you phrase it, but it's not so black and white. As a freelancer myself of the past 5 years, I prefer the independent life, being able to negotiate things as I'd like, having more varied work and having more freedom to work when and where I like. Perhaps I could make more and have better benefits as a regular employee, but that's not what I want. Maybe you don't understand and so this is "obviously wrong" to you, but not everything can be bucketed into "wrong" and "right" for everyone. This may help some but it will definitely screw over others.
IDK. Maybe this is not totally relevant, and maybe it's not a valid counterpoint, but I find it interesting that the market capitalizations of AT&T, Comcast and Charter Communications combined are roughly $200 billion less than Alphabet alone.
What's the full story?
I've had a Nexus 6p going on 4 years. Used the same cable the whole time. Maybe you're using cheap cables?
Here's the staffer report from that event: http://graphics.wsj.com/google-ftc-report
mini usb is basically extinct in my house. But now I’ve got the same conundrum with micro and usb-c. Oh what I wouldn’t give for one connector to rule them all.
and third world countries are corrupt? They are just open about it and give everyone a chance to bid. Imagine the hundreds of billions this decision was worth to Google. Total cost to Google? Probably tens of millions, and a lot of lobbying work was overlapping.
Wow, this efficiency is only 70% more than model 3.
This was true of the first revision of Mini-USB, I'm told, but not subsequent revisions. The wearing components were moved to the cable while retaining compatibility with the older design.

The rumor of socket-side wear persisted well after the design change (all the way up to today, as evidenced by your comment, and many others) so Micro-USB was created to work around the confusion regarding Mini-USB entirely by simply creating a new connector.
Notice the "if". My point was that his working for Google shouldn't matter if those conditions are met. Whether or not they were met is another matter.
So on the other side, if anyone is reading.

I LOVE the dongle. Instead of unplugging multiple cables each time I go to a meeting, I take one out and that's it. When I return I plug it back in. Humiliation? No one cares tbh.

Keyboard was strange the first week to two but now I don't mind it at all.

Trackpad size, no problems there. It's bigger, so what?

Let's see about the display.

Touchbar is pretty good. I use it mostly for volume and brightness tbh, same as I did with the keys. The sliding mechanics of the touchbar allows me to adjust them better imo.

Magsafe is something I thought I would miss a lot, but I don't. The USB C cable is so easy to take out anyway, so I think if someone trips over it it might work as well as the magsafe. Let's see (never happened in 7 years so far).
Tech people and young people in general? Or just people you know? I've been seeing variations of this comment on Hacker News for over 10 years now, and yet the imminent demise of Facebook as a result of users who probably never actively used it anyway leaving has yet to be realized.
Yeah, especially because eating jello with chopsticks isn’t even that difficult. It’s just like eating tofu with chopsticks.
There is surely something in this.

Crime is primarily carried out by young men 16-25. They now have a very interesting activity that many of them engage in. There is far less 'hanging around' with dodgy mates on streets with little to do.

The crime decline also didn't occur just in the US but all across the developed world which suggests that Roe vs Wade had less impact than Levitt and other suggest.

By the 1990s consoles had become cheap enough that many more people could afford them.

That and as someone else has said, cheap and available porn. Cheap porn was available by the 1990s in magazines and videos. Online it's now much cheaper and prevalent, but it's been there for quite a while.
No, even libraries without. Picking something random in the python 3.7 standard library: collections.OrderedDict.__setitem__ doesn't look thread-safe when it updates its linked list. EDIT: well, in fact, the data race in that one is there whether there is a GIL or not...
There is privacy in the bedroom because we expect there to be.

On social media, we share (and over share), and yet we are shocked at our privacy being exposed. We should not expect it.

If we talk quietly to each other in the privacy in our homes, sharing that information is a breaking of social trust.

If we talk on the bus around others, we should't be too surprised if someone hears us.

If we share what we say to all, we should absolutely not be shocked. Especially when we are explicitly sharing on purpose.
Microsoft’s Mysterious ‘Modern OS’
Notice that no Googlers have a good response to this or the Eric Schmidt / Hillary Clinton connection. Google’s ties to the Obama administration were deep.
This is like saying "I think abortion should be illegal because I don't want an abortion".

The comment you're replying to isn't saying to abolish single family homes, it's saying to abolish single family zoning.
Or it'd just be socialized like public education and the postal service...
Activation (Squashing) Functions in Deep Learning
Tariffs are taxes on transactions. Like all other taxes on transactions (sales tax, VAT, excise tax, etc.) they are paid by both parties to the transaction, with the share being determined by price elasticity.

It doesn't matter which party hands over the cash for the tax. The price will rise or fall as required to ensure that the tax is effectively paid according to price elasticity.

You get to graph this out if you take an economics class or two. In case you don't want to take a class, I'm pretty sure there is a Khan Academy video of it.

For example, the Chinese have effectively been paying about 5/6 of the tariffs imposed on them. Since the tariff is implemented by having the buyer pay, the price of the goods goes down. (you might ask why the Chinese would reduce their price, but they face lower demand and fixed operating costs, and also consider why the previous price wasn't higher) If the tariff had been implemented by having the seller pay, the price of the goods would go up, but this would be smaller than the amount by which the price has gone down. In other words, the US tariffs have forced a price cut which absorbs about 5/6 of the costs.

In addition to the market effects, the collected tariff can replace other taxes. The US was funded on tariffs during its rise in the 19th century. Our government is now mostly funded from taxes on productivity, which of course discourages productivity. We can return to the strategy that we used prior to World War I. It worked. It has also worked for many other countries pulling themselves out of poverty, including China.

Khan Academy's page about it with the graphs:

https://www.khanacademy.org/economics-finance-domain/microec...

Numerous videos, including one from Khan Academy:

https://duckduckgo.com/?q=tax+elasticity&t=canonical&iax=vid...
The concept of freelancers isn’t the problem. It is entirely legitimate to be a freelancer and entirely legitimate to hire a freelancer.

The problem is de-facto employees who are classed as freelancers as a way of avoiding taxes and worker-protection laws.
If your email firewall allows random .sh attachments, then you are vulnerable to at least two attacks:

1. Someone targets you specifically, knowing you are a software developer, by impersonating a trusted third-party contact and sending you a ZIP attachment with the contents of an open source project you are known to work on. ZIP attachments preserve the executable bit, and you wouldn't see any .sh extension because it would be an extension-less shell script. It would probably just look like a binary you are used to clicking.

2. Someone impersonates a trusted third-party contact, sending you a ZIP attachment with a symlink traversal to overwrite your .bashrc as soon as you unzip the attachment with a double-click, or as soon as unpatched middleware unzips it for you.
Yes, I would be classified as an employee according to this CA precedent for some of the clients I've worked for. I don't want this.

> But it’s part B that presents a problem for freelance journalists: someone is an independent contractor only if they perform work “outside the usual course of the hiring entity’s business.” In the archetypal example, a plumber fixing a restaurant toilet clearly qualifies. A freelancer journalist writing a column for a magazine? Not so much.

In my case, I've been a contract developer working for agencies before. Sometimes I want work like this.
You can't prove that
You can ridicule the specifics, but the high-level idea here is spot on. Either you have to decouple economic growth from increased consumption of natural resources, or you have to find a way to have a stable society without economic growth. I see no reason to think the former is possible, so that leaves the latter. The alternative is some kind of calamity.
Would it make you feel better if I told you Google pays really well and offers nice perks for SWEs? It’s worth it to a lot of people to have a path to early retirement, even if it means the destruction of the open internet.
What does "data-driven" mean in this context?

And why are companies like DigitalOcean and Sentry sponsoring a game engine?
Torturing is currently illegal. Selling customers' data is not currently illegal.

Won't the law only help then?
It really shouldn't matter what a public officials prior employment, often domain expertise is often a good or necessary thing. But it unfortunately seems to be a recurring problem worth investigating. There should be some conflict of interest rules around anything related to your former employers. Only if they were previously high up at the company, of course.

The DoJ and other state legal offices have rules about excusing prosecutors from cases but this one seems to not be seen as an issue at these regulatory and broader judicial agencies.

This should matter considering the US is disparaging China for having private companies backed by the powerful government bodies, operating under a different set of rules than everyone else.
Errr... how do these people think macOS and Windows can run Linux containers? It is a VM on those platforms.
What projects currently use Amethyst? I can't find any information on the site about current users.
This idea is a kind of calamity. They’re proposing to increase poverty worldwide when we haven’t even managed to get everybody over $2 a day of consumption, or bring child mortality down to rates that would have been acceptable in the US in 1950.
I don't know the data you're holding. If it is sensitive data, like customer anything, would it infact make sense not to have offsite backup?

Reasoning: Your contract with Amazon promises durability and I'm sure there's a service level agreement with penalty/liability clauses. By implementing a redundant backup, you're replicating something that you don't legally need to have, double-or-more due diligence on the offsite backup security/credentials, and in case of a failure of Amazon create a grey area with clients "Do you have the data, or do you not?"

In short, there could be a very good business reason not to do offsite backups.
In my house, I replace at least one lightning cable per month. If those are even tugged in the wrong direction, they will bend or break entirely. Also, the copper pad contact surfaces on the surface of the connector often simply fall out of the plug itself, rendering the cable useless.

I'm buying Apple cables from Apple, as well. The lightning connector is garbage, and is easily the worst device interface cable I have ever seen.

Also note that the springs on a lightning connector are on the socket and not the plug.

Lightning cables and sockets are designed to wear out quickly, forcing replacement early and often.
Same here, early 90's. I actually liked the taste of the hose water from my childhood home more than any other water I've ever drank.
The individual user isn't worth 5 bucks in ads. But if you have millions, then they are worth that amount in aggregate, but only in aggregate. If they offered any price for subscribing ad free, the potential loss from the ad value of nonsubscribers could be well more than the gains in subscriber fees.

Therefore, to offset this, subscription fees needs to be much higher than the average ad revenue per user.
Everything this guy writes or works on is worth consuming. Looking forward to reading this!
Am I missing something? When I was on FB I only shared with maybe 50 friends/family. My expectation was that it ended precisely there.
Freedom of press anyone?