skysight-inc/HackerNews huggingface dataset:
> It's possible that the complexity growth curve has rounded off and over the next five years things will settle down and mature (fingers crossed).

I really hope so.
Show HN: A TypeScript Playground for RX JS
The magnetic attachment and charging uses the vertical flat sides on the 2018 iPad Pro design, and the non-pro versions still have rounded edges. Maybe they could have stuffed the charging/pairing hardware into the front bezels though?
More generally, one should be destructuring object properties (since he later did that anyways) at the top of the function. It's no more typing, but isolates property usage to one spot. Then pass them into the dependency array.

Seems very convoluted to do that inside the useEffect, just to show how "it doesn't work".

Especially because often a re-run of the effect will be desirable when some of the props change, not always the whole bag..
You pretty much throw it on the charger when you put down your wallet when getting home. I put it down when I get home, wear it to sleep, charge it again when I wake up and shower, then wear it all day. It's a few seconds added to my routine.
Sleep tracking is a headline feature of OS6. Clearly the marketing department... didn't talk to the other part of the marketing department.
yes, think of it as a spotify clone by apple
New iPad at $329
The Most Common Security Mistakes React Devs Make
> If you'd like to innoculate yourself,

Dude, my malady got worse, not better. The comments there are up to a better standard than most Youtube or Facebook comments.
The point is for him to position himself not just as a guy with a fat checkbook, but as a macher (see https://jel.jewish-languages.org/words/325) -- a guy who can make connections, put people together. "I don't think your project is a good fit for my foundation, but let me introduce you to my friend Jeffrey and these four other rich guys who fund projects like yours all the time." So now you still owe him a favor, but without him having to spend a penny.
This is a good point. It seems that BG spends an inordinate amount of time getting money for his foundation, when it doesn't seem even likely that he spent most of his own donated money. Maybe because he doesn't know how to do anything else other than getting more money?

The other issue that one has to wonder is if this process of connecting to other rich people through his foundation is not a side business to the goal of finding investment and personal connections for himself.
They can just forward the encrypted bytes (I don't know if that's how they actually do it). Cloudflare does mitm decryption in order to inject its own code and captcha in the pages.
Form some use cases WearOS is pretty nice. For example, they have all supported always-on displays for years now with "all day battery life"...

I switched from an Apple watch to various non-Apple smartwatches when I switched to an Android phone. I used a Ticwatch E (for over a year), the new Samsung Galaxy watch (for a week), and the very new Fossil Gen 5 watch for the last month.

The Ticwatch E uses Wear OS, but is relatively slow and has battery life issues if you are not careful; however, it is very light (40 grams with band!).

I tried very hard to like the bigger Samsung Galaxy watch, but for me it was far too heavy (63 grams + band), which drove me nuts, and the app ecosystem was painful to me. In fairness, the battery life was really amazing though.

I currently wear a Gen 5 Fossil, which weighs 45 grams + band, and is fast enough, with a lot more RAM/storage than the ticwatch and newer generation processor. I'm happy with it. (For comparison, the Apple Watch case is 50 grams.)

Overall, I like Wear OS significantly more than the Samsung watch operating system (which I really didn't like, due to the apps being so expensive and limited). Wear OS is also nice because there are tens of thousands of watch faces to choose from, and some of the faces (that cost $1) are also very highly customizable.

The Apple Watch Series 5 is an absolutely incredible piece of technology, and I wish I at least had the option to choose it, but I guess I don't since I'm not using an iPhone...
>Working on boring, crappy projects for a living is just killing me, and you never know until you get on the job. How do you deal with this?

I deal with it by choosing not to work on crappy projects.

If a company or the project they want you to work on is crappy, don't choose them!

There aren't many non-crappy tech jobs in my neck of the woods, so I branched out on my own.

I do the odd consulting gig if you're a small company who has a few technical problems and want to pay to fix them ASAP.

And I work on my own projects in the meanwhile... websites... saas... working on an algorithmic trading bot right now.

It's working out OK.

Yoga helps fill the downtime between ideas... and is really helpful at generating new ones I find.

In fact, I just had an amazing idea on the way home from practice earlier today that I should really get working on!

Or hey, perhaps programming just isn't your thing and you've finally realized that. It's not for everybody.

It's a tough world out there, but you're doing the right thing by asking questions and trying to change yours.

Take care now.

Chin up!
I feared that this would happen to me, and avoided a dev career for a long time. Eventually I realized that I needed a career and gave up.

What I found was that despite how good I thought I was, I'm way better now and enjoy programming even more than before my career. I don't program at home nearly as much, but when I do it's for something I really want to make and it's very satisfying to be able to just whip it up.

I spend all my struggling hours at work and can just use the knowledge at home now. Much, much better than spending all my free time struggling to figure things out and getting little done.
Technically that's true but why would Uber/Lyft accept the overhead of workers that are not?
You are trying to convince me that ethics are important. I already believe that. You perhaps might try to convince me that companies care about that, but you started off with a bunch of counter examples.
Does anyone suspect it doesn't contribute meaningful to their advertising business? Anyone using one probably already uses an Android phone (with a Google account, etc.) and maybe the additional marginal information about a person that would improve how they use that information to sell advertising isn't worth their investment in the platform.
> and nuclear plants are shutting down a decade or more before official end-of-life, because they're losing major customers to cheaper alternatives that are available right now

How? My understanding is that most of the cost of nuclear power comes from building the plant and decommissioning it. Running existing power plants for as long as they can seems like the most economical choice.
I have an original iPad I got the first day they came out (April 2010). Still works and the battery still charges. Only bad part is the OS is stuck at 5 and Safari crashes on some websites.
I think it's a delayed effect. As the populace ages, people who are retired (from when birthrates were higher) will make up a larger percentage of the total population. There's some existing info on this out there, but most of what I have seen focuses on how this will impact Social Security in the US.
have to say I was pretty skeptical about yet another streaming service - but for that price point its going to be hard to not sign up
Gates's excuses and self-contradictory statements around Epstein have been hilariously bad.
Nice work! Unfortunately there are some differences between the way it renders/prints in Firefox and in Chrome.
What's this have to do with high schools? Booze and vaporizers are both illegal for minors and minors get their hands on both anyway. The proposed law is an outright ban on flavored liquids even for adults.
They can borrow money at a few percent interest rather than bring their profits from overseas back to the US and pay the corporate tax rate on it.
I handle this with an elastic phone waist band (google flip belt for an example). I don't think about the phone at all and do everything from the watch
>The argument for yeomanship also fails to acknowledge that the high cost of college makes it an iffy proposition if the only purpose is to find a well-paying job. The economists John Schmitt and Heather Boushey found that among 24-to-35-year-olds, almost 20 percent of college graduates “actually do no better than their counterparts who left school after high school,” even before taking college debt into account.

This particular point is a very strange argument. Lumping all college majors together and saying that the 20% of the group has an income problem is ludicrous. It's obviously true that the people who majored in pursuit of a well-paying job are less likely to be this troubled 20%. So the author argues that the existence of this troubled 20% means that you should give up on the idea of the pay-oriented major? Does not follow.
Excess electric doesn't have to be in stored with chemicals like lithium ion, energy is still energy.
Apple is rumoured to be working on sleep tracking. Of course it already exists by third parties: I use SleepWatch.

I thought the charging thing would be deadly for my use of it, but it is so much less of a thing than I imagined it would be. Firstly, sleep tracking uses surprisingly little battery. Often I'll see less than an 8% drop over night. Additionally I just drop it on the charger in the morning while doing my morning routines and that gets it quickly to 100%. Very occasionally I do a short burst in the evening.

I never thought it would be worth that sort of hassle, but it is a thousand fold. I send and receive messages from the watch. Answer calls. Look up things. Use the activity track. Use it to control media. It is my alarm clock. With the recent betas of 6.0 the usability has improved dramatically -- before all sorts of operations would yield "I can't do that" sorts of responses, whereas now I'm getting just brilliant results.

I was a naysayer of the thing (I strongly felt that if you couldn't go days without recharging it was a dud). The health features got me to give a shot, and I am a very strong believer now. It is an absolutely wonderful device.
Make a lot of money, dispose of some excess population.
The legality of THC has little to do with the fact that ingredients of many household products across the board are not scrutinized to the level of safety that would have prevented this kind of outbreak from happening in the first place. Can you provide any details on what federal agency & team is inspecting nicotine cartridge production lines or imports in the US?
Sorry to thread jack, but- important question: how are people reading Bloomberg now that they shut down incognito mode as of this week? Disabling Javascript doesn't seem to work either. I'm using Outline for the time being, but it's slow and annoying, and it won't load any longforms that contain multiple pictures or graphs. Anyone else have a better solution?
"Boeing flies 99% on Ada" http://archive.adaic.com/projects/atwork/boeing.html So does Airbus, as far as I know. Air traffic control systems across the world also rely on Ada.
No, his goal was to sow division amongst Americans, and drag us into wars that only benefit private corporations and waste money.

https://www.aljazeera.com/archive/2004/11/200849163336457223...

"Even though we are in the fourth year after the events of September 11th, Bush is still engaged in distortion, deception and hiding from you the real causes. And thus, the reasons are still there for a repeat of what occurred.

...

All that we have mentioned has made it easy for us to provoke and bait this administration. All that we have to do is to send two mujahidin to the furthest point east to raise a piece of cloth on which is written al-Qaida, in order to make the generals race there to cause America to suffer human, economic, and political losses without their achieving for it anything of note other than some benefits for their private companies.

This is in addition to our having experience in using guerrilla warfare and the war of attrition to fight tyrannical superpowers, as we, alongside the mujahidin, bled Russia for 10 years, until it went bankrupt and was forced to withdraw in defeat."
I don't think this is all that helpful.

> Git gives you a FULLY FEATURED repository on your local computer ... This is different than other version control systems

I use Mercurial and am confused by git. This statement of course doesn't seem right to me, since Mercurial is "FULLY FEATURED" too.

> Commit tree (local repo or HEAD)

Is "HEAD" or "local repo" an alias for either each other or for "commit tree"?

Because I think HEAD is a special location of the commit tree in the local repository - these are three different things, yes?

> Think of files (and changes) as being in 5 different places, or "states"

So, what's a "stash"? Not explained. Why do I need to know about stash?

> git reset and git checkout to pull from upstream

Someone confused because of experience from one of those "other version control systems" which are not so fully featured might not know what "pull" means. Or "upstream".
I thought long about the pros and cons of letting time flow vertically rather than horizontally. In the end, I wanted to have the code editor to the right and the visualizer to the left (code lines are usually short but there are many of them), which then forced me to render the events vertically. What do you think?

I also posted a link to the playground yesterday noon CEST on HN, but the post didn't get much traction and went pretty much unnoticed into the eternal archives of HN. As I still think this playground could be of great help to many RxJS beginners and I put quite much effort into it, I posted it again to see whether a repost would share the same fate.
No thanks. I prefer the old Reddit, and by old Reddit, I actually mean the OLD reddit. https://www.reddit.com/r/redesign/
The crazy reality is: major carriers like Verizon still sell iPhone 6S devices today, brand new. So there's an expectation that they have to support a brand new iPhone with iOS upgrades for a significant number of years. And Apple can do it because they only sell a handful of models that have a very common hardware set.
Is it just me, or has the surge in popularity of smart watches also caused a surge in the popularity of regular watches too?

Speaking of myself, I bought a Pebble watch back in 2013 or so. I quickly realized I liked wearing a watch. Then I also realized I really only needed the time function. I then went from the Pebble to a Seiko mechanical. Now I have no smart watches and about ten different mechanical and quartz watches.

The main reasons I prefer conventional watches:
1) They come in a much wider array of styles
2) They don't run out of power on long flights and leave you without your time reference right when you need it the most
3) They are generally cheaper
4) Some of them, like my Casios, have great features that work offline, like a digital compass, thermometer, altimeter ... all powered by solar!
5) To me (and this is a matter of personal preference) they look better
6) There are a lot of closet wristwatch nerds lurking in tech companies. Once you start wearing a Seiko mechanical, for example, you will soon get comments from other undercover watch nerds. I actually enjoy this random camaraderie.
There's still a margin of soft costs that can be reduced (more in the residential than commercial/utility sectors, admittedly): https://www.nrel.gov/docs/fy19osti/72399.pdf
WeWork is VERY big though.

