skysight-inc/HackerNews huggingface dataset:
> vector-like data type for different types

When using C, if you want something from a higher-level language, usually you'd just do what that language's runtime does internally. So for a vector of heterogeneous objects, you could do a linked-list of pointers to the data objects. Something like:

struct VecItm { struct VecItm next; void *data; size_t data_len; char objTypeId; };

Is it more work? Yes. But at this point I would stop and consider if I really need a heterogeneous collection. Do we really need to store a list of objects with arbitrary sizes? What if we have 3 types of objects, in 3 arrays, and we store index into those arrays?

struct Foo { unsigned byte x; };
struct Bar { unsigned word x; };
struct Baz { unsigned long x; };

struct Foo foos[256];
struct Bar bars[256];
struct Baz bazzes[256];

// objTypeId: 0 = foo, 1 = bar, 2 = baz
struct VecItm { struct VecItm next; unsigned int idx; char objTypeId; };

Or what if we can do something even better? What if Foo, Bar, and Baz all have a max size that isn't too wildly different? Can we store them all in an array directly?

// objTypeId: 0 = foo (x contains 8 bits), 1 = bar (x contains 16 bits), 2 = baz (x contains 32 bits)
struct VecItm { unsigned long x; char objTypeId; };
struct VecItm vecItms[256];

> Its “macro” system is just a disgusting hack

It's really not that bad. It can result in spaghetti-code where your macros are using other macros and they're spread all over a header file. But if you use them surgically, only when needed, they don't cause much trouble.

> I could just as well write a sed script

The benefit of C macros over sed is if you use some language-aware tooling like an IDE (such as CLion), it will syntax-check and type-check your macros.
In 2020, when COVID-19 was rampant and nobody had a clue what to do about it, it was not an uncommon thing, unfortunately, to have to drive 70 km or more to a case of a heart attack, and then take a mad ride from one hospital to another to find one that would pretty fucking please with sugar on top admit a patient whose life is threatened. All the while stabilizing the poor patient. It could have easily taken hours and many hundreds of kilometers.

This is a true story told me by an EMT.

An EV would in such circumstances have been dead halway between one hospital and another, having to power both its engine and medical equipment (though I suspect those have backup batteries too).
On and off, I've spent several decades on the Super Dimensional Fortress [0] and have never encountered anything remotely like it...

[0] https://en.wikipedia.org/wiki/SDF_Public_Access_Unix_System
Ask HN: How much would you need to be paid today to be on-call 24/7 forever
How much would you need to be paid today to be on-call 24/7 forever, no retirement, no exceptions or downtime no matter what else you may be doing at that time?
s/bearning/bearing/
> If not NSO, then someone else.

There's a big difference between an underground group doing it in semi-secrecy, vs a state-sponsored company doing it publicly. With said company somehow not being sued into the ground or said country's action not being taken as an act of war in situations like this.

> I’d prefer if they started selling Pegasus to absolutely anyone at all

The high value of what they offer comes from the scarcity, which result in lower likelihood of it being patched.
What counts as 'reading books'? Textbooks? Self help guides? Tourist guides? Comics? The protocols of the Elders of Zion? It's not all Dostoyevsky and Kant.

My hinge: you just divided your friends arbitrarily into 'blue-pilled' and 'red-pilled' and used some metric (probably observed with errors) to make one group look better.
> What incentive does Florida have to lie here?

What incentive do they have to not provide details about what textbooks rejected? It would be embarrassing if they were actually transparent.
In your situation, it's going to at first being all about discipline and sticking to a schedule. It helps if you have others in your life that you are beholden to, i.e. there are personal commitments that you must sacrifice for. Which, incidentally, makes you a better, more outwardly focused individual.
“Isotropic” means that something is the same in all directions, and “anisotropic” means that it _isn’t_ the same in all directions. In this case, the tape conducts electricity between its top and bottom surfaces, but not along its length.
> I suppose I could carry a small luggage scale, but they are hardly accurate.

