skysight-inc/HackerNews huggingface dataset:
Ask HN: How do you deal with the FBI/NSA targeting?
How do companies and people who are being targeted by the FBI and NSA? Talking computer security wise. They have connections with every major oem and software maker. I am trying to run a legitimante business but I made some big enamies who have connections.
Specifying behavior is a bit more complex than that. There is a wide range of "unspecified" and the "full UB" one is the easiest from the spec point of view. Using the shift example :

- allowed to assume that the negative shift does not happen (what it says now)

- the value of each dynamic negative shift is unspecified but it must have a well defined value, however the same shift operation in the source code could return a different output given the same inputs dynamically (eg in a different loop iteration or function call)

- each source code shift is a well defined (unspecified on negative inputs) function

- all shifts in the program are a well defined (unspecified) function

So, for example, the last (least surprising) version means that you have to compile every shift to the target CPU's shift and that you also have to use the target's behavior when you constant fold a shift at compile time.
Non paywalled: https://outline.com/beVVhZ
I chalk this up more to management and not individual egos. Incentive structures configured by the vast majority of management in most organizations do not reward checklist development and more importantly checklist maintenance.

Bob: I'm developing and testing a checklist.

Management: Why is it taking sooo long!?!?? Why aren't you doing <<revenue/KPI-enhancing activity>>?

Versus:

Bob: I'm selling truckloads of surgeries.

Management: W000t! My manager will be ecstatic!

There is also a free rider problem with checklist development. Lots of workplaces love to somewhat or all-out pit employees against each other. Unless the entire team is creating and maintaining the checklist, the subset of the team creating/maintaining the checklist will always over time come out looking worse on KPI's that almost invariably never measure these kinds of activities.

The subset of the team that doesn't spend the time on creating/maintaining the checklist come out looking better on KPI's over time, and the checklists increase their relative standing against their checklist-creating peers.

Fix the incentive structures, and this problem fixes itself.
> you can use a simple, JSON-like language with comments for config.

YAML can be employed as a simple JSON-like language with comments.
I've never liked YAML. It's one of the things that turned me off from Swagger. It's incredibly ugly and overly complex.
Requires Javascript to even start showing the text. That "live" editor trick is neat, but pretty unnecessary to transmit the message, if you ask me. Also there are some good-old links that are not even clickable. Weird choice of tool for the job.
checkout mawazo.tk
Python Development Environments for Apache Beam on Google Cloud Platform
It seems to me like there needs to be a way for households to be paid for their recycling.

I don't know how it could practically be done, but if a household's recycling contributions could be tagged and tracked throughought the system somehow - then we could pay them for well-formed recycling, and not pay them (or charge them for waste disposal) when it's not well-formed.

There's your feedback loop.
Step 1: Install OPNSense/PFSense?
Funny part is that, as far as I can tell, that would be a mission accomplished for Musk one way or the other. I mean I’m sure he’d prefer Tesla to be the long term leader there, but if it just turned out that everyone else made affordable electric cars then that would work, too.
I want to write YAML because I don't want my configuration to look significantly different in go, java, ruby, or any other language my organization may use in the future.

Xml is fine. Json is fine. Yaml is fine. Yes, they have warts. That's fine too.
Sort of. Machine vision is helpful, but the more trash in the recycling stream, the more dexterity your processing automation requires to handle non-compliant material, as well as the costs of trashing that non-compliant material.

