skysight-inc/HackerNews huggingface dataset:
I'm like that too. Melatonin helps me fall into 24-hour rhythm.

I take 1 mg in slow-release form, 2-3 hours before desired bed time. My bed time is still pretty variable, shifting 2-3 hours back and forth but at least it's not hopelessly drifting forward every day.

I do sleep a lot, 9-10 hours (no alarm clock), which could be because of melatonin (1 mg is a rather large dose). See here for a lot of details about melatonin dosage and timing: https://slatestarcodex.com/2018/07/10/melatonin-much-more-th...

Relevant quote for non-24-hour sleep–wake disorder:

And what about non-24-hour sleep disorders? I think the goal in treatment here is to advance your phase each day by taking melatonin at the same time, so that your sleep schedule is more dependent on your own supplemental melatonin than your (screwed up) natural melatonin. I see conflicting advice about how to do this, with some people saying to use melatonin as a hypnotic (ie just before you go to bed) and others saying to use it on a typical phase advance schedule (ie nine hours after waking and seven before sleeping, plausibly about 5 PM)
What I never told my parents until I was an adult is that the entire reason I still had a night light at 12 years old was because it was just bright enough to play with my favorite toys in the dark. I thought I was so sneaky. However, while I almost never missed school as a child, the most common cause of doing so was exhaustion. Too many late nights and I'd pay for it, badly, sleep in until 1pm and then feel like I could win a war single-handedly.

So somewhere between keeping me from getting sick and just appreciating that as long as I pretended to be asleep they could get 2 hours of peace before bedtime, I would get spot-checked inconsistently. Got really good at listening for footsteps in the hallway.

Getting up early because of kids or dogs isn't a 'fix' for insomnia, btw. It's a coping mechanism. If you are too tired at 10 because the dog thinks breakfast is to be served sharply at 6:30 even though it's been 7:30 since they were puppies, you're not gonna stay up trying to invent a new compression algorithm. You're gonna collapse like a sad sack and make the most of tomorrow.
> I would argue that someone should be able to understand what a function does by reading the name regardless of their understanding of the underlying language it is written in.

You're saying that if someone doesn't know Haskell, they should be able to understand what functions in Haskell do by their name. Which disqualifies standard names like >>=, hoist, and more.
Show HN: Zld, a much faster version of Apple's linker
Now the struggle will be to not forget how much these sucked, so that they don't come back in slightly different guise in five years, when the wheel has turned and a new generation of designers starts to think it is bright idea.

I wouldn't mind seeing the Desktop Gadgets from Vista and Windows 7, which were killed off in favor of Live Tiles, make a comeback.
it makes me mad when non technical friends or family members of mine give me their Windows machines to "fix" something and I see all the garbage they are exposed to in the start menu.

Invasion of privacy and leeching of attention.

