skysight-inc/HackerNews huggingface dataset:
Doesn't the if version also have the possibility of an unintended undefined return value (maybe JS only)?

I've been bitten by that before and thinking through all the possibilities when using multiple ifs is harder to me than with a boolean expression where a truth table can be used as a formal proof of validity.

The other downside to ifs is that the order of the ifs matters. That makes the code more brittle and requires the reader to parse the code on two levels: thinking about the booleans and keeping their values in mind over multiple lines of code. In a short sequence it's not a big issue, but it can be annoying when a very distant if statement affects your reasoning much later. Of course order matters without ifs, but everything important is on one line.

So the boolean version keeps all the relevant reasoning in one place -- no need to scan multiple lines of code (and risk missing an important guard).
Git commit template: write better Git commit messages
Thank you and yes, good question. The generated compositions are completely royalty free and can be used commercially - they do not require any attribution (though attribution always appreciated). I should add it to the website.
SEC Has Questions for LaCroix Parent Company National Beverage
We have a similar policy at $WORK (but manual). In our experience customers go mental if you say absolutely nothing.
It is a fact that creating logo that in aspect ratio is an art. Creative logos are very much necessary and a sort of backbone of companies specially startups. It is therefore, they should always look for professional custom business logo designers as they got a vast experience in designing high quality logos with accurate ratios.

http://www.logoexperts.ae/custom-business-logo-design-dubai
>If Twitter shuts down, you’ll lose your followers. If Facebook shuts down, you’ll lose your friends. For some platforms, it’s not a question of “if”, but “when”.

Wouldn't this happen as well if the instance my account was created in shuts down?
Why the hell one needs a vendor-provided device driver for a mouse?!
New coin launch and revenue method for website owners
I have an Elecom Deft, there's also the Deft Pro which I may upgrade too. It's essentially the closest thing to a MTE. Ebay and Amazon have them.
For phones specifically, only a small portion of people are using iPhones older than 5 years. So basically the vast majority of active iPhones are supported by iOS 12.

There’s probably a decent number of active iPads that can’t run this iOS version but that’s probably for the better since the older ones would probably be too slow.
Unfortunately, it comes installed with Windows.

edit: of course it runs Windows. It also comes pre-installed with it.
> Littering is in every country not just India. Certain countries deal with it in a better way.

Most deal with it by passing laws a municipal levels of government making it illegal in conjunction with providing refuse bins. Only one municipality in India has done this.

> Open defecation is unrelated to this issue.

It's actually very much related, you state that people litter due to lack of refuse bins and openly defecate because of the lack of toilets. The reason I mention it is that while India does not have national laws around littering, they do have them for open defecation. Since the Swachh Bharat mission was launched in 2014 there have been significant reductions in the % of the population that openly defecate yet even in homes with access to toilets they aren't seeing 100% usage. In homes with government provided toilets they've seen upwards of 40% of people still choosing to openly defecate and of those a large percentage say they prefer the openness of defecating outdoors. It is most definitely a behavioral and cultural issue.

Littering out of convenience is cultural/behavioral and not due to any failing of the government. If it were purely down to a lack of refuse receptacles then how do you explain the state of most venues after an event? I've never been to a movie theater, music venue, or athletics stadium that did not have copious refuse bins to collect trash and yet people still litter. To further drive home the fact that is indeed culture look no further than the Japanese who have cleanliness so culturally ingrained that they stick around after World Cup matches to help clean the stadium.
Honestly, I don't think it is.

"Science and Society", "Science and Technology Studies", and several similar fields are basically devoted to writing this sort of article. If this came from a chemistry professor, I'd be stunned; from a 'professor of science and society', it's almost exactly what I'd expect; that's a humanities field that studies science, often from a postmodern viewpoint.

I don't even say that as criticism; it's worth reminding people that you can follow the scientific method with real rigor and still get a completely wrong result. My biggest gripe about this article is that it missed opportunities to make its point more strongly and clearly. For instance, it could have benefitted hugely from discussing Daryl Bem. (The professor who 'proved' ESP exists with more rigor than most published psych results.)

