skysight-inc/HackerNews huggingface dataset:
Why is the Queen involved at all in regards to Parliament? The spectacle with Boris Johnson and the Queen was quite a sad joke on supposed British democracy.

So long as the Queen (royal family) has any political capabilities, Britain is a partial democracy at best. Realistically they're still a mixture of monarchy and democracy, as they have been for a long time. Although people certainly likely to pretend the royal family has no tangible role or political power (because they want to pretend to be a modern democracy, while retaining the monarchy which they culturally have affection for; which is another way of saying they want to have their cake and eat it too).
The only times I've ever seen the question "In what country was George Washington born?" it's always been a trick question with the answer "hah hah, it's Britain I bet you didn't think of that!" or some variation thereof.
Thanks for the full reply! That's even cooler then it initially sounded.
Ask HN: Need feedback on a project where one file (blog.json) can build a site
So the entire project is WIP, because like the title, I'm not sure if there is any value in it. Perhaps, but I'd love to hear about any ideas others might have.

I did write a WIP blog post, hosted on generated blog from a single blog.json file which you can read here -> https://ajaxdavis.com/post/Introducing-JSON-Blog/

But I will try summarise in this post also the why.
I've always sucked at maintaining my blogs, but always have kept my content in various places e.g. dropbox, drive, gist, repos etc

And I've always wanted something simple, might not appeal to most (this project tries to allow for the bells and whistles though), so I had the idea that a single file should or could be able to generate an entire static website for a blog.

To support differentiation of themes and functionality I made up this idea of a `generator` much like a `theme` in WordPress or any alternatives.

My WIP boilerplate generator can be viewed at https://github.com/jsonblog/jsonblog-generator-boilerplate
The idea is that you pass a map/object/dict to a function that returns an array of files that has the properties of {name: 'blah.html', contents: '<h1>ghost are real</h1>'}.

From that output, you are perfectly able to generate it on the file system, and then host it on the interwebs where ever you would like.

It's meant to be an open source project, and just for fun cause 2020 is so and so.

I've setup an org to maintain the repos -> https://github.com/jsonblog

And a WIP homepage https://jsonblog.org

Be ruthless or kind, all feedback would be much appreciated.
Eyeballing 2d plot is important statistical tool.

If it looks like a blob, correlation coefficient is usually meaningless. You can instantly see if the relationship is linear, quadratic, piecewise linear or quadratic, mixture, clustered or even dinosaur.
All apple devices I’ve used in the past years tell you when the battery is degraded to the point it needs replacement. However, especially iPhones can be in situations where the battery may still be fine for most usage, but still not be good enough to support the required power draw - for example when it’s cold outside (aka winter). I much prefer my phone to slow down in these situations over shutting down as earlier versions did.
Mobile App Stats for Developers in 2020
Just search for DeFi (decentralized finance).
I'm pretty sure he didn't. The US has the notable distinction of performing genocide on an entire continent of peoples and cultures in the process of replacing its population with settlers. I'm sure more then a few people in China justify ethnic cleansing with "The US did it and now they're the most powerful nation in the world. Maybe they were on to something. Well, better late then never."
The short answer is they don't and it's pointless to ask about it since these flights are conducted under part 91 for private aviation. There is almost no charter or scheduled flights allowed on single engine aircraft in Europe and the few that do exist are using single engine turbines on an exemption (the exemption is based on the fact turbines have a demonstrated order of magnitude better reliability).
I don't know, not everybody has a macbook or a magic mouse. Plus even old, small, unprecise PC touchpads were enough to scroll a website.

To me, it looks more related to the recent fashion of "minimal" interfaces. Like material design and ultra-skinny fonts. Could also be related to the "infinite scroll" some sites have. A scroll bar doesn't make much sense for those.
Does anyone know why the above post gets downvoted, even though it's only inquiring people for opinions, and not even presenting its own opinion?

