skysight-inc/HackerNews huggingface dataset:
You could dig even deeper. The reason for these differences in how the for loop works happen because Python comes from the procedural tradition, while Ruby comes from the Smalltalk tradition.

In other Smalltalk-inspired languages (but not Ruby), you can do the same thing with an even simpler language feature: if-statements. In procedural languages, including object-procedural languages such as Java and Python, an if-statement is a core language feature with its own syntax. In Smalltalk, conditions are kicked out of the core language and into the standard library. You have methods on the True and False objects that either take an anonymous function and execute it or perform a noop, or take two anonymous functions and decide which one to execute.
No and no. The car industry has learned that they can increase profits by making legislators mandate things in the name of safety and security. See tire pressure monitoring for example.
There should be legal repercussions against anyone even suggesting something as blatantly illegal and tyrannical/totalitarian as this. Have we learn nothing from communism?

Globally destroying web experience by mandating super-useless, super-obnoxious Cookie prompts on all web pages is one thing, but setting things up for "Equilibrium" or "1984" type of society is a whole new level, and I'm not sure if sheer stupidity can be claimed on this one.
I'm Portuguese and this is the best description I've read in a long time.
No, this is not an Insider build issue. Blocking apps from sneakily changing the default browser without user content is one thing. But in Windows 11 RTM, they specifically went out of their way to make it a lot harder to change your default browser (or any default app), by forcing you do to it separately for each protocol and file extension. This led to non-malicious apps (e.g. Firefox) pursuing an alternative method to avoid users having to jump through hoops.

It's quite interesting that if it's such a big security vulnerability Microsoft hasn't patched it in all these years, but when suddenly a browser maker wants to act in the users' best interests it's a "critical security vulnerability" that must be patched immediately.

Yes, malware could theoretically abuse the same loophole. But they simply cannot lie to our faces and say this is being blocked only to prevent malware when they've intentionally made it harder for users themselves to change the setting as well.
Ah, I missed that part. Yeah, not honoring the default browser for links opened by the OS is bad, but I also like that the OS manages defaults, not apps.
It's been very clear for many many years that Microsoft's interests are quite opposite the consumer's interests.

I'd love to see consumer protections spring up on the topic, but it'd also be nice if people started considering something that's designed with them in mind, and stopped throwing money/data at such a user-hostile company.
My experience with MS support is nothing like you describe. I'm in a very small company that uses Office 365. One of the principal reasons we continue using it is the excellent support we receive from MS. The support folks know their tools and stay on the line until they're sure the problem is solved. In a couple of cases, we've even received a follow-up call 48 hours later to make sure that we're still in good shape.
I'm no lawyer, but if your intention is to release the project but to cover the costs, it should be possible to set up a 501(c)3 (or partner with one). The organization can charge a fee to cover the costs, and you don't personally need to get paid.
I assume by force they mean coercion by other humans with a greater capacity for violence or control over resources, although the obvious contrary example would be the natural hierarchy of families, of which tribal and clan societies were an extension. Knowledge and skill also tend to create hierarchies without necessarily requiring coercion, depending on how valuable that is in a specific society, although consolidating that power probably does require coercion, at least by keeping knowledge secret.
Agreed, if a Windows machine is BSOD'ing then it's almost always a hardware issue: usually RAM or the video card.

On the note of stability, at my old (pre-COVID) gig, the brand new top-of-the-line Mac computers were the least stable computers we used; they'd regularly crash during video editing and couldn't be trusted for live-streaming our events. For live-streaming, they used Windows or nix computers (depending on the function). All of our broadcast partners used Windows or *nix computers as well.
Pretty interesting historical document for the content. And interesting to hear Hitler speak normally. He accent is little funny but he does not sound significantly Austrian or strange to me.

Mannerheims german is excellent. Outside of a few strange things he speaks perfect high german.
Polluting it's like firing a shotgun with tiny bullets in the air.

People are being killed by pollution, both directly and indirectly.

But the bullets are invisible and the financial interests are very big so most people accept it as a necessary evil...
Canonical is next on list?
There's a difference between responsibility at all levels for all types of calls, which is the one of the managers; and responsibilities for doing things they know can cause accidents. Engineers are not machines that carry on orders mindlessly without accountability.
Not quite "bans". They could face fines, which means it's legal for a price.
Why might I want to use this or pgbouncer instead of, say, the connection pooling built into ORMs like SQLAlchemy?
if they wanted to control this so bad they'd provision you a managed account like how email addresses are managed.
Does Europe not offer a Pre-check type program? In the US, travelers can pay a fee and pass a background check to go through a shorter and less rigorous security check at the airport. My local airport is pretty efficient either way, but it probably saves me 15-30 minutes on my departure time.

