skysight-inc/HackerNews huggingface dataset:
That's fine, but it seems like some of the confusion comes from unclear expectations? There is a vague promise at the beginning of the post that this will somehow be useful for programming:

"This post also explains how you can usefully employ the visitor pattern / Church encoding / Böhm-Berarducci encoding to expand your programming toolbox."
It's impressive if you're 40 yards from the pin!

But no, it would not be very long on Earth. A Par 4 hole would usually be between 300-470 yards from the mens' tees.
That is interesting. Trying your timeit code I've come to see that maybe something was wrong about how I was estimating the different performance. I was just using cProfile and profiling the two functions with big inputs and then comparing the cumulative time results that way. When I use your timeit examples my results (Intel Core i7-6700K CPU @ 4.00GHz) are different and closer to yours (pythonic ~1% slower). Thanks for sharing.
Sure fire solution is to get your own cat. Preferably big one.
I agree that the 8k displays sound ambitious but they may have some tricks up their sleeves if they are doing foveated rendering using eye tracking. I think they’ll primarily focus on VR but they may do AR via camera pass through. They graphics in VR mode will be much better than what your claiming though, current stand alone headsets like the Quest 2 have good enough graphics to create a sense of immersion where you forget that what you’re interacting with isn’t actually there. That’s more than enough for virtual meetings and office spaces. If they can nail the facial animations by tracking eye and mouth movement so that non verbal communication crosses the gap they’ll have a winner. The current offerings for meeting and social apps in VR are almost there so Apple has a good shot at pushing it over the line.
Certainly. Here's the whole thing: https://pastebin.com/ZZAscpyk

I host it on a generic cPanel webhost.

It's not very robust, there's no error checking, and it only grabs the first page of replies, but it's sufficient to prompt me to look at all the comments if needed.

If I ever become a celebrity then I will revisit this script :-D
Implicit conversions I think are landmines that should to the greatest extent possible be avoided except in a few very select cases.

Implicit arguments... man I go back and forth on that so much. On the one hand every crazy tower of abstraction that grinds the compiler to a halt in Scala inevitably begins with implicit arguments and you can have a really rough time with them if your IDE doesn't support looking up implicit arguments. On the other hand, if you want ad-hoc polymorphism, implicit arguments are really useful, often far more so than inheritance.

My usual take on this is that you probably don't need ad-hoc polymorphism most of the time, which is my way of wriggling out of the dilemma.
I can't tell if the previous comment was ironic, but it seems to me that developers seeing things that way is a sign of immaturity or unprofessionalism.

Why must developers write and ship code? To deliver a certain goal / feature / business value. If all they're willing to do is writing and shipping code without considering how will that software work in the future, what problems it might have, how hard it will be to make changes to it, they're not being responsible enough about their work.

Software in general (except for throwaway code) is not supposed to work only NOW — it is expected to work for a long time, with an acceptable degree of quality, and with changing requirements.

If, to build a wall, it takes longer than just laying some bricks, it is because a solid wall serves many more purposes than some layers of bricks.
The entire second half of the article is devoted to that question.
For scanning it. It's a good point that something like lidar might be more socially acceptable.
I doubt very much it's too late. Tor can be statically compiled into the apps, and assuming Signal is centralized, they can just run their own onion service and otherwise communicate as though they were using TCP.
The main thing that struck me was quoting the "I cant use this in good conscience anymore" tweet he found. Maybe try and deal with this as adults instead of trying to go for some lowest common denominator twitter fight?

Trying to advocate not using an open source framework because of claims about the behavior of the company that released it is the worst offence here. If I use either pytorch lightning or fast ai, I will do so based on their technical merits alone. Trying to bring Twitter - cant separate the artist from his art - nonsense into it doesnt help anyone.
How did I not know that? How "prod" ready is Dokku if we just ran it on top of k8s?
Quest for Hollywood Fame Splits Redditors at Heart of Market Frenzy
I threw 2x4s into the back of mine not too long ago. My brother uses his to work on houses and maintain a golf course. His friend uses his truck to transport large equipment between several buildings he works in. That friend's parents use their pick up to pull their camper since they retired.

