skysight-inc/HackerNews huggingface dataset:
They fixed it.

New question: total number of legs is 32. how many elephants are there? And two elephants are legless.

If there are 32 legs in total and two elephants are legless, then there are 6 elephants.

Here is the calculation:

Number of legs per elephant = 4

Total number of legs = 32

Number of legless elephants = 2

Number of elephants = Total number of legs / Number of legs per elephant - Number of legless elephants

Plugging in the values, we get:

Number of elephants = 32 / 4 - 2 = 6

Therefore, there are 6 elephants.
Isn't the Porsche Taycan in the Model S price range?
Mark Zuckerberg credits Elon Musk with kicking off the tech trend
Pretty much so.

For some people music is an art form to express themselves, the skill/talent part is just an obstacle.

There is still much work to do on the rest of the song writing and production.
You wouldn't know how much demand there could be till you build it, iterate and innovate. You can't ever do that if regulations stifle it completely.

I don't care. But I'd rather live in a world where tinkerers can tinker away since I imagine they'll be able to make something I would care about later as a consumer.
Your recommendation is based on what you want for yourself, not based on what’s good for the person starting the company.
Today, we're going to work on creating a Python 3 package to facilitate access to an API for fetching YouTube channel details!
Fully agree. I grew up on a farm. The animals included cows, sheep, goats, chickens and donkeys. You quickly learned their distinct personalities. You could tell when they were stressed and when they were content. It sure felt a lot better when they were content and you went out of your way to achieve that, both short term in what you did that day and longer term as you structured the farm to better fit what the animals wanted.

The animals learned about the humans as well. For instance, walking to the back edge of the farm in the fall to fix fencing, the cows would change their routine to follow - especially the part were you might route through the field full of apple trees.

Sure enough, you'd see that the cows had eaten all the apples they could reach but there were vast quantities of ripe apples higher up. So you climbed the tree and used your legs to shake branches, causing bushels of apples to thunder down. The cows that had followed would call loudly to summon their herd mates, who would come at the run.

If the sheep saw me on the same trip, I'd be ignored...unless I was carrying a bucket, which meant it probably had oats, at which point I'd have a herd of sheep converging on my position.
>Being able to share UI and code on Android and iOS is still a desire for many developers. As hinted throughout the post, I think React Native may be the only other possible contender.

I have been a codenameone developer for 8 years now. On Android you run java and on ios you run static c which comes from the java code itself

Shai Almog and Steve Hannah have done a great job at making cn1 a comprehensible platform to develop on mobile. All the issues listed on this post are covered (scrolling with inertia, Android file system updates, etc)

I don't know how successful cn1 is in terms of users but I wish it were more popular on places like HN where React Native/Flutter is the bread and butter
The basic idea is to produce enough power when the sun shines to last when it doesn't shine, by using some kind of energy storage. Batteries are one option.

How long batteries last is controlled entirely by how long you want them to last. A 2 hour installation is made to last 2 hours, if you attach it to half as many consumers it will last 4 hours, if you double the size as well it will last 8 hours. Some modern EV's can power a single home for several days.

Another interesting option is to synthesize gas. Australia could for example power Sydney from solar+batteries+synthesized gas by the end of this decade if they wanted to, construction could start tomorrow.

It seems that worldwide, the main obstacle really is "Wanting to". Everybody says they want to but there are so many economic structures closely tied to the status quo that actual change is quite slow.
> This whole madness started because someone posted an attempt at a test case for a different issue, and then that test case started failing on versions of OpenZFS that didn’t even have the feature in question.

One will expect more seriosity from filesystem maintainers and serious regression testing before a release.
The UK has the most CCTV cameras per person outside of China, so better make sure your opsec counter-surveillance skills are up to scratch...
And before that we’d copy out of Britannica by hand.

No rephrasing to do now though.
How's the wake-sleep pattern different from the exploration/exploitation in Deep Reinforcement Learning?
This is unrelated to the thread. The point was obfuscation of the fact that the profit is from a specific copyrighted work. I.e. selling 600 versions of a game each with a different default skin hides no income from tax authorities.
Interfering with radio (phone) signals seems to be one of those perhaps unexpectedly serious crimes especially for how easy it seems to be even by accident.

If only other similar service rights were given the same protection. Like the constant data leaks/thefts.
This only makes the "problem" of the duck curve worse, by widening the part of the day that solar displaces all other generation, and making the switchover point in the evening even steeper.

But that's fine, any "problem" potentially caused by the duck curve has long since been addressed by plumeting cost of solar PV and batteries and a host of other improvements put into place since the potential issue was identified.

