skysight-inc/HackerNews huggingface dataset:
Hmmm, I don't think this article accurately represents how people write python since ~2005. I'm biased because I use python every day, but there's a big objective mistake.

> Ruby flips the script, giving the objects deeper customizability.

Not really, because python allows you to do things the Ruby way, but I'm not sure the reverse is true.

class Stuff:
def __init__(self):
self.a = [1, 2, 3, 4]

def __iter__(self):
for item in self.a:
yield item

and you can write it more simply in this case.

def Stuff():
a = [1, 2, 3, 4]
for item in a:
yield item

What about the select and map example?

class Stuff:
def __init__(self):
self.a = [1, 2, 3, 4]

def __iter__(self):
for item in self.a:
yield item

def map(self, f):
for item in self.a:
yield f(item)

Which can be used just like the ruby example, with syntax of similar ugliness.

print(Stuff().map(lambda item: item))

I think I could come up with a python example that maps 1:1 onto pretty much any ruby example, but I don't think it's possible in general to find ruby examples that map onto more complicated python.
ATF on Tour: Teaching Journalists That Cops Usually Right When They Kill Someone
I thought the name for the collection of kernel features was LXC, I didn't realize (until just now) that was the name only for the also-kernel-level wrapper for those features, which name does not cover the features themselves. That is, I didn't realize that LXC is to Cgroups+Namespaces as Libvirt is to KVM—I thought LXC, as a label, covered the whole feature-set—but regardless, it's still married to Linux kernel features and runs on other platforms under virtualization, no?
In addition to the cert pinning issue, I found it handy when I wanted to look at the Safari's HTTP/2 implementation and proxies can get in the way

I believe this method can also be used to decrypt traffic going over the cellular interface too
Author here - I agree on explicitness, it can be a bit maddening to trace where a symbol comes from in Ruby. Though a good IDE helps.
File Persistence in Hosted Apps for Hackers
I think Unify setups are probably easiest: https://store.ui.com/collections/unifi-protect
Somewhat related note: If anyone is interested to know how the "Bicubic algorithm" they were discussing works, there's a pretty decent video about it. https://www.youtube.com/watch?v=poY_nGzEEWM
Found some articles claiming this but also others disputing it. France does not appear to get much Uranium from Mali.[1] Although I would not put it past them having an interest in future Uranium prospects.

[1] "France uses some 12,400 tonnes of uranium oxide concentrate (10,500 tonnes of U) per year for its electricity generation. Much of this comes from Areva in Canada (4500 tU/yr) and Niger (3200 tU/yr) together with other imports, principally from Australia, Kazakhstan and Russia, mostly under long-term contracts. Areva perceives the front end of the French fuel cycle as strategic, and invests accordingly."
https://www.world-nuclear.org/information-library/country-pr...
> Every owner who sells their house obviously thinks they have a fair offer other wise they wouldn’t have sold in the first place.

Because no one ever has a deadline to sell or any of a thousand other reasons one might take a lowball offer?
The shortage of 5nm chips for GPU's isn't the big part of the chip shortage right now.
It is a meaningful comparison. Agricultural and road use is huge. The solar installation you linked looks huge, but really, I could just as easily link an image of a uranium mine. Some of them are positively enormous - but that doesn't mean that land use for nuclear is.

A pessimistic scenario for Germany requires about 2.5% of the area for 100% renewable energy with today's technology. In a very densely populated country not exactly blessed with loads of sunshine hours. Taking into account the possibility of dual use (PV on buildings, wind turbines on farmland etc) we'll probably use about two times as much land for renewables than we use for cemeteries. It's very manageable.
Also known as "external" vs "internal" iterator.

