skysight-inc/HackerNews huggingface dataset:
I'm optimistic about the potential for evolutionary algorithms. I've used both EAs and gradient descent in developing robot controllers.

But the argument here about why gradient descent won't be able to learn certain things is weak. Thought experiments are not a reliable guide to what what GD can or can't do.

It's fair enough to say that F=ma and E=mc² aren't in the data. Indeed, it took thousands of years of human thought to arrive at them. So the argument "it's not clear how an algorithm could extract F=ma from the data" isn't a strong criticism, because humans also can't do it by induction.

The long process culminating in F=ma involved a lot of abstract symbolic thought. Whether human-level abstract symbolic thought can be learned through GD (probably in combination with some sort of Monte Carlo tree search) is an open question. It can only be answered by trying to build things and seeing if they work.

If you want to make an argument about the limits of GD and induction, it'd be better to compare to a problem humans can solve reliably, rather than an insight that one genius had after decades of thought while standing on the shoulders of other geniuses.
A blog post by a pythics PHD (or may be biolog or chemistry, I don’t remember.) about the sad state of utility software in his/her area of study. The software the author developed during the PhD program has become the acedemic standard.
Won't this have serious implications for Spark, Hadoop, and other frameworks that distribute workloads across multiple JVM instances?
I was thinking about suggesting that too. :)
I was trying to understand if C# has the same issue. From what I can tell, as long as you use the default serialization, it seems to be safe. But I can't really tell.

https://www.alphabot.com/security/blog/2017/net/How-to-confi...
And even more seamless...protobuf.
I actually made this post in a completely sarcastic sense and expected it would be downvoted to oblivion. Instead it seems that people actually took it literally -- and I got positive karma for suggesting the social justice movement is justified in committing violence. Which is all the more appalling.
Fwiw my initial assumption (as a non python dev) was that the else statement would execute once the loop condition was false (including the case where loop condition was never true).
I understand that as we become more multi-cultural, there is a decrease in the percieved kinship between city dwellers and thus less alturistic behavior.

Maybe more multi-ethnic, but I'm not sure about multi-cultural. If anything, at least we globally share a baseline of culture because of the internet and I only see that increasing...hopefully.
Disclaimer: Did not RTFA.

There is a difference between observation and judgement. Sometimes it's easy for people to separate the two. For example, let's say I am drawing a picture. I draw a line. It is a line. It's neither good nor bad. It's just a fact.

The line is not straight. Again, it's just an observation. The line is not straight enough. Here I'm comparing the observation against some ideal. It's a kind of discrimination. When drawing a line in this circumstance, there is some advantage to it being straighter than the line I drew. This has an air of judgement to it, but I can still view it objectively if I fully understand the advantages and disadvantages of making the line more or less straight.

I am bad a drawing. This may also be true, but we're slowly making our way from a helpful objective comparison to an unhelpful judgement. Against what criteria am I bad? Do I need to be better than I am?

I should not draw because I am bad at it. Now we're making a lot of implied judgements and making conclusions based on a lot of things that we haven't necessarily thought about. What's wrong with drawing badly? Why should I avoid it? etc, etc.

So in that way, the stress is not inherent in the "perfectionism". It is not stressful that a math question may only have a single defined answer. It's not even inherently stressful if I don't know the answer. It's only really stressful if I think I should know the answer, or if I'm pretending to know the answer when I don't.

There is nothing wrong with thinking critically. It's the assignment of value where it becomes problematic.
Because donating tax money doesn't fix the core problem, and will barely make a dent anyway.
AFAIK, Hadoop uses protocol buffers for message passing, not Java serialization.
I recently realized that when I have negative thoughts about myself or the future I feel like I'm listening to my logic and reason, but when the thoughts are positive I just brush it off as wishful thinking. Which has lead me to a life where I dread imaginary events that never happen, and don't let myself look forward to anything or fantasize about possibilities.

I think it started as a measure of self protection after a long string of broken promises when I was a kid, but it's a shitty way to live. My biggest realization was just that pessimism is no more logical than optimism.

