skysight-inc/HackerNews huggingface dataset:
"Mac/Win flailing walled in garden ecosystems, everyone wants to escape from."

This is the problem with living in a techie bubble like HN. Meanwhile in the real world billions of people are happily using Windows and MacOS, and would have no idea what you're talking about.

You remind me of the dyed-in-the-wool Marxists I knew in the 80s sitting tight* waiting for capitalism to collapse, and those before them in the 20s and 30s. And those before them in the 19th Century. Still waiting. Any day now. The signs are everywhere.

* Almost literally. One friend at the time quit college to pick potatoes in Norfolk because when capitalism collapsed having practical skills would help him live off the land. That was about 1987. I wonder how he's doing.
Upvoted for persistence alone :) Congratulations on shipping.
and his wife is the sucessful trader who hires him
Yeah I have this about scarves ever since I read about how Isadora Duncan died.
Is there a way of attaching cut instructions to a video file that players recognize?
Here’s the executive summary:

- Facebook tries to get more ad dollars by saying they are a platform with high engagement (aka: comments and “likes”)

- A journalist using FB’s own tools found that the posts with the highest engagement were right-wing

- Facebook then created an entire report to say “Nono: it’s views that are important, and look at all this nice stuff people view”

- Facebook tries to avoid mentioning that they themselves directly control what gets put on people’s news feed and when, which means they can simply say “Show 100mil people this cat picture” and then an hour later say “Look! 100mil people looked at a cat picture! That makes it popular and shows that people like to look at cat pictures on FB!”

Further evidence: Ever notice that video views on FB are way higher than on other platforms? That’s because every time someone scrolled past a video in their newsfeed it counted as a view, no matter how fast that scroll was. This was likely used to try and entice video creators who equated views with revenue.
> On the desktop 90% of the projects are second rate clones of commercial software with a weird GUI, poorer features, and added user hostility.

A lot of free/open-source software is created by a single developer in their spare time, because they want an open & functional version of their favourite commercial app.

The weird GUI is what you get when you can't devote unlimited man-hours and millions of $ to the project.

A lot of good has come from the Linux and open-source movement, let's not pretend otherwise.
I suspect the cookie thing might be about who's in decision-making mode.
You might be right about that, i.e. I probably derped up. It's been a long while since I looked at it, and the issue might only be with shared_ptr. I'm starting to remember finding out that shared_ptr was surprisingly expensive even in single threaded programs. It looks like some finer grained versions of shared_ptr (like atomic_shared_ptr) arrived recently. I haven't checked into them yet.
Remove background from video, server side solution
>In addition, taking care of these kinds of people is, in fact, a modern change--like within the last 100 years change. Before that, these people whose mind prevents them from meaningfully interacting with society ever again would have been left to die.

You'd be surprised. Families have tended to members with disabilities (body and/or mind), for millenia.

The "just put them in a hospice/asylum" and forget about them, is what's quite novel.
>Have there been successful cases of countries with private infrastructure?

The US's energy infrastructure was originally private.
So my personal anecdote is from 1990, but yes in the nineties you can buy milspec gear at the flea market
(I really wanted the tank periscope with night vision but couldn’t afford it)
Apple chief executive Tim Cook gets $750m payout
The entire Ruby ethos and surrounding APIs are basically all a result of a particular set of personal preferences. One of the core values of Ruby is programmer happiness. That’s obviously qualitative and varies from person to person. That said, this kind of pattern is extremely _Ruby_ and if you like it, you like it. I love writing Ruby code because of this kind of attention to making code almost like prose. However, I’ve also worked on a lot of terrible Ruby projects that were a mess of metaprogramming and clever dynamic language abuse, so it’s hard to mount a rigorous defense.
Why does it weird you out?
> How much of the work I’m doing is driven by planning as opposed to circumstance