None of us would strike you as "workmen" upon first seeing us pull up, and none of us bought these vehicles as status symbols.
I don't believe this to be true - don't you need a light field for this to be possible? i.e. what magic leap was doing?
Hollywood to produce movie about WallStreetBets founder
it should be for all crimes
This is the problem with DR...

> While those distances may appear underwhelming, it is still an astonishing feat by Shepard

> The pressurised suits severely restricted movement, and due to their helmet's visors they struggled to even see their feet.

> I would challenge any club golfer to go to their local course and try to hit a six-iron, one-handed, with a one-quarter swing out of an unraked bunker.

> Then imagine being fully suited, helmeted and wearing thick gloves. Remember also that there was little gravity to pull the clubhead down toward the ball.

> The fact that Shepard even made contact and got the ball airborne is extremely impressive
> MTG believes that Nancy Pelosi should be murdered

Oh please. This sort of rhetoric, while distasteful, is such a common sort of exaggeration that there’s a Supreme Court case on it: https://www.mtsu.edu/first-amendment/article/707/watts-v-uni...

> Robert Watts, attended an anti-war rally at the Washington Monument.... Watts allegedly said: “I am not going. If they ever make me carry a rifle the first man I want to get in my sights is L.B.J.”

> The Court agreed with Watts’s counsel’s characterization of Watts’s speech as “a kind of very crude offensive method of stating a political opposition to the President” that did not qualify as a true threat.

The phrase “deserves a bullet to the head” or the like is a (juvenile and violent, but common) figure of speech. It’s invariably used figuratively not literally.
Python is great if you’re writing code to run on your own computer(s). But it’s terrible for packaging into executables to give to others (compared to Go), for embedding in applications (compared to Lua) and for running in the browser (compared to JS).

There’s no reason a new scripting language couldn’t excel in all three of those areas. But AFAIK none currently come close.
There are a lot of things python could do to be much better. Two examples, 1) dependency management in python is a train wreck compared to most modern languages. 2) the way package paths are done for imports is far more confusing than it should be.
What's wrong with having a robust stdlib? Are those extra 50 megabytes really a problem?
How are interpreters designed in Rust? What parts can be safe and what can't be?

What is the internal representation of a Python object? In particular how do you mutate a Python object while there may be other references to it - is it UnsafeCell, is there some checking?

How does the GC work? The GC needs to access and perhaps mutate all Python objects. In C++ a common technique is to make a linked list of scopes, stored in native stack frames; I'm not sure how that can be done in safe Rust.
> and watch their diet (often people let them get too fat and it takes awhile for cats to lose weight).

Given the crap that barely passes for industry pet "food" it's hard to keep an indoor animal slim (it's easier for dogs though since us can openers take them out for walks regularly). Pet foods are made to look and smell appealing primary to us can opener humans, not the pets. And dry foods are even worse for cats and dogs - they are used to stuff like grain as small part of the mice and other rodents they naturally eat, not as filler material.

PSA: Get your pets high quality food that is similar in composition to what they'd eat in nature and not highly processed crap. You don't diet on frozen pizza, burgers and full sugar soda all year, so please don't feed your pets the equivalent.
this is a false dichotomy - witness the numerous parallel lisps (and schemes, etc)
I teach adult learners; my own experience suggests that there are multiple issues.

First, is that in no other text form, does white-space change meaning such that the text becomes "unreadable" (sure your docs may be formatted a little weirdly, but hey someone can still read it). Simple python is close enough to prose that people get confused.