My solution has been to give equal time to positive thoughts. So, if I find myself thinking for a couple minutes about how something might go horribly wrong, I spend the next couple minutes imagining what the best case scenario would be like.

I'm basically forcing hope back into my life.
A couple of those are a bit off.

Aside from party crashing outsiders like Donald Trump and Bernie Sanders, both parties support globalism. Both the Bushes and the Clintons are 100% globalist, along with Romney and Obama and McCain and Gore.

True religious tolerance would allow people to opt out of some things they find deeply offensive. It goes beyond just the right to wear a head covering or stop the production line for prayers. It includes the right to say "no" for pharmacists (birth control), bakers (LGBT wedding cake), gynecological residents (abortion), and business owners (insurance coverage for birth control). What we see isn't actually religious tolerance. It's more like "the enemy of my enemy is my friend".
Or mistaken for niff. [0]

(No, I didn't know this word existed before this moment.)

[0] https://en.oxforddictionaries.com/definition/niff
I would be honestly curious to understand what people object to in this comment.
TXR: A Language for Data Munging
seeing the terms 'ego-disolution' and 'filtration-theory' makes me think the author really did his homework
The funny thing is that supporters of either party would read "the obvious corruption of one of the parties" as referring to the other one.
Ask HN: Father vacation in New York City with my two sons 14 and 16
Hi HN,
Looking for cool stuff to do in NY later this summer (August) with my two sons (14 and 16). Places to see, eat etc., anything you would recommend that is different or less known than the typical tourist stuff. First time in NY by the way.
Keep in mind that the "official" work hours reported in Japan are bogus because many Japanese workers do not report overtime, nor do they report the hours they feel obligated to spend with their team after work hours.

Work-life balance for software engineers is a bit better in the US than it is in Japan.
AfD has 94 seats in the Bundestag. Five Star and League saw significant success in Italy. I guess I’m not sure what your point is.

Edit: https://www.politico.eu/article/italys-premier-designate-ste...
Brazil, for instance.
Maybe in reference to this: http://kundajelab.github.io/dragonn/
Infinite Jest. Re-opened my mind to the aesthetic beauty and raw technical skill of competitive sports, after years of repression following negative childhood experiences.
How did "1984" change your life?
In theory this can be solved by using a security policy, but I don't think most are doing anything like that for deserialization.
And just to add memes one on top of another, who knew there is an Arduino brand of coffee machines?

http://www.victoriaarduino.com/venus-family/
Let's go out on a limb here and consider that people aren't overly self critical, and the problem is actually that they can't do anything about their failure to meet high self expectations, because they are in effect trapped in a prescribed lifestyle where they have no power to make meaningful change.

Let's go out on a limb and consider that while being less critical of yourself addresses the symptoms of disappointment, it doesn't address the causes of inutility of smart and capable people.

Let's consider that the quote "it is no measure of health to be well adjusted to a profoundly sick society" is actually pretty insightful.

We are, as a culture and a species, failing in myriad ways. In my humble opinion, we should feel bad and we should change as well. We're just powerless to do much because of the strength of institutions that exist out of ritual and not out of rationality.

We're left to hate ourselves, because nature and ignorant humans with money and power do not care what we think, and have an answer for everything we do.
I think the point of civil wars being damaging is spot on, but the example of the Thirty Years War as a civil war is quite flawed: The Holy Roman Empire had always been a small aggregation of city states, as you call it. The position of emperor held some political power, and attempts to centralize into a state were made a few times (Most significantly with the Reichsreform of 1495, which could not be enforced), but ultimately, the Holy Roman Emperor was one noble among many, with the rest of the empire paying him nothing more than lip service.
And a detail: Bismarcks Prussia didn't reunite the HRE, it formed a nation out of most of the culturally German parts of the former empire (which had been dismantled already during the Napoleonic Wars), notably and among others missing Austria since they were historical rivals.
Very cool.

I wish I was able to locate a Thinking Machines CM-5 before they were all destroyed. Even the front indicator panel would have been nice.

I’ve created my own smaller version with an Arduino and some LED panels but its not the same.
This is what project AMP is all about: to make websites lightweight again, using radical but effective means. You can feel the difference in desktop Chrome using the AMP Browser Extension: https://chrome.google.com/webstore/detail/amp-browser-extens...
A little bit off topic, but what are the best libraries for drawing simple graphics like this? I've been looking into making a small graphics project and I'm not sure which is the best to use. It only needs to draw basic shapes like ellipses, or rectangles, or just specific pixels. I've been looking into SDL2, as that seems relatively popular and portable, but I'm curious to see if there's any other libraries that are recommended.
A lot has changed on the waterfront. Areas along Queens Quay have been deindustrialized and are a mix of commercial and residential. Revitalization of the eastern sections of the waterfront has only started more recently with the Lower Don Lands [1] project. The old Unilever factory near the waterfront is also slated for redevelopment. [2]

The water quality has also improved to the point where it's safe to swim in the water [3] and the beaches meet the blue flag criteria for the last few years [4, 5].

1: http://urbantoronto.ca/database/projects/lower-don-lands-red...

2: http://urbantoronto.ca/news/2016/11/preliminary-plans-reveal...

3: http://app.toronto.ca/tpha/beaches.html

4: https://environmentaldefence.ca/blue-flag/

5: https://www.toronto.ca/health/swimsafe/beaches_blueflag.htm
Blogspam, I think they call it
Through the fact that Struts did not implement things correctly and equifax did not upgrade their systems. It also sounds like it was multiple vulnerabilities. Like this one as well: https://www.cvedetails.com/cve/CVE-2017-5638/
Increasingly, Microsoft seems to be taking the same approach, at least with its Azure line of products where you can buy “service” separately from the actual cloud product.
NYT trying to inculcate a philosophy of non-critical thinking in a time when there is so little. They're hoping that your valid overstressing concerns will translate into forgiveness for your national identity as well. They're also hoping that you'll feel sympathy for powerful figures, such as when they advocate war and get criticism for it.

Please keep those two things seperable in your mind. Harsh criticism in nearly unlimited quantities is very healthy when directed at the powerful.
From the article it sounds like you’ll only be able to use the replacement on Java data classes, sort of like JSON structures or C structs.

Since there won’t be any code that gets executed, that particular vector is closed.

Of course if the code reading that object does something stupid…
I've found where that causes problems is when on of the matrix dimensions is not a multiple of the cache line size. It's common on gpus to use more elements then there are in the dimension. Nvidia calls this the leading dimension, and it must be greater than or equal to the Matrix dimension. If this is the case, the transpose trick doesn't quite work anymore.
Heh - I remember doing this in ascii-art on an Osbourne CP/M machine, first in Basic and later in Z80 assembler. I used the wiring diagram in the owner manual (!!!) to work out how to make a joystick I could plug into the parallel port. I was maybe 13 at the time...
You are getting downvoted because you didn't answer the question. What are the qualities of being a "startup nation", other than simply having the most startups in the world, which is likely not what Macron meant.
I agree that the word 'else' is confusing here. To me, it suggests that one thing is done, or the other, but not both. Python's try..except..else follows this pattern, but for..else and while..else do not, for some reason.
I'm not sure about that (re: evangelizing). Dr. Shulgin was pretty enthusiastic. I have every book of theirs, autographed. Dr. Nichols is fairly clinical though. I don't know who the up and comers are in the field, but they'll have some huge shoes to fill.
not really a good idea
The way it is by Ajahn Sumedho. A collection of talks, perhaps a bit rambling at times, but very insightful, by a Theravadan Buddhist monk.

I read this every few months.

https://cdn.amaravati.org/wp-content/uploads/2014/10/26/Way-...
>Third advantage: less access to drugs

Unless it's Cannabis.
Swift Injustice: The Case of Tommy Robinson
While this may seem heretical to many, why not consider SVG or HTML5 canvas? Widely supported, Ultra portable and very readable code unless you are looking for stuff that needs fancy acceleration.
‘Abacus: Small Enough to Jail,’ a Classic Underdog Tale (2017)
It's not a self signed cert.
I don't know if this will be on-topic for you, but:

I'll speculate that chronic self-criticism is, results from, and/or produces chronic stress. Chronic stress is known to be harmful to health in several ways.

You might start with an interesting article [1]: From Stress to Inflammation and Major Depressive Disorder: A Social Signal Transduction Theory of Depression. Not paywalled, maybe a place to begin looking at connections between self-criticism (which I find immensely stressful and debilitating) and consequent illnesses.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4006295/
Odd, I think I'm in the same place as you are. I keep wondering "what did I do wrong" while learning a vast array of different technologies and systems and mastered quite a few of them.

But then again, how does "Jack of all trades" correspond to "backing oneself into a corner?" But I have to agree seeing as how my manager recently told me he had reservations about hiring me because of my broad background! WTF? What business really is a complete system of lies which make the employee wrong at every turn. There is no way to win, not unless you are management and best to be a psychopath as well.
I'm fairly certain that mathematics is the language that the universe is written in...
You're not alone. Innovation and improvement can only exist in cultivating a mindset of possibility.
Textures would be better. Surfaces are raw data, but textures are optimized for the individual hardware.
Every time I go to use for...else, I need to look up what the behavior is, I can never remember if it's hitting the break or not hitting the break. That being said, python always tries to minimize the number of keywords, so re-using else makes more sense then introducing a whole new keyword for a niche usecase.
Thats what drugs do, they overwrite the brain patterns to recommend a one size-fits all solution to all problems - more drug - or more drug research. Its called psychological addiction - the you ceases to be, and the it becomes me.

Have i told you how great mdma is. Everyone should try it. I never would have expected that overriding my reward system would reveal my normal life to be such a bland mess and ilusion.
If one is sufficiently skilled, consulting pays much better in the short term and carries almost no risk. Building a product pays negatively (costs money in the form of expenses and investment) in the short term, and is very risky (the product may or may not actually get built, even if it does it may or may not fit the market, even if that happens, it may or may not generate sufficient revenues, and then there’s the risk of the company going out of operations due to internal/external problems). The founder that wrote the article this comment thread is discussing stumbled at the final stage - company went out of ops due to internal problems.
> An IR LED+photoresistor is much cheaper.

You mean... A tiny camera? A photoresistor is a device which measures light hitting it. It's a 1-pixel camera. In exactly the same way a decibelmeter is a little microphone.

My point is, OP is looking for some complicated algorithm to detect and eliminate speech, but you don't need that - you can just eliminate pretty much everything in the first place.

> Why not? It's a trivial[1] amount of data after you apply a simple noise gate and a low bandwidth codec.

5.6kbit/s to record noise levels is like using a CCD camera and a microprocessor for image detection. You could sample the noise level once every 10 minutes, store it in a uint32, and you'd get 5.6kbit/hundred days. You could ship the data over an SMS link. The units could be battery powered and last months.
>ferengi

I'm sure you mean Cardassians...
Since everyone is showing off theirs here is my half-assed attempt:
https://bitbucket.org/kennethrapp/spaceinvaders
React Popup Modal (3kb) – Modals,Tooltips and Menus –  All in One
The problem with those algorithms is that they define "work" as "how many multiplications do I have to do?" Addition and memory accesses are defined by the analysis to be free. And you end up doing 4-5 times as many floating point additions as the naive algorithm, and the memory accesses are decidedly non-cache friendly. And modern CPUs have two multipcation units but only one addition unit, so multiplications are actually faster than addition. Plus, there are ergonomic issues with requiring square powers-of-two matrices.

Matrices have to be truly spectacularly large to benefit from Strassens, and applications of the asymptotically faster algorithms don't really exist. The matrices have to be so large that they're computationally too expensive regardless of the asymptotic speedup. You're talking about dispatching work units to a cluster at that point.

Most importantly though, the discussion is... boring. It's just "yup, we do Strassens, then we quickly reach the point where we go back to the naive algorithm, and things are interesting again."
For the same reason it's Unixen, not Unices, of course.
For what it's worth you could also write that as:

result = ''
for b in file_bytes_iterator:
if b == '\0': break
result += b
if b != '\0':
throw ValueError("String is unterminated")

And while we're one the subject, I would also really like to have a construction like:

result = ''
while b != '\0' for b in file_bytes_iterator:
result += b
if b != '\0':
throw ValueError("String is unterminated")

but I fear opinion might be divided on that one.
Nearly everybody seems surprised by what it does, which would appear to constitute a fairly strong violation of the "principle of least surprise" that is one of the most cited guiding principles employed by the designers of Python. As such it would seem better to be described as an "anti-tip" or something like that.
The radicalisation in our system seems to result from the primary process, not the general election.
HEVC on the next generation of Raspberry Pi is highly unlikely due to both licensing costs and Broadcom not having a cheap IP block to use for adding HEVC. 4K is more likely, but if you want that today go get an OrangePi for less than the cost of a Raspberry Pi. It even has HEVC 8bit support!
Not _super_ surprising. AWS has spawned an entire industry who provide addon services/support for it (and if I were those companies, I'd be waiting for the Bezos shoe to drop and eat the entire space's profit). The company I work for has a bunch of clients who outsource all of their AWS capability - usually in insanely expensive and inflexible ways...
Haha yes of course!
> No, I certainly propose a city should measure it. I propose it be done with taxpayer dollars, open source software, and in an otherwise fully open and democratic way by the city.

This, I agree with. Google is not in this for the "public good".

I know people who are ranked very highly in the Google maps "guide" program. I wonder what kind of witchcraft Google uses to get people to spend hundreds of hours donating information about their cities in order to improve a proprietary map program for free. -_-
The text espouses a lovely idea, but it seems to be talking about practises that died about a decade ago now.

Nobody does build progressively enhanced websites anymore, its an all or nothing mess of the latest javascript memes and nightly-build browser features.

I really wish sites did fall back to just showing basic content when confronted with an odd browser but it just doesn't happen, browsing the web on my Kindle gets kinda painful outside of HN. The pixel perfect stranglehold designers seem to have on websites is still in place, they are insistent on building "experiences" exact to their specifications instead of just providing information in whatever way works best at the moment.
It’s actually more that the Old Norse and Old English had different endings and the Vikings didn’t bother to figure out the English system. I don’t think they know whether the -s is from a Norse ending or whether the Norse settled on -s for other reasons.

The simplified version eventually spread because England was a mixture of various ethnicities for centuries and you’d have different variants of English from one town to the next— and after the Vikings you had the normans.

I think it’s the equivalent of the guy I was eating with at a restaurant in Nicaragua who yelled to the waitress ‘honey, el forko por favor?’ Like, there was an attempt at Spanish.
Browsing porn in incognito mode isn't nearly as private as you think
Holy excluded middle, Batman :-).

Most of the US[1] are in "at will" employment states, in which individuals can be fired without cause. This is probably what the grandparent was comparing France's law to. The WARN act probably doesn't bear a great deal on the US's place as a "startup nation"...

1: by area, population or state count, including California but excluding New York
'Data point' - much better!
> So it is very analogous to an if / else statement: the “else” after a for or while loop directly means the conditional of the loop evaluated to False.

...how is that supposed to apply to "for i in l"? What is the conditional?

I don't think of python for statements as involving conditionals at all; you seem to be describing a while/else rather than a for/else.
Not all drugs are cheap to make. Biologics are notoriously complex to produce reliably and much more expensive than your typical small molecule drug encapsulated in a tablet.
If you're from the US your salary expectations will be higher but as a Kiwi I would say I'm getting a better deal here than I would be in NZ.

What kind of a job did your colleague apply for at Microsoft? They don't do much development work in Tokyo.