skysight-inc/HackerNews huggingface dataset:
It does, you can write this with a Babel preset supporting this feature:

class Foo extends Component {
state = {
foo: '',
};

// The arrow function here is what you're looking for.
onChange = ({ target }) => {
this.setState({
// You can of course use `foo` directly as the key if you just have the one input.
[target.name]: target.value,
});
};

render () {
return <input type="text" name="foo" value={this.state.foo.value} onChange={this.onChange} />;
}
}
Really very happy about this. I would love for MariaDB to outpace MySQL in terms of features, as I'm never quite sure which direction Oracle will take with MySQL (especially in terms of licensing)!
Subjectively it seems to me that the RNNoise sample doesn't trigger my brain to attempt to fill in the gaps.

With the Speex/raw ones I have all the data so if I listen to it again over and over I can get more out of it eventually.

With the RNNoise one I obviously don't even have enough extra data to even try doing that so all I can do is blame the algorithm.

Perhaps what you really want is an algorithm that lets through a bit more of the 'possible noise' for the human brain to have another go at.
I don't understand why any of that is a huge proof that they can go to Mars.
The Boring Company's tunnels will get you to the spaceport at 200kph with no traffic or stoplights (or 1000kph if you're coming from a distance)

"Without tunnels, we will be in traffic hell forever" -Elon Musk
I resent that! I am average talent, and I would never continue working at a place that refuses to fix the issues they have
I think the biggest issue for me was the sharpness of the cutoff -- it actually sounded like a simple noise gate to me. The hack here helps a lot in smoothing out the sharp attack.
To be fair, most things are moving to cloud. There is just no hype around it anymore because it is considered standard practice now.
Author here, willing to answer questions..
Any time I hear that a Chinese company is investing in a product I use, it's as if the Chinese government is now part owner of it as well. This may be general paranoia, but given the latest crackdown on VPNs and privacy, I don't know that I want a foreign government with a significant stake in Alibaba have access to direct the future of MariaDB. Is anyone else feeling this?
Hanlon's Razor seems to be applicable here.
This looks good in principle, but I feel like it needs a lot of work to make it actually usable. Will the small change in sodium or glucose concentration results in color change enough for people to recognize? We obviously don't need to look at the color change to feel the burn when the PH became 3.
Satya Nadella on falling behind Amazon in cloud services business
How the Catalan government uses IPFS to sidestep Spain's legal block
The plugin output a feed in the Atom standard, proof :
https://www.gatsbyjs.org/blog/rss.xml
Yeah, fuck your opinion about the word fuck in particular!
Making excuses & being disengaged are definitely ways to be ineffective. They might be signs that you and your job aren’t a good fit. They might also be signs that you’re on easy street and have a good deal. But if you’re unhappy and want to fix it, start looking for something better!

> The Expert Beginner. This is someone who makes a career out of always being semi-competent and never mastering anything.

This one is interesting because several of the most effective people I’ve ever met are in this category. Some people are breadth first, and some people are depth first. You actually need both to have effective orgs, so don’t assume breadth first is somehow bad. Many so called “masters of none” are good at gluing multiple systems together, and building pipelines.
This is so fascinating to me, and it seems like a problem we really need to be focusing on. Are there any other solutions besides building new homes?
I don't understand why civility revolts so many people these days. I tell my son that he can use the F word whenever it makes contextual sense and also doesn't offend other people. For instance, he can use it around me, because to me it's just a word. I don't care. He can use it around his friends when it makes sense. But, he had better not use it around his grandparents.

