skysight-inc/HackerNews huggingface dataset:
I'm a night owl who's started waking up earlier. I guess that makes me an early owl? Or a night riser, which makes me sound like a zombie.

I started waking up earlier because I realized I had a much better work day if I did something I enjoyed before working. I start work at 10am, but I wake up around 7:30, walk the dog for ~2 miles, then relax and play a game, lift, do some blogging, read Hackernews etc. It's made my work day far more productive, I will say that. I also have a little one on the way so starting to acclimate my body to waking up earlier is better done sooner rather than later.

I recall reading a while back an article that stated people had more productive and overall positive work days if they did something enjoyable before starting work. I work from home most of the time and so it became more important than ever for me to actually _use_ the time I wouldn't be spending commuting. I definitely recommend it to everyone, particularly those who don't have a commute to "wind up" and decompress from their work day!
> Don't run devices on your network you don't trust.

This advice is about as practical as "Do not use ISPs and their forwarders that you don't trust.". Which is to say, not much. Let us know about your experience with smart TVs and similar devices, and how much you trust them.
It’s hard to claim that JSX is more “just JavaScript” than SwiftUI. If anything I’d say it’s the opposite.

Swift evolved the language hand in hand with SwiftUI so everything you see is standard there.

And in my humble opinion they did a knockout job. And this is coming from someone whose spent a ton of time evangelizing React.

SwiftUI is far more beautiful, pleasant to write, and well thought out. It does have a couple awkward points but it’s not the “DSL” or it’s defaults (it’s just Swift) which is fine, it’s all on the dev tooling, performance, debugging, random bugs, and error messaging side of things (ie, maturity).
I mean... this is the 2nd or 3rd cases of a virus that cross from animal to human from China.

