skysight-inc/HackerNews huggingface dataset:
That qualifies as significant value for the consumer - making the device notably (relatively to the price of the rest of its parts) cheaper to produce and easier to repair.

In just so many cases using a proprietary DC jack (like in my Dell laptop) decreases the value by forcing you to carry around your PSU wherever you go and buying overpriced replacements every now and then. The same applies to batteries - having a single (or some) standard for easily replaceable Li-Ion blocks would increase the value a lot.
> If someone can survive comfortably without working then that is exactly what they should be doing; work isn't especially fun unless someone is a bit lucky with what they enjoy.

As someone planning on retiring early, I completely agree, but these men are dependent on government benefits, which, being taken from my paycheck, are lengthening the amount of time I have before I can retire.
I love the example of HIIT. I discovered it inadvertently 10 years ago when I switched to recreational sprinting as a primary form of exercise. It results in excellent physical conditioning with a minimal time investment (about one hour per week total).

Establishing habits is difficult and complex. Finding highly efficient (in time, energy, drudgery, money, etc) ways to achieve a desired outcome is a critically important cornerstone of that process, in my experience.
Electricity Shock: Toyota Camry Cheaper to Fuel Than a Tesla Model 3
some sort of "common business-oriented language"?
Here's my little suggestion for all those looking for an alternative to "Smart" TVs:

https://www.amazon.com/s?k=42+inch+computer+monitor
Location: Italy

Remote: Yes (exclusively)

Willing to relocate: No

Technologies: Rust, C++, Python, Pandas, Javascript, WebGL, Vue.js

Résumé/CV: Please ask via e-mail

Email: andreaofthechimney@protonmail.com

I'm a software developer and quantitative portfolio manager with 10 years of experience. I like working with statically typed, functionally-oriented languages (Rust!) on full-stack applications (among these, financial software with which I design, test and deploy trading strategies). I'm also experienced in interactive 2D/3D graphics programming.
You're right. Still fast code though ?
Yes, I was really surprised that they avoided upgrading to Python 2.7-level best practices and future statements for as long as they did and tried to hide it from most developers thru custom compatibility layers. Huh? That's step 0, getting except, stdlib imports, and print statements up to date. Folks can deal with that, that's the easy part.

Keeping blame details (and line-lengths, ha!) was given as the excuse and that is a nice feature and all. However they could have copied the repo over before porting to keep that information and saved time. Wouldn't be surprised if it was eventually lost anyway.
Does the person making your latte at Starbucks deeply care about making coffee, or about getting a paycheque on Thursday?

It's obviously the latter, yet cafes exist, and lattes get made.
> I see no evidence that this is a male thing, versus a female thing

I’ve yet to see a valid generalization for men that did not hold for women. Though sometimes the perspective changes.
Show HN: Werbot – a product for easy audit and control of access to servers
I mean, if you spent 20 years implementing nothing but static web pages and learning nothing then that prophecy would have come true by now, no? I don't see any jobs for just HTML and CSS anymore.
Yes, in the paper we discuss our benchmarks on Intel CPUs. But, as we mention in the final section, we also made the system work efficiently on IOS and Android, but we haven't open-sourced them in this release. This will be in our future work.

For reference, our system runs at 0.1 RTF on iPhone 10 using Accelerate framework under FP16 precision. INT8 should be better but haven't benchmarked yet!
Is the HTML processed using a DOM / visual parser? I’m looking for something like Readability or Diffbot that can extract rich text / markdown from web pages.
> Sparse checkout management made easy

Nothing about the following paragraphs of text sounds intuitive or easy...
I guess it depends. I have a German engineering degree and took a business administration course as a part of that. And in one of the first lectures our professor told us that The formal goal of the company is to maximize profit. Which seems to be just a more formal way of expressing Greed is good. But then again, this might be influenced by American business culture…
Yes, please. I was at an Airbnb in Austin last week, which had a Roku device attached to the TV. I usually bring along a Chromcast (or at least the proper adapters to get HDMI out of my laptop) when I travel, but this time I forgot.

