skysight-inc/HackerNews huggingface dataset:
> no intrinsic value to your stronger definition of zero-copy.

Whoa, that's a very strong statement. But then the rest of the paragraph gets a lot weaker.

> there are high-performance computation packages that compress data structures in L1-cached-sized blocks

This seems like a non sequitur. Of course hand-tuned data structures can achieve higher performance than any serialization framework, but what does that have to do with zero-copy vs. protobuf? Are you suggesting that protobuf encoding would be a good choice for these people?

> So, you've used the word "achieve" to decorate an outcome that might not be optimal.

I'm not sure why "achieve" would imply "optimal". Of course whether this is an advantage depends on the use case.

There are many cases where zero-copy doesn't provide any real advantages. If you're just sending messages over a standard network socket, then yeah, zero-copy probably isn't going to make things faster. There are already several copies inherent in network communication.

But if you have a huge protobuf file on disk and you want to read one field in the middle of it, that's just not something you can do in any sort of efficient way. With zero-copy, you can do this trivially with mmap().

Or if you're communicating over shared memory between processes on the same machine, then the entire serialize/parse round trip required with protobuf is 100% waste. Zero-copy would let you build and consume the structure from the same memory pages.

These seem "intrinsically valuable"?

> we could never get flatbuffers to go any faster.

What use case were you testing? Did you test any zero-copy serializations other than flatbuffers?

I've heard from lots of people that say Cap'n Proto beat Protobuf in their tests... but it definitely depends on the use case.
I mean, the bribery is common, but wouldn't have expected Cluj to be much worse than any other city (and seems to actually be better than many others). I've also seen plenty of people talking about the corruption, although less about the local companies and more about the ravaging of the forests by Austrian and German logging companies (but not really from a patriotic angle).
The reason you'd want a super-constrained cheap AXR in Linux isn't because Linux runs on the tiny devices but because Linux talks to the tiny devices.

But the politics meant it doesn't matter in the end. People convinced themselves the NSA backdoored XOR or that the number five is secretly composite or whatever and you can't use logic to fix something like that.
Do you think majority of people living in 70+ year old houses have such luck that it satisfies everything you write about? Considering people I know, I doubt it. The upkeep can require as big expenses (not just financial, also environmental) as tearing down and building anew.
Yeah, my bad. Meant to say "exponentiation". And if we're talking about precise terms, that should be prefixed by "modular".

On the bright side, the brainfart triggered a lot of interesting discussion. :)
I think what's more remarkable is they got away with it. This speaks to a larger disorganization by the campaign -- that they didn't have effective screening procedures in place. That would be newsworthy regardless of which campaign got punked.

But we're also assuming that the K-Pop effort is the reason turn-out was low. Maybe people chose not to attend out of fear of the pandemic, and the teenaged K-Pop fans are just claiming credit for that low turnout.

Hopefully we can keep politics out of the discussion and just focus on the technical logistics of this story, which is what makes this interesting. What's verifiable is the success K-Pop fans have had taking over hashtags. Maybe this ultimately speaks to a vulnerability within Twitter: that they just never anticipated a mass/coordinated attempt to hijack a hashtag for other-than-intended purposes.
I think it's a fun literary style sometimes. Useful information doesn't have to be presented in some specific way to be useful, and in this case I think it's additive.

I agree that it can be overdone, but it's pretty lightly sprinkled here. But it's the same as any other useful literary device, to answer your question. To make things more interesting or different.
The program just hasn't finished running the entire loop yet.
But he can do as he pleases. He can go on eBay or amazon and buy the correct driver.

Your logic seems to be that if you can’t open a device with tools available at your local gas station store, it’s user hostile?

And it’s quite egotistical and “in the bubble” to say that opening your devices is something everyone should be able to stumble into. If you applied that logic to everything we own, nobody would have any time to do anything else.
This is likely to increase insurance costs on average. So it’s a tradeoff.

