skysight-inc/HackerNews huggingface dataset:
I honestly didn't follow the argument - "Gun control policies in other countries don't provide sufficient data to conclusively state that applying them would bring down gun related violence... But hey, here are some completely random measures I think that might work despite having not data to back up my claim"
Understanding emotions – from Keras to pyTorch
I bought a Pixel when it came out, switching from the Nexus 5 primarily because Project Fi was an easy, cheap way to get off my parent's cell-phone plan and gain some personal independence. It was about time for a new phone anyway.

I wish I had just stuck with the Nexus 5... it was a fantastic phone. Wireless charging (which I personally found to be the most useful feature), excellent dimensions, excellent price, and the notification light was bright. The case was made of some sort of rubberized plastic, so it could withstand a real beating.

Squeezable sides and marginally improved specs aren't enough for me to consider upgrading, and at this point, as an Android fan since the Nexus 4, I would strongly considering making the switch the iPhone.
FiveThirtyEight has a good piece that reached the same conclusion. It's likely that it's by the same research team, but is published under a different author:

https://fivethirtyeight.com/features/mass-shootings-are-a-ba...
It's guaranteed that you would be tracked.
I wasn't speaking about better rested vs less rested.

You can totally lose symptoms of tiredness, only to wind up with dementia at later point in life.
the rounded corners on the pixel 2 xl just looks ugly... dont u guys think...

Also the huge bezels in pixel 2...

seems like these announcements just boil down to nothing...

at least those headphones could have been individual device without a need for pixel or if it needs to be paired then at least it should have been around $50

it is basically just a total waste of time, it was fun to listen to those new music in the event though...
I think Google is okay with that. They know the phone isn't for everybody and fortunately there's a lot of choice in the Android world.

If you want to run iOS apps, you are kind of stuck taking what Apple gives you and so I think the frustration with removal of the headphone jack there is warranted. I don't understand why anybody cares that Google is doing this. We have a lot of choice in the Android world.
Looks like this has been stricken from the front page.
It doesn’t use canvas
My favorite piece of cognitive dissonance was that on the guns subreddit, the first reaction of people was thoughts and prayers, then they immediately started discussing which of the 10 methods he might have used to convert his guns to full auto. I think there wasn't a single person on there who didn't know at least of one.

And here I'm thinking we banned full auto guns. They serve no purpose whatsoever for sports use, hunting or self defense.
> Keybase team member here. Interesting fact: git doesn't check the validity of sha-1 hashes in your commit history.

I heard this a couple of times and tried to confirm it a while ago, but was unable to. I wasn't able to forge a repository with faulty hashes in it.
I also heard plenty of people tell me that there exist public repositories with wrong hashes in them, but when I asked them they never could come up with concrete examples in the wild.

I'm seriously curious about this, can you provide any clonable proof of concept repository with wrong hashes?
You will need to first convert your xmr to btc in order to donate. In the future I hope to add support for all cryptocurrencies. Thank you for your interest.
Interactive Data Cleaning for Statistical Modeling [pdf]
It's much more cost-effective to have a mobile hotspot, because then you're only paying the Qualcomm tax on a minimal thing.
AUX has been replaced, there is a new standard in the industry – but no one uses it for consumer products.

AUX is the only standard used by both consumers and professionals, and losing that would be very annoying.
Mandatory insurance sounds promising, but what happens when the insurance lapses and the person still owns the guns? Does the government go in and repossess their guns? Does it force them to pay somehow? Doesn't seem practical.
Tidal/wave power must deal with corrosion issues. Moving metal parts + saltwater + electricity = headaches. There is also "micro-hydro" that replaces the dam with a long pipe, no inundation but effectively diverts a portion of a river into a pipe. There are ancient ways to reliably pull energy from tides but they involve very location-specific constructions.

https://en.wikipedia.org/wiki/Tide_mill
The frustration lately is that there are a number of relatively easy-to-implement policies that don't "take your guns away", like many of the ones you mentioned. Yet, since Sandy Hook nothing has been done and the mass shootings continue.

