skysight-inc/HackerNews huggingface dataset:
I'm the owner of my small software development shop. So that makes me management. I'm also the principle programmer of the code we develop. We have junior developers whom I manage. There are several deep problems with the rules described above. The primary problem the assumption of agency inherent in these recommendation. The manifesto assumes that interests of the employee/programmer are identical to the owners/managers. Most of the time they are aligned. Occasionally, usually on critical decisions, they are not.

Take for example the principle of code ownership. I would very much like my junior developers to own the code they develop, fix it and take pride in maintaining it and refactoring it. However, for some of the individuals, their objective is to learn as much as possible in the shortest period of time, so they can grow and get higher paying jobs. This is a perfectly legitimate, indeed desirable objective, for any individual. However, this also, often translates to a lack of interest in maintaining code. So as their manager, I also become the owner of the code. I find myself, maintaining a bunch of code. I'm okay with this. I do delegate some maintenance of the code to others, but I usually find myself modifying and once in a while rewriting the code, until it is in a generally stable state, that does not require much maintenance.

Them there is the idea of voluntary and free collaboration. In general of course, employment is voluntary, but I'm guessing the recommendation is not made in that sense. The idea I think is that programmers should be free to choose their own projects, possibly their own tech stack. That does make sense within the confines of a given business need. However, free reign can be dangerous. I routinely find, that my programmers, prefer to rewrite code in the latest fad framework, rather than simply fix issues with old code. In one extreme instance, I had a programmer use reactJS for what ended up being about 20 lines of plain Javascript. It seems like he wanted to learn to use React. I deployed him onto a project that actually did need react, and rewrote the original code in plain JS. It's now code that needs no maintenance at all.

Nevertheless the sentiments expressed in this manifesto are important to keep in mind I suppose.
Yes, it is a consequence of von Neumann archs.

No, the fact that current archs encode data and code in the same memory space and there are vulnerabilities does not mean the separation is not possible.
> Everyone goes through the initial shock of complaining about the "ugly markup", the violation of separation of concerns, etc.

Hmm, that's not really my main concern. My main initial feeling is that it feels like just as much work as writing plain CSS?

For comparison, I've been using Bulma for a lot of my projects so far, and given that many websites/web apps really don't have any special unique layout, it's covered my use cases very well so far, to the extent that I really don't recognise the anecdote of needing lots of little `margin-left: 3px` rules. (Though a magic number like that would be a red flag anyway...)

The primary benefit that Bulma gives me there is that it's just much less work! I really don't need to throw together some shadows, rounded corners, borders, etc. to make something look like a card, but I can just use Bulma's `card` class, and set some global settings w.r.t. colours and dimensions.

Is there a reason I might be interested in Tailwind still?
I doubt they will be stored forever. They will be lucky to make it through a great recession. A forgotten scratch in a forgotten passage can last as long as the building. But digital media requires someone to constantly maintain it. If we all move from Instagram and Facebook goes broke, you can bet those selfies will go the same way as geocities.
thank you. I never considered it would be useful on desktops too.
I guess we now have expectations about how web pages behave in a browser, and what we can do with them; but when the browser loads a PDF, all that is gone, or not working the same way.
Nope. The usb-c on rPi doesn't do usb 2.0.

I think that when plugging an usb-c into an usb-c, we can assume it won't explode, but that's pretty much it. And I wouldn't totally bet on it.
Morgan Stanley already is betting on a return to positive growth sometime in late Q2. I won’t bet against them.
Dell Laptop Question
I have a desktop and laptop pc just for the purpose if one goes down I can the other one do research to possibly find a solution to fix ix it. That being said, I use my desktop 90% of the time and use my laptop about once or twice every 2-3 months. Should I remove my battery and unplug my charger after each use?.....
Origin of new US coronavirus case is unknown
Full disclosure: I have a very patchwork CV.

