skysight-inc/HackerNews huggingface dataset:
Could you expand more on what you mean by "Storing the edges as indices into the block is handy in this case."?

This is super relevant to me right now, thanks!
I could swear this happened with the errant USB-C configuration that the latest Raspberry Pi 4 screwed up.

At least 4 other projects I know of configured their USB-C the same exact incorrect way. Three of them absolutely swear that a Google search gave an online application note that told them to do this, but they can't find it anymore--it presumably got yanked as soon as the RPi error came to light and then dropped off the Google rankings. POOF Gone.
End to end meaning?

Solo, I've built a logistic management & tracking system in a day, from scratch. It was ugly and unstable, but never dropped the ball. I only worked that fast because we had more customers than was manageable manually. Never replicated that feat.

As a team of 5, the most ambitious was a chat feature done in 2 months. Built on a paid platform, of course, but a lot of it had to be custom integrated, like UI, offline storage, and multiple users managing a company account.
I tend to think the person who can truly identify that the question is a dupe is the questioner.

Not IME. It depends on whether the Q is a XY problem or if the asker is acquainted with the problem-domain. I engage with Qs on the use of a specific set of tools, and I see users pose the same problem (with incidental variation) with imprecise/vague terms or phrasing.

Also, there are a couple of novice pain points for which I regularly see duplicates with similar description and terminology. I tend to think the users just didn't spend a lot of time looking through search results, if at all.
There is currently no censorship in Hong Kong and no laws which would require them to censor anything.
This reminds of the abandoned practice of women being prescribed Hormone Replacement Therapy (HRT) for menopause. Essentially the reasoning was "why not, it seems to improve patient health and we don't see any ill effects". It was such common sense at the time that it took over 30 years before a clinical trial was performed. That trial demonstrated a much higher rate of breast cancer and heart disease in HRT patients.

The NY Times has a good write-up on it and more generally the challenges with epidemiology and causal analysis in medicine.
https://www.nytimes.com/2007/09/16/magazine/16epidemiology-t...
Interesting article but I was hoping for more discussion of the ethical implications mentioned in the title.

As a society we frequently start with with consent as a cornerstone of whether something is ethical or not (if it's done to you against your will, it's bad). Then we decide whether there are certain lines you shouldn't cross because the result would be harmful for you or society. For instance, you can drink as much alcohol as you want but at a certain point you can't get into a car afterwards, because you might kill or maim someone else. And you can take out a loan, but there's usually a cap on how much interest the lender can charge because above a certain level you'd ruin yourself financially.

So we'll probably say you can alter your memories, but are there lines which shouldn't be crossed?
The United States has a pretty dense rail network now, even after the cuts in the dark age of railroading - I'll point out that we have 6 major west-Midwest routes, 3 Midwest to east routes, plus an equal number of Midwest to south routings. We don't need more rail, we need subsidy to operate more passenger trains.
She256 Mentorship – Women in Crypto
I assume humans already experience a blue screen when suffering schizophrenia and or hallucinating.
Maybe in the US. There are other countries on this planet.
Yes, an enormous amount of data crosses the border from HK into China
Suspend the driver license of someone using an app?? That hardly seems legal.
I think you have this right, not so much about appetite for risk but maybe telemetry on SpaceX's satellite (or a number of satellites in the swarm) gave them sufficient confidence that there was no issue?

Given SpaceX routinely send resupply missions to the ISS I would assume they have a fair amount of confidence when it comes to knowing the position of their vehicles.
I thought everyone learns that in the university.
> Secondly, some of the debris will probably end up in higher orbit and stay there for a long time

