skysight-inc/HackerNews huggingface dataset:
Would be interested in a short overview of contentEditable in 2018. Until very recently the consesus was that it's completely broken, but I understand from the design document[1] that it's good enough for you to build on now? Does it “just work” or is it only a slightly smaller mess than before?

[1] https://codemirror.net/6/design.html
I’m in an early ‘60s model house where the electrical circuit demands were way less than they are today. When the house was flipped, the living area had 4 incadessant can lights added to the existing fan/light combo. All of that is on a single switch. So for me to have the fan on, it reuired the 4 heat generating can lights to be on at 100%. It was much cheaper to add 4 LED smart lights to the cans than to completely rewire the circuit to have multiple switch legs. That was the appeal to me that pushed me over the wdge to buy them. Plus, now I have energy saving bulbs, I havent had to replace a bulb since, and now they are dimmable which is a bigger deal now than I would have thought prior to having them.

I dont try to turn the lights on remotely or any of those features. I have taken steps to prevent them from being online. I know this works because the app is constantly reminding me that it cant check for updates.
Reposting[1] my Emacs setup for JS, which I've found very effective. (Seemed more effective than my coworker's VSCode setup)

"""

(Disclosure: I'm the author of rjsx-mode)

The best setup I've found is to use js2-mode for .js and rjsx-mode for .jsx, which parse the buffer for syntax highlighting, local refactoring (with js2r) and basic linting. For typescript, use typescript-mode. Flow support is quite bad ATM

nvm.el replaces the shell scripts from nvm.

Add a jsconfig.json to your project root and enable tide-mode for completion. This has worked far better than tern-mode, which some people recommend.

For fuller linting than what js2/rjsx offer, use flycheck. Eslint support is built-in, so it should just work, I think.

[2018 update: I prefer using tslint, which you can accomplish with:

(flycheck-add-mode 'typescript-tslint 'js2-mode)

(flycheck-add-mode 'typescript-tslint 'rjsx-mode)]

Finally, for build management, I use prodigy to run webpack, babel, ts, etc.

Feel free to ping me if you need more help

"""

One thing I didn't mention then was using mocha.el for mocha/jest, along with indium for debugging. I couldn't get realgud set up properly, but had no issues with indium, including for typescript/babel code.

[1] https://news.ycombinator.com/item?id=14884940
> Good luck with that.

The US government is able to enforce sanctions on other governments, crushing their economies and major businesses. It's able to acquire private property and businesses through eminent domain. "Good luck with that" is a bit shortsighted. The tools exist for the US to exert these forces, and they have been used successfully.
Just repeating Curry's paradox from Wikipedia.
Veach is the guy who brought Metropolis sampling from the field of nuclear physics into the field of Computer Graphics.

Almost all modern ray-tracing engines (e.g. Indigo) rely on that technique these days.

And yeah, all the other things he did at Google.

Not your run of the mill engineer, by a very large margin.
Before he was president or even running for office he'd call into a fox news show and say something stupid and other news outlets would pick it up and I remember being annoyed and thinking "why is this news?!" now he's president and everything he says is news and it hurts my soul.

Anyway we live in a free country and the government can't dictate what kind of news a search engine should surface.

It's ironic though that newspapers are actually entertaining this nonsense and not outright debunking the notion and highlighting how dangerous it is.
Reminds me of this:

https://www.ccn.com/bitcoin-investor-sues-att-for-224-millio...

https://cointelegraph.com/news/california-police-arrest-teen...
I hate to break it to you, but Rails doesn’t span the frontend. Hell, the frontend isn’t even written in the same language.
Could be a bug. If you look at wikipedia for a category american inventors

https://en.wikipedia.org/wiki/Category:American_inventors

There is a sub category called "African American inventors". Since the sub category also match the search terms, it is possible that for some reason they are displayed in priority.