Bottom line: external iteration is composable, internal iteration isn't. Try implementing zip or early stopping using internal iteration (hint: you can't).
What's your appetite for discussing your competitors on your site? An SEO/content strategy targeting terms like "alternatives to [Competitor]" should work well in your space. This is also incredibly common in the SaaS space, so you won't be doing anything that these companies aren't already doing to each other.
The polonium production due to short half-life of the specific isotope was found to actually increase safety, as it made detection of leaks easier (root cause was fixed and isn't present in later models) and cleanup easier as well (minute amounts of polonium that were easy to spot and cleanup). Most importantly, it undergoes alpha decay, which makes shielding easy.
Does Azure even use Xen? I was under the assumption they used Hyper-V for virtualization of hosts
DOPE!

Here is an idea - can this be used to make a digital 'signature/Color-Checksum' for the original item?
At a guess, I think the parent means seceding rather than conceding.
Not circumvent them. You can create a system that addresses the concerns of regulators wrt money laundering. Valve offering such functionality on their steam store (without some blockchain just all transactions in their own DB) would likely get them shutdown in most countries.
https://agilemanifesto.org/

Most of the things you list are things you may or may not get right the first time; what makes something agile, at least, when the term was first floated, was the ability for the team to own the solution, say "this is not working" (be that architecture, team structure, process, etc), and change it easily. Agile was "ability to (rapidly) change", not "adherence to a defined set of rules called 'Agile' ".

Most places don't actually seek out that definition of agile, though. And so there's a lot of bikeshedding around "what process is the one true way (and what can we add to it to make it work when it fails us)" rather than "how do we empower the teams to make their own decisions on how to best be effective"
I just checked my old provider pair networks.

Processor 8 Cores
HD 240GB SSD
RAM 16GB
$311 / month

This is not that competitive with m5a.4xlarge reserved for one year.

64GB / 16 core machines - good modern gen cores
Law firm filed for the wrong category perm and it will be 1 1/2 years before I could get AoS based on new visa. Any way to expedite the process?
Unbelievably popular. Based on my own limited experience, we've seen a lot of entrepreneurs return to Canada and operate their US business from Canada and come to the US as needed or simply decide in the first instance to base their company in Canada rather than the US. This all might change, however, as the pandemic continues to get under control.
Not the OP. The validation probably comes in the background check stage (not the hiring stage) and the background check companies should have the expertise to check degrees in Europe.

All in all, this should definitely be manageable.
My bad, I forgot what "TFA" was.
Do you mean to punish them because of what I dislike or mainly to protect my media collection? Just so I can reply accordingly...
- GitHub contributions - Aim for at least one per day. If not, then I should have a reason for it.

- Weight (MyFitnessPal) - on a cut right now, and I'll log progress when it decreases

- Time in VR/calories burned (aiming for 40 mins/250 cals minimum, but typically do significantly more)

- COVID - I'm high risk for a while, so I do a daily LFD

- Donations received on Open Collective
They've never trusted each other and never will. This is a utopian fantasy.
Guess I'll hold off on the new PC build a little longer.
Whatever the non cloud solutions are, they obviously are nowhere as cheap and easy as the cloud solutions based on the success of the cloud solutions.

A solution that someone can pickup at Costco and setup via scanning some QR code in 10 minutes is always going to win versus spending an hour or many hours delving into networking and figuring out what equipment you need and troubleshooting.

Nobody wants to deal with DDNS or port forwarding or other issues when trying to remotely access the video either.
Show HN: Know the license: detect OSS license by text
As a guy who uses a lot of languages and having started on C-like languages I appreciate Python in that it doesn't make me work terribly hard to get what I need to get done. I'm far from a Python expert cause I don't use it exclusively.

In spite of all that, it's pretty intuitive, reads like pseudo code. Plenty of data types and packages to get the job done.

The few times that I've touched Ruby, however, even though it's succinct and beautiful language, I always have to find myself relearning its super object oriented centric paradigm.

Everything takes 2-3 times as long to achieve and, arguably, not that fast a language either.

I suppose if i worked on web app project exclusively, maybe Ruby might be my language of choice, but I don't.

I'm sort of a jack of all trades master of none position (but that's ok cause in my particular situation I get paid pretty well for it).