More emphasis needs to be placed on reducing the waste stream as a whole (trash and recyclables), and then leaning on a recycling lifecycle (with the remaining material disposed of with plasma gasification).
Defining Edge Memory Requirements
Haha, these shitheads are still trying to beat that long-dead horse. Good luck! While you can compel the public to fund your wars and other mayhem through taxation, you can't compel our mindshare. While you can keep fooling the ersatz-patriotism choir into thinking you're the good guys, you can't convince the community that's actually building the future. And while you will eventually be able to compel the surveillance companies into doing your bidding, we'll build new things that remove them from our lives as well.
lololo why you not use portgres is so much better x100000 i read it here
In my CA neighbourhood, metal scrap collection cars will come around on trash day. All the neighbours know that bulky items with high metal content can be left separate from their trash and it will get picked up.
Canada Is Closing Up Every Way That Allows Criminals to Use Bitcoin for Fraud
Interesting post.
Curious, assuming this is used to more efficiently store user uploaded files, does Dropbox blindly apply the compression across all user files or selectively applies them (e.g. if file is already compressed like jpeg then ignore)?
>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.

You picked the wrong language... PHP comes with its own JSON parser. And INI and XML and even CSV.

But, the reason is that, generally, you want config files to describe data or state only. Yes, you could just make your config native code, but then the temptation to add functions and methods and logic to that becomes irresistible and soon your config is an application that needs its own config.

Config formats need to be simple, and preferably not Turing complete.
use it almost every day. it's an ugly little notation with super-limited utility, but when JS gets its act together, we can finally abandon it forever.
>doesn’t have expert knowledge ... very different skill set than an expert in healthcare delivery and management.

He's kind of celebrated for an article he wrote in the New Yorker on healthcare delivery and management. (see 'This magazine article saved $500M in unnecessary Rx spending' https://www.cnbc.com/2015/05/08/this-magazine-article-saved-...)

It impressed Munger, Buffett's partner sufficiently that he sent a cheque for $20,000 to Gawande at the time as a gift without knowing the guy. https://www.cnbc.com/2018/06/20/charlie-munger-once-wrote-at...
Broadly, I've been doing a 5-fund portfolio with a mix of several index funds in decreasing percentages (total US stock, total international, US bonds, international bonds, REIT). If I had enough money for it to be meaningful, I'd probably invest something on the order of 0.1% in cryptocurrency too.

The rationale is that uncorrelated assets result in average returns (across the set of assets) but decreased risk.

What's unclear to me is the performance of e.g. the S&P 500 once the percentage of investments that are just index funds passes a certain threshold. Presumably if all investors were index fund investors the market would be super stupid, so is there a point before 100% where there will be significantly aberrant behavior? If so, what is that percentage and what is the behavior?
Eh I disagree. It's been known for a while that you need something other than just DNA to get the heterogeneity of cellular phenotypes. Remember that your Iris and toenails have the same DNA, yet wildly different gene expression profiles. Without cellular memory that would be impossible and we would all still be single celled organisms :)
I think it's easier to understand if you rephrase it as "evolution doesn't encapsulate." Just because a bunch of smaller proteins fold into a bigger quaternary protein structure doesn't mean that those smaller proteins become "private" members of the new protein "class". Any chemical binding sites that are still exposed on the surface of the complex protein will still be chemically active and affected by evolutionary pressure. Even if you have a protein A made up of B, C, and D that all evolved together to metabolize fructose, an exposed binding site from protein C on A can still effect some completely unrelated biochemistry. At the same time, protein C could also be a critical component of a new protein E.

If the evolutionary pressures on E (or C individually) are greater than on A, C could evolve completely out from under A to the point where A is no longer functional or foldable. As such, evolution can't "rely" on abstractions like "protein C" because their "source code" can be changed nonlocally and their function is dependent on very local conditions like temperature, pH, and surrounding molecules. Abstracting away g(h(i(x))) as f(x) in Mathematica is pointless when your packet sniffer can arbitrarily change the meaning of "h(x)" to "nop".
Or blockchains, or 3d printers or whatever next year's exciting buzzword is.
Sorry, Comcast: Fox and Disney sign new merger deal, rejecting Comcast bid
If you work at home, while those things would need to be done anyway, should be piped through your business to some extent since your business is taking advantage of those resources.

