skysight-inc/HackerNews huggingface dataset:
An Apple battery expert told how he thinks it should be done. Use the battery down to about 20%. Charge it back to about 80%. Once every few months (I think he said around three months), charge it to 100%, drain it completely to where the phone shuts down, and charge it back to 100%. He said this "informs" the system with the battery's performance limits. Then, go back to the 20% to 80% pattern.
That so much a loaded partisan view of the world...

The citizens are capitalists: they are (almost) all looking to put their saving where the interest rate is the highest, they would (almost) all protect their private property and seek to increase their own capital, and is anyone seriously considering that the government should run the means of production?

Workers protection need some balance: pushed to the extreme it leads to competitive loss. The "general welfare" of all citizens does not means you have to push the cursor all the way: France switched to 35h weekly legal a few years back, but why not 30h? Or 20h? That would surely improve the happiness of workers! What about PTO? Legally entitled to 5 weeks currently in France, why not double it? Etc...
You'd account for the debt, as well as the value of the property.

Liabilites:
$800k loan

Assets:
$1M property
$0 cash

Net worth: $200k
I also found it fun to learn a few basics on a recent month-long trip, but the US State Department has rankings of language difficulty based on hours of instructions required for foreign service employees, amd puts Japanese in the most difficult category, with a note that it is the most difficult within that category[1]. Mastering it to a diplomatic level seems incredibly time consuming for native English speakers.

[1] https://en.m.wikibooks.org/wiki/Wikibooks:Language_Learning_...
> Even if they let me use a thousand characters that's just going to get hashed to the same length anyway, right?

That assumes they're not storing your password in a VARCHAR(16) field, which is what I always assume when I see a max password length restriction like this. Or perhaps they're using the ridiculous LANMan hash algorithm [1].

[1]: https://en.wikipedia.org/wiki/LAN_Manager#LM_hash_details
Raising Rebel Girls
Using drones to perform pollination would not be too difficult I wouldn't think...
You can pretty much check it yourself. Enable dnt, visit a site, and see if tracking pixels fire (in ghostery). Disable dnt and do the same.

I'd bet nobody respects dnt like that, but you can still check. Obviously if they want to be shady they can get around this too.
I'm wondering if Levandowski and Kalanick are meeting clandestinely at night for long walks and discussing how they're going to orchestrate this.

Kalanick "Hey Anthony, here's how it's going to go down. We're going to ask you to return the documents. But, don't do that. Continue with our strategy of taking the 5th for everything. We'll then fire you.

Levandowski "You're going to fire me after all I've done for you?"

Kalanick "Yeah, don't worry, though. When all of this dies down we'll hire you back on as a consultant and double your salary to show our appreciation for not ratting on us."

Levandowski "Sounds good, boss. Same time tomorrow?"

Kalanick "Naw, let's ice these walks for a while to throw those dogs off of our scent"
Saw this rant about Fuchsia on reddit that appears on the surface to make some good points: https://www.reddit.com/r/programming/comments/6a026o/googles... Not my area of expertise for sure though.

Any kernel dev types here had a chance to look at Fuchsia? Is the criticism warranted?

Update: Fixed link to point at the right comment.

Edit: Should have mentioned the tone is a bit over the top. More interested in the actual points raised though.
It loads all at once, part of the bootstrap does a check of all the mvc modules and templates.

I'm not 100 percent sure if third party modules for background tasks get loaded and the same time but they aren't part of my line of code count.
Sexual education, especially about birth control. Make birth control affordable. Make adoption mainstream/ preferred to having your own kids.

I agree that we have an overpopulation issue, we don't have the resources to support this many people currently. But calling people parasites is probably getting you downvoted.
Yeah this describes my habits as well. I used to think that reddit served a similar, though watered-down purpose that HN does. I've since accepted that Reddit is more entertainment for me, much as FB is. The comments section on popular submissions can be unbearable and it has especially been alienating with the Trump vs. Liberal hate/name-calling being spewed back and forth.

