skysight-inc/HackerNews huggingface dataset:
I must admit I’m a big fan of the UniFi stuff too - for prosumer use it’s excellent, has a tonne of features and for the most part is fairly stable. Just a shame that sometimes they abandon hardware a bit too soon, or promise features that never materialise.
> In the UK a glass of wine with food every night would be seen as part of a healthy mediterranean diet and health advice on alcohol was refocussed to discourage binge drinking,

I don't understand what you mean.

Public Health advice on alcohol in the UK has been pretty consistent for many years. There are 3 changes: the limits for men went from 21 units a week to 14 units a week; the advice to pregnant women to avoid all alcohol became stronger; and the advice about not allowing under 18s to drink alcohol became stronger.

In 1987 the advice was pretty close to what it is today.

http://www.ias.org.uk/uploads/pdf/Consumption%20docs/A%20bri...

We don't know if there's a safe limit

men should drink no more than 21 units per week

women should drink no more than 14 units per week

both men and women should have 2 to 3 days drink free

the total number of weekly units should not be drunk in 1 or 2 bouts.
> OP is already using a server-side build process to generate the static site

The site doesn't use any build process. The gen_static script was an experiment that I didn't make it very far with. I may eventually get back to that.
I keep saying it. Whatever non-code representation you may have for your logic -- dataflow diagrams, interpretive dance, Minecraft redstone, whatever -- you need to make it unambiguous enough that a machine can act on it in a well-defined way, and once you do that what you have is isomorphic to a construct in some textual programming language. And lines of text are going to be easier to input, edit, and maintain than your chosen representation, barring some major UI revolution.
> The way this type of thing is usually accomplished in 2020 is to open the video on your phone, then tap a "cast" icon and tell it to send the video to your TV.

Is that really typical? I just put a file on a USB drive, and plug it into the TV to play.
Command-Line Interface – Tmux
It does feel that way.
This is an example of a thing they do where they make a point of responding to things that get media buzz, so if you see something elsewhere it is usually worth googling to see if they have a response.
The verbiage also indicates a fair amount of bias...

> because they absorb more than 90% of the heat trapped by the greenhouse gases emitted by fossil fuel burning, forest destruction and other human activities

Up to 90% of greenhouse gas volume is water vapor... human activities definitely have an effect, but the statement above inflates the involvement and creates an alarmist feel.

I'm all for making better choices and policy change. Throwing away money on things that won't help or disguising political interests behind the environment won't help the planet as a whole.
Small (8 oz./235 ml) servings of beer that are very much meant to be savored are very common in bars in the U.S.!
Yes, absolutely.

But to hear it explained that way, it just seems like wishful thinking based on a circular reasoning, that invites an invocation of the rule... "We spend too much on our developer staff, so in the future we have adopted a strategy where we will avoid most of the things that we need a team of developers for, so that our developers have less work to do, so that we can have fewer expensive devs (of which we know we cannot dispose entirely, [because we are subconsciously aware without them, there is no innovation to speak of at all.])"

The problem that "Low Code" or "No Code" addresses is a real one, where devs like myself, (surely not myself, but someone more junior...) confuse poorly architected slipshod solutions for innovative ones.

If we could reliably keep our code as simple as it ought to be, the market for tools like this would probably not be as large as it is.
Just downloaded this to see. It has a log which within a minute blocked 6 ad networks. Great.
Trusted as in not reporting data about my use of the boxes or what I'm watching to anybody other than the sources of the video.
No, smoking is usually defined as smoking daily. But there's so few people that smoke less-than-daily that they aren't usually included in these sort of studies so it's harder to say what sort of effect it has.
I just think it's important to properly identify the nature of the problem, so we can try to solve it.

Many people assume that we don't have factories anymore because of automation, but worldwide, manufacturing employment is still enormous. An import economy is good in some ways, but it's bad for people who would like to have a factory job.
Hah, fascinating. I've read a bit about that anecdote where Warren Buffett set a public challenge to outperform a basic index fund, and I was stumped as to why hedge funds are as popular as they are. You'd intuitively assume that agents become more rational the farther up the ladder you go, but this seems like a testament to the contrary.