For instance, their market cap is 1.5x what Kodak peaked at.
Dell's website used it. Just because you didn't see them doesn't mean things don't exist. How many Cray computers or iSeries machines have you seen in the wild?
Oh, huh. Thanks for the info, might open up the watch for me.
1980 watches: battery lasts a couple of months

2019 watches: battery lasts a couple of hours
could you name them and explain the rationale?

genuinely curious
Run your scripts in a CI environment like Jenkins or Concourse CI?
Numbers for wind and solar are now about $40/MWh unsubsidized according to current LCOE analysis:
https://www.lazard.com/media/450784/lazards-levelized-cost-o...
...as you say, this is not the whole story as you still need storage (etc).

But the floor for (unsubsidized) solar may be a lot lower than that. About $14/MWh: https://www.greentechmedia.com/articles/read/the-floor-for-u...

And we're already seeing bids nearly that low:
https://www.pv-tech.org/news/brazil-auction-sets-record-low-...

Wind is also super cheap.
I spent like a full minute trying to figure this out before remembering I could just physically touch those other parts/tabs of the browser.
Probably the "Amazon.com Store Card" issued by Synchrony Bank, and not the "Amazon Prime Rewards Visa Signature Card"/"Amazon Rewards Visa Signature Card" issued by Chase. I've heard bad things about Synchrony's usability.
Don't fall for it. I tried switching for a trial period but Spotify owns iTunes in so many ways. Especially the discover weekly list
Happening in the majority of the hospitals in Seattle as well.
So what? I don't care to compete with those developers or work for the companies who hire them.
The point of UBI isn't that you will live off of $1000/month. Americans generally don't want to live off the government dole, they want to work hard.

