skysight-inc/HackerNews huggingface dataset:
My best guess is you could raise an error and then you would always know if a selector didn't match.

In jQuery, a selector which doesn't match will evaluate to true, where as .length would be 0. This is a source of bugs, I'm sure, especially for beginners.
Thank you for your efforts. I will read more of this when I get a chance. You are right that the new tech barons are waaaaay too cozy with the government. They travel by private jet with armed bodyguards and share our info with the government and tell us to "relax" and "get along" while we are getting felt up by TSA and having our emails read.
I had a lot of trouble with corrupt cards. Took care of it by keeping the file system in a USB stick, and using the SD card only for booting into the OS on the stick.
I believe it's a joke. At least I opened these comments thinking it was a joke akin to VanillaJS framework[1]. querySelectorAll returns an empty array if there are no matches, you don't need fancy string messages or errors for that.

[1] http://vanilla-js.com/
In general I think software engineers do a bad job with units. We shouldn't work with floating point numbers, we should work with a number class that has a value and a unit.

Prior to working on Android & iOS I basically didn't bother with i18n. Now I never hardcode a string, it's always a reference to a string resource that is easily translated. I think this is a mindset shift brought about because the tools & libraries make it easy. The same is true for datetime formatting and unicode. We're collectively much better at supporting i18n in those areas than we were 15 years ago. I think the next step is for us to do the same but with numbers.
This isn't a problem unique to software engineering. All kinds of things in business require estimating the unknowable. Investing in any business enterprise requires forecasting what the return on investment is and how long it'll take before you see those returns. These issues exist whether you're starting a hot dog stand, building an apartment complex, bringing a software product to market, or building an off shore oil rig.

Business people have put a great deal of worthwhile thought into how to manage these risks in ways that make sense for the company. For some fresh, eye opening ideas on how to do project management for software and other businesses, check out the book The Critical Chain. The short section at the end on metrics for investment is worth the price of admission alone.
Heh, I recall when a funny manager asked my team about an estimation. We agreed on a year (exactly something like 12-14 months). Then he went to his managers, sold the project with 6 months deadline, and was quite happy.

The outcome was simple: his estimation was good, the team was lazy.
The candidates applying to those jobs are overwhelmingly male, with few blacks and hispanics. Imagine an unbiased hiring process: how would its results look different from what you see now?
It's not just a phone number, but also the IMEI. And the objection is that the service makes it (intential) very hard to use it anonymously.
My company has been scratching our heads for the last 12 hours trying to figure out what was going on while waiting for SendGrid support to email us back. Without hearing anything I finally found this thread through a Twitter search, thank goodness.

I'm astounded that an email company couldn't do us the decency to email their customers to tell us what's going on. We've wasted valuable time and lost business because of them.

We're switching over to Postmark now. This year has been a nightmare in transactional email land from Mandrill to SendGrid to now Postmark, ugh. Hoping Postmark can do both you and I well.
>Actually Webpack and Rollup go hand-in-hand. Rollup just compiles JavaScript ES6 modules into a single file

Isn't that webpacks gig. Or what that gulp? Or was that browserify? Or was that Jello? Or was that...
That Quora answer is brilliant! Thank you for linking it here.
>I expect television to be completly gone in 10-15 years time.

I'm a little confused by this statement. The industry that produces the content you stream is what I would call "television" and if it's gone there will be no new content to stream.

Which of the two cable company boxes in your house it's delivered through seems like an implementation detail.
The "liberal" identity in US is a lossy projection of many different ideology axes to a single one, and is much more closely to just mean "the left" than the definition you meant. I do not believe that they are any more open to new ideas than the right. Both sides stick to the first fancy idea they knew about, and it just happens that those idea are different.

"Liberal" as defined with characteristics in your question is orthogonal to whatever "liberal" is in US politics. And if you ignore children, I think it would be a rather small percentage of human.
My apologies for calling it a toy!! ;-) Still fun to play with though ;-)

