skysight-inc/HackerNews huggingface dataset:
> Avoiding memory allocation significantly increases the complexity of an API -- or worse, leads to shortcuts like using (thread-unsafe) globals or (overrun-prone) fixed buffers.

Allow me to unpack this, because the object interface that all of these serialization schemes present is what increases complexity. It makes sense that the simple implementation would tend toward dynamic memory and not further compound such complexity on their interface. This is a flawed architectural premise taken by these library implementations.

On the receiving side, there is little reason to ever deviate from zero-copy/zero-allocate. These libraries are far too pro-active in deserializing incoming data into native object structures. It's not necessary to present the user with this; they should pique through the results lazily -- query into the data at their own discretion. This is important because it bounds the minimum requisite cost of receiving messages at ... zero. It costs nothing to discard trash. Whereas with these proactive serialization layers, every single incoming attack becomes an exercise against the deserializer. In a zero-copy/zero-allocate -- let's even say, zero-parse mere lexing of the data, software has more flexibility. In practice, that means passing pointers around to parts of messages straight off the wire to application functionality further up the stack.

On the sending side, there is little reason to ever force whole native object representations to conduct a serialization. In other words, don't force the user to build an std::map first and serialize it later. All input is streaming input. Properties do not have to be pre-buffered, they can be streamed. One can model any network serialization this way, sans perhaps canonical representations (sorted JSON keys, etc), and far more efficiently than with requiring arbitrary native structures.

This is not really a rebuttal about the merits for or against dynamic memory in and of itself. I know the research, thread-aware allocators can be pretty good -- even darn good, and the state of the art in GC is nothing to shake a stick at. The problem is that with better design it's just not necessary, and in the end it does have a cost that one should want to eliminate if possible. I'm certain it's quite usually possible, at least more than I see in a list like https://en.wikipedia.org/wiki/Comparison_of_data-serializati... etc
True true. But I was talking about just iPhone apps
It could be a direct application of Cunningham's law: "The best way to get the right answer on the Internet is not to ask a question; it's to post the wrong answer."

In other words, a curiosity that begs to be proven wrong. We have a saying over here.. "A fool throws a pebble in a pond, and ten wise men can't recover it".
If you're designing a critical component that's going to impact your business indefinitely, you can take some time for due diligence. This is basic Shift Left mentality and it has lots of benefits.
As far as I'm aware, there is no "official" Chinese position on where and how the virus originated.

Assuming a zoonotic origin in China, it's much more likely that an infected individual from rural Southern China happened to travel to Wuhan and that the seafood market just happened to be the kind of location where such a virus would spread. There is some evidence that there is a degree of immunity to COVID-19 in areas that had SARS-outbreaks. It would therefore be plausible that an initial COVID-19 outbreak in Southern China, the epicenter of SARS1, could have gone unnoticed.

