skysight-inc/HackerNews huggingface dataset:
Do yourself a favor and avoid tiny 6/7 inches e-readers, especially if you intend to read PDF papers.
Central Asia on the Front Lines
I remember implementing memcpy for a PS3 game. If you were doing a lot of copying (which we were for some streaming systems) it was hugely beneficial to add some explicit memory prefetching with a handful of compiler intrinsics. I think the PPC processor on that lacked out of order execution so you would stall a thread waiting for memory all too easily.
I think such an alien adversary would have been more than capable of wiping out humans long ago if they already had the capabilities to direct asteroids toward us. (And also travel the very vast distance to get to us.)

I could maybe believe it if they were throwing them for fun / to study how we react. Which might go in line with the theories that many "UFOlogists" espouse: that sightings are sporadic and rare because aliens are basically pranksters trolling us all. (For the record, I find this pretty contrived, and I believe the far more likely explanation is that there haven't ever been any visitations.)
The question conflates representation and presentation.

To be concrete, let's suppose we're talking about 5-digit, zero-padded numbers. Those are integers in the range [0, 99999]. Any database system will allow you to model this value and enforce the constraint in the DDL.

Storage is compact, the constraint is system-enforced, and querying works correctly, i.e., you get the right result whether your query bounds are zero-padded or not (with some assumptions about permitted literal syntax).

The zero-padding is only relevant for presentation, which should not be mixed up with the modeling in any case.

Also, this assumes fixed-length. If, for example, 5, 05, 005, 0005 and 00005 are all valid and different, then just use a string.
I mean, see the Trojan War. It's somewhat plausible that such a thing happened, but there probably wasn't a wooden horse, and no-one got turned into a pig. Things get embellished, and weaving in the mystical was pretty standard.
I used to do the same, typing in either Applebasic code and/or 6502 assembly for some program I found in another Apple-centric magazine called Nibble (great covers, BTW). It never worked the first time so I had to go line-by-line to try and find the errors. I'd finally get it working, play with it a bit, and then forget about it.

Great times!
Completely agree with you that agriculture is not required to form non-permanent settlements that didn't last tens of thousands of years.
$100k giveaway from a music NFT marketplace
How your "Fuck This!" Moment Changes Everything
Locally, docker compose will spin up N mysql instances and relevant services under test. Makefiles or bin scripts init things and run tests. Some teams have seed scripts or a snapshot of some sql state they want. When you run local integration tests, data is cleared/reset.

We use buildkite for CI/CD. It runs the same docker compose stuff as we do locally. It runs unit and acceptance tests. If green, it will auto deploy to our k8s staging cluster (though it worked similar when it deployed to vms). If staging is green, it can auto promote to a canary node in prod, and, depending on team set up, w ill auto roll out or allow manual gating for any additional QA. Version numbers are auto bumped by some internal tooling tied into the build system.

When we push to stage, the staging env has db instances but they are usually 1-2 nodes where in prod we will have more (3-30 nodes or more depending on the service). In staging, we run a suit of tests that exercise the end user experience. We also regularly run a slimmed down version of those tests in prod.

When it comes to unit tests, most of our teams do not mock the db. We use Go, and we will test by using test fakes - a struct that matches an interface is created in the test file and passed around. These tests validate error handling, log generation, sometimes metric generation, and, lastly, the happy path.

TL;DR - docker compose and scripts.
I call it their Metallica logo. It was short-lived but I like it way better then the teeth one that came after
> ...food for thought.

Is it though? Isn't food for thought something you're supposed to think about? I'm not going to spend much time pondering a petulant alien overlord scenario, especially considering that humanity would probably qualify for a rock or two from such a being as of late and none have been forthcoming.
No - but I've seen enough people begin that way.
I can appreciate your desire for images, but I like the lack of images!

I like the idea of text-only, for the same reason I like retro games: you can't hide your lack of real content with flashy presentation.

I think if people look at tech like this as the 'next web' they won't get it, but I think of it as something completely different: using gemini is more akin to reading a book to the current web being more like watching television.

I can like television while also reading books.
And to beat the metaphor to death, most of my favorite books do not have pictures.

I would love to see a world where a vast trove of writing was available in a constrained environment like this.
I strongly believe Blazor is going to rule that market in couple of years. Single language C# will be good enough to do both backend and frontend.
From what I understand, LLVM-MOS treats large parts of the zero page as virtual ("imaginary") registers, so you have no shortage of that (https://llvm-mos.org/wiki/Imaginary_registers). Then, sufficiently advanced compiler technology improves the stack situation (https://llvm-mos.org/wiki/C_calling_convention).
I hope someone reimplements tumblr as an open platform at some point. They got a lot right from a UX perspective.
They actually address some of that on their project page, see: https://llvm-mos.org/wiki/Findings
> It sucks to be connected to thousands of people on social media but still feel so lonely. Having been personally affected by loneliness and mental health, we wanted to build tools to boost mental wellness that are less intense than therapy/medication.

I'm struggling to see how to bootstrap this. Like if one guy in a groups says "hey let's use this new app to become better friends" and the others are just fine with the status quo, won't it be very awkward?

And if the group has decided "hey let's do this to become better friends", do they really need this over a discord, hike or some other activity?

I found it was enough to just talk to people... but I guess my experience is not universal.

Personally I'd find it very awkward to use such an app, it would feel very forced and artificial, but if it helps someone then I say awesome!
I remember being in high school, reading K&R and trying to figure out how I could get a C compiler running on an Apple ][. Never did, but it was a useful intellectual enterprise.

My second (and last) assembly language after 6502 was 370 which replaces the "awkward immovable stack" of the 6502 with no hardware stack at all. Applications are completely responsible for maintaining their own call stack.
In fact the Cell CPU [1] had a DMA facility accessible from the SPU cores by non-privileged software [2]. This worked cleanly, as all DMA operations were subject to normal virtual memory paging rules.

But then the SPU did not have direct RAM access (only 256 kB of local S-RAM addressible from the CPU instructions), so DMA was something that followed naturally from the general design. Also not having any cache meant there were none of the usual cache coherency problems (though you may run into coherency problems during concurrent DMA to shared memory from multiple SPUs).

[edit] note also that the SPUs did not usually do any multitasking / multi-threading, which also simplified handling of DMA. Otherwise task switches would have to capture and restore the whole DMA unit's state (and also potentially all 256 kB of local storage as these cannot be paged).

[1] https://en.wikipedia.org/wiki/Cell_(microprocessor)

[2] https://arcb.csc.ncsu.edu/~mueller/cluster/ps3/SDK3.0/docs/a...
my ISP has supported IPv6 for some time. The provided router out of the box doesn't do much but if you put it in passthrough mode, you can do anything IPv6 related.

After screwing with this for a few weeks, all I had was weird networking problems. v6 and v4 don't coexist nicely, especially naming, and if you want to talk to a v4 web server and only have a v6, well... you need a proxy.
It works great, I've already seen a couple of things I fancy reading now.

I am amazed that the app can find any relevant comments mentioning "It" by Steven King, for example. That seems like magic. A few IT and It's are in there too, but still impressive.

I was intrigued to see "Twilight" quite high on the list of fiction, doesn't seem like something the HN demographic would read. Turns out most comments were about the board game / video game Twilight Struggle, or Zelda Twilight Princess, and those comments mentioning the book were not doing so in a particularly positive way.

"One Hundred Years Of Solitude" is often commented as "100 Years Of Solitude" so the system can miss a few comments there.

For an improvement, it'd be handy if the comments that mention other books had a way to link you to that book, so you could see other comments. For example, if you click Dune, and see someone saying "yeah, I liked Dune, and also x, y and z", then those other books should be clickable too, so you could see what other people say about them. Seems like the information could already be there in the database as a list-like comment could potentially appear in many book recommendations, but who knows.
Foone is a they.
Was it "BASIC COMPUTER GAMES" from Creative Computing? I loved that book! (Probably not, from your description, but it was very big and very yellow and had a lot of games you could type in.)

https://www.goodreads.com/en/book/show/624341.Basic_Computer...

https://ia902805.us.archive.org/1/items/basic-computer-games...
We'll collect all the data we want from you, but you collecting any data from us? Unthinkable!
> For a better analogy, consider a local company that provides nice restrooms available for public use for "white people only". Along comes a piece of legislation that says you cannot discriminate on the basis of skin color. To remain compliant, the company has two options

This is a horrible analogy, and you could have done much more here to discuss in good faith. This is hacker news, open your mind and do better.
6502 assembly has the distinct advantage of having special page-0 instructions for reading/writing from memory, including, if I recall correctly, the ability to take a 2-byte sequence and treat it as a 16-bit value (or was that in the AppleSoft ROM?)
> implement a text editor using Draft.js

on'tD do this.
15 years ago a foreigner couldn't even get a hotel room in Thailand without handing over passport information for each guest. I can't imagine it's changed much since then. If the Thai police want to track you down it wouldn't be very hard.
I have a better idea. Millenials should get 1-3 babies (median 2) because then mostly people mankind needs (sustainability aware people) get the babies, and teach them good ethics. Instead science deniers should not be convinced to vaccinate, so they and their surroundings die out mid term when corvid or the next pandemic reaches them.
This has been ruining my reading experience on the web for years. I remember fondly an old Opera version (10-15 years ago) that would briefly display a dotted line on page up/down to mark the boundary between pages. It was such an amazingly useful little addition. I don't recall whether it was built-in or an extension, I just remember the disappointment when I couldn't use it any more (either they disabled or it was the time I switched to Firefox).
aka the news
In fairness, the odds of an asteroid hitting so close to a major city is so small, that an intentional alien attack should not be entirely ruled out.

A berserker in far solar orbit could conceivably stunt human development every couple thousand years with an asteroid, while a more effective extermination ship is being dispatched.
Welcome to office politics. Where the metrics are what matter, and getting done what you set out to do takes the back seat.
These hotkeys in websites are an utter curse. So many times I've started typing in Jira, then something weird happened that caused my keystrokes to be interpreted by the page instead of entered into a comment box ... then the ticket gets reopened, unassigned, etc.
Did you look at how this is actually achieved?

Attackers (even if they control several major outfits like say Microsoft) are not going to succeed in a correlation attack. Roughly what they're doing is like trying to guess the AES keys.

This is in stark contrast to passwords of course, where correlation is so high that haveibeenpwned is worth existing...
Luck is also part of the equation, perhaps more than people want to acknowledge.

To take Hacker News as an example, there are many excellent projects posted in the 'Show HN' section that get no traction at all. And then there a few lucky ones that suddenly take-off. There's no "wisdom of the crowds" moment that propels one project to success over another because it's more worthy or excellent - it really is random in so many cases.

We think success = product excellence: how else could a product rise to a leading position in the market or to such pre-eminence unless it was better than the alternatives? But the mountain of successful products ranging from mediocre to terrible quality shows that product excellence isn't always the key ingredient to a product's success.

Lest this all sounds too negative, I would never discourage anyone to pursue their product idea. But when it comes to promoting a product, developers should be cautious about relying on just one source for promoting their product (Hacker News, Product Hunt etc).
There's a reason why I call it "Fumblr". I've never experienced a hotkey conflict like this yet, but it's just so full of UI fails that the experience of posting something is rough and cumbersome, even before you get to the comically catastrophic fails like this.
Naval + Jeff: Spearhead’s ethos is founders backing founders
I'm one of the monsters that prefers 2 space tabs for my small monitor, 2 files side by side.

Like you said and other comments, no newline opening braces, don't mix tab and space for OCD trailing comment and argument alignment.

On the other hand, I don't code for 20 hours straight because I need to do laundry and dishes and family stuff.
Yes, looks like they added a few bits to the PSR register to capture the internal state of LDM/STM . Like a small version of x86's CS register.
> my dream would be for Python to actually enforce type annotations at runtime when they exist

Does any mainstream language do this? For sure most don't, even statically-typed ones. I'm all for enforcement of types, but why does it need to happen at runtime?
This suggests it's even cheaper than gas now:

https://www.spglobal.com/platts/en/market-insights/latest-ne...

And gas is a lot cheaper than nuclear.

Theres a new battery backed solar plant in california that can service the early evening peak times with cheaper electricity than coal.

Battery prices have been plummeting consistently for the last three years.
The safety profile of nuclear is difficult to assess in face of changing climate patterns. In general long-tail events are hard to evaluate. Think Fukushima.
Unlikely. The one that hit a couple years ago in Russia was not detected at all because it came from the solar side.
What makes you think people who take a job driving are incapable of understanding things as well as you?
You can treat 2 bytes (not just in the zero page, though) as indirect jump addresses, yes.

Doing something like "JMP ($2345)" will jump to whatever $2345/$2346 is pointing to.
كلمات اغنية انتي ومعي احمد بوبكي
>it can be really easy to lose touch

I use a simple question to determine whether I've "lost touch" with someone or not: do I have a regular or semi-regular urge to talk to that person?

I find the answer is often no. Lots of folks gain and lose friends unexpectedly over time. It's ok! It's natural. It feels (to me) unnatural to feel unhappy about not communicating regularly with a friend: that person is just not as close of a friend anymore.
Yeah, I think striking the difficult balance of firmly and clearly asserting your rights but also seeming to be a reasonable, sane person who's really on the cops' side--all in the heat of a stressful moment--is the key.

"I appreciate your work officer, but I'm going to have to decline to consent to a search."?
Everyone doesn't agree that this is bad for readability, and the status quo is the status quo for a reason.
> But the Nix way (how alien and complicated) is the theoretical sound way of handling dependencies.

The approach may be sound, but the implementation and the user experience is atrocious, and can be quite easily[1] improved.

[1] Easily as in: there have been multiple suggestions on what should be done to improve experience, but nix's codebase may not be conductive to that https://github.com/NixOS/nixpkgs/issues/93327#issuecomment-7... and nix contributors don't even see this as an issue https://github.com/NixOS/nixpkgs/issues/93327#issuecomment-6...
Ramblings. Nothing but conspiracy dressed up as something smart and long.
I thought it was something in Russian (:
The Kobo reader is fantastic for writing amateur fiction, or at least for self-editing it, because amateurs can only pay one or two editors instead of the small army that "professional" books require.

You could head to the free section of Smashwords.com to get some free ebooks, but I know there are quite a few platforms. Also tons of people are always asking for beta readers in goodreads (check the forum section), there you have a chance to get close and personal with the authors while doing a great service to the community.
Amazon announces new Kindle Paperwhite lineup with 6.8-inch screens, USB-C
I have a copy of that issue and what stands out about it is the indifference that the regular contributors show to Logo.

Steve Ciarcia for instance, has an article about a graphics controller from Texas Instruments which has way too many sprites for logo (just need one for the turtle.) He codes with a soldering iron, struggles with assembly language, probably doesn't know BASIC and could care less about Logo.
We first tried to post replies with corrected information, but it didn't seem to help. The tweet has now been deleted and a correction tweet has been posted instead.
The difference is that in Typescript, this works on any structurally matching object that you may get e.g. through JSON.
Seems like an excellent counterintelligence opportunity. "Handing us an obvious trap we can flip around and use to deceive you / see what information you're looking for? Thanks."

Though I imagine UAE intelligence would also probably be accounting for that possibility, given it seems like such a natural thing to do in that scenario. Or maybe I'm overestimating both sides, depending on who's receiving the gift.
An example loop:

elif cmd.op == 'TUPLE':
arity, = cmd.args
tuple_args = []
for _ in range(arity):
tuple_args.append(self.data_stack.pop())
result = '{' + ', '.join(map(str, tuple_args)) + '}'
self.data_stack.append(result)

Is following use of comprehension any better? I don't think so:

elif cmd.op == 'TUPLE':
arity, = cmd.args
tuple_args = [str(arg) for arg in reversed(self.data_stack[-arity:])]
self.data_stack = self.data_stack[:-arity]
result = '{' + ', '.join(map(str, tuple_args)) + '}'
self.data_stack.append(result)

Any other suggestions for improvement?
I will check in with our githubcustomers group to help accelerate. I can also directly inform our engineering team if you're open to sending me your information at

thejoebourneidentity@github.com

Either way, we're looking into this issue and I'll post an update here once we've learned more.
> combining chat and email

Oh it's one of those contact forms disguised as chat systems? Those are such a pain, website offering oh to talk to someone and then "responds in 49 minutes on average, you will be notified via email".

But then GGP mentioned a screen share, does that work via a third party then?
Go's over ten years in, though, and the first really significant overhaul is still about six months out. It breaks that cycle.

More on topic, I do sort of feel like maybe the Python team should have made a Newthon (with a better name) or something, because Python is becoming a shambling beast. Starting as one of the world's most dynamic OO language and then shambling towards being a static language, maybe a bit of a functional language, it's crazy.

I often joke about "Katamari Dama-C++!", which has the irresistible phonetic allusion, but damn if Python isn't trying to keep up at this point.

If you don't like Python for some task... use something else suited for your task, then. It's not like using something else means you must put Python down and never use it again on pain of being shot or something. Stop waiting for Python to mutate into O'Caml or something and just use O'Caml or whatever.
Interestingly, I've chased down an issue before where a company was pulling back from realizing it's primary goal... Because it resulted in too many angry support calls from people who didn't understand the problem space fully.

Bit of an eye opener that.
Yeah. The author is on the board of a climate change skepticism think tank.
(In the US) passport info is not typically used for KBA, none of the common providers do it.
1. There are proper processes, it's just that they're under-used and the bar for removal is too high. I agree we should be actively filtering out bad apples much more than we are. I think we should raise the bar in general--cops, like schoolteachers, are really important to our societies and therefore they should have higher status and pay, commensurate with education, than they do.

2. This is a huge problem, you're right. We should maybe have a process for reviewing laws that have been on the books for a while. Maybe an automatic sunset: Every new law has a 7-year sunset provision. In 7 years after being passed, it automatically goes away UNLESS the legislature actively does something to renew it. Also drugs, of course--end the war on drugs.
How about a light, a beep, and an RF broadcast? When the camera is on, the LED on the glasses lights, the glasses beep, your phone beeps, and the glasses send an RF broadcast to all nearby phones so those phones beep. In fact, the nearby phones could reply with a message that says "do not record" preventing the glasses from recording. Everyone within range would have to approve the recording. If someone new moves into range their approval is also needed, so the glasses must continually send "can I record?" queries to surrounding devices. Anyone who does not want to be recorded can get a cheap RF badge that replies to all "can I record?" messages with "No". The RF could be range limited so that people far away do not get a vote. Maybe the RF range would have to vary depending on whether the glasses camera is zoomed in or not. All cameras could have this approval system making approval/disapproval automatic. The same could be done for audio recording.

"Virtual Walls: Protecting Digital Privacy
in Pervasive Environments"

https://homes.luddy.indiana.edu/kapadia/papers/walls_pervasi...
Hey all, as someone ignorant to this whole SSR/Next.js stuff: I understand that Next.js is particularly popular for creating landing pages that require strong SEO. What I don't understand is, in what way is it better than say, using something like HUGO or Jekyll? If you require some dynamic content, wouldn't it be easier (and faster to build) to use a SSG and ship the JS along with all the other static assets? What am I missing here? Thanks.
yeah, and bonus points if then you then spend 10 minutes trying to figure out what happened, and how to undo it