I think multi-reddits can be great, as you can isolate yourself from the mess of r/all, but unfortunately the comments sections on the subreddits I'm interested in are nowhere near parity with HN. Furthermore, the subreddits carry a lot of noise submissions that I feel aren't as strongly represented on the the front pages of HN.

Oddly, I have found YouTube has taken an increasingly large portion of my internet time. There are a ton of really informative, good quality education videos being pushed onto YT today, for example 3Blue1Brown's math content comes to mind [0]. However, the comments sections for most videos is maybe only millimeters above being worthless at best, and detracting on average.

[0] https://www.youtube.com/results?search_query=3blue1brown
I use the internet for that. (Seriously, 'to acquire information' is just waaaay too broad for meaningful response.)
You submit this repeatedly. I've replied in depth in the past, and you've been given the same advice over and over again - factorise a large number that's known to be hard,
and people will pay attention.

But currently this appears to be manifest nonsense.

Previous comments:

https://news.ycombinator.com/item?id=9990371

I have no idea who has upvoted this and your other submissions. I suspect sock-puppets.
Nope, you're not the only one.
Since site is down:

https://webcache.googleusercontent.com/search?q=cache:Ej2flu...
Lots of people completely take the material blessings of capitalism for granted and totally believe capitalism is evil. It rarely dawns on them that their high quality of life and the luxury to fret about things like social good (instead of survival) is a direct result of so called capitalism.
HN

Reddit

The Guardian

Twitter

The Economist (via Facebook to circumvent their 3 articles limit)

Facebook
For news/current events, Hacker News. I quit reddit a while ago, and most of the good stuff on Reddit appears elsewhere after a couple days.

For newsletters, I really enjoy Ruby Weekly and Javascript Weekly by Peter Cooper. There is always something new to read in Ruby Weekly. I also really like the MIT Technology Review. It's a daily email that is really well written with a bunch of insightful links.

Youtube channels is a hodgepodge of whatever I am currently into. In a similar vein, I am a big fan of GoRails.

For strict information gathering, I recently got an Audible subscription and love it. I listen to music while working, but Audible I save for while I'm commuting.

Looking at ones i frequent, I have noticed a pattern to pay for services I use. I am also a privacy badger/uBlock user, but I still prefer to pay for services if it means no ads or a better experience.
I wouldn't underestimate the prosecution's leverage here:
14,000 counts of even a relatively minor crime like "theft of company resources" could add up to a lot of time.
>If you gave 30% to an app store

Valve's cut.

>20% for marketing

No marketing is being done for items aside from announcing them in patch notes.

>25% for someone to vet your items don't break the game

That is not something Valve does, considering the amount of items that clip through models after release. Notwithstanding the fact that items they select are either from modelers that they're already in contact with, or items that were voted up by the community and therefore, tried.

This is exactly where the Polygon article is right. Steam is in a situation of almost monopoly on the market, and you have absolutely zero chances of ever being able to negotiate those rates.
Even the mafia takes less as a protection fee, and they do more work than Valve when it comes to their customers.
> I don't see anything wrong with worker protections

As long as people can opt-out then it's fine. Otherwise I think there is something wrong with it: if two consenting adults want to send work emails to each other after 5pm what business is that of yours?
Deadlines, deliverables, and results