Try something.
Chemistry as a field seems stuck in the last century. I did an undergrad in Chemistry with some part time lab work. I ultimately left for a few reasons.

1. Research is largely based on guess and check. Computational chemistry (modeling) is not very reliable. It seems stuck between two layers. Its above modeling particles in physics, but below modeling materials in engineering.

2. Ridiculous work hours/times. 80 hours / 6 days a week is barely scratching the surface. I had a few grad students that I worked with that had 0 time outside the lab that was not spent eating or sleeping (which they also did in the breakroom).

3. Confirmation bias plagues the industry. This does affect the larger community, but seems stronger in Chemistry due to how finicky old spectroscopy machines can be. Run a sample 10 times and get 10 results. Good luck when all your samples in the microgram range.
Because they don't need to remove it. A headphone jack wouldn't stop you from having your airpods.
iPhone 7+. It is annoying as I cannot plug my phone’s headphones to my laptop.

Was “forced” to switch to Bluetooth.
Yie Ar Kung Fu played more like Street Fighter than those two.
I'm curious when this starts to matter. I would guess most normal, non tech, people just don't ask much of these voice devices now. Mostly asking them for countdown timers, weather, playing a song, and maybe a few other things. Not because the devices can't do more, but because the customer isn't expecting them to.
Wait for an iFixit teardown or some other third party to verify that there isn't external communication hardware.
I hate this trend of dumbing down product specifications. I don't know who started it (probably Apple?), but everyone does it now. Like what fucking i5 or i7 processor ? Is the storage soldered even for the nvme option ? It doesn't help that Intel keeps playing tricks with their naming either. i7 used to be quad core, then it became dual core for thin laptops. Now they are back to low freq quad core in some SKUs. For a $1k-$2k device which is supposed to be the pinnacle of science with billions of transistors, they spend all of the 20 minutes they have on stage showing puppy and kid pictures.
Gruber's conclusion is correct, even though his reasoning is not. DxO scores are crap, because they do not adequately control scenes in their comparisons.

Most DSLR reviews have a consistent scene that pushes the envelope of what a sensor can capture, and all cameras are benchmarked against that scene. Here's an example: https://www.dpreview.com/reviews/nikon-d7500-review-speed-an...
I bought headphones from Sennheiser with lifelong guarantee once, and I plan to use them until I die, just like my parents used their Sennheisers for decades.

There’s many people exactly like that.
It's probably proof that they do work, if you can't get enough data to make a reliable assertion.

The author is basically saying, "there's so few gun crimes in countries with strong gun control, that we can't determine if the gun control laws work". Hilarious.
One important thing the article doesn't cover: we now have good reason to suspect that chronic sleep deprivation can cause brain damage. Not just a long term decrease in function, but actual cellular damage.

