skysight-inc/HackerNews huggingface dataset:
> Please explain, what exactly are you doing that the standard look at the charge curve and compare with battery voltage and use known charge current and time won't solve?

If only it were that simple. In the real world, when you have a load that’s drawing from the battery, the voltage across the terminals will be different from the voltage on an open circuit for the same battery at the “battery level” (state of charge is the commonly used term)

To make matters worse, the life of the battery remaining at any point depends upon the current drawn from it. If you were to draw a smaller current, it’ll last longer - and this is purely because batteries are weird and has nothing to do with the charge curve. For something like a LED flashlight that always draws the same current - this isn’t a problem. A modern smartphone on the other hand is essentially unpredictable.

Then you have the numerical problem with integrating current over time - the errors add up over time too! Now you have to measure the current out of the battery with a high sampling rate with a great adc - it’s a massive power draw. Most modern fuel gauge ICs are moving away from measuring current because of all the trouble with cumulative errors.

I can go on for a while longer, but I think you get the picture.

> Accubattery seems to give a pretty good approximation using just this information at least, would definitely be sufficient for detecting cells that were fraudulent by more than 10-20%

Accubattery can afford to monitor multiple charge and discharge cycles before converging on a battery model. A smartphone needs to know what battery it has when you plug in your newly replaced battery to charge it for the very first time to ensure it doesn’t become a fire or safety hazard. Similar concerns with discharging a battery. Look up the exploding Samsung Galaxy note 7 for an example of how serious this can be.

> As long as the chemistry is known it should hold true, sure, you'll get some variation based on load but you should be able to account for that pretty with some testing or careful probing at minimal current draw.

If only it were this easy. I’ve had battery vendors - the people who make this stuff - give me specs on charging that battery that would kill the battery in 250 charge cycles.

It’s a very bizarre field to work in - many times, you can get away with very crude approximations and no one can tell the difference. But once in a while, a very very tiny deviation from the spec will give you exploding devices and have your product be announced as a safety hazard in every flight before take off (yay! free publicity...)

The challenge is that you never know when you can get away with something and when 1 in a million devices will explode on a tech journalist/reporter/reviewer.

With batteries, esp with Lithium Ion cells, nobody is going to take chances with approximations.
Many major cities have a universal dispatch number you can call and you get the next available cab from any available company.

Chicago did not have this, and when Uber offered UberTaxi it really was the best of both worlds, for a small surcharge on the normal cab fare.
> Conditionals inside the loop would blow your performance

But why do you need conditionals? It's just bit operations...
It's actually a better thing to have a template to start with and then customise it to reflect what you want it to show.
"But the risk posed by the issue — that the wing could become dislodged from the aircraft — was so serious that the Air Force decided to move forward with inspections for all planes that could potentially be impacted."

I would think that's a minimum standard, not a pretty high one. Having wings fall off is embarrassing, expensive, deadly, and nobody wants to testify before Congress as to why they let that happen.
On these marketplaces, how do people demonstrate PoC without giving away the intellectual property? Or is it unproven and completely reputation based
motherfuckingwebsite has google analytics. kind of surprising imo.
Great! Maybe now I can get un-shadowbanned on HN?
WhatsApp has shown that you can actually build large-scale system infrastructures very efficiently. And they had global service, Uber could profit from sharding as you suggest.
Essential M
I suppose humidity can also cause water damage. Humidity is basically caused by high levels of water moisture in the air. Which water moisture, as we know, moves in and out of liquid form as it condenses and evaporates, sometimes unnoticed in places we can’t see.

Seems unfortunate that some environments are harmful to electronics, but what would you have them do, guarantee the product in absolutely any conditions?
I think in this case "larger profit" doesn't mean profitable, it means "less magnitude of negative profit".
I'm confused about people mentioning "higher quality product" and others sharing stories about riding in cars with big holes in the floor, drivers peeing in bottles, etc.

Are those stories very uncommon, or does the cab market in SF etc. manage to be even less quality?