I used Chromium Linux on the laptop and and Chrome for Android on the phone end. I normally use Firefox as my main browser but I opted for Chrome because I assumed it was a PoC and you'd need a lot of uninteresting work to make it smoothly cross-browser and most people here develop for Chrome first--I'd save that effort for the weaponised exploit ;) Or production library, in your case ;) (what is the use case there btw?)

Thanks for the heads-up on Firefox's resampling, so I know not to try that ;) Wonder if they chose that for security reasons? Seems a solid protection exactly against this. If so, then comes the question how good their lowpass (resampling) filter is, if nothing leaks through and you can't secretly grab ultrasonics anyhow via longer statistical methods trying to infer which freqs are aliased and which aren't :)

So, I tried the audible signal first, to be sure it was making sound (I have my Firefoxes locked down rather tightly, JACK and PulseAudio often fight, so unless it's a mediaplayer or audio-production tool, it doesn't make sound usually). But Chromium did (after re-enabling Pulse). I got decent results for both ways (sometimes partial text, I didn't try images), so recording worked too and the multimedia JS code seems to work fine.

One idea on that end; And I never wrote JS audio (I plan to, though) so I don't know if this is hard, but maybe next to the "listen" buttons, you could add a simple VU-meter bar for the mic, so I can clap my hands and check if the mic is indeed receiving (maybe your profile-lab already does this, havent checked).

The error I saw looked like an intentional popup-message you wrote in the code. It was a modal DIV popup, styled like the site, more like a debug message perhaps. I didn't quite understand it, so I don't remember it exactly: that it received 1/100 packets, and failed checksum ... sorry I can't be more specific, I only saw it once. It seemed to indicate it detected one packet but it was an incorrect one, or something similar. Given the config mentions CRC checks, I assumed it was that.

I didn't check the JS console for messages, but the behaviour of the site didn't indicate to me that there were actual JS errors.

Extra info: The sound from Chromium Linux was played through high quality large speakers, the microphone is built-in (Eee 1215B netbook, rather old thingy) so probably not very good. On the phone side, it's running Cyanogenmod on a Samsung S4. I believe the mic on the phone is better than on the laptop because it's rather old and quite noisy.

Is there a reason the profile-lab tool only works for one device transmitting to itself? Cause that's part of the fun (yeah yeah no toy :p), transmitting data between two devices that have no connection to each other. If I was to be thorough, I'd set it to airplane mode just to prove the fact :)

I'll have another play with quiet.js and also the quit-profile-lab. If I see the error message again or find anything I didn't describe above, I'll report back. If you got any specific things you'd like me to test, let me know.
Bejeweled skeletons of Catholic martyrs
Smaller file sizes.
Official Telegram for MacOS logs pasted messages to syslog, in secret chats too
If you're seriously wondering why is it so then, well, they're just replacing native methods of the document object, in order to get the same behavior from your second line, they'll have to replace Element.prototype.querySelectorAll as well, which is a bad idea.
When I ran it, at least with the UI mode on the website itself, I get a mp4 of Spaceballs.

https://nicosantangelo.github.io/weaintfoundshit.js/interact...
Keep executing document.querySelector('.foo') several times in the dev console and eventually a new video comes up lol.
I must urge any serious developer who has read that article to immediately forget about it!

Let's begin with the first phrase, "Software estimate". An estimate is an approximation. An approximation is an educated guess. So if someone said to you, "Please make an educated guess on when the software you are working on will be completed" To say it would be impossible would be the most absurd thing!

To make an educated guess, You would have to break down the tasks into manageable chunks that you can clearly reason about. Once you have your chunks of task, you will have knows, unknowns, some with risks or not, some that are complex or easy, etc. The problem with estimates is the unknown. If you are constructing software for an entity, then you must not approach it as an R&D, but rather, as a possible Research THEN Development. All your unknowns should be figured out at the research phase, then you estimate the development, else you should fight to remove those unknown tasks from the project.

