skysight-inc/HackerNews huggingface dataset:
> It’s very hard to understand why the current administration has such an urge to roll back environmental regulations.

There's a part of it that's performative. Liberals care about the environment and want to impose regulations, ergo conservatives should disregard the environment and should roll back regulations.

Of course, this is a ridiculous line of reasoning. But it's not meant to convince anyone who would recognize how illogical that is.
Is it like Streamlit with Gallery?
no videos at this time, there are source codes all the tracks in git (linked below the soundcloud player on the homepage) - and that should give an overview. Basically I'd be talking through the source code. If you go up one directory, you'll hit "api/examples" which is more functonal (but less song-like) demos of particular features.

Basically the API is "step 1" to building the final sequencer, but we always want to have the API available for the generative music crowd (and also our own use). Conceptually I think this would be really great to build an ear training program out of, because it's so easy to tell it to generate a ton of chords, scales, and intervals. Maybe that will come later too.

Anyway, video is still something on my radar!
Agree. What you need for most content is not structure; what you need is really great search and discovery tools.
Thanks for letting me know. I probably have to tweak it a bit to make sure it's valid in all browsers.

While researching, I've found some fun things people have been doing using text and emojis in SVGs [0]

[0] https://lean8086.com/articles/using-an-emoji-as-favicon-with...
[1] https://css-tricks.com/emojis-as-favicons/
I had an APC UPS battery age out on me, after only a couple of months after purchase. Back-UPS XS 1500.

I called their customer support, and they asked about the kind of equipment I had plugged into it.

My main NAS motherboard had died, and I hadn’t gotten around to the full rebuild that was going to require. So I had ended up with about five or six cheap USB external drives, with those “wall wart” DC power supplies, strung along a couple of power strips that were plugged into the UPS. That plus a 27-inch iMac.

It was generally not much power - not much surge to spin up, or to power up the Mac, and of course at idle was less than 100 Watts.

APC Customer Support said that the power strips might actually be weirding out the battery.

They sent me a replacement battery at no charge, and suggested that I go with a Smart-UPS, with their Power Distribution Units if I needed more outlets.

I had always thought the rack-mount PDUs were a silly expensive replacement for a no-name power strip. But I had long had a keen interest in this sort of IT equipment fail, after witnessing some spectacular crazy failures in corporate, and losing the manuscript while I was writing a book on small-office IT practice.

So I bought a basic PDU, and a Smart-UPS rated at something like 700 VA.

That has been rock solid. Even better than a larger setup I had with some big CyberPower systems.

I’m willing to go along with the cargo-cult of PDUs now. I would be quite surprised if there were any significant difference among the basic PDUs of well-known brands.

I still have those USB drives. They’ve lasted about as long as the hamsters, not as long as the dogs.
Previously discussed a few days ago:

"NeRF in the Wild: reconstructing 3D scenes from internet photography"

https://news.ycombinator.com/item?id=24071787
They're part of the language specification - the main function has different semantics to a normal function in a few ways - so the compiler must handle it to some extent.
You're vastly underestimating the benefits to regular people. You haven't lived in a country with instant, universal electronic payments.
Then why is DT still talking about how biden is an ungodly man who is going to, and this is an exact quote, "hurt god".
You would theoretically use proportionally less land, so stick three 800 sqft homes on it.
It appears (discussion on such topics seems taboo) that a faith based approach is in play - which is fine, I'm just suggesting that it may be worthwhile to explicitly realize and acknowledge the true nature and contents of one's belief system.
They have a lot too, a new one just popped up a few days ago https://www.bgr.in/news/apple-products-have-a-new-unpatchabl...

I'm not sure if anyone has compiled a list of how many
Hard disagree. Also the author is arguing against a strawman.

Normal PDF's are simple, reliable, and interoperable.

In contrast to webpages which are actually more often the "clunky", "slow", "stuffed with fluff", and "disorienting" (with scroll hijacking) alternative.

