skysight-inc/HackerNews huggingface dataset:
Hi! RF Engineer here. Bluetooth sucks for a number of reasons, only a few of which actually relate to RF.

First, we're bad at naming things. Is it BLE? Bluetooth Smart? BTLE? Bluetooth 4.0, or Bluetooth 4 Low Energy? And what does this have to do with ANT+? This doesn't seem to be a big problem, but it's a sign of deeper problems with the spec. In the long run it makes it very difficult for developers to implement.

Bluetooth 2.0 is radically different from BTLE. In 2.0, you had one device which acts like a microphone, and another device which acts like a speaker. This was like getting two people to dance together, it takes a lot of practice to get the joined movements right. If one person stumbles, it all goes down like dominoes.

BTLE on the other hand, acts like a (more familiar) client server model. You come up to the bank teller, and have a limited set of operations you can preform (withdraw/deposit money, open/close account). Here's the catch though... the teller is only open for 10 seconds during a 24 hour day, and moves throughout the city. You have to arrive at just the right time, or you have to wait until tomorrow. (This was done for battery saving.) The throughput is also MUCH slower than 2.0, which makes applications like audio out of the question for now.

There's also a lot of bureaucratic hype surrounding it. If you look at the release from the BT SIG, it seems very much similar to Java's claim that it runs on a bajillion devices. All in all, BTLE seems to be a solution in search of an IoT related problem, much like Java.

So in short, the reason I think it sucks is because it's a very complicated protocol with poor and confusing naming conventions. It sure doesn't help that it keeps getting re-invented! (Although BT5 seems to just be add-ons, finally!) Implementers (both on the HW side and the mobile/desktop side) have a difficult time figuring out how to do things correctly, much less why they need to be done. Things are getting better, but until the next "killer BTLE" application comes out, it's just heart rate monitors and useless iBeacons.
One motivation for reimplementing a layout engine for React Native was to solve this exact problem that CSS doesn't address.

We have LayoutAnimation inside of React Native which lets you do that. It's not very well documented and the delete method is not implemented, but the idea is there :)

https://facebook.github.io/react-native/docs/layoutanimation...
Ehh, this is more like if the cable company started charging a monthly fee to use the remote control.
> I was banned without ever having ventured there, and then proceeded to be called a "faggot cuck" (presumably because of my posts to /r/gaybros) by the moderator. So it most certainly is not false. There are many others who echo this scenario across reddit.

Perhaps a rogue moderator did this but AFAIK it's not the policy of the sub as a whole. I'd suggest messaging them (the moderator list) if you'd want to get unbanned.

> Funny, I was not very kind towards Clinton. Still can post in /r/HillaryClinton.

Then you must be an outlier. Forget insulting her personally, I know of people that were banned for being Democrats that disagreed with her specific policy positions. I'm not even arguing that's against any rule. Each subreddit is free to come up with there own rules for what content is acceptable.

What I take issue with is preemptive banning. At best it forces people to live a digital double life with multiple personas. If you're following the local rules then there's no reason they should be banning you for opinions you've expressed elsewhere.

> You can certainly argue that, the problem is having some kind of substantive evidence to base this claim on.

Create a dummy account, post a hello to /r/The_Donald and them see what happens. It's definitely real and goes well beyond the purely anti-Trump subreddits. You'll get banned from entirely unrelated non-political subreddits as well. The funny thing is you won't realize it until you go to them and try to reply to a post.
>it's missing the most important Indian bread - the Naan

That description is at least somewhat subjective. I would say Indians in India tend to eat roti (tandoori roti) as much as naan, and plain roti and chapati even more (the latter two are considered home foods, so not seen much at restaurants). Naan tends to have a slightly higher-end image (IMO/IME) and I've seen foreigners in India tending to order naan more often than rotis (particularly garlic naan, which seems to be a favorite of many). My guess it that it has been marketed to them more than tandoori rotis in the glossy magazines. on planes, etc., plus it might be/look more close to some Western breads (e.g. garlic bread like garlic naan, also the shape of naan is a bit like a French bread, maybe), so a bit more familiar to them.