The average height of the orbit may go up, but depending on the direction of the collision the perigee will decrease by some amount, so there will still be a considerable amount of atmospheric drag. The Chinese ASAT test was in a much higher orbit, which is why so much of the debris is still troublesome. Most of the debris from the Indian ASAT test is gone, and the rest will probably be gone in a year or two.
Not in London. You can use card readers at all doors and drivers tend to start driving once everyone is on board, not only once everyone has checked in.
Linus Torvald, about estimation of Linux available memory
Mail out gold to an intermediate destination or better yet use cryptocurrency. Buy a vehicle with cash and sneak across the border or be in a country that has open borders with another. Have a destination where you can live with cash for a while and use that time to acquire an identity. Don't log into any online account or call anyone from your old life. It is pretty straight forward but I bet most people would leave a million digital breadcrumbs. There are tons of places you could disappear to that nobody would notice or care who you were just get there with cash.
You add integer slots to each node and store the index of the child nodes in them. So you have, for a binary tree,

[actualTreeNodeData1,child1Idx,child2Idx][actualTreeNodeData2,child1Idx,child2Idx][...]

instead of just

[actualTreeNodeData1][actualTreeNodeData2][...]

Vary this to include whatever you actually need, could also be links to parents instead of or in addition to links to child nodes.
Try commuting into the greater LA area during rush hour. It’s really something else.

Once I was taking my then-fiancé to LAX for an 11:30am flight. About 2-3 hours into the drive, we were on the 105 in completely stopped traffic. A man in a convertible next to us began to absolutely lose it, smacking the steering wheel with loud, desperate yelling “ARRGH!!” again and again. We decided he must have been late to a mandatory child custody hearing and would lose the right to see his kids—or something equally life-shattering.

There’s nothing like LA gridlock to give you a sense of utter powerlessness.
Those lines will be crossed by just visiting a country that has different interpretations of what's acceptable to do.

I could also see the severely mentally ill or mentally handicapped, having no personal say in what happens to them and similar to today when it comes to medication being used.
I'm astonished at all the comments that vilify MongoDB Inc and then talk about moving to AWS's MongoDB clone. What sort of twisted world are we living in where a company makes a service, tries to sell the service, and then are lambasted when they try to prevent a competitor from copying it wholesale?

Cloud providers have been able to stand on the shoulders of giants, profiting immensely from millions of lines of open source code while giving little of it back, and we seem to be largely fine with this. Will we be fine depending on their services when the cloud providers become the new Oracle, free to raise prices extravagantly when we have no other choice?

If MongoDB Inc can't compete in the enterprise cloud market simply because they are not AWS (as mentioned by threeseed), what should their business model be? Licensing to cloud providers would have been ideal, but the response from AWS in this case wasn't encouraging. By boycotting MongoDB in this case are we telling future innovators that their work will simply be stolen and resold for profit if it gets popular? That scares me a lot more than some project changing their license.
Make it possible to only be positive and you will reach a better goal. Rather than moderate the users, moderate the mods such every response they give is purely positive.

This will spread and people will cling on. Soon you will reach self moderation due to the positive nature of the community.

Learning to accept feedback is much about learning that you may actually receive positive feedback and that your self worth is enough.

So I was listening to l to this guy Jim Thuresson which is a mental coach. His life is basically breathing positiviness, and his take on it is, it works, you shoukd do it too. If you fill your head space with 100% positive thoughts there's no room for anything negative. Maybe going on strong here, but it's such an important message. I just winder how we bring that thought onto the Internet.
With wireless, you can decrease the number of folks served per station to increase effective bandwidth in an area.

And the idea you can’t build lanes to reduce traffic assumes there is always enough demand to fill up those lanes.
This would combine well with another low-tech battery solution, stacked weight, which would store without loss or reliability worries for those few days in the year you need them.

Edit: Actually, while this idea sounds good, a fridge requiring 1 million joules for a rainy day would need 10,000kg @ 10 meters, even before considering efficiency losses.
But walking for 15 minutes is also better than lying in bed. Or for 5 minutes. Where do you draw the line?

You could make this percentage-based. Track the progress, show green or some kind of achievement only when you have 100%.

I’d argue that this system is okay too, but more complicated than a simple binary yes/no choice.