Think about it, do you get asked for "Software research estimate" or "Software development estimate"? It's the latter, but most developers make the mistake of offering their estimate across both R&D. The really beneficial thing to developers about estimates if they do take it serious, is that it forces you to stop, think, design, and think again before coding.

The biggest concerns for developers is that estimates TURN into deadlines. This is a legitimate concern, but nevertheless this doesn't invalidate your estimate, which is nothing but an approximation. The other concern is that feature/scope creep into the project really puts a wide gap between the estimate and completion date. This again is true, remember your estimate was for the original requirements. So what are you to do as a developer? You must teach your manager if they don't know or whomever you are working for the difference between estimates and deadlines. You must also learn to keep feature creeps at bay or estimate those new features anytime they are added and adjust your estimate accordingly.

If you are a non manager or business. Please do think about this from their point of view. Projects have costs, which we can quickly approximate via cost of people working on it multiplied by the duration of the project. Part of running a business is managing your cash flow, knowing if you should spend or not. Without having an estimate of a duration of the project. How can businesses make decisions on which projects to fund? If you have a startup and $100,000 in cash. No income yet, 5 programmers that you pay $5,000 a month. Would you let them work on a project with no completion date, 1 yr estimate or 2 months estimate?
The thing is that for many companies no estimates isn't possible. You have to be able to tell a client roughly how much they are going to get charged or how long it will take on order for them to even be able to with the options.

Saying no estimates is akin to saying "this is hard, we suck at it so we quit." The problem isn't solved, you still have no way of measuring how complete you are and when you'll be able to turn new things on.

We use a combination of story points and historical reference where we can during our estimating phase. So if we are talking about adding a new feature and wet estimate it out we go look at the actuals from a similar change that we did before to see how is base we might be. We also like story points because they are a ballpark and help us judge if we are estimating reasonably well. If we are continually having things signed low points that take data to finish, we can address that. Fast feedback and lots of iterations. The thing teams fail to do is to measure properly. If you measure too much no one fills out their stuff accurately and then you've just got garbage. Measure the wrong things and you're blind. Measure nothing (no estimates) and you're just giving yo.

We don't try to measure to the minute or hour. Things are basically 'quick' 1hr or less, 2hrs, 1/2 day, 1 day, or a 1/2 week for a task we know is big and hairy that has a lot of sub tasks that we don't really want to dive into the minutiae of it because what's relevant is that X does A and B, not that X requires T, U, and V to be done first.