Deadlines being flexible roadmap deadlines of course
https://github.com/uwplse/verdi is a good example of this (it uses coq and extractions along with minimal glue).
This is the main reason I won't leave Telegram. I don't need perfect privacy, I've never seen any reports of Telegram actually being breached, and I use four different devices over the course of my day. Each one has a fully functioning Telegram client.
Synthesized musical instruments never sound quite right (the best I've heard are the vienna symphonic library:
https://www.vsl.co.at/en). While that doesn't appear to be the goal of this specific work, some of the wavenet approaches seem like they could be used towards that end. Even if this requires rendering the audio for an instrument slower than real time it would be a nice achievement if it can improve the quality. (Studio musician jobs I think are safe for quite a while still.)
> Scala adds like 500kb to an Android app

This is a lie. Please stop spreading these lies about Scala requiring a huge runtime. Scala runtime adds about 30 kB, which is nothing in 2017.

> the tooling support is also better.

Both use the same IDE from Jetbrains and both are officially supported. Hard to tell which one is really better, but Kotlin support has more issues in its bug tracker, despite being less popular :P

> (nulls) it is very well done.

It is not. It makes the type system more complex, and you can't abstract over optionals and other collection types. You also can't make your own flavor of optional-kinds, like Either or Try that would behave similar to the builtin nullability feature.

The biggest problem with builtin features is that you can't make your own slightly different ones. You're at mercy of one company controlling the language. With a smaller language + libraries, you can always fork a library and do modifications.
Considering PHP7, Java8/Kotlin, Go, C++17, Python3, Javascript/ES6 etc these days, how will Rudy be doing in the long run? any reason for new comers to pick up Ruby instead of the mentioned list? I just started using PHP myself.
Why the Left Refuses to Talk About Venezuela
He is supposedly in fear of being extradited to the US and then stuck in a hole to rot. On paper Guantanamo is 'not how criminal investigations are done' either.
I have a Safari bookmarks folder that I open in tabs every morning with these sites:

NOAA weather and Radar, AP News, Reuters News, Hacker News, Science Bulletin, Alltop Raspberry Pi, Facebook, and Willy n Ethel.

Sometimes I'll also take a look at Google News if I have time.

I have a pretty small and awesome group of friends on FB that share a lot of great stuff from a wide variety of sources.
See https://clojure.org/about/lisp for the relationship between clojure and other lisps.

Variable capture is a problem with lisp macros that lisp and clojure programmers have tools and strategies to manage.

A number or languages use hygienic macros to avoid the variable capture problem: Scheme, Racket, Dylan, Elixir, Rust, Julia & Perl 6 (which has hygienic AND unhygienic macros)

Racket has more advanced macro facilities specifically aimed at making new languages languages and DSLs. Syntax-parse is very interesting in how it addresses the problem of error reporting with macros.
Bash and Powershell are shells, they are command languages, and not programming languages like C#. That distinction, while in many ways subtle with tons of overlap, is the primary factor in shell syntax being crappy as a "language" -- it's because command evaluation is (necessarily) prioritized over language design. There is a good reason that no shells exist that have a "better designed language." As well as good reasons that no well designed programming language makes a good shell. They solve different problems, and I don't think C# would make a good command shell without significant syntax compromises.
No, it's absolute truth. Workers in generally are simply incapable of owning means of production beyond very small businesses, and their participation of the market as stockholders is minimal and comes with near-zero ability to influence the companies for which they might be shareholders.

Capital should be at the service of society, not the other way around. We know that we can have perfectly functional societies where wealth is distributed more evenly and less work is done at the lower end of the pyramid at essentially no disadvantages in quality of life for anyone involved.
Naming closures or functions absolutely is a good substitute for a large class of comments. When you write a comment as a function name, that comment gets maintained when the code changes. It also encourages modularizing your code- often when you write a comment it's a sign that your code is trying to operate conceptually on more than one level and it would be more understandable to separate those levels.

I wouldn't say comments are an antipattern but they are a code smell and should be used sparingly and only where the same explanation can't be given through function/variable naming or refactoring.
> As a very early adopter of Twitter, I have to say I thought this platform had a lot of promise at one time.

Given that is was a centralized, proprietary service from day one, so it necessarily would follow the interests of the owners, and that also has a strong network effect that locks people in ... how did you come to that wild conclusion?
@aninhumer I guess "making" money and income are somehow different in your book.

You're sighting a lot of conventional wisdom that I've heard before. You won't find many success stories that followed your advise.

If you ever talk to people who actually live off their wealth don't be suprized if you find that they're not sitting back on the SP500 with a 4% drawdown.

They're most likely active investors working hard (not physically, as none of us do here anyway) to make money with money.

Edit: this was in response to a post that has been deleted.
If people can opt out, then this gives the opportunity for the business owner to make opting out a requirement to get the job. Then you may as well not have the protection at all. You can't opt out of:

- minimum wages

- OSHA

- discrimination protection

- etc.

There's no special reason why you should be able to opt out of this work hour regulation. Now if the regulation is overall a bad idea, that's a separate question.
Natural languages are full of redundancy, which makes them easier to understand because we can do more accurate error correction. For example, the phonotactics of a language define which sounds may appear in conjunction with which other sounds; if someone says something that appears to contradict these rules, whether because they mispronounced it or because you misheard it, you have more ability to infer what they meant than if the error were a valid-but-different utterance.

It works the same for programming languages—when designing a notation, you need to consider how you’re going to produce useful error messages when people make common errors, and the simplest way to do that is to add a bit of redundancy so you can infer the programmer’s intent.

For example, I’m working on a dataflow-type language where the syntax for introducing local variables is evocative of a labelled edge in a graph; the original syntax to introduce three variables was this:

-> x y z;

But the problem was that people would forget the semicolon, so this notation would “run away” and continue to gobble up any following identifiers:

// Whoops, accidentally declared 6 variables
-> x y z
foo bar baz
{ … }

The solution? Add commas between the identifiers:

-> x, y, z;

Now if someone forgets a semicolon:

-> x, y, z
foo bar baz
{ … }

The compiler can say “I expected a comma or a semicolon, not this identifier ‘foo’” and additionally use the newline as a hint to offer “I suggest putting a semicolon after ‘z’”.

Likewise, in C-style languages you have to “redundantly” specify the number of arguments to each function at each call site using commas:

foo(1, 2, 3)

In Haskell, for example, that would be written like so:

foo 1 2 3

I find this prettier—it’s less redundant and confers other advantages. But it also suffers from the drawback that now the compiler has to figure out when you have an argument-count mismatch using the types rather than the syntax, making it harder to produce good error messages. The commas are an extra hint to the compiler about how many arguments you intended to pass.
Nope. Akamai DSA for us was 50% the cost of CloudFlare Enterprise.

You just need to be good at negotiating.
Right - that's why I said nothing but methods and nested classes - expressions in method bodies would be disallowed. And tracing and method added hooks and so on, yes.

You could say it was a separate language .rb-module or something, to make it formal.
Yet. But I agree that this talk of a deal sounds rather baseless. Sounds more like hollywood than real life.
This isn't a criticism of specifically you per se; and I'm not the parent post.

> why don't you leave?

I think there are 2 main answers that cover most people:

- Difficulty transitioning to new job; e.g. can't afford to leave, actively trying to leave, aren't in a competitive position.

As someone who is broke and actively trying to skill up; often frustrated when people with better skills, resources or opportunities imply that it's easy and critically that even if you ARE leaving it's a process not simply a decision.

- People love their job; don't like this aspect. Couple mates work at SpaceX; they are constantly dealing with email and work overflow. They complain about it-- totally fair IMO; but ultimately they enjoy the work to much to leave.
Totally agree. This is a field I'd like to explore and see where I can help improving it.

Also, everything that has to do with food is tangible and understandable by every single person in this world.
You are 100% wrong.
I would like to add another choice quotation from that discussion.

"It is common to see early GC-based runtime implementations that do not move objects around succumb to an architectural "hole" that creates a reliance on that fact early in the maturity cycles. This usually happens by allowing native code extensions to assume object addresses are fixed (i.e. that objects will not move during their lifetime) and getting stuck with that "assumed quality" in the long run due to practical compatibility needs. From what I can tell, it is not too late for Go to avoid this problem."

Previously I was not concerned about the long-term outlook for Go's GC. It's low pause (with some pathological cases) and currently very inefficient. The long term plan had previously mentioned moving to a generational/moving collector in the future. Gil's endorsement was cheering.

But, Ian's comments on non-moving collector's on the Golang-nuts mailing list were alarming (and seemed technically confused). Time will tell.
I wouldn't know but I'd venture that makes sense... Thanks for the perspective.
>Atom (electron)

50% CPU by staying idle.

>Discord (electron)

Does better, only uses one full core, 25% CPU!

> Spotify (electron-like)

Actually one that doesn't decide my cores belong to it, thankfully.

>webkit derivatives

Steam notwithstanding because only parts of it are webkit and is uses CEF, these are not wrappers around chrome repurposed.

>I run all of this on a 2016 Retina MacBook. The 8GB RAM, 1.2GHz dual core Intel M5, passively cooled ultrabook.

It's almost as if you were running on the same hardware as these people develop it on and care about when they dirnk their lattes in a Starbucks.
Where should be the line drawn on what two consenting adults agree to? Also, is "consent" and "adult" actually well defined?
Moreover, certain contracts can and do stipulate on-call schedules.

This article is rather absurd.
5.times { print "Odelay!" }
I don't see the rant; that's just the link to the whole discussion. Did you mean to link to a particular comment?

I haven't followed Fuchsia that closely, but I was under the impression that the team consisted of some all-star kernel developers; former BeOS people for example?
> As long as people can opt-out then it's fine.

Not quite. If people can opt-out, then the ones that have little leverage
against their (potential) employer -- precisely the ones that need this
protection the most -- will be screwed over.
Nice work Burke! I saw the title, and I immediately thought that has to be Burke. Sure enough... :)
> why wouldn't Levandowski now walk into the justice department