But in India plenty of people eat and relish tandoori rotis, plain rotis (which are roasted on a tava in the house, not an outdoor tandoor), and chapatis (thinner version of plain rotis, but also allowed to quickly puff up on the open flame after roasting on tava). IMO tandoori roti tastes better than naan, which is made of maida (refined wheat flour).

And all of the above taste pretty good in slightly differing ways (though all except naan are made of whole-wheat flour).
Your greatest weakness isn't the technical edifice that you are least knowledgeable about - which will be constantly changing anyway due to the advent of new technical paradigms and the obsolescence of skills you once relied upon.

Your greatest weakness are the character flaws that reliably lead to poor decisions. For example (not based on you in any way) you might be an impatient person. When you're starting out and tackling relatively simple problems, this is no big deal. But as you graduate to working on more ambitious and complex endeavors, it could turn out to be a major limiting factor.

The real point f this question is to see whether you're the sort of person that will ask for help when you run up against your own limitations, or whether you'll project your shortcomings onto the problem at hand while you attempt to rectify them, reducing overall efficiency. This mindset is a major reason for projects going way over budget despite being glaringly flawed.

I don't like using this question in interviews, because it's neither realistic nor polite to invite a complete stranger to engage in deep character analysis in an asymmetrical commercial negotiation. Even a shallow person can sense the loaded subtext of the question being 'give me an excuse I could use to fire you if I felt like it,' and has a strong economic incentive to obfuscate their answer. So I'll generally ask 'what would you like to be better at?' which typically generates a more honest and useful reply.

When you're on the receiving end of this question, you can leverage it in your favor. For example 'I'm not great at time management - if I'm told a problem is important I'm likely to just keep working on it to the exclusion of everything else. I do better when I have an understanding of the big picture and the relative importance of different tasks.' This is an indirect way of inviting your future manager to share information which you might otherwise not be considered worthy to receive. As a general rule, offer a solution to the problem immediately after the problem statement. This shows you to be both a good team player and require little emotional maintenance, both of which are far more interesting to most managers than your primary competency - especially in tech, where your primary competency probably has a short life before it's made obsolete.

Your greatest weakness is a lack of long-term perspective. Your post suggests to me that right now you can't imagine yourself doing anything but pounding out code for the rest of your working life. That's not a sustainable trajectory because software development isn't a body of truth like mathematical knowledge, but more like a jigsaw puzzle where pieces are taken away and replaced at random intervals. In short, what you'll be doing in the future will almost certainly not be what you signed up for. For yourself, it's vital to have an answer to the question of what you'd do if you weren't writing code (another common interview question) because there's a good chance that at some point you'll get sick of it.
They're Indian in the same sense that New York City pizza is American and not Italian --- it would be silly to call NYC pizza "Italian", as it's an indigenous American dish that is merely inspired by an Italian predecessor.

A good acid test is, did Indian culinary culture substantially alter the dish? In the case of naan, no, it probably didn't. In other cases, more so.
Ask HN: Is there an “open source” version of zapier?
Thank you for telling me about IndieHackers. Tons of people recommended it to me in the comments. Will definitely add it! Thanks!
I've used the gc module, with get_referers and get_referents, to track down various leaks. This only really helps with python-allocated object.

It's trivial to end up with an unexpected strong reference. Weak references are the right way to deal with cache objects, imho.
The Python interpreter itself may not do anything with the annotations, but static type checkers and linters can, and they will give you the safety that you need.

The annotations also allow the development of better IntelliSense-like tools.
It took me a while to figure out how to minimize the share via social media bar that pops up on the left. Which for me seems to block the first 4 letters on the left hand side at my current screen width. Just a heads up. When I move to a larger 1080p monitor there is a space on the left so it doesn't block it. Look at your page with 1600 x 900. Not sure if this is an issue for you but I thought I'd mention it.
I just happen to be more familiar with obj-c :) I agree that a swift API would probably look very cool. Would be fun to see this come from the community.
That is exactly the sort of watch I'm looking at. It's a watch first, a smartwatch second - those notifications look ideal.