I just wanted to play a video file I had on my laptop. I googled around, found that Roku appears to support DLNA, and tried to use Universal Media Server on my laptop. The Roku did find the media server, but kept claiming that there were no files available. Not sure if it was a video format issue (main-profile h264, ac3, and mkv are listed as supported by Roku) or something else, but at the end of the day I just couldn't get it to work, and I was bummed and frustrated.

Maybe play-this-URL functionality wouldn't've helped, but at least I would have felt more confident that it was a format issue rather than just some dumb problem with the huge DLNA tech stack.
MDMA researcher is fixing the bad science that sent him to prison
Please render your markdown on your server and not my client.
You're wasting my battery, man. Shame on you!
> The "speedy" part of USB-C is Thunderbolt

Sadly, it is (to the best of my understanding) not quite that simple.

The same physical port and cable that support USB-C can also support Thunderbolt 3. However, both ports and cables can support either just TB3, just USB v3.1, or even older versions of USB, with a dizzying variety of different capabilities and power-delivery levels supported.
> However, there doesn't seem to be any widely implemented standard for playing plain URLs, only walled gardens like the YouTube app.

I've had experience overseeing the implementation of a simple Chromecast application. It was a relatively painless process and worked pretty flawlessly with minimal code. It may not be a standard but it is totally accessible to anyone with a bit of Javascript experience.

I could imagine an evening hack session that would be a Chromecast application (maybe a browser extension) that you can paste urls into and it would play that way. Without even bothering looking, I would bet such an extension already exists in the Chrome Web Store.
In my experience, it depends on the cable. Some cables feel much better and don't come off as easily as others.
OpenWRT is great.

This release brings all devices up to the same (mostly) unpatched Linux kernel, 4.14.

For the popular Tp-link Archer C7 routers (and family?) you finally get soft off-loading with the new ath79 device-tree, meaning the device can now handle routing 600mbps+ where it before would only route 350mbps+. That’s massive!

The new client-side GUI is noticeably snappier on slow routers.

I’ve already upgraded all the 5 units I have in my home network, and I’m feeling it. I’ve kept settings despite recommendations against doing so, and I’ve had zero problems. Super-smooth!

Props to the team and everyone involved. Despite their modesty this was quite a release!
Admittedly the part about xUnit was a slight derail, but I felt it made some sense to mention, as an example for "the framework" invoking cleanup handlers for the developer.

The remark about unnecessary tearDown() hooks is probably worth a separate article and not a very compelling argument in such a short form.
I wrote this five years ago, and it actually made from the front page of Hacker News back then.

"We Suck At HTTP"

>"We have broken HTTP. We’ve done it for years in fits and starts, but apps have completely broken it. HTTP was a good specification which we’ve steadily whittled away."

https://gadgetopia.com/post/9236
"how many Mac/mercurial users are there?" - Hi! I'm one!

"how many of those users don't install a version of python not included with the OS". FWIW:

% which hg
/usr/local/bin/hg
% ls -l /usr/local/bin/hg
lrwxr-xr-x 1 eesmith admin 30 May 23 2019 /usr/local/bin/hg -> ../Cellar/mercurial/5.0/bin/hg
ITYM "I rarely have bugs in my tests that I'm aware of". The amount of tests I've seen that look like they are working properly, have been "verified" and are buggy is huge. Usually we find they were buggy because someone moves some other tests around or changes functionality that should have broken the tests, but didn't.

Please, don't ever assume that your tests are beyond reproach just because you verified them. Tests are software as well and are as prone to bugs as anything.
Yes, absolutely!
Model S Motor and Volt Battery Go Together Like Peanut Butter and Jelly
Possibly the most misleading name of all time.
Oops. Billion. It was late and I was sleepy.
FWIW, we have already working versions in Android, iOS but didn't have time to open-source it with the current release. This is certainly in our future work.
> Here is my plea: when you build hardware/software, please make it support the primitive, simple case.