Round here, a cab is at worst an 8 year old Toyota Prius, at best a new Mercedes or a Tesla, and the cab companies all have apps that let you book rides and see where the car picking you up is right now.
Why would you expect a webdev to do a designer's job?
Pedestrian zones here in Lübeck, Germany: Delivery trucks are allowed between 6 and 8 in the morning.
Wouldn't the same apply to people buying second-hand cars?

That is, not all third-party car parts are bad, but as a consumer you would want to be aware of what's in your car, yes?
You could get there with a tourist visa and stay? After the visa has expired, I guess they'd let you back into Norway mainland before potentially kicking you out again, perhaps with a large medical bill.

Edit: The article mentions for example "significant Thai and Filipino population"; I assume not all would have a right of residence in Norway.
Mud Maker: The Man Behind MLB’s Essential Secret Sauce
I am playing around with Clojure/ring for the backend. I am not happy about using node/ror/php on the backend.
> Undergrad is job prep for most people and colleges are doing a disservice by pretending it's not.

This is a completely inverted way to frame it. Higher education shouldn't be perverted by the whims of the labor market. Universities don't need to change their curriculums. Companies need to change their hiring standards.
Good mud needs to mature. It needs to be cleansed. (“Clean mud,” he’ll have you know, is not a contradiction in terms.)
> R&D is the life blood of a tech company.

Uber is not a tech company. It’s a taxi-company with a fancy app.

There’s literally no reason their operating expenses should be this big.
I believe Jaguar will convert an E-type for you (completely reversible) if you happen to own an original. It's only a pipe dream for me, but it's nice to know that as we stop using ICE we don't have to throw away all the beautiful cars whose charm is just as much in their looks as in their performance.
Pretty sure Android does. TikTok knew my phone number before I gave it to them.
You could buy robot spiders forever at this point, e.g. [1]. The drawing demo in the video looks neat though.

[1] https://www.tested.com/tech/459288-inside-adam-savages-cave-... (2013)
In this day and age of limitless* storage and OS's that do a great job of keeping themselves "clean", what's the point of software like CCleaner?

Is it just the momentum from previous generations of Windows keeping its use alive?

While bundling crapware isn't anything new, it amazes me that it is worth essentially destroying the reputation of a company over. Piriform also makes Speccy, and I've used it and recommended it to friends to get info about their system. Will definitely not be doing that anymore.
Chrome is not open source. Safari is not open source. I haven't checked Edge but is it actually open source?

The only major open source browser remains Firefox.
It doesn’t!

You can read here on HN how their large IT staff spends most of its time migrating back and forth between MySQL and Postgres.
Well you'd usually need to work to get access to a room to look through the window, so that's not a given :)

I think sending a parcel like in this article, or leaving a USB stick lying around is often an easier task. Even if you window-surf some credentials you most likely can't use them unless you're on the internal network already. At least at my place of work you'd need a VPN token to make any use of my details unless you have physical access to plug in a cable.
Safari, Edge, Chrome are NOT open source.

Edit
Removed suprious '?'
We Found Archie Carter
Perhaps unrelated to the topic of batteries, but I wanted to share my experience at an Apple store from two days ago. I’m on a business trip to Sydney, at work I accidentally spilled water on my MacBook Pro and the thing went dark. I went to the Apple store, they popped it open and found too much water damage so they couldn’t repair it. Guess what, they replaced the whole laptop with a brand new one box and everything on the spot. They didn’t even charge me the AppleCare fee.

Apple’s customer service is second to none. If you buy their products, you should buy AppleCare too and not worry about shady repair shops.
Can someone correct me, if I'm wrong, but statistics doesn't allow Turing-complete models, right? Machine learning certainly allows that (for example an RNN).
> ...EpiPen’s original cost of around $50 per injector in 2007. That year, Mylan bought the rights to EpiPen and then raised the price more than 400% in the years that followed. The authorized generic is essentially triple the price of what two injectors used to cost.