How does it hold up "out there" in the real world? Is it too focused on the suit/office crowd?
The trouble is all the apps come via the services. I hope they release some tools so you can at least install all the watchfaces; maybe give their repo/archives over to archive.org or some other entity that can at least maintain what's there even if you can't add anything new.

This is the trouble with everything hosted in "the cloud" or where you have apps that need to be downloaded. If the company and distribution platform goes away, your device can become useless (or require way more effort to get working).

It's like trying to play an old MMORPG you paid for years ago, but is gone today.
A lot of those deallocations should be easy to figure out by a compiler, though. Maybe the JVM can accommodate a delete instruction? If I say list(1,2,3).par.map(x=>x*x) there's a couple of intermediate objects that can immediately be deallocated. The GC shouldn't be bothered with cases that are so obvious.
A boy pretends to be a woman on an online gaming site. Then the game changes
These things drive me insane. It's ridiculous. Do these people only check their sites on huge monitors?
Thanks for the heads up, I'll look into making that less annoying.
> have you not made enough profit to support rolling out your third version without outside backing

I interpreted it more as a way to build hype around pre-orders for something that wouldn't come out for a while. In light of them going under, your explanation seems to gain some support, but I still wonder if they were also using Kickstarter as a hype builder and pre-order managment system.
Necroposting, I know, but under what definition is silicon a "rare metal"?
Could be a big part behind companies re-purposing common words? If you give it a unique word, it becomes it's own thing. But if it's something like "Yoga", then you will always have to refer to it as "Facebook Yoga" which is very good for the Facebook brand.
Hey vjeux! I'm sure everyone here on HN would really love the story of how you first implemented css-layout.

You had a really inspiring use of fuzz testing and TDD. You used a hilarious technique to implement it in several languages at once. And I heard a rumor you did it all over your paternity leave?!
"Going bankrupt" canary
Most chip manufacturers keep their firmware very close to the chest and from my anecdotal experience, a lot of that firmware is of a low quality; mush a smattering of shoddy chips together and you end up with really weird behavior.

FCC certs of a custom radio used with a bluetooth chip with a binary blob for firmware is the most painful thing I've ever done in my career...I think.
This came up in the openbsd-misc mailing list yesterday[1]. Someone also mentioned the link that elchief posted.

[1] https://marc.info/?l=openbsd-misc&m=148105687011923&w=2
Do you have the Logitech software installed? I found it makes an appreciable difference in performance.
It's possible it was reported to Apple because they have a vulnerability bounty program, so they individual who reported it could get a reward. That might create an incentive to report it to larger targets who may run larger bounty programs.
Automated buses are now running in cities in Finland
Related: Nordic Semi nRF52840 announced today, with BT 5 support and additional on-board peripherals (including ZigBee)

https://www.nordicsemi.com/eng/Products/nRF52840
I'm afraid I don't quite understand what the negation of a graph is in this case and what you mean by 'overlay,' perhaps elaborate a bit?
>I must say that if you can't read the #586772 on white, that's a pretty severe handicap

well, i have pretty much technically perfect (just very easily tired after almost 30 years looking into the screen) vision and while i can read it, i'd prefer to have it in higher contrast as i just physically feel how my eyes have to work harder for the glorious make benefit of design.

After spending some time some years ago on accessibility related work, it became clear to me that while obviously the accessibility is the key for handicapped users, the thought-through accessibility (vs. just "get a screenreader") on a project frequently results in the improved design that is better (like in particular cleaner and simpler in appearance and interaction flow) for the regular non-handicapped users too.
your bank sets the rate. mine charges nothing for transfers under $100 and $1 for anything over that
this comment reads much better if you replace Python with Javascript and PyPy with V8 or whatever, especially with today's Typescript announcement.