Is it such a bad thing to ty to empathize with others and avoid offending when it's clear that an action or speech probably will? Maybe it's because these days speech is often read by potentially millions of people. And, in those cases, it's almost impossible to not offend someone. So, since it's probably impossible to not offend someone, one might as well just let loose and not worry if you offend everyone? Is that the logic - to avoid overthinking and cognitive overload?
10 Cool SQL Optimisations That Do Not Depend on the Cost Model
As someone else mentioned in another comment, and as seen in their about page, a full-sized version will come out in 2018.
Yeah, some are very superficial still they bother me every time. A map in lisp/python/js vs a for-loop in Go/C, for simple transformations.
The experience is petty bad when it comes to settings and configuration.
This article misses a point as to why the community was outraged at the license change from LGPL to GPL. I was testing switching an application to EXT JS at the time, and I was really liking it. The prototype worked so well that we were preparing to get the commercial license, and then the license change happened.

After the change was announced, a number of people said they would fork and maintain the LGPL versions. One of the people behind EXT JS showed up in online discussions at the time and insisted that would be a violation.

The problem came from it not really being under LGPL. They tacked on this extra piece:

Ext is also licensed under the terms of the Open Source LGPL 3.0 license. You may use our open source license if you:

* Want to use Ext in an open source project that precludes using non-open source software

* Plan to use Ext in a personal, educational or non-profit manner

* Are using Ext in a commercial application that is not a software development library or toolkit, you will
meet LGPL requirements and you do not wish to support the project

There was some debate over this, since the GPL prohibits further restrictions in some cases, and a lot of people believed they could ignore those extra restrictions and treat it as true LGPL.

The EXT JS company in online forums insisted they were wrong, and further outraged the community. A lot of people, myself included, decided to stop using EXT JS. We were planning on the commercial license, but the response of the company didn't feel right, and so like many others, we abandoned EXT JS.
The discussion seems to be diverted to outsourcing; whether it is good or bad. If I were an IBM shareholder, I want to know who is holding the IBM execs accountable? For years they have underperformed, whatever metric you care to use to reach that conclusion; they seem to be unaffected by outsourcing and have golden parachutes.

To hide their technical/execution incompetency they outsource jobs and cook the books. It is moot to discuss outsourcing, the real problems are:
1. The widening wage gap between a regular employee and an executive

2. Complete lack of accountability of executives

3. Despite their pathetic performance are getting richer and richer
Apple didn't sell much until they could halo ipod and iphone. And even then what really got ipod etc rolling was itunes and itms for Windows.

Beyond that what sold OSX better was a unix cli in a off the shelf hardware package with a support contract.

And frankly what people want can be so easily manipulated by marketing that is a real worry.
IIRC, the reason the first chapter is so much better is that it started out as a comic book. After that peters out, he sorta falls back into long exposition with librarian AIs. Perhaps some day, story boarding will be a required part of Stephensen's novel writing process.
VA also has a private college subsidy (effectively brings most private college tuition down near state-tuition rates). Maybe your state offers something similar? And, check other in-state privates, maybe they offer something like Shepherd U.
The (unconscious) bias here is via the assumption that one can't hire good developers in India.
Grain Entrapment
Amazon is developing three new high-profile sci-fi TV adaptations
It's funny how the first priority of the Cuban government in those negotiations was to prevent the people from being able to leave.

The second priority was to pimp out the people for more pocket money.

Now that's Progressive.™
What would the concrete concern be in this case? Any backdoor would destroy the company brand and be excised immediately in a fork.

I suspect they’ll treat it like a piece of critical infrastructure; their political concerns would be at the gfw level, and I just don’t see the likelihood of weaponized attacks. Databases are usually locked down for egress and any outgoing attempts would be rapidly detected.
That seemed really out of place for Elon. Compared to last year's speech and many other interviews he sounded impaired quite frankly. I guess that's what chronic sleep deprivation will do to a man.
Probably would actually be marginally less destructive to productivity than open floor plan offices. But still a childish fit to throw just to avoid saving mountains of money by cancelling the office lease and having everyone work from home.
Emergencies are a good point. You can't wave off and try landing again if something is not right. If diversion inflight is even possible then the options would be extremely limited.
If you're using a web hook to notify your users of changed content, the WebSub standard (https://www.w3.org/TR/websub/; formerly PubSubHubbub; currently a candidate recommendation) is a good option. It solves a couple (though not all) of the problems of web hooks listed in the article, including:

- Uncertain security: signing notifications is in the spec

- Development and testing: ideally, with libraries that implement the spec, you can assume that the websub part will 'just work' and only need to test your handler function.

- Misbehavior is onerous: subscribers need to actively confirm their subscription every once in a while. This might seem complex, but it allows for periodic checks if the server/client is still functioning as expected, and ideally can be handled automatically by libraries.

- Retries: the spec leaves some room here, but again, a library can handle this.

As I decided to use WebSub as an alternative for a 'plain' webhook for a project recently, I wrote a library for the Flask web framework: https://github.com/marten-de-vries/Flask-Websub. I personally hope libraries for other frameworks will follow now the spec is moving less.
I'm neutral on his political stances. I think either a strong shift towards extremely free markets (i.e., healthcare and education highly privatized and non-subsidized), or towards highly regulated markets (i.e., healthcare and education fully publicized and price-regulated) would both be a step in the right direction. Either case seems like it lends towards cheaper services. There's something to be said for age old Adam Smith principles, but I think the "FEWER REGULATIONS!" statement requires more nuance than most people who espouse it tend to afford.

I feel like we're at the very bottom of a parabolic curve right now where everyone is getting fucked due to fake money being injected into these systems. I think above all, what everyone can agree on, is that the individual should come first, and policy should follow. The amount of large businesses with their hands in politics is really the struggle he's crusading against.

I can definitely see where he comes from as a small business owner -- it seems like the same injustice that individuals feel towards certain sections of the upper class is magnified. I think it's helpful to hear small-business owners' side of the argument, because they really are the ones who stand to be hurt most by moving further left, unless done with careful tact.
(yes it's sh*tty formatting, it's the least worst workaround to the lack of support for lists that I could find)
Everything goes through the hype-cycle ie 'trough of disillusionment'.

'Serverless' is one that is here to stay for sure. Nobody likes having to manage 'instances'. There's a gold mine for anyone who can reliably make something that 'just runs your code at scale' - in a normal format, without a lot of weird apis or behaviours. AWS Lambda's are 'almost it' but there's a few caveats that make them annoying enough that they are not the solution.

NoSQL are limited mostly by: A) lack of 'joins' in queries and B) too many query languages. I suggest both of those problems are solvable, in which case they might be even better than RDBMS for many apps. Also - many people just don't know how to 'data model' for them. Or maybe RDBMS will come a long with an easy 'flex table' solution and solve the problem noSQL was trying to solve and make it relevant. (Who knows, maybe they have? I don't pay close attention to that community).

As for Justin Bieber - well - there's 'no advantage' to everyone listening to 'Justin Bieber' - but because technology has to 'work together' - there is an existential advantage when we 'all use the same stuff'. 1 solid tool that everyone uses is probably better than 100 different tools, each of them a little bit better in different ways, and nobody on the same page.

Finally - the bleeding edge is important though, it's the tip of innovation where new stuff happens :)
Not everything has to be about politics. Sometimes a big company investing in an open source database it already uses is just trying to improve its own infrastructure, not trying to hack your country.
Wouldn't that mess with our nuclear early warning system? How can you tell if it's an ICBM nuke or a passenger rocket?
>>You then pay yourself salary for the next three years, as well as a generous contract to your uncle Bob's consulting firm, which is supposed to build the product.

That's still fraud, and could invite a criminal investigation and result in a criminal conviction. You could bet on the government not enforcing the laws, but that equally applies if token sales are banned.
Superficial means of the surface. The surface of a computer is made up of materials such as glass, plastics, alloys, liquid crystals and light-emitting diodes, and paints. There are many levels that make up a computer and how it functions. You can't say you only know what is on the surface if you understand how it works multiple levels down.