What question(s) do you ask the companies to get information for this?
How about you just respect your brothers beliefs?
archive link https://www.reuters.com/business/healthcare-pharmaceuticals/...
How would you describe that difference?
I once had a chinese colleague who came to europe for a few years. She always thought we were lazy for working so short and every argument i brought up about mental health and work efficiency was met with a: "but it works for us".

What i did not understand back then is the absolute replaceability of personel in the chinese market. You work long and hard or tomorrow someone else does it.

Not only is this a big reason of the economical prowess of china in my opinion, i fear that this work-ethic will come back sooner or later to europe to "stay competitive".

In the face of bankcruptcy or market pressure... managers tend to make irrational and/or unethical decisions. And they will find a way to circumvent the laws.
I am also sure that chinese companies will find a way to circumvent the 996 ruling here.
The problem in spain are not squatters. The problem are the vulture funds that especulate with people's homes.
You can already do that in any GC language (to some extent) by drastically reducing the amount and creation/destruction-frequency of garbage collected objects (for instance by reducing "object granularity" and using object pools).

But this means that the programmer suddenly needs to actively think about memory management (and already in the design/planning phase, because later is too late), while the whole selling point of automatic memory management solutions was that this wouldn't be necessary anymore (which was a deception all along, but that's a different topic).
I found loads of hardcoded secrets in Docker images
While hunting for secrets on the Docker Hub, we found that Codecov is not the only organisation to have hardcoded secrets in their Docker images.
cool name!
He used a few different techniques.

1. Used CoreRT instead of the standard .NET libraries
2. He avoided using functionality that would use GC in the first place
3. Created his own alternative runtime library w/out GC and exception handling
4. Created a base type library for some of the System functions
5. Re-directed certain functions like Thread.Sleep to smaller implementations in specific libraries.

The blog posting is well worth reading:

https://medium.com/@MStrehovsky/building-a-self-contained-ga...
> the whole web is still full of like buttons

Make these addresses non-routable in whatever way is most ergonomic for you and enjoy a less junky internet.

whois -h whois.radb.net -- '-i origin AS32934' | grep ^route

It isn't hard to cut someone out of your life on the internet.
The part about project xanadu is also shady. They list it as 1964, but first paper was published 1965, while their idea of hypertext was born 1960, with the word choosen 1963. Not sure where the 1964 comes from. Not to mention that this wasn't even an actual implementation. It's disputable whether xanadu really should be the first one to mention here. The ideas of referencing documents is older and has previous implementations in analog world. It they wanna go just about hypertext, they should at least started with memex.
No, the point is home owners turn residential zoning into hell but leave commercial zoning alone. The reason is that more commercial zoning leads to more jobs which strengthens the monopoly power of the home owner.
How is it different? How many goods and services can you pay for with cryptocurrency where you live? What if your government's goons (or private goons for that matter) hit you with a rubber hose and steal your coins? Who will help you?
I'm using Tradier API for market data. Greeks included. I don't do any calculations.
> "I'm not like the normies" definitely is a hipsterism.

No, it isn't.

"I'm not like the normies, because I am cool and underground." is a hipsterism.

"I'm not like the normies, because unlike them I happen to possess the skills to escape from a situation we all hate" is not an hipsterism.

> Linux is the OS for people who like tinkering. Tinkering is the point.

This is also completely false. Improvements were made, things generally work out of the box. Polished and user friendly user interfaces exist.

_But_: interfacing with those commercial products/services that spoiled the fun of mainstream systems generally sucks. Because those only work if you give up control to them. Which was one of the main reasons you went to Linux anyway.
Sure, that is Rome (and posssibly Lazio) only and the same thing (more or less) is called elsewhere focaccia, schiacciata or schiaccia (or many other names)

https://www.treccani.it/vocabolario/pizza/

https://www.treccani.it/vocabolario/schiacciata/

https://www.treccani.it/vocabolario/focaccia/
A wise professor I knew always scheduled a one-on-one research meeting directly at the end of office hours.