My fastest check-in was in Phoenix. I think it took me 11 minutes from curbside drop-off to sitting in my seat at the gate, including dropping off a checked bag (Southwest Airlines). I don't think I ever stopped moving forward from the moment the machine printed my bag tag until I hit my gate. This was pre-Covid too, so the airport was somewhat busy.
It is a type of distinction recognized by linguistics - https://en.wikipedia.org/wiki/Laminal_consonant - but usually not indicated explicitly or commented on. Secret knowledge, I guess.

The fact that assuming this position necessarily thrusts the tongue very far forward in the mouth explains why the Mandarin palatal consonant series (q/j/x) can only be followed by the front vowels, /i/ or /y/.

If you're interested in learning to produce a foreign sound, I strongly recommend getting recordings (or live examples) to listen to and imitate. Working off a description will never quite get you all the way there.
But repl workflows are not special to Clojure and Scheme. People in JS set breakpoints in their IDE, pause at a point in their script to interactively explore program state all the time.

Is this not the same?
I don't know scala, but the notable thing about ruby vs JS is how ruby provides _syntactic_ support for passing an inline-defined function.

In JS:

someObj.someMethod(function(something) {
something
});

Compare to ruby with the block arg:

someObj.someMethod do |something|
something
end

That `do` is a special syntactic thing avaialble for passing a single inline-defined closure arg. (You can pass one held in a reference instead of inline-defined, but it actually takes an extra somewhat obtuse step -- the syntax is optomized for inline-defined).

This "affordance" says "Yes, we make it really easy to do this, the stdlib does it a lot, please consider doing it all the time in your own code", which goes along with some of what the OP is discussing. Why we write `collection.each {|something| something}` (the braces are an alternate way to pass a block) instead of `for something in collection do...`
So what you're saying is, you brought down Google with your rewrite. :)
I feel like the article title is incredibly misleading.

From what I understand, the user can change their default browser and use whatever they want. However, there are some windows/OS processes that may automatically launch Edge to view a specific webpage (some types of help file rendering? Not super clear What process trigger this). It is Not a blanket ban on non-edge browsers.

Idk but I don't see it as being that big of a deal. It feels like like getting upset that my android phone uses Chrome for its WebView even though I have Brave set to my default. Sure it's annoying, but it's only being used to view some immediate page at which point I can exit and go back to my normal browsing.
You cant install windows 11 on older hardware > turns out you can

You cant update to windows 11 on older hardware > turns out you can

You cant set a different default browser > turns out you can

You cant set a different default browser (again) > turns out you can

There is zero reason to believe that this will stay.
Also its a dev build its not like this breaks anyone's workflow unless someone choose to work on a dev build and therefore accepted such and way worse hiccups.
They are not allowed to scrape it; that's the point of Google negotiating with them so Google can make index and therefore make Instagram photos and TikTok videos searchable on Google Search.
Carefull what you wish. A seatbelt maybe not yet but a seat for sure.
Yup slack is async communication. I always reply to my bosses 24 hours after they send me a message. To make sure that there is no expectation that I will be responding immediately.
same, and I have done all this -- the issue is my box is subjectively and obviously lagging, but perfmon shows like zero util...

Its just weird.
We are building a solution for this problem at Splitgraph [0] – it sounds like we could probably help with your use case, assuming this is for analytical (OLAP) data. You can get it to work yourself with our open source code [1], but our (private beta, upcoming public) SaaS will put all your schemas on a more scalable “data delivery network,” which incidentally, happens to be implemented with PgBouncer + rewriting + ephemeral instances. We also have private repositories / fine-grained ACL shipping shortly.

In a local engine (just a Postgres DB managed by Splitgraph client to add extra stuff), there is no PgBouncer or batteries-included authN/Z, but we use Foreign Data Wrappers to accomplish the same query resolving. Our goal is for you to have the ability to do everything locally as an individual, with the SaaS becoming useful for “multiplayer” (teams and orgs).

On Splitgraph, every dataset – and every version of every dataset – has an address. Think of it like tagged Docker images. The address either points to an immutable “data image” (in which case we can optionally download objects required to resolve a query on-the-fly, although loading up-front is possible too) or to a live data source (in which case we proxy directly to it via FDW translation). This simple idea of _addressable data products_ goes a long way – for example, it means that computing a diff is now as simple as joining across two tables (one with the previous version, one with the new).

Please excuse the Frankenstein marketing site – we’re in the midst of redesign / rework of info architecture while we build out our SaaS product.

Feel free to reach out if you’ve got questions. And if you have a business case, we have spots available in our private pilot. My email is in my profile – mention HN :)

[0] https://www.splitgraph.com/connect

[1] examples: https://github.com/splitgraph/splitgraph/tree/master/example...
Downvoted from people who are jealous, perhaps?
What about a team’s WhatsApp group? (every co-located team has one) What does a boss do when asking the rest of team where they went off for drinks?

