skysight-inc/HackerNews huggingface dataset:
Perhaps I'm missing that, but that portion of your post isn't really correct either. Most companies can suppress speech. Some -- which are few, in relative terms -- are regulated and barred from doing so, sure. So you may be "technically correct", but that's not particularly useful here. Most companies (including CF) can, and IMO should, suppress speech that they find reprehensible. It's a difficult line to walk, but ignoring the problem is cowardly, and tacitly condones bad behavior.
To the extent a repatriation tax holiday is the right thing to do, it should be possible to make that case in a traditional political environment where the legislators and executive are at least somewhat qualified to deal with it.

Meanwhile, the abrogation of informed authority is leading to scenarios like this: https://www.vanityfair.com/news/2017/07/department-of-energy...

How healthy will it be for Wall Street (or anyone else on the West Coast) if the DoE is defunded to the point where they take their eye off the ball at Hanford?

Basically, what I'm asking is this: the markets love Trump. Why aren't the risks associated with gross incompetence priced in? I'm missing something, obviously, and that bugs me.
Well I also sometimes move around a single much bigger light with the palm of my hand that shines on the table surface, which then also changes the tiny lights. I heard some people move an actual frigging LASER to do the same thing with more precision, but that's just crazy.
Breakthrough detects repeating fast radio bursts coming from distant galaxy
Does anyone know if there is some mechanism for the general public to provide funds to the education system in Oklahoma? Something like a gofundme page where it is clear the money is going to the system and not getting mis-used or mis-directed?
> it was a lot of work

Thus the desire for types.SimpleNamespace as others have noted.

Though we might have better design choices today than yesterday, there's also a downside to code churn. Case in point the annoyance of trying to modernize threading from isAlive to is_alive.

Even when writing new code, it's often wiser to stick with a "worse" standard than to use a new design.
VMware Gets Its Mojo Back at VMworld 2017
Does this mean you're changing how Namedtuples are implemented, or just not saving _source?
I think they are talking about the underlying cryptocurrencies being offered in ICO's.
My wife has Diabetes and would gladly have a cure from DNA modification.

I would like a DNA modification to make my metabolism return to age 19.
Using URL shorteners here in general is inappropriate.

Choosing to use Google's URL shortener in this context is beyond ironic.
Tech industry and comp-sci majors are highest earners
Would be nice if CPython had an option to enable "lazy imports".
Using the Linux kernel API is too high level :) Back in 1999 I wrote a simple 3D engine that hooked into a lower level API: the code was calling directly into the VESA BIOS Extensions of the graphics card. This worked on Windows 98 I think, but not NT4. https://en.wikipedia.org/wiki/VESA_BIOS_Extensions
I got some dogecoin once and sold. So profit. Much luck. But no systematic system.
It's not justified and fair just because it benefits Google and it's shareholders. By this logic I shouldn't go to jail if I rob a bank.
Retrieve Stripe Customers via Email
Do ants require venom to kill ticks? A species of fire ant that is engineered to be non-venomous might be a win-win: tough survivors that eat ticks.
I'm doubtful that ElasticSearch, out of the box, is going to do much in the way of getting you want you want. It's fine for building an inverted text index and letting you query it, but that assumes you have some ability to parse the data and submit it for indexing. If the data is truly "unknown" then your problem is how to get it into ES in the first place. And that would be true whether you used ES, Solr or just native Lucene.

Do you know if the data is at least in a text format? If it is, you could code up a job to walk through the data and extract usernames, phone numbers, etc. Something like OpenNLP would probably work well for you. If you want something a little fancier, like NER with automatic entity linking, you could use Apache Stanbol.

Keep in mind though, none of these tools are magic and none have human level AGI. You probably won't get 100% perfect matching for every single entity you care about. This is especially so using the pre-trained models. To get the best results, you'll need to human label some training data (a subset of your original data) and train your own model using the labeled data.

Once you're able to match all your various entities, then you might want to stick them in ES, Solr, etc. so you can do convenient queries - depending on what your use case is.