Has Trump not gotten around to firing the US attorneys who were investigating his boy Travis?
It's actually トイレ which is toire in romaji and is pronounced toileh roughly in English. I actually never had trouble with it personally. Although I struggle with other katakana words...
It is an immensely valuable skill to have, that is usually not learned early.
Disclaimer: I'm a PM who works on PowerShell at Microsoft

There's a bunch of 3rd-party modules out there that do a great job of offering parallelism[1][2][3], and we also support the notion of "PowerShell Jobs"[4] (which one or two of those third-party implementations actually build on to achieve what they're doing).

However, we decided that strong parallelism support is important enough to build into the language, so we're mulling on a first-party design.

If you're interested, we've got an RFC out where we're looking for feedback on the parallelism/concurrency design.[5]

[1]: https://www.powershellgallery.com/packages/PSParallel/

[2]: https://www.powershellgallery.com/packages/SplitPipeline

[3]: https://github.com/RamblingCookieMonster/Invoke-Parallel

[4]: https://msdn.microsoft.com/en-us/powershell/reference/5.1/mi...

[5]: https://github.com/PowerShell/PowerShell-RFC/issues/85
First class typescript support instead of having to rely on https://github.com/Microsoft/TypeScript-React-Starter
My thought process:

Inequality causes capitalism. Liberty allows inequality. Those "negative outcomes" come from inequality, not capitalism. Fighting capitalism is a workaround. It's an appealing workaround because the "underlying system" is centralized, and inequality is not.
This is one of the reasons why I'm actually quite bullish on handheld VR/AR. It has none of the optical challenges of a headset. You lose one hand, and give up some immersion, but in exchange you get all of the other benefits of VR/AR without any of the optical challenges and lots more performance headroom.

I think Google is on the right path with Tango-first. Didn't used to think so.
"I can think of no more "Rich Get Richer" law than the accredited investor law [1]. It literally says: if you aren't already rich, you don't have access to this entire set of opportunities that could make you rich."

1. I remember trying to buy FB IPO stock.

2. Only the best/Richest Investors got it those first few day, because it was a hot IPO, and retail investment houses were doling it out to their best clients.

3. I rember thinking this is not fair.

4. A few days later--glad. Now--sad.

5. I believe the problem is it should be illegial for any Investment firm to cherry pick whom gets a shot at an IPO.

6. If you're stupid enough to invest in most start-ups, so be it. Let people invest in what they want; just don't sell those blocks of stock to certain people. Investing should be a level playing field, and it's not.

7. Oh this doesn't happen? Too lazy to look up examples, but it does.

8. I truly believe this bull market will only crash when the investment community succeeds in bringing back the Retail Investor.