skysight-inc/HackerNews huggingface dataset:
There are a bunch of things that don't really make sense in modern software. For example, we now commonly package things up as docker containers with immutable/ephemeral file systems. For better or for worse, that's how a lot of server-side stuff gets deployed.

The whole point of that is simply emulating what the program is expecting to such an extent that it can run as if it was running on a normal file system. Often that means working around many broken assumptions. For example it might expect some configuration in a particular place in the filesystem. However, since the filesystem is immutable, you can't really modify that after you build the docker container. So you work around it by e.g. using dockerize to template the config file and then inject the actual configuration from the environment variables on the docker command line. Likewise, applications produce logs but writing those to an ephemeral file system is kind of pointless; so you instead write to stderr/stdout and leave it to the host OS, Docker, Kubernetes, or whatever is running your container.

These workarounds are something to avoid if you are writing new software. When you ship as a Docker container, you don't care about the host OS. It might be Linux, BSD, Mac, Windows, or whatever else is capable of running docker containers these days. Chances are that the host OS itself is also running in some VM if you are shipping to a cloud environment. The nice thing with Docker is that you (mostly) don't have to care about any of that.

With WASM this is extending to other places. People are running edge computing functions in WASM form, running WASM programs in a browser, or even in operating system kernels. Most of those places don't necessarily even have filesystems, environment variables, or log files that you can access (or should access).

IMHO modern development requires a bit of upfront thinking on how to configure things, where to send logs, and where to store data. Rarely is the answer for any of those things a file on an (ephemeral) disk. Logs need to be aggregated so they can be analyzed. Local storage is not always available/reliable. Configuration gets injected rather than loaded from a file. Files/state gets written to some specialized service (a networked file bucket, some DB, a queue, REST service, etc.). Most of those things are accessed via networking rather than a file system.

This is also true of most frontend development these days. A browser application does not have a filesystem; it has no access to environment variables; and while it has a console, it's considered bad form to actually log to it in production apps. Instead browser apps write to remote services (including logging and analytics data) and get their configuration from things like cookies, in browser databases, and remotely stored user preferences.

Come to think of it, most modern development is kind of detached from the operating system these days.
In Holland some government organizations use Jan 1st as 'unknown birthday' and others use June 1st. Also provides hours of fun for the whole family!
This is a terrible analysis. Neither of the investing mistakes he supposedly made are applicable to his case. Nor was his method "intended to wring the last cent of profit out of a good trade over capitalizing more safely on his market prediction". He feared seizure! Losing a large proportion or all of your capital is not "the last cent".
I’m wondering if Wilbur Ross is cheering this virus on.

This is like a gift from the Heavens to the Trump Administration. They tried everything they could to bring China to its knees, and failed, one after another.

And then, boom, a new mysterious novel little virus suddenly appears from out of nowhere.

And instead of feeling sympathy for the deaths and suffering of innocent people in China, the Trump Administration immediately pounced on the situation for maximum effect. Suspicious..
You act like there is some shadowy cabal running cost benefit analysis of every decision for some evil purpose.

Maybe the free snacks are there because it’s nice to have free snacks and the boss enjoys them? Does there really need to be a more sinister reason?

I mean, I know at our company that I wanted to have drink fridges with a huge amount of interesting beverages because I enjoy drinking a different drink every day. It wasn’t me trying to improve employee performance.
> Meanwhile, the UCs (and UC Berkeley in particular) continue to expand a very expensive bureaucracy (I question how many $500K/year vice provosts we really need).

This seems to be a problem everywhere with universities. You may have a bunch of people Talking Big about efficiencies (staff cutbacks, casualization) but meanwhile we seem to have sprouted an insanely large and well-paid layer of middle management. In Australia funding for teaching, research and administration (actually doing the work) seems like a constant battle yet there's always room for another Deputy Vice Chancellor of Something.
> This is an industry founded upon the principles of innovation and invention, is it not? Perhaps tech can invent a union that can overcome issues found in the unions of the past.