So that's why I prefer Python at the moment.
"Hiding" generally on page two.

The sorts of people who read the print version of the New York Times know what this is, have seen it for years, and are streets ahead of the hype. It's only a novel discovery to the sort of people who get their news from Vice.
An added benefit for hunters is that deer aren't afraid of the sound of bikes. Similar to cars, they just don't care. It's much easier to approach a deer on bike than on foot.
Imagine code you want to attack has an array lookup based on some secret data:

x = array[secretdata].

The entry in the array will be loaded into the cpu core via the L3 cache. If the L3 cache is already full, then one entry will have to be evicted from the cache. The evicted entry will depend on the memory address that is being accessed.

Another CPU, running an attackers code, can repeatedly try to load stuff from L3, and detect what was evicted and when to learn the secretdata.
https://www.youtube.com/watch?v=27100u7IcII like this for trucks in Sweden?
It's extremely tough to expedite. Sometimes, if the work is clearly serving an important national interest, the process can be expedited.
The innovation of "imaginary" numbers is that we can concretely reason about multiple dimensions in a unified manner (unlike classical geometry, which relies on geometric primitives). `i` is not some magic, "imaginary" value, it is an invented syntax that means something like "rotate by tau/4 radians" or "orthogonal to the default vector". 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.

> Freeman Dyson: “Schrödinger put the square root of minus one into the equation, and suddenly it made sense … the Schrödinger equation describes correctly everything we know about the behavior of atoms. It is the basis of all of chemistry and most of physics. And that square root of minus one means that nature works with complex numbers and not with real numbers.”

This quote is emblematic of the mysticism that some mathematicians and academics cannot resist using to advance their careers as public intellectuals. Reality is certainly not based solely in "real numbers" (one dimension), but nor is it based solely in "complex numbers" (two dimensions). The idea that mathematics is "the language of the universe" that can be precisely "discovered" by brilliant minds is a ridiculous notion that only serves the status of the mathematical elite. Mathematics is fundamentally about designing models and abstractions that help us reason about real phenomena with minimal cognitive resources. Everyone does it, and anyone can do it. Disclaimer: I have a degree in mathematics.

"All models are wrong, but some are useful" [1]

[1] - https://en.wikipedia.org/wiki/All_models_are_wrong
That’s correct but my point was that Redis has an out-of-the-box solution for “message passing arbitrary data using the Redis protocol over TCP to named endpoints”, and Redis Server is a very lightweight piece of software. Even if you aren’t using it as an in-memory key-value DB it’s not a big problem to pull it in to your stack even if you’re only gonna use it for PubSub or RPC/IPC.

This is a super cool write-up and I’m not saying anything negative about what the author did. I like it a lot. I’m just asking from a technical and curiosity perspective what the advantages are to this over using the stuff Redis Server already provides which can do the same thing.
Not exactly startup related but perhaps you have some insight. My wife is from the Philippines and we are currently in the process of applying for her AOS (I-130 and I-485). We left the Philippines late last year and went to Mexico for around 6 months waiting for things there to normalize after all the covid lockdowns.

The Philippines hadn't fully opened to tourists so in July of this year we entered the USA with the intention of getting married and then applying for a marriage based visa to the Philippines for me so I could return with my wife. After we entered the USA the Philippines went back into stricter covid related lockdown and we found out there was a 9 month wait time for the visa I would need to be able to return.

Given these issues we decided to stay in the USA and go through the AOS process for my wife instead. My wife entered on a normal tourist visa, this was her third visit to the USA since we had visited my family here a few times while we lived in Manila prior to being married.

Based on my understanding we may have issues with immigration since they will assume my wife entered the USA on a non-immigrant visa with immigration intent. Especially since we go married within a month of entering the USA.

Is there anything we can do to mitigate the chance of a denial based on these circumstances?
The formula still works for scales of 5 or 10, you just have to divide by the max rating first and then multiply by it again at the end.

