skysight-inc/HackerNews huggingface dataset:
Disclaimer: not a lawyer, do not actuslly follow this as advice. Yadda

> This is an isolated leak of materials which you very clearly do not have any rights to access, copy, or possess in any manner whatsoever

I think that's backwards - you don't need the right to posess something, you need to make sure that nobody has the right to stop you from posessing it. The default state in the absence of someone else's right interfereing is information gets to be free. So the question is, are you violating any of github's rights if you download the code for "personal research" or curiosity?

As far as copyright/fair use goes, the fact its a leak doesn't seem that applicable to me - you do not need permission from the copyright holder for fair use to apply (in fact that would defeat the entire point of fair use). "Research" might apply here, because in the united states you can basically ignore copyright if its for research purposes (although there is a lot of fine print on that and its really complicated). In particular, if your personal research is non-commercial and unlikely to affect github's bottom line, it further increases the liklihood fair use applies.

https://en.wikipedia.org/wiki/Fair_use#U.S._fair_use_factors

Personally i think trade secret law is more appropriate than copyright here, but afaik that only applies to people who have a responsibility to keep github's code confidential. I don't think that applies to randoms on the internet who are just curious what github's source looks like.

And again, IANAL.
None. Technically the election is a poll, just with a sample size of 100% (by definition).
Tbh I think it's quite interesting that the by far biggest open source platform is in itself not open source. Why?
>Not even close. Second law of thermodynamics puts a limit on heat engine. Gravity storage is not subject to such limit.

Emphasis mine. Don't be a pedant.
As I understood the article, the brewery is not using the process to generate electricity, but to heat fluids (water and wort).

In essence brewing process is a hell of a lot about moving heat around: You heat water to mash the grain to make wort, you boil the wort, then you remove the heat (via heat exchanger) as quickly as possible to get the wort down to where the yeast is happy. What are you going to do with all that energy you've pumped in to the fluid in the first place and have just pumped out again? If you're clever (energy conscious) you find a way to cycle that back into the process. There are lots of opportunities to optimise and conserve the energy that gets shunted back and forth in a brewery and it's a whole art/science in itself.
> Of course, I also don’t eat meat eggs or milk

It doesn't change a lot anyway.

It's a change for you, that's for sure, but not for the World.

For example: in US in the past 50 years meat consumption per capita has not gone down, but what radically changed is what kind of meat Americans eat.

Once was beef all the time, now more than 50% of the meat is poultry, only about 20% is beef.

Why?

Have people become more aware of the beef feelings?

The industry simply realized that poultry is a lot cheaper to farm, you can stuff a lot more of them in the same space and take a lot less time (poultry 3-4 months, vile 12-18 months)

But the margins are higher, if you sell beef (for example, just as a measure) at 10 monetary units/kg you can sell poultry at 6/kg. It will look cheaper than beef so it's gonna sell more, but truth is beef costed 6/kg to produce, poultry probably something around 0.5-1/kg.

And that's what really drives a change in habits in societies and economic system where free market is the only available choice.

It works much better and without all the friction that ethics or beliefs pose.