edit : the post of econ4all about "us+inventor" tend to confirm that it is an issue with "american" being part of "african american"
I haven't had much interviewing experience lately, since I was at my last job for 5 years and at my current job for 6, but over the past 15 years or so, I came to the conclusion that not hearing back was the norm rather than the exception. I think it's ludicrously unprofessional, but that's typical these days.
Similar thing happened to me about a year ago. The creepiest part was - it happened while I was in the international flight and my gmail WAS on sms "two factory" authentication... Since then everywhere i can I used OTP, but some sites fallback to use your phone number if you can't provide OTP password... So I have to enter some completely invalid phone number there to make it impossible.
This is absurd. Why apply morals selectively to Google? Where were these organizations when Apple handed over Chinese iCloud operations to a government backed shell company, or recently removed hundreds of apps that facilitated bypassing the great firewall. There are scores of American companies operating in China, Microsoft even offered censorsed search, so why bully Google alone here?

It's almost as if internal Google employees have lobbied their favorite charities to take a stance, or else ...
Why regulate search at all?
A soon as you think Google is not giving you good search results you can hop on over to Bing or a host of other options. The free market works very well here. As opposed to the issue of net neutrality, where very many Americans have no ISP they can switch to if they are not happy with the throttling their ISP is doing. Said throttling could also be used to silence or slow conservative news and ideas.
I wish 389ds would get rid of the java requirement. I'm sticking with Samba4 right now, both for AD and as an LDAP store for apps; replication handles itself, sites etc, makes life so much easier.
This would never happen in the us where average PhD stipends are $30,000 at great schools and even a two bit programmer in the middle of nowhere USA could make $50k easily.
That's insane. What are trump.news and donaldtrumpnews.co? The idea that obvious SEO targeting made the top 10 is a bit alarming, let alone the top result.
Yeah, but, Hillary, erm, mailservers, erm . . .
Funny you mention transfers to the bank. I stopped using Venmo because it doesn’t even support joint checking accounts. If my wife and I both have Venmo, only one of us can transfer to the bank. So I have to transfer to her, then she transfers to the bank. So stupid! If they can’t even get this basic functionality working, my confidence of their service is pretty low.
Sadly not available for my area, but I was happy to see the note about prescriptions. Thats probably one of my biggest complaints about the Rift and others is that it gets pretty uncomfortable with glasses on.
Alt-Tech: Time to Rebuild the Internet
Also choosing the right node module for the job can be hard. There are often 4-5 modules doing the same thing, all of them claiming to be the best, yet most of them not being that good at all.
Is Python challenging Ruby? It's mainly rising thanks to AI and Data Science but I'm not sure Django or Flask are on the rise to defeat Ruby.

(Said as someone who uses Django and is about to "Show HN" a django project in ~2 days)
I think people who don't consider it being art do not understand that part of the art is the interpretation that happens in the spectator's mind.