If you meant 'they don't REALLY understand it', neither do physicists. There are many layers that make up a computer, and most physicists only understand the very bottom ones, and they can hardly use a computer as a result.

Just because there are some parts you don't full grasp doesn't mean you don't know how the thing works. If that were true, all physicists would only have a 'superficial' knowledge, because even they don't completely understand how the universe works.
Just want to point out some misconceptions here: Arguably, the Space Shuttle was the first launch system to reuse the first stage, and the first to prove retro-propulsion landing was the Delta Clipper (on Earth anyways, supersonic retro-propulsion was used on other planetary bodies earlier). First private company to refly a spacecraft was probably SpaceShipOne, although this was suborbital not orbital.

Not saying what SpaceX achieved isn't impressive, it just needs some context.
Sadly it seems IBM is mostly a sales & marketing operation for high-markup low-quality IT labor. MBA management of tech as a cost center has reached its next milestone. Of course, in the long-run, a company can't succeed by gutting its core competency.
> "If this piece didn't want to be sexist it could have removed gender entirely from the piece."

Reference to a cultural phenomenon backed up with statistical evidence is not inherently sexist. If you don't think the issues described are statistically more likely to be experienced by women, even though there's strong evidence to the contrary, what message do you think that sends out?
The new manifest destiny
California Games and Impossible Mission are really classic C64 games. Others are pretty unknown to me too and I had a lot of C64 games back in the days.
You may have fallen prey to the 'HN commenters are in SV' fallacy. HN long ago became an international community, and even in the US its readers are mostly outside SV. The majority of HN commenters aren't that well-disposed toward SV.

Users here have a broad range of politics, just like any sufficiently random large population sample. The ones who feel strongly about X are more likely motivated to post to X threads. So what you're seeing is not a high communism rate in general, just in (lord help us) communism threads. In other words the sample-bias fairy is afoot.

To round out the bias list: a good test when you think you see a pattern on HN is to ask if the same is true of humans in general. We're seeing a return of classic ideological battles (e.g. communism vs. capitalism), but that's also true in society at large. It's the macro trend; HN just gets wet in the same rainstorm. I guess history didn't end after all!
> I don't even think you need a VM, really.

I mean a VM as in the idea that you are programming an abstract thing, not a physical thing. Not a VM as in a running program. You could emulate the memory mapper in software first - hardware would be an optimization.

The important point is 'memory mapper' sounds like the semantics would be `write(object_ip, at_this_offset, these_bytes)`, but what you really want IMO is `send(object_ip, this_message)`. That is, the memory is private and the pure message is constructed outside the object.

You still need the mapping system to map the object's unique virtual id to a physical machine, physical object. So having one IP for each of these objects could be one way.

Alan Kay mentioned David Reed's 1978 thesis (http://publications.csail.mit.edu/lcs/pubs/pdf/MIT-LCS-TR-20...) which develops these ideas (still reading). In fact, a lot of 'recently' popular ideas seem to be related to the stuff in that thesis (e.g. 'psuedo-time')
Consolidating all their effort behind a single vehicle makes sense, but is there a large risk of the same thing that happened to the A380? Could the BFR end up being too big for servicing the existing market? Or does the existing market end up as 1/1000 the new market opened up by having the BFR?
I've had situations where dealing with a #6 coworker when coupled with an unsupportive boss turned me into a #7. I quit and am far happier for it.
I feel like newer frameworks are catching up. I recently started using semantic-ui-react and so far I really like it. It's nowhere near as complete as Ext (doesn't even have a grid, just simple tables), but the trade off of cleaner and simpler development is a good one IMO
True but its for a vastly superior service.
IBM is best understood as a collection of disparate companies that have very little to do with each other in the day-to-day. There are generalizations to be made about the company as a whole, but the experience of working for IBM in division ABC is going to be vastly different from the experience of working in division DEF.
Instacart’s Lead Product Designer on Creating a Design System
Seriously @sandos, what are you working on there ? I want in
Why would you want to do this? For exactly the same reason we don't want to see so-called "magic numbers" throughout our code. An equivalent question might be: Why should I use MAX_INT16 instead of 32767 everywhere? They encode precisely the same thing, but one is just a number and the other offers a meaningful name as well as one location where it's defined, reducing the risk of error. Or maybe you really want MAX_INTEGER which will be determined by your hardware platform, again you only have one place to redefine the value and not throughout your codebase. Maybe 32767 was selected in some places because it was the system's MAX_INTEGER, and in others it has some different meaning or reason for being used that shouldn't be altered by changing MAX_INTEGER.