But yes, it's pretty much the origin I would have expected.

edit: Just looked up the CSPO, and all of the same reactions apply. It's explicitly not a scientific consortium, it's devoted to analyzing the societal impacts of science and technology.
What's the name of an optical device like this that merely magnifies the stereo separation without crossing the images? I see examples of photographs taken this way but not real-time viewing instruments
https://en.wikipedia.org/wiki/Stereo_photography_techniques#...
Unfortunately the link 404s
I wouldn't normally say this, but since you appealed to authority first... are you aware of how absolutely dismal ASU's reputation is in academia in general?
> globalpolicy.ieee.org uses an invalid security certificate.

> The certificate is only valid for the following names:

> * .wpengine.com, wpengine.com

> Error code: SSL_ERROR_BAD_CERT_DOMAIN

HTTPS is not deployed on globalpolicy.ieee.org.
The master pattern for this sort of thing is probably Babbage arguing with Stephenson about whether a broader gauge would have been better for railroads. Undoubtedly Babbage had the right of it in the sense that if one were starting a railroad system from scratch the broader gauge would have been better. But beyond some established base of rail mileage, it really didn't matter.
Has anyone tried this yet? The reviews on Amazon say it's ok, but bad for gaming.
I thought Apple was still committed to the SE series. Just not updating it as often as the main line.
I guess he got slashdotted
Reality Winner, N.S.A. Contractor Accused in Leak, Pleads Guilty
The Good, Bad and Ugly: Apache Spark for Data Science Work
70% of MoviePass Subscribers Would Rather Pay More Than Deal with Surge Pricing
Configure buttons and other functionality the OS doesn't have a standard interface for.
It would and it has. In Mastodon-speak, this is called an "extinction event", and I have seen a few of those. Mastodon, however, has already implemented take-out feature where you can download all of your data at any time, including your friend list. It's not perfect, because although you can keep your followee list, your followers don't have an automatic way of knowing where your new presence may have moved to.

Also, the stuff that has already been tooted lives on in the fediverse in other servers, so it's not like the toots also disappear from other servers after an extinction event, just like an email server going down doesn't delete the email from everyone else's inbox.
If you want to find out more about the project that sparked this paper you can find it here https://menthal.org/

I'm one of the researchers that works on the project.
Which is likely the reason AWS bandwidth charges are so high. That's their lock-in factor that often makes it infeasible to use cheaper servers elsewhere as long as anything else is on AWS.
The Surface Book 2 sadly can only run an operating system that invades my privacy, and when it's not doing that, treats me as hostile, and when it's not doing that, is a general UI disaster and pain in the ass to work with.

Hardware is becoming increasingly generic and commoditized. It's the absolute least interesting part of the buying decision: does it have the right numbers?

More interesting: Can it run the OS I already have and read the data I've spent the better part of a decade working with and collecting without requiring me to spend a bunch of time re-learning how to do basic tasks that are committed deep to muscle memory? How much new software am I going to have to buy? Will that time and money spent result in a productivity improvement substantial enough to offset the opportunity cost?

If not, I'm not going to bother. I can't be alone here. Straight comparisons across platforms like the headline does here are never completely legitimate.
I would love to see more laptop manufacturers use the 3:2 aspect ratio, especially on screens smaller than 15".
No, it's more related to the manager/boss not understanding the value of a good keyboard. I asked about how to convince the employer of the value. The employer can certainly afford it, but he needs to understand why it's a good investment.
This is what I was referring to with a 'Steam for Books.' Steam is a video game publication platform. Developers generally get 70% of gross revenue generated by their product. With that 30% Valve, the company behind Steam, take care of financial stuff, providing a platform, and also targeting and marketing. Users can search for titles by genre and various sub-classifications that other users can provide. In spite of an absolute explosion in the size of the industry, many people are still doing phenomenally here.