Is it that hard to believe China haven't change?
Your ability to shift between 10pm and 2am is someone else’s 1am to 5am or 6pm to 10pm. Just because you personally had ease falling asleep at these times has no relationship to when other people find it easy to fall asleep. It’s not a binary state night owl or morning bird.
Yes, instructions to do so are in the article.
Err... Not obviously? They're comparing it to a similar recent respiratory epidemic that raised concerns of a pandemic. That could be politically motivated, but it strikes me as reasonable and it's a commonly drawn comparison.
Firefox to stop ISPs from tracking the websites you visit, from today
In preferences search for DNS. You'll find a checkbox to enable/disable it along with a select for choosing a provider.
I'm also very sceptical of that 10 million customers line.
Do you think its just people that have opened an account with them at any point? I bet the DAU (a reasonable metric for someones main bank, especially in today's cashless society) is a very small percentage of that.
Citizen's+freedom
it's probably because cloudflare and friends went "we want to see what hit we're taking if we do this for free for you, by only enabling this by default for the US first" or something.
For added confusion, credit and debit cards have different processing networks, with the debit networks having much lower fees. And in the US at least, virtually all debit cards can also be processed as credit if the store doesn't accept debit directly (eg online payments). And while in Europe all cards have PINs, in the US only debit cards have PINs, and running then as credit allows you to bypass the PIN requirement.
Code is also meant to be read and reasoned about by humans, not just by the compiler.

And thinking with types helps you to do that. Satisfying the type checker doesn't guarantee a program is functionally correct but it does reject a large number of obviously incorrect programs from being considered. And with holes it can guide use towards the likely correct program.

From TFA:

> I’m not going to say that blindly filling in type holes always works, but I’d say maybe 95% of the time?

It's a tool. If you don't know how to implement something a good first approximation is understanding it's shape and filling in the holes. I think this is the spirit of what the article is demonstrating.

Writing the program so that it's clear is the next step. The final example, `zoop` is renamed to `foldr` once we realize what we're working with. This is how I often work with Haskell in practice: I know the types and shapes of values I need to produce and I work with the compiler to write an expression that fits the type. Then I rewrite for clarity and intent.
Anecdata but I had Allstate for at least 5 years, then they tripled my rates on renewal (Massachusetts). At the time I lived in a sketchier neighborhood of Boston, but I had no claims and a 3x increase was absurd. I switched to Geico and it was 2/3 as much as Allstate was before the raise, and it's been great since. Allstate is doing something weird.
I’m wondering, is the US a phased roll out or is this in light of government mandated censorship in the UK, Australia, New Zealand, India, China, etc.?
Cloudflare's resolver does not send the client subnet, which hurts performance when users connect to anything that doesn't use Cloudflare.
Email the mods with the footer Contact link and they’ll merge them.
Yes, I also found this documentary to be entertaining.

It’ll be interesting to see if Vue.js usage spikes.

vue is French for view. His original name was seed.js but it was taken so at the last minute he used Google Translate to find a different way to say view.
As someone who is a bit more involved in iOS development, I am also standing on the sidelines. Mainly because any apps that I am developing for, I can still keep on using NS Layout Anchors that work wonderfully. One of the biggest reasons I have decided not touch it is because of problems like these, until there is a v2 or v3 for swiftUI, its just not worth it to include it in any projects. (imho)
The Memo
> Cloudflare seems to have a presence in my local area.

In case you're interested in rolling out your own low-latency DoH: I run a DoH stub-resolver on Cloudflare Workers [0]. Their free-tier covers one device's worth traffic. You could do so on stackpath, too [1].

[0] https://news.ycombinator.com/item?id=22208988

[1] https://news.ycombinator.com/item?id=19514791
Paypal is preloaded, so you're not required to start with HTTPS. https://hstspreload.org/?domain=paypal.com
> Don't run devices on your network you don't trust.

Oh, is that all?

How about I trust the devices until a secretary clicks on a (spear)phishing link that runs a zero-day. Then what? The host is compromised so I can no longer trust any end-device monitoring software on it, and now the network traffic is opaque.

And that doesn't even get into things like academia where students and visiting researchers bring devices of unknown providence. If if they're on DMZed networks, they could be spewing garbage onto the Internet and getting my CIDR range blacklisted.
Why? If you know how to run your own pihole, you know how to turn off DoH? You're not being forced into this, a default setting is getting flipped and you're entirely free to go "no thanks" and flip it back, so if you trust whoever owns the IP that you're using as real, unencrypted DNS server, then just keep using that. Same as for folks who want to keep using unencrypted emails "because encrypted mail isn't fully encrypted anyway and just makes things harder".

As tech changes, solutions change, but at least for the foreseeable future your DNS intercept will keep working just fine until everyone switches over to DoH and stops offering an opt-out.
It seems that sleep pattern variation is an evolutionary consequence of the survival benefit of having someone awake when others are sleeping [1]. A good combination of night owls, insomniacs, and early risers in camp probably made it far less likely a sleeper got hauled off by the hyenas. This also seems to be the reason that anxiety (sense of danger) reduces our sleep. There's a part of our brain that doesn't differentiate well between today's worries and predation risk. For this reason, I think that addressing anxiety is often the best way to improve sleep.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4972941
So my natural rhythm is working 10-2 and then a lull until 4-6, and then a lull until midnight, I wouldn't get tired until 2am.

Not ideal for a 9-5 job with kids. I'd also need a nap around 5:30-7 or so, also not wife-compatible to fall asleep at 5:30pm for an hour.

I started using a SAD lamp and it makes a huge difference, 30 minutes in the morning, I just browse my phone in front of it. It feels like a cup of coffee and a 30 minute nap.

The biggest is not needing the evening nap followed by actually being tired at midnight, and the ability to fall sleep between 10pm-midnight if I need to get up early. It makes a major difference to me, it has about a 2-day effect, I can skip the 30 minutes for a day or two, but after day 3 my clock resets.

I'd get a 4pm boost at work, I could tell the time by how productive I was being. Same thing with midnight, I'd sit on the couch from 9-midnight, and then find myself cleaning up exactly at midnight. With the light, everything is 2 hours earlier, 2pm work boost, and 10pm boost at home.

I have one of the larger lights, don't want to be accused of shilling.
Allstate, a favorite of recent news in metro Atlanta as well. I did check with them recently when I did my yearly check on rates; they were one of the higher ones for home and auto combined. Fortunately my state (Georgia) rejected Allstate from doing what was in this article [2]

Local news station has had two recently articles about them. From finding methods to not pay damages at a cemetery caused by a car insured by them [0] to be called out for not paying bills when their insured drivers caused damage to other drivers [1]

The second story is more damning because it is law firms that end up court for suits call out Allstate for having the most issues, it also noted that ten years ago, the American Trial Lawyers Association named Allstate the worst insurance company in America. Google searches still return that note but it should be noted that lawyers tend to call out most insurance companies.

* Both have video components that may start on their own
[0]https://www.wsbtv.com/news/local/2-investigates-car-crashes-...

[1] https://www.wsbtv.com/news/2-investigates/are-you-in-good-ha...

[2] https://www.consumerreports.org/media-room/press-releases/20...
If I recall correctly, brave://flags should have "Secure DNS" or something like that.
Three Questions for Fintech Product Managers
There may not be that many people doing web development in OCaml directly (Reason ML may be changing this) but it is do-able.
Read 'A Lightweight OCaml Webapp Tutorial' - https://shonfeder.gitlab.io/ocaml_webapp/ for a up to date example of an OCaml web stack.

Reason uses the OCaml to Javascript compiler Bucklescript to make OCaml more accessible for web programming.
Listen to the podcast 'Reason Town' - https://player.fm/series/reason-town to hear professionals talking about their experience with it.
Just 2-3 years ago, normal DNS to CloudFlare or Google DNS were enough to bypass my ISP's DNS redirection. Then those got disabled and while I switched to DoH, many others switched to paid VPNs. Now they've moved up to SNI blocking. They may catch on to the trend and block DoH IPs too if DoH becomes popular.
The role of the artist is to make choices. Every possible thing is the exact opposite of making a choice, and of a creative act, therefore it makes zero sense that anything could be said to be copyrightable about this.
The author's usage of "meta" doesn't match up with how I've seen it used elsewhere. He refers to the "metagame" when really he's just talking about the game itself.
Yes, there are.

And yes, it could sound different enough. If I invert the octaves of every alternate note it's going to be quite hard to pick out the melody as being the same, because I'd have disrupted all the scales and arpeggios that are the parts we actually recognise as forming the shape of it.

The other point the comment you're replying to is trying to make is that Western music generally has 12 tones per octave (even if they don't use them all, a lot of music uses 9 or 10 of them), and other musical systems used in various parts of the world in antiquity and in the present day may have significantly more (or less).

