skysight-inc/HackerNews huggingface dataset:
What pjmlp and hajile said. Besides:

Yes, I meant virtual DOM. And yes it does. It's another (complex) layer of indirection encapsulating already extremely high level API, that is already looks like the most elaborate API to navigate a tree.

And what advantage does using the dom bring me? Respect my font settings? My system Theme and accessibility settings? In theory zooming should be easier, but in partice it isn't. My keyboard settings more than a canvas? Is is really easier for a screenreader to navigate thru thousands of divs (with CSS!) and images with no alt text then just take a image and OCR it?

Text reflow on mobile is better. But AFAIK Chrome removed this feature because it broke to many websites anyway. Opera is the only brower to do it. Market share ~5%.

Even with the History API you completely break all assumptions about url. You can share a link with a single page app just like you can with this example; it doesn't make much sense, tho.
Pf always seemed so insanely over complicated for simple usage. It's been my one single annoyance with BSD. Are there not any good alternatives with a UFW-esque interface?
BS. Why do we chop time up in random 100 year periods? Oh because it helps us distance ourselves from the original fascism and it's Aryan bastard! But it doesn't work, it's recent even if you append an I to the XX. Turkey is in a moment of crisis. Hopefully we're near the end.

Also, this organisation is not a governmental one already. It is a mathematical rebellion. Ali Nesin is one of the most dissenting intellectuals.
In the US we don't have healthcare provided by companies as a law, some companies do provide ok insurance, but its far too expensive for what you get. Put that money in a medical savings account, and hopefully by the time you're old you'll live somewhere with decent healthcare.
Humans don't come close to approaching the largest biologically-caused extinction events.

Cyanobacteria wiped out most other species on earth:
https://en.wikipedia.org/wiki/Great_Oxygenation_Event

Birds caused mass extinctions and extreme evolutionary pressures: https://news.ucsc.edu/2012/06/giant-insects.html

Trilobites - one of the most diverse, plentiful, and advanced forms of life at the time - went extinct thanks to the evolution of plants.

It is very anthropocentric to view the preservation of the ecological status quo and cessation of evolutionary pressures as a "natural" ideal. Yes, we have a drive to consume and exploit but our desire to preserve what we see as beautiful is no different - it's all just a product of our desires.

I am not opposed to environmentalism - but we shouldn't tell lies about what is natural for life by cherrypicking examples of equilibrium and ignoring the trillions of extinct. The equilibrium you see in other species (ants, birds) only exists due the destruction of countless other species long before humans ever showed up. Just like the stable equilibrium between humans, cockroaches, and pigeons.
I guess I could of not been so lazy and used the search for "nocturnal" and found it. God forbid it be the first result.

https://news.ycombinator.com/item?id=17329264
This is good advice.
Here's someone who really has been hurt by YAML. I've never used it but it's good to know to steer clear in case I encounter it as an option.
Use port :0 to let the OS choose one.

But for now we just hard-code a port. I personally prefer this since it's easy to use and convenient to remember. But if a lot of client machines have conflicts, I guess we'll change that...
(this was a joke by the way)
#2 is perhaps one of the most confounding recent areas of research that really starts complicating the study of DNA and how changes to it map to an organism's outcome in the real world over time and in different environments.

As new studies emerge on identical twins/triplets/etc., it has become clear that even identical DNA does not at all have 100% clone of the person, even if they do in fact share the same DNA. Ranging from things like height differences, leg lengths, intelligence levels, and a host of other characteristics, "identical" DNA does not mean physically identical creatures that look and behave exactly the same, even if they are far more similar than different.
I disagree. I believe if you're thinking about how you want to deploy an application, you can say, "We want to be serverless in that regard: we want to manage as little as possible." It's on par with saying, "We want to be hardwareless in what we manage" and so you hire IBM, with a managed services contract, to deliver, install, maintain, and so on, your office IT equipment.

You're "hardwareless" from the management perspective, the cost center perspective, in that you don't own it, manage it, or maintain it, you simply use it.

