skysight-inc/HackerNews huggingface dataset:
Dunno what you mean by getting it right tbh.

for i in range(10)

The statement literally declares or sets a variable named i in that scope. When the loop exits, i still exists in the scope with the value 9. If you call a function that was given a reference to i, the value will be 9 as expected because the function was called after the loop exited.

Don't see any quirk or mistake here.
Yes, many (constitutional) monarchies are also (representative) democracies, just like some republics are.
Or it is used for island hopping and replacing small turboprop aircraft? Turning what is 15 minute flights on the light aircraft into 30 minute trips by airship.
> But don't pretend that calling people "users" is evidence in furtherance of this argument.

I didn't. It's a joke. See: (-:
Just to add to the "what to drink while fasting" list, some people see an insulin spike when drinking soft drinks with artificial sweeteners. They don't break the fast for me (I've been one-meal-a-day for years now), but YMMV.
That's pretty neat, how does it look like from the viewer's perspective?

Also what's the mechanism behind the turning? If I counted this right it would have to be like 48 servos which sounds expensive, but also is an interesting number because that's exactly 3 of those PCA 16 channel servo expansion boards...
Depends on the injection of course.
wait so you're telling me that every political organization that claims to be fighting against e.g. discrimination and inequality is actually wholly dependent on the existence of e.g. discrimination and inequality in order to continue functioning, such that they'll never put an end to the thing that gives them reason to exist in the first place?
Seems like you misunderstood the parent.

There are two parties in the interview and only one is dead. The parent is saying that to eliminate all doubt, they should have gone to great lengths to pick two very dead people for the demo.
Is there some reason why you couldn't deflate it and temporarily store the helium in a tank next to a small hangar containing the deflated ship?

Or maybe building huge hangars is simply cheaper now that it used to be?

Seems weird if a airline would purchase 10 units of something while not having any idea where to store them when the weather gets bad, surely they must have some idea.
Mark Zuckerberg’s Metaverse Struggles
Wait, "no OS" is an option? How long has that been available? And, do you get a price break compared to putting Windows on?
I found with OKCupid, that the women I scored the highest matches with (like 97 or above) had forgotten to check the "I don't want to see, nor be seen by, straights" checkbox. Two of my exes came out as gay and another 2 probably should have.

> shitty men that send unsolicited dick pics or go ape-shit when they get rejected did.

I'm afraid that's so true.
My knowledge of javascript semantics is pretty limited, but you can see what's happening more clearly:

for (let i = 0; i < 10; ) {
setTimeout(() => {
console.log(i, foo);
}, 1000);
let foo = "baz-"+i;
i++;
}
// "1 baz-0", "2 baz-1, etc

It's behaving as each loop iteration is creating its own closure, and the inner function is referring to those variables by reference. So any changes you make to them inside the body of the loop will end up visible to the inner function.
The problem is whether or not they chose to get a colonoscopy is a confounding variable which inflates the value of the colonoscopy when some of the results are driven by other attributes.
Looking for Internship roles. I want to learn.

Location: Nigeria
Remote: Yes
Willing to relocate: No
Technologies: Python, Django, Javascript
Résumé/CV: https://github.com/dapoadedire
Email: adedireadedapo19@gmail.com
I'm a security executive. I'm keenly aware that my CISO, my peers and I are basically one bad day away from being scapegoated and put to the torch. It's an occupational hazard so pervasive it doesn't usually effect getting your next job. So one thing I make abundantly clear to my superiors and peers is I will not lie to people who can put me in jail under any circumstance. In practice, this has (rarely) caused friction but no one has seriously pressured me to change my stance.
I like what Mozilla has been doing with their services, but they have built a very confusing business model of many micro services that I just don't see a ton of people signing up for as independent subscriptions.

