skysight-inc/HackerNews huggingface dataset:
> Inconsistencies both small and large had crept into our apps over time. From small things like password strength being different between platforms to larger things like differences in search results and entire missing features.

The solution that has worked well for me in the past, has been:

1. Keep all of your business logic and as much of the rest of your code as possible in platform-neutral C or C++: Something you can call into from all native platforms.

2. Write a very small layer of code using the native language/frameworks to do the UI and interact with platform-specific APIs.

This has a few advantages: You get a single code base, for the most part, to maintain. You have the opportunity to implement as native a look-and-feel as you want, on each platform if you want. Most of your application is C or C++ so you don't need a team with deep expertise in multiple languages. Most of your development should be on the business logic, right? This architecture also lets you easily add a command-line version of your product, for example to help with automated testing of your business logic. And finally, you don't have to ship a huge, memory-devouring browser and JavaScript stack with your application--your users will thank you.

It's not rocket science or anything to be terrified of! I think people too quickly dismiss cross-platform native because they imagine re-writing their application in 3-4 different languages, but it doesn't have to be that way.
Windows (a product that you need to buy a license for) has builtin ads. Well, good for MS, I guess...as for me, I'm quite happy that MS has pushed me away from its stack already with Vista: it sure isn't getting any better.
But I would imagine their per-chip royalty to be less than what newer/lower volume customers pay.
Since when can they not refuse a NSA backdoor? Where does the mandate come from, with which the NSA supposedly can instruct commercial/private entities to integrate technological back doors? Does it even have such a legal mandate. I'm sure the NSA will argue that they do, but that doesn't mean they actually have it.
If you’re on an iPhone I recommend iA writer which allows you to save .md or .txt files and sync to your other devices with iCloud or Dropbox

https://apps.apple.com/us/app/ia-writer/id775737172
>People like me who sold their iPhone and cancelled all services probably are a drop in the bucket

Yeah, very few have the financial independence to be able to do something like that. However, over the next few years when everyone gets their free upgrades, I imagine we'll see some slower, yet more robust, switching.
https://news.ycombinator.com/item?id=28369570

(while on linux one can use the docker command line tool without any docker desktop thing, on mac docker desktop wraps together running a linux vm to run the docker daemon & containers inside, making it the most straight forward way of running docker on mac)
There's a lot of interesting computer science in the science of folding of RNA. For a very long time, parsing theory was the preferred way to do this, until people foudn examples of RNA that were derived from nonregular grammers (https://en.wikipedia.org/wiki/Pseudoknot) making it hard to predict due to the high computational complexity.

Much of the recent work has thrown nearly all the parsing theory away and instead uses learned geometric potentials to build scoring (ranking) functions that are much more accurate. Once again, "dumb" theory (deep neural nets) works better than "smart" theory (grammars, ab initio simulations).
> At this point I'm wondering if it is worth trying to build my own desktop on top of Windows Server Core.

Oh, I'm not the only one thinking this then! That's good to know. For years I've been tinkering at the edges of this by having my own app launcher, and my own desktop widgets, and an explorer style start menu navigation app.