Throughout human history, unions are one of the few ways that ordinary citizens can actually stand up against concentrated power (democracy, revolutions are some other ways). Rather than trying to invent something new, maybe study the past a bit more.
Creating a tool that can theoretically be abused to break laws? No.

Selling a tool with a law-breaking feature, in full knowledge that its main selling point is that feature, that your customers are buying it specifically to break the law? That ought to raise some ethical concerns. You can say that it depends on the particular laws being broken - but here we're not talking about ethical minutiae of censorship or surveillance. We're talking the usual defrauding of the commons through tax evasion.

Creators of VPN software definitely need to consider ethics when deciding who to sell to, what uses to tolerate, what information to store, and how to navigate local laws. Such a business has to deal directly with conflicting needs of citizens, criminals and governments, and thus whatever it does, it's making an ethics choice one way or another.
This guy knows what he's talking about!

Also, Sheetz is a regional gas station (once) popular with street and track racers. I guess it still is, but their food quality has gone through the floor.
Apple’s new iPad Pro could be delayed due to the coronavirus
Deploying a Containerized Application Using Managed Instance Groups in GCP
"Developers, developers, developers" was in 2000, around the same time Ballmer was saying "Linux is not in the public domain. Linux is a cancer that attaches itself in an intellectual property sense to everything it touches. That's the way that the license works."[1]

The context of the "Developers, developers, developers" thing was that MS was fighting against open source to try to attract developers to the Windows platform instead.

Visual Studio Code, Github etc only came after Ballmer left.

[1] https://www.theregister.co.uk/2013/08/24/top_10_steve_ballme...
With midi data being 7-bit aren't you losing out on an awful lot of the available colour space? Or is it near enough to not really matter in this case?
react does not play well with non-react javascript
> remote REST & GraphQL servers are returning structured JSON objects to your program

They are not. They are sending a HTTP message, which consists of just octets and has to be parsed. The parsers have to have a ridiculous complexity for various reasons. The HTTP header contains sublanguages such as RFC 7231 §5.3.1 or RFC 8288 §3.

JSON meanwhile has amassed at least six incompatible specifications with the same exact media type, so there is not even a theoretic hope of parsing all messages correctly. https://news.ycombinator.com/item?id=20736665
> I’m wondering if Wilbur Ross is cheering this virus on. This is like a gift from the Heavens to the Trump Administration

The coronavirus will definitely hurt China, but I don't see how it will help the U.S. in trade policy. If anything, it'll just delay any real trade agreement the U.S. and China could make as China devotes it's political attention to the virus.
Doesn't US have an "ill gotten gains" field on the tax form?

EDIT: Apparently, your illegal income is regularly taxable, and expenses related to (most) illegal activity are tax-deductible. Cool!

https://en.wikipedia.org/wiki/Taxation_of_illegal_income_in_....

"The U.S. Supreme Court in Tellier reiterated that the purpose of the tax code was to tax net income, not punish unlawful behavior."

I do appreciate this sentiment. Separation of concerns.
> The market is a beautiful thing; it will quickly and swiftly tell you if you’re right or not. No need to fret over any apologetic comment.

I thought religion was unpopular here.
Ah, but we're talking about the tech industry, this disruption-obsessed startup culture. As I always say,

> I'm firmly convinced that tech workers will come around to unionizing once they accidentally reinvent it under a different name

https://news.ycombinator.com/item?id=17881029
Ask HN: How to get good at designing big and complex applications?
Hi HN! I am a grad student with a focus on CS, specifically Software Engineering. I like to explore different technologies that are used to build a product and am fascinated by the way people design such big complex systems. For instance, I am taking a class on Operating Systems right now which also requires me to develop my own kernel. I am finding it very exciting, challenging and fun. I would really like to know what all I can do to get better at designing such big complex systems. I try to read open source but it always feels like a challenge. I don't know if I have the aptitude for this but studying CS and the thought processes of people who have spent so much effort in this field gives me a lot of joy. So, if you have any advice, resources, books or tutorials that you think might help me, please do share. I would be really obliged. Thanks!
Authentication and authorization are different things, if the latter is done properly a bit of waiting for the former is no biggie.
"Solve" loneliness. With a "product".