Dan Dennett has a beautiful example in his talk on consciousness (https://www.ted.com/talks/dan_dennett_on_our_consciousness/t...), where he talks about the Bellotto's painting.

"But, more importantly, I cringe at the idea that randomness leads to discovery or spontaneity or human approachableness."

I am not sure I completely agree with that. See this presentation: https://www.youtube.com/watch?v=dXQPL9GooyI
Understanding Execution Context and Execution Stack in JavaScript
Both their classes are offered online for free, I fail to see the conflict?
Steve Jobs' widow blasts stepdaughter's memoir
Make it life. The reason identity theft protection exists is because we have inadequate laws to sue these companies in the first place. If someone's identity gets stolen, the breached company should be fully responsible without the user having to file a lawsuit and pay a ton of money / spend a lot of time trying to fix things. Just to be clear, the breached company is typically the credit issuer or any party that allows unauthorized access to the wrong person. It's preposterous that the user has to pay for a mistake by the bank who gave a loan or other type of credit to an impostor. Make these institutions pay and fine then a percentage of their annual revenue up to a hundred percent. You'll see how quickly security practices change.
I can't put together your first paragraph with your second. Why do you say "good luck with that" while also acknowledging that it already happens?
Theft a History of Music
Europe’s top court signals new risk for marketers from ad tech
I did not know that, I thought lxc was behind zones in terms of features/flexibility.
Perhaps like this one at Reed College in Portland?

https://www.youtube.com/watch?v=pLBcp3nJlFQ
If you’re in a regulated space or have a contractural requirement, certification matters.

As an example, If you’re providing services to the government or other organization that include encryption, you must use FIPS 140-2 validated crypto. If you fail to do so, and something happens (where something ranges from audit to breach) from a legal perspective, it’s not encrypted. This is true even if you used equal or better tools to encrypt the data.
How social media data is being used to create the perfect night out
It states that this has not been tested to current 911 standards and thus the public has no way to know if this is even true.
I believe this is the original news story that trump picked up on

https://pjmedia.com/trending/google-search-results-show-perv...
not care at all about your mental health, your possible career desires outside of academia, your work/life balance, or the exact reason why this week was a rough week for research in your (human) life.

I wouldn't call that being a bad manager, but rather being an asshole.

As a professor, I often think that one of my biggest weaknesses is indeed management skills. After all, we suddenly find ourselves having to manage people without any training in the matter, and when our true call is typically science, not management.

But at least I'm not an asshole.
I see what you mean. And this is the problems with this subject and why most of the times these discussions end up nowhere.

We end up discussing on what this hypothetical "regular user" does with biased examples from our own experience. The ones who really have a basic idea of what regular users do are the big players like Apple, Google and Microsoft; from all the telemetry they collect.

I'm certainly not condescending "regular users", on the contrary; I understand why a lot of people don't want to deal with technology and I defend the fact that systems should be easy to use. From your comments I think you're trying to portray us as if we think that regular users are stupid. Which is certainly not the case.

My point is that most people don't base their purchase decisions on technical grounds. Mostly because of money and sometimes status factors.

Again, all these coming from my personal experience; I haven't taken the time to search for an actual statistical study on user preferences. I know I've installed Linux on a lot of people's home/personal computer without them knowing what happened and are happy to this day.
> The two are equivalent in most cases.

Yes and no. The most elegant technology solution in the world does mean squat if it doesn't solve the problem the client / user needs solved.

Technology and solution are not the same thing.
or maybe that you care about public image. It's obvious this company only cares about Police contracts.
Because, other than yelling on Twitter, there's been no action from his administration that's relevant. I doubt they have any legal standing to regulate search algorithms, so this is all a show
Counter:

https://www.google.com/search?q=us+inventors

https://www.google.com/search?q=us+mathematicians

https://www.google.com/search?q=us+scientists
This is much appreciated for twitter, which is astoundingly over-engineered for a site about little blurbs of text.
> T-Mobile's assertion that no password information was stolen - and later clarification that encrypted passwords were exposed

Call me skeptical considering they said 4 months ago that they store part of their passwords in plain text: https://motherboard.vice.com/en_us/article/7xdeby/t-mobile-s...
96% of Google Search Results for 'Trump' News Are from Liberal Media Outlets
In a sense, it doesn't matter whether the curious "american inventors" search results set comes out of political bias or technical inadequacy: from the perspective of many people, Google's editorial choices in certain areas have forfeited the benefit of the doubt in others.

This situation is a good example of why it's important to pay attention to maintaining the appearance of impartiality as well as actually being impartial.

(Disclaimer: I work for Google. Nothing related to search.)
Any advantages over the hololens
I know many users tout using anki flashcards for memorizing hotkeys, but I think this is the wrong way of going about it. There's a term called "Fringe Tech" https://www.oxbridgenotes.com/articles/janki_method_refined , it states don't make a card with questionable uses down the road. Your hotkey is going to be irrelevant if you change the bindings to something more optimal. You learn this fairly quickly if you play competitive video games like fortnite or rocket league.

Anki should be used for memorizing concepts you understand already not button pressing.

Instead, my new macbookPro (and my first time using macOS), I have dozens of printed out cheatsheet snippets and stickynotes littering the edges of the keyboard. I write down a bunch of hotkeys I can refer to instantly by glancing down at my keyboard. Conceptually, its the same way I did things with cheatsheets in college before an exam - it just works. I made a legend for things like ⌘⇧⌥⌃⇪, these are very unfamiliar to me as a windows user.

It makes for a frictionless experience for memorizing commands.
He didn’t call it out clearly; you have a good point. I think it did take me a second to realize the 3rd example was the new better method. The main clue is the text, where the first two are negative (“aliasing from hell” and “blurry mess”) and the third one is positive (“smooth and sharp”). It certainly could have used a description that says “here’s my new method”.

It wouldn’t hurt to show the anisotropic pics against the other two, but FWIW, the story is more complicated since he mixed in mip-mapping for that example. He’d have to mix mip-mapping with nearest neighbor and bilinear as well, which would look sorta weird, take extra work, and possibly confuse his main point a little rather than clarify. It wouldn’t be much more illustrative than the first set of examples either. So, I’m just guessing, but I can see reasons why he might have chosen to skip the comparison.
We live in such a country now but that could change at any time. If the government starts dictating search results then we will not be a free country. Unfortunately causality doesn't go the other way.
Good luck with that and prepare for their search results to be overrun by content farms and stores SEOing their websites to the spec.
True, but what is meant by "neutral"here is "search results that haven't been tampered with from PC POV". Google has been heavily criticized for NOT messing up with the results, so they finally did. Whatever they do, they'll never make everybody happy.

https://www.distractify.com/trending/2018/05/14/16jlb1/googl...
It's underspecified and very hard to implement (and hence, not implemented all that well), but if you know the pitfalls (only some DOM/style structures are well supported, cursors vanish in some circumstances, etc) and avoid them, and implement non-trivial editing commands yourself (because you can't really rely on the browser to get them right), contentEditable is a functional way to represent editable content in the browser.
I wonder how this applies to Part Time PhDs. They are exceedingly rare in the US and it usually comes down to having a very supportive Job and an unusually open minded Advisor, I've seen people at UNC and Duke doing part time CS PhDs. It also seems much more common in the UK/EU. I know Oxford, ICL and others offer part time programs.