I'll concede it's a bit of a mind bending term, though. You have to think of it from the right angle and in the right way (which means taking off your engineer hat to a degree.)
I definitely remember this being a thing in small-town America in the 1980's -- particularly with aluminum cans, which I suppose is one of the more valuable recyclables. Schools and churches would ask people to save their cans and bring them in as a fundraiser, and you'd sometimes see people walking up and down the highway picking up the cans thrown out by litterbugs.

And yet today I have to pay someone to haul away my valuable materials. :)
> 6. EXAMPLE Code that checks to see if a pointer value is null cannot be omitted during translation solely on the basis that the pointer is dereferenced before the check and that earlier dereference would produce undefined behavior if the pointer value was null.

Here's the thing I don't quite understand: I gather that this is advocating for something like GCC's -fno-delete-null-pointer-checks to be part of the spec, but, how is -fno-delete-null-pointer-checks actually helpful?

I think it's because if you write code like this:

void foo(struct foo *param) {
int n = param->length, i;

if (param == NULL) {
return;
}

for (i = 0; i < n; i++) {
do_something(param->data[i]);
}
}

with -fdelete-null-pointer-checks the compiler might optimize it in two successive steps to delete the check (because param->length was already dereferenced) and then move the dereference down to the beginning of the for loop, and with -fno-delete-null-pointer-checks the compiler might skip the first optimization and keep the second.

But for -fno-delete-null-pointer-checks, you're relying on the second optimization, moving the dereference later. Otherwise you'd just have segfaulted already (or, in a kernel context, the read might have succeeded from a userspace page mapped at the null page). Right?

It seems reasonable for the compiler (or some other tool) to produce a hard error here and prevent this code from compiling, saying, hey, this is clearly doing something unwanted. It doesn't seem reasonable to expect the compiler to do certain optimizations to make your code safe, without which your code would have a security vulnerability, and also get mad at the compiler for doing more optimizations that return it to the original state of things.

> The limitation of lvalue access by types has never made much sense and required a undefensible exception for character pointers.

My understanding of type-based alias analysis is that it's required for code like this to optimize the way you'd want:

struct string {
size_t len;
char *data;
}

void copy_string(struct string *dest, struct string *src) {
size_t i;
if (dest->len < src->len) return;
for (i = 0; i < src->len; i++) {
dest->data[i] = src->data[i];
}
}

Otherwise the compiler would have to worry that dest->data would overlap with src->len and re-read it every time!

You can do this without type-based alias analysis in a language that gave you different tools for managing variables, but doing so backwards-compatibly in C seems difficult, and this proposed rule does not seem to help.
Generally speaking, you want to be targeting ~2x your FTE salary as a contractor rate, and your floor should probably be somewhere north of 1.5x. So if you were making $50k/yr before, this is a good offer; if you were making $80k/yr, it's not a good offer.
You know what else is human readable, easy to parse if you're using PHP, and supports comments?

PHP.

I understand why some languages rely on common configuration file formats.

I don't understand why the popular dynamic script-y languages don't more commonly use the natively-expressable associative/list data structures that they're famous for making convenient.
Absolutely disgusting, there's really not much more nuance to this. I can't fathom a situation where we want to automate what should be human interactions. Talking with children, in person, where they can learn from their mistakes, is a great way to create long lasting discipline. Sure it's hard work, but if we offload this to computers we're actively removing humanity from the situation.
The first time I saw this articulated was in the article https://www.theatlantic.com/magazine/archive/2012/09/fear-of...
> Right now It Works(TM) ;-)

That's exactly what I need, no more. :-)

I'm at home now, I think I may test it out on another very old laptop with Slackware. I may even dig my OpenBSD laptop out of the closet and see if I can compile it for that platform. My only Mac right now is a C2D mini with 10.6 so I hope it will compile and run there.

+++