Try to get out of your bubble. To anyone who isn't entirely immersed in that bubble this is absolutely insane talk. It sounds sociopathic and out-of-touch.

Maybe, just maybe, this isn't a problem you can "solve" by engineering. And maybe, just maybe, the solution (if it exists) isn't a "product".
How do people know the result of running this command without running a VM? Is it possible to run OS X in a VM these days?

The command's intention is so obvious I wonder why there is no warning from the os, the shell program or the terminal for such, easily blacklist-able commands. Or is there?
X13? XTRA line started from X20/T20/A20m/R30. Before that was 3 digit like 600E or iSeries 4 digit like i1420. Doesn’t look like there’s so much room in that number scheme.
10kg of rice will last you 2 months.
Lead sling-shot from Perusia, ca 41/40 BC, inscribed FELAS / OCTAVI / LE X E
I'm sorry but if you think Australia is rich without America's defense budget you have some serious rethinking about geopolitics that you need to do.
I’d say it’s worth every penny. You get access to a lot of research summaries and case studies for the money.
> A modern form of this is making fun of flat-earthers, anti-vaxxers, creationists, Apollo conspiracy theorists, Juggalos, and 9/11 truthers, and occasionally engaging in more violent rhetoric toward them.

What do you suggest is done with them?
Well FB

- lets you sign a waiver that you are willing to receive spam

- ensures that you sign with your real name, not a shell

- are not a helpless child that can be endangered

This together guarantees that neither a crime is committed nor enabled.
> react does not play well with non-react javascript

I'm work on a somewhat older project (circa 2015) that started without react, and have also found that to be the case.

End-all-be-all web frameworks seem to be the rage now, but I'd prefer to see a solid library of micro-frameworks that can be stitched together (like jquery plugins, but better).

Also, the idea of a web server transferring over a huge javascript library and app just to load a single page seems wrong. There has to be a better way, a better amalgamation between server and client.
A Tale of Two Formats: Exploiting Insecure XML and Zip File Parsers
I hope that is satire. That “cleaned” result is barely readable and certainly poorly maintainable.
Show HN: Build a JS-only interactive product walk-through for your landing page
Correct, not in Australia.
There is at least a little bit of a dark side to seemingly frivolous perks like snacks, foosball tables, and beer on tap- by spending relative pennies for "luxuries", management is able to paper over diminished investment elsewhere, that employees could otherwise benefit from. Or to hide work cultures that aren't as great as they look upon their first visit. Shiny distractions.
Want, perhaps. Expect, no way. Flying is not a right, it's a privilege, and the FAA makes sure you know that.
But I have seen a few.

For example -

AnnieCannons - They seem to be a pure software consultancy, but aimed at transforming survivors of human trafficking into software developers.

Any thoughts on this?
> No real blame can be placed on the...employer base either

..uh, why?

> they work at razor thin margins and are optimized for just-in-time everything, including cash flow.

This is a risk they take, and when shit hits the fan, they find out why it's a bad one - their employees, all of them (hopefully, not just the little guys) are going to suffer.
Strangling is a good way to slowly replace a system by simply starting to work around it until whatever value it adds is so diminished you can safely pull the plug.

Big software rewrites are extremely risky because they take inevitably more time than people are able to estimate and also the outcome is not always guaranteed.

An evolutionary approach is better because it allows you to focus on more realistic short term goals and it allows you to adapt based on priorities. Strangling is essentially evolutionary and much less risky. It boils down to basically deciding to work around rather than patch up software and minimize further investment in the old software.