This is outrageous. Nothing new, I know, but every time I read about this I'm outraged. I trully think there should be a law on maximum margins at least for life saving drugs, or some kind of regulations preventing this phenomenon.
This is something I've wished for for a while. There are many developers out there whom I'm sure would love people to trust them and that are trustworthy. But I feel we now live in an age of "trust, but verify" and there's no great way to verify privacy claims even if we really want to believe something is benign.

In some cases it may even be unintentional leaks if someone isn't aware of an issue.
Agreed! If I were a founder and learned that someone in HR was using such arbitrary judgement, they'd be the one looking for a new job. By their standard they wouldn't hire someone like Fabrice Bellard: https://bellard.org/
Converting your gas car to electric
That is basically the middle of London. I expect hundreds of thousands of people pass through the area in the screenshot every day. The density of people there is so high that the location really can't be linked to anyone specific. Plus it is real time location so you can't distinguish if this is a person's home, someone at work, someone checking the app while sitting on a bus, etc. This location data would be much more dangerous if it was showing the manually entered addresses of users, a screenshot of an area with a low density of people, or if you had constant access and could identify patterns of locations to identify individuals.
Warning! Possibly unpopular opinion ahead: I want them to monitor Facebook and Instagram for domestic threats in real time... I would really like that so please do, and when you detect them, without abusing anyone's rights, please go and arrest them quickly ( on legitimate charges with supporting evidence of course ) BEFORE they shoot up churches, malls and walmarts.
But if autonomous vehicles are ever a thing, where does Uber actually add value? Wouldn’t Tesla etc just “cut out the middleman” and capture that value themselves?

Also Uber as a company has zero experience of owning and maintaining a fleet of vehicles. They’ve entirely sidestepped that problem. What evidence is there they can do it better than anyone who does do it, like say Hertz?
Part of my concern is: judging a resume is fine, since an applicant is explicitly submitting this. But rejecting based on things done for fun and publicly shown seems 'unfair'. (It's 'unfair' since I'll be judged right now for crap I haven't glanced at for 5 years or whatever, and haven't maintained to the best of my professional ability).

But part of why I consider it arbitrary is it's easy to come up with contradictory criteria, each of which might make sense. (-1 for using latest technology on a personal website, since it shows they buy into hype/resume-driven-development. -1 for not using the latest technology, since it shows they don't know the tools of the trade). I think this bleeds from trying to judge someone's professional capabilities as part of a team, from something produced in their spare time.
Yes it may not eliminate them but if they hold on too long, someone else may find the same vulnerability and get the reward first. So holding on carries some risk of loss... not just loss of the money, if they really don’t care about that, but also they risk losing the exploit anyway despite holding on.
What’s with the strikethroughs on all of the hypertext? Stop trying to reinvent underline. Just use underline.
The hamburger menu opens automatically on mobile, which is a little jarring as it blocks all content.
https://www.huffpost.com/entry/beverly-hills-back-on-the_b_5...

Anecdote: my friend from Trinidad who has an affinity for Caucasian women told me a story of harassment in Beverly Hills. He and a lady friend were in the woman's Mercedes and the police pulled them over and kept asking the woman if she was "under duress".
There are font nerds just like there are nerds for a million other things. Their passion is fonts, so yes, they will spend that amount of time on it.
Expecting a dev to reuse code for a personal website is not reasonable.

A personal website is not a software development project. It is not something to use to evaluate a developers technical skills. When you have a real project on the line, then you will see the real skills come out.

For a personal website, I’d expect a developer to give a fuck enough to develop something on his own.
Even with the mesh the number of hops is variable based on which core is requesting and the physical geometry of the chip. The cores right beside the IMC will have the lowest latency. See this diagram: https://en.wikichip.org/wiki/intel/mesh_interconnect_archite...