Note that if your data isn't in text to begin with (eg, if it's Word docs, PDF, etc.) you might be able to use Tika to extract the content as the first step in your processing pipeline.
This is awesome. Great job!
In that case, Australia should soon have a large manufacturing base.
in this case, yes, a feature that breaks backward compatibility.

So someone suggested rewriting in another language, since the new feature will not fit the only advantage nodejs have: same language as browser. The alternative is to rewrite in a type of JS that will not run on the browser either.
energy for industrial use costs more today than it did in 1960:
https://www.eia.gov/totalenergy/data/annual/showtext.php?t=p...
> Elixir seems to be promising, but I don't like the language

Here is an interesting /r/clojure thread about Elixir vs Clojure: https://www.reddit.com/r/Clojure/comments/6wn6t5/new_clojuri...
Why are you making a distinction? I don't care what kind of speech it is. If the speech itself puts other people in unnecessary danger, I'm fine banning it, regardless of whether or not it's political.
Out of curiosity, what kind of bugs have you see that arose from "providing the tuple interface" inappropriately?
> It'd be worth implementing some kind of more robust auto update mechanism, or a schedule for the phase in of this [the block size], if only because when people evaluate "is BitCoin worth my time and effort" a solid plan for scaling up is good to have written down.

Prescient words from Mike Hearn.
Why I'm ditching Clojure for JavaScript
From the website¹:

> The NumWorks Graphing Calculator matches all the requirements of the ACT calculator policy and is permitted for use on that test. It is currently under review by the College Board for use on the SAT.

¹https://www.numworks.com
With all of the pain I've had with Hyperledger Composer, I'm not sure JavaScript is a good idea for smart contracts. Even on private blockchains its still painful.
Thanks so much for the tips!

This is exactly why I did an Ask HN. I'm sure I could've searched around and found some data, but as you've pointed out, there are other things to consider. This thread helped me discover some of the 'unknown unknowns'.
I think the worst part about JS is not really performance but the language itself.