Perhaps they want to start their own businesses and live the American dream of self sufficiency. But for most, this is out of the question unless you come from a well to do family, so you are forced to work a crappy job for many years just so you and your family don't starve.

If everyone gets UBI, you suddenly have choices. You can finally start that business you've been dreaming about if your family invests their UBI in you for some time, or if you get 10 friends together (if you have no family). And if the business fails, you're not suddenly in debt to a bank and having to declare bankruptcy and ruining your credit.

Or if starting a business is not for you, you can feel free to tell your boss you're unhappy, because if you're fired, you're not suddenly unable to pay rent (depending on where you live, you may need to save up a few months of UBI for this). You won't be so mentally distraught at the idea of 0 income, and corporations won't be able to so brazenly take advantage of workers, keeping them on their toes with the constant threat of the axe falling down because quarterly profits were down 10%.
Move on and find something else to read.
When I had a job like yours I quickly left for a company with more interesting projects.

These days to keep up my side projects I set attainable daily goals for the projects/languages I wanted to work more in using WakaTime to track my progress. I get daily emails that motivate me to keep reaching my goal of at least 2 hours coding per day.

https://wakatime.com/goals
I bet there are quite a few of us watching each of these announcements waiting for exactly that to happen, ready to click that buy button.

The only thing I'd miss dropping to a watch + decent point-n-shoot instead of an iPhone is live photos, which are maybe the most important feature to me from the iOS ecosystem released in the last, oh, decade. Only reason I'd even hesitate to go watch-only.
Plasma Antenna
> Making that functionality native would seem to recommend wearing the watch 24/7