Says a webpage that is just a couple empty divs w/o JS, and, with JS, is 4 hyperlinks, a few paragraphs of text, and absolutley nothing (aside from google-analytics) that ever needed any JS in the first place, let alone 5 or 6 files' worth of it.

But, I think that conflict really speaks to the funamental issue, here: Thinking about the primitive, simple case is often, from the creator's perspective, more work than it's worth.
>I think that when I write a good comment it gets buried and the only time comments are really popular is when I write something trite or silly that a lot of people are already thinking.

probably more to do with the gamification of user generated content. you see the same thing on imgur and reddit: the well thoughtout comments don't get up voted nearly as much as the memes and injokes.

>I am all for new architectures. But the trick is getting people to make the effort to make use of them.

IIRC at the time there were a lot of complaints against the Cell processor that it was "too hard" to program for. >https://www.cnet.com/news/sony-ps3-is-hard-to-develop-for-on...

>https://www.gtplanet.net/playstation-3-cell-more-powerful-mo...

>https://www.gtplanet.net/the-ps3-era-was-a-nightmare-for-pol...

>What can be achieved that is not possible or is price compatible with something boring and old-fashioned like 128 x64 cores etc

That's probably the main issue today, x86/64 are cheap and nearly all the problems can be fixed in software. Changing architectures and instruction set is too big of an upfront cost for most people/companies to deal with, and I think that is why we're only seeing Google and Amazon starting to look for other solutions.
>https://aws.amazon.com/ec2/graviton/
>https://www.google.com/amp/s/www.wired.com/2017/04/building-...
Scott Alexander reviewed the same book a year later:

https://slatestarcodex.com/2019/06/04/book-review-the-secret...
> The healthcare sucks if you look at the averages. But most Americans have employer-provided health insurance, and are happy with it: https://news.gallup.com/poll/245195/americans-rate-healthcar.... 69% rate their insurance coverage "excellent" or "good" and 80% rate their healthcare "excellent" or "good."

Are they happy with it, compared to being uninsured, or are they happy with it compared to what it should be?

Are they happy with it because they haven't yet had non-trivial interactions with the healthcare system, and have not yet gone through that layer of billing hell?

> The infrastructure and public transit sucks. Which is fine. Americans don't want public transit. They want to drive everywhere.

Likewise, do they 'want' to drive everywhere because they've not built working public transit? Or do they actually want to spend $4-8,000 a year on buying, maintaining, fueling, insuring, licensing, and storing a car (Times two for two-car households)?

Inferring 'wants' from polls and statistics is incredibly easy to taint with whatever bias the poller brings to the table.
I like to think of the no-code stuff like this:

- People who are into this stuff know there's something to it, but as a movement, we don't know exactly what it is.

- My personal feeling is that any no-code tool should be useful enough that I would use it. I want some no-code to make me feel for my career a bit.

- The "threat", I think, is very real. For example, whenever I see myself following a set of rules to write software and not thinking, I start to wonder if some abstraction is lurking in there. Maybe the solution is a programming library, but increasingly, I think there's opportunity for this stuff to be more visual.

Why visual?

- UI programming is necessarily visual, and a visual tool for building interfaces makes sense

- Tools around managing software development. GitHub is IMO a no-code tool. VSCode is. Many IDEs are.

Why not visual? Algorithms and business logic. Like the author, I'm unconvinced that flow diagrams will provide enough flexibility to be useful for all but the simplest cases.

I guess my feelings aren't that different from the author's but I think the difference is I'm optimistic that the movement will be generative.
I'm uncertain if that rationale is the driving force behind their procreation so much as the correlation with religiosity and low levels of education, which is in turn correlated with greater fertility.
> Do you mean that if you have bytes, but you want to send them to a function that expects a string, then it would automatically interpret the bytes as UTF-8?

No, the types are separate and not implicitly converted P2-style, however "unicode strings" are guaranteed to be proper UTF8 so encoding to UTF-8 is completely free, and decoding from UTF8 just requires validating.