It also has a big issue of adverse selection. Say everyone with some known “private bad health markers” signs up for insurance but the insurance can’t take into account. That’s not going to be great. So we need to be careful to allow enough to be taken into account.
Do not use classes to mark something as selected. People using screen readers won't know whether something is selected. Use aria attributes like aria-selected instead.

https://www.w3.org/WAI/PF/aria/states_and_properties#aria-se...
This is very good. I would recommend this to anybody considering a career in software.

My only problem is that it's not very pedagogical; I don't think "read and study the foundations for 1000 hours, you twerp" is really the best approach to ease people in.

I would recommend starting small, making a webpage or some simple fun programs that you enjoy working on. MDN is a good resource (https://developer.mozilla.org/en-US/docs/Learn) for this, but there are probably better guides / tutors out there that can personalize an approach based on where you're at. Glitch is also cool (https://glitch.com/)
There is blazor that does this in C#.
You don't buy what exactly? This is just science on how eyes work and some of the interesting things that happen, the author isn't being prescriptive about what eyes are for or how they should be used. I think what you said is entirely consistent with the Twitter thread.
Exactly. The worst privacy transgressions historically have always come from governments. Corporations aren’t the ones we should be afraid of.

You want the people that brought you the Patriot Act in charge of privacy?
The wikipedia experiment is much easier to do and more pronounced. You'll need a mirror and a reasonably good phone camera to take video. I just tried it and it's amazing.

> This can easily be duplicated by looking into a mirror, and looking from one eye to another.

But you can't see your eyes move in the mirror. They seem strangely very inert. If you play the video afterward, you'll see your eyes moving!

> https://en.wikipedia.org/wiki/Saccadic_masking
I can’t speak for anyone else, but I like to sprinkle in swear words as a way of “grounding” the subject.

A lot of my friends will bother me for help with compsci or math stuff for some reason, and I usually try to help. Math and programming are hard, especially to someone who doesn’t already know it, and people can quickly get frustrated as a result of it being confusing. Throwing in a swear can be useful to signal to the person to relax, and to tell them that it’s ok to think of this stuff in goofy terms, and in my experience it can help lower the tension.

It’s not the best tool for every scenario, I don’t use that tactic when teaching kids, but I do think there’s utility in it.
Does anyone have a github 'awesome' type of page with aggregated teach yourselfs? I would love to have it for other subjects.
> Turned out I was experiencing the onset of Graves Disease (a friggin’ chick thing that hardly ever happens to guys!!)

One of many passages that really turned me off of this as a piece of writing. It’s a thorough collection of amateurish blog posts but is it anything more than that? Not to me.
Canada banned masks at protests during the Harper years. When I complained, everyone said that “you should have to protest publicly, take a stand,” or, “there is nothing to protest.” It was very frustrating
Another "Twitter thread" (sic!), another thing I would like to send a link to someone, but won't, because they don't know twitter and it's impossible to link to the expanded thing and figuring out how to expand it took me several months of bumping into those. Meanwhile Thread Reader App ponders existential questions every time it sees an image. Modern UX everyone.

EDIT: oh, and the author has a proper website... What kind of brain damage does one have to suffer to keep choosing Twitter for long-form writing?
Yeah I use an external Yeti Nano mic which is awesome. But I think it’s not that much to ask from BT headphones that costed me 280eur to be able to have reasonable sound quality on my Mac... isn’t it? (Reasonable = as good as on my phone)
You don't have to have houses stacked on top of each other to achieve density. There are plenty of turn of the century streetcar suburbs in the US that are chock full of detached single family homes but still have densities in the 10k/sqmi territory. It's only when you throw in minimum lot sizes, setbacks, wide streets, and minimum parking requirements that you take those single family homes and turn them into sprawl.
Chaos Monkeys is a highly skewed take from someone that barely worked at FB. Its primary objective is not to inform with facts.
What did you make during lockdown? A running list
That exactly what you shouldn't do, database models should not be the same models than the one sent to the client.
So my visual system takes an image and projects it back through time to when I started moving my eyes to present a consistent image of the world? Or, alternatively, I have to be perceiving the past as time travel is impossible, I am living in the past and my visual system can fill in the holes and make it seem like I'm always perceiving the present.

Why this is presented as bullshit insane I have no idea. It seems like an amazingly brilliant solution to me, much better than the 'engineering' solution suggested where your vision flashes black every time you move your eyes. Also worth mentioning this weirdness is repeated in human consciousness all the time. Like the theory (tested as far as we can) that tall people perceiving the world further in the past so they can reconsile nerve impulses from their feet as happening at the same time as visual stimulus. We've known about phenomenon like this for a long time as well as other deeper revelations like, what is sometimes called, the illusion of free will. And yet we constantly act surprised that our conscious experience of the world doesn't correlate to what we find out is 'actually' happening.

So we are flawed meat bags with insane, non sensical brain mechanics, if only our biological solutions were as well thought out as VR eh?

How glad am I that the incredible complexity and subtly of evolution created my visual system and not Valve or Sony.
I only miss is 8P8C port, but only when I'm traveling and want wired connection.

USB C made my life easier. Now I only have to plug one cable into my laptop from my monitor and have everything(wired network, external display, speaker, webcam, microphone, keyboard and mouse).

I don't see a reason to carry a dock with me. A lot of people carrying a Micro USB A to USB A cable and a dock instead buying a Micro USB A to USB C cable which makes no sense
The proposed solution — banning the purchase or sale of personal information — doesn’t go nearly far enough. It would just cement the existing monopolies on personal information.

Here is a better framework:

- Make it illegal to collect or store personal information on anyone you don’t have an active business relationship with.

- All personal data collection should require an opt in. The definition of opt in is that it takes at least one more manual step to opt in than opt out, and that the options must be presented with equal prominence.

- Selling or purchasing services based on third parties personal information counts as selling or buying the information in the eye of the law.

- Buying and selling personal information would be illegal unless the person explicitly authorizes the transfer each time the data is transferred.

- Civil penalties for breaking the law would range between 1-10% of global income per transaction, with a cap of 20% of annual gross income per month. (So one mistake doesn’t completely destroy the company, but ignoring the law does). Class action waivers or binding arbitration would be disallowed. (Unless the person whose information was sold could choose the arbitration agency after the fact.)

- Authorizing the transfer of information must not be a requirement to receive some other service, etc.

- A central registry of all opt ins would be available so individuals could audit their opt ins, and with enough information to assign blame for fraudulent opt-ins (and to protect buyers/sellers when one side of the transaction falsified an opt in). This would also have a single page to people to cancel all of their existing opt ins.

That would start to solve the problem.
Ask HN: Pitch your personal newsletter/blog with a one-liner
Example:

Name: CODARIUM

One-liner: I write about how to build end-to-end products with code

Link: https://codarium.substack.com/
Is there really any argument that once resources became strained anywhere on Earth at any time humans existed they fought for control of them violently? What is the alternative narrative?

I feel like Native Americans were either disparate or were pretty similar to other groups of humans if the area was populous.

https://en.wikipedia.org/wiki/Wabanaki_Confederacy
https://en.wikipedia.org/wiki/Aztec_warfare
Unsub Ing from Dev.to
dear friends, i recently unsubbed from dev.to for what i felt was an egregious example of non-committal and hypocritical bullshit. The recent newsletter included a header announcing support for the Black Lives Matter movement, which we all support

I sort of scanned through the posts they were highlighting and didn't necessarily get the feel they were BLM/movement related posts, nor that they were by African-American authors, nor that any of them had anything to do with supporting community efforts. I refuse to lookup what nationality dev.to hails from, nor do i wish to imgaine that an american company could possibly be that negligent in debasing their audience, and themselves, to such an extent. This cannot be but a fucking joke to the very corporations that pretend to give a shit about any of this, if goddam solemn, obelisk headers are followed-up with checks email some how-to array methods, a todo app server, and a nice post about code-styles

aside from the boilerplate pandering nonsense and a link to charities, i don't know if even one single post mentioned was by a black person. It's almost certainly true that if they looked at all the posts they have ever highlighted, a very disproportionately low number of them were by written by black people. im also sure that whatever efforts their staff have ever made...werent made, and they probably reflect silicon valley's gender, privilege, and racial homogeneity as well as any other startup.

supporting black lives means putting your goddam money where your goddam mouth is, doing the bangs hands together for these hiring, promoting, mentoring, highlighting and encouraging that should apply to all people in the community, but which might have a disproportionately helpful impact on some in particular, when applied with a non guilt-shifting, faux-solidarity, unaccountable way that largely got silicon valley where it is
I've got something similar: it sends Twitter feed to e-mail: https://github.com/dottedmag/twema
I guess it's because a lot of the shit that's happened is reasonably modern by other country's standards (at least in countries that have taken as many forward leaps as Romania has). You have such change in 30 years, but also even more change held back by politics and still vast wage disparity.

It's in an odd limbo where some elements are well in front of many countries (like connectivity, almost unparralled) whereas others, like poor infrastructure (like that stunt of the businessman building more highway the government) and a perception of the politics still being ruled by pandering to pensioners.

Were it not for Brexit and my almost certain inability to get RO citizenship any time soon, we'd probably have moved out for a few years as things will still come on leaps and bounds.
> my argument is that the copying nature of protobuf can save memory bandwidth.

Huh? An extra pass over the data to parse it obviously uses more memory bandwidth.

I might understand your argument if parsing converted the data into a memory-bandwidth-optimized format, but the protobuf parsed form is certainly not that, unless things have changed very drastically since I worked on it.
I think you are missing the point. Asking an architect friend, it's a lot about the ratio of material to labor costs. Sure it was time consuming, but everything was time consuming. And materials were expensive.

Classical music went through a similar phase, but now the repertory is conservative as ever. Why? In part because atonal music on traditional instruments is just as labor intensive!!
Show HN: Gesture recognition band for Apple Watch
Being able to see the random seed used in the console and use it in the hash is a nice touch. I found a few large ones and one with a single path between two points (1592751582695)
CS50 is how i started to learn CS. The fact that it's freely available worldwide is crazy. I could never follow a Harvard class otherwise, and the content is great.
I was unfamiliar with the Ted Turner black & white movie colorization controversy (circa 1980s), interesting cultural conflict:

https://www.latimes.com/archives/la-xpm-1986-10-23-ca-6941-s...

http://archive.is/LAkOO
"Instead of asking how much of your time is left, ask how much of your mind, babe."
i assume this guy is hes well know and continues use substack, idk if he gets a special rate due his previous success

https://taibbi.substack.com/
My decking was installed with a somewhat uncommon drill bit that isn’t in many people’s household toolkits. Is my decking user hostile?
Scientism is rampant in business thinking — especially physics envy.
Keyboards Options for SwiftUI Fields
As for # 2: https://en.wikipedia.org/wiki/Aaron_Swartz
If you're looking for a more intuitive understanding of linear algebra, I highly recommend 3blue1brown's YouTube series, "Essence of Linear Algebra."
It's been a long while since I've been in the south, but I'd never heard a southerner say "poor white trash". poor whites are a thing. white trash are a thing. they are exclusive categories.

Edit: removed the way to distinguish between them. You all were correct, I should be more charitable.
Sometimes when a persistent noise goes away I will realize that I've been slightly tense the whole time and all of a sudden I feel relief. Depending on what you mean by "switched on the wifi", could it be that there is some subtle piezoelectric noise that goes away when you turn of a device completely?
Must be a similar reason to why you can't use an iPhone/iPad/Macbook for about 10 minutes after the battery runs out. When you plug it in to power, it will refuse to boot until the battery is at least slightly charged. This is unlike, say, an Android or Windows machine which will allow you to use it immediately as soon as you plug it in.

I think Apple just simply does not care about user convenience.
Water can create false touch inputs, this should be the case for most of not all capacitative touchscreens. In my experience the speaker still works well enough if wet and Siri weirdly also works but a person you call with the Apple Watch will have a hard time understanding you. How is calling on the Samsung watch with a clogged mic?
Don't know if this matters, but Wikipedia classes this as a "hard right" newspaper.

https://en.wikipedia.org/wiki/The_Daily_Telegraph#Islamic_Ex...

I guess I have a worry that this is part of some larger editorial stance that tries to minimize the seriousness of the pandemic by cherry-picking the research that gets reported.
Well, I guess you are being that guy :) but Bach certainly went much further than nearly any composer in advancing the state of music harmony that allowed the explosion of the classical and romantic areas. Composers from Chopin to Mahler cited Bach as their main influence.