2.5x is the golden rule. You will need to double the salary to cover additional expenses (some of which weren't mentioned, like employer's side of FICA in the US, time spent on sales because contracts end, legal, etc.) you will incur. The .5 of that equation is your profit. Because you're running a business.
Well, what benefit does -fdelete-null-pointer-checks bring? Why would I ever want to remove that check? The more conservative version either segfaults or (quite likely) accidentally does the right thing. That situation is not great but it’s better than nothing. The fancy optimization just makes a not-great situation much worse.

I agree, it would be best if the compiler rejected this as clearly incorrect code. I think that needs a change in the spec relating to undefined behavior, though (and more importantly a change in direction from compiler vendors).

Edit to add: your second example, type aliasing, is a good one too. I think that one could also be usefully addressed by a compiler that flags it as a likely error. Although you’d need some way to annotate the code in the event that the weird aliasing behavior is actually correct and expected (I dunno, make “len” volatile or something?)
Or:
Read:
It:
Definitely. I am generally unimpressed by Dawkins.
What exactly is specifically crazy about it, as opposed to all the other stuff we do in the modern world?
Nix and Bazel = fully reproducible, incremental builds
I don't see why regulating the length of ads is silly at all. Several countries have been doing it for many decades. It works really well and has not led to any slippery slope, and made television much better overall. I have direct comparisons available from living in several countries during my lifetime--do you?

The slippery slope has been going down the opposite hill, actually, in America: It's amazing how much less rights a consumer has in the US compared to, again for example, in Germany.

The "well just don't do/consume/choose X then" argument is extremely shortsighted. If X is provided by commercial entities, then those commercial entities will, together, converge towards maximum profits with no regards for the consumer at all. Regulation is necessary as a counteractive force. A prime piece of evidence actually comes from your own post: "Don't watch the channel". Ok, I switched the channel on my cable box, now what? Ah, still the same.
None of the languages mentioned are whitespace sensitive or look much like YAML at all.
I don't feel like tags are a particularly good example. For example, how do you efficiently get a list of all tags and how many X there are per tag? Easy for a relation (SELECT tags.name, COUNT(posts) FROM tags NATURAL JOIN posts GROUP BY tags.name), not so easy for an array (SELECT x.tag, COUNT(posts) FROM (SELECT DISTINCT tag FROM unnest(posts.tags)) AS x JOIN posts ON posts.tags @> [x.tag] GROUP BY x.tag).
> simple

YAML is much, much more complicated than JSON.
Same. Ghostery on Android
I can agree with this — if you’re really working on a codebase that you rarely interact with, then sure, “jump to” and autocomplete features are helpful.

Over my career, the relative amount of time spent doing that is really tiny though. It doesn’t invalidate the value of autocomplete or “jump to” features for this use case, but for me it’s not common enough to matter a whole lot. Other forms of searching work just fine too.

My other comments are written regarding the case when you’re hopping around an in-house codebase, and beyond some initial burn-in, you should have a lot of working knowledge of the details.
Its not magic. Its just something we don't have good mental models for understanding since it doesn't resemble the things we usually engineer. I always give the following rough analogy:

"Imagine a programming language where every single instruction simultaneously executes and simultaneously alters the inputs of all other instructions to varying degrees."

Complex artificial neural networks and data flow models are closer to gene regulatory networks and the genotype->ribotype->phenotype causal flow but are still oversimplifications.

It is sometimes possible to hack individual genes to fix really glaring problems reducible to one or a few key mutations like sickle cell anemia. Those things are the low hanging fruit of genetic engineering. Beyond that it gets harder. Trying to do things like boost life span or median IQ will be exponentially harder and will require new cognitive paradigms IMHO.

Its too bad nobody studies this stuff anymore. There was a ton of really great research into complex systems and emergent behaviors in the 90s and 2000s and then it went out of vogue for some reason.
Computer and Human Languages
Budget priorities aside, why is this inappropriate? What problem does it attempt to solve?
The main thing is to work out how you will set up as a contractor and tax efficiency - is there not a Canadian self employed contractor forum / org like the UK PCG Professional Contractors Group.