What have I done wrong, and what should I have done differently?
There was a huge push for "new coders" to start their own blogs about problems they encounter and such, especially as part of the bootcamp that I was working for. I wonder if that is still a thing.
Here's an example: https://observablehq.com/@d3/bar-line-chart
Coaching Without Doing
To be honest, I'd be a lot more worried about physics PhDs then I would interns. I've seen plenty of 20 year-old engineering students write solid low-latency code. I can't say the same thing about string theorists.

It'd be pretty unusual for junior or non-technical people to write code in "core" components of the system. Things like datafeed parsers, order handlers, inventory management, safety checks, networking libraries, exchange connections, etc.

But even with all these layers in place, you still need an actual strategy to run at the end of the day. Everything in the quoter can be optimized to hell, but if the strategy module is spinning for 1000+ microseconds because it's running some bloated ML model, then none of that really matters.

Usually the system engineers and the strategists are different people. Not always. Especially in the case of more straight-forward mechanical strategies. But anything reasonably complex usually requires dedicated quants with different skillsets than profiling C code.
> like when coders are writing algorithms for say, 10-15 years I bet their code gets a lot more compact and sleek looking , almost akin to tight 3 character variable leet code solutions

I have never seen that to be the case unless in an environment with very heavy constraints like embedded. If anything, a competent programmer 10-15 years in would skew towards more descriptive and clear variable naming as they've been burned in the past by having to maintain some of that "leet" code.
But the touchpad won't help you visualize where on the page you are.
I'm not expressing a pro or con opinion here, but I'm curious. Did this same conversation happen when we started light polluting the city? Was this why observatories adapted by moving to darker locations?

On the surface this seems a wee bit absurd, but I wonder if a case could be made that it's time for more space-based telescopes.
> coders are writing algorithms for say, 10-15 years I bet their code gets a lot more compact and sleek looking , almost akin to tight 3 character variable leet code solutions etc..

What are you talking about? I've been programming a long time, and clean, readable code with clear, descriptive variable names gives me a stiffy. It suggests a more meticulous mind than mine wrote it.

You know who writes the worst Gordian-knot code? Engineers from other disciplines who learned programming as a means to do other engineering calculation. Smart guys, but it's a pain keeping track of what i1, i2, i3, and i4 mean, or their 1970s FORTRAN program flow.
> Yea on macOS, the scroll bar is less of a scroll bar, and more of a scroll indicator. There just isn’t any reason to click on the scroll bar if you have a trackpad.

I've seen so many web pages whose "fold line" just aligned so neatly with the end of my viewport that without the scrollbar being visible I would've just closed the page, being disappointed that it's just a meaningless hero page with no content.

Similarly, if stuff like selection boxes align just right, you simply can't see there are more options without a scrollbar. It just looks like you only have those options that are on the screen right now.

It's just plain bad UX coming from Apple.
How much does the bloom extend in the image fom the streak? Can you measure it in arcminutes or is it optics dependent? Is the bloom present if you cover up the satellite exactly? (Is it caused by the sensor, or would diffraction around a shutter cause it as well?)

I think you could mitigate the problems with conditions changing if (instead of blocking out the streak in the image with some per-area shutter) you tracked the satellite in the image with a horizontal (or vertical) shutter stripe which has the right width to cover the entire satellite. This would make the data lost really minor, and changing conditions wouldn't be a problem, and the exposure would be even. Does that make sense?
right, i'm talking about implementing something new. if you're trying to refactor or alter an existing codebase, it can be even easier: you add another test to an already existing suite.

i don't think i've ever sat down, written tests for a completely new implementation, only to find that i need to add a field somewhere. before i sit down to write tests, i do some preliminary thinking. i'm not saying, write tests without ever trying to think first. but do use tests to flesh out your change from outside of the black box.
Amazing story worth the read, if true - I've not tried to verify it myself, but I see that The Guardian, VICE, Gizmodo and others are now running with the story too.