Walking 59 minutes or 2 grams above goal weight: If you are serious about the goal, this could serve as a great reminder that you should push through the last minute of walking or get down on Christmas and burn an extra 150 kcal.

Again, depends on how serious you are about your goals.
Learn some Prolog, one of the best langauge for studying your algorithms and data structures.
https://rosettacode.org/wiki/Tree_traversal#Prolog

preorder(nil).
preorder([Node, FG, FD]) :- format('~w ', [Node]), preorder(FG), preorder(FD).

inorder(nil).
inorder([Node, FG, FD]) :-inorder(FG), format('~w ', [Node]), inorder(FD).

postorder(nil).
postorder([Node, FG, FD]) :-postorder(FG), postorder(FD),format('~w ', [Node]).
You really sell that well in your link, telling me just why it's useful compared to DDL and giving useful tools.
Apparently it was like [Pig Latin](https://en.wikipedia.org/wiki/Pig_Latin), where it wasn't really so much "secret" as much as it was a linguistic buffer:

> When Nüshu was first discovered by people outside of Jiangyong in the 1980s, the media sensationalized the script as an invented, secret language that women could use to spite men and a patriarchal society. This is what initially drew Silber to study Nüshu. But what she found was that men were well aware that women had been writing in the script. It wasn’t an entirely new, made-up language but actually a writing system for the local dialect, and if men heard Nüshu read aloud they most likely would have been able to understand. Men mostly just didn’t care to learn how to write in women’s script.

More generally, these seem to be examples of ["secret" languages](https://en.wikipedia.org/wiki/Argot) or [language games](https://en.wikipedia.org/wiki/Language_game).

This seems to happen in modern-day American schools, too, where certain groups -- e.g., gender-specific, but also other types -- would select a foreign language that other students don't normally pick. Or, in the case of anime/manga fans, they might pick up Japanese during their free time. It's not that the foreign language was secret, but others' unfamiliarity with the language would still give the in-group a linguistic buffer.

I guess video-gamer jargon, 1337, and even sports metaphors can be seen as examples of this.
Consider submitting an article describing your algorithm to Seeds, submissions have been extended until next Friday 5th September. Seeds is a zine about generative software http://www.procjam.com/seeds/submit/

I've tried to make something like this as well, but I've probably aimed too high art-wise :) I really like the style of your generator.
Open Source Electric Paramotor
Suppose your `Tree` is an array of `Nodes` sorted in whatever traversal order is expected to be good. Edges are fully defined as pairs of indices (Node[A] -> Node[B] means you need to know just A and B): Nodes can contain their own upstream indices.

If you need per-traversal state per node (such as visited status or intermediate dataflow), it's very handy to allocate another flat array for that and use the node indices.

I've looked into this in a compiler setting, transforming ASTs and intermediate representations.
> it also covers information about organised crime

Let's just pause a bit here. In South Africa, if your phone gets stolen and you go to the police, they may well respond with: "Yes we know the guy, but we're not going to do anything." [1]

I think that surveillance doesn't have the same twang in South Africa that it has in the US and EU. Organised crime and unorganised violent crime for that matter in one thing that a lot of South Africans would like to see better monitored or "surveilled" if you will.

South Africa has this sort of dichotomy between illiteracy and high level tech that I think many people outside of Africa are not aware of. There is 60% youth unemployment [2] and at the same time it's the most developed African country. I heard a story that some of the surveillance tech that Muammar Gaddafi used was built by a company in Stellenbosch.

Most middle class people will have some form of armed response and cities especially are pro-surveillance for crime prevention, many of it by 3rd party security companies. I think that there is some kind of common sense notion of how to differentiate between security and privacy that the CIA or NSA could only dream of. Security means not being robbed; privacy means leave my life out of yours.

As mentioned in some of the comments, surveillance is not new at all in South Africa and in fact is much less than under the previous, non-democratic government.

But to summarise, South Africa is from a "freedom" point of view a really great country. You can pretty much do things and live the way you want. The level of crime and incompetency of the police is, however, too much to live with for some people.
Indeed. It seems to me that the more impressive bit is that the instilled neural pattern actually really correlated with the experience of the odor.

But the association with the foot shock was real to the second mouse as well.
What a “Windows Mobile” pc should look like
Great ideas if you are dead against batteries, but there are massive downsides. Batteries are not evil or expensive, at least if you go with traditional lead-acid ones. They are a thousand times more reliable and efficient than compressed air storage. Compressed air storage has many dangers, from explosions (metal fatigue) to fire (compressing gas creates heat).

The best and most reliable method of non-battery storage of energy is the traditional water tower. It used to be standard practice for buildings to maintain water storage tanks on their roofs. Mate a water tank with some solar panels and you can create an energy storage system without heat, high pressures, chemicals, high voltage or even moving parts (the pump has only one moving part).
CLI based search using KMP algorithm
All of this windows always connected bullshit and S mode bullshit and Store bullshit... Ships from factory with essentially constant telemetry and no privacy at all.

Took 3 days. Had to hunt down the drivers through windows update and more drivers from the sysprep stage of the oem media because they encrypted their files. Combination of uupdump.ml scripts and ntlite. What's more, drivers don't work with 1809 or 1903. After install, had to tweak services and devices to get them to behave properly. Unexpected dependencies and requirements ensued.
A lot of using powercfg /sleepstudy and comparing results.

That said-
Instant on from sleep
20 second reboot
90mW/hour standby
Virtually no phone home telemetry.

I am proud of my results, and I just wanted to share what a clean feeling this is.
Lenovo Yoga C630 btw.
as someone who did some university teaching, students rediscover OOP on their own all the time
I don’t think a good solar electric hot water system would ever work if it was running only when the sun was shining. It takes _so much energy_ to get water up around the requisite 110+ degrees, that even a very efficient storage system wouldn’t benefit it all that much. Honestly, the best solar powered hot water system is a black plastic bag full of water in the sun. Anything else will require a battery bank at minimum.
This is a very thorough article. As is always best with scientific reporting, the article ends with a prediction and method to verify results. In this case, the prediction is that iron-60 would not be found in ice core samples older than 40,000 years, as at that time the solar system had not yet entered the gas cloud that it is currently in.
Priorities of electrical grid clients in US?
In the UK, there is a low frequency demand disconnect (LFDD) scheme to cut off components in the grid in a prioritized order to handle generation supply shortages. This is to provide hospitals with electricity longer than refrigeration, etc.

Is there an equivalent of this scheme in the US? If so, what name does it go by and what types of heavy industry volunteer for low priority?
How do you pull a TLE (or any sort of ephemeris other than rotation/attitude) out of star tracker data?
> When designing a vector graphic one can enable "snap to grid", similarily at some point we will have to "snap to makes sense"

I love this idea, thank you for sharing it.
As Grass-Roots Labor Activism Rises, Will Unions Take Advantage?
Songs about Git
Here is at least one example:

https://www.ice-energy.com/

For AC applications, though, water is not the perfect heat storage medium. The efficiency would be better if the freezing point was higher. But then again, I do not know of any material with melting point at +10 celsius, heat capacity close to water and yet, would be having a reasonable cost compared to water.
Taking the southwest chief, I received an email telling me it was 45min late. It was actually on time, I almost missed it.
How can we prevent hurricanes causing such devastation? [video]
Lead-acid batteries die after only a few hundred cycles.
I have a Yoga 530 (ARR/Ryzen). It's absolutely great for the price. Obviously it's not the same model as the author has, but to be frank that title is pure, utter sensationalist trash.
Online game clients which attempt to verify that a human is playing rather than a bot.
Do you have problems with your wifi?
I think wall calendar is always there. I have it in my bedroom, so I see pretty much first thing when I wake up and last thing when I sleep. App - you have to look for it and it is constantly in your face, so to say.
That was my thought as well, but the article was confusing. It was talking about memories when what it was describing seemed more like experiences, but I’m not familiar enough with the technical aspects to be sure.
Yes. Thermodynamic principles are tautological in the sense you just described and arguing against them isn’t helpful.

However, as the GP claimed the “gasoline is a strawman”, and “that’s not what people refer to when counting calories”; these two cannot live together with a thermodynamic argument in any useful sense, because it amounts to “well, if your food labels say a number higher than your exercise machine and BMR, the your numbers are wrong for reasons I cannot point to”, that’s about as helpful as a religious argument.

You can lose weight easily without caloric deficit in any sense - water weight (limited amount of course). There are several other ways in which the body loses fat - e.g. through the skin and scalp (negligible amount for most people, but not all people).

Invoking thermodynamics as an end-all be—all argument is dishonest even if it is a useful approximation.
I think OP meant the part about showing up at the gym - that nobody but you can do. Once you're there, however, having an instructor helps you not having to think about what to do.
Like myself, I’m guessing you don’t need that mentality any more. You simply go. It’s part of your lifestyle
Just from own experience, startups these days pay quite well.

At my own startup, I just tell engineers I'll pay as much as their current company (excludes some of the salaries at the FAANG companies though) just that they will get much more equity that could become large.

Strictly better expected value.

Even so, very hard to recruit folks to early stage startups. I feel like there's much less appetite for risk these days. (Or perceived risk since we pay just as much so there's really not much on the line)