It reminds me a little of a blanket email that was sent out to the entire mathematics department while I was a grad student. The sender was looking to poach people who'd be interested in implementing his idea for the sports betting industry. He explained that he understood that any strategy was likely to have runs of poor performance, and his idea whenever it happened was to "swap" to a better performing strategy which was having a good run at the same time.
Related to what the author experienced, has anyone ever actually gotten Miracast or WiDi to work from android to a smart tv? I've tried it now on multiple different phones and televisions and it seems to me to be completely broken in all implementations. Am I missing something obvious here?
Social media companies censor content under U.S. pressure
Have to say I'm not a fan of Plaid at all.

Dark patterns galore. Absolutely no indication when you go through a Plaid flow that you're likely giving away much more than just the bare minimum account numbers to push money in/out of your bank account. Often, you're also giving away transaction data, identity, real-time balance, etc. There's no way to know prior to linking your account.

I had high hopes that would have made things more transparent given the new CCPA laws that went into effect on the 1st but have not seen anything change.

Edit: I think the 4D chess move here by Visa is the amount of data Plaid has. Bank transaction data from all types of transactions, not just Visa ones, is massively valuable.

If people were concerned about Google acquiring Fitbit data I would be incredibly concerned about Visa basically buying all financial transaction data...the FTC should really investigate the acquisition.
DLNA is slightly maddening because it's clearly supposed to be the solution, but was built by set-top-box UI people and therefore has terrible UX. Basically Chromecast exists because DLNA is too fiddly for the average user.
This might change with Caddy 2.0.
If I ever get a tattoo, I think it's going to be of that.
Svelte Status #22: visualize data with Svelte
You know, I was going to reply that the AppleTV isn't a good comparison here because they specifically wanted something that worked with URLs.

But then I thought about it, and the URL thing is a red herring. That's not what they really want -- that's an implementation detail. What they really want is the ability to play something from their local server on their TV. This is totally do-able in the Apple eco-system. The URL thing is exactly what you don't want. Who wants to type a URL into their TV using their phone as a virtual keyboard or not? (Which the AppleTV + iPhone combo does this great too...)

The best option is where you could "cast" any video/media you're watching on a phone or computer up to a TV. The AppleTV + iPhone (or Mac) combo does this great.
Show HN: Find the most important hyperparameters for your neural network
Appreciate this is a sample size of one, but IM has worked reasonably well for me. I lost nearly 3 stone, my weight's up a little since then but I'm still within a pound or two of my lowest fat mass over a year on.

All it really is to me is skipping breakfast and not snacking after my evening meal. I only ever had breakfast because people told me it wasn't healthy to skip it. Not so sure they were right now. I still pig out at lunch, dinner and in between times.

https://i.imgur.com/v0OGPVz.png
We are also using Okta for SSO, and it has definitely made our life easier for enforcing identity based access. But the issue is Okta is only involved at session setup. We want to model our access based on google beyondcorp recommendations. But from your post, looks like you don't think there is anything out there currently, that can help us architect that kind of access model? What do other readers think? Seems too extreme to me.
"APIs are not code" - most APIs are literally part of the code.

"The decision to have a function called `sqrt` and put it in a module called `math` is not creative, and it is definitely not artistic."

Yes, it absolutely is, in the sense that literally any arbitrary sentence or gibberish that I write is creative and copyrightable.

I can copyright: "Blahdy Blady Blady Blah" right now.