Is there some reason a similar market could not work for books?
It's really disappointing to get this update after ~2 hours of downtime

> We have no new information to share just yet, but we're continuing our efforts. Your patience is truly appreciated.
https://status.slack.com/2018-06/142edcb9e52c7663
The IntelliMouse 1.1 and mx518 are the best mouses I have ever had.
What Is Agile Methodology?
Cached: https://webcache.googleusercontent.com/search?q=cache:OzE2qb...
We're up! It was a weird PHP bug... sorry :)
Looking forward to https://www.indiegogo.com/projects/light-phone-2-design#/
Really? It maybe up, but Netsplits occur all the time.
Agree. Although I've been putting effort into learning more Calculus (former art student!), Linear Algebra, and the like, a version of this with actual numbers would go a long way.
That's a lot of eggs in their basket. A major downside of the current way a lot of these companies work is that there's a huge incentive for them to never allow customers to self-host their product.
Write their name on a sign at the bus stop. This won't scale, but you have not many users currently.
We've been trying to use it with a hackrf and bladerf and no dice at receiving actual GPS, even with an antenna exactly tuned to 1.57542GHz. Only when we transmit GPS signals ourselves so the signal is much stronger, are we able to obtain any satellites at all.

The software works, but you need a low noise amplifier or something else that you'd probably have to order from America or China (that would have taken too long for our school project).
Just to bump this on your replies thread list, I responded elsewhere [1] with something that I think is appropriate here as well. I'm quite curious on your take.

[1] - https://news.ycombinator.com/item?id=17408703
I'm not really sure the current administration is doing it for the human rights reasons you noted. I'm not sure they care much about that either way.

I think they could get what they want out of these deals and human rights would remain the same or worse and they wouldn't care.
That's interesting. More speculation: they haven't given any detail in 2 hours, perhaps if it's an upstream/3rd-party problem, they haven't been given any info.
Just don't put your hand on it:

https://www.reddit.com/r/Surface/comments/7of68m/surface_pro...

(I still think it is better than MacBook. Just really annoying that they got this wrong)
Such articles always give too much importance to the hardware (which is somewhat important, no doubt) and not enough importance to the software.

Many people are looking for quality alternatives to Macbooks, Mac Mini, etc (myself included). Mac Mini hasn’t been updated for 4-5 years. So, I started setting up a Windows desktop as a Mac Mini replacement. But when it came to finding all the alternatives to the OS X software I was using, and when Windows started showing me notifications about “try Edge,” “give us your valuable feedback,” etc, I went back.

If only Ubuntu could have native MS Office (needed for docs from lawyers), Sketch / Adobe products (needed for working with our designers), etc!
This is utterly beautiful - thank you. I made a very primitive interactive (WebGL) version a couple of years ago (not going to link here - always feels rude to drop links in someone else's post) but this takes it to a whole new level and then some.

I love all the analysis too as well as the gorgeous visuals. I'd definitely purchase a print for my office wall if you ever decide to offer that.
3 Food Sensors to Track Every Bite and Gulp
FTA:

Most people that I showed the Surface to were impressed by what they saw, but almost always came back to the same thing: it doesn’t run macOS.

I’m increasingly frustrated by this because it’s almost always a misunderstanding of how far Windows 10 has come, and how compatible the workflow now is regardless of what you might do for a job. I suspect most people haven't touched Windows since years ago and it's time for a serious second look if so.

I’ve written about web development on Windows 10 before, but even since a year ago it’s come such a long way. The Bash on Windows environment is now so performant and well supported that you won’t even know the difference if you move from a MacBook, and Microsoft continues to improve it at an impressive clip.

Unless you’re using Xcode, your workflow will almost certainly move from macOS to Windows as a non-event: it’s that good now, and I spend most of my time living in the Bash environment without any problems — even with complicated situations like Symlinks inside Bash now actually working fully.
> Why not? The scientific method doesn't preclude anything a priori.

You're right it doesn't. But my criteria for an interesting and worthwhile article isn't one about crazy ideas that have been beaten to death 1000s of times already. If HN front page had tons of those types of stories, no one would come here!
You are right my mistake, the title should have been:
"Does the truth exists?"

thank you :)
right, there's that at least, and that's probably better than the alternatives. It just didn't sound like a good analogy. A bit deceiving even.
I'm not lefthanded but I also owned a steelseries sensei, its a very nice ambidexterous symmetric designed mouse. I used it mostly as a push-to-talk button but now I just stick with a g502 logitech prometheus since I tend to favor heavier mouse.