Anybody who limits it to 8-tone octaves and only a one-octave span and says it's every possible melody is just lying or musically ignorant. Which is surprising given who the people who did this claim to be - i.e. they're musicians.

It's likely that the article's author massively exaggerated on the "every possible melody" thing, because there are way more than you can get from 8 tones in 1 octave over 12 beats.
While I don't yet have great confidence in my mental model of SwiftUI's type system, my understanding is that the DSL builders exist for more reasons than just to eliminate commas.

The new Function Builder and `some` return type features of Swift allow you to return a complex, nested type describing not just that it's a View but rather also all the structure within.

This means that at runtime you can have a (non-erased!) type describing the contents of your `var body` like this:

Button<Group<_ConditionalContent<Text, Image>>>

This particular body displays a Text if a state boolean is true, and an image if not.

Super interesting - and having types this descriptive can potentially enable a host of interesting features and optimizations. For example, across evaluations of your UI SwiftUI needs to track the identity (and location in your view graph) of all of your views, in order to keep their state, bindings, and other stuff that needs to remain consistent across time. The position if your view in a type hierarchy is the default way SwiftUI does so. This starts to blur the line between code and the type system, which I think the Functional Programming folks have been exploring for years.

One more nitpick: the use of View Modifiers on children noticed by parents (like the `navigationBarTitle` example he uses (as discussed in the "Child Privacy Invasion" section), is to allow for children to specify metadata that the parent might care about. This is actually pretty nice, because then you can nicely compose together the various parts of your app without having to spread around the configuration for your tab bars and such (which is a bit messy in UIKit).

edit: formatting. I always trip up with it on HN due to the lack of a Preview feature.
I get what you're saying, but defining a method from only a type signature, and then finding that it can be implemented by only caring about types, isn't much of an accomplishment. Of course you can define it by filling "type holes"—the method isn't real, so there's nothing it can or would do apart from the types matching up.
Another more affordable option is to build your own modules.

What's involved could be as simple as merely assembling a purchased kit (which should already save you money over a pre-assembled module) all the way to designing, prototyping, and etching your own PCB's, designing and building the enclosure, finding and ordering all the parts, soldering them all together, testing, etc.

The DIY modular synth community is pretty active.

The "Music Tech DIY" forum on Muffwiggler is a good place to start.

https://www.muffwiggler.com/forum/viewforum.php?f=17
This was what did it for me as well. I was alone with my three kids (5,6 and 9) for half a year recently (wife went on a foreign student exchange program) and to prevent life from descending into chaos I established a pretty dictatorial parenting style. Kids were asleep by 8-9pm, and we had to be up at 7am to prevent our mornings from being stressful. I eventually discovered that I could make much better use of the day if I also went to sleep early and woke up about 5am to prepare the day or start working. These early hours were much so much more productive than the evening hours.

I've tried to stick with this program, or at least a version of it, but ironically it's kind of harder now that there are two of us again.
> Obviously the demand is not zero but all of the evidence points to it being a tiny fraction of the overall phone market.

We’re a small but very vocal fraction of the market :)
The trend is clearly moving in one direction, and that direction is not towards more time spent cooking at home.
Marketplace Lets Teachers Buy and Sell Classroom Materials and Lessons
Meta is anything where the best action depends on something outside the game. Identifying the best weapon to challenge your opponent's defense is not meta. Identifying the best weapon to counter your opponent's predicted defense is meta.