The real problem of the duck curve is that it's become a misunderstood meme that fools people into thinking "we've built too much solar, too fast, which will cause vague problems" when that is far from the case and the number one thing we need to do right now and for the forseeable future to improve the energy grid is build more solar PV.
Marx specifically wrote about English colonisation of Ireland - and apparently had a whole other set of 20,000 print page long notebooks on such matters that never made it into the standard "Big Books of Marx".

At least according to a Marx scholar: https://developingeconomics.org/2022/10/13/marx-and-colonial...

Many other British historians are happy to go on at length about the wealth England extracted from India and elsewhere making the trading classes and adventurers the (relative) uber billionaires of their day with vast estates and fabulous gardens, etc.
Auto-tune has done to singing what photography did to painting - if anybody can be in tune, then being tuneful is no longer impressive. So other qualities become important, such as timbre and authenticity.
> …that the problem, at its core, lies in the business model of the platform economy, one that depends not on productive labor but on rents.

all the while we are being told by the high priests of capitalism that “the market” will sort it out, that “the market” will force efficiency. Pshaw!

> That tech work is becoming bullshit is not the problem. The problem is that the companies themselves are bullshit.

It's refreshing to see it said so directly for a change.
For a good well funded news desk, proof of provenance for images is part of the process. You dispatch your photo editors to verify and make sure the image is correct. They have always done this. Which is why when things like this: https://www.theguardian.com/media/2004/may/14/pressandpublis... happen, it was an editorial decision rather than a "mistake" (this is the same bloke who lied under about hacking a child's answerphone.)

For journalism thats given away as a side effect, rather than the main business, they don't have the same time and money to verify anything
So if you can’t find a distributor for your copyrighted work or you’re not capable of distributing it yourself, you lose the copyright? You’re compelled to sell your work? Sounds pretty backwards to me.
I doubt you've seen industrial slaughterhouse videos that aren't meant to sensationalize. I've even walked around in some, where all rules and guidelines are followed, and I can still eat meat just fine. The animals don't realize what happens and death is instantaneous.

How do I rationalize it? Animals are being eaten in nature too, we at least don't eat them while they're often still alive (like in nature). Plants are living organisms too, and everyone eats those without a second thought. It's just that they don't pass a self-determined bar for many.

The environmental impact is a completely different question, unrelated to this.
Did you read his post?

Software isn't catching up. For most AMD GPU owners, the software quality is getting worse over time.
The external link for the second story 404's.
> without having to resort to custom syntax

But this requires extensive casting features which we don't have in Oberon+. Here is a discussion about this: https://github.com/oberon-lang/oberon-lang.github.io/blob/ma...

> I meant an obligatory join

This is how it was solved in Occam, Joyce or SuperPascal. It's just another language philosophy, and also less flexible than the detached go routines. Using Go (or Oberon+ in future) requires another way of thinking and architecture. Requiring wait groups or other features from the sync package seem like an indication of a mismatch between the architecture and the language philosophy. I'm actually very interested in what things really don't match the Go (or Oberon+ so far) language philosophy and cannot be solved satisfactorily in Go.
There is a world of difference between "can be done" and "can be done well". Existing building blocks typically is good for the former but often not the latter, or you have to exercise a good amount of judgement when piecing things together.
*international remittance
This is a fundamental misunderstanding of what was the a tual problem with sharing code, at least with Lisp systems (can't speak of then commercial Smalltalks as I have no experience with those).

The lisp environments were fragmented, so sharing code between different systems was a problem - even assuming Common Lisp, a group working in facility A might be using Symbolics machines and depend on software packages like Dynamic Windows and Symbolics specific network stack, which mean portable core logic would be missing various usability elements like GUI when ported to facility B running CMU CL with Motif on Unix, or facility C which had TI Explorers.

Another issue was that the machines were powerful enough you didn't have to contact others just to get running. Working in C meant you either spent a lot of time filling in basic functionalities, or you collaborated with others.

This was compounded of course by C and Unix being effectively free for huge chunk of zeitgeist-creating masses in academia.
Actually reimplementing something that’s already exists is a great way to get an understanding of it precisely so you can deal with the questions you mention.

My rule of thumb is that you should always understand at least one level of abstraction down.
Ye 6h of work per day is really high. A honest answer for a programmer is probably 1h tops plus meetings.

Once I worked at a place for like half a year to a year I have qued up so much work for others that I can't progress myself. And efficiency gets down to like 1-5% or something of what I would produce in a one man project.
Yes. That's because as you move away from the foreground object, the ratio of distances to foreground and background decreases. In the limit, this ratio approaches one, and you get an orthographic projection, where the projected size of objects (after zooming in) is independent of their distance from the camera.
And seem to fail to understand that industrial electricity demand is flexible nowadays. And has been for almost a decade now.

So to put it in your words, yes, companies are absolutely accepting that kind of behaviour from their electricity suppliers. Companies are even benefiting greatly from it.
Disregarding $/kWh. Why spend more for less simply because it is nuclear power?
This statement ignores a ton of other factors, and provides a particularly poor example. What did Einstein do to alleviate hunger? Most of his contributions remain theoretical or applied to things that don't directly help the population (or haven't paid off yet).

