skysight-inc/HackerNews huggingface dataset:
I've been browsing with EME disabled for years, most stuff still works, I just leave sites that don't. If I accidentally hit a site with EME too much, I add the domain to my link block list so I never see links to them ever again. If most people would get on board with that for just a year, it could sway the industry to stop using it.
I live in Arizona. The people commenting here suggesting anyone living in a desert should be 'punished' and forced to live without toilets are completely out of touch with reality. Golf courses, lawns, and toilets are not the issue.

Rural Arizona, in the middle of nowhere in a cotton field? Yeah, you might not have well water. And that's definitely an issue.

But Arizona is not going to run out of water anytime soon. We're likely in a far better water-diverse situation than CA is already, because we've been thinking about water for a _long_ time and have some of the best water infrastructure in the U.S.

Where does it go? Arizona has 26 _million_ acres of farms and ranches, that is where:

- 70% of our water is directed towards agriculture.

- We produce 90% of the USA's leafy greens.

- Our cattle industry alone produces 8 _million_ meals annually (pop. 7.1 million).

- 360 million eggs annually

- Our agriculture industry is $23.3bn, supporting 162,000 workers (40% of which are women, and 18k indigenous farmers/ranchers),

We aren't conserving water, we're spending it because it is a valuable industry for the (unfortunately) extremely poor immigrants and others here.

But there aren't signs in our bathrooms to use less water washing our hands. You don't have to ask for a glass of water at restaurants -- because these things _don't matter_.

Want to conserve water in Arizona? You'd be talking about gutting the entire state's agriculture industry and destroying millions of people's lives.

We can diversify our water supply, and we do. It's not stupidity and lax regulation, it's a calculated risk and choice by the people living here whose lives are built on agriculture.
At the time I was making research, I found one or two, don’t recall from top of my head. Majority of travel apps focus on hotels and/or tickets, not points of interest. The one which focus on points of interest, usually tries to give user most interesting, but not entire schedule.
Aha, that's a good point.
Then he should really know better. Not sure why you think the sentence you have written is even an argument.
JavaScript enabled pop-up ads, it enables tracking, it enables coinminers and other malware

Isn’t this like saying atoms are to blame for nuclear warfare? Atoms enabled nuclear weapons?
As a Phoenix resident, few books have disturbed me as deeply as The Water Knife. A most plausible dystopia in my own backyard. Gives me chills.
Yeah, the interesting comparison is the energy storage per dollar, not the cost of the raw materials.
In other words, you can build any program with a Turing-complete language.
People have been doing that intentionally since prehistoric times.
https://en.wikipedia.org/wiki/Artificial_cranial_deformation
What Shell knew about climate change in 1991
There are a lot of music practice spaces if you want to make a lot of noise
I've been using latest Docker, sometimes with the bundled Kubernetes on macOS for years without such issues.

Of course it's still just a Linux VM.
I'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script.

At a minimum it means he doesn't understand how his own code works which is going to be problematic if your career involves coding.

The "it's none of your business" argument falls flat the moment you decide to broadcast to the entire world what you're doing and then get it onto a the front page of a website known for debating the content of said articles.
Interesting, although year to year is a bit of a small scale to compare. Also the first sentence mentions a drought that dropped 5% of Russian wheat from the previous month, but that left the yield 4% higher than the previous year. It's possible that the increases from higher temps offset the longer droughts in some cases. If variance in rain and temperature continue to increase there will eventually be a tipping point where yields are severely reduced.
My HMO, Kaiser Permanente, does free or cheap annual physicals. In fact they will beg/harass you to take them. I'm assuming they have data showing 15 minutes once a year saved them big money when they can catch expensive issues early.
the stringbuffer and string allocation will make it slower for sure, curious what performance the other ways of reading lines in java have
Formulanimations: Happy Jumping
What's the problem with that? We have cameras, passwords, tokens, witnesses. Tell credit issuers to demand photo of person holding up ID and a thumbs up instead of just typing in a social security number. If that still results in too much fraud, then the lender is incentivized to do more research and verify in person that the person is who they say they are.

Right now, in the interest of increasing commerce, we're forcing everyone in society to bear the burden of this specific fraud and the benefits go to the lenders. If person A is being defrauded by person B pretending to be person C, then person C has no reason to be involved unless they aided person B.
Speaking from experience, it's much more enjoyable to interview a candidate who does well than one who does not.

An failed interview is awkward, and then I have to turn around and write clear and explicit feedback about exactly why someone shouldn't get hired. It's probably my least favorite job responsibility.