I had one former colleague turn down my request because his current company gives great health insurance and 401k contributions. I was like "you are 22 years old! Take a tiny risk!"
I had problems on my Yoga 730, replaced the Wifi chip with one that was under $20 on Amazon, never messed with drivers or anything, and it's been working great for years now.
No. Only on Linux, which requires the default ideapad drivers to be removed and rtl8821ce to be used.
Show HN: A GitHub bot that cheers you up
1st world problem if your biggest enemy is a search engine ;).
As far as I understand, you could redistribute BSD under the SSPL, since the BSD license doesn't prevent relicensing as long as you keep the BSD license as well.

And besides, there's a difference between the practical impossibility of building a kernel and the idea of the actual impossibility of complying with the license terms.

That said, I think the argument that the SSPL makes it difficult enough to use the software (due to the bookkeeping requirements of tracking every piece of software that interacts with the SSPL software) has some merit.
Unknown text by John Locke reveals roots of 'foundational democratic ideas'
I like Svelte, but it's not exactly tiny. And it still has the cost of generating everything with JS.
> Ref please?

Here you go:

http://hyperlogos.org/article/Who-Invented-Term-Open-Source
Ask HN: What do you need to build an MVP?
Dear HN,

I'm thinking about a service for wannabe founders to hire freelancers to build their MVP.

My idea is to ask prospective founders to write a future press release for their product (popularized by Amazon).

If you had to build an MVP for someone what would you want to know?
An animal with analytical and self-reflective mental faculties other animals do not seem to possess, or be able to articulate.

For example, I know that some of my memories are not original. They are memories of me previously remembering something, which I was able to remember clearly at the time, but can’t recall as clearly now. But my memory of the experience of remembering it and the circumstances in which I did so are quite clear. So I know some of my memories are reconstructions.

It seems unlikely there are many nonhuman animals capable of making that sort of distinction.
I wish they had clarified how they eliminated terrestrial nuclear reactors/devices as possible sources.
I replaced my oven with a waffle maker, and you should too
I wouldn't be so sure. Linux still makes very good use of spinning rust media, and on a modern system with 2GB+ RAM (and a reasonably light distro like Debian) much of it ends up being used as disk cache so drive speeds aren't even that relevant. SSD's do speed up the boot process though, I'll give you that.
I think it is probably easier to port from one SQL dialect to another, than from Mongo’s hokey JSON based query language to anything else.
The IKEA Lack Rack for Servers