I was just offering an arbitrary line to represent “classical“. Of course there’s a lot of great music written in ancient Greece as well.
It's now been a generation since the Cold War ended. By this logic and pattern, we should erect statues to our nation's traitors during that time. To help bring the world together. Clearly that wouldn't be about slavery, but about "healing," right?

Our Aldritch Ames statue and the statue of the unknown KGB mole can join world icons like the British Cambridge Five statue, Philby evasive even in statue form.

No. Somehow that logic only "works" with the US Civil War, after which the United Daughters of the Confederacy waged a multi-generation propaganda campaign to convince us all that the war was not about slavery and that the south would rise again.
Hn is getting into weirdly political territory lately
To me it looks like cameras everywhere has been a good thing. Looking at the current Police Brutality videos coming out has rightfully caused people to want to stop that happening. I feel a lot safer in areas with security cameras. In the building I live in some items have been stolen which cameras helped find the thief, also some crazy lawsuit was shut down because we had a video of the guy falling over deliberately.
https://news.ycombinator.com/item?id=23589798

172 comments.
Fact is stranger than fiction.
This is an advertisement for the crazy rich asians author
For many people in the U.S., overzealous prosecutors are their allies so long as the people they are prosecuting who are "already guilty of bad shit" belong to undesirable demographics. Prosecutors and their selective enforcement efforts are central to suppressing minority votes through felony disenfranchisement, for instance in Florida.