The overhead rate for an employee is I think a lot more than 50% I have heard 300% for the UK for bog standard tech companies - the us might be a little lower due to the way heath care is structured

Really high end RnD (world leading ) can go well over 500% - labs and specialist shops do cost a lot.
The English language versus the German language is like data scientists versus actuaries. English had no quality control; the oxford still uses adverbs but ignores ye for plural second person, and they for third person singular, but who fucking cares? The German language remembers every exception, and, by the way, wegen was dativ before it was genitive, and is like solving simultaneous partial differential equatons to speak.

Lower regulation leads to more development and higher risk.

Let’s accept that trade-off and go intelligently forward.
No, while the observations were of oxygen, this doesn't imply that the gas is primarily made of oxygen. The issue with the warm-hot IGM is that it is a strange temperature where virtually nothing emits much light. Highly ionized oxygen (in this case, only one electron out of the original eight remain bound) is one of the few things that does. Here, based on X-ray observations they have estimated the density of this oxygen, and then estimated the overall density of the IGM based on the ratio of oxygen to hydrogen.
Failover is a valid high-availability technique. One with limitations and not for every scenario, but still one.
> pulling cans out of recycling bins

That's illegal in my area, and I assume in most areas with recycling programs. You want to pick up stray cans and recycle them then that's one thing, but pulling them out of recycling bins is considered theft.
No:
Body:
Wants:
To:
Write:
- YAML

vs.

<No>
<Body>
<Wants>
<To>
<Write>
<item>YAML</item>
</Write>
</To>
</Wants>
</Body>
</No>

vs.

{
"no" : {
"body" : {
"wants" : {
"to" : {
"write" : [ "YAML" ]
}
}
}
}
}

Which would you rather write?
The links don't work on desktop, either. It isn't a mobile thing.
Ansible would be so, so much better if it just used plain JSON, or even JS with an implied context for variables, .eslintrc.js style.
They don't really belong anywhere. Not just in schools.
For sure, my area doesn't allow glass or paper and there's some weird thing about cardboard, has to be brown or white only or something like that. So we recycle plastics (you can do numbers 1-5 now!) and brown cardboard in the provided bins and take glass, paper and other cardboard to a recycle center once a month. My previous home allowed glass, plastics (1-2 only), cardboard (anything unless it had food pieces on it), and paper; it was about 6 miles from current home. Just different county.
"Unless the plan is to create a brand new completely vertically integrated system"

Judging by the companies involved, this is most likely the plan. Whatever they create will like cause the existing system change to it and not the other way around.
Good luck continuing your "evolution" when you have no food, no clean air and abundant diseases.
(No (body (wants (to (write ‘(yaml))))))
3x though if you can land 12 months or greater contracts id say 2.5 is just about acceptable.
Scaling Postgres at Affinity with Citus
It can be hard to fully convey how ConfigNode works without actually showing it in action. Yes it does give you a UI environment to edit the object graph and outputs YAML/JSON/XML..etc.

However the output comes after evaluating the object graph. In other words it doesn't just reassemble a bunch of static values but rather actually executes objects (think POJOs) to produce the fields that make up each object.
YAML is not 100 percent awesome, but it's machine consumable, not too hard to edit by hand, and preferable (in my opinion) to a plethora of application specific DSLs with different requirements for curly braces, semicolons and assignment operators.
Yeah, but Amazon is the biggest success story possible and only has ~$250 billion in revenue.
I am old enough that it's actually hard to answer this question. Mostly because I can't remember what was actually good and what is just nostalgia.

But, I'm going to say Gopher. Again, this might just be nostalgia, but Gopher was just so damned usable. I feel like I could learn faster and find higher quality information via Gopher than the web.

