skysight-inc/HackerNews huggingface dataset:
In swift:

// a is a UInt64
let a = Int.random(in: 0..<Int.max)

// causes a fatal runtime error if out of range, halts execution
let b = UInt32(a)

// returns a UInt32?, which will be nil if out of range
let c = UInt32(exactly: a)

// another approach for exact conversion:
guard let d = UInt32(exactly: a) else {
// conversion failed
// handle error and return
return
}
// 'd' is a UInt32 without any bits lost

// always succeeds, will return a UInt32, either clamped or truncated. Truncation just cuts off the high bits.
let e = UInt32(clamping: a)
let f = UInt32(truncatingIfNeeded: a)
A friend asked me to help him to setup a FTP server for his b2b product a few weeks ago: Client just wanted that lolz.

Luckily I could convince him to use ProFTPD with sftp http://proftpd.org/docs/contrib/mod_sftp.html . This is very neat as the service runs on their own ssh-alike port.
Describing ads ("sponsored tiles") as "user-enhancing" is arguably worse.

https://twitter.com/dherman76/status/433320156496789504
I think what really hurts, for me, is that this has become the general tone from Mozilla - whether the changes are ones I'd agree with or not.

I remember back when the Spread Firefox campaign was still around - at the time, Firefox and Mozilla in general felt grassroots, fun, and human. Like a club anyone could join and that anyone would want their friends, family, coworkers, and even strangers or people they didn't like to get in on: an all-in-this-together effort for a better internet.

Anymore, Mozilla feels more and more corporate, more like a company - even as Google Chrome (and the many browsers built from Chromium) eats away more and of their market share and they move toward being "the little guy" again - and less and less like a group of people.

I think what I really miss is having a browser that made me care about it beyond just wanting alternatives.
I don’t program web sites or web browsers, but with wasm or web sockets can’t you make a web page that opens a connection and sends arbitrary binary data to another server without any http?
"How we made our own container orchestration infrastructure over AWS. It doesn't have all Kubernetes features, but hey! we can then train our own employees on how it works.

And we got to maintain the code all by ourselves too! It might take a bit too long to implement a new feature, but hey! its ours!"

Really, Kubernetes is complex, but the problem it solves it even more complex.

If you are ok solving a part of the problem, nice. You just built a competitor to google. Good luck hiring people who come in already knowing how to operate it.

Good luck trying to keep it modern and useful too.

But I totally understand the appeal.
This is the hidden layer/feature behind blockchains it seems most people don't realize. They are amazing instruments for transparent social coordination and funding. The things happening with DAOs now and multisigns are incredibly socially positive and inclusive.

I highly recommend reading a bit about DAOs.

https://ethereum.org/en/dao/
I'm really excited to see this, and this release addresses a lot of my nitpicky complaints.

If you are on the fence about using node-red, please give it a try. Despite being a skilled engineer and actively writing in a half dozen languages, I still use node-red heavily for low code tasks. Some recent examples:

+ Automated task to check a county court website for updates to a case I'm following

+ Let me know when several clinical trials I am following post results

+ Price/stock tracking

+ Prototype dashboard/debugging for a garden monitor device I built
As it does in the Finder in macOS.
ftps exists. The solution to http wasn't getting rid of it, it was pushing for more https.

I'm not saying there weren't good reasons to get rid of ftp support, but that doesn't seem like one.
Nobody should trust Wikipedia, says man who invented Wikipedia
IDK Virgin Galactic seemed to be virtually dead for a decade or so until there was a chance to one up Bezos I wouldn't be surprised to see these continue to barely operate after this big push.
Is it better to shatter itself, or to have this within it? Do you want the EU to be smaller, or to be a bloc without ideals?
If society actively encouraged the creation of more positive ways to contribute positive things, I bet we'd see an "organic" growth in numbers of people choosing to do so.

Example; There've been some pretty positive things happening around community gardens in some places (when they're not being attacked by self-appointed neighborhood Nannies that don't like to see people gathering together around something beneficial).