Even if you have someone who is intelligent, will their contributions actually make life better for people? Or will their ideas become commercially corrupted and be used for greed (Edison commercialization vs Tesla gifting)? Will they complicate our lives or provide harm along with some benefit (social media, TV, etc)? At such a small rate of the population (using your 1/1 billion), would a truly good idea gain traction? Maybe the idea to eliminate or restrict meat is theoretically a good one. But are you going to convince all the people to support it? Then how much impact will it actually have?

There is no magic solution nor hyper intelligent person that will save us.
>The naive solution of simply backing up the entire file-system tree is clearly not desirable since that would clutter the backup with useless build artifacts.

Just ignore the files in .gitignore and backup the entire file-system tree.

Don’t be clever. This is a backup of source code that took many hours/days/weeks of effort to create. Since git is mainly source code, it is not that big of space hog.

Disk space is cheap. Time is not.
same here as an American. Generally if I see that the word is a portmanteau of some kind , in this case presumably 'emulation' is one part of the portmanteau , I just try to do my best to pronounce that part like the parent word.

So in this case i've always said "Q-Emu' in my head. I share your other pronunciations, too. Weird.

I never knew what the Q meant, upon searching I see that it's "quick emulator".
Thank you for this reference. Deriving a freestanding C99 implementation from the standard sounds great. That can probably be rendered as a single source file to drop into a project that otherwise deals only in ascii.
The current code is perpetually licensed to the community, not owned by the community.
I'm not sure I understand what you mean. One channel is registered per server, for one name. Successful registrations require a super majority of those registrations to succeed. Lookups can be limited to a sub-set as long as the result number is at least greater than the minimum failure threshold for a successful registration.

>Yes, but an attacker can use a different channel name for the same domain.
>An attacker could associate their own key with that domain any number of times

How?
Just to clarify for anyone who may misunderstand this: D has sum types: https://dlang.org/phobos/std_sumtype.html

The problem the OP was talking about is that in D, you cannot implicitly use an `int`, say, where `SumType!(int, string)` is expected.

You need something like this:

alias StrOrInt = SumType!(int, string)

void takeStrOrInt(StrOrInt s)
{
writeln(s);
}

StrOrInt value;
value = 10; // ok
value = "foo"; // ok

takeStrOrInt(value); // ok
//takeStrOrInt(10); // not ok
//takeStrOrInt("foo"); // not ok

takeStrOrInt(StrOrInt(10)); // ok
takeStrOrInt(StrOrInt("foo")); // ok

Even though this is not perfect, it works quite well (I believe it's zero cost to do `StrOrInt(10)` for example, but I'm a D newbie).
It's a bit crazy for me to see people creating new languages instead of help improving existing ones because of minor stuff like this. The effort to create a language and a stdlib and a package manager etc. is ridiculously high compared to improving existing languages.
It's funny how they lied about being open source twice and got the exact same reaction from it both times, but still haven't learnt their lesson. All they need to do to avoid backlash is call it source available (like it is) but instead they chose to mislead people for no real benefit to themselves.
Ha! They should do it with Lucille Ball too :)

https://www.britishpathe.com/asset/68426/
I got a projector clock for Christmas when I was a boy in the 90s. I was so excited to go to bed. I set the clock up, got the projection going, took my glasses off, got into bed and... realised I couldn't see it.
How smart were those 9 million people? Given that most of them live in zones where they couldn't apply even the simplest agriculture techniques, I would say not much.
Emissions shift with manufacturing. And for Western countries that means outsourcing to China.
sharing some of my favorites

- https://nullprogram.com/blog/2023/04/29/

- https://slack.engineering/real-time-messaging/

- https://netflixtechblog.com/migrating-netflix-to-graphql-saf...

- https://eli.thegreenplace.net/2023/my-favorite-prime-number-...
> Totally false, CO2 emissions coming from the US have fallen as the population has risen.

That doesn't change the fact that all else being equal, half as many people emit half the amount of CO2.
The commit messages are terrible. In my opinion, conventional commit messages [0] should be used for a clean commit history.

[0] https://www.conventionalcommits.org/en/v1.0.0/
That is a fact. Where your ideology enters the argument is when you say that implies they're not human rights.
Why bother building expensive centralised power generation using nuclear fission when you can just put down some more cheap solar panels that don’t have even nearly the same regulatory burden?

I’m asking this not to get into the usual discussion on baseload and the sun not always shining, but to point out the simple economics of renewables: they might not be ideal, but that won’t matter as they’ll be cheap.
> Every CS graduate can implement Paxos.