I think it's disingenuous to put "the slightest hiccup" and "<2 years" in the same bucket. Even counting a 6 months warm-up phase, it becomes very clear from interactions with your managers, customers and HR, if a job works out for you.

Let's say you put out a plan for your professional development within the first year at a new job, and you point out within 6/9/12 months that you are instead put on dead-end projects, working on unchallenging problems that don't reflect your career interests - that's not going to change after 2 more years in that job.
As I understand it, this is effectively what CFDs (Contracts For Difference) are, which seem to be offered by a lot of discount brokerages etc. (at least here in UK, not sure if CFDs exist in US)

A bet between trader & brokerage that the price will move a particular direction, with no actual trading or stock ownership occurring

https://www.investopedia.com/articles/stocks/09/trade-a-cfd....

EDIT: It occurs to me this may not be quite what you meant after all, but I think the end result is fairly similar
AG Balderas sues Google for illegally collecting Personal Data of children [pdf]
In the recent events, like https://news.ycombinator.com/item?id=22178917 we have learned that there is a lot of data moving around, including various third-parties.
It boils down to two things. One is library/tool design typically makes it too easy to make user input be in-band with execution. The other is that most tutorials/guides only show you how to do things in-band.

An example of a tutorial for SQL:

SELECT first_name FROM users WHERE last_name = ‘Smith’

They then have an exercise to hook this query to a text box in the program, where through omission, the programmer is guided to use string concatenation to build the query.

If from the first SQL statement to the last that a programmer saw was parameterized, it would be much harder for them to reach for string concatenation.

Most modern web development frameworks make it very hard to insert un-escaped text into the DOM. You have to go out of your way to introduce a XSS vulnerability in your web application with one, and most of the tutorials and documentation about the framework warn you about using the raw HTML functionality.

Another way to look at it is that the out-of-band way of doing things is typically perceived as either lower in performance, harder to do and/or less elegant (eg: C-style strings vs pascal strings).

I consider anything with user input that is done in-band (eg: escaping is a fix) to be doomed to fail. This is similar in idea to the cryptographic doom principle where decryption before authenticating the message is ultimately doomed to failure.
> junior developers ... objective is to learn as much as possible in the shortest period of time, so they can grow and get higher paying jobs. This is a perfectly legitimate, indeed desirable objective, for any individual. However, this also, often translates to a lack of interest in maintaining code.

I've seen this over and over again. It can be frustrating for a junior developer to create a large class hierarchy using arcane language features to solve a problem that can be done with a function and a for loop. The problem isn't so much that the code itself is more complex than it needs to be, it's that when they leave, someone else will have to pick it up.
And, with global demand for oil dropping, gas will get cheaper!
Why your brain is not a computer
Probably 80% of those are hack solutions intended to prolong the service life of weird embedded/industrial x86 systems.

If you go far enough down the rabbit hole of weird embedded system component makers, and system integrators (mostly Taiwan based) you'll find all sorts of weird stuff. The sort of pieces you'd use to build a x86 system running a complicated thing in a factory or industrial process, or a kiosk... Armored stainless steel keyboards, fanless systems with big heatsinks built into the chassis, and so forth.
I mean yes, that's what I said. It might or might not happen. But it's just a scenario where it will be a zero-sum game or less. I'm not saying it will happen, just that it is possible.
https://twitter.com/Foone/status/1224220346988949504/photo/1

https://twitter.com/Foone/status/1224220403821764608

These sort of adapters are used a lot by people like myself who muck around with retro hardware. No need to rely on hardrives that are 20-30 years old. Just plug in an adapter in and then swap out SD / CF cards.

There are even CF to ISA card adapters that you can buy in kit form:

https://www.lo-tech.co.uk/tag/xt-ide/

However the market is obviously very niche.
China is not a third-world country.
I'm currently going through a process like this with a lawyer in a foreign country; they wanted me to provide banking details, proof of identity and address.

Most of the details I could supply by email but they were so worried that the emails could/would be modified that a lot of this had to be done via snail-mail, and phone-calls where I read out my banking details.