additionally try using mypy-lang some. it's great.
The website didn't do a good job at all with the images it used to describe all the items
They might have gotten a relatively lucrative deal with FitBit by way of an asset sale with hiring bonuses for transitioning staff, enough for them to abandon their current efforts without any sort of Hail Mary fundraising or outreach to their customer base. This doesn't seem like an act of desperation to me, and if that's the case then they would have to down-play internal celebration since such a deal negatively impacts their user base. As for Fitbit, they don't have to honor warranties or fulfill orders for Pebble if they scrap the company while still getting what they want. They are competitors, so even if Pebble had strong cash flows worth maintaining, it's still a competing product line they might have eventually consolidated. Cut out the middle man. Buy the assets you want to keep. Avoid the liabilities. Tell customers whatever you think they need to hear.
Your device will keep working yet, but what if you switch phones/tablets? Now you need to setup a new device with the watch and...oh wait... Pebble re-downloads and re-installs all the apps. If their app/servers go away, now we'll be looking up hack people wrote on github to get our devices working again.
Unicorn story. How about the more common case of "healthy young person with no assets or savings bears a disproportionate burden by being taxed an outlandish amount for an inefficient health care system mainly catering to the elderly"? I suppose that isn't suitable for an LA Times piece.
My mother unfortunately passed away from this horrible disease many years ago when I was not yet 10 years old. Even more unfortunate is that life expectancy once one is diagnosed with glioblastoma today is not any longer than it was back then (35 years ago). Patients on average live 8-12 months. It's depressing to see this, and I hope we can make bigger strides in the years ahead.
Having inappropriately-named users acting professionally is an acclaimed and talked-about part of the reddit "charm". You may or may not find it actually charming.
IPP's got a few problems, especially when it comes to phones/tablets or other mobile devices:

- IPP requires unique drivers for each printer. Some mobile devices (Chromebooks and iOS, I believe) don't allow installing drivers.

- IPP requires that you're on the same LAN segment, or that you punch a hole through your router. That doesn't work very well when interacting with foreign printers, and punching a hole through a router is too complex for many home users.