But at least with calibrated questions, I can be fair and impartial and know how much help the candidate needed. Throw me into a room with a question I don't know, and the same general complaints apply, but now I have to figure it out as we go too, so my focus isn't on feedback and helping, but on understanding the problem.
I put in bogus name and social. It said i was affected by the incident. So.... Probably phishing.
JPL – Fireball and Bolide Data
Someone needs to invent a soundproof phone case. When it's closed; no light or sound is let it.
> Among other things, I had to parse a 80000 line csv file. Splitting and the rest of the processing created so many temporary strings the system ran out of ram. We eventually gave up

Let us all hope that Project Valhalla, the effort to add value types to Java, comes to a swift completion. It would be very helpful in these sorts of scenarios.

Though at this point I'd wonder (as you did) why I'm using Java in the first place given the resource constraints of the system, I've had some success using byte[] arrays and using `yourInputStreamHere.read(someBuffer, yourOffset, YOUR_PAGE_SIZE)` in a few less constrained but relatively more performance critical areas.

Depending on your exact needs, this can sometimes result in more or less constant memory consumption; it's possible to reuse the array on each read. You can also take it a step further by finding the indexes where you would split the array (e.g. the index of the next comma for a CSV) and using methods that operate on an array plus start and end indexes. That sort of strategy can allow you to avoid additional copies the array, at the cost of somewhat annoying and less maintainable code that is definitely not Java-esque.

There are also less severe solutions that won't buffer the whole file in memory, using StringBuilder or other techniques, etc. depending on what you're doing.

This all might be for naught though; I'm assuming the records have to be parsed into some structure, so tricks like the above might not be good enough given Java's seemingly insatiable hunger for heap space.

While I'm not the language's greatest fan, this is one area where Go has been able to shine. Having value types as a possibility makes solving this sort of problem a typically less expensive proposition.
I don't see how this is a problem for graphql or hasura. If your UI allows all those filter combinations and joins, then your backend needs to allow it too and you'll have to make it performant no matter what stack you have on the backend. If you don't allow it in the UI then there's no problem if the backend allows it or not, because it's not supported behavior.
The original article is available here: https://aisel.aisnet.org/jais/vol19/iss5/2/

Abstract:

> Although different types of teams increasingly employ embodied physical action (EPA) robots as a collaborative technology to accomplish their work, we know very little about what makes such teams successful. This paper has two objectives: the first is to examine whether a team’s emotional attachment to its robots can lead to better team performance and viability; the second is to determine whether robot and team identification can promote a team’s emotional attachment to its robots. To achieve these objectives, we conducted a between-subjects experiment with 57 teams working with robots. Teams performed better and were more viable when they were emotionally attached to their robots. Both robot and team identification increased a team’s emotional attachment to its robots. Results of this study have implications for collaboration using EPA robots specifically and for collaboration technology in general.
> I thought about it and came up with a counter-example. subpixel rendering in general and ClearType in particular. The algorithm works by considering the exact arrangement of RGB squares (rectangles actually) to improve the appearance of rendered text.

I mostly agree, and see my other top-level comment where I called out LCD panels as having physically square pixels.

It’s a good thought, and it is correct that ClearType is considering the sub pixel arrangement of LCD elements. But also remember the arrangement of pixels isn’t Alvy’s main point, he was mainly trying to convey how to think about the shape of samples (pixels).

Even with ClearType you don’t necessarily want to integrate the sub-sub-samples of an LCD sub-pixel with a box (square) filter.

For sub-pixel rendering in general, box filtering is definitely not the best answer. Though yes, lots of people do it and get away with it all the time when sampling quality is not a high priority. Games are a good example, even as they’re improving. Treating pixels as square when sub-sampling causes ringing artifacts that can never be cured by adding more samples. This is actually a really fun thing to do with a class of graphics students because it’s kind of surprising the first time you really get it. For some nasty antialiasing problems only high quality kernels like a Gaussian will integrate sub-samples without artifacts.

Note I’m not talking about LCD sub-pixels there, just normal supersampling. The Wikipedia article on ClearType calls that “grayscale antialiasing” to distinguish it from LCD red-green-blue subpixels. But IMO that’s a bad name since grayscale antialiasing is still referring to filtering color images.
Not so easy because:

1/ You don't know "when" nor even "if" they have changed any algorithms. As I alluded to in my previous post, there is no real way you'd know they've changed their routines without them formally telling you. Thus you need other controls in place to manage this (such as regular independent audits - though even these can be useless if an organisation really wants to be deceptive)

2/ A lot of American businesses already run on the principle of "Ask for forgiveness not permission." In fact that saying is often regarded as an important key to success. Thus businesses frequently bend or even break the rules and then pay the fines afterwards (usually after much arguing though). So I cannot see a fine - not even a large one - as a strong enough incentive to keep them compliant. Maybe the threat of jail time might be a greater incentive but I'm still sceptical there when it's such an easy rule to break and a difficult one to prove
If only using JavaScript required a license to operate and came with a set of rules enforced by fines and jail time :)