I have lived evidence that not nearly every CS graduate even knows about the topic that Paxos addresses.
I won't be working much, because it's a good time to rest and socialise. I set my vacation responder on.

However I'm cleaning up my home server a bit, mostly to make old code simpler and more legible. It's a relaxing activity.
They were able to find houses for everyone and clean up the streets perfectly for APEC.

It made one thing perfect clear for me driving through the peninsula and San Francisco that week: this could have been fixed a long time ago.

A lot of people are suffering a lot more than they have to. That’s not compassion or caring for those who are suffering. Therefore it must be about money.
This is also the premise of David Macaulay's children's cult classic Motel of the Mysteries [1], in which archeologists from the year 4022 dig through layers of trash to find the remnants of our current civilization, and interprets the excavated structures in clinical fashion. The joke is that we, as readers, understand that it's just a motel and they've found the bathroom, but the archeologists believe it's a porcelain burial chamber featuring royal vestments (i.e. plastic toilet seat). It's silly but fun.
[1] https://www.vox.com/22753080/motel-mysteries-book-david-maca...
Renewables still help without storage. Every TWh of electricity produced from wind and solar is a TWh that was not produced by burning coal. If you reduce the coal consumption in the existing coal power plants by 50% it's as beneficial as closing half the number of plants.

That said sure, we need to build storage, and I think the first and most important step is to remove the political obstacles currently in place to prevent people and companies from generating and storing their own electricity.
One distinction I saw when finally getting into writing:

Pieces written in a programming language are full of proper nouns (variables names) and proper verbs (function names).

Pieces written in English get pretty far without introducing new identifiers all the time.
It may not be right for you, but I can see situations where this would be preferable.

If because of your job you find yourself doing these operations very often, and the ability to do them from several devices with different OSes is valuable, it might be great to throw this on a server.

Or if your work has several people, may be not very technical folks, do them often. I’ve worked in a couple of places where this could’ve come in handy.

Also, it includes an API. Also, being open source, if in the future you’re creating a web app that needs some of these features, you could learn from/copy from its code.

I think this is a good contribution to the world.

> I don't understand what is the point of bloating softwares like this. Not even speaking of the very bad consequences for the planet.

I partially share this concern. I wouldn’t deploy this for myself unless I had a very easy way to stop it and start it, but anyway while not in use it it should only be consuming a bit of RAM, and there’s plenty of very efficient hardware suitable for small servers these days.
Programmers very definitely get writers block. Uncertainty over what to write, difficulty choosing between many options leading to doing none of them.
You can (and this is being done in practice) regulate the power output instead of turning it off completely and then turning it on again, doing it your way would be extremely detrimental to the power plant's life due to thermal stress. It's also the case that different coal plants have different capabilities so when you claim it takes a around week to turn off a plant, you should provide some more information about the plant (type) you're talking about.
Something more descriptive than "Grrr" would be nice I guess.
When confused, it is best to read the whole thing, not just arbitrarily chosen snippets.
> Apple and MS seem to continue to resist this notion but they are increasingly exceptions.

I din't think resisting is the correct word: Linux could be perfect from the user perspective but not the device one: battery handling in a notebook, good support of certain devices, etc. Linux does not replace the whole needs of users or organizations and that is why MS and Apple continue to exist. They existed before Linux either! The business is not the OS.
i always said que-emu.
I'm getting quite interested in D... can you explain what's exactly going on with DIP1000 and whatever else you may be referring to?

Are the changes to the language going to make it much better? Break existing code? How long until they finish that, is it nearing completion or just beginning now?? So many questions as someone new to D.
1. It's behind a paywall so if others have a link that would be great

2. The UK is (now) almost [80% services industries](https://www.ons.gov.uk/economy/economicoutputandproductivity...) not building anything.

3. With that in mind it's kind of bad it's taken us this long to get to 50% of the 1970 output.
The solution is talked about and is reasonable - creating western-like living environments in the remaining high fertility rate areas. Higher standard of living and more individual freedom leads to fertility rates near or even below replacement rate.
I thought it well known that pigs were considered as smart as dogs. Pigs might be a special case, as they are kept as pets much as a dog would be in a few countries.
With the projected economics of renewables you’re fighting a losing battle: there will be shining seas of panels from coast to coast. With the way PV panel pricing is going, at some point doing anything else will basically amount to theft.
So much this. Is there anywhere where we can see emissions by what is consumed rather than what is produced?

It's pure politics to outsource everything to China and India then complain that they're the biggest culprits.
It's pointless to call this anything other than source available. This license is just a no-compete license with extra steps. I see little practical difference between "you can't compete with us" and "you can't compete with us for as long as we're developing the software". Maybe we should call this a "you can have the scraps" license because the project only becomes open source when the developers stop caring about it.