Seems to have all the upside and none of the downside, you keep your industry pay, continue racking up experience and after a few more years than normal get a PhD to hang on your wall.
If dependencies are an issue, I would like to make another package that just bundles it all into 1 package (reuse `babel`) so there aren't any "deps" to install but haven't gotten around to doing it, would be a useful contribution opportunity for someone though.
Any search algorithm will introduce some kind of bias. People will notice this bias and assume a conspiracy because humans like to read purpose and intent into everything. If all the results were white males, people would be accusing Google of sexism and racism. If the results skewed toward Asians people would think Google was in league with the Chinese government or something.

This is one of the social dangers of allowing algorithms to make important decisions in society. We might not even be aware of what biases we're introducing. They can be very non-obvious, especially if the algorithm is complex or the data set is large.

Edit: here's another possible explanation: perhaps due to efforts to popularize African American contributions to American history there are more web pages (in a pure numeric sense) about African American inventors, scientists, etc. on the web. This could affect the way Google weights search results.
Why spend 50 hours figuring it out from scratch again if the guy in the article already told you exactly what you need to do?
It is of academic interest in looking at media availability across the spectrum for character attacks against Trump and those seen nearby with little or no relevance outside of humour. This actually is meddling by influencing public opinion both inside and outside the country. If this influences news outlets intended to deal with facts and information it is proof that advertisement in social media is a threat to freedom of expression, to be heard and healthy functioning of democracy.