If every browser had done the sane thing from day 1 (no third-party scripts and no cross-domain communication) we wouldn't be in the mess we're in. Sites could still use all the power that comes with scripting, ad networks just wouldn't be feasible.
That would be the value add that companies like Equifax should offer as a B2B or B2C service. Instead of blindly attributing debit to profiles without verification, they could act as an intermediary to establish and verify credit relationships.

Each party is verified and the relationship is verified to ensure non-repudiation.
Why would you bother to hold such an absurd little idea for so long without caring to look into the actual water usage in desert regions?

Is it a lack of concern for the idea, or the people?
Why not answer with you business name?
Bank of China is bullish for Bitcoin
It should be sufficient to state that it was the same hardware as the C++ measurement. He didnt even say that but it seemed implicit to me.
> There was no detectable odor, even west of Amarillo when we stopped for fuel.

I've driven by the Wildorado feedlot dozens of times, and I always put my A/C on recirc 5 miles before and after. The stench still gets into the car. Conditions must have been very unusual during your trip.
In the end, it's an arms race, and I don't think either side is giving up on it anytime soon. The only thing that concerns me is that one side has way too much money, while the other side has way too much time.

Let's see who wins.
My remembrance is that Campisi and others were thinking about them since at least the early 2000s.
JavaScript isn't from nature. It could have been designed so that it didn't enable those things, but it wasn't. It's probably more accurate to say the ability browsers grant JavaScript is to blame, but that's just splitting atoms.
Methane/propane/butanol all work fine, they just cost more than petroleum derived gasoline.

Hydrogen is also probably feasible, just hard to store.
Everyone but the most callous of businessthralls has felt, at times, the same reaction as Keynes elicits here, against the ugliness of a world turned by free trade and markets. Such arrangements of human desire (what else is a market?) do occasionally produce greatness and the sublime, but only with the mediation of a culture prior-to and underdetermined-by themselves, and amounting to nothing compared with the feelings of greatness and sublime that nation-states have proven capable of achieving: for example, the most ineconomic Apollo 11.
That problem exists with any backend. If you can't optimize it properly in the backend, restrict the UI.
I’d call it a tactic, not a trend. It’s been around since the advent of halfway decent comment sections.
One thing that jumps out at me is the test code writes to "volume" variable in the read loop, I assume for counting the number of bytes in the file, but never reads it back. A clever compiler will optimize away those writes, the string length check, the loop over the lines, and actually reading the file.

I'm not saying that's happening here, but it's a basic fact when writing benchmarks that you have to actually test something real and not a transient property of the program after the compiler has had its chance to be really smart.
Alternatively if you took his class then you you probably learned that BufferedReader is not the most performant way to read lines from IO and probably learned the correct alternatives.

If you work at some of the places java commonly gets used then you'll see BufferedReader all over the place. This article isn't a critique of Java. It's a warning about BufferedReader. If you do high performance java you'll be hiring exceptional java engineers who will not be using BufferedReader and you won't have this problem. If you are a run of the mill java shop you probably don't work with code that isn't using BufferedReader and this article is for you when you are debugging a pathological performance problem that suddenly reared it's head in production.

This professor seems like a good one to me.
Chrome's JavaScript console does this too. Type in e.g. an array transform code and the output should appear below in faded text without you having to click enter.
Care to elaborate a bit more? I've experienced some network issues like parent mentioned, but otherwise I've thought of them as a fairly solid provider (atleast as a low-end provider).
The first issue I can see with that code is it's not doing what he expects. He does this to read the file into a StringBuffer:

bf.lines().forEach(s -> sb.append(s));

However, this ends up reading all the lines into one giant line, since the String's that lines() produces have the newline character stripped. This leads to the second lines() call to read a 23MB line (the file produced by gen.py). This is less than optimal.

The fastest version I managed to write was:

public void readString5(String data) throws IOException {
int lastIdx = 0;
for (int idx = data.indexOf('\n'); idx > -1; idx = data.indexOf('\n', lastIdx))
{
parseLine(data.substring(lastIdx, idx));
lastIdx = idx+1;
}
parseLine(data.substring(lastIdx));
}

Not the prettiest thing, but it went from 0.594 GB/s to 1.047 GB/s. Also, it doesn't quite do the same as the lines() method, but that's easily changed.
> So the government could mandate that industry uses their specific RNG or specific ECC curves. Effectively giving them a backdoor that nobody else has.

I guess you are advocating for security by obscurity here (security in this case being the security of the backdoor). Not so good.

But here's an alternative. The government can mandate that each time you send an encrypted message, you send another encrypted copy. The first one uses your addressee's public key, the latter the NSA's public key. It's not particularly elegant, but it does the job. It's not 99% secure, it's 100% secure.
Is YouTube Advertising Worth It?[The Ultimate Guide]
Internal floppy drives have been on sale in many countries until... 8 years ago if not less. There are at least two PCs at my parents' place with working floppy drives. There are innumerable old PCs now used as server machines or donated to charity with working floppy drives.