Its a shame there aren't more left-handed mouses developed, but the market isn't nearly as big as right handed mouses.
The trick is this" if you look into a bright light you cant see the rest of the room anymore. Its a kind of forced feeding. Not that the designers of our world are guilty of some sinister CONSPIRACY. They simply see awful-white as the only choice based on tests or they are just imitating what they know.
NYTimes have recently moved their asides and nav below main content, in the paagestream.

I'm increasingly using text browsers.

HN would benefit by a true nested (list) layout. Or a few <br /> tags within its table layout.

And visible voting buttons.

TFA here actually reads better as source than as rendered, on mobile (Chrome / Firefox).
WPA3 is the magic number? Protocol refresh promises tighter Wi-Fi security
People became less interested in the smallsat launch market for a long time.
Has anyone managed to get Linux booted on this thing and working well? I've been debating purchasing one, but I am afraid that I'll be stuck with Windows, which, for what I work on, makes hacking pretty difficult.

EDIT: Just as a note, I know about WSL (I use it at work), but I would greatly prefer to have Linux working on root. I have a lot of custom systemd setups, and I've become somewhat dependent on XMonad.
I've been here (Bunk'art 1), and if you happen to be in Tirana with a couple hours to kill this is a great museum. There is also a great bunker museum near Skanderberg Square (Bunk'art 2) which is a cold-war era secret police bunker.

There are various other more traditional bunkers all throughout the entire country, it's fascinating to hike and come across a small bunker complex to house an artillery section or whatnot and go exploring in them.

Every coast is also entirely dotted with small 2-3 man bunkers for machine gun nests, to the point if it being a local industry to remove them.

One of the more interesting countries I've ever visited, highly recommend spending a couple weeks in the country if you are the adventurous tourist type.
The Pivotal Data Science team has been working with Spark in a variety of environments for a variety of use cases for close to two years. Here's what we like and what's been difficult. This post gives a broad overview, and in subsequent posts we will dive deeper into the pros, cons, and how to make the most of Spark. We hope you enjoy!
One factor not mentioned is that Tokyo was almost completely destroyed by bombs and especially by firestorms during World War 2. This required rebuilding much of the city after the war. Cities like New York have never been destroyed. San Francisco was destroyed by earthquake much further back (in 1906 before modern skyscrapers were common). So some of what we see here may be rethinking following destruction as well as other factors.
The Billionaire Space Race Is Making Life Difficult for Airlines
Ask HN: Have you built a personal chatbot for yourself? What does it do?
I’ve long been obsessed with the idea of having a single self-hosted server / cluster that can perform whatever menial tasks I automate. I think a chat bot in a private Matrix room would be a great interface for that.

Eg:

- Logging cash transactions

- Downloading bank statements

- Auto journaling the end of the day by pulling git commits and screenshots of the last 24hr

- Sending morning briefings

- Literally anything

Does anyone run a setup like this for themselves? What does your bot do, and what does your stack look like?
The difference is only clear after transliteration. The problem is that transliteration is difficult to begin with.
Unfortunately, it runs Windows.

Not a problem anymore

https://gaiustech.wordpress.com/2018/06/16/wsl-is-a-game-cha...

I say it every time it comes up, because it’s true, Surface is what Macbooks and iMacs should have been, perhaps would have if Jobs were still around
I have no idea what this is about, so I had to look it up.
Not something I care to get involved with, but the README here is useful context to this story.

https://github.com/danger/peril
But how will they deal with the GDPR?

https://github.com/tootsuite/mastodon/issues/7280
Microsoft Edge Now Supports W3C WebDriver Recommendation
Personalized E-Learning: The Tale of Zuckerberg and Summit Public Schools
US Authorities Seize Over $20M in Crypto in Massive Darknet Crackdown
The Surface Book also runs something I never want to deal with again: Windows 10.

I can't deal with a software that constantly gets in the way of my work. I gave Windows a lot of tries, but the latest edition was the last straw for me. Never going back.
No the good would be Google hosting a free booking software as a service system and an app or even Google Assistant to interact with the system.

I'm sure companies would jump at the opportunity. Google gets more information about people's habits and it the success rate would be a lot higher.

"Don't let overly complicated be the enemy of the simple"....
So they took one of the best ambidextrous mice and made it right handed? Thanks!

But seriously, I know left handers are only 10% of the population, but I'm sick of being left behind, no pun intended. I've been using the Razer Deathadder for years and it's served me well. Well, the ergonomics for that matter anyway. Some of the choices with the structure are questionable at best.

On the inside the mouse is split into two circuit boards and soldered with the cheapest ribbon cable available. The shaft on the scroll wheel is made out of acrylic and while it lets light through for the underlighting pretty well, it's complete crap when durability comes into play. I admittedly get a little heated when playing, but I swear that thing will break just by looking at it. Additionally the switches on the mouse are acceptable at best. After about a year the switches wear out and become squishy.

At this point I'm possibly looking at re-engineering the internals. I have to buy one nearly every year just because they wear out.
Beautiful TRIPLET GINGERS
Bird 14 miles in one day
It's not about the protocols, it's about having a client with a user experience that is acceptable to an entire company rather than just a team of engineers. Which decentralized protocol has such a client? (Speaking as someone who got burned trying to advocate for IRC at a company that eventually and inevitably switched to Slack.)
That would be wasting time, because humans are used to talking to humans, not to robots. Do you enjoy it when you call a business and you have to sit through the annoying automated system? If you want to make the experience better for businesses, this is the way to go, although much harder to achieve. The "um"s aren't to trick the person, it's actually makes the conversation flow better.
Mastering the css grid
Still no work on the cause or fixes after 90 minutes. I wonder what kind of problem this could be.
Jesus. If china has a real out-ward facing crisis we are all toast.
Why annotating data directly on videos is way superior to annotating images
Yeah, I wish, though the only nice full-size keyboard I have laying around is a Sidewinder X4, which is out of production and about half as tactile as the Chinese-made MX brown clones in the AnnePro.

The value proposition for me doesn't really exist enough to spend out-of-pocket though. Mostly due to not reaping the benefits from increased efficiency.
You could make people pay upfront and the more friends they enlist to join and stay active then the more money from their monthly/annual cost will go to charity, up to some limit. They pick the charity from a list.

Or be blatant about it like some mobile games are. Watch up to 30 second videos (aka ads/commercials) to earn credits. Earn enough credits per month and no membership cost at all (have CC info captured for automatic payment though). Let users select topics of interest and let advertisers bid on their commercials.
The Ars Technica writeup is superior, IMHO:

https://arstechnica.com/gadgets/2018/06/google-duplex-is-cal...
Good Manual for upcoming startups as well.
Because people will hang up on it like they do all other robocalls, or they will talk to it like many people talk to "computers". They won't use grammar, they will speak louder, they will slow down, and they will try to keep the conversation as simple as possible fearing that the system can't handle anything else.

It needs to sound human so that humans will interact with it correctly. If it sounds human, then the person on the other end of the call might say things like "We don't have anything available on the 3rd but we do on the 5th, is that okay?"

If it sounds like a robot, people will just respond to questions with "no", "yes", or say "phone number" instead of "can i have your phone number?"

Sounding human puts the human in the drivers seat, sounding robotic means the "robot" needs to drive the conversation.