The scarier part is one of the Reddit comments by AppleGuySnake down the page:

"I found this thread from someone on twitter pointing out that several computer language models use the Scots Wikipedia as their dataset for learning the language."
Human curated email that sounds like the perfect startup.
Andy and Michael Nielsen put together a set of very nice, flashcard-enhanced introductory lessons for quantum information sciences at https://quantum.country/ where they explore some of the mnemonic techniques that Andy talks about in his notes.
Sign In with Apple is not a panacea. UPS on-boarded me a couple of weeks after my initial registration, and the two services I’ve used it for (UPS and Etsy so far) have received my name from the initial registration process (a radio button selection and a bioauth).

I wouldn’t treat it as a privacy feature, I would treat it as a convenience feature. When I needed some extra mask straps, I installed Etsy, didn’t previously have an account. So I used Sign In with Apple to register, picked out some mask straps, and Apple Pay to pay. The whole process only took as long as it took for me to make a selection and two biometric authentications, but some of my information had to be exchanged in order to make that transaction possible.

Also I can login to UPS and Etsy without a password.
No, I mean finding short compositions is a bonus feature over finding a single function from example.
There is also this daily newsletter of hacker news blog posts https://hnblogs.substack.com
1-2% of the size of the entire Universe is trivial to you?
This is a myth. If you get blackout drunk and don't remember the night before, does that mean you ceased to exist in that time period? How can you prove any conclusion you come to?

The idea that being dead is the same as not being born seems like an elegant conclusion until you consider how much our perception of time varies even while we're alive, and it's actually an observation made after you gained your current consciousness; meaning that you truthfully have no idea what happened before you were born, only your current perception of it. What you're really saying is "I don't remember, and no one else remembers, therefore there was nothing".

Reality is unintuitive. Modern theoretical physics suggests that time itself is an illusion and that every state of the universe is superimposed into one unifying entity: past, present, and future. What does that mean about our perceptions of life and death?

The truth is we don't know much of anything, we can only speculate about it.
> but loses sight of what is lost.

Literally in this case :)
> Please don't complain about website formatting, back-button breakage, and similar annoyances. They're too common to be interesting

I partially disagree with this rule. Complaining about crappy websites might be annoying for old timers and experienced techies, but let's say a 22 years old fresh web programmer joins HN to read some news and discovers that the framework/library/tool his PM suggested produces a pile of crappy code that renders every site slow as molasses, and the same product is used on a site getting hard criticism about that; he could actually learn something and ultimately find a better solution for his job, ultimately contributing to make a better web. I know I'm taking it to the extreme, but you get my point.
I would rather change that line to something like "keep concise and to the minimum all comments about site formatting, slowness etc. and don't reply to those comments unless you can recomment a better solution".
Works fine on my ThinkPad in Firefox as well. But if I try to scroll with my normal mouse, it doesn't scroll smooth but a set amount per "click" of the scroll wheel. So it looks really laggy.
I'm on MacOS and have `Show school bars: Always` set, but I still wish the scroll bars were slightly wider.

They're undoing much of what Ive did to MacOS, it's time to include making scroll bars as big and useful as they used to be!
You're welcome! Yes, it's very cool. Unfortunately my job is kinda my hobby now and I'll need to change it somehow.
Wake me if you can program multiple threads by using multiple colors.
The datasaurus is an interesting concept, but I think the biggest issue with most of our society is basic mathmatical fluency. This idea of "visualizing your data" or "sanity checking" can be expanded to a lot of situations outside of statistics.

In software engineering and electrical engineering this comes up all the time. Does it make sense for this log file to be 5 GB? Is it really 10 amps going into this shunt resistor? Being able to "sanity check" things mentally is an important skill.
Well yes, but in the end all languages have this sort of fractal nature.