I have a cheap one that's basically an LCD display in a handle with a loop you put on the real handle, and then lift the bag up. It has always seemed plenty good enough, and I've never been accidentally over the limit at the check-in counter.
This stuff is rad. I took a class on hardware implants with Joe Fitz a couple years back—on the heels of that wholly unsubstantiated Bloomberg article about China embedding rice grain-sized hardware implants into Supermicro motherboards that magically found their way only to select F100s and gov’t agencies—where we made a PCB to interface an ATtiny85 to an unpopulated UART header on some IoT device but instead of soldering it down we just taped it with this.

(The UART provided a root shell and enough power to “boot” the ATtiny which simply waited a few seconds and then ran some commands to initiate a reverse shell to a server under our control every time the device was powered on. Thanks to this tape and the device’s tool-less case (and convenient unpopulated header with space around it), it was enlightening how trivially easy it’d be to develop and deploy such an implant to an operating device (with the caveat that I wouldn’t consider the connection robust enough to survive transport).

It’s also useful to connect SMD EEPROMs to unpopulated/desoldered pads for testing without installing a socket.
I wish we used the covid vaccine system to finally push for it one of the best chances we've had in a while
Not everyone is looking to make a living via YouTube.
My co-op here in Indiana just deployed fiber. For $124 a month I get a gig down and up behind CGNAT.
Yeah, cars behind you is another thing. Especially if it's a pickup truck with the beams high up at level with a sedan's mirrors.
Aww, thanks, ludamad! :)
I know quite a few people who have additional information or don't regurgitate mainstream narratives. You're still unlikely to have a conversation about most issues with them since they tend not to enjoy discussing their views knowing that most potential conversations will just be the narratives they already heard.
You could (in theory) put the tape over a circuit board and place components on tape and the circuit would function. It would not short circuit because it only conducts on the z-axis (up and down) not between things on the surface.
Did you just call for a Joint Strike Fighter/F-35 of data bus standards?
If you follow the link, it says Americans spend that amount of time daily with "major media", and no mention of news only. So that would presumably include reading/watching fiction, listening to music etc.?

> included are digital (online on desktop and laptop computers, mobile nonvoice and other connected devices), TV, radio, print (offline reading only), newspapers, magazines, radio, and television

Pretty big blunder in an article about media trustworthiness if you ask me.
In my case, Turbotax did a better job helping me figure out my taxes this year.

I tried freetaxusa but there were a few things that turbotax provided clearer guidance on. There was one particular issue where I was quite stumped with Freetaxusa, but Turbotax explained it.

I believe Turbotax also found one or two things that freetaxusa didn't point me towards. But it was all kind of a haze at this point so I might be misremembering.

I don't want TurboTax to be better, but for me it was better this year. I really hate their lobbying. I'll give try more options next year.
The more you investigate industries the more solutions you find that were obviously designed by five year old boys.

I'll just use a CHAINSAW on a HELICOPTER!
how are you gonna stay awake 24/7??
"I've seen the same thing. Apparently 33% of people haven't read a book since high school and 42% haven't read a book since college. It's shocking statistics."

I'm inclined to agree. Do you happen to have a source though?
Great! Checking them out.
In broadcast television maybe. But most of the larger markets were served by multiple competing daily papers. Those have largely disappeared or are under common ownership and limping along as branded outlets of a few conglomerates.
Hah :) the first mistake you are making is to assume that all satelites are optical. :)
Apple staff make bid for first union at a US store
You say all this about the UK's constitution but it is not codified anywhere. Is it based on precedence, custom or generally accepted principle that it will happen this way if things do come to a crisis.

It all seems to be asserted resting on....on an uncodified constitution.
I don't think that's an actual word. Perhaps a mistranslation?

https://yandex.ru/search/?text=%22%D0%BA%D0%BE%D1%81%D0%BC%D...
I think your experience was vastly different to the rest of the worlds [1][2][3]