So I just tried to compile on my Elementary OS workstation and got a few errors even after meeting all (I think) of the dependencies. I'm not a programmer beyond the occasional bash script, so I probably missed something somewhere. I have ruby, graphviz, and exuberant-ctags installed, and the usual basic build tools for a Debian based OS. Here's an example of an error, there were a few different ones with the same format:

src/ts_mux.c: In function ‘data_start’:
src/ts_mux.c:339:2: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
write(r->socket, msg, strlen(msg)+1);
Integrated timer with small nuclear power source.
Is there an implementation of strict yaml that you know of for Ruby?
As someone who has had non-trivial contract experience, how much leeway is given to independent contractors in the US to work on-site, with the in-house employees? I'm almost 100% sure I was mis-classified as an independent contractor while getting employee-like wages. I was told to show up from 9 to 5 on the premises.

I don't think anyone really punished the company though. They were a pretty small and insignificant web agency just hiring a couple local people but tons of off-shore work.

Does that mean that ICs generally work remotely? Or what is actually the deal with company offices and ICs?

Moving ahead, I wish I could help out the industry by shielding the naive new workforce from mis-classification and similar forms of work exploitation.
They are more impatient than I thought. This is meant to be read between the lines. I would be amazed if some Google exec is not already on his/her way to D.C. to meet the esteemed Senators.
General Electric Dropped from the Dow After More Than a Century
There was already heavy investment in steam technology. Using the sun the boil water instead of coal or wood is much less resource intensive and completely eliminates external supply chains.
I don’t think you can turn back the clock and do studies with any sort of control nowadays. The generation using Snapchat is the one prior to mine - they saw the value from my generation getting bit over and over from text logs and pics getting posted. Sexting existed the second the technology was there for it.
I always struggle to write YAML. I still don't know how the '-' things work and what level of indentation to use for its children.
I work in a small team building APIs with PHP for the real estate industry. In my last job I did manage to use D for a "sequence mining" algorithm that looked for problematic behavioural patterns in web user behaviour. PHP would have been waaay too slow for the quantity of data that needed to be evaluated. That was honestly one of the most enjoyable things I've ever coded.

My hobby project languages or choice are currently D and Kotlin. I prefer the semantics and flexibility of D, but Kotlin has the backings of the tried and tested Java ecosystem, which is hard to beat when you just want to get down to it. Also web servers in Java are vastly superior at the moment. Vert.x is so very fast.
It's not just a question of managing as little as possible; it's also a question of the unit in which you want to scale and be invoiced (by invocation or by some broad unit of capacity).
Yes, combined with the fact that some HN poster touting three years of sick gains probably isn't able to beat a highly diversified portfolio.
Your point is an excellent positive case for his appointment :).

I fully agree with you on monopolies and hot spotters. The monopolies are a pernicious issue that's incredibly hard to solve, and targeting hot spotters is not likely to be the silver bullet people hope it will be.

I hope he succeeds given his perspective, I'm just skeptical that he can given the scale and structure of the problem. In particular the monopolies issue seems utterly intractable. Maybe some combination of remote care and creating vertically integrated treatment centers can help? I don't know, healthcare is really hard. I just hope this isn't a flash/vision over nitty gritty execution appointment.
In an ideal world maybe but we ain't in an ideal world.

Google must have known that both getting that big and also going into the phone business - means you have to accept reality.

You would have hoped that anyone working for a CNI company realises that especially given the roots of SV - of course this sucks if your job starts needing security clearance and your parents weren't natural born.
I love the clean style of your website.
There is a world of software outside of useless saas/web shit-ware where you don't have to deal with overzealous SV enthusiasm.
Placer County in California pays for one bin recycling. Don't make people think, just allocate resources to cover recycling as a part of the waste stream.
Protecting national airlines is of strategic importance to any sane nation which is why many of them subsidize at least one national airline even if they operate at a loss.

This isn't handout, and while the US due to it's strategic significance isn't likely to be at an immediate risk the rules still apply.

If the only connection you have to the outside world is through foreign airlines you open yourself to be pressured both by state and non-state actors.