Example 2; I remember "maker" clubs and similar community groups doin' lots of really fun activities that benefited more than just the group itself (free community virus cleanups, operating system install parties, community LAN parties - everyone's welcome).

I'm sure that if enough positive activities were presented to society as a whole, you'd just naturally find a growing percentage of humanity doin' good things for each other that used to be considered "work" at some point in the past before whatever "safety net" made it unnecessary to do for survival's sake anymore. People might even still do some of those things at a higher level of quality than others and net themselves some personal gain out of it.

Problem is that humans aren't willing to cooperate with one another enough to even approach any sort of Utopian ideal, and they're often too ready to jump at all the reasons such a thing is "impossible" without being willing to even consider any ideas that might lead to it bein' a reality.
Biden to Name Google Foe Jonathan Kanter as DOJ Antitrust Chief
> (My point is that incompetence doesn't make it morally ok that a criminal thing happens to someone)

There is negligence, however. If you leave the door wide open and unsupervised and something gets stolen your insurance company will be much less understanding. That does not say anything about how theft is "morally okay", just that negligence is not okay.
This is piece is a media company (TK News by Matt Taibii) whining about NPR whining about some conservative news show called 'The Daily Wire'. It then lists a number of articles / stories to show that NPR has an agenda and shouldn't whine about other outlets not presenting both sides of the issues.

TK News, by the way, does not present both sides of any issue here either. I guess it is turtles all the way down, man.
> Unless you have a strong civic identity that aggressively assimilates and ensures respect of those civic norms, you have an inevitable clash that just becomes a question of scale.

I'd like to suggest multicultural cities such as Toronto as an example that preserving cultural backgrounds and integrating with the rest of society aren't necessarily mutually exclusive. You have a broad mix of people from (among others) European, East Asian, South Asian and Middle Eastern backgrounds here and while all of the usual discussions are alive and well (left vs. right, urban vs. suburban, immigration vs. bubbling), people's cultures are just not the main issue dividing people. You'd think that with a lot of Muslim immigrants, Canada would have larger problems with value differences, but guess what, most people are just people and want a good life for themselves and their families. Nothing new here, move along.

The point is that full-on assimilation isn't necessary. Celebrate shared values. Celebrate diverse backgrounds and differences, too. I don't have to tell a Muslim woman that she can't wear religious clothing, just like I don't like it if her husband tells her the opposite. I can just grab food with the two of them and discuss tech, ethics, religion and whatever, just like with regular people, because they are regular people. The kids just see a lot of different ways of people living their lives and learn that it's okay to be different.

> In your hypothetical, how exactly would this situation [Islamic Law / autocratic dictatorship] come about?

Recent history suggests that there is a template: a politician gets voted into office, gets drunk on power, finds a common enemy and sells it to the people, changes elections and eventually the constitution to remain in power, kills the independent press, persecutes opposition leaders and intellectuals with dangerous ideas.

Turkey and Hungary are well on their way. Russia has arrived. Iran and China went the revolution route, that works too, although probably requires more of a flawed system to begin with.
The threat they lobbed was fanciful, unrealistic, horrible and borne of a dive into his personal life to identify a risk factor designed not as an identification of real risk but to create fear to motivate a change in behavior precisely because they had no real legal leg to stand on.

This is not much different from noting someone is gay in a middle eastern country and pondering what would happen if they were outed while trying to coerce them to do what you would prefer.

He created a client to consume a public API not much different than youtube-dl for sheet music which can be used to download both works under a free license or under a non free license. If the usage is infringing it is infringement by the user of the works of someone like Sony. Muse has zero call to start some shit directly with the developer because they aren't the injured party and he's not the responsible party which is why they had to stoop to nonsensical threats.

This is also why the repo is still up now.
The OP is mentioning different forms to probably indicate some forms might be easier to learn.

If you don't have anything positive or constructive to add, why not stay silent? That too is a form of mediation.
BBVA bought Simple in 2014, and killed us in 2021, so they kept us on for a good 6 years. I was honestly surprised they didn't do it earlier, such as when they axed the whole C-suite in 2017.
I love that. I agree until the "nothing" bit. Some things do get priced in. You can see specific stocks "react" to news, adjusted for market returns etc. ESG factors do appear to be getting "priced in" as well
http, dns, and other things are unencrypted.

What would happen if they rip it out?

What should be done is push for things like ftps or add big warnings around it.

That wasn't the decision. Maintaining this was.
Their system just hasn't been around long enough to accrue enough legal debt - pesky thing like "property rights", "environmental regulations", "labor laws", and "due process" that people start demanding as they go up Maslow's hierarchy.
Come on! Real estate appreciation only matters for people that own multiple properties and can therefore afford to sell without compromising the roof over their heads, i.e. landlords.

My sole property doubling in value, along with every other house in comparable neighborhoods, is 100% ephemeral, because there is no way to realize that value without liquidating my family's quality of life--a counterproductive maneuver.

**

Trump Admin was paradoxically nationalist at home and neoliberal abroad (probably because he's a professional clown with no understanding of governance); US foreign policy has not meaningfully changed since 1991/2001. It's all about securing the conditions for global neoliberalism, i.e. American military and financial imperialism, which ensures I can buy a jar of premium African tree nuts from Costco for a fraction of an hours labor, even though it required many hours of labor to produce.

Anyway, that pyramid scheme called neoliberalism is collapsing, and it's only going to get worse domestically in America as a sad but necessary result.
Ethereum Reorgs After the Merge
German drivers on the autobahn with no speed limits still drive about the same speed as US drivers on the interstate. Trains around the world regularly go much faster. That is before we get into how much safer trains are than even the best drivers (sorry humans, you all suck as drivers, it isn't "just the other guy"), or other environmental issues.

There is plenty of room for more rail in the US because I want to get "there" faster and planes are not faster for many trips.
‘Everything is on fire’: Siberia hit by unprecedented burning
Seems like a per-satellite tax could incentivize reducing the number of satellites where possible, and could help fund some of the research hindered by too-many satellites.
It's too late now. It would take 20+ years; by then we'll probably have level 5 autonomous driving systems, making rail obsolete.
I think a good argument can be made for mental health issues being more related to a need to perform ever better, more successful, more efficient, more marketable, demonstrating ever more status rather than being exposed to the availability of sexual content.

I've had a talk with a friend who was about to propose the other day. The elaborate planning that went into a questionable display of extravagance (it involved - amongst other aspects - skydivers and a banner being flown behind them) probably put him into more stress than asking the actual question. And worse: this idea of the extravagant proposal has been hammered into this generation ("If he can't even do this for you, is he worthy?"). In the 1920s, when there was maybe a ring (and not a particularly expensive one, either), and a question, things were easier, and people were less stressed about this.

And it's not "only" attracting and "securing" a life mate, it's every aspect of our live that has been blown out of proportion. We have forgotten about the good things in life, like taking some time to watch a vineyard in early autumn as the colors change. Having time for oneself. Having meaningful communities.
We'd be even more secure if they took away HTTP and HTTPS support
It's also difficult because software despite being a realm of abstract constructs still exists in the physical world. Hardware corruption can introduce bugs despite the software being formally correct. It's fascinating learning about hardware manufacturing for satellites and needing to build in hardware redundancy and error checking for bits getting flipped by solar radiation. And of course there was the famous rowhammer attack.

So you need not just software expertise but also hardware expertise if you're going to get serious about writing error-proof code, which Dan Bernstein happens to have.
Exactly. As a pilot, I find both of these rides uninspiring. Now if I could strap myself to the top of a Titan II in a Gemini capsule and do some piloting… now that would be an experience.
Music has remained pretty much a creative thing through most exponential explosions of technology that affected it profoundly. What's the most crazy futuristic scenario where software engineering stops being a creative field?

We have programming languages for creating and evolving organic lifeforms? You are basically creating plants, pets, "superworkers" or "super soldiers", or artists? That's going to still be creative. Like raising a child is creative. Same thing for stuff that can have an ego driven consciousness like most forms of AGI.
It comes from classism.

Historically, the people doing "hard work" were peasants, serfs, and other lower-class people.

The people doing "skilled work" were the educated sons of nobility, and later of wealthy merchants.

An awful lot of the unhealthy and destructive dynamic in our modern work can be traced to feudalism.
If you "measure" the bits per character in the base 45 alphanumeric encoding used in QR code, you'd get 5.5 bits per character as 11 bits is used for two characters.

How is it possible to have information less than a bit, a partial bit? What is that ".5" part? Isn't a bit indivisible?

Only in the context of a character doublet is all information expressed. To know the "half bit" part, you cannot "look" at just one character, you have to look at the total. The information is shared between the two characters. Measuring the bits-per-character is only useful when considering the whole system. The "partial bits" is information smeared across the system. Changing the middle bit may change one, or both, characters.

Here's a 11 bit example, where the middle bit is changed and it changes both characters:
(11101001010 vs 11101101010, or '/L' vs '%8' encoded)

https://convert.zamicol.com/?in=11101001010&inAlpha=01&outAl...

https://convert.zamicol.com/?in=11101101010&inAlpha=01&outAl...

vs changing the last bit only changes the last character: (Using the preceding example, 11101101010 vs 11101101011, or '%8' vs '%9' encoded)

https://convert.zamicol.com/?in=11101101011&inAlpha=01&outAl...

The same principle applies to information theory and cryptography. Security can be measured in "partial bits" because it's measured across something larger.
While I think it’s a shame that nobody has been able to sue ChessBase for their software being utter garbage, I will cheer on this equally worthy endeavour.
The funding problem exists only for public goods in the sense they are defined in economics: This definition requires that the thing being produced to be nonrival and nonexcludable. The post conveniently avoids discussing what projects they will consider to be "public goods". Non-economists tend to think simply of either goods/services produced by the government sector (a whole lot of which are actually quite rival and excludable) or people making stuff no one wants to pay for ... Neither category requires a special funding mechanism.

Voluntary contributions mechanism (VCM) with a provision point is well known (this paper[1], for example, provides a decent summary as well as identification of a problem). This seems to be a contorted effort to take VCM-PP and retrofit it into some kind of blockchain/crypto-currency framework.

[1]: http://www2.econ.iastate.edu/faculty/vesterlund/paper/overpr...
This link[0] says that Europe had 77000km = 47845 miles of motorway in 2018. It's probably not quite as standardised as the US system, but it seems broadly comparable. See the second link[1] for a picture.

[0]: https://www.statista.com/statistics/449781/europe-eu-28-time...

[1]: https://en.wikipedia.org/wiki/International_E-road_network#/...
psa: windows explorer.exe, macos finder, and gnome nautilus / kde dolphin all support connecting to an FTP server.

explorer: right click "my computer" -> map network drive. (or just ctrl+L and type an FTP url.)

finder: go -> connect to server

nautilus/dolphin: network -> connect to server (or just ctrl+L and type an FTP url.)
They aren’t really exclusive at all. Early design mistakes can also be really expensive, but a really scary bug that nukes all your data could also suck.
Lots of higher ed institutions won't even consider purchasing a new piece of new software unless it passes WCAG. It's a part of the bidding process now. Lot of Universities have been sued because the software they use is not accesible. This is a huge deal in higher ed. Also, software vendors lack accessibility talent. If you can find your way into this niche, it could be lucrative for you. I would suggest you do a ton of research on the various types of accessibility issues, participate in web-dev accessibility communities, and start posting content on how to develop attractive and accessible sites once you feel very knowledgeable. Maybe even make some simple tools for your site/whereever you start posting content. There is definitely a lack of developer tools and quality content around accessibility.
Yes, you can build an FTP client in JavaScript. However the browser won't let you escape the sandbox and open an arbitrary port ... but on Node.js or FirefoxOS (haha) there shouldn't be a problem, except weirdness in standard interpretation :)
Is that true? I had a credit card when I was a teenager. Is there a way for them to check your age or is it “you have a credit card so we assume you’re 18?”

A very similar comparison would be “thots” on Twitch, though.
Iirc this is in Texas so local affectation probably?
> but with wasm or web sockets can’t you make a web page that opens a connection and sends arbitrary binary data to another server without any http?

I can't speak to WASM, but websockets are literally just a layer over HTTP in some regards -- a websocket connection is initiated by sending an HTTP request with the Upgrade header.
Well, this raises the cost of capsule reuse because of transport back to the launch point.
Maryland/Northern Virginia are _not_ the places to be if you want career options outside of government [contracting] work.

While it's true that .gov work is huge in DC metro (and extending to Baltimore), there are MANY companies completely outside, or on the periphery, and even more if you just want to eliminate military jobs.

Amazon has large AWS offices, plus HQ2 is spinning up.
Google and Microsoft both have substantial presences (albeit much of that is .gov work). Walmart has their innovation centre here (Walmart Labs?).
Oracle. VW of A. Several universities. Smaller companies like Ellucian (my employer). Freddie and Fannie (.gov-adjacent). The list is long.
Our osm POI data currently reflects osm as of Jul 7, and we're working on figuring out the best cadence to update it. Of course the underlying osm data has its own sporadic update frequency. Maybe Iggy could be part of a feedback loop for finding stale osm data? (I do data science at Iggy).
You may want to look at the Japanese train 'bodycount'. They've arguably the most elaborate rail system and I believe it's still safer than air.
FTC Releases Agenda for PrivacyCon 2021
You can generally (but not always) avoid writing JS, especially if you use some of the more clever mapping blocks. If you do write JS, it'll almost always be shuffling data structures around.
they will surely rip them out when they have fallen to the levels of usage that FTP is at now

Edit: not sure why this is being downvoted... if you read the actual link, it says they intend to deprecate HTTP.
With us all being secured from Gopher already, that’s all that remains to establish a 100% secure browser.
I'm glad that I'm not the only one seeing this effect. And economic colonialism is a succinct way of putting it as you said.

I mostly blame the government for it. If we had a better economy we could compete and the prices for us locals wouldn't be prohibitively expensive. But no, our government (and most of opposition) is a corrupt criminal organization so there is no way out of it. We're just getting poorer and poorer relatively speaking unfortunately.
> I didn't argue against democracy. I argued against putting the population on a pedestal.

Please note that democracy literally is the rule of the people. You simply cannot state that you are not arguing against democracy and in next breath say that people should not be on its pedestal, because, theoretically, people are its ruling class. If it is a democracy, people are on its pedestal. That is the main weakness of democracy. People, as a whole, are idiots.

Your issue appears to be with commonly held beliefs that are not your beliefs. But that is a very different discussion.

> And as a citizen who fully supports restrictions in response to a pandemic - IMO the government can't require you to get vaccinated. But you can't demand to be allowed into nightclubs and cruise ships while unvaccinated. Fair?

I have zero problem with that statement.
I think it be good idea to have international rules and regulations with common sense limits to continue and improve upon what SpaceX has done voluntarily.

I don’t think it should be surprising or considered bad that you can see objects in space with telescopes. I don’t think we should stop sending stuff into space just because it’s detectable with sensitive instruments (which doesn’t mean we shouldn’t try to find ways to make scientific observations coexist). But I can definitely see an argument for limiting naked eye visibility.
You've hit the nail on the head (mostly)...but I'm going to say no more because its part of our secret sauce
Perhaps one day we can have a programming language that allows us to write software that doesn't rot or corrode.