Second, is that they haven't learnt to grok compiler messages - the program either works or doesn't work. Coupled with number 1, it basically means they can't /see/ any issues or fix them.
Ask HN: How best to promote my webhosting side project?
I have created a web hosting platform for developers who do not wish to maintain their own infrastructure while hosting their website. This platform is very simple to use because you do not have to configure any servers. It is as simple as uploading your code and watching the website go live in a matter of minutes.

I believe my project is solving a real world problem, but still I have struggled for a year to get even a single user. How and where would you target any users for such a project?

So far I have tried posting in Reddit, HackerNews, Facebook, chat servers, etc. I have simplified my documentation, created videos for easier understanding, but still no one comes to my site, or wants to go through with hosting their own site. My primary audience are frontend/static website developers, node, or mongo developers.
The problem with Apple is that although they care about privacy, they don't deeply care about the addictiveness of their products.

30-50 years from now:

* in society, concerns about privacy will become fringe

* concern about addiction to computational worlds and deeply impaired cognition due to this addiction — initially via iPhones and ultimately by VR — will be the the true concern of the era, not unlike cigarettes
Ask HN seems to do a great job of reaching the community if there is something you’d like to discuss.
HoloLens is not able to render opaque objects. They always have some level of translucency, and the darker the colour of the object, the more translucent it is.
Votes go down and up and that's normal. You comment seemed skeptically dismissive, so it was downvoted. Once someone responded and you interacted in a way that showed your true interest, subsequent readers no longer perceived it as skeptical. As a result, your votes increased.
Not going to do a GH issue as it says this area is very much in flux but it looks like the bridge documentation is outdated.

Otherwise this worked really well and intuitively for a golang dev!
I came to the same realization and started putting all the text for the "reading version" in the presenters notes part. The first slide says "If you're reading this on your own, press 'p' for presenter mode" or whatever.
This is awesome. Can you think of any major downsides to an approach like the German system takes?
Your slave labor will all come work for my sandwich shop, because I give them better wages. Or if there's more good labor than can work for my sandwich shop, some will open their own sandwich shops, which will treat their employees worse than me but better than you, and you will go out of business.

What stops this from happening is usually land-use restrictions and regulation - if your employees can't rent storefronts, then they can't compete with you. When those have been relaxed, this is in fact what happens: all the folks dissatisfied with working for you start food trucks and you get a vibrant foodie scene.
Meh. I’m gonna go live in a container by the airport.
What's the resolution in terms of a screen? Like height by width in pixels? Sorry if that's obvious from your comment, coming at this with just basic consumer knowledge about displays.
Atkinson Dithering
Jami uses git and TLS to implement E2E encrypted chats.[1] That doesn't sound all that secure to me. I'd feel much more comfortable using a fork of Signal with an onion router.

I don't get the prejudice some have against blockchains either. It's not even like this is Keybase where they shoehorned a crypto wallet into the app. They do have a wallet but it's a totally separate application. Session is purely a messenger and nothing else, you'd have no idea a blockchain was involved at any part of the backend if you weren't told about it.

I have played around with Tox and it's a cool project, but it's been in beta since 2014 and is not well optimised for mobile at all. I don't think it'll go very far personally.

[1] https://jami.net/swarm-introducing-a-new-generation-of-group...
Right, but you and every other person has to go read the source, and the chain of that source, forever. When really that information could just be in a type hint and save everybody the time.
Latency is very important, but cost is even more important.
If there was cheaper lower latency DRAM they'd use it
If you're asking me if escaping a dead industry for a saturated one is good strategy then my answer is, well, yeah.
> If anyone in government really wants to have a notable legacy, here's how: petition the USDS to create an integrated open-source election system, and get people like Matt Blaze and Harri Hursti to run a red team against it.