But the strawman is people creating PDF content as an alternative to HTML. Practically nobody is doing that. Virtually every PDF out there is designed to be a printable document first, that is then made available on the web. Nobody is saying "how should we architect our new site -- I know, let's make all our pages PDF's!"

What a truly bizarre article.
> IMO, the tools themselves are really failing us here.

Yes but this is not the biggest issue. The biggest issue is the culture.
In the short term it is easier to not have a proper documentation, so if you don't have an enforced culture about written documentation, this will always be an issue
And yet, those who didn't imagine it in the 1920's still got civil rights in the 1960s.

So in your view, what were we supposed to learn from history?
TXR Lisp with unpublished reject function (complementing select):

(1> (let ((r (range 1 10)))
(reject r (take 3 (drop 1 [where oddp r]))))
(1 2 4 6 8 9 10)

This is not correct because "drop 1" means "drop the first index where r was found odd" not "drop the first index if it happens to be zero".

Fix:

2> (let ((r (range 1 10)))
(reject r (take 3 [drop-while zerop [where oddp r]])))
(1 2 4 6 8 9 10)

"Let R be a sequence of integers, indexed from 0. Determine the indices where R is odd, as a sequence of indices in ascending order. Remove the zero index, if it is present. Then take the first three of the remaining indices. Remove the elements with those indices from R."

This seems verbose, but watch it do something Common Lisp's remove-if will choke on:

2> (take 50 (let ((r (range 1 1000000000000)))
(reject r (take 3 [drop-while zerop [where oddp r]]))))
(1 2 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
48 49 50 51 52 53)

range generates a lazy list. where generates the indices lazily. drop-while and take are also lazy, and I just coded reject so that, after the indices have been exhausted, if the remainder of the list is lazy, then it just tacks that lazy suffix into the output. I.e. it's not fully lazy, but in this case it works because the list of indices was trimmed to a finite length.

I think in release 242, I will might include reject, as a fully lazy version supporting a lazy, infinite list of indices as well as sequence; and will fix select to also be fully lazy.
one of the payment options is "cash in an envelope"

I was intrigued by this line in your post, and it turns out it's true. I'm not all that paranoid, but I kinda like that idea.

Also, right now there's a caveat about it:

"Cash payments are delayed due to corona

6 May 2020 NEWS

If sending cash is your preferred method for topping up your Mullvad VPN account, please plan ahead. The coronavirus is causing delays in postal delivery.

To avoid being stuck with no time on your account, send your payment well in advance. Mail coming from the US is taking four weeks longer than usual, and even post from countries in southern Europe and England are delayed."
Money can't buy cures for many pollution causing diseases. We should require that those in charge of these regulations must periodically drink from the 'treated' water output which tests as most polluted. Likewise they must breath air samples from the communities that test as most polluted.

Once it's personal, and they can't buy their way out then improvements can be maintained.
>In a truly free market with no government fingers on the scale no worker would ever work for less than is required to live

Absolutely false. People will always work at the highest wage they can obtain unless they value their time above what that wage. No government assistance leads to even more people working for $1/hr because they're even more desperate.
Me too, I once knew it but looked it up again earlier today out of curiosity. I was actually quite surprised to see this thread popup on HN a few hours later!
Yes!

Even his opening premise is flagrantly false: the problem is not that Uber has "failed drivers by treating them as contractors". The problem is that Uber has arrogated to itself all the benefits of an employee-style relationship without incurring any of the burdens.

They can't have it both ways. But their business depends on it. Switching to food delivery does not give them a way out of the pain machine. Which is why they have to spend so much money working the refs.
> It's that if you get the equivalent of 'asdflklf' shown in the log

I think the fundamental problem is that commands like merge and revert generate their own default commit message and don't bring up the editor so that further updates can be made.

At my job, I always will tell people that they need to include why they're reverting a commit in the commit message. I haven't really done anything about enforcing standards on merge commit messages, but perhaps including the cover letter or PR description in the merge commit would be a good start.
> Why would you need to? I don't understand the point you're making. It's not about the money, it's about data, right?

It's inevitably about both. You don't make an app with the reach of tiktok without a huge amount of money changing hands. You need to advertise it, you need to motivate content creation, you need to buy servers, you need to pay for that (probably by selling advertising - but funding from the government works as well), and so on.

If someone made a popular app without a source of revenue, that would be just as much of a red flag that I would expect the government to look into (for tax reasons even).

You can't stop small things no one uses, big things have but noticeable footprints. Big things are also the things you care about stopping if your goal is to do things like "not let China collect a complete social graph".
From Apple's perspective Qualcomm has been insufficient for a long time for many reasons, the security issues here would only be one of the many factors involved in the decision to do their own development.

For what it is worth, a modern chip as complex as the A* series is essentially guaranteed to have vulnerabilities. Maybe not 400, but definitely not 0.
> So if you invented dynamite you wouldn't feel responsible for its use?

I would if I were inventing dynamite, but that's not what this scenario is.

A person working for a knife manufacturer need not worry about it being used for murder, as that's not what the primary use. And facial recognition is a lot less harmful than even that.

Trust me: I work for a company that produces certain goods used for all kinds of good and nefarious purposes depending on who buys it. My conscience is clear.

> But, let's change it a bit more personal. You write an awesome OSS yaml parser. It's so good, that GFW of China uses it as a main component, and this gets published in the news.

> What would you do? Nothing you did changed, but suddenly your work is powering an unethical component.

I wouldn't do anything:

1. This is milder than the knife scenario above. Of course I don't care if people use it in a poor way - unless there is a straightforward technical mitigation I could do. In your example, given that the source code is available, that is not an option.

2. There's a certain hypocrisy in releasing something as open source and then complaining about how it is used. If it bothers you, then modify your license!
I way prefer a PDF to most modern advert-infested, javascript-laden website.
Thanks! Another idea I was entertaining was teaching them Lisp (Racket?), Haskell and Prolog, just long enough for them to get a feel for other programming paradigms and ways of thinking. However, I settled for the project, eventually.

Anyway, any ideas what should the actual project be? What kind of project would you, as a student, prefer to be coding? What lind of inout from the teacher would you find valuable?
Paper is a vastly different medium compared to computers. The ignorance large companies(digital book distributors) show when dealing with humans(by only focusing on ebook sales and nothing more) is really annoying. Take Adobe Reader for example, it is really awkward in how dozens of researchers are unable to grasp the most basic feature of computers: dynamism. These people's minds are still stuck in Gutenburg era and they fail to notice how powerful computers are.
Having had headaches with pdfs(I read lots of books) and the way knowledge is buried in this format, I started a project to inject some dynamism into our book reading.

Please check it out if you are interested.

https://github.com/rezahsnz/readaratus
Ask HN: Why CTFs while being insanely technical seems to be not popular on HN?
in before: I'm relatively new here

HN seems to be very tech community, yet security and things like CTF which do require proficency and experience in both - theory and practice doesn't seem to be popular here

why it may be a thing?
There's middle ground. For example, Trump could lose, but some Senate seats that should flip might not.
> Computers are great, but in a way, so 20th century; it's networked computers which are, at least arguably, the real technical revolution of the 21st.

It then goes on to list all things created in the 20th century: TCP/IP, ethernet, DNS, HTTP, etc.
There's more discussion, and a more detailed article, over here:

https://news.ycombinator.com/item?id=24111002
I agree that they are different graphs, but to the parent's point are they at all concerning?

Here's the logarithmic graph for Brazil:

https://91-divoc.com/pages/covid-visualization/?chart=countr...

It's a breatiful plateu, which indicates that we do not have the super-scary exponential growth we were all warned about by these models. As the parent said, the models were off by an order of magnitude at least.
He's a 74 year old speaking to other 70+ year olds there.

Talk to some younger Republicans, even Christian ones, who aren't in your social filter bubble.

The whole Falwell family has long been disgraced and ignored.

https://en.wikipedia.org/wiki/Moral_Majority#1988 If you scroll down and do some followup reading you'll see that his plans to revive the organization failed miserably.
Why would that matter though? Crawlers of that low quality are almost guaranteed to be worthless for traffic purposes and should likely just be blocked as incorrectly functioning trash.
We have been thinking about this A LOT. We actually have some ideas and I am happy to share them with you. Some include helpful nudges, permissions, a quick DM etc. Want to brainstorm or hear some more ideas? Happy to jump on a Rally call and throw some ideas around!
Tech and Tech Idealism (2019)
Why would it require that much data? I always thought you wouldn't need to add or change more bytes than are in the output.

Also, git hashes aren't just based on source code. You can add that data anywhere that git uses to generate the hash.
Which reviewers do that?
> Employees of Google still use VPNs to connect into sensitive networks.

Not really. Maybe the people that keep BeyondCorp-related systems running, if at all. There are VPNs, obviously, but not directly accessed by 99.9% of employees.
If you taxed all US billionaires at 100% it wouldn’t have even paid the bill for the recent Covid relief bill.

We need more people paying taxes, not fewer people paying more taxes. The other thing is that if we have a “strong” social safety net, that will then incentivize more low wage jobs that don’t pay enough to actually support the person (sort of how Walmart paid low wages, but many of its employees were on food stamps.)

Government should be less involved. Having food stamps available for low wage workers means they can accept a job for lower pay than they would have been able to accept otherwise. (I am not saying to get rid of food stamps, only to illustrate how “safety nets” actually perpetuate the very problems they are ostensibly attempting to solve.) Why should I be subsidizing Walmart workers? If we lowered costs to businesses by reducing taxes but also simultaneously reducing “safety nets,” the market would then require higher wages for a given job or the job wouldn’t get done. Right now it’s sort of some Keynesian system were I pay low prices at Walmart, but those low prices are subsidized by my tax dollars that pay safety nets that then allow Walmart to pay lower wages. So my “low prices” are really the result of a government subsidy that I pay for in taxes.

You also see this in agriculture: we pay lower prices for vegetables, but due to the number of illegal alien employees who are paid less than minimum wage. The costs of a vegetable should reflect the actual cost of picking it, not a cost subsidized by illegal/below cost workers. (Just to be clear, I don’t care about the documentation of a worker, what I care about is businesses leveraging below market labor as a cost savings that really just passes the societal costs of that labor to taxpayers.)

So I don’t agree that business should be taxed more, but that we eliminate the perverse incentives to pay workers less than a truly free market would support.

We should, of course, have safety nets for the truly destitute, but they shouldn’t be a replacement for actual wages.. and that’s what we see in places like Walmart. Safety nets shouldn’t be generational. They should provide temporary help, not as a perpetual subsidy to businesses.
How would that be different from teachers providing child care?
Yes, you need to pay extra for Prime Ultra Gold edition or whatever it's called these days to not see pre-stream ads. Last I checked it was still impressively expensive.
I've had similar issues with lost/forgotten passwords. I actually have a bricked Nexus device because of it. Any password reclamation attempts are supposed to send an email to my backup account for resolution but the email just never arrives. From my reading it sounds like a common problem as well. And yet I have a newer GSuite email through work and a personal Gmail account for about 14 years (since beta) and no issues otherwise.

Also at a loss.
> To do a "proper study" you should be impartial

Why do you believe this? It is very much not true. If you wanted to study, for instance, how societies collapse, you don't need to be impartial about the notion of societal collapse. If you wanted to study war, you don't need to be impartial to war.
He might get re-elected. To me it seem like the DNC is doing everything it can to make that happen. :/
Personally I've been pretty hardcore about various kinds of fitness (including the synecdoche of the day, CrossFit) so it's been an adjustment to be the dumpy dad jogging behind a stroller.

I will say that I really wish I could lift weights or at least do pull-ups right now because I'm getting all kinds of random aches I don't get when my upper body's in shape.
I think you need to account for inflation, which from 2000 to 2020 is 50% [0].

So 175%/150% => 116%, or 16% increase in tax revenue for a 15% increase in population.

Which means inflation adjusted tax revenue/capita has not meaningfully changed from 2000 to 2020.

[0] https://www.in2013dollars.com/us/inflation/2000?amount=1#:~:....
Yeah but they just tossed out "Lamborghini Prime" like it was bad bacon.
I've seen someone's opinion basically summarized as "a lot of these [Trump / republican] supporters don't really reason through anything political beyond "fuck liberals". As long as it opposes the damn liberals and whatever they want, it's all good, no matter how illogical, self-harming, or clueless in any other regard.
Sunrise was acquired as an acquihire, they never indented to have Outlook Mail and Outlook Calendar.
I have heard horror stories about declined credit card payments for things like extra storage or premium YouTube causing people to be locked out of their accounts with no recourse. Due to this, I am afraid to pay Google in case things go wrong, so I use competing services instead.
I pray daily that more of my fellow programmers may find the means of freeing themselves from the curse of compatibility.
-- Edsger Dijkstra - 1972, Turing award lecture
Thanks for sharing your thoughts. Daniel from the Prisma team here.

regarding 1: Can you share more about schema generation problems? Are you using introspection to create the Prisma schema? If so, we're actively working to improve this flow with "re-introspection": https://github.com/prisma/prisma/issues/2829

Regarding 3: Prisma supports transactions with nested writes and it's stable (https://www.prisma.io/docs/reference/tools-and-interfaces/pr...).

The new experimental transaction API pushes the idea of transactions further by combining multiple individual Prisma Client calls into a transaction.

Long running transactions are indeed not supported. Long-running transactions require holding a stateful connection open between two components for an extended period of time which can be at odds with the way modern scalable systems are built.

Perhaps you can share more what you/app developers mean by transaction?
Or the other way around
Root and firewall?
Indeed. I, too, learned that lesson the hard way many, many years ago! I also know several other folks who learned that the same way that you and I did.

Although I'm a bit "old school" and generally prefer serial (RS-232) ports, this is one case where the change to USB really was a huge improvement!
Posted on HN yesterday, Pioneers of Soviet Computing:

https://archive.org/details/PioneersOfSovietComputing
See https://www.nytimes.com/2020/08/09/opinion/trump-beirut-poli...
That is a reasonable opinion to hold, as long as you understand that direct financial profit not the purpose of nearly all government spending.

The intended return on investment is the knowledge generated by scientific research, as is maintaining the scientific research pipeline and subsidizing academics. More profit for MIT and corporations is also a positive outcome, as is better razors for US consumers.

If most voters believe this is a net positive, they can sign the rest up to pay for it in our democratic system.
The problem with EPUB is you can't annotate them.

I do a ton of academic research, and whenever I find a source in EPUB I have to convert it to PDF first, just so I can do highlighting, circling, etc.

True, EPUB applications generally allow you to highlight, but those highlights are stored in the application. They don't live in the file. You can't export them to import them in another reader program. With PDF, all my annotations stay in the PDF itself, and appear in all fully-featured PDF software.
Sharpies
I was doing some researches about this very topic a couple of weeks ago and saw a post on Speciesworks (still trying to find the post). In that post, one Eaton rep replied that the ups device would shut down once the battery died to protect the devices connected to it.

Teah, it's just this simple. This is just a byproduct so all those companies can boast their insurance coverage on damaged equipment you connected to their UPS. And guess what, most of the time you won't be able to get this insurance even if your stuff got fried, saw a few stories like these from recent Slickdelas posts of UPS.