For example a 3/5 stars turns into 0.6 positive and 0.4 negative observation. Following the formula from there will give a lower bound estimation between 0 and 1, so then you just multiple by 5 again to get it between 0 and 5.
French nuclear had a negative learning effect.

https://www.researchgate.net/publication/223761273_The_costs...
This is the sequel to a talk about the lambda calculus I gave ten years ago. Here’s the 2011 Hacker News discussion: https://news.ycombinator.com/item?id=3343205
So am I. Op seem ok.
I find it hilarious that people think there is still justification for an expense as large as office real estate / office rent, when the non-biased peer-reviewed studies all show a 15-20% productivity gain from WFH anyway. So what, you want to spend way more to be less productive? Offices are dead. Wouldn't want to be whatever idiot apple exec just commissioned their new campus. Useless real estate. Dollar value of $0.
It will also make solar even more attractive.
What are you going to make the batteries from - lithium? That comes with its own host of terrible impacts that people seem to be keen to brush under the carpet.
I don't currently but I have read that HRV is very important.
Do you have some external ping test running continuously? If not, you really have no idea.
The author provided a compelling reason for this long-distance ebike: they have an injury and the acceleration assist allows them to cycle without aggravating the injury. I don't think it's fair to assume that every person who wants to cycle 200km can do so without electrical assist.
It really depends on what scaling algorithms you use.

Some people can make paintings that look an awful lot like a photograph, that is, they have a mental model of what scenes look like and can construct an image from that model.

Computers can create photorealistic images using raytracing techniques and also with neural networks

https://deepai.org/machine-learning-model/text2img

It's very possible a scaling algorithm could guess at what is missing in the picture and fill something in. That doesn't mean that is going on with Apple products in 2021.
Love that you are engaging with the commenters. Maybe it's worth taking some of this feedback and applying it to your homepage, or maybe create some click tracks from your homepage to some of these other feature pages to take people on a the buyer journey and try to convert them into leads?
> It's always been the global functions in Python that put me off.

I'd argue it's the inconsistency. Some things are methods, some things are functions. The name choices are also a bit boneheaded (eg. "dumps"). It's a lot like PHP in these regards.

Ruby, on the other hand, is beautifully designed. But it gives you a bazillion ways to skin a cat, and people love to be "clever" with their cat skinning. In those cases, I appreciate the utilitarian approach and "zen" of Python.

My biggest gripe with Python, though, is the totally 80s feel of the version and package management. It's one of the worst experiences in my daily engineering life. I can never know if complex ML code will work on my system without thirty minutes of patching things up.

I'll gladly use Python to get work done or Ruby for small websites. But I'm looking for a new daily driver for scripting that learns from the last thirty years of mistakes. (Modern language, sensible packaging/dependencies/version switch, optional static typing, and optional static binary output.) Nim, perhaps?
There was a Hungarian volunteer battalion that came to Finland for the Winter War in early 1940, but as far as I know, the war ended while they were still in training, so they didn't participate in any battles.
I still think problematic and would have to be carefully structured from both an immigration and tax perspective.
But do the people have any interest in seeing text that is machine translated without editing? MT is good, but you can still tell that test has gone through it; for me, reading it when I haven’t triggered the translating yourself elicits the same reaction as spam emails with obvious typos.
I'm not sure what Apple have to do with it, and in any event "working with" is not a fair description.

Apple, like many other companies are a multi-national manufacturer. In that situation you have to do two things:

1. You have to manufacture your products in volume somewhere
2. You have to sell your products in volume somewhere

Try as you might, it is simply not feasible to eradicate China from either 1 or 2.

For the manufacturing, even if you were to manage to stop direct manufacturing in China, it is largely impossible to stop indirect manufacturing in China, there will always be all sorts of OEM components in your supply chain that are made in whole or in part China.

For the sales, well you could ignore the Chinese market. But that is ignoring 1.4 billion people, 18% of the world's population. Plus countless business customers on top of that. As a large multi-national company, can you really do that ? Especially if you operate in the tech sector ?