Back to atLeastTwo. It's a trivial example, but consider if you actually did have Math.max(2, e) throughout your code base. What is the meaning of this expression? Gives you either 2 or e whichever is greater. Great, we understand what it is. But now, why? What is magic about 2. Giving it a name can convey the why (though atLeastTwo does not). Giving it a name also makes it less error-prone. Suppose you fat-fingered 22 into a couple spots, how do you (quickly and easily) identify that error? If it's just Math.max(22, <expression>) you can't even know whether it's wrong, just that it has a 22 in it instead of a 2.

Sufficient testing would (hopefully) reveal that you used 22 instead of 2, but it may lead to subtle bugs that are hard to identify. We have this issue in a codebase at work where we do a lot of bit twiddling. Instead of setXFlag(&data_word, val) we have something like setBits(7,1,&data_word,val). That 7,1 determines which bit to start at (7) and how many (1) to put val into. Great, it works. But when the data format got changed we had to change every single reference to 7,1 to 6,1. Unfortunately it was really, really fucking hard to find all those references and correctly discern which ones needed to be changed and which ones didn't.
>In which reality is that a "new normal"?

This one. It used to be that you would boost profits by innnovating and launching a new product line, not liquidating business segments. Instead of focusing on growth, corporate America is now preoccupied with trying to squeeze water from a stone. IBM has sold off countless viable profit centers in the interest of "streamlining" to the point at which there isn't much left of the company's former product line.
I will chip in for what I feel about the supposedly bad code quality problem. Most of the US firms which outsources to India is looking for work to be done in an unreasonable amount of time. To make my point clear, if a story takes 8 points, it should be done in India for 3 points and at 1/4 the cost & hence. Both firms (outsourcer & outsourcee) are to be blamed for this (to look good on their Q4 reports). Not the programmer.
There are no true proofs outside of realm of math at all.

SpaceX odds for going to Mars are, however, better than anyone else's.
The 500,000 you mentioned doesn't seem correct to me for IBM. It is the lowest in the IT sector targeted to freshers from substandard colleges. In most first and second tier college, the average for IT is 15,00,000 to 25,00,000 at the time of joining.
He only made 300m. Us other MySQL employees (about 250) shared crumbs for that purchase (VPs excepted). He screwed us, but he never had respect for us - "people are lazy and greedy" (https://www.pythian.com/blog/mysql-ceo-marten-mickos-intervi...) . Then he promised he would fix the mistake he made with Maria by being more generous. Ha.
Around 100 years of history isn't a big sample size when it comes to political/economic ideologies. Also, I would argue their are examples of it existing with non-evil dictators. I won't bother naming anyone specifically as it's easy to say 'but x did y' however I feel like that applies to a majority of world leaders under any system. There are certainly leaders of communist countries who did no-more evil than some of our recent democratically elected leaders in the west.
Our Incredibly Self-Regarding Smugness Is Also Available In Dead Tree Format In A Way That Looks Like An Inheritance Being Burned.
At urban traffic speeds, a motorcycle driver can use their engine power and acceleration to have almost complete control over their position relative to other vehicles. So most of their driving time can be spent in positions that feel safe. They can feel in control.

A bicyclist does not have this degree of control over speed, so they spend much of their time in positions, relative to other vehicles, that do not feel safe.