Not as bad as the boot times and the overall performance I suppose, but still ...
Ask HN: Well written / designed “spec” document?
Does anyone have examples of a well written spec document and if available approx. how many hours went into coming up with it? I heard Seth Godin talk about how they did a spec so good they just handed it off to a development shop and let them roll with it but my experience has been far from that. I know part of the issue is internally we're not spending enough time developing the spec but I'd like to see some well designed ones as a frame of reference for how things should be done. TIA.
I feel somewhat the same about using a Facebook product. (Enough so I'll take my chances with China).

I expect neither is actually malicious.
Opera added the same option today too https://blogs.opera.com/desktop/2020/02/r2020-opera67-tidy-y...
Reading the comments I suppose I am the only one who saw some use for them, particularly the Weather app. Farewell then I suppose.
It is complimentary: when the sun doesn't shine and the wind doesn't blow, just spin up a gas turbine.

Nukes I know say Amory Logins was really working for the fossil fuel industry.
Hey Vinnl, would it be alright if I dm you? I think there’s a way to create your service using Handshake.org such that it can’t be shutdown.

For context, Handshake is a new project aiming to create a distributed certificate authority and naming system. Domain names on Handshake are very difficult to shut down, so you could have a sci hub domain on Handshake that continuously tracks the sci hub servers. Users would be able to always access sci hub from the same domain in this case.
In which would way would you specifically think of "the EU needs Google"? Startups using Google Office? Google Mail?

(I've dropped Gmail and Office a year ago, but I might come back)
Is there a way to find out where my google account is hosted ?
> There are lots of things we are 'required to buy' - food, shelter, etc. There is still competition, though, and we don't see price gouging in food, for example, just because people have to buy it.

No, but we absolutely see price gouging in shelter.
Have you read the article? Entirely? If yes, can you please tell me since when ITALY is not part of EU? Thanks
Finally. Live Tiles were awesome on Windows Phone, yet totally useless and distracting on Windows.
I think a lot of people are missing the point of the article. People are complaining about the complexity of the function or similar, which is basically brushing off that some problem domains just are complex.

Putting this into context, the author is demonstrating a function from his effect system library called Polysemy[0], which is a both complex concept and a complex problem to solve.

To achieve this with his library, some complicated plumbing is necessary, and one of those functions happen to be `hoistStateIntoStateT`. The author's point is then summarised perfectly by:

> Gee, that’s complicated! I must be really smart to have written such a function, right?
> Wrong! I just have a trick!

The author shows how you can, when posed with just knowing the type you want to achieve, more or less generate/infer the implementation from that.

This is a common situation when stitching functions or parts of your program together, where you have an `A` and want to transform it into a `B`, given the functions you have available.

[0] https://github.com/polysemy-research/polysemy
"The tens of millions of people in the US who are underinsured, lack sick leave, or can’t afford to miss work would seem to almost guarantee a disaster if this hits with force, no?"

Well, I mean, yeah. Have you been watching the stock market in the past few days? Everybody's got a pretty clear view of this.

But "death" has that certain finality about it. A quarantine can pass in a way that death doesn't. Even a bad one.
> If Google were to pull out of the EU overnight, there'd be death as a result

What? What kind of exaggeration is this? You think people died before Google existed or if you don't use Google? There are plenty of alternatives and even if not, how do you reach the conclusion that people will die if there is no Google in EU?

Also, I don't think either Google or the EU _need_ the other. Obviously EU has a incentive to consider it's citizens first while Google's incentive is to get as money for its shareholders as possible. If anything will happen, it would be that EU kicks out Google either by law or by enough fines so Google leaves.
What percentage of Google's assets are in the EU because of their prior double-irish-dutch-sandwich scheme to evade US taxes?
I think this is an unfair response.

> DHCP will give you a DNS config

So in other words "your default dns provider"

> that DNS server can be local, remote

Maybe a nitpick but i doubt dhcp is going to hive you a local dns server

> it can support DNSSEC

Which is irrelevent to the original complaint about "phoning home". DNSSec provides security against certain types of attacks like poisioning. Privacy & evesdropping are outside of its threat model

> DNS over TLS (yes, that's a thing[0]).

A thing with very little client support. Is it even possible to specify this via dhcp?

> DoH takes away huge amounts of configuration, and the ability to locally host DNS and ensures that a central body gets your DNS requests.

If you're doing this level of configuration, just disable DoH. Or host your own DoH server.
Counter anecdata: One summer, I didn't have AC available so I forced myself onto the early bird schedule for 3 months so that I could run at the daily temperature minimum. It did not "reset my brain" or "make me wake up faster" -- I was still groggy after my run with metabolism ramping during the day and peaking at night (with dips after meals), just as it was before + after.
I can only speak from the perspective of using Clojure, I toyed around with Racket and have no experience with CL.

That said, I disagree with some of the points you make:

> availability of useful libraries

Clojure is embedded in both JS runtimes and the JVM. Both feature massive ecosystems.

In terms of getting things done:

Languages like Python, JS and so on are fantastic at plumbing. But when it comes to modelling data-structures, manipulation and algorithms then they are far less expressive and productive than Clojure from my experience.

I personally think the main issue really is the learning curve. There are quite a number of things that 'suck' about Clojure initially:

1. In a Lisp you are essentially manipulating an AST rather than writing statement-based text. Initially this is cumbersome and taxing both while reading and writing programs.

2. In a functional Lisp like Clojure (and other FP languages) there is a wide variety of commonly used functions which are used to manipulate and compose data-structures and other functions. Especially when reading code this can be daunting.

3. Setting up a environment correctly for REPL driven development as a beginner and tuning it as an intermediate user is quite an undertaking in comparison to many other languages.

4. Clojure specifically being a hosted language forces you to understand the hosted ecosystem as well plus the wiring between the host and Clojure.

The payoff for all those four points is worth it:

1. Search for paredit visualizations like this one: http://danmidwood.com/content/2014/11/21/animated-paredit.ht.... Manipulating code this way requires mechanical prowess and exercise but scales up really nicely, especially alongside better understanding of Lisp code in general.

2. The incredible variety of functional building blocks scales really well with your experience and understanding. You are programming with a series of descriptive expressions, rather than lower level statements. Code becomes more declarative, dense and expressive. Abstraction is much more fluent.

3. A nicely set-up environment enables very fast development cycles and allows for understanding pieces of code of any scope in isolation, because you can evaluate, change and test any expression instantly.

4. This is in my experience a necessary evil to get higher adoption and a the massive library ecosystems of JS and Java.

I assume there are a lot of capable developers who simply cannot get over 1 possibly while being pushed back by 2-4. And I have to admit: If I wasn't already infected with Lisp at a younger age, I probably wouldn't have bothered with Clojure or any Lisp. But now it is my favorite for manipulating and modelling data AKA doing 'business-logic' and transformations between APIs.
They did, even issued them uniforms.
ESNI only helps if you're fronting through things like cloudflare, again putting more eggs and information into a single basket and making them a more valuable target for TLAs.
I think it is the reverse, although I may have misunderstood your statement. GDPR applies to the entity controlling the data, not the resident. So Google LLC is subject to GDPR. Further, an EU citizen is entitled to use Google LLC and by providing services to an EU citizen, Google LLC has to abide by GDPR. So, my understanding is that Google may move an EU citizen's data to a US company as long as the US entity abides by GDPR.
The Astros hid behind the guise that they were outstanding at picking up "tipping" from opposing pitchers. i.e. The smallest difference in a pitcher's delivery, imperceptible to you or I, would indicate what kind of pitch was coming. Writers often talked about how Alex Cora or Carlos Beltran or Jose Altuve were just remarkable "students of the game" and would figure it out and tell the rest of the lineup who would pounce upon it.

It's kinda funny to look back on, because I remember lots of people producing videos where they would supposedly point out what the Astros were picking up on, and it never seemed very clear to me no matter how much they slowed down the footage.

Another thing to note is that there's always fun baseball stats coming out. Kershaw getting no misses on his breaking balls would just be one of several interesting tidbits talked about the next day. It wouldn't really cause suspicion, as most people would just assume it indicates Kershaw was ineffective.

For example, in the the 2017 ALCS, Astros pitcher Lance McCullers finished off the feared Yankees lineup by throwing 24 straight curveballs. This is no suggestion that Lance McCullers cheated; it's just an example that there's always odd stuff to reflect upon the next day.
> It's also possible to write useful programs in C, rather than ASM, if you're into that.

Have you done much of this? I looked into it a while back and it seemed like the style of C required was very much its own flavor. I'd been wanting to get some experience with Assembly, so I've been (slowly) coming up to speed with that instead.
I'll go on... the 95/XP UI was meticulously crafted. It solved some real usability problems by drawing on metaphors to aid discovery. It was close to a language. I think what happened was eventually the designer types got their hands in there and started making changes here and there to make specific things look good. Now we're here.
nope, you're saying people aren't allowed to even have an opinion unless they pass your own criteria beforehand.

sorry, that isn't how most people operate. It would be a lot more constructive to tell them why their opinion is wrong, instead of telling them they aren't allowed to even have the opinion in the first place.
Thanks, this is useful to know.
Something something "it is only censorship if the government does it," something something "deplatforming works," something something "private companies can do what they want."

I am a bit older than much of the Hacker News crew. I remember the right doing this kind of nonsense and thinking it was lousy. Watching the left take this sort of thing up a few decades later, only to act as if it could never possibly happen to them, has been disheartening.

People keep forging shackles and never pause to ask if the manacles might fit their wrists, as well.
UIKit has enough abstraction to allow not knowing the magic numbers and looking right. What with safe areas, margins and reading guides, all this has been possible for many years now.

The problem isn’t the API; it’s terrible product managers and designers, usually from the web world, who think they know better and ignore platform APIs for hard coded numbers. SwiftUI won’t save those clowns from themselves unless it completely takes control out of their hands, like WatchKit.
> You are pretending they are deliberately doing it.

Are you saying they're doing it by accident? Even if so, that means they're negligently handling the data. And if not, they're purposefully disobeying the law.
I had a little insight into the esports gambling world at one point and it answered some questions for me about why there's so much money being thrown around there. I'm guessing (no evidence, but a strong hunch) there are a ton of shenanigans going on, as that whole side of things has a very wild-west feel yet there's a lot of money moving around.

Some folks at the same place helped me figure out what Venmo's social transaction messages are useful for: illegal gambling pools. I'd been wondering why those features exist or who'd want them, then saw it used for that purpose. Suddenly made sense.
Oh, completely agree! And I certainly don't begrudge people needing an escape/relaxation.

Just a reminder that those in power are banking on others giving up and pointing out the issues at play. It's very easy to sink into an opiate-driven world.
> This is a reminder that opting out of controversy means tacit approval of the existing power structures.

No it doesn't. There are quite a few reasons why you might opt out of having a position of a controversial subject none of them mean you tacitly approve of the status quo.
Aw..heck. I'm not gonna get into back-and-forth.

I will say that I have been developing Apple software for 34 years, so I tend to be a little on the.."hard-boiled cynic" side.

I have taken OpenDoc and QuickDraw GX classes, because they were "The Next Big Thing."

I also busted my butt, making sure that my apps were "Copeland-ready" (Darn it, now I have to do fifty push-ups).

I've learned that it's a good idea to stand back a little, and let the eager beavers soak up the bullets.

I love Apple (see "34 years," above), but they are absolute Charisma 18 hype machine masters.
And by that, I mean I got that same email. And I definitely live in the US. Please cite sources of them actually moving [your] data to Google LLC and or US.
Have you VPN'd into the UK or had activity there recently?

It says on your website that you worked in London.

This email is likely a courtesy notification because you had activity in the UK, a UK billing address, or something that put you there, meaning if you have activity there again, the controller will be different.

What this email does not mean is that your Italy based activity is going to a different controller, so how exactly is this illegal?
The individual in this case is an Italian citizen living in Italy.
Oddly enough, high deductibles also work well for those people who maintain their health and prioritize it financially.
If the passive aggression from early birds weren't so intense, us night owls wouldn't have such a chip on our shoulder. But it is. Just look at the early birds in this thread: nearly every post equates their schedule to virtue.
It’s not a matter of thinking DNSSEC is required by every government or higher ed account; it’s obviously not.

But different government agencies, colleges and universities have their individual requirements and for some of them, that may include DNSSEC.

Everyone knows all new gTLDs are DNSSEC-signed.

Like most global-scale companies, apple.com isn’t signed because of 40+ years of technical debt as the internet evolved.

But if Apple wanted to utilize DNSSEC features for future services, they could do so by using the .Apple TLD.
Currently yes but we’re not tied to it. It just makes it easy to get started (for us and the users).
This, exactly. He's providing a definition of the term "useful writing" so that he can use that phrase throughout the essay and know that the reader knows exactly what he means.
> Instead of just using foldr, you've reimplemented it, and don't even know that!

This completely misses the point of the article...

The author demonstrates a general concept (type holes) on a simple piece of code, to explain and motivate how he used it the exact same methodology on a much more complex piece of code, `hoistStateIntoStateT`.
> First, I don't think this is actually a "safer infrastructure" compared with other DNS encryption schemes, because it opens a new hole.

Browsers are completely correct to treat the network as hostile in their default configurations, unless explicitly configured to trust something. More prevalent end-to-end encryption is a good thing. And DoH makes it easier to get encrypted DNS requests through without having them blocked by hostile networks who want to intercept those DNS requests.

If an encrypted DNS scheme is blockable by you, it's blockable by an ISP. There will not be an uproar about it, any more than there's currently an uproar about ISP's selling DNS-based browsing information about their users. It will simply fail.
Did you record an improvement in sex data during the bed sharing experiment?
I still don't get it. Why is Babel needed to use JSX?
Not the right place. Have you tried doing what you suggested? Because I end up on this page which, as expected, tells me that this is not the right authority: https://edps.europa.eu/data-protection/notre-r%C3%B4le-en-ta...

> Data protection supervision over private organisations such as companies is carried out by national data protection authorities. All EU Member States have at least one such authority.

> You can also take up your complaint with the courts in the relevant Member State.

> The EDPS is not competent for complaints against such private organisations; we can therefore only refer you to the relevant national authorities.

Instead, you can find national authorities here: https://en.wikipedia.org/wiki/National_data_protection_autho...

The authority in the country where the headquarters of the infringing company are will handle your complaint, as per GDPR article 56(1)¹. I don't know what happens if you complain to your local authority, they might just forward it themselves or maybe they'll tell you that you're in the wrong place. It shouldn't matter much since GDPR is EU-wide, so you can just send the same complaint to another address.

¹ https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...

In Google's case this is Ireland, so the correct link would be: https://forms.dataprotection.ie/contact

Note that I am not saying anything about the article, whether Google/Alphabet is wronging anyone, or calling for anyone to file a complaint. If you want to file a complaint based on what others said, this would be the place.
There was a period of UI design in the late-2000's (late 90's, if you include BeOS) where desktop gadgets caught on, and I thought that was a pretty good implementation of the general idea.

Then it all vanished for some reason.
> Based on the comments here, I just need to have a kid.

Sorry to say that, but in my case it did not help, made things worse instead. Seriously. It forces my body into unnatural rhythm and feel sleepy most of the days. Even if I get 7..9h of sleep.

Oh, how I love those productive hours from 22:00 till 03 in the morning and waking up between 10 and 12 next day fully rested!
In the Mozilla/Cloudflare brave new world, Cloudflare is front-ending and MITMing all HTTPs in any case... so the IP isn't informative.
It's difficult for many small businesspeople to do bookeeping, but guess what? If they want to do business and comply with the law, they do it.

If they procrastinate, or do it sloppily, because they decide to do other things with their time than prioritize keeping their books properly, they are deliberately not doing their bookeeping.

It's the same thing with accessibility. People will say, "Our app isn't accessible, but that wasn't our deliberate choice, we just haven't tried to make our app accessible."

Nope. When you chose to spend time growth hacking instead of accessibility hacking, you deliberately chose money over accessibility.

Google does not get a pass because they didn't deliberately set out to do the wrong thing. By not choosing to do the right thing, the right way, they deliberately chose to do the wrong thing.