The main improvement is the max number of hops is log(n) instead N/2.
Google's Successful Method – Steps to Successfully Manage Your Goals with OKRs
If you really want to feel oldschool, try writing crosses through your zeroes as well (to distinguish them from O's).
Ask HN: What are micro problems in Biotech?
I'm new to HN and I loved the idea that there are so many hackers over here. Enough with the thanks, I really want to know how the biotech industry is going. What I see on the internet, and the book "Zero to One", it's pretty much way opposite to the tech industry.
There are huge problems like anti-aging, curing cancer, genetic diseases, and etc. But are there any problems in the lab? Like any reason why the experiments can be slow, hard to reverse engineer biology, and etc.
I know this question is pretty vague and hard to understand, but I hope to find some discussions about the problems in biotech.
Famous companies that started out as side hustles
I'm working on fixing that!
Showcasing my personal website here: [link redacted]

I’m going for a very minimalistic look and it’s still a work in progress, but I’m aiming to keep load times fast, minimal JS, etc.

Features I’m thinking of adding - a links page showcasing interesting links on the internet

Also checkout my 404 page :)
Yes! You made my point, but much clearer. You want employees who can and will use every available resource, instead of making everything from scratch.
I do, when writing by hand (and only in the job), but I'm not feeling about the crossed 0 in a computer font the same way as about the broken pipe.
Isn't it much simpler and cheaper for apple to buy the same exploit through the same brokers anonymously?
The SUID ones are for cases like "something you have exploited gives you the opportunity to execute one command as root; how can you leverage that for persistent access?". So the idea is you make it SUID yourself, which gives you a partial way back in later.
In the last month downvotes seem to have made a break with reality. I used to argue vehemently that one could learn from them; now I'm not so sure...
Another place where border checks will presumably be implemented if/when Brexit takes effect.
I think they're referring to the various Mental Health as an employee benefit. Quirk isn't really that; we don't have any plans to do b2b stuff. But I admire the folks that do!

That said, CBT is extremely helpful in personal interactions and generally getting along better with other people. It teaches you to not mind-read and generally assume the best of other people.

For example, let's say you're a new engineer and you just made a big mistake like leaking a secret key online. In your inexperience, you don't realize that this is something that happens all the time.

Instead, you think "oh no, what if my manager finds out." So you avoid conversations and act defensively. Eventually your manager DOES find out and the whole situation goes from an innocuous key reset to a much bigger deal.

But the initial problem was caused by the catastrophizing that happened when the new engineer thought "oh no, what if my manager finds out." They likely assumed they might be fired or disciplined; which may be closer to the truth now that they've kept it a secret.

This happens all the time; it's a self-fulfilling prophecy that happens when we don't check-in with our thoughts. It's really easy to believe the "distorted" view of what we're thinking rather than a more logical perspective.

Quirk's advantage here is you can immediately pull out your phone and check this thought. You know you're feeling stressed or scared, so that's your cue to pull out Quirk. Then, it can guide you through the process of logically challenging this. It's likely that by the end of it, you'll have given yourself enough perspective that you don't feel so afraid.

So you don't keep it a secret, you tell your manager, it's an immediate easy fix and you reinforce a healthy trust for your team and the folks you work with.
If you are writing a code editor you need to watch coders other than yourself.

Enter adding new lines at the end of a line for instance. Have you never broken a compound conditional into a nested block? How about line wrapping three arguments because you’re about to add a fourth?
What happened in Barcelona? I read that they are unwinding the superblocks (large, largely car-free zones). Is that correct? I t thought it had gone well.
Wish Victoria would do the same, but they're very pro-car here.
Yeah. I'll give you that. It's the same sort of "dirty" as a paycheck from Palantir or Facebook...
If there's anybody that actually thinks that conspiratorial, consider two mutually exclusive options, one of which must be true:

1) Companies collecting massive amounts of data will only use the data in a lawful and ethical fashion, even in cases where they perceive there to be a potential for significant gain in misuse.

2) Companies collecting massive amounts of data will, sooner or later, use that data in an unlawful or unethical fashion to exploit others in a way that stands to potentially significantly boost their power/influence/wealth.