Next big thing is gonna be plant based food, because it's even cheaper than poultry, it's not evident if the plant is suffering or not (it's easy to recognize a limping chicken, what about a peronospora on lettuce?) but you can sell it at the same price of poultry.

Even better, thanks to the small portions packaging, you can buy at the supermarket 250gr of salad at 1.50 euro in Italy (and that's the price of the cheap one), which is 6 euros/kg, avocados cost about 7-8 euros/kg, but roasted chicken costs about 5 euros/kg!

And it's ready to eat!

That's something we should also be careful about.

But we don't.

> that’s only if you let your cat out. Every

Not really.

But suppose we do all the time.

What do they eat then?

not their owners' flesh I suppose...

They eat other animals

The meat you don't eat is gonna become food for pets (cats and dogs have a special tendency to not care about humans' religions and eat meat to survive), it's already happening, pet food is an ever growing market, which is already valued around 100 billion dollars and guess who is the primary segment for this market?

It's the US with 40% of the global market.

Cats and dogs in US are already eating, today, in 2020, 30% of the meat produced.

It they were a Nation, they would rank 5th in the World for meat consumption.

When I talk about priorities, this is what I actually mean: how many animals can we save fighting the fur industry and how many by giving up on keeping pets confined in our houses?

(the irony, minks in a cage are considered a crime, a cat in an apartment that can never go out it's caring...)

But nobody asks this question, because it's an uncomfortable one and it would mean to actually face the consequences of our actions and rethink our societies from the ground up, instead we prefer as a species to "Tilting at Windmills" the same way Don Quixote did.
This is something that GDPR is good for. If this was in the EU, it would've been illegal to hide the incident. Actually, it still might be illegal if they have EU customers.
I also tend to agree with Peter Thiel's point on The Portal podcast: a significant number of Americans lie on polls because they're ashamed of voting for Donald Trump.

My opinion: I think deep down these people feel they are rationally wrong for voting in a president that promised to, and now is actually attacking USA's democracy and freedom which used to be touted as America's strong point. They know they're acting on instinct, and people tend to hide their instincts in public.
JavaScript+licence+information
The opportunity cost of changing the status quo is overwhelming in favour of doing so. Drugs can ruin your life, so we'll send you to prison for decades?
I don't care too much about the ecosystems, I care about our civilization. That is orders of magnitude more likely to disappear than life (or just the human species) because we raise global temperature, deplete topsoil, deplete aquifers, poison everything with substances that last millennia, cut down forests, deplete fish stocks, etc etc.
In the US, you need decent cashflow to pay for healthcare. You probably also need to save for natural disasters or injuries that disable you. And if you have kids to support, even more costs.
brown paper trick?
Practices that increase email subscribers
Its a bit more complicated than that because US has exceptions (i.e. fair use) to copyright law for research and educational purposes (but the rules for how and when the exceptions apply are pretty complicated and vauge)
Also his latest book Regenerative Agriculture. Mostly composed of varied farm enterprises with financial details amd so on. Pick and choose the enterprises that appeal to you and work with your land... e.g. market garden, tree nursery, pastured eggs and mushroom cultivation.

https://www.regenerativeagriculturebook.com/
Gravity storage converts work to potential energy, and back, efficiencies can be 90-almost 100%... heat engines at room temperature generally top out in the 35%ish range. Using the "waste" heat improves that, but nowhere close to 90%.
This technique is essentially the same as websites made entirely in Flash back in the day. And back then, the only way to have Google index your site was to provide a separate (hidden) version that used normal, semantic HTML.
> No specialization

That's pretty limiting when writing optimized code, i.e. when (much) faster versions of generic functions are available for specific types.

> No currying

Not sure why they decided not to support this, seems like a fairly logical feature to allow. Perhaps they couldn't figure out a good syntax to express this?
That and the racial and class politics behind who gets convicted.

(UK) I know some rich people who have some plants growing right outside their kitchen, if I tried that where I live I'd get shafted without question.
Our total monthly GCP bill is in the five figures range, so it's included there if we need it. Ultimately, a very simple function running on Cloud Function is just way, way more reliable and "safe" for us than spinning up a VM, monitoring that, installing a full web server or CGI or Django/Flask setup to it, keeping it patched, managing deploys to it, etc. There's just fewer moving parts to break.

I wouldn't advise someone to spin up a key part of their infrastructure on Cloud Functions if they're not already using GCP for other things. But once you're there, it's a very useful part of the ecosystem.
The biases are encoded by the recruiters at these companies. I worked at one for five years, and the recruiters often refused to look at candidates who didn't come from top schools (whatever the fuck those are).

I also remember trying to hire a really brilliant candidate and when our director heard about her, the only thing he cared about was what school she had gone to. Fortunately for her, she'd gone to Oxford.

A few years later my boss had a big fight with recruiting and hired candidates on the basis of experience and ability. They were some of the most successful candidates we had ever brought in, and would never have been looked at by the standard recruiting loop.

So, ime the same status games play out in tech companies.
Just to spell out something that's been implicit in other comments: the entropy level of your energy matters a lot. Electricity > movement > heat. To go down the chain is almost free, to go up the chain you have to spend quite a lot.

You can do a lot of things with electricity: you can heat things, but also move them around and run your TV, all without any loss. With heat you can just... heat things. So you can't call this an "iron battery", because you don't get electricity out of it, just heat. Maybe call it a "heat battery" or "high performance heat pad".

Also note the efficiency numbers: "High-efficiency electrolysis of iron oxide can store as much as 80 percent of your input energy in the iron fuel" is the efficiency of the process itself. "Using this kind of cyclical process to generate electricity could approach a theoretical efficiency around 40 percent" is because you need to climb the ladder to low entropy again (probably by using the equivalent of a steam engine to run a generator).
Please stop hijacking posts for something unrelated.
The OP has _NOTHING_ to do with the DMCA etc. It's about a leaked source.

Thank you.
> After discussing these points at length, we decided to do the following: Rearchitect the application from the ground up to vastly increase our development speed in future (more about this in the next part)

Typically this is a death knell for a software project -- however well-reasoned, well-intentioned, and well-planned.
> it's probably more popular in enterprises.

It’s popular because it’s free.
A discrete accelerator is needed even for single 4K.

Yes, intel's GPUs can handle that on paper, but they can't really do so while running any software which needs GPU acceleration, such as a browser. It's laggy at best.
Is monitoring a patient wearing eye coverings and headphones essentially what psilocybin assisted therapy is? This doesn't seem like something one actually needs a therapist for..
When it's more mature, being able to develop for the web in whatever language we want.
The popular external encoder libraries such as x264/x265/libvpx/libaom-av1 as well as a lot of parts of ffmpeg itself have fine-tuned assembly and sometimes C for a lot of things that you'd be missing out on. So I'd guess the speed is more than a bit slower, at least when run on common x84-64 and arm targets, even considering any WASI runtime JIT.
How to Setup Pi-Hole on a Local Computer Without Raspberry Pi
It's a way of doing process mapping:

https://www.ifm.eng.cam.ac.uk/research/dmg/tools-and-techniq...

However, what is neat is how management consultants can use this as a sales weapon - that books describes it how to use it that way.
Maybe it's better than tailored advice. These guys probably get hired in cases where downsizing is the desired answer.

The way big, obvious decisions get made gets a lot of scrutiny. They're litigated, literally and otherwise. It's pretty hard to go into major layoffs without a "no choice" mentality. The advice might create an air of certainty, help with labour courts, settle dissent in management, etc. It might play an "explored-all-alternatives" role, etc.

It's the type of thing we never hear a full throated defense of, because these things don't ever work without some level of ambiguity.
There are many of us that would like to do frontend development in a language that isn't JavaScript - having a compilation target for that which even comes with speed benefits is huge.
Onslaught of Login (Brute Force) Attacks Shakes Enterprise IT Security
Removing apps and using web shortcuts instead for things that are time wasters both improves your privacy and leads to less use of these apps and more productivity (that's been my experience at least).

Ideally switch go Graphene OS if your phone supports it.
> The huge number encodes the image that the equation plots it.

I can't parse this.
Thanks! Any ideas on handling auth details on server side?
That's an interesting insight.
Could it be a product of the difficulty in dosing mushrooms in a private setting, though? I'd imagine trips to generally go smoother if it's possible to aim for an intended level of weirdness more precisely.
I actually did want to know, thank you.

I have been on the market for such a semi-generic interface/type definition for a while now and I'll try Spot.
AWS Kinesis now supports data retention period up to one year
I can think of a few opensource projects where it has not been, and have been involved in a few such successful projects professionally myself.

It's certainly not something to be taken lightly or by people who don't understand the intricacies of the original system (Chestertons fence) but I think people are sometimes too reluctant to do this sort of thing.
Drag and drop application building like .net Winforms.

The productivity boost of quickly making forms and only coding the button actions is unmatched. No "RAD" web framework on the web is anything near that.
Sure! Thanks. Just curious to know why do you not want electron app.
There are some obscure features in OpenGL like line stipple or selection mode. Most of them have been deprecated for over a decade, but there is still some CAD applications that rely on these functionalities and ancient OpenGL 1.3 semantics. It makes no sense to use silicon space to implement such features, if you can emulate them in software. Also, doing things in software doesn't always imply slow, because many old OpenGL features can be reimplemented with modern OpenGL using shaders, so it's done by hardware, just there is no dedicated HW support for it.
Seasonality of solar is huge in northern latitudes. Using iron to store energy for months is an interesting prospect, although it needs to be kept dry so you can't just leave big heaps of it outdoors.

At first glance it seems reasonably transportable, but I'm worried about how you prevent it rusting in the air. Maybe it would be useful to blend it with biodiesel for that purpose.
Tangent: this again reminds me of the surprising number of breweries or beers called "Bavaria" which are not in fact located in Bavaria. But I guess Bavaria should take that as a compliment...
Presumably all the bleeding hearts who've objected have never had malaria nor have they ever seen anyone in the throwes of suffering from it. Mosquitoes are the number one killer worldwide.

Can't these idiots realize that whilst there's risks that they're outweighed by the benefits.

https://www.smithsonianmag.com/smart-news/mosquitoes-kill-mo...

One of the tragedies of modern society is that the whingers and whiners usually haven't suffered from the effects of the things they're complaining about. Their political action then denies benefits to others not so ideologically disposed.

We've seen how much damage they've caused over COVID-19 objecting to masks, vaccines and so on. Many thousands have died as a result who otherwise would not have had these objectors had more sense.
The V language seems to be exactly this combination: https://vlang.io.

It is not as stable/mature - but well, its open source.
The book is fairly even handed in general about management consulting - but it does emphasise that the "Butchers" strategy can often be good for executives but bad for shareholders.
Why would someone need 90K to write a book while already having a profession?

Interviewing three people is also apparently worth 5K.

And the book's photos are black & white ...
Or live in an area that'll let you put the property up as collateral to zero your taxes until you die.
That is my point though. Even though sugar isn't inherently bad for you, it's so incredibly easy to over consume, that is responsible for an enormous share of our healthcare costs, if not the majority.

So it's possible to consider it as even worse than some carcinogens.
> But bad actors also use these services to anonymize themselves

I mean yes, but then you'd also have to shut down Gmail, live.com and all the dozens of free email hosters.

Better make prepaid SIM cards illegal too. Oh an letters can be mailed anomalously, better make that illegal too.
It's almost funny how history stubbornly likes to repeat itself.

https://www.joelonsoftware.com/2000/04/06/things-you-should-...
I closed the tab as soon as I read that line. Eurgh.
That sounds awesome. I wish there were places like that around here. :)
On a more basic level than that it's still far too prevalent to publish almost purely computational papers in applied fields with no code, i.e. in my experience of Tyre modelling even academic models (i.e. no $$$) rarely show the code (let alone comment on whether it's good code or not)
Can somebody explain what the downvotes are for?

Are you IPv6 fanbois?

Have you audited all the firmware and software on your firewalls and routers?
You also have to ask the other way around: What do ticks do to their hosts? Animals such as moose or reindeer can suffer greatly from heavy tick infestations. Depending on the death rate this causes removing the ticks could have similar effects to removing predators such as wolves from the ecosystem.
However there are many tick species, and I doubt the impact would be that strong, but who knows.
Thanks for chiming in.

Sure I'll check out what they do and how they do it. I'm in the thick of it :)
As far as I can tell (never having gone through YC), some of these mistakes are exactly the ones YC spends a lot of time talking about. I'm curious what caused you to make them anyway. Did YC change, am I wrong, or is it simply a case of practice being harder than theory?