Check out the nonprofit VotingWorks, which is far along in already doing this: https://github.com/votingworks
For example, their system has been used in Mississippi in real elections.
Probably should have gone with the wedge with that lie.
For me, Nextdoor is primarily people looking for lost pets, complaining about "suspicious" strangers, and making dubious crime reports. That's hardly a replacement for a local newspaper.
JavaScript has greater reach. ES6 in a modern browser with native modules, and if you avoid classes and this, focus on object literals and pure functions, and pick a decent utility library, its a very good environment with max reach.
Schools almost always have decent cases on the iPads, and the backs are metal, so there isnt any issue with that breaking. With a decent case, there is a pretty low chance of the screens cracking at all. We rolled them out in an elementary school and had zero issues with screens cracking or general durability of the actual iPad.

Also, there is almost no other option. If you think there is a competitor with similar usability, support, specs, and is the same price, you should let some school IT people know, because Im sure they'd appreciate it.

Also if kids are cutting themselves because they are throwing iPads at each other while fighting, you have serious other issues going on.
Scena 360 (https://scena360.com) supports E2EE.
eyes naturally jump and lock onto things. They don't just slide around between focal points. So... probably neither a problem with the artist or the program.

It's a hilarious thing to say: the fact is eyes are just really bad at drawing and not evolved for that purpose
Amazing story that hit home!

We live nearby the former Los Feliz location, and I personally loved going there. They had built out a classic Craftsman house into a very lovely location and I often thought, how could $6 a cup pay for all this? Must be VC money or something? Knew nothing about their history.

There were other signs. Looked into having a kids birthday party there and they wanted something like $650 for not much... oh well, park it is!

It's not true however the area has no foot traffic, it's a very walkable neighborhood. But yes, you're not gonna make back millions on ice cream. Gotta be realistic, considering the competition, which was a factor.

At some point we had three ice-cream shops on the same road, first forcing an older gelato shop out of business, and then Ample went too. Now the only one left is Jenni's, which is even more expense, a lot more pretentious and has had some drama also. Rite-aid (Thrifty) for $1.99 a bit farther away it is.

So, they closed the shop a few months before the pandemic and we were dumbfounded because it all happened so fast. Finally got an explanation, thanks.

Still love the beautiful house and believe it or not thought about opening a we-work type of place there, but the pandemic nixed those plans as well. Thankfully, while vacant it is still in surprisingly excellent shape considering the situation in much of the city.
It is obviously saliently true just via direct experience. Your eyes focus at different distances when looking at 3d objects in VR. You can feel it!

I am not a physicist by any means, and I am not sure what a "light field" exactly is in terms of engineering, but as a everyday skeptic I am generally rather wary of anything Magic Leap puts out.
On the device.
Do you know your company as well as you know your team?
Please no, the migration from python 2 to 3 was a disaster and we’re finally on the other side of it.
Possibly dumb question, but why do type hints for a leetcode problem?
I get that it is believe it when you see it, but 16K over USB-C is supposed to happen.
The reason why I created this project is that I miss sum types in C all the time, literally everywhere I need a custom error type or just any other alternative data representation. And I do think the implementation of datatype99 is straightforward -- only long names, all the dirty hacks are encapsulated into the underlying framework.
Dubai Creates 'Space Court' for Out-of-This-World Disputes
Stop Being a Generalist
Install a camera on the front of your house and if you see a dog shit on the street you grab the video and forward it to authorities.
I wonder if things like this would ever happen now. The original Mercury and Apollo astronauts were Air Force test pilots, a group known for picking and choosing which rules they wanted to follow. Sneaking a golf club aboard, not to mention the possibility of falling and tearing his suit, is a non-trivial risk.

It's hard to imagine that culture of risk taking still exists, but at the same time, that culture may be why they were able to get to the moon so quickly.
> Things can randomly work for a long time due to duck typing

It's basically like they work by accident. It's not documented what goes in or goes out, so someone throws some data into a function and if it doesn't break then consider it success. And any future person that has to make a change has to untangle that whole mess.
If you ask me, video games aren’t the future of VR. They’re fun but the most memorable experiences are social. VR FaceTime + shared experiences and spaces will take the cake.
the JVM is an incredibly heavyweight runtime compared to CPython. I don't think we're going to find the next beginner-friendly language coming out of the most professional runtime in human history.
Zip is just "pair each x with each y". Literally:

[1,2,3,4]
[5,6,7,8]
# go down each column, yielding these in order
[1,5]
[2,6]
[3,7]
[4,8]

And then you drop ones with no pair. So zipping [1] and [2,3] makes just [1,2]. The same is true if you reverse the arguments, so [1,2] and [3] => [1,3]

The example is sorta obtuse at a glance[1], but this: `zip(xs, xs[1:])` equates to this:

[1,2,3,4]
[2,3,4] # copy and drop the first element
# outputs columns
[1,2]
[2,3]
[3,4]

So it's a one-liner to make a list of of each consecutive pair of items in a list. All `zip(x, x[1:])` do the same thing regardless of the ultimate use of such a construct.

But yeah, I have seen some very confusing uses of zip before sitting and thinking for a bit. TBH I think much of it is just familiarity though - after seeing a million `for (i=0;i<thing.len();i++) { ... }` I can pattern-match and figure this out easily:

for (i=0, l=thing.len(); i<l-1; i++) {
list.push([thing[i], thing[i+1]])
}

(though `i<l-1` ease may depend on font) but similarly-common functional idioms just don't slide into position as easily. Yet.

[1]: I'm guessing it's the equivalent of finding the largest "gap" between a bunch of sizes of things.
There was a winning move:

When you want two dozen eggs, but you can only bring a single egg, choose ostrich. If each of the two dozen boys would like 3 normal eggs, they can share 3 ostrich eggs. Since each boy can bring one egg, 8 such meals are possible. For a weekend trip, everybody could subsist purely on eggs.
There's also the odd sensation you can get after extended VR use that your limbs arent really your limbs.
Going "above and beyond" is, by definition, unnecessary. The manager / business owner can set the standard of the level of service they expect and then ensure the staff provides it. That is their job, it is not the customer's job.

> and how are tips for a server different from an annual performance based bonus for a white collar worker?

Because the bonus is provided by the employer, not the customer. It's done by someone who is familiar with your work over the course of an entire year and who is much more aware of all the surrounding circumstances, not someone who met you for an hour or two while you were also doing 10 other things they knew nothing about.

It's also subject to all the same labor laws and regulations as a wage. A company can't say "we're not going to give bonuses to black employees" without getting sued out of existence. Any customer can decide they aren't going to tip based on whatever reason, valid or not, that they want. Or no reason at all.
Typescript is not clean because it has to accommodate every crazy thing people do in raw JavaScript.

Having said that, isn’t Deno close to what you’re looking for?
Oxygen, for instance, comes from supernovae too, so following this implied line of reasoning also would water. I don't think the question was about nucleosynthesis and certainly supernovae don't eject salts, they form much later after planetary differentiation.
At my workplace, we have a few blocks of time scattered around the schedule for teammates to just jump in and code with other people. No agenda, no one is required to join. But a few always do, because it's so pleasant.
The same is true of Signal in most practical ways. You can only run it on platforms that are fundamentally closed-source (either iOS or Google Play Services), so there's no reason to believe the RNGs it uses (and therefore all your session keys) are not backdoored. And you can only install it through official app stores where it's difficult or impossible to inspect what binary you have or "pin" a given version. So I don't see that it's meaningfully more secure than WhatsApp.
I somehow read it as per eye pricing and instantly went to "wow apple is getting really stingy these days".
There is a Typescript arrow library that can operate off the IPC format. As an example use case, take a look at the arquero data processing library from the University of Washington (from the same group that created D3). https://github.com/uwdata/arquero
In Germany, we have a curfew in place after 21:00 in the evening (with exceptions to go to work, visit doctors/veterinarians and other immediate needs). The goal was not to prevent people from going to bars since these are closed/take away for months now anyway, but rather to discourage people from visiting friends.