Also, there are some good software patterns out there for doing it responsibly (e.g. introducing proxies and then gradually replacing the proxy with an alternate solution).
Billionaire calls for Zuckerberg and Sandberg's removal from Facebook
Or a different way than companies. Perhaps if antitrust law permitted productive individuals to coordinate their interactions in other ways, running a company would not be the only way to do well.
It’s great.
If you haven’t already stumbled on it, have a look for the tv series on Must Farm too. It’s really incredible. I think much or all of it is on YouTube.
http://www.mustfarm.com/bronze-age-settlement/progress/archi...
Tax evasion is a fairly soft crime, it’s shouldn’t be surprising there are people okay with facilitating it.

It’s not difficult to find people who believe, rightly or wrongly, the tax system is unfair.
Hype laden, manipulative article with no substance.

Is the product going to be similar?
That's W.E.B. Du Bois.

https://en.wikipedia.org/wiki/W._E._B._Du_Bois
You said it better than I did. That was one of the issues we ran into since we have third party APIs that require IP whitelisting, certs and VPNs, a proxy just won't work in that instance. Can't wait for the Python implementation...
> Loneliness is because people have convinced themselves that the cost of being with someone is bigger than the reward of being with someone.

"I understand the human condition because I studied microeconomics, and other stories you can tell yourself at night."

> How can technology solve it?

Have you considered that maybe it can't?

A power drill is a great tool. That doesn't mean it's well suited to every task.
Best Android Frameworks for App Development in 2020
Fwiw you can clock a few hundred listens a day for 30,000 a year or 300,000 over a decade, which is approaching non trivial levels for a phone, especially if you're doing anything more than an index scan.
Yes if the government can prove that you knew about it without telling, you can be charged with it.
You can still write your own answer and comment on the wrong answer.

Users who are callous enough to ignore such comments get what their lack of due diligence deserves.
Ask HN: How to form my programmer career?
Hi,
I'm on my last year in the university. I work as intern in a big company. I applied there on multiple positions and i got hired as validation guy. I was hoping that i can switch to development some day but this did not happen yet. I'm feeling like i waste my there or at least i'm not performing as i think i should

Do you have any advice for me?
Should i write some side project for junior job in area that i'm more interested? or maybe you have some artice about similar situations.
> to justify colonialist policies, Europeans engaged in motivated reasoning exaggerating the technological advantages they did in fact possess over other cultures ... and using them to justify claims of superiority not merely material but also intellectual and genetic. (A modern form of this is making fun of flat-earthers, anti-vaxxers, creationists, Apollo conspiracy theorists, Juggalos, and 9/11 truthers, and occasionally engaging in more violent rhetoric toward them.)

Nice try equating colonists with conspiracy debunkers, but the analogy does not hold up. The problem with colonists wasn't their arrogance or personal sense of superiority, it was their violent exploitation of others for their own benefit.

Sitting in an armchair smugly looking down on others isn't very nice, but it's far better than getting up from your armchair and murdering/enslaving/exploiting the people you look down upon.

People who debunk conspiracy theorists use argumentation, humiliation, and appeals to authority. Sometimes they do so improperly. But they aren't colonizing anything.
Labour department warns company for employing ‘too many black women’
If the protein can actually supply energy continuously, it has to be maintaining a gradient. Whatever comprises the gradient has to go somewhere when the energy is consumed.

So where does the water go? If the protein eventually becomes full of water, then it's power storage, not generation.
> or the day we get enough inflation that the Fed has to shift tack and start talking about tightening

I think there's a typo there, and it should have read "the FED has to shift the definition of inflation once again"
I agree, but as I said, you can have some notification daemon or tray icon to achieve the same.
You can salt and hash the new password; and the old password can be in plain text. The old password being in plain text doesn't matter so much if it is not possible to access the legacy system directly from outside of the banks network.
There are some nice pieces in there occasionally, but if you ask me, nothing really replaces managing people on your own and A/B test all those things you hear and read about in practice.