On the one hand very understandable, but on the other very frustrating.
Agreed. Widely distributed software should be power optimized. Megawatts shouldn't be needlessly wasted.
I do some work for large affiliate-sites, and my experience is that the small sites monetize with links to amazon and AdSense and the large ones don't care about GDPR.

Building a privacy-first ad network would be a good thing with regards to harm reduction. We're not going to "fix" the need for all the sites wanting to monetize with ads, but if they had a less harmful option than helping Google track your every move, that would be progress.
The quality of the product is usually not the main concern in a boycott. They make some great software, but they are a detestable company.
CO2 has a logarithmic effect on temps. Doubling the current PPM will have half as much of an effect. I don't think the situation is dire or critical at all. It's mild. And people instinctively believe this even if they overtly signal that they don't.
> This suggests an interesting tactic to build public support for mass surveillance.

I'm not entirely convinced that mass surveillance by government is worse than mass surveillance by huge private corporations. In democratic societies at least, the public has at least some control over the government. It has virtually none over private entities.
Make it run in the browser, using web workers to not block main thread. Most tooling is assumed to be used in a terminal... Make libraries instead of terminal applications, so that the tools can be used anywhere. Most people, including most developers, are not comfortable working in a terminal emulator. Even if you are, you probably google for, copy/paste the commands into the terminal... terrible inneficient and unfriendly for beginners. Instead provide easy to use libraries, that can be used in monolith apps with some minor glue code.
Then call it reinventing the wheel. It still deserves to be weighed properly against the alternatives.
How many people named O'Brien are told they can't sign up, or passwords get rejected because they contain special characters?

It's crazy.