While one can say it's the chicken and the egg problem in this case the egg truly comes first and how connected a country is, has a direct and immediate impact on it's economic viability and outlook.

P.S.
This isn't about the deportation issue which is quite terrible* but rather to the GP comment about the act being a handout.

*The US is also the only nation that hasn't ratified the UN Convention on the Rights of the Child https://en.wikipedia.org/wiki/U.S._ratification_of_the_Conve...
Because code injection.
The 5 Best Species of Probiotics
> Apparently this is now the new normal in Turkey.

Let's word it better: it's the normal a tirannical government is imposing and its unqualified conformist officers are implementing.
Trees are not graphs. You have to un-circularize your objects before stringifying.
A lot of people have positioned themselves as "VR experts" over the past 3-4 years. There's a whole industry subculture around it. None of them are any more insightful than anyone else, and they tend to just spew cliche memes (in the literal, not the "doge" sense) and mindless technobabble. This video seems to fit right into that.
I wonder if years from now we'll look back at the "selfish gene" the way we look at Freudian ideas about psychology.
No, 127.0.0.1 should never appear on any network, and no network device should ever route it.

The earliest documentation I was able to find is in RFC 1122 [1] from 1989, but according to RFC 6890 [2], the principle dates back to 1981.

[1] https://tools.ietf.org/html/rfc1122#section-3.2.1.3

[2] https://tools.ietf.org/html/rfc6890 (table 4)
I don't get the matrix example. Why is it different from key 1 with multiple values 0, 0, and key 0 with values either 1, 0 or 0, 1?
The Netflix documentary on him is equal parts disgusting, entertaining, and insightful (particularly relating to how our culture of worshipping money and power over all else enables people to get away with murder, literally)

https://www.netflix.com/title/80148180
Last I checked: There are multiple moderators and one Tech guy. Historically, they prided themselves on providing "real jobs" with adequate pay and benefits.

The numbers I'm seeing suggest the full time staff probably make better than $50k/year and the part-time staff likely make some pro-rated equivalent, so to speak.
> I can't fathom a situation where we want to automate what should be human interactions.

I can. When you're a for-profit organization. People are expensive.

This is basically late-stage capitalism.
> Triggers themselves, beside the typical use cases of logging and notifying channels, I find useful for non-disruptive schema upgrades. You can redirect updates, or fill in non-trivial default values, using them. (Rules could probably fill the same role.)

Also writeable views.
If that's what it takes to stop school shootings, then so be it.
For what it's meant to do (conscisely express data in a human maintainable way) it's still in a league of it's own. For configuring your apps, it's the way to go.
I'm pretty sure McAfee is also interested in women, drugs, and inflating his own ego, although I guess he could buy all those things with enough money.
Except why would the big chains want to be involved, when they could create their own with lock-in to their chain?
Perhaps I don't hit those rates, but I've bought lots of clothes from Amazon of late, not under the wardrobe program, and have paid 0 return costs and not visibly had my account limited in any way.

Given that they aren't charging me for returns, I saw no reason to buy it under the wardrobe plan.

I also return a lot of non-clothing items. In those cases I do pay return shipping of course. In the last year I'd guess my return rate is quite high, maybe 20%. But prior to that maybe 1%.
Just because you've never had to overcome or experience the problem, it doesn't mean it doesn't exist.

If you've ever had to develop an MVP from the ground up and build a business around it, services like this are critical to your acceleration, time to market, and budget.
People (like, random people, not officials) still do this for aluminum cans in US states with bottle deposits. They go door-to-door pulling cans out of recycling bins and bringing them to deposit centers en masse. I've seen this both in Boston and in the rural town I grew up in. The guy who frequented my childhood home actually made enough money to leave each "customer" a jar of peanuts each year at Christmas.