As for how Apple (or any other Western company) operates in China, you might well find they have little choice under domestic legislation. Just because they are a US (or other) company, doesn't mean they can ignore local laws.

I'm not defending China here, I'm just saying put yourself in Apple (or any other multinational) shoes for a second and think about it objectively.
This article is about implementing the Redis Protocol on a socket yourself. Not about the Redis Database. Sorry for the confusion.
It uses them because they cost money.

And securing the network costs money in a proportional amount to the market price of the coin.

The network is no more or less efficient burning through 20% of the human race's energy output as it is burning 0.2% or 0.000002%.

It produces no additional transactions, no more or fewer coins. Just more waste product.
That's my understanding, yes. The profit margins on the convenience items are just so much higher. 20oz bottle of soda? $2. Wholesale price, probably under $0.50.
Clever, I love it. Maybe I'm just dumb, but it took me a lil bit to convince myself it's correct.
What in the world does this have to do with Woody Allen? Why are you dog whistling?
I am on Windows 11 - first time with W11 and been running it for a week++; I looked this morning when my machine was running slow, to try and see what it was, my uptime was 2D6H+ so I rebooted and that didnt solve it.

I have the newest flagship laptop from HP Omen RTX3070 and Ryzen 58000 or something...

I am only using my browser, FF, and its still acting weird slow..

Any thoughts?
goodness. read the article. LZX is not close to LZ4, which is not close to ZSTD.
Sidenote: If there's one thing I hate, it's when the headline tells me if "It's OK". It just screams soft propaganda to me.
Is installing a charger economical for the average car buyer? I assume a high amp circuit install from an electrician is something like saving up another down payment. Maybe it can be rolled into the 84 month auto loans or whatever crazy length they are up to now.
Fertilizer runoff creates a dead zone at the Mississippi River delta.
Invest now. Buying the dip is a terrible investment strategy. [0]

[0] https://ofdollarsanddata.com/why-buying-the-dip-is-a-terribl...
I can do 100K rides just fine, but not in the same time. An e-bike is much more convenient for that, we have this thing called wind here that can really get you. On my 10 speed (an elderly Guerciotti, very nice bike) my peak is 38 or so and I can average about 28 for a two hour ride, after that it drops and there is no way I could do a return after 65 km at that speed without slowing down considerably.

I've done many 10's of thousands of kilometers on bikes and there is no way to compare the two in practice, even the very best racing bike can't keep up with an e-bike over a long distance unless the rider is tour-de-France level.

E-bikes add range, compared to what you would do on your own in the same time. That is what makes them viable replacement for a car, suddenly 60% or so of your car trips are within the range of the e-bike, and with this large battery for me that is more like 95% or even more. Since getting the second battery for the e-bike I haven't used the car more than twice (that's a few months). Car ownership has gone from being a 'must' to 'uneconomical' and no regular bike that I've ever owned had that property.

And that's before we get into the fact that without the assist I have a hard time to get started at all.
This feels a bit ironic given how much the for loop has been villainized in numerical computing, by none other than languages like Python—and Matlab and R—where for loops are so awfully slow that you can only get performance if you avoid them like the plague and write (sometimes awkward) vectorized code that pushes all the for loops down into some C library (or C++ or Fortran). Compared with, say, Julia, where people are encouraged to "just write yourself a dang for loop"—because it's not only effective and simple, but also fast. I guess what I'm saying is that it feels like even though Python may embrace the for loop as syntax, that affinity seems superficial at best, since if you care at all about performance then Python immediately rejects the for loop.
lol, now I'm being down-voted.. good morning West coast :)
Klima DAO accumulates $100M of carbon offsets, aims to drive up price
My company wants to bring me over to the US from France under an L1-B visa. The pandemic makes getting interviewed at an embassy very difficult, and the process has stalled because of this.
Do you have any idea when visa processing will resume, and is there anything my employer or I can do to speed things up?
4K space station tour reveals its enormous size
Has Ethereum ever met a roadmap deadline?