skysight-inc/HackerNews huggingface dataset:
> It's a practical solution to a very easily solved biological need.

It's practical for half the population.

> This seems more like social hangups making our lives more difficult.

I wouldn't consider "sanitary conditions" a "social hangup" or taking an appropriate bathroom break "making life difficult."

> or maybe camping in sub zero temperatures, you'll quickly come to appreciate the humble pee-bottle.

I have never urinated in a bottle while camping, even in extreme weather.

> Having a job / working environment that pressures you into not taking breaks is obviously wrong though.

Hiring people and then failing to plan an appropriate amount of time for them to take a break is wrong, and should be illegal.
> But, at the end of the day, I should still just get a propane-fueled generator at this point if I ever got anything.

Yes, a propane or natural gas generator is a lot more flexible/higher capacity
incredible podcast. i love the amount of effort you put into storytelling and finding guests like these!

is there a way to support the podcast? maybe some monthly subscription in exchange for a Discord or Circle discussion community would be interesting?
No, that's only the client.
The article suggests a use case for operator overloading in a Complex or BigInteger class.

My programming experience is that that these "mathy" objects are about the only unambiguous use case for operator overloading. Given the limited use case, I'm not sure whether it's worth the added complexity for language designers.

I wrote the simulator engine code for CircuitLab (https://www.circuitlab.com/). We have complex numbers, sparse matrices, and extended-precision (more than a 64-bit double) floating point classes, all of which we use extensively within the simulation engine. Yes, it can be a bit annoying and verbose to do X.add(Y) instead of X+Y, but I tend to just leave an end-of-line comment to aid readability later. And this mathematical core code tends to be infrequently changed and well covered by tests.
Yes, although the 30 kWh US figure doesn't include a lot of gas/oil heat in the North/mountains either. (It does include a lot of AC but average electricity consumption is still a lot higher apparently in the US even taking that into account. I assume bigger houses is one reason.)
In 1930 engineers rotated an 8-story building
The wording in the article isn't great, but they are referring to the power consumption for a household in 1990.
I may be missing something, but aren't you describing Finder's Gallery View? In that mode, you can left/right arrow your way through the entire set of files in a folder, viewing each one (image or pdf or whatever).
Think of it like a class action lawsuit on behalf of investors. Instead of entrusting their savings to a company, people are entrusting them with their personal information. If there is gross negligence on part of the company leading to that data being leaked then all of the people whose data was stolen should be able to claim monetary damages. If a legal precedent is established so that these claims can be pursued whenever this happens it should provide enough motivation for these companies to take preventative measures.
Yes (he should have known not to take liquids as hand-luggage on a flight)

Edit: as hand-luggage
It's not just attention span, but time. It's hugely inefficient, and there are usually better things to devote one's time to.
We use about 8500kWh per year in the northeast US. This does not include space heating yet, but does include our Chevy Volt charging.
Agreed.

My router firewall drops all packets from my NAS to my WAN. Doesn’t matter what software it runs.
https://archive.is/ltolE
SF already has public toilets, mainly located around the Tenderloin/SOMA, to stop people from shitting in the streets.

Furthermore, even in American, geographically spread out, “driving cities”, there could still be public toilets people drive to.
It's about 27kWh/day, and according to the stats in the link fv6 provided elsewhere in this threadset, that's average for a northeast US house. Houses in the south tend to use more like 15-16k kWh/year, due to air conditioning mostly, leaving the 2015ish national average for single detached homes closer to 13k kWh.

This post has been an interesting eye-opener for me. Somehow I've never really thought about the numbers deeply, but, having a 100-watt lightbulb on for 8 hours is almost 1kWh. My and my partners' computers + home server, at a mix of wattages and uses but mostly left on a lot, are probably using 15-20kWh daily. That's... a lot of power.
Joylessly losing as much as possible as efficiently as possible, and then leaving? What’s the healthy part? Or do you mean more that it’s less acutely harmful than enjoying the games while you lose?
10k kWh per year roughly corresponds to consuming a constant 1kW/h which sounds about right, if not a bit high, if you exclude heating. But I don't think electric heating is common in most places.
One language feature from Delphi (or Pascal?) that I wish modern languages had is class properties

No getter/setter bs. When creating a class you declared a field a property, it looked like this

type
private
FBar: Integer;
procedure SetBar(Value: Integer);

published
property Bar read FBar write SetBar

so you specified what method was to be called when assigning to the propery and when reading from it. You could start with both read and write accessing the field directly and then later make them use getters-setters while keeping the class interface the same. Somehow this knowledge got lost by designers of modern languages unfortunately :(
> the ribbon is dependent on the context

Is it? That would explain why I find it confusing and moving buttons around randomly.
It's so good, so fast, and so easy, (and so obviously useful), I just cannot fathom why Windows doesn't have a comparable answer for this.
Has this breach made it onto HIBP yet?
The sad fact is that as much as I wanted to believe that positive reinforcement was "better" for me because it was supposedly "better" for people in general, in practice it's only ever been negative reinforcement that has enacted any change in my life. Trying to deny that fact for so long only accomplished setting my life back by several years. Even the simplest things like dental hygiene only became habits because I suffered catastrophic losses from neglecting them.

I think it's because my imagination of the failing scenario will never compare to the experience of the failure itself. Whereas if there's no singular point at which the failure becomes obvious and decidedly life-changing, then...
That only really works for stable countries anyway. While shit is hitting the fan there will be enough incentive not to care about some silly rule as long as breaking it is not easily detectable. In the worst case trading moves from centralized exchanges to decentralized OTC trades. I don't think any government can really stop Bitcoin at this point.
Leaker says they are offering private details of 500M Facebook users
probably serialization of some object which uses hungarian notation
Show HN: Best offline Image to Text tool
What's being sold as convenience is really just creepy spying
The punchline. That's exactly the reason I didn't want to get involved in this thread.
Solving homelessness would make a lot of things much more manageable for society generally while being a kind and compassionate response. There is substantial evidence that homelessness is very expensive, to the point where it's just cheaper to give people housing than to, say, keep treating them constantly in the ER.

https://www.chicagotribune.com/business/ct-biz-hospitals-hou...
The same attitude extends everywhere else in the operating system. In any other version of Windows if you drag a folder onto the taskbar you get a labeled icon that opens that folder when you click it. In Windows 10 it just adds to the list of possible folders when you open the file manager shortcut. You can create a shortcut to a folder by adding an Explorer argument to a folder shortcut but it still won't have a label when you put it on the taskbar.
Helm charts are a bit of an antipattern themselves, with the whole text interpolation of a file that uses whitespace for scoping.

There is a new project coming out soon https://twitter.com/solomonstre/status/1376725608747593731
Offensive as Rude.

Then @kn100 assigns to @bunnyfoofoo the offending behaviour.

It's the personal responsibility thing.

"I'm offended" vs "You're offensive".
Wirth's article also "ignores" Ada. But that's fine, the article is a personal account, not a survey of all Pascal family languages. The penultimate sentence:

"The sequence Pascal—Modula—Oberon is witness to my attempts to achieve [perfection]."
What are some of the ways?

I’d assume encryption wouldn’t help much since wouldn’t the key most likely be available if the database was compromised?

I would have thought hashing would work if it’s made more expensive such as by choosing an expensive hash function and increasing the number of rounds.

Edit: Would first encrypting the value with the salt and then hashing the encrypted value and salt add more entropy and make hash collisions less revealing?
> For example video streaming through it always causes hiccups.

This sounds weird to me. either there are enough resources available to sustain the bandwidth requirements or not. this changes with time and usage of the machine but just as it does without tinc. Depending on the hardware used it should not be too hard to stream common videos with something like 20mbit at max...

However, i just wanted to say; maybe you had MTU issues?
Its muddy right now, I run Ubiquiti EdgeMAX switches and EdgeRouter at home, but I wouldn't recommend them right now (see another comment of mine, or check out the subreddit), for NAS I run TrueNAS, on a home built server.
Like really? Don't you have to walk to a bank or show some ID?

I live in the EU and I do operate under the assumption that banks take reasonable measures to ensure an account is linked to a legal identity.
Emotional maturity has way more value, thanks for being honest with yourself and the others. I wish more people did that.
To be very exact, being offended is a choice, in that nobody can offend you if you don't let them. You can always choose to not take offense. (The statement in question does seem rude and dismissive to me, however.)
GitHub actions is a very useful tool but it must be such a nightmare to deal with on GitHub's end.
JSON5 is better than JSON on my points, but it has downsides compared to YAML. For example, YAML is very good at multiline strings that don't require any sort of quoting, and knows to remove preceding indentation:

foo: |
"This is a string that goes across
multiple lines," he wrote.

In JSON5, you'd have to write:

{
foo: \"This is a string that goes across \
multiple lines,\" he wrote."
}

This sort of ergonomic approach is why YAML is so well-liked, I think. (Granted, YAML's use of obscure Perl-like sigils to indicate whitespace mode is annoying, but it does cover a lot of situations.)

YAML is also great at arrays, mimicking how you'd write a list in plaintext:

foo:
- "hello"
- 42
- true
Once people accept that there’s no such thing as a free (as in beer) app or service. In addition to there needs to be serious laws put in place that gives users control of their data. And they should be getting paid for facebooks profits—not the share holders.
"Sometimes I wonder if the failure of languages like these - along with Ada is purely aesthetic one."

Possibly part of the reason. Pascal has a very readable syntax, but for some (most?) programmers it is too "verbose" and that is enough for them to never consider it. This is probably true of any language labelled "verbose".

Python and Ruby advocates probably feel these languages have found the right level of conciseness and readability. But everyone has a different opinion. Of new languages, Nim and Julia seem aiming for the same balance: not too terse, but still easy to read. Have they succeeded?

I find it fascinating that C's influence on language syntax continues today with new languages (e.g. Rust, Zig) in a way that Pascal does not.
It an open source chromium based browser extension build on top of teserract.js and reactjs hosted on github (https://github.com/fxnoob/image-to-text)
I second the recommendation of A Tour of C++. It's not going to give you a detailed explanation of every page of the specification. It's going to show you the basics of using the major parts, and why they are the way they are. From there, start exploring on your own.
> So why does money laundering exist? Is it just because the cost of laundering is lower than the tax rate?

No. Laundering illegal gains to appear to be legal profits is to be able to actually spend the money without appearing to be living beyond your means (which gets you audited) and having the true source of income (ie. crime) revealed and prosecuted.
I don't worry about them deprecating MacOS. Apple has some important and beneficial constituencies for MacOS, not least of which is developers developing apps for iOS, watchOS, etc. Music and video production, etc. I know that by percent of revenue, iOS has the lion's share, but I think they realize that MacOS has an important role to play in keeping the entire enterprise working together.
The US 10k kWh average is extremely high.

The EU average is 3.7k kWh.
This exists for Windows though as a third-party application, which points to one of the reasons why Windows is great. There's great software for nearly anything you could think of. It's one of the main things I miss when I use Linux. The usability/functionality in the applications simply isn't there and it will never be there, for whatever reason.
My dog doesn't get lost, he's a giant akita, super sweet and friendly, but I mean, he looks like a wolf. I don't want him getting out, but before he was neutered, and I added an l-footer made out of chicken-wire, he figured out ways to get out.

So I would drive out to go find him and by the time I got back, he was waiting outside the door, barking to get in, usually with some stolen toy at his feet.

Now, I've doggy-proofed the yard so he can't get out, but I don't know how he does it but he never gets lost. No matter how far he goes, he's always back before dinner time.

So that's why I'm always thinking that self-driving cars are not going to happen anytime soon. Everyone's underestimated the problem.
At least there are documented ways to disable these devices. A lender with a lien on a 16yo mini-van is just so wrong. Putting a snooping device and starter disabler on it are criminal.
Google says 'not up to us' to dictate how news companies spend its $1B
Well, I think solving the homeless situation will open up a lot of of public restrooms that are now closed because they become overrun by desperate vagrants.

But I also agree that I'm sidetracking the discussion :)
Two assertions made without data backing it up:

(1) that this reduces the effective delinquency rate
(2) that a reduced delinquency rate is being passed to subprime borrowers as savings in reduced interest rates.

(1) depends on whether unavoidable, but temporary, delinquency will not have knock-on effects that will exacerbate the likelihood of default, such as losing one's job because you're unable to get to work.
(2) I believe that many subprime lenders are counting on being able to repossess the car; it's part of their business model. But I might be wrong about that.
(3) in a functioning market, lower delinquency rates might translate into reduce interest rates, but it is not clear to me that it is a functional market, rather than one built explicitly on exploiting subprime borrowers with limited avenues for between lender competition for subprime borrowers.
Been using Musicolet for years, terrific.
I'm also wondering if number I asked them to delete 5 years ago is in this 2019 leak. :)
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

Edit: you've unfortunately been breaking the site guidelines repeatedly and badly—badly enough to ban your account. I'm not going to ban your account for this comment, but please review https://news.ycombinator.com/newsguidelines.html and fix this going forward.
Up until a week ago I would have suggested the UniFi. Since the latest snafu, the handling of the breach not the breach itself, I’m not so sure anymore what would be the best alternative. Perhaps just their EdgeRouter devices or a mikrotik device.

The snafu: https://news.ycombinator.com/item?id=26638145
I really hope they now have to pay that 4% ransom due to violation of the GDPR .. for each stolen account of course ;-)
Animals don’t get lost the same way Mitch Hedberg never got lost - build a house. Are you lost? Once, now I’m home.
Our family uses about 5k kWh per year. That includes a lot of household appliances that run on electricity but heating is not electric.
Those are bad events that happen once and then are over and you pick up the pieces. Windows 10 is like learning you have a terminal illness. It's a few small inconveniences now but you know it's just going to get worse and worse and worse.
> Safari is miles ahead of any other engine in terms of performance. It’s not even close.

link?
> And for applications that select a random port on startup, such as some bittorrent clients, you either have to manually forward the port every time or select a static port.

What if you run them over a VPN? I don’t use torrents much but have a client containerised with OpenVPN. I’m not a networking expert but I had assumed (with all the dangers that comes with) that this moved the problem to the VPN provider?
In that case, it seems like there is a social problem with a system that creates "subprime borrowers" that both need a car to survive, and can only get one under feudal conditions.
Yep, just click the button in the bottom left of the screen :)
If you want to try the ADS-B receiver, you can do it for < $40. It's out of stock currently, but last year I bought the first one on this page https://www.rtl-sdr.com/buy-rtl-sdr-dvb-t-dongles/

I got busy with other things so haven't done much with it, but there are some Python libraries that made ADS-B easy.
ergodic example: Rolling a die. If you roll a die 1e6 times in a row, you will get each number approximately 1e6/6 times. If you roll 1e6 dies once all at the same time, you will get each number approximately 1e6/6 times. Same thing basically.

non-ergodic example: Russian roulette. If you play russian roulette 1e6 times in a row, you will always be dead at the end. If 1e6 people play Russian roulette at the same time, 1e6*(5/6) people will be alive at the end, and only 1e6/6 people will be dead.
Standing up to Steve Jobs – a tale of one of his early pilots
Funnily enough, Amazon already sells such products under the search term "Portable Wearable Urinal".
Sounds interesting. Shall we call it "GDPR"?
I believe they mean it can't effectively be sold if everyone has it. It loses value as a commodity if anyone can access it, but the value of the data is still in tact.
So you’re blaming cryptocurrencies for ....

Proof Of Work ?.

A lot of em are already trying to shift to other viable alternative proofs.

Your analogy of calling Cryptocurrency supporters as sociopaths.

sounds similar to insulting
Edison because he designed the inefficient incandescent bulbs , which consume waaay more energy compared to LEDs built these days.

How would it sound , if someone insults artificial light , just because of that ? .

Cryptocurrencies are perfectly good ideas/products.

Proof of Work’s viability isn’t.

The hate is aimed in the wrong direction.
1 KWh/day for Fridge. Lights should do less than 0.5KWh/day. Washing machine is maybe 0.3KWh/day. Maybe, other electronics might add up to 1-2KWh/day. Cooling is not required most of the year. Maybe fans for a couple of months. Heating is separate (EDIT: UK figure), as others have noted.

What else are you using electricity on?
CSV, markdown, plaintext, and JSON plugins are must-haves for office work.

BetterZip's plugin is okay.

Even better would be:

I'd sacrifice my first born child for a "Show Package Contents" option supporting zip, webarchive, and other common composite files.

(Using Finder: highlight file with .app or .dmg extension, right-click to show context menu, chose "Show Package Contents", opens new tab with selected file as "mount" point. I'd really like to know how Finder "mounts" composite files without using fuse file system thingie. Then maybe we could write plugins.)
Isn't dependant types actually about being able to reason about the runtime value rather than at compile time i.e. D and C++ definitely don't have dependant types, or at least exciting kind.
Thanks for sharing! Though the purpose of this widget is not to help a website achieve full compliance.
Yes, that is one of the tenets of the ribbon. For example in Word, it makes no sense to show you options to style a table if your cursor is not inside a table.
The story starts at 2:07
Microsoft Is Supporting Old Games, While Sony and Nintendo Leave Them Behind
Well as I said, cost should always be a consideration, but deliberately ignoring costs of some choices is not helpful. The levelized cost for residential rooftop solar is about as high as nuclear, but that cost doesn't seem to matter to some advocates and they continue to strongly support subsidizing it. Why is that? Do you also consider rooftop solar a very expensive part of a solution, or do those costs not matter?

The prices for utility solar and wind have come down dramatically which is great news. Unfortunately these sources have low capacity factors and can only achieve so much market penetration before some combination of very expensive energy storage or transmission or overbuilding would become necessary. Do these costs not matter and there is no need to consider them? Right now, no effort is made to collect the CO2 from burning natural gas nor the atmospheric losses from collecting/distributing natural gas - if people were required to prevent those external costs the price for natural gas would dramatically increase. Do those costs not matter?

>...Coming in on time and within budget is the worst imaginable outcome for the project's backers.

Conspiracy theories here are not helpful.
I'm no Stoic ;)
Please don't take HN threads into nationalistic flamewar, regardless of which nation you have a problem with. It's emphatically not what this site is for. Moreover, we've had to warn you about it at least once in the past (as well as about guidelines breakage in general). That's not cool; please don't do it again.

We detached this subthread from https://news.ycombinator.com/item?id=26673398.

Edit: your account has been breaking the HN guidelines a ton lately. If you keep doing that we will have to ban you. Please review https://news.ycombinator.com/newsguidelines.html and fix this.
> The Luddites are a good cautionary tale about when you should protect your working conditions and rights

But at that point, you'd be doing exactly what the Luddites were doing, which was attempting to hold back the natural consequences of technological advancement.

The (temporary) end state of that kind of thing are artificially inefficient situations where someone is paid an unreasonably well to do something that could be done much more efficiently by a machine.

That's a temporary end state because at some point, the people and organizations doing that will be definitively out-competed, and that particular instance of Luddism becomes another historical footnote.
“Users can change the password of administrator but cannot change the administrator’s username.

Is this article helpful? Yes / No”

At least you change the password...
Most computing devices are more efficient that they used to be, although there are more of them. I'm reminded of this because I keep my house pretty cool in the winter and used to be my office was relatively cozy even so because of all the heat being thrown off by big CRTs and tower systems under the desk. It's much less so today.