API design is as creative as any other part of the code.
Asylum Decisions Vary Widely Across Judges and Courts
The traditional role for women has been to stay at home and take care of children, and while it's not the majority anymore, a significant amount still choose this path. Also, there's no stigmatisation of women who choose not to work.
Thanks for the figures, I was just using the most quoted figure I saw.
This Christmas I finally took the time (which admittedly didn't take long; I was just lazy until now) to set up LibreElec on my pi and hook it up to my TV, and I honestly don't know how I've overlooked this for so many years.

It's a DLNA/UPNP client so I can cast anything I want from my media server on my computer to it (Bubble UPNP is a great app to control all this from my phone) and even though it doesn't have "cast" built into apps like Youtube and Twitch, they're all supported as addons so you can still get 90% of the functionality, so I can finally throw away my Chromecasts. Plus you can either use the TV's remote with HDMI-CEC out of the box, or hook up a wireless keyboard.

With another pi running TVHeadEnd that I feed my aerial into, I basically don't need any of the builtin TV software anymore, Kodi just controls it all. It's a pretty liberating feeling.
2020.02 Important Things – Rakudo Weekly Blog
Drinkers actually exercise more. So maybe they don't quite snowball.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2747097/
It's fun to see how we kind of reinvented goold old DNS as soon as we use HTTP/3 for DoH. It runs on UDP, but with HTTP in between (and encrypted, of course). We could have done that with DNS itself, but somehow this never gained traction.
Almost certainly not, they're very likely collecting viewership data unless not doing that is explicitly called out. But there is some good news! Since you're watching a lot of things that are being served over the interwebs your data has likely already been entirely harvested by the provider companies anyways!
Dumb Screenplay Robot
I'll bite - what do you propose modern societies do? The world has changed and is changing more rapidly every year. Folks on this forum (me included) spend our days thinking of ways to remove humans from work. Now, if there is no work and the only possible value a person can have is tied to work then what do people who are automated do precisely?
What you need is a speed bike that lets you switch to a mountain bike when you decide you need/want to go off the trail. That is, a "no code" or graphical or whatever whizz-bang tool that lets you drop into C++ or Python or Lisp or whatever when you need to.

And to do this, it needs to be better than JNI in Java. It needs to be able to have something better than a gouge-your-eyeballs-out-ugly syntax for interfacing to the "real" programming language.
However, it seems, that isn't even out yet:

"Bank syncing is a critical feature that is coming soon!"

You can manually import QFX/other standard formats though, but not all banks have exports of this, and it's very manual.
Also ports. First MacBook Pro ports sucked and weren't firm at all. New ones are great. Some connectors are actually too hard to push in.
Mystery Underwater Device Lost by U.S. Navy
> (but especially men, given the propensity of the male psyche to become dependent on dopamine)

Where is this from, sounds interesting?
From a utilitarian perspective, there are follow-on effects to homelessness that we don't want to encourage. That's why.
This is the take the feels closest to the mark to me.
My 70" Samsung TV is just being used as a dumb monitor. It's hooked to a small windows 7 HTPC box. I use Media Center to get my DRM cable using $1.50/month cable cards from the cable company (comcast), so don't need to rent their equipment (except the cheap cable card). I can play 100% of everything and don't have these "smart tv" issues. Skip the smart tv stuff and just use it as a dumb monitor. The TV isn't even hooked to the net. No update notifications, ads, or anything else. Everything works seamlessly with macros on a single Logitech remote that is now about 7 years old. I love this setup. I can access anything from anywhere in the house on any device and it always "just works." It has been for many years. Recently MS ditched their program guide, which sucks, but there are alternatives that make it work and hopefully live on another 10 years.
sounds like a cool project. let me know if you want a beta tester :)

i too all a solo founder working on a better way to index knowledge bases so you can actually find information when you need it (alphacortex.io). always love to talk more about making sense of knowledge
>The difference now is that automation is rendering the hill insurmountable.

I would say "the difference now is that the failing educational system is rendering the hill insurmountable." Automation is just tools. Reasonably able people can learn to use tools. But they need the means to do so affordably and effectively. Our system of education, however, is largely stuck two generations back and not up to the task of preparing people for the fast-moving world we're now in.