[1] https://m.signalvnoise.com/the-macbook-keyboard-fiasco-is-su...

[2] https://www.theverge.com/2020/5/4/21246223/macbook-keyboard-...

[3] https://daringfireball.net/linked/2019/03/27/strn-kyboard

[4] https://www.businessinsider.com/macbook-butterfly-keyboard-c...
> Hacker Dojo turned into something like WeWork, then had a staffer ripoff problem

What happened with the staffer?

+1 to the other points. It's quite an interesting challenge trying to find product-market fit for a capital-strapped hackerspace in an expensive city these days.
We need autonomous vehicles based on open/public software. That’s the only way.
Don't forget apple and amazon. People always forget about amazon and their media offerings tied to Prime membership.

But I agree, tech monopolies are just as worrying as the media monopolies. I'd imagine the next period of consolidation will be tech + media. With the amount of cash tech companies have lying around and the market cap differential between tech and media, these media conglomerates would be absorbed without a sweat.
The trick to not having crooked picture frames on Linux is to throw out components that refuse to be straightened (and you'll run into many of these, especially if you're on a distro pushing snap on you.)

If you pull out everything complex and thoroughly understand what's left you won't run into the "idk just reset the whole OS" situation.

Something Windows/OSX users coming to Linux might not realize is that almost nothing in the userspace is actually necessary because the kernel does almost everything. Especially if you don't want graphics but even if you consider those components necisary then all you need are: The kernel (one file plus some modules), a device manager (the thing that creates nodes in /dev when you plug stuff in, if you use kdrive you don't even need this), a display manager (Xorg, kdrive or Wayland) and some kind of shell and VTE (bash and Xterm for example.)

Literally everything else can be thrown out if you don't want to deal with it. Don't like configuring systemd? I've used just script in the past at /linuxrc. Don't like what Gnome is doing or maybe it's crashing on you? Get rid of it, for the most part it's just aesthetic and the functionality can be replaced by eg fluxbox and PCFMan (and maybe wpa_gui if you like using a GUI to configure your wireless card.) Did the package manager get confused? You can actually get away with removing the database and starting over (although this will replace all the binaries it previously installed and potentially overwrite configs.) Don't be afraid to nuke things.
Anisotropic -> not equal in all directions (isotropic would be equal in all directions). In this case, the tape is insulating in the X and Y direction (directions parallel to the adhesive "plane") but conductive in the Z direction (perpendicular to the adhesive "plane"). I put plane in quotes because the tape need not be applied to a flat surface.
Sure, but they are also the arbiter of truth now.

FB tried to be purely a platform but society has asked them to "annotate" fake news or propaganda. So FB is now playing an editorial role.

However we got here, it's not a great place to be in. We have massive networks that we cannot escape which are actively firewalling information.
An idea by itself is generally worth jack shit in most lines of business. People have actually game-changing ideas all the time that go nowhere because a team wasn't/couldn't be allocated to develop that idea to the point where it matters. I've seen plenty of very promising electrical and mechanical designs that might have seriously affected their market segment go to the graveyard because of lack of resources to develop that design. Somebody writing software might have a decent chance of single-handedly creating something that makes some noise in the field, but most people in science and technology couldn't come close even if they dedicated their life to it.

You might be right in the strictest sense that an idea comes from one person, but it's a largely worthless observation, because the idea gets you absolutely nothing without the work.
Either you have interrupts to interrupt them, you have more cores than threads, or you risk starvation. Simple.
Agree. The problem is the producers have been allowed to vertically align a distribution channel (Disney+, Paramount+, HBOMax, etc.), so it's not clearly distinguished. Google and Facebook are distributors of content, and the distributors control what people see.
Elon Musk and Understanding the “Poison Pill” (YouTube, 2022)
That’s 100% what happened to political offenders in the USSR even after GULAG officially closed. Theses scientists may have gotten article 58, but I didn’t dig that deeply. There is no US parallel.
I have both Windows and macOS, macOS just has too many idiosyncracies and babies you into not allowing you to run whatever apps you want. Frequently I'll get stuff like, this app was not updated by the creator so you can't run it. At least with Windows I can turn off such annoyances.
There's two sources of bias in this pipeline:

There's the production end, which this article covers. Then there's the distribution end, which is where tech companies come in. Both are problematic in different ways.
Luckily, I have a print-related disability. So...

* I get access to 1,100,295 DRM-free books in several formats (including Word, EPUB, computer-narrated audio) via Bookshare.org [~$50/year]

* I get access to 40,000+ professionally narrated books via the National Library Service through the Library of Congress in the US [Free]

* I get access to 80,000+ volunteer narrated books via LearningAlly.org (formerly Recordings for the Blind and Dyslexic) [$135/year]

* I get access to hundreds of magazines and newspapers, including breaking news services, via the National Federation for the Blind NewsLine [Free]

* I get reciprocity with other countries' libraries for the print-disabled around the world, which is useful as I am learning new languages. [Usually Free]

This is nice because I also never have a need to go to websites that serve ads to me. Of course it's called uBlock Origin and using ProtonVPN with Anti-tracking + Ad-blocking features plus such as a Pi-Hole...but still...I have it good.

More info on print-related disabilities: https://en.wikipedia.org/wiki/Print_disability

The best way to get access to all of these services is to get your doctor to sign the National Library Service application form: https://www.loc.gov/nls/enrollment-equipment/apply-for-nls-s...
is it? if people really cared they would put more money towards it than intuit could
Right, but they are ultimately choosing from primarily those producers. Independent creators are a drop in the ocean.
Generally a lot of voting security experts advocate for paper ballots with electronic counting. It is very robust, efficient, has great fallback, and lots of systems available to keep secure.
Got to be because of the lockdown in China which probably makes it difficult to either to build the device or to get it transported
Usually corporate culture reasons prevent a business like that from just taking your money. They don't want to undercut their giant custom contracts and don't know how to handle customer support for cheaper people.

And I can imagine the cheaper customers are a lot less educated and don't have the right expectations, like how often their target area is covered in clouds.
Also worth seeing:

- Design Patterns 2.0: https://www.noisebridge.net/wiki/Hackerspace_Design_Patterns...

- Mitch Altman's talk on the above: https://av.tib.eu/media/38105
The article makes it pretty clear that they think this is a hardware problem.
Imagine a tiled surface, where the tiles are conductive but the grout is not. So you have islands of conductive material which don't connect to each other. If you shrink that very small, and make it flexible and sticky, it's useful:

Suppose you have a glass LCD panel, like the kind used in clocks and watches. The traces are indium-tin-oxide (ITO), on the glass. This is fiendishly difficult to connect to, it doesn't take solder well, etc. And you want to connect it to some flexible ribbon cable which will carry the signals to the control board. But how to do that?

With Z-tape! By laying a strip of the tape over the ITO traces on the glass, and then smushing the flexible cable to it, the conductive spots in the tape now connect the cable traces to the ITO traces, without shorting them to each other.
This is inappropriate for HN, these reddit style questions should IMO be on reddit
> Americans in particular don't really have a mental category like "road for bikes". I see it all the time...if it's for bikes, then that means it's really for pedestrians too, right? For kids learning to bike? For prams?

I'll cop to the claim being so broad that it includes the extremely, extremely low end of skill ("unable to reliably operate a bicycle"), which is a level where most people do not stay for long, especially in places where cycling is common for everyday tasks.

I can't think of a pithy way to rephrase the original claim, so I will nuance it instead, that any cyclist who has mastered the basics of a bicycle should feel free to continue their learning in public places.

After acquiring a basic ability to stay balanced, pedal, turn and brake, learning how to cycle and conquering the anxieties people have around negotiating their environments on a bicycle is trial-by-fire with (hopefully progressively) larger fires. This is even true for a lot of people learning to drive: many people in car-dependent suburbia figure out how to operate the steering wheel, pedals, and gears in a deserted parking lot somewhere, and then have to spend time on an actual road with cars to figure out how to interact intelligently with traffic. If learners weren't supposed to interact with traffic before they knew confidently how to interact with traffic, they'd be caught in a chicken-egg problem since it's fundamentally a trial and error process.