Exactly! At this point, my expectation is that I would wear the watch at all times except when I shower in the morning, and that is when I would charge it. But it won't charge that quickly. :(

Which means I either have to give up sleep tracking or activity tracking to charge it.

It sounds like they need to make it so that the bands can store energy so that I can charge one band and wear one band and then switch them each day.
A compass, wow! That's what I have always wanted: a compass small enough to fit on my wrist.
Any story that details tech bigwigs having connections with Jeffrey Epstein gets flagged down here almost instantly. Which is too bad, the sheer volume of these connections indicates there's a conversation to be had here.
I very much want this, but I very much don't want to buy an iPhone when my pixel 2 still works as well as the day I got it.
Bypass Paywalls extension
One of the Pixel 4’s most exciting new features was a total mystery until now
It was the polished stainless that I liked though, and that’s not there.
I'm curious, does anyone with more knowledge know how Garmin are able to get so much more battery life out of their watches? Their official spec definitely lists "2 weeks" in "Smartwatch Mode" (which seems to be GPS disabled, but still heart rate tracking and similar).

It is impressive and I'm curious why Apple cannot compete.
I bought this watch a month ago and I really like it.
does anyone know how this tech works - this might be worth buying for hiking if it will work in the middle of nowhere
Yes. It's called a discount rate. The national average for private institutions is around 45%. Maybe higher by now. See link below for stats.