That's the hard part for us, enough detail that its meaningful without spending all your time planning to plan.
MIR will likely never be "stabilized" in the sense of providing a reliable and unchanging public interface. AFAIK, this is what HIR is for (the IR that's one step above MIR), which is how syntax extensions are intended to be stabilized.
How long until quantum computing will be available in consumer equipment?
To be fair, you can and do learn a lot about things by simply reading and trying to understand the material. Notice I said "about", and that is an important distinction. Not everybody needs and or wants to have a working knowledge of the category theory or any other subject. Rather, many either want to satisfy their curiosity or get a basic understanding of a subject before deciding whether it would be worthwhile for them to invest more time in learning it. Philosophers of science, for instance, do need to know a lot about, say, modern physical theories, and many of them do - down to a level of astonishing mathematical detail; yet, no one would expect them to be able to work as a theoretical physicist.
Enjoying Vulkan so far in the recently patched Doom, which netted me a minimum 10% increase in frames per second. I really hope this gets adopted / patched into current games, and those on the horizon. Seems like a big win for cross platform development.
The advantage of iterators is the abstraction. Collections like maps and sets don't even have indexes.
I Don't Control Every Bit of My Product and That's OK
Replying to your aside... You are absolutely correct. Thank you.

I'd add that implementing security "at the border" is the lightest touch option available and doesn't infringe on the rights of any citizens. But our leaders won't do it.

Instead they create the TSA to eliminate free travel and get access to our emails & phone calls to eliminate privacy.

Also, while I see both sides of the gun argument, it worries me that the government uses an obvious Islamic terrorist attack as an excuse to push gun control.

In fact, it's almost like our government doesn't mind terrorist attacks, because with every attack they have an excuse to infringe on more of our rights and expand their power.
Heirloom seeds.
There's a story here involving a unification of the Dirac notation and Einstein notation, into tensor networks. I think Penrose started this. And this mathematics also connects to knot theory. John Baez writes well about these things, also Bob Coecke.
You will have to redefine what "consumer equipment" means. I don't see in-home cyro-chilled machines being a thing anytime soon. But perhaps such things will be available at co-location facilities and easily accessed by conventional home machines.
I don't really have any users yet. I haven't even started working on most of these ideas.

This iPhone game that I just made has about 300 installs, but those are just spikes from some Reddit posts. I don't think it's going to get anywhere by itself.

I've also been working on an iPhone app for skateboarding, which hovers around 20 daily active users, and 120 monthly active users.
Category theory , among with algebraic geometry, is one of the most complicated concepts ever developed. Trying to extend it to a wide range of applications seems like overkill. Yes, technically you can use it, but it's like using an archaeology kit to dig a hole when a simple spade will do.
Point awarded. Context:

https://en.wikipedia.org/wiki/We_will_bury_you

"Whether you like it or not, history is on our side. We will bury you!"
We're creating the best Selenium recorder ever. Pls share ur thoughts and requests
Hi there!

Those of you using Selenium to test your web apps, perhaps you could help us with some input.

We are building an open-source Selenium-recorder for web testers and developers who write their own tests. The recorder will automate a lot of manual work and would be able to generate Selenium-powered tests for various programming languages. We want to use this recorder ourselfs, we know what we need it for. However the world of web development is large and diverse and we want to reach as many of you as we can to create something that not only us, but also the community would benefit from.

So what features would you like to see in the alpha / first public release? Please, tell us as much as you can:

- which Selenium bindings are you interested in the most (JavaScript, C#, Java, Python, Clojure)?
- would you prefer to have integration with some popular test frameworks out of the box? Which ones?
- are you using Page Object Design Pattern in your tests? Do you think we should add a support for it? In the alpha or could that wait?
- are you using Selenium recorders already? Could you share which and what are their strong/weak points? We don't know of a good one, but may be we missed it.

Thanks!!
Happy to explain more. Let me know what part seems unclear.

An example:

The cow chews grain. The vegan chef grinds it.

The cow ferments plants and seeds in its stomach. The vegan chef ferments in her crock.

The cow extracts sugars, fats and proteins, via her metabolism. The vegan chef uses presses and filters.

The cow measures salt with her thirst, and integrates proteins and sugars in her mammaries. The vegan chef measures with a teaspoon and integrates ingredients in a blender.

The cow tills seeds under the earth with her hoof. The vegan chef presses them into the garden with a finger.

Meat and animal products are the output of the lives of animals. The inputs are plants. Vegan cooking is recreating this work in a consensual way.
> Speaking privately, Thiel’s allies could only conjecture reasons for his unexpected partnership with Trump; many expressed frustration with how anyone could support a candidate so unpredictable.

I could come up with a few pretty obvious reasons why a gay libertarian like Thiel would support trump.

1) Democrats support the resettling of millions of Muslims to the West that have been indoctrinated in an ideology that calls for killing gays. Currently in 11 Muslim countries acting out homosexuality is punishable by death. In most others they imprisons gays and extra judicial killings of gays by mobs are not persecuted.

It is not unreasonable for a gay man to fear Muslims and Muslim culture.

2) Democrats engage in political correctness and in vilification of their political opponents (You don't agree with me? You are like Hitler!) to a degree that people who say the wrong things or support the wrong candidate must fear for their financial and in some cases even physical security.

Even a billionaire like Thiel will face repercussions for this as was mentioned in the article:

> In my anonymous poll of 42 randomly selected start-up founders from the database CrunchBase, only nine people supported Trump. Fifteen of them opposed Thiel’s speech for Trump, and 14 said they would not personally do business with him as a result.

In many areas it is basically open season on anyone that openly supports Trump, people will attack you, people will key your car and strangers will insult you.

It says a lot when people like Dilbert creator Scott Adams endorse Clinton because they fear for their personal safety: http://blog.dilbert.com/post/145456082991/my-endorsement-for...

This vilification pushed by the Democrats is the exact opposite of freedom and democracy. I totally get why a libertarian would support Trump even if he doesn't like him to at least restore the most basic personal freedoms.

3) Trump is very much anti big government. He wants to reduce its size and remove regulations that inhibit the growth of the private sector. Few libertarians would have a problem with that.