Even if you're using 1990s technology without parameterised queries, it's not like it's impossible to say `insert into users (name, motto) values ('O\'Brien', 'foo\' OR 1=1;')`.
Why not incrementally share code with the current Facebook supported stack? Create PRs to Babel, Webpack and ESLint
Yes, but class names doesn't affect the semantics of their tags.
Drinking water is frequently the bottleneck, as stable food stores are cheap and straightforward.
how can a star possibly be non rotating?
Cool, decentralized lawbreaking as a business. This is better than a centralized criminal syndicate because ????
This is really nice. I could imagine smaller MCU integrating this and perhaps we could get rid of bluetooth. Don't use the latter very often, but the one advantage I know of is low power consumption.
See https://phabricator.wikimedia.org/T243484
"Frugality dies in darkness."
If I were in your shoes I would go to the black market and would secretly maintain a 90-180 day supply buffer, pandemic or no.

This is clearly a case of a law that may have been well-intentioned majorly infringing upon your rights.
> If you don't like it, you move somewhere else.

Yes, and if you don't like existing regulations you can just move to another country with different laws. No big deal, right?

I do operate my own site in addition to selling on multiple marketplaces, but even with my efforts to diversify I am dependent, in part, on the sales I get from Etsy. I would be in a lot of financial pain if I lost that revenue stream, so "just move somewhere else" is not really an option.

Sometimes regulations are necessary to keep big companies (Amazon, Ebay, Etsy) from abusing their customers (including small time sellers like myself). Regulations may not be the answer in this case, but it's at least worth discussing.
Uh, I found some external deps. Sorry seb!

https://github.com/facebookexperimental/rome/blob/master/pac...
Bots also regularly check for .git in common folders:

404 - GET /admin/.git/config
404 - GET /shop/.git/config
404 - GET /beta/.git/config
etc..

or adhoc backups using the current date -- stuff that you think nobody would even try.

404 - GET /2020-02-27.zip
404 - GET /backup20200227.zip
404 - GET /backup.zip
etc...

No webserver should be serving .folders in it's default config.
Learn Rebol
Is this always true?

To take it to extremes - just to prove that overpopulation can lower output, imagine our population increased 1000x overnight, do you think in this scenario the economy will grow? I imagine this situation would not be handleable and people would be going completely crazy killing each other.

The above scenario is not realistic, but what about if population grows and grows and then comes a point where we realize that for example we have

1) Reduced potential living space by a huge margin due to for example climate change or pollution.
2) We have no idea how to solve this issue. We can't move to another planet, we don't have the tech yet even if this was possible.

There's many potential ways we could fuck up which causes there to be limited basic resources that at the very least would make the world scramble to solve this issue and produce less value because they have to focus solely on this issue and large proportion of people would have to be fending for themselves, with sometimes only options to get basic necessities is to steal from others.

Or the people who are rich, thanks to using the monopoly principles will be good because they have enough money, power and control to buy the remaining resources.
> There are tons of free and pretty great UI kits, CSS themes, etc already.

There are tons that look visually appealing, but very few I've found that take a component-based approach (where they document each component individually - or think about how they interplay with each other). I've found the CSS is usually muddled, they often have legacy build pipelines that has to be rewritten to fit with Webpack, and a distinct lack of flexibility.

If Adam solves that side, Tailwind UI will be worth the money.

If it causes other theme providers to up their game, even better.
No, I'm not Haiku's lead developer
Telling someone where to find drugs is not illegal (in the US — unless you’re compensated).

I imagine it’s the same for copyrighted material?
If only they weren't wrong in three ways (taste, nomenclature, artistry).
Excerpt:

"To whet your appetite, here's an example that demonstrates just how potent REBOL code can be.

The following script contains 10 useful programs in LESS THAN HALF A PRINTED PAGE OF CODE:

FREEHAND PAINT: Draw and save graphic images

SNAKE GAME: Eat the food, avoid hitting the walls and yourself

TILE PUZZLE, "15": Arrange the tiles into alphabetical order

CALENDAR: Save and view events for any date

VIDEO: Live webcam video viewer (not just a static image)

IPs: Display your LAN and WAN IP addresses

EMAIL: Read emails from any pop account

DAY CALCULATOR: Count the days between 2 selected dates

PLAY SOUNDS: Browse your computer for wave files to play

FTP TOOL: Web site editor (browse folders on your web server, click files to edit and save changes back to your server, create and edit new files, etc.)"

My opinion: Pretty impressive for less than half a printed page of code... in the same league as Lisp/Lisplike languages, R and Unix Shell for ratio of terseness to functionality...
I feel like a lot of people don't realize how gloomy and cold SF's microclimate is.
I was wondering the same, but I saw the GP wrote "rotating quickly" in the first use of "rotating", and so maybe "rotating" became a shorthand in the rest of the post.
Python 2 Community: We are in hell, we have to stop working on everything to upgrade to Python 3, there is no straightforward way to upgrade, many of our python 2 libraries haven't been updated, and there are tons of little bugs that are hard to fix.

Python 3 Community: Look at thing cool dictionary merging thingy!
Those are the notable outliers though, most of the B2C Bigtechs are adtech companies: Google, Facebook, Twitter, Snapshat etc. Those adtechs are the cancer of our century.

The B2C business is fortunately more product oriented.
> (...) doctors at the hospital said they first suggested she be tested for the coronavirus, as she had a high fever. Instead, the woman went to a buffet lunch (...)
> In the World when more and more people belong to unknown 3 months earlier "oppressed minority" nobody wants to take chances.

Oh come on. What country are you living in where they only managed to catch up with civil rights in the last three months? Last added protected class in the US was 2014, if I recall correctly.

Can't we keep those "we live in a society" posts confined to reddit?
> "The people in SF aren't magical; people outside of SF can do the job just as well."

We agree. But if there's expertise in SF that you can't get anywhere else, then you end up hiring from SF too.

In my experience this is exactly what happens with companies working with remote workers, they only hire from SF or NYC or other expensive cities when they don't have a better choice.

---

> "In my experience, fully remote teams are much better at communicating than mixed or onsite-only teams. Why do you think remote work brings poor communications?"

I have more than 10 years of experience working remotely and sometimes I hate it. Functional remote teams are better at communicating, yes, but that's survivorship bias [1] in action ... the people themselves are better, due to the selection process.

Communication skills can be honed of course, but the people have to have an inclination for it and they have to be capable of self management. I have no idea if better education and better processes can indeed make a difference, but I've seen people and companies failing hard at remote work and the companies that succeed in working remotely are those with a strong culture for it, a culture that's not easy to build. And their hiring process does tend to select for those capable to function well remotely.

N.b. I know this is a total anecdote, sometimes I wish we used the scientific method in advancing this field, but alas we don't.

[1]: https://en.wikipedia.org/wiki/Survivorship_bias
Energy is not infinite, and the subset of that energy that can be used without killing the ecosystem we depend on is very limited.
You're thinking about this as if data can be in one of two states – untrusted or sanitised. This is not the case.

When you output arbitrary data, you need to encode it in a way that is suitable for that context. These contexts might be:

- Generating a web page.

- Including in a JSON response from an API.

- Sending an email.

- Storing in an SQL database.

These all use different formats / protocols that use different syntax to encode data. How you correctly encode data for one of them is different to how you correctly encode data for another of them. There is no method of taking untrusted data and "sanitising" it so that it is correct for all of them. What works for one will break for the rest.

If you want to handle arbitrary data correctly and safely, store it as-is and when the time comes to use it, encode it appropriately for the context you are using it in. Where possible, use tools and systems that get it right by default instead of requiring developers to remember to encode correctly, e.g. generate HTML with templating engines that encode data as HTML by default, and use parameterised queries with SQL.
I evaluated Couchbase mobile about a year ago and found although it worked well once setup there was a lot of overhead and the docs seemed a little all over the place and the fact that you can't also use the same DB on the web anymore with PouchDB meant I ultimately dropped it. It's a shame because there isn't really anything open source / self hosted like it for mobile.
This is bad advice. Definitely sanitize on input, then escape on output. You should never be knowingly storing unsafe input.
Facebook pays for this kind of stuff? Why not spend the time incorporating a decent language instead of trying to fix the fragmented hot mess that is js
That appears to be for the optional web frontend...not the tool itself.
I already maintain a 90+ day supply of food and medications and most consumables/supplies in my homes, as a matter of course. I took the lessons of the Battle of Berlin to heart. I also have a half dozen P99/P100 masks already, for the same reason.

The only specific measure I am taking is stocking up on drinking water, my supplies of which fluctuate between 15 and 30 days as I consume
it and periodically reorder. I am bumping that to 60 on the off chance that there is a major pandemic.

I am one of the high-mortality-risk groups for any respiratory ailment (which is why I religiously get flu shots each year), so it’s entirely possible I will just stay home for a few weeks/months while I wait for any potential outbreak to blow over.
Similar story with RethinkDB which was actually a really nice database. I know it's not dead but I can't imagine starting a new project with it.
Ladies, Gentlemen, Welcome to Bitcoin Club – Here Are the Rules
Hi, I'm Alicia from the Veneto (Venice if you like). I'd like to point out that we have been living in buildings that don't need air conditioning for 800 years, because our venacular architecture is designed to keep us warm in winter, yet cool in summer.
If you check the pull requests tab there's also a showcase of why some people resist putting stuff on GitHub. Most of the pull requests are low-effort tickets like "update bart.css" with no further explanation and a bunch of random changes in the diff.
Love: A New Smart Contract Language for the Dune Network
That's fallacious generalizing, though. "All sorts of things have been allowed, so allowing this other thing can't hurt." Yes, yes it can.

I think we can agree that, say, putting a chip in everyone's heads that transmits their thoughts to the government would indeed, as you put it, cause the sky to fall. I'm not trying to suggest that outlawing encryption is the exact same thing, but I do believe it would cause much more injustice than it would prevent.