If office hours was an hour long, students come and go for an hour with questions plus some overtime duration of extra clarifications. If office hours was four hours long, students come and go for four hours plus the same bit of overtime. With no bookend between office hours and everything else, students would beg for one more question and push the boundaries of the open-door policy.

In their eyes, the instructor who slams the door in the student's face because, "It's two o'clock, I need to work," is impolite and insensitive.

Putting an unavoidable, important meeting at the end of office hours suddenly put the burden of being impolite on the students. Suddenly, office hours became more efficient and students, more punctual. The professor was no longer so unbelievable cruel for ending the open-door session (gasp) on time. And, most importantly, research could get done at a normal hour.
> I have been under the impression that glibc implements both unique_ptr and shared_ptr (that's the one with arbitrary refcounts) using locks

Why would unique_ptr ever need a lock?

> As for overhead, well, if an object lives for a long time and lots of references are updated or moved around

If performance is important you only pass a shared_ptr if the callee needs to keep it around, otherwise just pass a plain (const) reference. You can also pass a (const) reference to the shared_ptr and then the callee can decide if they actually need to keep it. Moving shared_ptr is free, because the refcount stays the same.
> std::shared_ptr means I don't have to manage any memory

You really should have left this out. It's very, very distracting, and makes me question if I even want to read the article.

shared_ptr is one tool to manage memory. It certainly doesn't mean you don't have to manage it, and it doesn't mean you should reach for it most of the time.

> I don't do a lot of C++ so I wanted to get a sense for what it can look like today.

I think this would be a great intro for the post.
The funniest part being that it's also parent stating :

> Don't let society or TV tell you how much time you need to spend with your kids. That's up to you and your family, not some arbitrary thing that others tell you.
Pertinent book recommendations:

Success and Luck: Good Fortune and the Myth of Meritocracy, Robert H. Frank [https://www.jstor.org/stable/j.ctvc77k7k] Great read, entertaining and insightful, many anecdotes, and also simulation results.

The Tyranny of Merit: What’s Become of the Common Good?, Michael Sandel (of Harvard ethics YouTube superstar fame) [https://www.harvardmagazine.com/2020/09/montage-michael-sand...] Still on my agenda. Podcast with the author and Sam Harris: [https://samharris.org/podcasts/221-success-failure-common-go...]
If you have nothing constructive to say, say nothing.
We still manufacture our most important product; the American Dream.

Seriously though, 3M would like a word.
China Plans to Ban U.S. IPOs for Data-Heavy Tech Firms
> it meets some high-minded criteria about how I think software should be: privacy-respecting, open-source, controlled by the user, etc.

Software like that will be easy to find when people will be ready to pay.
>My latest MacBook was four years old and was starting to feel a bit bloated and slow. It felt like a time to get a new one.

#FirstWorldProblems right here!

Seriously, a few hours doing a data backup and clean OS install would make the laptop feel snappy again...
Dumb, they should've just added a CIRCLE = CRIRCLE option
"I'm going to be the contrarian. Keep the job. Power through it and retire as early as you can, then you can do whatever you want"

No you cannot, as your youth is limited and your health maybe already ruined by then. If you do something you hate for a living, then once you stop there might be only drugs or other addictions left to fill the void.

There is just no magic way out. You complain now, that you had fun earlier but now cannot retire. But your other self, that you would have liked to grinded away day by day, might have be already dead, or in heart surgery.

It is all about finding the balance, and OP got to sort it out on her or him self.

But I very much do recommend traveling in general, while young. Remote is now thing. There are lots of nice places with awesome people all around the world.

But you will never get there, if you are clinging on "security".
Seems to work very well. Will be using it to track prices of products I am going to buy
Hopefully that actually hits someone's bank account unlike the Equifax settlement which only really hit the laywers'
And it was so before, just like 4+ hours unpaid overtimes at sweatshops.

What matters is them suddenly remembering it after decades of busting unions, and any labour activism protesting it.

Clearly, they want to mop the floor with tech companies for them becoming bigger than the "sun king."

And they do it this way to pretend that there is no obvious crackdown on private property, and businessmen, while it is exactly the case.
Costa Ricans Live Longer Than Us. What’s the Secret?
FB is a study in dark patterns.
https://stackoverflow.com/questions/10483635/why-do-lots-of-...

it just removes a lot of hassle when you are used to it, I'd never go back to trailing commas
When on my local network, I'm at the point regardless of OS (Win, Linux, Mac alike) where I tend to fire up the Python built-in http.server module on whichever machine I want to share from and go to the other to download whatever files I need.

I have never gotten inter-OS file sharing like SMB/Samba to work right other than using rsync or scp. And the only intra-OS file sharing I've ever had a good experience with is Mac AirDrop.
Paywall Bypass: https://archive.is/NWLge
In our corp we all use MS suite. Once we've decided to track vacation in the team locally. So we've made a Google spreadsheet with like 12 rows and 365 columns for a year. It was running insanely slow, editing and scrolling it was painful. Also it lacks basic things which Excel supports since forever, I don't remember now but a lot of basic styling and formatting for cells is missing. And that's just for basic work. Import a millon line .csv file to apply a formula to it and then export - wouldn't even try in g-suite. (PS: that's way faster than creating and debugging a script to do the same thing on .csv directly).
That's essentially what the Ethereum PoS transition is supposed to look like, isn't it? Take a snapshot of the PoW chain, boom, here are all your initial tokens/coinz eligible for staking to get votes.
I wonder if this will be good or bad for the competitiveness of China if they are able to enforce it.

The company I work in now has no problem competing with Chinese companies working 996, despite us working 7.5h days and having way more vacation days. I believe part of that is that working longer hours doesn't necessarily make you more productive, as has been discussed in tech communities for a while now.

The thing is, to be productive with shorter working hours requires a very different culture. The company I work in now has a very flat structure, and people are encouraged to work on side projects that can improve productivity, and there's a focus on continuously improving methodology. The last company I worked for was Chinese-American (based in US, but 99% Chinese working there), and it was the exact opposite. Decisions on what to work on was made top-down and results were mainly achieved through brute force. Although since we worked in a somewhat independent office in Europe we ended up with a hybrid system.

So the question is, will a shift away from 996 lead to a shift in work culture that increases productivity, or will they just work fewer hours with the same culture?

That seems to be the problem for the CCP in general. They want to make improvements, but they don't really get to the root of the problem. They crack down on after-school tutoring for instance, but they don't change the Gaokao system, so tutoring will just go underground.
Everything must come to an end, even for Facebook. We didn't think Altavista or Myspace would "die" either..
Your MD or PhD in epidemiology should persuade your brother, if Googling isn’t working.

My brother won’t get vaccinated either. His life, his choice, not my business.
I find all aspect difficult to believe. I call bs.
I don't think anyone vaccinated is going to be bothered that they didn't have to risk death by COVID (UK mortality rate of 1.99%) to get superior immunity, even if you factor in J&J/AstraZeneca's clotting risk (UK mortality rate of 0.0019%).
the highest ranking person in the room won’t take the extra sandwich, but will take the extra million to buy as many sandwiches as he wants.

in this isolated experiment the entire organization consists of 3 persons, one of them a leader, and 4 sandwiches.

real world orgs are much more complex, and sandwiches take many subtle forms
I like this approach, and exploration of alternatives to popular solution is good. In particular the simple approach to circular structures looks good - including the reverse lexial order deallocation.
Ask HN: What are some exciting(and free) AI based apps for desktop or Android?
I don't mind sharing data to any length. I just want power. I am looking for cool apps that has some potential.
Agreed. There isn't really a new way to swim backstroke or new techniques constantly being developed.
Excited to hear Sequoia has introduced 996 for themselves, seeing what a competitive advantage it is. Not too shabby for 66 years old Mike Moritz.
Kabul to Kashmir road way. Kabul to Pakistan boarder to Islamabad to Chakothi to Srinagar. Distance could be 767 k.m.
> fathers are supposed to teach kids how to be moral, how to be honest, how to take responsibility. How to be valuable to the world.

> Mothers are supposed to teach kids empathy.

Could you expand on why you believe it should be this way?
To some degree you could use a GC only language to create a large pool (eg a numpy array) and "allocate" items in there with indices as pointers. Would cover some of the use cases for manual memory management.

edit: scooped by a sibling comment! :) ah well, here's what you could use to structure objects in a numpy array https://numpy.org/doc/stable/user/basics.rec.html?highlight=...
> I want to see the actual study.

https://www.gsb.stanford.edu/faculty-research/working-papers...
So string theory has become the "Getting high on abstraction"-enterprise software department - of physics?
Prefix separators are an excellent way to avoid diff noise in langages without terminators (/ trailing comma support).
> 2. Once malware is running as your user, how do you expect to protect against that even with a keychain?

A kernel-backed mechanism could enforce that access to the secret decryption syscalls can only be done from untampered signed processes.

Assuming an user has a distinct login password they are not using anywhere else and the public key of the codesign certificate is part of the kernel-side secret, a malware has no chance of getting access to the secret, unless it exploits a code execution vulnerability in the target program.

> How are you going to support different keychains on different OSes?

A minimal interface with three calls: 1) create/delete a kernel-side secret, 2) encrypt a secret using a key derived from the user's keychain and the application's public key, 3) decrypt a secret using said key.