It isn’t obvious from the linked article.
Drop a debugger statement in above the code in question

If you're using Pry as your REPL, you can use Pry's ls and show-source commands to get more of the info you want at once, with less typing. It's basically calling the Ruby introspection methods for you.

ls foo
show-source -d foo.bar
You can have your IDE indent code in the style you prefer automatically.
Fun fact, this article inspired the sysadmin at XKCD to submit a patch to open source reddit to implement this sort on comments. It lives still today as the "best" sort.

The blog post that explained it: https://web.archive.org/web/20091210120206/http://blog.reddi...
> That will require a massive increase in production for renewable generation and storage.

I have good news:

https://data.worldbank.org/indicator/EG.ELC.RNWX.KH
I strongly hope that Google & Apple are already planning lawsuits against this. My next phone will be an Android with custom ROM if this passes with no protest.
Some people would also prefer to drive on the other side of the road for their own legitimate concerns.
Historically, the complex numbers were discovered by accident while solving cubic equations using the general formula. The general formula only works in general if you can take the square root of a negative number.

One of the first attempts to provide a geometric meaning to the complex numbers was by John Wallis, and I haven't been able to make much sense of it. I suspect he didn't see it the way we do. Also, there's no indication that in spite of the work Euler did on the complex numbers, that he knew of their geometric meaning. The mystical sounding name "imaginary number" was coined by Descartes in the 1600s at least partly because he didn't have the modern view of them.

Of course, teaching by explaining historical developments is not a common thing in mathematics, and the above facts illustrate why. But you have to be aware that things do start off being mysterious before they're fully understood.

The mystery has been somewhat reawakened with the quaternions and octonions, and some other hypercomplex number systems. And mystery gets some people out of bed, so don't be too hard on it.

> It turns out that physical problems are much more accurately modeled in 2 dimensions than in 1 dimension, and even more so in higher dimensions.

Are you talking about matrices?
>I learned long ago to never send an editable format to anyone who's not going to edit it.

I'd go further and say not to send an editable format to someone (read: recruiters) who is going to edit it. Too many times, I've gone to an interview and the interviewer's copy of my resume has been modified (not just names/contact info, but skills and experience) by a recruiter.

Which is why I always bring hard copies of my resume to an interview.

Edit: Fixed grammatical errors.
Wait I need to toss an extra bomb over the wall and point out the superiority of swapping "sed" out for "perl -pe" and getting everything sed had plus superior regex without needing to learn much of anything new.