Ultimately cycling is by its nature much more forgiving to people who are still figuring it out since the probability of an accident is much lower, as is its expected severity. It's much easier for competent cyclists to identify people who are clumsy or slow in a timely manner, and navigate around them.
It means in theory they are letting people apply without an idea/company. YC tried this years ago, I believe they found it wasn't effective.

It's basically the "fund the team not the idea".
As of a week ago AT&T spun all of that into Warner Discovery.
I had the same reaction. There's no way this is actually worse than before.
This is Mac OS, not macOS.
> because corporations have physically taken away control from us.

The solution of ground-up awareness and education I am suggesting
involves making sure people understand they must take that back. The
tag-line for the final chapter of my book is "Taking back tech" [1]

> You have no control over software....

Well, actually you do, but it is insufficient, and moreover others
have control over it which they should not. Legislation can fix this,
but legislation requires an educated user base first. Many folks don't
know how they are being abused, or even that they are being abused.
This is the project of a new digital literacy.

Digital literacy 1.0 was about "the amazing things computers can do"
Digital literacy 2.0 is about "the dangerous things computers
shouldn't do"

> So since they took away control, they should be held financially
accountable

I don't think money is a factor in this. The questions revolve around
fundamental rights, responsibilities, ownership and control, One
cannot buy or sell such obligations.

[1] https://digitalvegan.net
I'm guessing the bots are hitting the search page because it contains the most amount of information per hit, and that the caching problems are exactly due to these dynamically generated prices or other such nonsense. After all, the fundamental goal of scraping is to straightforwardly enumerate the entire dataset.

The scale of the botnet sounds like an awfully determined and entrenched adversary, likely arising because this company has been frustrating the market for quite some time. A good faith API wouldn't make the bots change behavior tomorrow, but they certainly would if there were breaking page format changes containing a comment linking to the API.
It is _exactly_ what the commenter said they thought would add competition, fixing the free market in their mind. Im not reaching or twisting words, it is what they explicitly stated.
They've been divided into those with ampliative knowledge and those lacking it.
>Reading is merely a surrogate for thinking for yourself; it means letting someone else direct your thoughts. Many books, moreover, serve merely to show how many ways there are of being wrong, and how far astray you yourself would go if you followed their guidance. You should read only when your own thoughts dry up, which will of course happen frequently enough even to the best heads; but to banish your own thoughts so as to take up a book is a sin against the holy ghost; it is like deserting untrammeled nature to look at a herbarium or engravings of landscapes.
The author is a dev who publishes multiple high-end storage applications. I'm not sure why you though questioning his judgement over something so basic would be a good idea.
In the most recent Pew survey on media habits, TV was still far and away the leading source of news. For people who prefer to use a computer, tablet or phone to read the news, the websites of traditional media companies was their preference. Nothing else even approaches the popularity of traditional news orgs. And for people who do get news from social media, Facebook is the most popular source by a large margin.

So you may not know any TV watchers outside of your parents (which is also true for me), there are somehow millions and millions of TV news watchers out there.
More and more footage is being lifted from the likes of Twitter, etc., not to mention citizen journalism.

That content is mediated by Facebook, Twitter, TikTok, etc.
Check out GNU pass

It's like all sh
Most Americans consume media most of the time, yes. I know people who haven't read a book since high school, but can tell you everything about either sports or celebrities, and often both. Indexical knowledge of sports and/or what celebrities have been up to for decades. This is what Americans do.

This is beyond the time they spend watching TV and movies. I would say for 90% of the people I know, this number is accurate. If you point it out, it's as if you're telling someone they need to lose weight. It's just not allowed by anyone besides Grandma or Grandpa anymore.