I wish I could just write that I'm expecting to receive a User object in a function without having to resort to TypeScript. It would make code so much more readable.
> If .NET (using C#) can produce a native binary I'll switch to that for as many projects as I can.

It's coming... https://github.com/dotnet/corert
Is it the one where vendors are upstreaming their drivers to Linux mainline, properly supporting them in tree, and users are able to audit and trust their phones for the first time ever?

Because that is the actual answer. Everything else is a compromise trying to please vendors who are only trying to exploit users for profit through planned obsolescence and withholding knowledge of how their devices work.
Reminds me of a Simpson's episode where X eats Y keeps escalating...

Since the town considered the pigeons to be a nuisance,
they are delighted that the lizards have eaten all the
pigeons. So, Bart is thanked and honored by Mayor Quimby
with a loganberry scented candle. Lisa worries the town
will now become infested by lizards rather than the
pigeons, but Skinner assures her they will send in "wave
after wave of" Chinese needle snakes to eat the lizards,
followed by snake-eating gorillas, and then "when
wintertime rolls around, the gorillas simply freeze to
death.

https://en.wikipedia.org/wiki/Bart_the_Mother
You probably saw my response in that thread, where I said that the dramatic performance improvements in lookup speed reported by the CHAMP paper were mostly because they were comparing apples to oranges.

However, Clojure's equality semantics only really help in some niche situations (where you want to be able to use ints, floats, and bignums interchangeably, mostly), so making the equality semantics configurable would be a huge win for all sorts of applications.

Also, lookup is not the only performance win that CHAMP offers: https://github.com/lacuna/bifurcan/blob/master/doc/benchmark.... One thing the approach makes possible, which wasn't explored in the paper, is the ability to do union/difference/intersection operations structurally, rather than just iterating over each element in the set.

None of these improvements are so overwhelming that they take priority over everything else. Clojure's data structures are still really well made. Given how data-focused the language is, however, I think these improvements are more compelling than everything that's been added to the language in the last five years other than `clojure.spec`.
Eh
https://hackerfall.com/story/the-truth-about-purism-why-libr...
http://www.pcworld.com/article/2960524/laptop-computers/why-...
https://github.com/dotnet/corert
Don't be condescending. There are a couple more factors at play that make this more nuanced. First is that entering the ASIC field requires more time and economic outlay, so it's not something an attacker will do overnight. Also, it removes anonymity from an attacker as it's hard to hide the source of a large ASIC farm. Lastly, because of the investment in time and money, the existing well known players are not incentivized to turn their farms into attack vectors. I do recognize that the gov of China could force all miners there to do that, but I didn't claim that ASICs made BTC invulnerable, only that they are safer than CPU/GPU mining.
I'm glad you've found them useful.
In a sense, we did vote for it. We elected Trump, who spoke out against NN (https://twitter.com/realdonaldtrump/status/53260835850816716...) and who had obvious pro-business leanings.
Any serious club system can produce peaks waaaaay hotter than 120db, cleanly. Especially horn loaded systems like most anything on the high end these days. Horn loaded PA speakers can give you perfectly clear peaks at absurdly high amplitudes, cleanly. We don't hear peaks, we hear RMS volumes which are invariably at least 6 db down from the peak if not much more (classic rock routinely has peaks 30 db over the 'body' of the sound as expressed in RMS loudness). This easily raises the grungy one-bit noise floor level of 16 bit CD audio up into the plainly audible, and as for any lossy-encoded format, forget it: an order of magnitude worse.

CD quality is the very least you could want for a serious big club or theater system (much less auditorium). Between peaks and the requirements for deep bass, the peak in a digital audio file is (a)much farther above the body of music than you'd think, and (b) should never be reached, because that's clipping.

People routinely behave as if the theoretical maximum dynamic range of a Red Book CD is relevant to anything. It's incredibly easy to play back music loud enough that the noise floor will get obnoxious and relevant to listening, it's only 96 db down. Any small system in an enclosed live space can push louder than that. Cranking music over headphones will blow way past that and you won't even hear the peaks, but you'll be able to hear how bad the subtleties (or lack of same) on 16 bit red book CD are.

Electronic music, especially live, is totally relevant to high resolution audio. I more than suspect some of the big name acts (for instance, Deadmau5) are using converters to the mains running at not less than 24/96. Certain synthesizer mixes are very revealing of faults in the playback. If the live performance over a modern PA sounds absolutely huge and awesome, but not strained or grainy, then they're not using CD quality. The SPLs are more than enough to make these distinctions obvious.

Anyone can get these SPLs over headphones, trivially, and headphones that'll handle it cleanly are only a few hundred dollars.
Most CIA and NSA code that has been leaked has been developed on Windows using Visual Studio IIRC.

The bitcoin code looks and feels a lot like of their projects but could easily be some NSA programmers side project.

Any hacker can tell this was a one person project from looking at the code.
Those aren't products. Google's main products are advertising and user data. They can't be monopolists in markets they're not even participating in.
Hey, this one we are good at. How wide is the area you want to burn?
It's not like more than 1% of android phones that have shipped to date will actually get an android update to Oreo anyway so why not leave them behind and update the kernel?

New phones need new drivers which must support the new kernel, period. I don't see what the big deal is. You aren't getting Oreo on your old ass Samsung Galaxy S2 anyway.
To a certain extent I agree, only in some respects I'm the opposite regarding point 1. I still work exclusively on Ruby on Rails projects (on the backend, frontend is trending towards Vue.js usage now), and that's actually proven quite successful lately. Clients that aren't super tech-savvy don't really care what I'm using as long as it works and I can get it done in a speedy fashion (which I can because I know Rails like the back of my hand), and the tech-savvy clients that come to me do so because they have an existing Rails codebase that needs upgrades, enhancements, etc. I can't tell you how many times I've heard "man, I'm so glad I found you...it's hard to find any Ruby programmers!" Makes me wonder if the death of Ruby as a career path is greatly exaggerated...
I'm curious: could any of the recently known smart contract bugs have been prevented through the use of a stricter type system?

I tend to think of type systems more as a hindrance myself. I mean, they can certainly help you catch bugs before the code even runs - but which of those bugs would you not catch during the testing phase anyway?

I'm genuinely curious: what types of bugs does a stricter type system catch that a reasonable test suite probably would not?

Note I'm not saying that tests guarantee bug-free code, or that you can't do both. I'm just wondering about which different kinds of bugs you might catch.
At that point, all the benefits will be reaped by end users. I'm ok with this.
Fewer than if we are all required to run Facebook pages.
I'll try it.

I certainly have a "self assessment" program running in my head which asks "is your brain out of steam"? I usually run this in my brain at the end of the day because I have a tendency to keep programming long after my brain is too tired to keep going.
Google AMP has a lot of success stories: https://www.ampproject.org/case-studies/
Facebook Lands Lonzo Ball and Basketball Family for Reality Show
What about having a scaling factor to adjust the impact of quantity (total) of individual ratings as needed? Rough draft:

sort_score = (pos / total) + (W * log(total))

Here, W is the weighting (scaling) factor. Total = positive + negative
Would love more details, since shorting a stock when you know about a critical product vulnerability sounds like "material nonpublic information" to me which would make this insider trading.
I think most of the criticism of AMP is the URLs being messed up, which is something that will soon be fixed.
So far, I've built it to satisfy my own needs entirely. One obvious problem with this is using a half-finished task manager. It wouldn't have worked if I had been working with anyone else - I haven't implemented sharing or teams yet.

So far, I've focused on porting the foundation to the cloud, and refactoring the basic features of my personal system into something Simple(ish) Loveable & Complete that I can share with others. There's no point in focusing on differentiation at this stage - I'm still trying to get an initial, functional public release out the door.
FYI if you're interested in AMP but don't want to be served from a google.com domain, Cloudflare also has a compatible implementation: https://www.cloudflare.com/website-optimization/accelerated-...
Immutable implies thread safe. Somewhere in the concurrency section of Effective Java, it both that this is true and that documenting a class as immutable is good enough to document that it's thread safe.

Not sure if the spec lays it out, but it's a consequence of the spec.
We are going to have to find a way to tax robots as if they were humans doing the work. Social security can't survive in America unless we do some pre-planning. Robot displaces 10 people? Robot pays the payroll tax times 10, or something like it.
Even without that there are lots of power saving fixes that get put into Linux with every release. That kind of stuff seems like it be very important in a phone as well.
Verifiable audit trails.
Was this the Arny Krueger stuff? I did that.

I ABXed 320kbit mp3 from an uncompressed original, I think 9/10 IIRC. It was a recording of castanets, and listening for frequency response differences was useless so I keyed off of 'personality' differences in the sounds and did it that way.

I was also just as horrible at detecting wow and flutter, as I was good at detecting lossy compression 'changes of sonic personality'. Comes from my experience being with analog audio, which is less true of people these days.

The idea that 'the best' listeners cannot tell 256k from even something as limited as 16/44.1 is ridiculous. Any mp3 format… any lossy format… is seriously compromised. Talk to techno/house DJs and producers about how useful it is to perform off mp3s, this is not a hypothetical argument.
Salary slashes are inevitable because healthcare costs are growing like metastatic cancer. The twin dragons are health and milsec.
I am blown away by the fact that in a country of 300M people (~230M adults) there are 0.5M people with the same model of pacemaker!

I would have guessed the total number needing a pacemaker at all would be less than this rate (1/500).
I like to see Android add System GUI to monitor:

* all apps (including daemon processes) that makes internet connections.

* Where they are connecting to.

* AND give user to GUI/Options block those connections.

I also want Android give users option to audit/monitor all new programs, .so, files that has been added to the systems and by which program, time.

If there are suspicious file that is added to the system, we can audit/monitor/report/google where it comes from.

In Windows 10, I use netstat to monitor all TCP connections and get the name of the programs and configure the windows firewall to only allow Windows Firewall/Firefox and Chrome to access internet and block IE/Edge/svchost/SearchUI and countless other SW from access internet. My system is so much faster and stable, after I did this.
Just one nit:

> AMP enables an alliance of convenience between ... Google ... and the authors ...

The third party in that alliance is the end user who was a decent mobile browsing experience. As one, I absolutely love AMP. It guarantees that the page I am about to click on is not going to be horrible. So much so that these days, I actively seek out pages with AMP icon in my search results.
I’d say that the existence of an escape hatch for things that can’t be expressed natively is itself a form of expressitivity. It’s one that’s near ubiquitous among dynamically typed languages, so it doesn’t say much that Python has it, but it still provides a favorable comparison to some static languages.

That said, this particular use case for eval is basically macros lite: the code being evaluated doesn’t generally depend on input to the resulting program, so it could have been expressed as a transformation to the module source code, i.e. a macro. And a true macro would be able to provide more natural syntax, whereas namedtuple requires stuffing the field names into a string (or using a wrapper based on some metaclass thing, but the syntax for that isn’t great either). Thus, languages that have macro support, both dynamically typed (Lisp) and statically (e.g. Rust), could be called more expressive in this respect.
Liulantao

Thanks for your response. This is very helpful. I'd ping you on Twitter for a private chat.
"#RESIST"... he quietly scratched into the walls of the cave in total darkness, careful not to make any sound that could alert the hordes of starving mutant cannibals lurking outside.

Sure, after the DPRK caused cyber-911, things would never be the same. All those nuclear plants melted down and millions of people starved to death, but there is always a silver lining, right? At least I got to voice my opposition to Drumf's withdrawal from the Paris Accord and bump my instagram following.
> "...can make as many shirts per hour as about 17 humans"

Surprised they are looking at it per hour. Presumably the automation could run for close to 24 hours a day, whereas the human workforce could not.

So each of these units could replace 51 workers? (3 rotations of 17 workers each doing 8 hours a day). That's before considering the human workforce generally requires 2 days a week off.
Without net neutrality, you might not have an audience in the first place. I'm telling you, it's as big of an issue as Google/Facebook's algorithms and their account/video takedowns. It would become even more impossibly difficult to compete with their services. The problem is their monopolization, and a lack of net neutrality would kill their competition.

This is a bit of a tangent, but it sounds like you're wanting a social media platform that has:

1) Popularity (essential for any social platform)

2) Unbiased search functionality (Probably needs to be open source, and will frustrate users with how it underperforms at finding relevant results in comparison to search engines that are closed source and rely on user tracking)