At most private Universitues, only suckers pay full sticker price.

https://www.insidehighered.com/news/2018/04/30/nacubo-report...
Bring Back the SE
I find that statement ridiculous. Saudi Arabia is a theocratic society with an absolute monarch. The things that occur there may seem abhorrent, but they follow relatively strict norms. Capricious things occur, but even the monarch responds to internal political and cultural pressures in service to a nominally higher authority.

North Korea is ruled by the capricious whim of a single person who makes the rules as he goes along, and whose decisions have led to multiple famines and other atrocities resulting in the deaths of millions of North Koreans, still ongoing. And Kim Jong-un doesn't need a cover up when he assassinates someone; he's a god incarnate.

Have a little perspective. It's easier to criticize Saudi Arabia precisely because it's more like Western society than North Korea, even if that similarity is often illusory.
Indeed. See page 2 (or 3, counting from the pdf) of this analysis by Lazard. In particular, the tan diamond symbol by nuclear (with a footnote).
https://www.lazard.com/media/450784/lazards-levelized-cost-o...

Nuclear that's already built is very cheap AND has a very high capacity factor (i.e. doesn't need storage--although its value can be extended with storage).
allows Apple Watch Series 5 to offer all-day 18-hour battery life

How is 18 hours considered "all day"!?!?

I retired my previous fitness watch (Polar M600) when its battery life got that bad, and moved to a Garmin 645M with almost a week of battery life. Being able to to travel on business without worrying about carrying (and loosing) the charger is very nice. The watch is "always on", does notifications, music, etc.
Have people worked out how much various tasks and usage patterns affect battery life?

With a Series 4, I can get through the night. I suspect that a large part of that is that I keep "Wake Screen on Wrist Raise" off most of the time. Generally I only enable it when doing a workout (~30 minutes a day) and sometimes in the kitchen when using timers. Another factor is probably that I don't use it for much more than telling time, checking my activity level, checking weather, and reading the occasional text message.

If I charge to 99% or 100% during breakfast, I'm almost always above 60% at bedtime, and overnight with the Sleep++ app tracking uses under 20%.
That's really sad imo. I wonder how feasible it is to port open source firmware platforms to new boards. Would be a very fascinating task, but also very difficult as I imagine most hardware is undocumented, at least to the general populace.
Thirded. An obvious consequence of 9-5 programming schedule is any other hobby takes precedence. In fact, I strive (and struggle) to power off my laptop and put it in the closet when home.