Also it isn't sustainable to permanently have a large portion of society completely dependant on government as we can obviously witness by the insane growth of government debt everywhere in the West.

This system almost guarantees that poor people will always stay poor and that their children will be poor too as all they know is dependance and submission to the social system.

Social systems do not help the poor, they never did. Over the last decades it has gotten bigger and bigger and yet poverty never went down, instead the opposite happened.

The same is true for public education which was basically run by liberals since the 80ties. It has gotten so bad that today it can't even guarantee that a child going through this system will not end up as a functional illiterates.
I think this is a bit too keen to hew to the textbook definition of "virtual machine". In modern industry practice a "virtual machine" tends to imply "we wrote an interpreter, and to run your program you execute this interpreter and feed it your program".

In the interest of being precise, I'd rather call LLVM an "abstract" machine, in the same vein as the C abstract machine defined by the C language specification (https://blogs.msdn.microsoft.com/larryosterman/2007/05/16/th...).
> we should work with a number class that has a value and a unit.

Not even a unit. I've always wanted a (majorly-adopted) language and platform where "Integer" or even "Number" are low-level mostly-ignored value types, and you instead work with a type that might be called (something snappier, but equivalent to) "RationalComplexPolynomialUnitedMeasurementWithPrecision".

Like, why can't my stdlib functions all take:

(-5/6±3.5 + i±1/2) km^2/s^2

...and do something sensible (stoichiometrically) with it?
eslint also provides static analysis for dependency resolution when using import statements instead of node require calls
Awesome, virtually all of Rich Harris' work is pure gold - this, Rollup, RactiveJS, etc, etc. Pragmatic and solves real development problems.
OK, but is "awesome post" OK? Or should I just upvote?
That's precisely why so few companies who can produce good software, are also proficient in some other area. Successful software development mostly happens when it's the main focus of the organisation.
Apple used to be the prominent exception, but their software's quality seems to have decreased in recent times.
theskimm, buzzfeed
I'm not really making the argument your reacting to. Software projects can be estimated, so it is possible to understand what their ROI is. I'm saying that, because software can be estimated using rigorous technique instead of hunches, that we can continue to justify developing software.

Even if what you are doing is truly research that is completely open ended, there still have to be controls placed on it. Budget/grants/runway will run out at some point.
"Some of them have solutions in the text, others have solutions that can only be accessed by professors teaching the class."

And this is why I don't usually end up doing the exercises.
OK, so only utilitarian comments then? No thanking or showing appreciation? Serious question.
> most complicated concepts ever developed

I disagree. Much of Category Theory isn't complicated -- it is just really abstract. So you need to have some concrete knowledge that you are going to apply it to before you start learning it or alternatively "mathematical maturity" (or as I like to call it "the ability to just accept abstract statements and go with it").

As a tool it clarifies and unifies relationships between mathematical concepts and domains like nothing else has.