How did your office hours go?

Thank you for sharing!
Easiest way to install and use YOLOv3 neural net for real-time object detection
The brewery is not using the process to generate electricity, but to heat fluids (water and wort). The research team behind it hope to scale it up to electricity generation in the future.
Firstly, thank you MuseScore team. It has made a world of a difference to me - I push for low income students to learn music, and offering a free quality program is invaluable.

Does anyone know any way to export to/from LilyPond?

MuseScore is miles ahead of things like Frescobaldi with everything it does, but I really would like to compose Lily-style, and all my attempts to use the two together have not been successful (there was a plugin that was discontinued, etc).

As an aside, the typical user of Lily is more likely a programmer, so it would widen your base of possible contributors if you added import support
> I.e. Rust right now is excellent at certain things ("linear things"), and okay at non-linear things. But could it be made to be really good for the latter too?

Having written programs in Rust and Haskell, which are in this regard
quite similar, I think that you can express most of your application in a
"linear" fashion and only have a bit of "non-linear" things at the top.

For example if you have to handle some "non-linear" things like events
from the system or a gui library, then you might have - in Rust
terminology - a 'RefCell<Rc<AppState>>' to be able to have shared mutable
access to the application state.

At the top of the event handler you would transform the
'RefCell<Rc<AppState>>' into a '&mut AppState', which is the switch
from the "non-linear world" to the "linear world" and involves a runtime
check that there's only one mutable reference. All the following code
of the handler can then be verified at compile time.