Choosing to use a weapon at all is not meta.
Choosing to not use a weapon to lure your opponent into trying to grab it while you wait to snipe them, is meta.

Think about rock-paper-scissor. The game is totally random. There is no in-game strategy that can do better. The only way to do better than half chance is to play meta and predict your opponent's strategy.
How to Use Apple’s Notes App on PC
He meant 3 times a week, 1.5 hours at a time.
> In fact, the way they do crypto is very clever

I don't know if it makes a difference practically, but it's probably different if they actually held the crypto balance in a cold wallet, versus the balance just being a number on a ledger that's pegged to an exchange rate.
Journalism is opinion.

It's the opinion of the journalist: is this information worth writing about?

It's the opinion of the editor: is this part worth changing?

It's the opinion of the publisher: is this piece worth publishing?
When I wrote this comment, I certainly wasn't expecting Bernie would start a new round of endorsing Castro as the front-runner for the Democratic Party nomination.

If you have questions about Castro's contributions, you may consider https://www.theglobeandmail.com/report-on-business/rob-comme... "Pre-Castro, Cuba was already better off than most Latin American countries on such indicators. Also, Mr. Castro's rule knocked Cubans to the near-economic bottom of all Latin American countries"
wrt to aws, there's also the option of building out with serverless tech, which is a dramatic cost reduction (not paying for idle) and ideally scaled for usage to business model/revenue. cloud portability suffers but I've found for an ha setup, its a dramatic cost savings (10x) while getting traction for a service. I've seen that transformation bear out in many enterprise companies. As an example I built out https://awsapichanges.info and run it for less then a dollar month with fargate spot, s3, etc. Just saying ymmv depending on how you want to build/design your app's use of infra resources.
> Having the blue check mark removed isn't a suspension or ban so you can't really go with "that group just happens to break the rules more"

That is utterly untrue.

Unverifying is a sanction for breaking the rules that's less severe than a suspension or ban.

According to Twitter's published guidelines, they'll un-verify accounts that:

Intentionally mislead people

Promote hate and/or violence

Incite or engage in harassment

Break the Twitter Rules