In a major triumph of medicine, we now know that brain cells shrink during sleep (about 60% in rats), allowing cerebrospinal fluid to flow about 10 times as fast [1] [2], helping to cycle out built up toxins and waste products and eventually drain them into the bloodstream. It was previously a medical mystery how the brain was able to eliminate toxins without being connected to the lymphatic system (although it's since been shown that the brain is directly connected to the lymphatic system to some degree as well [2])

As far as I know, it's not proven that this contributes to the cognitive effects of chronic sleep deprivation. But it would make an awful lot of sense, and also help explain why sleep debt becomes more difficult to pay off the longer you let it sit around, and why the damage possibly even becomes permanent.

[1] https://www.newscientist.com/article/dn24429-sleep-boosts-br...

[2] https://en.wikipedia.org/wiki/Glymphatic_system
Turn cold emails into warm business leads
What's the case for using the terminal in VSCode? I use a modern multitasking computer where VSCode is in one area or screen and my terminal in another (and other things in others).

By using my own terminal I get to keep everything custom about that terminal rather than having another one.

Surely there's reasons that I'm missing?

Edit: thanks for all the responses. A lot of great new things I didn't think of before!
So explain for everyone here why I couldn't find a battery for my Nexus phone through official channels after only a year. That kind of support drop off is embarrassing.
Untreated cancer kills people very quickly effectively by definition. Basically if you have a lump that's not going to kill you quickly it's not cancer.

This is why Mammograms are every 1 or 2 years. If you could wait 4 years without treatment early detection would be less of an issue.

PS: People generally assume a lump becomes cancer as soon as it starts to form. But the general case is you get a lot of little growths from pre-cancerous cells which are predisposed to cancer. Then one or more of those cells become cancer and then you die fairly quickly after that transition.
Excited that terminal is getting love. Thanks team VSCode.

Hope the configurable panels allowing terminal on right side will get merged soon.

[0] https://github.com/Microsoft/vscode/pull/34267
[1] https://github.com/Microsoft/vscode/issues/2806
What I'd like to know is if the support for this is still 5 years (I believe that's what's promised for Chromebooks), or more, and also if Google ends to use Ryzen APUs in the future, too.

Google with its architecture-agnostic OS has zero reasons to maintain Intel's monopoly for yet another platform.
Oracle Tells White House: Stop Hiring Silicon Valley People and Ditch Open Source
Very interested to see this rolled out to Airtable
The adapter doesn’t allow charging while passing audio through, unless you use yet another adapter.
Seems like a modest requirement.
Hi @w0utert

I work in the VS Code team - the experience you are having is not the experience we aspire to. It would be great to dig into this a little more and see what we can learn.

Perhaps the easiest way to have a deeper dialogue is via a GitHub issue. The easiest path to creating one is leveraging 'help->report issue' that will include some additional context that will help us dig in a little more.
See https://clang.llvm.org/docs/DiagnosticsReference.html
https://news.ycombinator.com/item?id=15393270
The trend Ive been seeing is "AP with eventual C". It comoes down to the idea that we have a planet, with datacenters in locations on said planet. Light down fiber or copper only goes so fast.

The "eventual consistency" part is simply acknowledging that we can't beat C when our databases are in North America, South America, Europe, Africa, Australia, and Asia. One-way comms takes time. 2 way comms, even more so.

The tradeoff is, that changes can come in, and 'eventually' will propagate to the rest of the DB nodes. It does sound not ideal initially, however this type of operation would allow a localDB running as AP to sync when back online.

The examples I'm deriving come from recent DBs, like GUN http://gun.js.org/#step1
I think you'd probably just use crouton instead in which case you'll get flawless hardware support since it's using Chrome OS's kernel & drivers.
Can you explain what you mean? I am trying to extract any meaning out of your comment and failing. Why would an idiot boss (as compared to a ... non-idiot boss? non-boss idiot?) specifically want an expensive Chromebook?
> To be a bit of a quibbler, a dynamic array is almost always going to be faster than a linked list

Nope, you're assuming that you're allocating in order to create the list. That's not always the case! :) It's very common in games and embedded systems to have the nodes in memory, pre-allocated, pre-loaded, baked into executable or game data, etc. If space for list pointers is baked in advance, you can use linked lists without the separate allocation costs of a dynamic array or other container class.

Also, a dynamic array can be slower than a linked list because you realloc larger chunks than 1 node. You pay larger costs for larger allocations, and it can also cause more fragmentation in a custom size-pooled allocator.

It's also common to forget that a dynamic array of pointers is two allocations per node (one of them potentially amortized... except for small N). It's a single allocation if you're storing the node struct directly in the array. But that's less common than people creating a dynamic array of pointers.
What is the point of i3?

I use it because the Ubuntu UI uses so much resources (from my experience) and my computers are generally trash.
I think by adapter, he meant USB-C -> Audio jack dongle, not a bluetooth adapter. So battery wouldn't be an issue.
It would also be nice if someone built a layout app for scientific posters. I'm not sure why but the prevailing approach seems to be to cram absolutely as much text and graphic content as you can onto the poster, with no line spacing or margins. They are absolutely unreadable.
http://www.newsweek.com/government-wont-fund-gun-research-st...
Author here.

The tutorial succeeds if it gets people to have a superficial comprehension what Vim is about -- especially for those that have been putting off trying it out in a terminal. That's it. It doesn't really try to make you actually learn Vim.

As a tutorial it could be made so much better. I don't have the energy slots for this project. But I feel anxious when I get feedback because I feel like there's some moral duty to fix the site. The least I can do is to pay for the hosting so that people get to have a go with it as it seems some people like it.

Just to make clear: the Vim behaviour is modelled and is not just trivial precoding of keystream. There is a sandbox where you have contextual helper at the right side of the screen. You can play around with it to your heart's and battery's content. But it is merely a simplistic version of Vim.

Development-wise the most fun aspect of the tutorial was the DSL for tests.
For some reason (haven't really updated the code properly in years) many fails. But click on the individual tests and you see something fun. http://openvim.com/tests.html
See the corresponding code here: https://github.com/egaga/openvim/blob/87b9e1d62c4144c958ddf8...

The actual code is modelled operating on html elements. This was a fun side project, so please don't be too critical. It grew bigger than anticipated.
It's pretty great (I don't have one, but I have heard universal positivity for it) That said, you loose a lot of the security features that come with a Chromebook when you enable Dev mode.
so there's going to be a huge database of songs on my mobile!!! i don't think anybody asked for it... sounds like trickery... this is going to take up some storage space now...

anyone know how many gb or mb this occupies in my phone... can v jus clear this data...
Yeah, I feel Google should re-invent itself and make some bold decisions to move out of it's ad business. They seem very capable of making excellent products. Will their shareholders be up in arms if they got out slowly from this add business?

Google Apps, Android, Pixel etc are really excellent products.
Uhhhhhhhhhhh are you serious? The iPhone 8 results look SO much better...
You're not addressing the poster's point. Does makes sense for Apple to pay a % of total price of phone for one decreasingly relevant part?

Apple A series tech is destroying the Qualcomm's snapdragons just fine without any need for legalities.

Are you suggesting that Qualcomm is using its licensing fees to support an unprofitable Snapdragons? Overall a confusing argument.
> As for OSX I'm not familiar with the boot process.

Basically a mix of UEFI and their proprietary SMC controller on the system board.

The SMC is actually kind of nice to have since it means that the actual boot sector is more sandboxed.
My setup is just the official, latest release, with the Microsoft plugin for C++, the Vim bindings everyone uses, and one additional plugin for switching between header and source. I customized nothing besides a few keybindings and enabling neovim mode. This is on Ubuntu by the way.

I also used VS code a little on macOS for web development, and to be fair, I didn’t run into any of these problems there. But that’s for projects that are literally 100 times smaller than the C++ project I’m working on.

I don’t really buy the anecdotal ‘other developers never have any problems with VS code’ observation. I’ve been following the VS code release announcements here on HN for a while (it’s what got me interested in trying VS code), and they regularly seem to contain fixes for weird platform problems or regressions, to the point they’ve even had to retract a few of them because of serious problems found after deploying the update.
Given the general resiliency of certain extremophiles and how similar the early environments of Earth and Mars were I would be surprised if we didn't find some sort of fossil evidence of microbial life on Mars. The question is whether or not it will be genetically related to the microbes that evolved in Earth's early history.
My theory is that some/many prepers are either in denial, or haven't take the time (and/or lack the capacity) to imagine the true state of the world they're prepping for. And certainlybsome do it for a sense of security, as false as it might be.

Moi? If I knew there was going to be a nuclear explosion I'd likely drive into the mushroom cloud. Perhaps in this case my imagination has gotten the better of me?
Speak for yourself. A lot of members in this community, myself included, find being locked to a Windows workstation for any task to be a misfeature and a defect. Option are good! I'm not sure if the Pixel is a particularly attractive option, but I'll welcome any new competition that can help dissolve the Microsoft lock-in problem.
it sounds like finding an earth meteorite on mars would be a huge scientific discovery, because we could look back on early earth
My biggest problem with this is that I do not want to have yet another device that requires batteries and/or charging in order for it to function. Wired headphones powered through the audio cable are simple, don't quit working if their battery drain, don't require charging, and you can find them anywhere if you need a replacement.
I used to sleep until noon on the weekends and could easily spend 10+ hours sleeping a night if I let myself. After a year of my wife kicking me out of bed because of snoring too loud, I finally went to the doctor and was diagnosed with a severe apnea. I'm average weight, never had a problem waking up, and didn't feel that tired throughout the day like a lot of sufferers feel. Using the CPAP machine wasn't a life altering experience that immediately changed how I felt.

Fast forward 6 months or so... I have serious difficulty sleeping more than 8 hours, can hardly sleep past when the sun comes up. Don't need an alarm to wake up, and feel well rested after 7 hours of sleep. I'm also so much more productive at work, actually feel awake and can focus on things. Prior to the CPAP machine I don't think I ever actually understood what it was like to not feel tired, it was just my normal state so I was actually tired without even realizing it. It was a life altering change that didn't happen overnight. I've tried a couple times to sleep without the CPAP machine, and it just doesn't happen. I imagine its the same as sleeping before, I just notice how I'm unable to sleep now.

This might not be true for everyone, but if you're told you snore really bad, and don't feel exhausted all the time, but can sleep constantly... you may have sleep apnea and are just dealing with the symptoms without even realizing. It was absolutely worth getting checked out for me.
> then use another type of connector for headphones.

USB-C is a nice connector, and for digital headsets it is pretty nice, but it has some disadvantages (and advantages!) compared to standard headphone jack:

1. Portable devices tend to only have 1, so no listening to music while charging. Common in car scenarios, not all cars have BT audio, and BT audio implementations in cars can vary in quality by large factors.

2. Sound degradation over BT is a problem. Recompressing an already compressed file (e.g. MP3) is going to result in a loss of quality. Since a lot of music is streamed at a bitrate that is "just above noticeable loss", further compression will result in a sound quality decrease.

3. It moves the DAC to outside the phone. This is mostly a good thing, assuming the dongle uses a good DAC, and eventually we'll see third party high quality USB-C DACs (as are already present on desktops for traditional USB)

4. Pure USB-C headphones require more engineering, and they require a type of engineering that headphone companies are not traditionally familiar with. Headphone companies are experts in making high quality analog sound systems, shoehorning the need for digital expertise is needless. (Though more and more headphone companies already have a digital team, it does raise the bar for new entrants.)

5. The AUX jack is pretty damn good. Replacing it with a digital jack isn't really needed. Even with a huge industry push, it'll be many many years before USB-C is everywhere, and if you count the professional markets, it will likely be decades, if ever. (This isn't helped by Apple pushing a competing standard!) Digital means software, which means things can and will go wrong. With an analog plug the quality of the signal is the quality of the physical connection and the wiring going between them, and as a species we have almost over a century of knowledge about analog signals. With digital, ideally quality never degrades, but with firmware/software bugs it can degrade, and to get optimal quality it'll require every device in a chain not have any bugs related to sound quality.
Curious why you say "swallowed"

Yeah I mean I don't think it's a perfect division of say if your laptop/screen has 1920x1080 and you want to divide that by some known resolutions.

Good to know about being able to define layouts. Would be cool to just call it in another tab (number bottom of screen)
what are the drawbacks of the current crouton implementation making giving you pause?
haha I do agree with you!
Oh, good. Apologies for any hostility, that mindset is one a lot of people actually has and it really bothers me.
I owned iPhone 8+ for a week and didn't notice any differences than iPhone 6 with jack for the sound quality.

Only one bad thing, you can't be charging while listening to music.
> What I see a lot of "power users" doing is simply using their Chromebook to remote into their desktop for their application work.

Naive question - how would one set up a desktop at home to make it securely remotely accessible?
Squashing a Gatsby+Webpack+d3 bug
New really big phones basically are tablets. The site is easier to enjoy in landscape, often.