And even if you have to pay someone to take recycling it makes sense because the damage to the environment is less than just dumping it in a landfill. That's a cost that's externalized by manufacturers and not easily recouped without mandatory recycling. (The alternative is to tax manufacturers and importers for all the trash they generate, equivalent to the environmental damage it causes. Bottle bills effectively combine these two approaches.)
At that point... you break it, you buy it.
A couple of comments from a non-biologist.

It seems to me that this is an example of a common pattern in biological research. A simple explanation is developed for a phenomena, but then as time goes on, it turns out that in at least some important ways things are much more complicated than originally thought.

Also, the article talks about the controversy between the view that all genes make tiny causal contributions versus some are core and other peripheral.

But perhaps it is, at least in some cases, a matter of what I would call complex conditionality. So for instance maybe disease X happens if there are mutations in genes A, B and C, or C, D and E, or G, H and I, but not any other combination. Certainly we find things like that in other areas of reality.
Thank you for StrictYAML I might just use it. It does look like a nice hair cut. You might wish to give Ingy a ring. He has been itching to move forward on a reduced/secure YAML subset.

That said, StrictYAML seems to be a tad bit more of a hair cut than I'd imagine. I'd keep nodes/anchors, since I think a graph storage model is underrated; I think that data processing techniques just haven't caught up with graph structures.

Further, I'm not sure everything can be easily typed based upon a schema. Hence, I'm not sure about completely dropping implicit types, perhaps you may want to provide a way for applications to resolve them if they wish. For example, an application may want to attempt to treat anything starting with "[" or "{" as JSON sub-tree. Perhaps keeping "!tag" but handing it off to the application to resolve might also be a good idea in this regard. Even so, typing should be done at the application level and default to something very boring.
Ah... Tom Cotton. So this can be ignored.
What's the, uh, selling point of this? How is this better than a regular surveillance system?
I enjoy HOCON btw. Are there other configuration languages that any of y’all like?
Yes that's a major reason people move to the suburbs (but not actually why they were created in the first place), but on the other hand you can build a safe town where the buildings are close together.
I'm not so sure about that. For the basics that's definitely true, and no doubt if you're a C++ programmer then it will be an easier transition, but if you're coming from a higher level language like Java, C#, PHP etc then there's a lot to get your head around. That said, it's absolutely worth it :-)
Only if the job really could be done by anybody. Pilots use checklists for basically everything, but I don't think there's a widespread belief that the pilot could now be replaced by J. Random Passenger. The point of a checklist isn't necessarily to completely remove any thought or training from a process, but to ensure that every critical step is performed in the proper order.
Earlier Related Post: https://news.ycombinator.com/item?id=17358103
This site is unusable on mobile. I can't even follow the links.
I specifically excluded medical and a few other things as reasonable. The list of things that don't seem like extra expenses, but rather just plain old expenses, to me are:

licensing, certification, life insurance, vacation, technology, bills, travel, parking, emergency funds, general and umbrella insurance, car maintenance, car fuel, carl detailing and regular cleaning, house maintenance (yard, inspections, upgrades, insurance, etc.) or rent
I can't watch my brother's graduation because the organist played Star Wars
It wouldn’t matter if the auto-completion only had one option to pick from. The visual disruption of needing to see that and hit enter or arrow down is already a time loss compared with just typing the thing.
> Also, this is someone at the battery factory in Nevada, not the auto plant in Fremont. So this is totally unrelated to the auto plant problems.

Right, completely unrelated, because Tesla cars do not require batteries. Or software, which was also tampered with.

Tesla has filed a lawsuit, they are not coming up with excuses. At no point in the internal memo do they say this is the reason why they are missing their targets.

> Tesla will have a hard time showing actual losses from this.

To a judge, or to shareholders? Because this employee is done for. People got criminally charged and slapped with multi-decade jail time for way less.
>Maybe western self improvement is just in fact a precursor to a precursor to the final enlightenment that hey, none of this self-improvement shit matters?

These are hardly new concepts in the West. It's even in Ecclesiastes.
that's why I said "or non obvious" I'm not totally sold on this saving time but I guess it could be argued depending on the expertise of the developer