Again though, this might just be nostalgia. It is very hard for me to critically evaluate the technologies that utterly blew my teenaged mind.
Depends on what you can expense via your company as business expenses :-)
Still don't know of a company with trillions of revenue. Maybe Saudi Aramco.
Firefox Is Back. It’s Time to Give It a Try
The first proposal is extremely welcome. Still you need to expand on it I feel. But yes, I think it is becoming the dream and nightmare along with aliasing (...) of a lot of engineers. It has become ridiculously impossible to write serious code without hitting the UB land.

The second although I think I get the reasoning, seems not well-defined to me. I am not talking about expanding into it with concrete steps. You need to define what kind of semantic invariance to require. You might just not want the compiler deleting sections it thinks do not affect the output; you might not want the compiler to alter nop segments for timing reasons (e.g. when writing a cryptographic primitive). There is a wide variety of different aspects of semantics and it is not clear what you propose. This have been a discussion topic among cryptographers. Or you are a kernel programmer and actually do not want checks removed or aliasing messed with etc. (One reason people compile their kernels with specific options -- see Linus' rants about UB if you want to pull some extra hair of your head.)

Anyways -- I am afraid at times GCC might be too far gone to tone down undefined behavior. Anyone working on a compiler has any input if there are plans, in the (unlikely) case the next WG decides to go sane on undefined behavior, how their compiler is going to address that new standard?
It's a bit of a strawman, since none of your examples actually resemble valid config files and you're forcing them all to have the same indentation, when significant whitespace only matters in YAML.
You can use arbitrary tools to programmatically generate YAML (or JSON, or XML, any of the other "data only" formats.) This allows for tools to drive other tools by generating a spec file and feeding it in. See e.g. Kubernetes for a good example of that.

There's no language that I'm aware of that can natively generate PHP syntax, and there's no common multi-language-platform library for generating PHP syntax. I think that's most of the reason.

To contradict myself, though: Ruby encodes Gemfiles and Rakefiles as Ruby syntax. And Elixir encodes Mixfiles, Mix.Config files, Distillery release-config files, and a bunch of other common data formats as Elixir syntax.

And, of course, pretty much every Lisp just serializes the sexpr representation of the live config for its config format (which means that, frequently, a lot of Lisp runs code at VM-bootstrap time, because people write Turing-complete config files.)
They're killing government run and managed public transportation, not public transportation in principle. They don't fight group rides on Uber or private bus companies. This is a typical critique from the left: You don't like government run schools, you must be against education; you don't want government to be in charge of healthcare, you must want people to be sick.
Hopefully this gets mirrored worldwide, and that fast, before the Trump administration can order its takedown. Would that actually be possible/legal?
My go-to tool to see what yaml will look like. http://nodeca.github.io/js-yaml/
I work alongside civil/acoustic/hydraulic engineers. We use a whole bunch of tools for various productions, but I spend most of my time in 3DSMAX, Unreal Engine and Visual Studio.
If you look at how random projections work in machine learning or error correcting codes this makes perfect sense. The information is distributed across all bits.
The lack of template string support is a weird part of that.
Or you can just cut the problem in half overnight by mandating that manufacturers indicate on the packaging whether or not it is recyclable. We already have the recycle logo on the most common items, but as the article indicates, the biggest issue is with people hoping that an item can be recycled and throwing it in the blue bin in earnest optimism. Putting "Please dispose in trash, this item is not able to be recycled" on the container will take you further than any tech solution.
And as we can see, simply stating your opinion here - which is effectively anti-racist and anti-fascist gets you grayed out.

However I do encounter racists in my daily life and it's pretty unnerving - if only because I or my father have been on the receiving end of their racism (we're not white by the way). So I'm acutely aware of it, yet I'm hesitant to bring up any argument that is counter-narrative - irrespective of whether the argument is about race or not - for fear of being singled out.

I think - based on what dang has commented to me personally and I've read elsewhere - HN has taken the approach that political/social controversy in and of itself is counterproductive to reasonable online dialog, so anything that has even a whiff of polarization needs to be very closely monitored. Obviously that's a matter of judgement and while I disagree, it's apparently the direction they want to go, so be it.
JSON has too many rules regarding comma placement.