But there is diminishing value in how deep you want to go into the rabbit hole. Of course there's always more to learn, but with C you're fairly quickly leaving the language and move into the layers of compiler- and hardware-trivia (good to know nonetheless, but often not really relevant for being productive in C) where in other higher-level languages you're still working your way through the standard library ;)
In that regard, not slowing down the devices with degraded batteries would have been substantially better. The behavior before was substantially more annoying: The phone would just shut down.
The class is a property of the zone as a whole, and it's usually known up front before the zone is loaded. So it's completely redundant in zone files.

You're right that the class is copied from the previous record if it isn't mentioned. (This behavious is required by the standard, it isn't specific to BIND.) But the catch is that it's an error if you use a different class :-)
Linear types would be even better though. Still safe like Rust.
Democrats beat Republicans in first-night convention TV audience
Are your majority of users really using a macbook? Maybe if you're a hip SaaS startup.
I set up a mute pedal going to my microphone so there's no dependency on software or even clicking with my hands. I just toggle it with my foot. But then, it's a full audio setup with a shure sm7b, preprocessor and audio interface, instead of your typical conference call headset.
How to compare that with this experience then?

https://youtu.be/v7AYyUqrMuQ

Also, it's interesting that on Twitter of sharing related articles you'll have Asian people with accounts commenting with very short messages simply saying "you're stupid" or similar without explaining themselves nor actually engaging with the comments - their replies getting 4+ Likes from near bot-looking accounts.

It seems the CCP is working hard to craft the narrative worldwide.
Owner of a 4K Sharp "smart" TV here. Menu is indeed incredibly sluggish. My old Zenith from the 90s has better response time, _and_ an integrated VHS player. Can't beat it.

The Sharp was the first smart TV I ever purchased. Heavily discounted at a holiday sale some years ago.

When I brought it home, I connected it to the Internet to see what all the fuss was about. They're nothing special -- you can launch your typical streaming, news, and weather apps, all from the same terrifyingly-slow UI.

A few weeks later, the TV forced an update on me. A pop-up appeared _on top of_ another (external) video source, interrupting what I was doing. There was no option to decline the update, not even "remind me later".

I decided to turn the TV off rather than be strong-armed into the update. But when I turned it back on, the update popped right up again. I tried blocking the TV's Internet access using my router, but this had no effect either. At this point I felt mostly defeated, and assumed I wouldn't be able to use the TV until I "consented" to the update.

Needless to say, the TV is not allowed to connect to the Internet anymore.

Another complaint about modern smart TVs: the remotes are horrible. I don't know if they're IR, Bluetooth, 2.4GHz radio or what, but not only must you have line-of-sight to the receiver, you must point _directly_ at it, or some inputs will be dropped.

The remotes also often have dedicated buttons for proprietary streaming services which I've carefully removed with a razor knife. There is absolutely no reason for the remote sitting on my coffee table to function as free advertisement for Netflix/Amazon/Hulu.

I understand these buttons on the TV UI, but branded buttons on the remote control? Come now. That's going to look quite silly in 15 years when some of these services are defunct, or when the TV's OS is out of support and the apps won't run anymore (like what happened to Netflix on the Wii, or YouTube on the PS3).

This is assuming the panel even lasts that long... given all the R&D that manufacturers must be pouring into unnecessary software, I can't imagine the longevity of these devices has done anything but shorten.

I continue to search for large, high-quality "dumb" panels that I can purchase, but it seems like these are mostly nonexistent in the consumer/retail space. Any dumb TVs I find are usually very small. Everything over 35" or so seems to always be a smart TV.
You Can’t Escape Lice, Even 6,500 Feet Below the Ocean

They really should change the title to "You Can’t Escape Lice, Even 6,500 Feet deep in the Ocean". Elephant seals most certainly can not burrow 6500 feet into the soil below the ocean.
Spacex is subject to the same OFAC sanctions as every other US business. They are free to do business with most of China, however there are a number of exceptions usually having to do with the company participating in construction in the South China Sea.