The actual animals sold at the market would then be irrelevant, but there's a narrative that "animal cruelty and human encroachment are to blame for COVID" that is being pushed here.
The best thing then is to ignore/block print media as well. Legacy media institutions have destroyed their credibility because of this race to the bottom - for a brief moment in history, there was a nice thought that the subscription revenue model would allow more fair and balanced reporting compared to the ad-revenue models (since they wouldn't need clickbait headlines/stories).

Turns out that people don't want to pay to hear things they don't like. So it's all become more polarized, and those of us who really would like to know what is going on have no clue what is true or not any longer.

Break the legacy institutions by boycotting them, and encourage individual journalists to self-publish. The credibility of the person will reign, and there is a huge market for independents who are actually interested in what is happening around the world without all the partisan spin.
wow, iirc this is similar to how the original alto was implemented... everything was microcode and new instructions could be added at any time and run at full hardware speed... back to the future?
Let me guess, your uncle is South American? 3rd world country?

Most of the blue collar workers are indeed treated almost slave-like tbh, I mean you are free to leave, but you will pay your own ticket and stay at the hotel and you will be escorted by a literal bodyguard the whole time to ensure you won't stay in the U.S.

If you obey management and don't get to anyone's bad side, you are allowed to stay and the staying part is actually the shitty one. Almost all of them have no choice though, so they have to sacrifice their mental and physical health, as well as their pride.

I was personally technically an officer on the ship so we get a bit better treatment, such as a housekeeper and we have our uniforms cleaned and ironed. Still, the hours even for us happened to be hell, sometimes on the embarkation days (when guests board the ship) it would go up to 13-14 hours.

The blue collar workers, especially in housekeeping normally worked around that 12 hours a day mark, regularly, for 7-9 months onboard.

The article mentions 8-10 hours, but that is an exception, not a norm.

All in all, CCL likes to aim for a 10/10 treatment for the guests and I guess they consistently hit 8/10 with their core customers. Crew however, a solid 3/10 max.
Given that apparently the virus was outside China in early December already, is it possible that Wuhan was simply the first fast-spreading location rather than the place where the transmission happened? If the virus was in Milan’s sewers in December, it feels that it might as swell have started spreading there first.

Likewise, Italy contained the virus from May to September, then it exploded again. Nothing particularly happened in September, yet by chance it spiked.

Just speculating though, I’d like to hear others’ opinion on this thought.
Very likely the guys just did the job and took care of themselves. It is not particularly rare. There are managers who don't contribute anything to actual output, coasting on ground work done by predecessors and being absentee enough to not interfere.

Had he ever faced an actual crisis, change or was stuck in the position for more than brief moment, this would very likely ended differently.
> How many times were you despaired in 2000 that you still feel the effects of today? And how many of them are on the same level of importance as a temporary lockdown?

This is unfair. For a lot of people, these 10 months of lockdown and counting (and the consequences as a result of them) are the worst thing that's ever happened in their lives, so there's nothing equivalently bad to compare it to.
Shortformer: Better Language Modeling using Shorter Inputs [pdf]
The idea of that visualisation has been around since at least 1983.

Combine these two Wargames movie posters:

Globe: https://www.traileraddict.com/wargames/poster/1

Tracking: https://www.pinterest.com.au/pin/216876538281839025/

But sure.. it's all a MS conspiracy to steal credit.
article says 6 days after vaccination symptoms are presented; this looks very possible that infection occured at or before vaccination time.
This comparison is just not a good one.

Trains are on a track, the scenario never really changes. The variables are low. Just like in an elevator, which is largely a mechanical device anyway. There is no real decision making.
GPU integration was broken for a long time. Managing VMs / Environments. The absolutely horrible integration with git/Github.

Having to rebuild your environment from scratch when your workspace crashed. Imagine starting a notebook with a 45 minutes compile time. No go.

One click deploy, let's just forget about it.
Thanks for sharing this.

I work for a big multinational co that grants me 15 days off in a year, but bigco does not celebrate most holidays. The next holiday we will have, that does not count towards PTO after New Years Day, is July 4, 2021... 5-6 weeks off sounds amazing.

I've got colleagues in EU, China and other places and they all seem to have better benefits (mandated by the govt) compared to how things are in the states. US corporations seem to only see humans as resources.
Back in the early days of Flash, I realized it could be more than just for cute animations, and coded a library of UI widgets to enable Windows-like UX inside of a Flash app. I then made a sample CMS using it that let you drag/drop panels and widgets into a page and it spit out HTML, so non-designers could design web pages.

Sadly, the next version of Flash showed that they were thinking the same thing - all those UI widgets I made were built-in on their next release, which came out the day after I finished my first version.

Lesson learned - know the roadmap of the products you are consuming.
While we are continuing this chain of pedantry, few characters are in fact ideographic. Mainly the the oldest ones. Most are "Phono-semantic" i.e. a combination of "sounds like this, but means like this".

See https://en.wikipedia.org/wiki/Chinese_character_classificati...

BTW I recall later Egyption hieroglyphs were not strictly ideographic either, leading up to the Phonetician alphabet. I wonder how similar that process was.
Society isn't without emotion.

As much as we engineers want to look at numbers and say "see, safer!" That does little to help people who have had deaths, or the visceral impact that death can have.
I've also been playing with WS2812 LEDs as ambient/halo lighting around my monitor. I'm using a cheap ESP-32 dev board to allow control from my phone via WiFi even when my computer is asleep. I went much smaller though - only 16 pixels, powered by an old phone charger.

This works for now because my primary use-case is ambient lighting when the room would otherwise be dark. I'm planning to build some larger-scale higher-density light panels to provide more illumination for those dark winter days.
Yeah, I initially thought having a big bio lab in the city where the pandemic started, in a country with a history of managing security in their bio labs poorly, in a lab known for studying sars like coronaviruses, including gain of function research to better bind to human ace2 receptors was just too many coincidences. You have to admit it's believable. But then when you realize how many people in rural China have been infected with sars like viruses, you start to understand that the whole country is like the ideal breeding ground for a bat virus to adapt to spreading in humans.
You can debate the design decisions all you want (and I agree `std::string` was a poor choice here)... but it's kind of absurd to say that a technology underpinning products used by billions of people every day is not "serious".
> In the end, the code that creates js or HTML5 equivalent (poorer versions in fact) end up being far more resource intensive and buggy than flash was.

I doubt it. Adobe tried to make a go with Flash on Android to spite Jobs and it was a train-wreck. While Android makers were willing to put giant batteries in to support sloppy code, Apple wasn't.

> The iPhone might have taken a few more iterations, but eventually they would have figured out how to support flash well in their phones.

Apple shipped a phone with barely a day's battery life and it remained that way for years as features and performance caught up. If they'd shipped Flash, it would have cooked the CPU on every site it visited ruining the limited battery life the phone had. This is one of those cases where shipping less made a better product.

> In the end, the reality is that Jobs made a tech forecasting mistake assuming HTML5 (not js) will eventually catch up with flash.

You are splitting hairs. Nobody has made a perfect technology prediction 10 years out.
Australia (Victoria) just got 3 cases and mandated stage 4 measures including limiting gatherings to 15 people.

https://www.abc.net.au/news/2020-12-31/victoria-coronavirus-...
A zillion years ago I had a housemate who was a brilliant programmer and could smoke himself into the Zone like nobody's business, and one of his weird little side ventures was a Mac app to cut up Illustrator files and lay them out in HTML using tables, because that was the state of the art.

As best I can recall, he wrote it in CodeWarrior over a couple weeks together with another guy who presumably knew Illustrator, and Adobe bought it before they had to deal with anything like a business plan.
The single file aspect isn't really a feature for the end-user, the end user just gets content they like. The single file aspect is more about the workflow for the content creator , content aggregators like flash portals, and the ecosystem that affords. Flash portals are all but dead now, but that's another story for another time.
How can I hack into a Gmail account
Someone hacked my cashapp I can’t get the url from Bigo live I have the Bigo live ID
But ik their gmail account they are a fraudulent account and they met their match I want to get my account back cause they are asking my family and friends for money and shit.
I’m trying to find their IP address I need some help
Hit me up
From How China’s ‘Bat Woman’ Hunted Down Viruses from SARS to the New Coronavirus [1]:

> Shi’s team used the antibody test to narrow down the list of locations and bat species to pursue in the quest for genomic clues. After roaming mountainous terrain in most of China’s dozens of provinces, the researchers turned their attention to one spot: Shitou Cave, on the outskirts of Kunming, the capital of Yunnan, where they conducted intense sampling during different seasons over five consecutive years.

Distance from Kumming to Wuhan: 1,566 km [2].

Distance from Kumming to Foshan (SARS-1): 1,315 km [3].

I am saying that horseshoe bats, pangolins, palm civets, and humans overlap in Yunnan province and along the Langcang/Mekong. This is the most likely ground zero for a natural recombination event. When and how the first SARS-CoV-2 virus made its way to Wuhan is a separate question; I'd think a human on a train is the most likely vector.

[1] https://www.scientificamerican.com/article/how-chinas-bat-wo...

[2] https://www.google.com/maps/dir/Wuhan,+Hubei,+China/Kunming,...

[3] https://www.google.com/maps/dir/Foshan,+Guangdong+Province,+...
Same.

I think the combination of timezone and language settings would work for the obviously problematic cases (eg, Australia vs Japan/China/Asia, and South vs North America. Africa is still a problem though.)
This statement trivializes far too much the mechanics of code and software.

The 'process requirements' like RFCs, tech specs and requirements, are important, but they're not generally that hard.

It takes 5 years of being surrounded by 'good devs' to understand the more material aspects of software - and the very long list of more mundane things.

It's like an apprenticeship.

There's just 'a lot to know'.

Basic style, approaches to solving common problems, getting comfortable with the toolchains etc.

On mobile, just knowing when to do something in 'native' on Android vs. not.

Just getting comfortable with git.

Every tech domain has a ton of 'know how', in the above example, it takes 6 months to really be comfortable with the JNI java bridge for example.

Good code review etiquette.

Being able to compile massive code bases and overcome the invariable problem on the different platforms.

Knowing how how to properly approach a bug fix, how much to test.

etc.

During this time, there's no way a 'young dev' can 'lead' a much more experienced dev.

A young person could certainly 'lead a project' but they'll have to depend pretty heavily on the professionalism of the senior devs.

FYI - if you're building basic CRUD apps on relatively established frameworks, and never need to go beyond that at all, a lot of this can be compressed.
Haha, I've seen both actually. There used to be a website for the movement, https://unitedpackagesmashers.com/, but it's no longer maintained.
That shouldn't matter for the timezone, though, no?
https://news.ycombinator.com/item?id=25586565
I write (as a hobby, but I do have a few published short stories). I rarely drink alcohol, and never for the purpose of writing easier.

What does work for me is putting myself in an environment where there's nothing much else to do but write, or conducive to writing, or around others doing the same thing (like for National Novel Writing Month).

Also in my local writing group of 40-ish people I'm not aware of anyone that drinks to write. Even when we have social events with alcohol I haven't noticed anyone drinking a whole lot.
Choosing one's hours is a single dimension of autonomy. In many other aspects, rideshare companies control the work: declining rides can lower ratings or lead to being removed from the platform. As an outside observer, it largely appears the companies have control over which dimensions are flexible and which aren't, and they can change at anytime. The state covers unemployment when these drivers lose their work: yet W2 employees have to pay in for such benefits.

A more 'hands-off' approach would bolster ridesharing companies argument that a proper classification is contractor. But the picking and choosing has to stop for that to be the case.
My idea is a lot simpler and doesn't need any ML. Think of it as the linkedin feed: if you upvote a post, it'll be shown to your contacts, but if you upvote too much junk posts, your contacts will unsubscribe.

This idea is relatively trivial to implement as an alternative UI of HN. That site would show the very same html, but will hack the upvote and downvote buttons. You upvote to subscribe to someone and downvote to unsubscribe. If someone in your watchlist upvotes something, that something gets shown in your feed. You'd still use the main HN feed for discovery. Eventually this would form a network that propagates information in some way. That network could be even visualised in some way to see how certain posts travel thru it. The topology of the network, its dynamic properties and whether it'll remain connected are interesting open questions. The entire thing can be written as a one file python script with a sqlite db running on a 5 bucks vps. The biggest challenge is getting enough folks on hn to use it.
A food chemist might be able to figure it out. Three foods or additives that singularly or in pairs would be innocuous. But all three combined, perhaps if exposed to heat, would form a toxin. Sounds like my cooking...
It was a joke. Gary is a dangerous place to be
White parka crossing a snow covered road. Will the AI make the right decision?
99%? We move in very different circles. A significant number of people that I know are doing pretty well. Working from home, having to travel less, fewer social commitments, and more time to spend on movies, reading, etc... are all things that appeal to some people.

I've had more than one conversation that eventually has somebody saying they feel like an asshole for saying so (because they know people are hurting), but they like the new normal.
ls ~/projects
These studies all assume that there wouldn't be a recession without a lockdown. This is fallacious. Even without a lockdown, consumers are going to stop going to large events, restaurants, movies etc when they see that it causes death...
LibrePhotos: A Self-Hosted Google Photos Alternative
Not just computers but an increasing number of devices in general: some cameras, thermometers, and vacuum cleaners require immediate online activation (w/ software update) or they don't function properly; this is a borderline fraud in my opinion. We should mandate that companies must give a clear warning for things like this.
lolmao, medical treatement for crew onboard is a whole book in itself...

For the corona crisis, everything was done as basic and cost-saving as possible.

Without the corona situation, god forbid you get fucking sick on the ship. They feed you up with some basic 2 pills they give to whoever is sick of anything. As far as I could notice, those were some stimulants with the end goal to have you back on duty as soon as possible.

Even if you get sick, like legitimately sick and get treated, you end up with a mafia-style talk with your manager about "your recent performance". If you keep yourself off the sick train for the next months, you will get a pat on the back and a good review, where the 'recent performances' one from previously seemingly never happened.
Truly disgusting practices.
Yeah: the "real winner" here is simply the closed garden of native applications, all purchased from a two-party oligopoly (which is where all of those use cases now exist, de facto); it isn't a coincidence that Apple not only spearheaded both results, but also holds back a lot of standards for the open web on their mobile devices :/.
They didn't meet their match if you are here asking for their IP address.
It's a geopolitical matter. China doesn't want to be seen as the culprit. It goes against its global ambition.

Internally they are heavily pushing the preposterous claim that the virus is of foreign origin, possibly imported via frozen food.

Objectively lab origin seems likely. The virus started in the city housing the only P4 laboratory in China. This laboratory is known for its lax security (see the 2018 American embassy cables and the declarations of multiple sources in France who participated in its construction) and research on bat coronavirus transmission to humans were conducted there. You don't have to be a conspiracy theorist to wonder if an accident didn't happen especially considering that we still can't find the missing link which would firmly establish a zoonotic origin.

Of course, as China is extremely uncooperative on this question, we will probably never know.
Agreed. As someone who learned games programming in Flash, and loved Flash, and benefited quite a bit from it -- no, you couldn't just email someone an SWF. That never worked.

Nobody had a standalone Flash player installed that wasn't in a browser, and when I moved to newer versions of Flash, I would regularly run into problems where someone would have a Flash player that didn't support the stuff I was trying to do.

Flash was really important for its time, and I agree there are things I still miss about it that the web hasn't been able to replicate. But my goodness, as someone who uses Linux today, I can't express how glad I am that the websites that never worked on my Linux machines now do work on my Linux machines. Cross platform my butt, Flash was only ever "cross platform" on Windows, and occasionally on Mac. Everybody else on mobile and Linux got ignored because Flash was a proprietary blob of insecure DRM-riddled code and Adobe couldn't be bothered to give anyone any attention unless they were big enough that they were impossible to ignore. Yes, I'm incredibly disappointed that the web hasn't captured everything Flash did, but it is good that we have gotten rid of Flash because mobile and Linux users deserve to have a version of the web that works on their machines.

These people who are lauding Flash as a universal environment either just have rose-tinted glasses or they lived in an even smaller programming bubble than the one they accuse HTML advocates of inhabiting.
> but I've yet to hear a compelling narrative why that should be the case.

Why does that matter? We can be confident that something is true without being sure why. We aren't sure what dark energy is, but just from empirical evidence we've observed, we do know that the universe is expanding at an accelerating rate. How is this situation different?