All I need is to hook into the systray (although, do I need that? it's just a distraction), and put together a good/fast app switcher app, and I could ditch explorer.exe and the startmenu app completely.
I'm sure even Nat Friedman saw github1s because it was high up on HN and he frequents the site.

When I saw github1s on HN a while ago I thought Githuh should just hire whoever built that.

Difficult to argue if it was a plain rip-off or not, because the idea is somewhat obvious if you work in that space.

BUT, it's amazing to see how innovation is driven by individuals and small players faster then large companies - because it's a fact that github1s was first!
On Linux you don't need Docker at all. You can use containerd directly (or via alternative tooling such as CRI-O or Podman). Kubernetes has already deprecated the Docker APIs and uses OCI APIs to spawn containers.

https://opencontainers.org/
I would think that training a NN falls squarely in fair use.
I'm not saying it's a good situation, but it's not terrible yet.
In 2008 we had USB flash drives which extended only two millimeters beyond the laptop when you plugged them in, and Wifi dongles in the same form factor.
Imagine if we had a National Endowment for the Fonts. A chunk of cash set aside, and every year a panel reviews all the fonts that've been created that year, and divides up that cash accordingly.

And then, save for the ability to claim credit for creating a font within one year of the font's creation, we remove all intellectual property protections from all fonts forever.

The size of the industry creating fonts would scale to whatever the size of the kitty can sustain. Some hobbyists would find themselves surprisingly rewarded for their work. Nobody would have to track or license anything.
Software Is Written for People
The herd immunity threshold for the Delta variant is so high as to be effectively meaningless.

https://www.businessinsider.com/delta-variant-made-herd-immu...
Yes, they're suggesting that bridge building isn't adversarial.

In bridge building you might often ignore questions like "what if that nearby skyscraper fell on the bridge" or "what if there was a 100-year flood every day for a week". They're scenarios that can conceivably happen but they're very unlikely.

In computer security, you wouldn't be so safe because you need to protect your digital bridge from an adversary who has no problems demolishing the nearby figurative skyscraper.

Of course there are real-world situations where bridge building is adversarial, if you're in a war-zone for instance. I think the author is discussing more civil situations like "should we spend an extra $1B to make the bridge asteroid proof".
Unfortunately this clearly won't happen because of the staggering amount of people even on HN who see nothing wrong with having on-device scanners reporting back to HQ. I'm seriously baffled by the number of apologists and people who see nothing wrong with this or who flat out refuse to admit that this can lead to abuse.

Once the on-device scanning Pandora's box is open, it's trivial for governments to request more stuff to be added to the databases and Apple can't claim the defense of "we have no such ability currently" anymore.

If I was paranoid I'd wonder how much astroturfing is going on here.
Don't be a jerk.

OP clearly stated he didn't understand it:

> When it's just "if" it goes after the "for", when it's "if/else" it goes, all of it, before. I still don't understand why it's this way

and discussing it here on HN shouldn't be punished.

...

Back to the topic at hand
...

List comprehensions save you enough syntax to be worth it, IMHO:

mylist=[]
for i in container:
if i > 10:
mylist.append(i*2)

vs

mylist = [x*2 for x in container if x > 10]

... That's a very terse, clean request for work and arguably it's easier to read than "for(int i=0; i<10; i++)", which we've all acclimated to by the end of CS101. I think they're quite worth the trade-off.
Because then you would lose in the buzzword bingo game.
> Shit breaks in ways you don't expect.

It broke because it could not hit an unessential cloud service. This is absolutely something someone should have expected.
I assume your joking, but there has been a problem of people taking things far too literally in this thread, so in case not, I meant developers being often unfairly harsh to other developers.
Sometimes I wonder how many people are running experiments on HN users to see what percentage of initial comments tend to be reflexively about the headline as opposed to the actual conclusions drawn in the article.
What tool is that? It sounds useful.
WSJ: How Honest Should You Be During Your Exit Interview?
I fully expect them to eventually go ahead with it, I just wonder if they'll turn this on via a flip of a switch when the device phones home or it will be a software update. So basically: will upgrading to iOS 15 be safe for now?
The big takeaway for me: Linux isn't a viable alternative yet for most people.

We have no alternative to being stuck with Apple. I had always thought I chose Apple. But it wasn't a choice really because there are no other viable alternatives.

I'm typing this from a new Linux machine I purchased in response to Apple's surveillance announcement. The hardware and support is terrific. But Linux falls short.

- For a casual user, Linux doesn't support bluetooth headphones, and the mic is basically impossible to get it to work. That means I can't have video calls.

- To get my mouse to work I have to clone a github from some random person.

- To install Brave I have to use the CLI and copy and paste a blob of commands I don't understand (https://brave.com/linux/).

I'm not a developer. I need to work. I just need a computer to work on and have video calls with a bluetooth mic. Not doable on Linux after spending $1500 on a new computer.

That said, open source, end to end encryption is the only path forward. Linux must be viable.

If you work on Linux, thank you. Please continue to be empathetic to users who have no idea what a CLI is and have no interest in learning and just want to work using open source systems.

If you are a regular person who wants to use Linux, be vocal about it. Donate money, file bug reports, complain and let people know what you need. Buy from companies leading the way like System76 and Purism. (I bought from System76, highly recommended)

Linux has been built and used by brilliant mechanics, but it is time for Linux to be used by all.
Yeah presumably people who are applying for an internal transfer/promotion are looking for a change in their role. If they get rejected then they are likely to look around outside the company for a similar opportunity.
You miss my point.

I offer that firsthand observation makes for better knowledge than secondhand.
Well that's amazing captain obvious.
why not both? this cynical scared uncertain fearful viewpoint is slamming Pandora's Box closed, trapping hope inside.

tech can empower & ennoble. i'm not going to present arguments. open source is amazing & incredible & can help lift us up & keep the door open to the future, to always be adapting. we can rejuvenate ourselves & build new ways of doing things. if we have the will. i do. i think each of us need to assess what we wish to deploy our wills towards, and tech especially open source tech is here to make you super powerful & to reinforce your ability to structure & determine how you want to do things.
Your assumption is incorrect. This is about Docker Inc starting to charge money for Docker Desktop: https://www.docker.com/blog/updating-product-subscriptions/
So you don't think any alcoholics work for the NSA?
"yes I know that it's complicated and means many things, that's not what I'm talking about here"
non-paywall: https://archive.is/BxOyx
If you read a lot of the top body builders who are professionals at getting to single digit body fat methodically and repeatedly they’ll agree with you.

If you burn more calories than you eat you’ll loose weight. Doesn’t matter what those calories are.

As you say if you choose to eat low nutrient food below your required daily intake you may loose weight but wouldn’t recommend it for a healthy diet. Choosing better calories may help loose weight quicker as overall health improves but the fundamentals are the same, you are consuming less than your body requires.

Some people may be surprised that if they eat better the volume of food they eat increases but total calories decrease. It’s surprising how calorie dense junk food is which leaves you hungry as low volume so you eat more to feel full.
Ah, but what about the children oppressed by authoritarian governments? If we give those governments better tools for oppression, does that harm more children than CSAM reduction helps?
Oh! I was not aware of that development. Yes, please, use the github version.
PepLink and Cradlepoint are two vendors who make stuff that works well. Ubiquiti also has a failover solution.
That seems crazy from the production side. Think of what it would look like to manufacture 2,200+ macs per hour (19,000,000 year).
Isnt part of the issue here copyright law? If they don't shut down things like this then eventually one of them grows large enough that it does start making money, ends up in court with Take-Two, and the judge could say that GTA copyright doesnt hold up since they failed to protect their copyright when they knew there were many people infringing on it.

I don't support this action by Take-Two but I think this is more of a legal situation rather than a, "How dare they try to rip off our game?" situation.
Ask HN: What type of personal NAS would you recommend?
It's 2021 and I am still using my home-built NAS (FreeNAS!), but I am increasingly interested in reducing energy consumption and maintenance time (mostly to improve compatibility with the family life, which leaves me less time to tinker with hardware).

So I humbly ask the hivemind:

- what are good solutions for storing personal backup on-site (other than a bunch of external hard drives)?

- What are some caveats that I should avoid?

- Can I trust the 'standard' companies (Synology, QNAP, Seagate, ...) to keep my data sufficiently safe?

Strong opinions, war stories, and all other suggestions are highly welcome!
The cite even researchers as leading to the decision. Maybe flaws with perceptual hashes? It took a mere day to discover a hash collision after reverse engineering the system. Granted, the colliding image looked like a grey mess, but I wonder how far a malicious party might get after a year.
> “A relatively small group of parents – mostly white – control the lion’s share of the wealth available to children,” the authors conclude.

> "Wealth is calculated by aggregating a family’s assets and subtracting from it their debts. The median for white families largely consists of the value of the homes they own minus mortgages, with additional wealth coming from savings and inheritance."

There's enormous racial inequality, but if your study attributes most of the difference in "wealth available to children" to "home value" you're not making reasonable measurements-- that wealth isn't available to any children. On the other hand, living in a nice (or even not crime-ridden) neighborhood gives a lot of advantages, but we already know that from zip code data. Maybe the actual point being made is that the nicer neighborhoods are much less available to minorities?
($_$) Why indeed...?
The bad press led to them blinking.
> There's just no way that it's fair use to distribute a decompiled copy of a game. Reverse engineering and decompiling are generally legal, but they don't strip away copyrights from the code.

In France it's legal to redistribute it if it's for "interopability purposes" which is very easy to defend in this case since RE3 is primarly used to make a massive amount of ports (Switch, Vita...) which would not exist without this project.
My advice. Make sure you have the exact same class of stock that the CEO holds. That way you know the decisions they are making are designed to maximize the value of stock and there is not a conflict of interest.

My assumption is that if I have a class of stock that is different than that of the executive team, it's worthless. I've learned this hard way.
Hand washing is not widely known to have harmful side effects that sometimes even require hospitalization, and sometimes even cause death. Same for unloading in designated places.
Generally, I really very much like the style. I wonder about the skin tones and inclusion. I only see yellow supported.

There's an argument to be made that just having 1 unrealistic color could be more inclusive than many skin tones, but the characteristics of the people look white in general. Like, even the curly haired person. They just look like white people. I'm white, but this doesn't seem very inclusive.

Is there a skin tone variant I'm missing?
Great information and so nicely presented. Reading through it i had to stop and wonder, why aren't more articles written with this type of interactive data to back up the author's points.
What if you do it on you desktop?
Often folks who make these mods are young or based somewhere outside of the US. Not that there couldnt be a job for them but its not all that likely that there would be a role that would actually be a good fit skill wise and location wise if there were even eligible to work in that country.
Congrats on selling your iPhone so fast. I managed to purchase a System76 laptop in the meantime, typing from it now.

The cat is out of the bag. You and I have realized Apple can make these type of changes whenever they want.

I'm disappointed to report that Linux needs a lot of improvement to be viable for most people. I'm forging ahead, donating to open source software and hardware projects, filing bug reports, and generally bringing the Mac spirit to Linux. "It just works."

What phone did you switch to?
Some resources I've collected on the topic:

https://danluu.com/startup-options/

https://github.com/jlevy/og-equity-compensation

https://gist.github.com/yossorion/4965df74fd6da6cdc280ec57e8...

https://news.ycombinator.com/item?id=2623777

Others in this thread have posted great advice. You want to know the most recent 409A valuation, and you want to see the cap table (you might be asked to sign an NDA, which is a reasonable ask). Also, its unlikely your role is going to give you enough pull for an acceleration clause or similar (in either the event your role materially changes or an acquisition occurs), so if you do want equity and they're willing to provide it, get as much as you can so you capture as much value as possible during your tenure and vesting period. The difference between 10 basis points can be material in the event of rapid growth and eventual liquidity. The answer is always no if you don’t ask.

The equity is more likely to end up worthless or a trivial amount more often than not, but you can take steps to derisk the devaluation of this component of your compensation.
I recently discovered this feature and started using it to explore repositories and it's saved me a lot of time. My use-case is pretty simple but you can definitely do a lot more with this. For those that prefer a visual example you can watch my 2 minute YouTube video[0].

Pros:

- No need to clone code base to just explore it (cmd + p to search files)

- A lot of VS code extensions are available to use out of the box: Vim, themes, syntax highlighters

- You can import your VS code's custom settings.json + keybindings.json

Cons:

- Not all keybindings work since they conflict with the browser (cmd + shift + f to search all files sometimes bugs out and makes browser full screen)

- Not all extensions are currently available

- The terminal doesn't work

[0] https://www.youtube.com/watch?v=uTTGCgQQhgw
this is one of my favorite art pieces. I feel like it's a clear example of an artist playing a game at a higher level than the people marketing, selling, and consuming the art.
Of course they make sense. Maybe they don't make sense today but they made sense back then to the people who started using the idiom. That's what I meant by cultural context. Something in their culture gave meaning to those words.
In a fairly liberal area of PA I saw a manager of a Walgreens very aggressively (not physically) confront a shoplifter and yell out to never come to the store again. The punk tried to respond, but ultimately cowered to the anger of the manager.

In TX they'd be more intimidating, I'm sure. Unless corporate bans guns.
This just happened with me, applied for a few internal positions I was told I was qualified for, then later found out they had changed their minds. No other opportunity for growth internally otherwise, so my only option is to look outside of the company.
It may be a tragedy, but I fail to see why it is a tragedy of the commons? Which resource that is a available to all is being overused? High-paying dev jobs? Those are not a commons in the sense that tragedy of the commons implies because lower-quality devs don't stand to benefit by only taking a smaller part of the job.
Great leaders inspire action (2010) [video]
I think they're referring to Settings > General > Storage or something like that
The reasoning behind your salary amount as you get older
Is There a Correlation Between Asperger's and Successful Founders? (2014)
Strange that they do this delay so late... the damage is already done, so why bother now?

Apple's leadership must be quite confused.
You can try to negotiate but the options bands are usually predetermined and approved by the board of directors. Trying to get an exception passed through can be difficult and usually only for leadership positions.
There's some trouble in afghanistan (that's kinda new)
I agree with the author on the merits of the file abstraction, but I think the concept should be updated for networked devices. We need file formats that support both offline usage and seamless sync over the network.

For example, here I use a merkle DAG-based file format to represent CRDT-like types:

https://www.hyperhyperspace.org

The resulting abstraction can be universally looked up using a hash (or short sequence of words), can be modified offline and synchronized flawlessly. It's still WIP (for example, you still can't export it to an actual file, hehe).
I'm fully bought-in to VSCode, though I can still appreciate the benefits of diversity

Unfortunately I really doubt they'll ever offer alternate editors, especially given the technical challenges involved in embedding it in the browser, connecting it to whatever hosted environment it has, etc.

The best you might hope for is that they'll provide a terminal to the workspace, from which I could see text-based editors being available (in fact... I wonder if you could do that from VSCode's built-in terminal)
Pre-pandemic, Ford sold a pickup truck on average once every 30 seconds.
You're not generally going to be able to negotiate share classes in serious companies.
> Linux doesn't support bluetooth headphones for example.

This is not generally correct. I've been using bluetooth headphones with my Linux desktop computer at work all day, and probably over a decade in total. Closer to two.

I don't doubt your negative experience or that it's an interesting data point, but let's not stick to factually incorrect things, either.
Its a cycle on HN.