I wonder how the arguments against surveillance capitalism poll across targeted minorities vs. the general population. I speculate that sentiments diverge in the same direction as sentiments towards the police.
Replace twitter.com with nitter.net:
https://nitter.net/Foone/status/1014267515696922624
Paying the equivalent of someone’s mortgage just to be able to get a decent internet connection in 2020 is infuriating.

I would switch to Hyperoptic in a heartbeat but they are not rolling out to north London any time soon. Funny how in Scotland even Vodafone is rolling out a gig network, while in bloody London I still can’t get better than adsl speeds.
> These monuments were built mostly from the 1890-1930 during the worst period of extrajudicial killings of black people.

As a rough comparison for people not familiar with the timelines involved: this would be like Germany building Nazi statue(s) in 1970-2010. (The US Civil War ended in 1865, so +25 to +65y.)
Thank you! That's wonderful!
It seems like WebAssembly will allow high level languages to get close to the "browser metal", so I think we will see declarative frameworks that are closer to the metal compared to React. I'm wondering if Rust is the best language to learn to get a headstart on that.
Show HN: FriendSavvy – Be a better friend, reminders
It is also notable that 100 years ago computers were a group of people in a room.
^ Just to be absolutely clear, the link in the parent is a submission of the exact same article that was posted only ten hours before this one.

We should all leave comments there, not here!