Why not bundle them all as one membership? Pocket, Mozilla VPN, Relay, Monitor, and whatever services they can scrape up premium options and features for to give them value?
Fair enough. If you find the idea that "I have a universe." could be implicit in "A particle is somewhere." so unpalatable physics may not be for you.

Note that (most) physicists don't accept infinities as a physical thing. They are mathematically convenient but only make sense as a limiting form.

If you were indeed refering to https://www.feynmanlectures.caltech.edu/III_07.html#Ch7-S1 I agree it could be qualified sloppy. But it comes with a warning! ("not at all rigorous but [...] gives us some idea of a real situation")

"If the uncertainty in momentum is zero, the uncertainty relation, ΔpΔx=ℏ, tells us that the uncertainty in the position must be infinite" doesn't make sense except when zero and infinity are understood as limits, for example.
This is the best podcast I’ve ever heard.

Fantastic job. Excellent work.
Common Lisp provides an explicit macro for this called formatter. The macro produces a function. The format function allows a functional argument in place of the format string for this reason.

(format t (formatter "~a-~b") x y)

is like

(format t "~a-~b" x y)

except that "~a-~b" is transformed into a lambda which takes a stream and two arguments, and which does the specified formatting.
The diplomats in question have a wide range of options available to them including "Elon's plan". however, they are much wiser and more experienced than him, and rightfully ignore him. It wasn't his plan (obviously) and the consequences of following his suggestions would be dire.
The /r/StableDiffusion subreddit appears to skew younger, surprisingly.

Open source AI art has likely been the biggest catalyst of getting teenagers interested in computer science/machine learning in years.
If we invested in mandatory Positive Train Control, judicious expansion of side tracks/switches for muxing, as well as automated Central Traffic Control we should be able to radically increase the ability to move passengers on rail.

Apparently the incentives are not there for that, and should be reexamined accordingly.
Has Google given any guarantees about maintaining compatibility with browser extensions?
This push is coming from Joe Lonsdale, the Palantir guy? He's Jewish[1], and he wants to build concentration camps? WTF?

[1] https://joelonsdale.com/philanthropy/
Both are down ~10% in the last 5 days, but Uber is down almost 50% YTD and DoorDash is down more than 60% YTD. Looking at the longer trend, it doesn't look like a plunge to me, but admittedly I don't look at stock prices very often.
Dependent types allow for more nuanced statements made by types. You can for instance have a lists that are sorted in ascending order as a type, or implement messaging protocols at the type level where you can only construct a reply in the message exchange if you've received the correct preceding message.

It's very cool, but it's very expensive to compile, which is why it's still research stuff, I believe.
Right, I stand corrected.

Point is, it's Linus that merges what he wants in his tree. The kernel development isn't a democratic process, not everything has to be. Everybody can fork it and be the big boss themselves, the fact that nobody and no company has succeeded in doing so is worth thinking about.
Saying this unironicly it kind of sounds like a cult.
I'd always been curious about it but never really took the plunge. How well does it scale? Have you built any significantly complex applications with it?
https://www.law.cornell.edu/wex/treason

Treason refers to the betrayal of one’s own country by attempting to overthrow the government through waging war against the state or materially aiding its enemies.

According to the United States Constitution, Article III, Section 3, “Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort. No person shall be convicted of treason unless on the testimony of two witnesses to the same overt act, or on confession in open court.”

Furthermore, 18 U.S.C § 2381, states that a person guilty of treason against the United States “shall suffer death, or shall be imprisoned not less than five years and fined under this title but not less than $10,000; and shall be incapable of holding any office under the United States.”

[..]

https://www.encyclopedia.com/social-sciences-and-law/law/cri...

Three key elements are necessary for an offense to constitute treason: an obligation of allegiance to the legal order, and intent and action to violate that obligation. Treason is a breach of allegiance and of the faithful support a citizen owes to the sovereignty within which he lives.
France (Europe as a whole) probably needs this. But it's going to kill any energy intensive industry :(.
I think variants of Datalog have some traction