Doesn’t mean new sanctions can’t be levied and certainty China seems a likely target for future increased sanctions.
There certainly are more emotions. To add on to what you're saying, being thankful doesn't mean you're not guilty. However, it also doesn't imply guilt either.
+1. It's amazing what you can do with Vega(Lite) and/or Altair in little time. But once you want to build something that performs on the web you really need to rewrite things using another library, like D3.
Moving from GSuite to Migadu
Also own a Sony TV. I forget the app I needed to disable but you can turn off many of the parts of the "home screen" if you are willing to dig through their annoying menus and scroll through long lists of apps.

The way I look at these things is like a really cheap smartphone with a really great screen. Sometimes you have to search around online to find the best way to turn on/off certain "features".
I cannot agree more. When I started getting paid by the hour, I've noticed that doing about 6 hours of full focus paid work is about as much as I can do in a day with full productivity.
> It does so with runtime checks that are turned on in development and testing and turned off -- either globally or per code unit -- in production.

This isn't “memory safety”, with this reasoning you could say “C is memory safe if you use ASAN during debug”: it is exactly equivalent except Zig checks are less powerful than the full suite of existing sanitizers for C, but it's enabled by default in debug mode, which is nice.
Hey, shoot me a message (emteycz@gmail.com) when you're here, I can show you the city and would love to have a (not business) coffee with you.
I mean that a Mac with scrollbars enabled is still a different layout than Windows or Linux with scrollbars enabled. They all have different appearances, widths, etc.
Then create a free developer account. You only need to pay if you need to sign for distribution.
You may be right. You can not even usually go back to an older version of an application if you want undo some bad decision by the developer. Source code is spotty if you can get at it. Your data is locked in by them on some server you do not control. In some cases they do not even really control it.

I would add the other anti pattern companies use is opensource vendor lock in. They take what would basically be a 'meh' product and put good stuff ontop of it. But to get that 'good stuff' you have to buy their service contract. Sure you are using some open source. But the key bits are still proprietary.
> You were free to go anywhere in USSR.

No, you weren't.

https://en.wikipedia.org/wiki/Propiska_in_the_Soviet_Union

https://en.wikipedia.org/wiki/101st_kilometre
Infinite scroll pages have also contributed to their demise...
The section on separatism is unadulterated pro-authoritarianism. Examples of regions that have peacefully seceded from a nation abound. Norway from Sweden, Greenland and Iceland from Denmark, multiple states from the former Soviet Union. Scotland had a referendum on independence recently and though they chose to stay part of the UK, there was no threat or chance of violence. Freedom to seceded, or coerced union are both choices and 'everybody does it' is the worst excuse ever. Pure whataboutism.

The fact that the US has indivisibility in it's constitution is a weird historical wrinkle, and one I find hard to reconcile given that they chose to separate from Britain. How they didn't recognise a general right for self determination is beyond me. But then I am a Brit.

I'm married to a former Chinese citizen and have family in China, and while Ive not lived there I've been many times. It's oppressive enough of minorities just in the relatively peaceful areas I've visited. There's a superficial respect for ethnicities, but that's coupled with a sustained campaign of cultural suppression, dilution and colonisation.

For example there's no smallness of degree of ethnic blood too thin to count as part of that ethnicity, and ethnic groups get privileges Han don't, encouraging registration as minority members. Plus registration is just a matter of getting 'notorised', which is an unbelievably corrupt system. The result is that the vast majority of official members of 'ethnic minorities' have virtually, or actually no connection with the ethnic culture, but get full say in how their 'minority' is represented and treated. All the people who get an official say in minority relations are functionally 100% Han, and party members to boot.
Having a Website vs. Having a Web Presence
Actually, the worst are mathematicians. Go find some quant code.
I guess it depends on your scrolling device and browser? Using my mouse wheel the animation feels as if it was jumping 20 frames every time I go up or down, which makes it really frustrating to read text content or even see what the animation is trying to demonstrate.
Amazon Halo wearable tracks activity, body fat, emotions