Your personality is unique to you and you'll find external advice fitting your personal style in a believable AND effective way less often than you might think. Even from the same sources, you'll find better and worse pieces for yourself, like for example I adopted the super easy question from Joel Spolsky's "Guerilla Guide to Hiring Engineers" because it's a super good predictor for me, while I found his brainteaser utterly useless after testing both a few times.

Lots of pieces on HBR are rather abstract and handle topics in a meta way, which I did not find very usable. As for me, I'd give my former self this URL for starters and then tell them to dive right in and find out for yourself:

https://www.defmacro.org/2014/10/03/engman.html

Then again, that's the right advice for my own (very pragmatic) personality, so YMMV.
Happy to answer any questions on how we built this, if anyone's curious to use it for their own site.

Is pure javascript (with jquery animations).
I never said they should be compensated the same but saying they are not needed or should not be valued seems plain wrong to me.
Lion's Share Digital – Austin's top design agency
So cool, thanks for sharing.
> very clear stats on transmission outside China

Nobody knows the transmission outside China because nobody is testing anyone unless they are coming from China and show symptoms. Even people with the right symptoms aren't tested, because the general assumption is that it's being contained. But we know it can spread before symptoms show up.
The irony being that Japan recently introduced a visa for low-skilled workers.

https://www.japantimes.co.jp/news/2019/04/26/national/japan-...
SecOps: An Overview
Open-Source News Mobile App – Build with GetFlutter and Flutter SDK
> Given that he opposed me first, if direct contradiction is what requires source, he should do it anyway.

Uh, no, if you're claiming facts, they require sources, always. I only pointed it out when it became absurd that you thought people would accept your word on faith, since it was clear someone already didn't accept your word.

> I literally dis this to very whether I am right: https://www.google.com/search?ie=UTF-8&client=ms-android-sam....

Ah yes, well, you didn't actually verify that very well, because most of the links I found with that search cite the same meaningless "per 1000 people" stat, and the remaining links contradict each other. Also, given the top link is a divorce lawyer trying to sell their services, I'm really not sure which one of those you thought was a credible source.

Some of us search on other search engines with other search phrases, so you can't just assume that everyone will find what you found. See, the thing about research, is you have to actually read what you link, or you haven't actually done research.

We're all familiar with how to use Google to find sources, but if you want to actually participate in an intelligent debate, you should actually, you know, use Google to find sources, which you have yet to actually do. And it's not clever to tell me to Google it when you didn't actually read what you Googled.
Problem: We make a lot of CRUD apps.

Solution: The OS should do it.

Ehhh... Why is that the obvious solution? We can't decide on the right way to do it in user space, why does moving the problem to the OS help? This seems to be based on the whimsical idea that having the OS do it would somehow fix the varied problems of structured communication. Are we enforcing WSLDs in the OS? One size fits all structures defined by the OS? I don't think the rambling thoughts really made it back to the thesis.

That said, I suggest to anyone interested in this stuff to try Powershell...no really! I don't use it often but it is a window into another world where everything has a structured definition behind the text output.
You're not the only one. And don't even get me started on adtech. I share your sentiment 100%. See [0].

--

[0] - http://jacek.zlydach.pl/blog/2019-07-31-ads-as-cancer.html.
New problem: Data serialization is now centralized and there are N ways of converting between the centralized way it's been serialized and everyone's incompatible structural needs.
Thieves are targeting beehives with growing sophistication
>> So if for example I know that my uncle is not paying all his taxes I'm a criminal too unless I report him? Or is it only for bigger frauds?

> Yes if the government can prove that you knew about it without telling, you can be charged with it.

That's not generally true. In the vast majority of cases, simply knowing about a crime and not reporting it is not a crime in itself. You only become liable when you aid-and-abet or join in a conspiracy to commit the crime.

However, it depends very much on the specific crime. Tax evasion may be entirely different than say selling drugs.
....but GitHub mentions are actually useful, and send notifications to users to alert them to look at the post.