https://en.wikipedia.org/wiki/Datalog

full Prolog though is not that great of a language. At first it looks clever that you can write imperative code by taking advantage of the implementation but it's actually really awkward. It was hoped that you could parallelize Prolog but you can't unless you weaken the language and make it even more awkward.
Career-Spanning Interview with Anders Hejlsberg [video]
For sure, the spirit is willing but the flesh is spongy and bruised. But in this case our ability and desire to form attachments is also a strength, I find it funny to be called a weakness.
Free Pluralsight Skills access for one week
A thought this prompted: I absolutely cannot wait to see how litigation erupts as this stuff improves. Digital forensic evidence investigation is going to become a massive industry.

People are going to be imprisoned and put to death for things that never even happened. Unreal times we're living in.
It's always weird to read how government-run XYZ is somehow "dystopian" when we currently already have MassiveUnaccountableCorporation-run XYZ. I'd rather not have either of them run things, but if I had a choice, I'd much rather it be an institution that at least in theory answers to voters, than a meagcorporation that answers only to a set of rich shareholders. Talk about dystopian!
Building Open Access to NC Campaign Finance Data – Entity Resolution
I was thinking the money could be held in escrow. You could only get your money back if you end up marrying someone you didn't meet on the service.
Probably some ubuntu fuckery. I have Firefox in a container as well (but it's Flatpak) on Fedora, and it uses the same cursor as the rest of the system.
If I had more time and dedication, I would foster a social media campaign to discourage people from buying the new generation of expensive-ass GPU's. To send a message to NVidia that they need to reconsider more consumer-friendly RTX4xxx pricing.

Maybe #novidia or #novidya as a hashtag.
If you have more trust in a shady private company than your own government it's time to move to another country.
I hate test planning and tracking in spreadsheets so I built Test Track
I hate using spreadsheets to plan and track the manual tests that are needed for new projects and features so I built Test Track to make a simple and intuitive web app for doing tests and working together as a team.
I'm not a bot. I may just have been tired when writing this comment and not at all objective. I didn't mean that budget in public schools is an issue. What I meant to say is that the budget in public schools is not the cause of teachers saying that wikipedia is bad, it's more like a general mindset that people have.

There definitely isn't a solution in my comment. I certainly just critiqued. I did not mean that adblockers don't exist but that the solutions that my teachers seem to give me are also bad.

> That you can stick a space between the last word and the question mark to annoying effect, I suppose.

I didn't mean to make it annoying. I used to put it right besides the last letter but I've found that the French language uses an extra space. I think it looks better. I see you have a different opinion. I did not mean to be overly annoying with it.
> It vastly increased the number of end users (20M+) using apps built on our SDK. This gave us significant leverage with Google. They are super supportive of the SDK and give us early access to several builds to ensure the SDK doesn’t break when they make updates to Gmail.
Does it work with manifest V3?
Do any file systems have good, native support for tagging and complex searched based on those tags?
Orgmode?
Show HN: A beginner’s guide to finding user needs
https://urbook.fordes.de/

…a free/libré book about UX research with qualitative methods on motivations, activities written for UX researchers, UX designers and product managers.

I have been writing on this book since about 2010 and did a large rewrite during the first half of 2022. (I initally planned this with a bigger tech publisher).

This is the link to the full book for online reading: https://jdittrich.github.io/userNeedResearchBook/ (it’s one long page, so it might take a bit to load)
There's a wonderful French invention, a most humane one, that would be a start.
I'm not familiar with Reddit's rules here: do they generally allow minors to mod a subreddit?
I am not the OP but believe they used the term “white” in historical context and did not “appropriate it for political purposes” in contemporary context.
You should email people at the target companies who have an academic background (PhDs or former professors). I would bet that most hiring managers in the US are not familiar with the European system and aren't motivated to understand it.

I had a German masters student work for me at IBM Research and it was great.
Would you be able to help me figure out the gravitational potential energy of the red hill tanks?

https://www.epa.gov/red-hill/what-red-hill-bulk-fuel-storage...

They were recently decommissioned due to leaks, but I've often wondered if they could be repurposed as gravity battery storage.

edit: if you want to check my math. I calculated the tanks at ~567 million liters, and am saying there is 120 meters of vertical distance.

They would be equivalent to a 0.1856 GW h (gigawatt hours) battery if repurposed in this way.
https://www.wolframalpha.com/input?i=567810000*120+kg+metres...
Or,

I eat $x at home, I am looking for $y on this service.

There are plenty of bisexual people I know that have open arrangements who are in relationships with a partner of one sex and are only permitted by that partner to date people of another sex by that partner (because fear of competition/jealousy reasons).

Some people only want romantic relationships with a partner of one sex while hookups with another. Some people have bi-cycles. Some people are attracted to a person of their own gender 80% of the time and another 20% of the time.
> isn't making a DSL just about the most lispy thing you could do?

Yes, but with great power comes great responsibility. The problem with FORMAT and LOOP is not that they are DSL's, but rather that they are badly designed DSLs. The reasons are different in both cases.

FORMAT is badly designed because it is write-only, kind of like Perl regexps. It is very, very hard to debug a complex FORMAT string.

LOOP, by way of very stark contrast, is very readable, even more so than regular Lisp. But it is badly designed because it is chock-full of non-orthogonal constructs. For example, WITH is completely equivalent to a set of LET bindings outside the loop, so it doesn't actually add any functionality. All it does is give you a new non-lispy syntax for creating external bindings. The semantics of FOR depend on what comes after. "for x =" does something completely different from (for example) "for x in". And the list of problems with LOOP goes on and on and on.

So the problem is not that DSLs are bad, the problem is that these DSLs are bad. But since they are part of the standard, we are stuck with them.
This is a shallow take. Even on its face it’s wrong. Ending mega-fires would be an ongoing expenditure, since you constantly monitor and manage smaller fires to achieve that.

Plenty of juicy government dollars to sustain vendors in that space indefinitely.
We're assuming a homeless person who is uncooperative; why would they suddenly start cooperating over fines, et al?
> You will find -- unsurprisingly -- that most of them are not contributing for free.

How does that invalidate my point? GP asked why people would contribute to leader-directed open source without coercion. I just pointed out no coercion is needed. Free or paid is irrelevant.
It's interesting to wonder how profoundly different the world would be if everyone had access to geothermal energy at the scale of somewhere like Iceland.
Everything else so far seems to absolutely suck.
Comparable. According to this report[1], 25% of offenders in the UK are estimated to have ADHD.

According to [2] the figures are roughly around 32.1% in Central and Northern Europe, 26.9% in North America, and 17.6% in "other" countries. The lowest prevalence being in Brazil with 6% of the prison population estimated to have ADHD. I'm wondering if the difference has to do with lack of data or with the nature of the crimes committed.

ADHD hasn't been recognized that long and there's significant overlap of symptoms between ADHD, PTSD and BPD. Both of which also can be reactions to Adverse Childhood Experiences (ACE)[3], which have also been shown to link to criminality.

One study has also shown a correlation between ACEs and ADHD [4].

Sources:
1. https://www.adhdfoundation.org.uk/wp-content/uploads/2022/06...

2. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4301200/

3. https://www.cdc.gov/violenceprevention/aces/index.html

4. https://pubmed.ncbi.nlm.nih.gov/28477799/
> the post was removed sometime between Jan 2011 [2] and Mar 2011 [3]. The rest of the blog was still up at the time [4].

Internet Archive is great for cases of self censorship like this. I assume that as part of the acquisition the author was compelled to take it down.
New Google Cloud regions to five more countries
You're being prescriptive that we always treat "prove" as if it has the meaning as we use it in math and logic. That's not how language works. Words have different meanings in different contexts.

Top definition of "prove" according to Google: "demonstrate the truth or existence of (something) by evidence or argument." According to that definition, it seems completely reasonable to me to say that science can prove things.
I wonder if it is the feeling of satiation rather than any benefit the water is bringing for hydration.
How did this become an issue with discrimination? My point is that the legacy of slavery could be a contributing factor, but if you keep dueling on that you miss many other insane factors that are very much at play at this very moment.

The state of prisons in the US is abhorrent and not what one would expect from a modern democratic nation, which coincidentally also claims to be the champion of freedom.
I just recently saw a documentary excerpt where two women were browsing and discussing profiles on a dating site in the early aughts — there sure seemed to be more info and more engagement with a given profile. Whether that actually led to better outcomes, I don't know, but the difference is pretty big.
Do you ever take an umbrella with you expecting that it may rain later?
Or art, since there’s a new way to express yourself through a novel medium
Ask HN: How to handle a DMCA request as small network provider
Hi there,

I run a small business that provides network services for game servers and small websites. We're similar to Ngrok, but much smaller.

I've started receiving informal DMCA take down requests from a large company over email. I've forwarded the request to the user hosting the content but they claim they are not hosing copyrighted content. I only provide networking services and their content is behind a self hosted login. Because of this I have no way to verify if there is actually copyrighted content being infringed.

I'm not sure what to do. My thought is to request the big company make a formal DCMA take down request and I will comply with it. Is that going to cause my a huge headache? Do I need to talk with a lawyer? Should I just bow down to the big company and do what they ask? I don't want our users to host copyrighted content but I also don't want to shutdown small websites because a big company thinks they're doing something wrong. The user is on our free tier if that matters at all.

Thanks for reading, hopefully you have some wisdom to share.

informal: They don't include all the required details listed here: https://en.wikipedia.org/wiki/Online_Copyright_Infringement_Liability_Limitation_Act#Notice_from_copyright_owner
I recently posted on a subreddit that has the name of a big company.

The post became popular.

I could not believe my eyes, when some hours later, the post was edited.

I have never seen that before. Mods cannot edit users posts, right? Do some companies have superpowers on their sub, or did they reach out to Reddit to change the post?
AI Model Links Smell Molecules with Metabolic Processes
I don't know how old you are, but anyway it seems you are starting with a pretty good crowd, if you're not ugly, androgynous (sought after) and dating in an understanding pool, which is your own orientation. I see where you are coming from but it doesn't seem like it warranted the blanket dismissal you started with.

For what it's worth I found a blog post referring to that phenomenon from a few years ago which talks about a poll conducted in Glamour Magazine:
https://web.archive.org/web/20160320094402/https://www.pride...
That snapper might be 80 years old
Electric vehicles could be charged within 5 minutes thanks to NASA tech
We need this service available in Brazil like... yesterday. Robocalls are reaching unbearable levels.
You might want to look into Emacs with evil mode and TRAMP. TRAMP lets you remotely access files on a remote machine as if Emacs were running on that machine with all its IDE bells and whistles. It does require LSP programs and such to be on the remote side but you could probably script bootstrapping whatever you need fairly quickly. Certainly less setup than bringing over a whole editing environment with plugins, .vimrc, etc..
In terms of pure job title I agree, but it's not the way it is presented here.

This book claims to give you the keys to unlock the skills you need to reach the "Senior software engineer" level.

It doesn't tell you it's not for large companies and it doesn't tell you that the "Senior software engineer" level he is talking about may meet the expectations of one class of company but not the other.

The target is specifically "ambitious" software engineers. I'm fairly certain that ambitious software engineers are many to have FAANGs as a target.
Yeah, slashdot was awesome this way.

The mythical +5, troll abounds.
The moral framework that says, "Leave it to the consumer to decide what to do with their money."

You know. Capitalism.