Android brings such an API (KeyStore), macOS' Keychain should support something like that via its ACL feature. Where additional work is needed is Windows (its DPAPI only protects secrets from other users, apps can get other apps' secrets by design to implement SSO) and Linux (which doesn't have any way to verify in the kernel if an application has a code signature).

Browsers and other apps wishing to protect secrets from malware could use an abstraction layer that uses the best available mechanism on each platform, the three operations should be enough for this purpose.
It still makes little sense.

He says that one success brought that guy courage.

However, in the same "point", he says that it is courage which brings success. Applied to that case, it means that the guy already had courage that Hamming couldn't see but Pierce could see. Well, then it is not a success that brought him courage.
Trailing commas work just fine when the langage supports, well, trailing commas.
More people are poisoning themselves with horse-deworming drug to thwart Covid
There's a documentary that shows exactly this phenomenon, American Factory.

> i fear that this work-ethic will come back sooner or later to europe to "stay competitive"

I'm a bit more optimistic. In a culture where productivity is not the be-all and end-all, staying competitive at the cost one's whole life, will not take roots. I think that productivity also has different dimensions, which helps.
No, because in all their wisdom, WebGL never supported compute shaders, Intel has tried multiple times to add it to the standard and now it has been officially dropped for WebGPU.

So when the browsers bother to finally replace their 2011 GPU model by WebGPU (stable), which is still MVP 1.0 compared to Vulkan/Metal/DX 12 Ultimate, then you might have it.
DNA is just a particular mechanism of inheritance. You don't need to know about DNA specifically to posit a theory of evolution (inheritance, variation, natural selection).
It’s a Haskell thing, and while I don’t use it in any other language, it does look very neat and readable in Haskell.
But we did know what we were fighting. It was clear right from the start COVID would become endemic, epidemiologists were literally saying so. It is true that there was no vaccine and nobody knew how to treat the moderate cases, but we've now had the vaccine for 9 months. In the US at least it's available to anyone who wants it (and forced upon those who don't, sometimes), and it's been that way for 4+ months.

And yet, in Australia you can be forcibly detained and quarantined (in a camp, no less), forced to disclose health information, authorities can also use whatever force necessary to enter your dwelling (this would be a perilous affair in the US in particular), and so on. That is as far from "freedom" as anything I've seen. And it's also utterly and completely pointless and counterproductive as well.
Yes. Flatpak is a game-changer.
Yes, pattern-matching like this would be the bee's knees
If I don’t have a Facebook account, do I need to create one and agree to their ToS?