I'm going a far step above beyond and suggesting the exploitation will come, not from leaks, but directly from the data harvesting companies. The reason is simple. Again, the two scenarios above are mutually exclusive and one must be true. So what would you place the probability weighting as? I think most of everybody would agree that the probability of #2 is very near 100%. It's also possible that it is literally 100%, in that it has already happened but we don't know about it. Truly effective blackmail would obviously not be headline news.
Well incorrectly according to whom? People are well aware when something is wrong. They just love the money. A training course won't solve that problem. Brainwashing one will though.
This is a more nuanced version of the "silence is violence" position. You're either an activist or you're part of the problem. You're either with us or against us.

It's a position that makes total sense and seems unassailably true to...well, people that are tuned in politically. People that don't care or don't connect the dots between politics and their actual life are pretty dang apolitical.
Assume for sake of argument that climate change is catastrophic and that ExxonMobil knew as much. We’re to believe that the real victims here are ExxonMobil’s investors?
Why wouldn't they just send a fixed time? Why would anyone want to use random kids as their oracle?
Wow great! The spider look cool.
React TypeScript Todo Example 2019
I've never used Erlang professionally, I'm a Clojure person, but I know that Emacs has a superb support for Erlang. Late Joe Armstrong himself was a well-known Emacsen.
> Speaking from the perspective of someone looking to hire

Doesn't it friend in what you're hiring for? I'm not sure a backend developer should be expected to craft together a great website.

And even if you're hiring for the front end, I've found that being proficient at a11y or building React apps or designing elegant CSS doesn't really predict your ability to execute on a professional profile site, which is essentially a marketing tool.

Disclaimer: I'm working on a tool for developers [1] in this vein.

[1] https://fizbuz.com
Hy is what got me into lisp dialects and parted the clouds on the bliss of simplicity of the syntax and made me see that I had been living like a savage with C-style languages and OO slavery.

Give it a try! It is really fun and significantly lowers the barrier off entry to the land of lisp!
I know you’re joking but I think it’s a big problem in a lot of these very private apps that don’t get a lot of security attention before they’re released. Lovense, for example, is a pretty popular smart toy brand that has a bit of a history of security & privacy issues. Both device hacking[1] and sketchy data collection[2].

I don’t know if it’s because they’re less secure than their competitors or because they’re a bigger brand so their security is looked at more often. I suspect they have terrible security but are probably a lot more secure than their smaller competitors.

[1] https://www.newsweek.com/hacked-butt-plug-controlled-anywher...

[2] https://www.helpnetsecurity.com/2017/11/13/lovense-bug/
I've been feeling this way for years. Web browsers were meant to show mostly static pages, not pages trying to dance around as full blown programs.
Screen Grab API – Screenshot or PDF of Web Pages
Is this a marketing strategy aka https://en.wikipedia.org/wiki/Streisand_effect to counter Android https://www.bloomberg.com/graphics/2019-android-global-smart... or https://en.wikipedia.org/wiki/Illusory_superiority
I'm not sure atypical is the correct word here. This was a problem when I was in the Air Force 13 years ago...
Since this was about devices and ad-blocking, I expected the Pi-hole to make an appearance. But alas, the author used Brave browser.

https://github.com/pi-hole/pi-hole/blob/master/README.md
This is actually pretty awesome. I have already converted my fat tire bike into electric. Love riding it. Thinking about building a custom all-electric cafe racer. Once I'm done with that I'll be trying to convert my Toyota ee90 into an all-electric daily rider.
That's not what grandparent is saying. The argument is that instead of saying "we're delaying Huawei licenses in response to tariffs" they keep up the charade that it's something to do with security.

I think the reason for this might have to do with denying the thing in front of a wto panel.
Or even older school, use a capitol P for a question mark.

Or if you were fancy, a P with a / through it.
The value of Real-Time postings in ERP
Critical U.S. Election Systems Left Exposed Online Despite Official Denials