This also makes the reasoning about the application easier, because
you might even reduce the mutation of your application state to the
switching area. So most of the event handling could be a pure
transformation of the application state.
Disney accused of colonialism over 'hakuna matata' trademark (2018)
> but is it still the case that your main function has to be inside a class which has to inherit, ultimately, from Object? I think that's what gp meant in implying that inheritance is not optional.

This is correct but not what GP wrote. What GP wrote is:

> Unlike in Java, which offers practically nothing else [than inheritance] to organize a program,

To point out why GP is wrong:

- In Java you can organize files by packages

- by purpose (different folders for test vs production code),

- you can use composition to combine classes (in fact this is the recommended way these days)

- etc

I normally don't care about language wars but I think it is OK to point out when someone writes something that is clearly wrong.
Tangentially lated

I'm wondering when one of the 1000s of services with write access to 100s of thousands of github run repos gets hacked or tokens expropriated and lots of repos suddenly get malicious commits.

I saw the headline and assumed this was a leak of someone else's source via stolen tokens.
Why can't OS catch ransomware in the act?
Ransomware is a major risk, and it keeps evolving to avoid detection from antivirus tools or operating systems.

But what if the Operating System manufacturers developed a technique where modifications to data on a disk drive exceeding x storage measurement units per time unit triggers an alarm?

Let's think of it in terms of physical warehouse.
If someone walks into your warehouse and begins to flip every box on every shelf upside down, you would not just stand by and watch it happen. You would ask what they were doing, wouldn't you?

If ransomware starts to change (encrypt and delete) gigabytes of data within minutes, would it not make sense that your operating system pauses the process, shows a popup question and asks you if process X is supposed to be doing what it is currently doing?
For those out of the loop:

Tantacrul is a composer who put together some hilariously scathing UI/UX video reviews for some popular composing software tools out there, including MuseScore [1] [2] [3]. The team developing MuseScore then brought him on as head of design.

[1] Sibelius: https://www.youtube.com/watch?v=dKx1wnXClcI

[2] MuseScore: https://www.youtube.com/watch?v=4hZxo96x48A

[3] Dorico: https://www.youtube.com/watch?v=S-3wEC6Fj_8
And cue the vendor lock-in blogs from the future
Or the dinosaur Mozilla banners...
Is Context discussed in that book? It's a pretty big game changer when writing concurrent algorithms.
Every vendor requires proprietary firmware now, afaik.