- IPP is limited to HTTP Basic/Digest auth, which isn't user friendly or secure. The traffic's also unencrypted. (And SSH isn't user friendly enough for home users.)

(Disclaimer: I work for Google, but not on Cloud Print.)
Why not use something like XAML instead? Much more readable and powerful.
This is one of the reasons companies seek patents, called a defensive patent strategy. The goal is to discourage competitors from suing you for patent violations by making sure you own a patent your competitors are likely to have violated. It creates a kind of "mutually assured destruction" that discourages either party from launching a patent war (this only works against real competitors, not against patent trolls, but it can still be a viable part of a company's IP strategy).

In the case you describe, what it boils down to is yeah, if your business intends to sue Facebook for patent infringement, you probably shouldn't be dependent on any of Facebook's IP or patents for your business. There are lots of things companies do to discourage other companies from suing them. Giving out free software is one of the nicer ways a company can choose to go about it.
Likewise. Mine is possibly the most reliable piece of hardware I have ever owned. It does exactly what I expect it to do, all the time.
what boundaries do you think Elm is pushing as a language?

It is a cool language and platform, but to me it looks like with time it has actually become more conservative.

TS on the other hand appears to contain some interesting new things on each release (possibly too many).
Case in point, Lookup and Mapped types in 2.1 seem like a brilliant idea.
Yeah, fortunately TiBu can backup both the Pebble app and the Bluetooth pairing. But that's basically next, modified firmwares already exist I believe, so I don't think it's unreasonable to think that if we need to use those and sideload apps we'll be able to.

I'm fairly sure that I could crack the pebble apk myself to remove the authentication stuff at the beginning if it's needed. Backing up all the apps and stuff before it's gone might be the bigger worry here.
Amazon announced they were doing network processing in hardware at Re:work last week [1].

Custom silicon, rather than the FPGA or ASICS they were using when they started the project in 2012.

They tout not only the freed CPU resources, but lower latencies and increased security of isolating the networking from the CPUs running hosted VMs.

https://youtu.be/AyOAjFNPAbA?t=1822
>Amongst economists, a belief in free trade is totemic. But, while trade makes countries better off, it does not raise all boats… the benefits from trade are unequally spread across individuals and time.

If I understand correctly, this is what taxes are supposed to fix. Free trade generates wealth, taxes ensure that the wealth is somewhat distributed.

> We shouldn’t try and protect jobs; we should protect workers.

... and use the taxes to retrain, provide a safety net, etc. From TFA:

>We have to look for inspiration from northern European countries who have comprehensive retraining, help with housing, help with relocation. Typically they have the unions, governments, and companies working together to try and keep the social cohesion. It doesn’t always work, but at least they try and most people feel that the government is helping them.
Reminds me of myself tracing a memory leak in a node app loading a core dump into an IllumOS VM with mdb_v8. Not so simple/friendly/happy after all.

(You could argue that you could generate a heap snapshot with v8-profiler but I was against time).
AWS currently not offering Lightsail/EC2 hosting within Canada, as well. DigitalOcean has been in Toronto for a while. Certainly not an important detail to many, but it was for me.

AWS has been saying they will open in Canada for quite a while... seem to keep pushing the date further and further.
Creating a HTML Email Signature
You've tried several different brands of smart watches and you like Garmin the most? Can I ask what you actually use your smart watch for?

I've always had nice wristwatches (and prefer to look at my wrist for the time instead of my phone) but I've been thinking about buying one recently. Most of them seem centered around health / fitness tracking, though, and that's not something I need or want. Mostly, I just want a "regular watch" (date/time) and perhaps notifications of incoming calls/messages (not necessarily even the content of messages -- just, for example, "SMS from Alice" or "Call from Bob", enough to let me decide whether to go pick up my phone). Garmin's API/SDK looks pretty cool, though.

I looked at some devices a week or two when purchasing a new FitBit for the girlfriend but, like I said, they had loads of features I didn't want. I'm tempted to just continue to wait on purchasing a "smart watch" and get a new wristwatch instead. I'm not really thrilled at the idea of having to charge my watch all the time anyways.
Where are they, "exposed". The post just says the values are always true and that you don't really need to care about them.
Actually tandoors (for making both tandoori roti and naan and tandoori chicken, chicken tikka, etc.) became quite common in restaurants in medium to large Indian cities some years ago. In fact I used to regret that you could not get the regular plain chapatis and rotis in restaurants (except for cheaper messes or dining halls); it became so that tandoori roti or naan was the only option even in any average or hole-in-the-wall restaurant.
Price Breakdown vs. DigitalOcean, Vultr, Linode, OVH, and Online.net / Scaleway
Googling for mapobj doesn't give me any results. Can you point to some documentation on these?
The Relationship Between Income and Wealth
I understanding them selling a lot of IP to Fitbit to pay back their debts and settle bankruptcy, but I really feel all the source for their app/store-services should have been made open source instead, prior to this announcement.

That way at least their customers could try to hack together stuff or make mirrors of their app repos to keep their devices functional.
Strobe lighting provides a flicker of hope in the fight against Alzheimer’s
Depends on the company.
For years, every decent netadmin has had to log onto every new HP printer and greatly reduce its attack surface (or deploy an image to it): Put a password on its admin interface, disable all the unused protocols (obscure/unneeded printing and communication protocols, including FTP and telnet), disable public Internet access, require HTTPS for the web interface (if you are using it), etc.
can you please go troll somewhere else?
How does the development cycle work? With plain JS I load up my html page in browser (chrome) and head to the console to check for errors in the JS. Then I do user testing.

Can type-script be debugged by a browser on a source code level - ie not on a transpiled level? If not, I am not sure if it's worth it. And I say that as someone who is a huge fan of explicit optional typing.