Have a social media idea of my own, with local education.
Hierarchy using hashtags and who's following who on certain topics. For additional economic opportunities if construction is started somewhere. And advertisements and information for relevant things like concerts where there are community contacts that can follow up and take charged for really making it work, rather than relying exclusively on mass market advertisements and manipulation.
Trump Accuses Google of Burying Conservative News in Search Results
President Smoothbrains thinks he should regulate Google searches.

What is this, China? He can't get his Mexico wall built, so now he will try a "Great Firewall"?
Ask HN: Getting a PhD/going back to school after working in industry
As a follow up discussion from this post [What you need to know before getting a PhD](https://news.ycombinator.com/item?id=17855388),

I am hoping to hear experiences from people who went back to graduate school for a PhD after working for several years in industry (I'm on the same boat thinking about getting a PhD after 8 years). What is your experience going back to/during school ? How did getting a PhD help you compared to your previous job.
I remember this being a common tactic to break in to youtube/twitter accounts with 2FA enabled a few years back, really shocked its still going on.
I mean Jupyter doesn't really do that either, right? You can't edit most function definitions. Only ones that you've defined right there in the notebook, and only because you can run the cell that defines them again, overwriting the function.

But if you do use libraries instead of just a huge mess of notebooks, you're stuck if you want to change the code in a well-supported way. You can ask your notebook to monkey-patch the code (which is an even bigger mess), or you can use an unreliable magic extension, "%autoreload".
Google, Facebook, Twitter, Patreon and others were able to grow to the size they did based on Safe Harbor provisions that exempted them from libel laws under the premise that they were neutral platforms that allowed anybody to post content etc.. Newspapers and television stations are held liable for their content. Once they started to editorialize by banning things under subjective pretexts such as "hate speech" they started to violate that. It is also well known that there is political bias among these companies. This is one of many strategies that can be used. But, more importantly, there is concern from the left as well about these platforms and have been calls from that side as well to regulate them. They would have been much better served to have stayed neutral, but they've made their beds....
What does "manipulating" mean? Are search results a naturally occuring substance that springs into your brower unless humans interfere?
He probably spends so much time looking at negative press on him that his own search results are skewed as such.
I.e. for a guy who constantly says all these companies like CNN and NYtimes are failing and fake news he seems to always up to date on what they are saying
How to make a scatter plot in R
_You_ wouldn't say an unintelligible accent is racism, but a civil court might. It's valuable feedback for the candidate, but it's high risk (high magnitude, even if chance of happening is low) and near-zero reward for the company.
There are a few sites that won't accept this and won't even accept a Google Voice/VOIP number because they do some kind of check. Very frustrating.
Trump’s rhetoric around media is terrifying. The outlets best known for thorough research and journalistic integrity he calls “fake news.” Meanwhile he promotes outlets like Breitbart and Info Wars, which are essentially state media, with zero journalistic integrity.

These are the actions we’re used to seeing from oppressive dictatorships, but seeing them from the President of the United States is nuts.
Tofurky and the ACLU Are Teaming Up to Defeat Missouri's 'Fake Meat' Bill
I too use GoodNotes with an iPad Pro and Apple Pencil and feel just as you do—I take all my meeting notes on it.
My first encounter with Bessel functions was from a professor who in his youth had built digital amplifiers -- before dsps could switch at 44k Hertz. (From memory he had a 1k pwm)

He did it by predicting the position of the magnet in the speaker coil by fitting a function over the last few known positions.

Bessel functions are othogonal, and their Fourier transforms are the base polynomials band limited between -pi and pi. His argument was that by fitting a sum of Bessel functions to a sequence captured periodic signals.

I've used this trick several times, and love the "what is this black magic" reaction I get when showing it to others. Guess the cat's out of the bag now...
Hi Walterbell, I want to contact you regarding an old thread here in HN, would you mind reaching out ? https://twitter.com/drcursor