Source: https://help.twitter.com/en/managing-your-account/twitter-ve...
I'd like this to work, and kudos to the creators for having an interesting idea in a problem area. I've been surprised that copyright plaintiffs have been winning these cases, e.g. Marvin Gaye vs Robin Thicke, the Katy Perry case. Maybe this "all-melodies-ever" idea has an off chance to defeat copyright claims based solely upon melody, although I'm doubtful (that said, I haven't thought deeply about it and copyright law is filled with nuance).

But practically, most of these claims are not based solely on melody. For instance, a plaintiff beat Katy Perry based on expert testimony that the songs were similar "with regard to their pitch, rhythm, texture, pattern of repetition, melodic shape, and timbre."[1] The way these cases are being decided, plaintiffs could avoid dismissal by claiming copyright in some nebulous combination of protectable elements, even if melody is a key part of similarity.

One ray of hope: The Ninth Circuit Court of Appeals (which decides most of these cases, since it encompasses LA) is reconsidering these issues in the case where Led Zeppelin was accused of ripping off the Stairway to Heaven riff. The lawyers made their arguments last year, and we are waiting for a decision. A good decision could clean up the law governing these claims.

[1] http://www.fordhamiplj.org/2019/09/27/katy-perry-lost-her-da...
> Are there actually any popular melodies that span more than one octave?

Star Spangled Banner's melody spans 3 octaves IIRC.

But more importantly, any melody with an accidental would require the 13-notes that include the 5 "sharps" or "flats" per octave.

Every country song is pretty much played in the 5th, meaning the 4th note is USUALLY played sharp. So your standard country tunes are pretty much guaranteed not to be in this set.

Jazz and Blues music has a LOT of accidentals, and they also are syncopated up the wazzoo. Even IF Jazz and Blues music were all in C-Major, I doubt they tried out their strange rhythms.

At best, 8-note, single-octave, 12-note rhythms, cover a very, very small subset of simplified classical music (Simplified Twinkle Twinkle Little Star, and not the original Mozart version either: https://youtu.be/KKCsujeeu8o?t=50) and maybe some simple folk songs like "Mary had a little lamb". But for goodness sake, even "Happy Birthday to you" spans more than one octave...

----------

I just counted it. "Simplified Twinkle Twinkle Little Star" is 14-notes. Even this beginner song is too long to be covered by the 12-notes auto-generated by this algorithm.

So we're talking "Hot Cross Buns" level rhythms... I guess? But "Hot Cross Buns" is 17 notes long.

"Row Row Row your boat" is syncopated. I doubt its rhythm is covered. Its also 26 notes long.

Here's a better question: what song is actually covered by 8-note, single octave, 12-notes combinatorics? I'm having difficulty figuring one out. I'm picking the simplest songs I know of and they still don't seem to be covered.
Fundamentals can be hard to define concretely because they can even underly the principles of how people talk about playing the game. Take, for example, the age-old advice in chess "control the center." To an absolute novice, this is interpreted as 'have your pieces in the center.' To more experienced players control can be more fluid. In some cases, it's as much about protecting a position as it is about occupying it.

To give an example from a game I love dearly: Halo. The number one fundamental isn't aim, or knowing sick trick nades, or masterful timing of power weapons. It's positioning. Positioning controls where your opponents respawn, it controls where your team respawns, and it is the single most impactful part of "map control." Good aim means nothing if you stand in the wrong places at the wrong times. Power weapons are useless if you get yourself back-smacked by opponents getting split-spawned that you weren't aware of.

Fundamentals are (somewhat) unique to a game, and they typically reveal themselves either once you've intuitively started applying them, or through thoughtful analysis.
Heya,

I would remove Kobe Bryant from your list of sample names. He just recently passed and you might offend a potential customer.
> When you have a market for rare 'natural wondercures' being sought out, it only takes one mutation in a virus to spread on from another mammal to humans, add to that China's population density. A recipe for disaster.

What if the government starts a massive propaganda campaign about quartz crystals, hot stones or some other abundant and innocuous miracle cure?