Python's maintainers rejected this approach because "it doesn't provide non-amortised O(1) access to codepoints", and while Python 3 broke a lot of things they sadly refused to break this one completely useless thing, only to have to come up with PEP 393 a few years later.
Yeah, it all comes down to your needs and the use case. If there is a lot of value in allowing non-coders to leverage your work, and more importantly, modify pieces of it, then a tool like Alteryx is worth it. However, if you can just write a Python script, and aren't constantly being hassled to update it for whatever data source or new need, then just go that route. Otherwise, if you don't empower the non-tech users, eventually you'll produce enough stuff that you'll end up spending an increasing percentage of your time maintaining and dealing with your own products. For me, that's been the biggest benefit. Nothing better than telling somebody to just switch the input on a workflow to a db now that the file isn't being sent directly, instead of having to do it for them.
I have never seen such rejection in Django community, despite real problems, like with WSGI design, handling I/O and thus working with bytes a lot.

Every huge task, like porting from Python 2 to Python 3 or any other huge task is either everybody's task or just a small group's one. And since latter seems more reasonable to not interfere with ongoing development, former is the only way I have seen such tasks to succeed.

Artificial rules to create comfort for one group at the expense of another group, like the following

>> This ground rule meant that a mass insertion of b'' prefixes everywhere was not desirable, as that would require developers to think about whether a type was a bytes or str, a distinction they didn't have to worry about on Python 2 because we practically never used the Unicode-based string type in Mercurial.

sound pretty much wrong to me.

If there is a pain, it should become everybody's pain, or otherwise people will simply burn out and hate own work, like the author did. There is no way porting to Python 3 can be harder than porting to Rust. Rust is statically typed and not garbage collected. Everyone would have to think if they need string or array of bytes anyway, but also, who owns them.

Overall, described situation looks like management issue and not a technical one to me.

Edit: typos.
Wernher von Braun talks about space travel in 1955 in “Man and the Moon”, Dec 28
I have two standalone Rokus that are a major PITA because of this. There's no way to connect to an NFS share, SMB share, or other local storage directly from the system itself. There's no VLC app for Roku. The best you can do is use the rudimentary "Roku Media Browser" to page through a DLNA server, which means you have to set up either something like Plex (which sucks for a lot of reasons) or at least miniDLNA to access files. It's really disappointing.

I've recently installed Jellyfin and even put the Roku in "Developer Mode" so I could install the Jellyfin Roku app from GitHub. This is better because unlike Plex, it won't transcode arbitrarily, but it's far worse because the Jellyfin Roku app crashes frequently, has only basic page-based navigation ("go to page 23 for media that starts with 'T'"), and it requires running a heavy media server for no real reason. I'm still reluctantly using Plex for the time being.

When I need something that I haven't put in Plex, I fall back to the Android interface on the FireTV and use VLC to access the NAS over SMB. It still rankles that Roku won't allow an easy way to access local media.
> because otherwise they "know" that it is too difficult.

This is something that frustrates me in general, and I'm sure others, too:

That there seems to be among a certain population of people a mindset that declares failure before they've even tried. Or, they try, but at the first hint of failure or trouble, they declare that they can't do it, and stop.

So what is different about those people who don't do this? Why do they instead take up new challenges, and when they fail, try again. When they run up against difficulty, they step back, think about their options, perhaps consult experts in the domain, and continue on?

And how do we get the former group to join the latter?

I know there isn't an easy answer to this, if there is one at all; I know I'm not the first to observe this issue either - it's likely something that has been observed and wondered upon for thousands of years.

...but nonetheless, it continues to be frustrating.
Interestingly enough, Ruby 1.8 -> 1.9, the big version jump there, there was this kind of transition. The remainder of this post is all IIRC, it's been a while...

Ruby 1.8 had "everything as bytes" and there was no concept of encodings.

Ruby 1.9 introduced explicit encodings on every string. By default, strings would be encoded as the same encoding as your source file. The default was ASCII. You could control this explicitly with a magic comment, and so many folks added the "UTF-8" comment, to get strings encoded as utf-8 by default.