And this isn't even the fact that textbooks are out-of-date before they see print, or that greedy publishers keep educational materials locked behind arbitrarily high paywalls. The problem is deeper: people are not taught how to learn, and are in fact taught to fear learning because learning means judgement. They are not taught the joy of self-motivated learning which gives them the drive to keep actively learning on their own, which I believe is becoming an increasingly crucial trait to succeed at work.
Do you have examples of delivering actual production applications with a graphical programming language in less time than developing the same thing with a traditional text based language?
It's funny...I don't drink, never smoked, and don't eat meat or sugar, but I'm not really hoping to live until some crazy age.
Yup, that app got me really close. It even worked for about a minute, but I was unable to reproduce the success (that was infuriating).
> not smoking

It's a pet peeve of mine, but I really wish smoking weren't presented as a binary choice in medicine and science.

I know a lot of people who smoke socially but only socially. They probably have an average of somewhere between half to maybe five or six cigarettes a week -- less than one a day, universally.

(For comparison, it's believed that addiction only starts to kick it at around 5 cigarettes per day.)

It would be nice if studies used granularity for smoking akin to that used for alcohol.
Anyone who starts doing anything "in production" based on a "maybe you don't need k8s" article should step back and think about whether they are the right person to put things into production.

Are you bootstrapping your stealth-mode side-project? Pick whatever you think is best, but think about the time value of operations. (So maybe just pick a managed k8s.)

Are you responsible for a system that handles transactions worth millions of dollars every day? Then maybe, again you should seek the counsel of professionals.

Otherwise these articles are just half-empty fuel cans for an (educated?) dumpster fire.

That said HashiCorp stuff is almost guaranteed to be amazing. I haven't even looked at Nomad, but I think anybody starting out with orchestration stuff should give it a go, and when they think they have outgrown it they will know what's next. Maybe k8s, maybe something else.
Expanded this into a post after thinking about it more: https://www.jefftk.com/p/repossessing-degrees
The study actually does show small positive effects to alcohol, but it's also trying to differentiate alcohol (minimal impact at low doses) from smoking (strong and strictly negative impact at all doses). You can see the study's alcohol results by dose here: https://www.bmj.com/content/bmj/368/bmj.l6669/F2.large.jpg

From the study text:

> We observed a relatively small difference in life expectancies across different levels of alcohol consumption compared with other individual lifestyle factors. The cardiovascular benefits of moderate alcohol consumption have been consistently observed in large cohort studies, but alcohol consumption and risk of cancer showed a dose-response relation. Thus, current guidelines do not encourage a non-alcohol drinker to start drinking just for the benefit of preventing cardiovascular disease.

Female life expectancy peaks in the two lowest non-zero ranges, and disease-free expectancy at the second-lowest specifically; male life expectancy rises all the way to the top of "moderate" consumption, and disease-free peaks at the top two "moderate" doses. Presumably that's partly from men being larger and metabolizing alcohol faster, and partly from men being at higher risk of heart disease.

(There's probably a healthy-user bias here too, since there are conditions and medications which weren't checked for that would make people unable to tolerate alcohol, but that's less relevant when comparing different doses.)
> Any suggestions?

Lobby your lawmakers. Banks have no incentive to provide open APIs.

For example, in the UK banks did nothing until they were forced to - the market regulator now requires the nine largest banks to provide an open API (https://www.openbanking.org.uk).
Is there an alternative with similar ease of use, i.e. you just pack the files, create a Dockerfile, and push it live?

(For same reasons as other comments, I don't want to use another Google service for this, risk of being locked out, etc.)
There's a reason that Smart TVs (and set top boxes, and streaming sticks) usually don't allow you to load an arbitrary URL: it increases the attack surface by allowing you to load any arbitrary endpoint on the Internet. When you "cast" from an app on another device you are casting something that app understands is not a generic endpoint, but reference to an object in the app's library.

You can disagree with this reasoning. It should be possible to safely load arbitrary endpoints and not ever execute an attack embedded in it. But then it wouldn't be called an exploit, would it?
Inefficient compared to what? Fundamentally you have to shift the same N bits per second at a reasonably uniform speed regardless of how the transfer is done.

Your main enemy in this process is, as usual, middleboxes, which may be a bigger problem for the advanced protocols. This is why Apple created the bizarre but effective HLS system: https://en.wikipedia.org/wiki/HTTP_Live_Streaming
> Around 1960 some people seriously claimed that within about 5 years there would be no more professional programmers because with this new language, everyone could write the software they need themselves, since it was so easy to use.

Of course that prediction seems quaint now, but I posit that the prediction failed because they greatly underestimated the increase in demand of software as much as overestimated the expressiveness/productivity increase of COBOL (and later systems).

Heck, considering what a professional programmers job might have been like in the 50s, its not far fetched at all that such profession indeed has disappeared as modern programmers work at such a different level of abstraction
> Additionally, Nissan has the #4-selling electric car, and Chevy has the #2.

From here: https://insideevs.com/news/343998/monthly-plug-in-ev-sales-s... - by # of units sold, no one is even close to the Model 3. People with money to buy electric cars with can probably afford a $50k car (Model 3) that does everything well over $less cars that do everything kinda poorly.
My shield also keeps stealing focus. When I turn on the switch, the TV turns on, then the shield turns on and steals focus from the switch, and I have to go grab the tv remote and turn it back to the Switch again.
Off topic: reading back through your comments here, I was surprised to learn you're Danish. Your written English is completely native and natural: is this typical of Danish people? Can schools be that effective?
I didn't interpret the post as being about men throughout the world, but only men w/in the USA and so that is the context under which I posted.
You Seem to Assume that the language in question and the API’s must have identical license requirements. Sure, if someone write a novel in English they can get a copyright on the book but not the language. But If I invent a different language and publish it in a book, why should I lose the rights to it simply because of what the language is or how people would use it. You can’t copyright the European history because it’s facts, but you definitely can hold a copyright to the Written. history of Westeros.

Also, just to note. Even authors of completely proprietary languages want people to use them. Only they also want to make money when people use term. The intention that people should use your product does not give anyone rights to copy outside of license allowances or to break copyright where that applies.
I don't have a Chromecast. I have a Roku TV. One of the implied points of this article is that the solution I'm suggesting would work for any device as a fallback, let them implement whatever other fancy protocols they want.
To find the units you multiply the serving size in litres by the number for the ABV.

So, a 250 ml glass of wine at 12% ABV is 0.25 * 12 = 3 units.

In the past when units were created wine was about 8% ABV, and a serving size was about 125 ml, which gives 0.125 * 8 = 1 unit per glass. When you see advice saying "one small glass of wine is about 1 unit" it's a bit misleading, because currently in the UK one small glass is going to be about 175 ml, and the ABV is going to be about 12%, which gives about 2 units per glass.
Other appliances. Set top boxes, refrigerators, washing machines, doorbells, anything someone thinks should be part of the "Internet of Things" product line they sell.
> No offense to Visa, but I don't think of them as the most innovative organization

Visa is a $434B company. I guess "innovative" is subjective but their valuation trajectory has looked like a high growth tech co over the past 5 years.
Thanks for the pointer! I'm having trouble categorizing this one, tbh. (also its relationship to what dwohnitmok says on this HN discussion)

Superficially, the code on this Wikipedia page looks like the bracket pattern in similar to the `dynamic-unwind` low-level function and friends in Scheme and Lisp - but then again I realize the notion of cleanup probably only makes sense when mutable state exists :)

How does that look in practice? Is there a clever way to use the bracket operator together with Haskell's syntactic sugar for monads?
Then in that case you will have to go open source like a Plex or Kodi box. Raspberry pis work nicely for this.
I have a hard time taking the author seriously if he confuses low level vs. high level languages for primitive vs. advanced in language design.