(I might be wrong about "everything" but that's what bomb-tossing is all about)
Hi Peter, thank you for doing this.

Friend is waiting on employment based GC to arrive. I was wondering if there are any legal limitations of leaving right after the GC arrives. Is there a period for which it is recommended to stay with the company that filed?
Have we learned nothing from communism?

You mean countries that decided to call them that or communism theory?

Cause idk democracy is pretty shit when you take north korea as a prime example.
Time to reflect on trusting trust.

https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
Can we open up a broader discussion about Portugal's culture of work? On one hand this sends a message that Portugal cares about work/life balance for everyday citizens. On the other my general impression of Portugal's economy is that it's one of the weaker members of the EU. High debt, not a huge driver of innovation, wealth, etc. These are all just loosely held beliefs kicking around in my head. I'm not attached to any of them or sure that they are even accurate.
How is this different from India in Kashmir?
>Now put a cotton mask on and do the same thing. How far does the stream go? Inches, at best.

>The distance your breath goes when talking is much reduced. Similarly, the "stream" where you draw in more air is also reduced to a smaller distance when you're masked up.

So instead of breath being directed downward from the nose, the aerosolized particles are redirected upward, where they linger for longer? Moreover, the difference in velocity between speech and "blowing out a candle" makes this a bit of a contrived argument. The key here is that these aerosolized particles have very long settling times - so if they are not being filtered by mask media and instead being blown higher upwards with a mask as opposed to without, then as best masks are useless, at worst they are actually counterproductive.
As you say, we've been working on solid adsorption for a long time now. Nothing has left the lab. The video presents an optimistic future, but we don't even have the basics yet.

Firstly, there is a fundamental issue - H² doesn't really give you anything to work with. The vast majority of compounds have two protons, two neutrons (rare isotopes have more protons). [They're distributed in the most boring orbitals, just spheres with no real edge to gain leverage.](https://winter.group.shef.ac.uk/orbitron/atomic_orbitals/1s/...)

This lack of leverage makes surface adsorption tricky. The molecule gives us nothing to grab. You won't carefully craft a surface that can hold H².

I think right now there's a focus on activated carbon. That's become a bit of a synonym for 'graphene', with it's well known limitations.

When I studied the subject, metal-organic complexes were the focus. These would be extremely customisable, but if they worked we'd probably have seen by now. They tended to use heavy metals. I wasn't optimistic at the time, I thought anything using materials past the 4th row of the periodic table was unrealistic. As the metals get heavier they get expensive and sometimes rare. If we want to solve a common problem, we need common components. If your solution has lanthanoid, it won't scale.

I was right btw. The research group closed when funding was reallocated. Each experiment ran the research budget of another group. MoC's don't really get much love any more.

Anyway, we should probably think about what makes a good hydrogen adsorption material. I think it's pretty simple, you want a material that: stores a high density of hydrogen, is reusable, quickly picks up hydrogen, and quickly releases hydrogen.

The latter 2 categories is the 'kinetics'. Of the materials we know, all (literally all) that have 'good' kinetics are either single use or low density. Conversely, all that are both multi use and relatively high density have poor kinetics. Additionally, most of those with good kinetics have unrealistic conditions, like requiring 400˚C temperature to release the hydrogen.
"ideas are cheap execution is everything"
”Money doesn’t equal happiness” – reality of hackers’ life
They said they set appropriate expectations, and I’m supposed to be polite and assume positive intent of other comments per HN guidelines.

I believe my comments make it clear where I stand on support of regulation to prohibit this activity.
This is a pretty silly argument. It’s not the consumers fault that a monopoly exists.
It seems to me the real question becomes can you trust governments? Increasingly the answer seems to be “no, not at all”

Treating the public like the enemy is a good way to destroy trust in all its forms.
Million breached records from websites in 2021 as in a textbook
AMD did deliver the killing blow to Sun. At least in the company I worked by then, they were all firmly Sun for the large compute servers until the Opteron arrived. PCs were nice as desktop machines, but large servers with multiple CPUs and lots of gigabytes of RAM were not feasible on x86 until the arrival of the Opterons. Eventually they would replace all Sparc based compute servers.
And his cries of "stop that, no, you're doing it wrong!" fell on deaf ears, for use is born not from design but usefulness.
>Is this not the same?

not even close, no
But that is my point. They don't do much of any word processing from the era of Microsoft Word. They just process some text. What does Word give them that, say, a Wiki would not do faster and easier?

Emailing word processing files around strikes me as very last century.
out of curiosity, how do people here feel about using python's functional features in production code in the workplace?
> If the issue is people getting fired for ignoring a message, make firing people for not being available 24/7 illegal.

It's much more difficult to prove that a worker is being fired for not being available 24/7 when they company says they have other reasons, than to prove that your boss sent a message out of hours. Your proposal would be practically unenforceable.
The big advantage of the functional style in Java is that you are disallowed at the compiler level from modifying the contents of the collection you're iterating over. That sort of compiler-enforced good practice is definitely for the best.
Is there any browser vendor that doesn't do things against its users' interests, for business reasons?

I'm mostly using Firefox and Tor Browser, but there've been numerous disappointments, even there.
ask anybody who researches complex and distributed systems and see what they say.
There should be an SMS option on phones that does an automatic reply "Your message to rbobby could not be delivered because rbobby is not working right now. If you'd like your message delivered anyway a charge of $9.95 will apply. Reply to send your message and be charged $9.95"
Yes, I believe I did mention his brother now that I think about it.
Same in China. Doesn’t matter if they are allowed to park there or not.
The best solid adsorbed hydrogen is currently running about 5% the density of liquid hydrogen. Most solutions use either graphene or heavy metals too rare to meet mass demand. It's not a promising technology.
> I used ubuntu 8.10, and had a horrible time getting my Broadcom wireless card working.

Ah yes, fair. I also had this problem back then:

https://news.ycombinator.com/item?id=29202511

> As soon as you run into trouble and look for help online you're advised to open a terminal emulator.

Also fair

(Though it's hard to say -- if your average computer user who only uses the browser and things like Office tools, would be doing enough stuff to run into issues. Possibly, but I like to hope that pre-installed Firefox and LibreOffice/OpenOffice would be enough)

> I think the ecosystem has come a long way certainly. Technical expertise is a spectrum, and we've certainly lowered the barrier, but you still need to be well above the bar to get up and running, and then operating productively every day.

I didn't think about the fact you need to actually burn the ISO and reinstall your OS.

Goes to show how much technical bias I have, as it didn't even register.

IMO (again, opinion), if you can get it installed, and you're using everyday software, I do genuinely believe a non-technical person could use certain distros.

But yeah, have to install it first.
What if sys/kernel/jump_off_a_cliff returns .9999?
I'm also curious, I think what it comes down to is that Clojure lets you change the code of a running application, rather than reload it.
100% agree that we need a lot more mental health facilities.

It's not about fixing every problem, but we can make the problem less bad. The instability and insecurity of sleeping outside makes everything else worse.

There are also a lot of people that are functional, but end up homeless because housing is too expensive. Texas doesn't have better healthcare than California, but Houston has fewer homeless because housing is cheaper.