Ruby 2.0, which was not as large a transition as Ruby 1.8 -> 1.9, even though it sounds like a larger one, said that encodings of files were UTF-8 by default, and therefore, strings generally became UTF-8 by default as well. Most folks just removed their magic comments.
IMO Python is doing exactly the same thing that Go does (I know too little about Rust to comment) the only difference is that Python respects the LANG variable while Go is just fixed on using UTF-8.
Funny, but with my cranky old Firefox, it loads just fine.

With NoScript blocking both the site and Google.

By "w/o JS" do you mean totally disabled? Or just NoScript?
That was part of the "discusses this at length". Part of the relevant discussion is:

> So I'm not sure six would have saved enough effort to justify the baggage of integrating a 3rd party package into Mercurial. (When Mercurial accepts a 3rd party package, downstream packagers like Debian get all hot and bothered and end up making questionable patches to our source code. So we prefer to minimize the surface area for problems by minimizing dependencies on 3rd party packages.)
Few minutes of googling found this, and few other similar thingies that send urls to chromecast just fine.

http://movies.foamsnet.com/url/

discussed at https://news.ycombinator.com/item?id=7365256
> So I’ve got a desktop computer hooked up to my smart TV and now I am contemplating paying more for a TV so I can get one that doesn’t have any of this dumb crap on it.

Yeah, call me when you find one…

I have an nvidia shield which more than fulfills the "smart tv" needs, and I think that's probably the way it should be and stay. I love this setup and just want to disable all the smart features now. It's not like they're in the way but sometimes the tv does decide that "I see you're watching a movie. Now might be a good time to ask you to reboot for the latest software update innit?"
I'm one of those people. Rather, it's gym at 5:30/6:00 AM so that I don't have to go later. Then I can have a pizza day and not feel guilty. Life's too short to live so puritanically, if you ask me. Some of the biggest eaters and drinkers I've known were also some of the highest performing athletes. I'm not fond of the habit of isolating each of these habits as if each of them are as statistically effective as they are in a vacuum.
I used to believe that work was only there for what it produced, but now know that that's wrong. Being useful is very important for mental well-being. It gives happiness and reduces anxiety and depression. When I was unemployed, I did volunteer work to keep my spirits up. It's important for people to work or otherwise have some purpose beyond personal pleasure.
> Laptop displays have already a standardised connector it just need an LCD controller! https://www.amazon.fr/s?k=LCD+controller
> So yes, you are throwing perfectly fine laptop screen when you could have used them as external screens.

What I had in mind was more of a 'monitor stand' with the wiring where you just connect / slide into the laptop screen and voila you have some new small external display.

I'm not really certain right now just looking at those boards which one would fit to an old broken laptop but I understand these are not targeted newbies.
Social Networking 2.0
NHS's online communication is almost always excellent.
My understanding is that the well is measured from the point at which drilling starts -- so the Deepwater Horizon started lower down, and one can therefore argue that the depth they reached (as opposed to the depth they drilled) is 11,944m.

It's maybe not a useful technical measure, but it's a lot closer in "depth" than I imagined it would be given the amount of attention given to the Kola borehole, and especially the tales of the difficulties they faced. Makes me think that one of the big oil companies could probably beat the record if they wanted.
A unit is 10ml of pure alcohol, roughly half a pint of 4% beer or half a glass of wine. This unit value is printed clearly on pretty much all alcohol containers. (In the US it seems incredibly difficult to find the ABV % for the drinks you buy.)

A bottle of beer is usually 330ml so 1.3 units, so moderate drinking would be defined as up to 2 pints or 3 bottles of 4% beer daily.
Just beware that C# is not exactly "Unicode" either.

C# char is a UTF-16 code unit, not a Unicode code point.

Most code points "fit" into just one UTF-16 code unit, but not all.

For example: 𝐀 ("Mathematical Bold Capital A", code point U+1D400) is encoded in UTF-16 as a surrogate pair of code units: U+D835 and U+DC00. So reversing "x𝐀y" should produce "y𝐀x" ("y\ud835\udc00x") - note how U+D835 and U+DC00 were not reversed in the result.
Chinese spyware that doesn't even show as an "app"