Also, regarding 32-bit distributions - Debian, Fedora, CentOS, Gentoo, Slackware, and many of their derivatives are available for 32-bit x86 machines and AFAIK there is no plan to drop support for that platform anytime soon.

So, no, it is _not_ reasonable for Linux not to have a maintained floppy driver. Perhaps in 10 or 15 years' time.
You're not wrong. But the point of the press release was not to convey understanding. It was likely a PR vehicle for the scientists and thus for the university. The ultimate goal is for all of them to make more money.

Paul Graham's essay "The Submarine" is quite instructive here.
I always thought the Do Not Track option was naive. It did nothing to stop tracking except beg.
I lived in a 2 br place in Nishishinjuku. It was brand new, soundproof, had 3 floors, a rooftop terrace and I paid $2100 USD/month (225k JPY/month). About a 15 min walk from Shinjuku station, or otherwise 2 min walk to the Oedo line.

It's possible to have a decent place if you look around. Obviously a different story in the video at 80000 JPY/month (750 USD/month).
Bulk Search for Vulnerabilities with a Graph
No, but it's open source, so maybe future surviving generations can pick up that issue?

https://github.com/tomtaylor/lowflyingrocks
But if free will does not exist and you believe that, then you would know that whomever you're making the suggestion to is incapable of changing whatever path they were going on in the first place.

By suggesting a course of action, you are implying there is an actor with agency out there.

Now, while the actor itself may not actually have agency, that does not absolve you. Any attempt to persuade is an implicit acknowledgement of free will.
Hence my use of NoScript

https://en.wikipedia.org/wiki/NoScript
Innocent until proven guilty isn't it? If companies want to easily proof that someone did the transaction in question, all they have to do is verify the identity properly.
This week I met with a potential client for our integration platform (iPaaS). Their business centers around interpreting financial data and that means ingesting raw data from different sources.

The guy who handles this has set up a SQL database and pulls data in via FTP and email. Outlook sits open on a server so that Outlook message rules can be used to fire up a VBScript which in turn calls a stored procedure to ingest the data. There are a bunch of combinations of these to deal with different feeds.

He's a brilliant guy and he's used the tools he knows (not a dev) but it's brittle and only he knows how to support it. It's unlikely they'll move to our platform (invasion of his turf) but I do hope he finds another solution that's more reliable.
Ask HN: Is it over-engineering if I implement a blog site as a single-page app?
Same experience for me with sites that try to pull off GDPR shenanigans. If you don’t make it easy for me I just close the site and never return, and let’s be honest, my life is better for it. The more hostile the web becomes the more likely I am to go for a walk in the park instead. Fine by me, really.
> I'm facepalming because he literally went through all the effort to replace Docker without fixing the underlying problem which is his script.

Well, he didn't say that the reoccurring problem came back, so maybe it was Docker after all?

Either way, I agree somewhat #facepalm
Although it doesn't have constructors, Go has zero values. I can't find a reference, but I believe this is so that you can create arrays with any element type and they can be automatically initialized?

Naturally, if pointers must have a zero value (like any other type), nil is a logical choice.

The pervasive support for zero values (or not) seems like a pretty fundamental design choice with far-reaching consequences. It works okay when there is a logical use for a zero value (as encouraged in Go) and is awkward otherwise.

If you don't have zero values, you end up with something like Rust's array initialization syntax:

https://www.joshmcguigan.com/blog/array-initialization-rust/
It normally is in Voter ID states like my (for a couple more days) home state of Wisconsin. The problem is that a lot of people can't provide supporting documentation, i.e. a birth certificate.
The only thing more naive is the cookie notice law.
Mapped: Where locals and tourists take pictures in 136 cities (2010-2013)
https://en.wikipedia.org/wiki/Fashion
Free will exists or it doesn't. There's no middle ground. Someone is going to be right and someone is going to be wrong. But, like I said, it doesn't matter. The answer doesn't change anything. It's a purely academic question.

If you weren't trying to cherry pick, then why did you do it so blatantly?
I think Megasync supports this too, and you can sync any files/folders on your machine, not having to be limited to just "the Dropbox/OneDrive/... folder".
> Docker is the Myspace of container engines. It's stupidly unreliable, at least on MacOs. I've resorted to running system prune every week or so to keep it from getting totally out of control.

Well Docker for Mac is really just binding the CLI towards the daemon, that is running in a Linux VM. But the integration is far from optimal.
> I facepalmed when I read that...

I encourage you to read the entire article, so you understand what was his actual thought process deciding to replace docker, and the pros of the new solution.