3) Incapability to take down user files and accounts (Tons of legal issues here. Probably needs to be decentralized somehow, or hosted somewhere with lax information laws, otherwise the platform itself would be taken down by the server's location's government)

Edit: And as for your analogy, no. It's like renting a paper notebook, which the seller then takes back because you violated their terms of use by drawing lolicon in it.
To be honest, I'd feel better if it was willful fraud.
Namedtuples are pickle-able when created in the global scope, just as any dynamically created class. The main section of the collections module demonstrates that feature (read the source, Luke).

Removing eval from tuple would not solve your issue. You'd need to instead remove eval from pickle, of sorts. The trouble is that pickle tries to look up your namedtuple by name and can't find it in your module.
This can be done with apps already although you have to start them on reboot in my experience. Let me go fine the name. It is called NoRoot Firewall.
so there is nothing in it for Google?
It's a pity that HP's RPN didn't win over TI.
Fyi...there are no basements in Houston (or Texas really) despite what the article states about how water will have to be pumped out of all the basements.
OnePlus ships modern kernels.

My OnePlus 5 is using kernel 4.4.21 - this is with Nougat 7.1.1, by the way; no Oreo here yet.
IMDB uses something like this. It's called a "weighted" rating system. In the IMDB version what happens is that you calculate the average of all ratings of all items, and then push an item's rating towards the average. The fewer ratings it has the more it's pushed.

See http://www.imdb.com/help/show_leaf?votes for details.