skysight-inc/HackerNews huggingface dataset:
> JSON doesn't support comments

eh?

{
"firstName": "John",
"lastName": "Smith",
"comment": "foo",
}

I know it isn't the same as #comments, but who cares really.
Many deep-sea fishes have buoyant eggs and larvae that can reach the photic zone. Even the species that do not reach the photic zone live in shallower areas when younger.

A lot of pelagic fishes start their life at 1cm under the ocean surface also.
I don't understand the "D has generally better metaprogramming, however, rust has real macros" statement. Or do you mean like even though Rust allows you to work on AST, it's too clunky compared to D string mixins?
The government is blocking life-saving research into MDMA and magic mushrooms
Quick Start with Ionic and Firebase
Studies show groundwater holding own against drilling boom
The crate is built with cargo build --release --features=simd --target=wasm32-unknown-unknown which aliases DefaultCDF16 type to the SIMD types.

However since WASM doesn't support vectorized instructions yet, I believe LLVM translates these to scalar and the result is actually 20% slower on both Firefox and Chrome than without the SIMD enabled.

Compared to the speed of the native binaries in https://blogs.dropbox.com/tech/2018/06/building-better-compr... the Firefox WASM binary seem to decode DivANS roughly 3x slower than native without multithreading at around 100 Mbit/s. Chrome goes more than 12x slower, running at around 20 Mbit/s. I'm a bit surprised that there is such a big performance gap between the browser and the native binaries.

This may be a reason to look further at the generated wasm and see where the time is being spent.
To Err Is Homicide in Britain – The Case of Dr. Hadiza Bawa-Garba
How are humans not part of the animal kingdom? What are we if not a specialized animal?

Birds and ants don't reach a "natural equilibrium". They, and all other species, simply (and similarly) exhaust what their habitat will sustain in one way or another, just as humans do.

Almost all the species that ever existed went extinct without the help of humans.
I work with other people's code. I just don't get what are you trying to say here.

Go to definition goes to place where the the thing I am looking at and see first time in my life is defined. Had there be no go to definition, I would use something else. Go to definition still causes zero effort. Less then guessing layout, really.

I don't magically know everything about code Base I am looking at, even if written by super organized geniuses. Go to definition helps you to learn.
It won't get better, he's more senior, he'll probably get promoted before you guys (and he has a head start) so he'll be your bosses boss and mandate all this stuff.

You'll leave because surely everywhere can't be this dysfunctional only to find that everywhere is then you'll reach a grudging acceptance (people will call you cynical) and you will live for your hobbies.

40 years from now a vein blows out and you shuffle of the mortal coil.

Alternatively it'll get better, he'll realise that his ideas while well intentioned are upsetting the team and he'll tone it down a bit.

Flip a coin. (I wish I was joking about the binary options but well...it'll be one of those two).
>The idea of neatly editing specific genes to produce a desired result always sat with me as the pinnacle of human hubris.

See, for example: Gene Therapy in a Patient with Sickle Cell Disease https://www.nejm.org/doi/full/10.1056/NEJMoa1609677
That is why I picked 7 year time line of Germany. Of the 33% renewable in Germany 7% comes from biomass that is a free for all definition that includes at times burning wood.

Right now, Biomass is 7% compared to 6% of Solar. Germany is known to have massive solar (read it.. not from there).

From 33% to 70% in span of 7 years - that is something.

I am not rooting against it, if that is the impression my post gave. My point is the report is too good to be true.
Agreed, I was a minor party to a case like this and it took way longer than I expected for the wheels of justice to turn. It made me nervous for the accused just because the process almost seemed designed to let his life destroy itself even more in the months leading up to any charges being filed.
What the hell businesses do you know of that have the potential to make trillions of dollars? Because I'm willing to quit my job and work for them if they exist.
> if my goal was to build an app with a simple set of features that don't change often, and that will serve 100 million users, where none of them is paying user, I would probably not choose Rails.

What would you choose in this case? I'm also a little confused where the user "paying" comes in. Is that in terms of the importance of that specific type of interaction or the concern of friction scaring of "free" users?
Hi sampl, thanks for taking the time to comment! I have less than 5 years of experience, but apparently the company is in need of contractors so they offered me the job without hesitation. I am wondering if there is anything I should consider before taking the job.
Ask HN: Google Cloud Prof. Architect vs. AWS Certified Solutions Architect
How do these two certifications compare? What are the pros/cons? How relevant are they to getting a job these days and what sort of roles are people getting when they attain either? Which one is more lucrative or is a better investment?
> After this initial pruning, three languages remained on our shortlist: Free Pascal, Ada and D.

I'm really sad to see that the author didn't even consider the Nim programming language. They could have saved themselves a LOT of work, Nim's original compiler was written in Pascal and then translated to Nim using a `pas2nim` tool that is freely available on GitHub[1].

Out of Go, Rust and D, Nim is most similar to Pascal by a long shot. Did the author simply miss Nim completely or did they dismiss it for another reason? It seems to me like it would be absolutely perfect for their project.

1 - https://github.com/nim-lang/pas2nim
I’m saying enough with these lamentations about the environment, would these people rather be living in the woods? It’s complete nonsense. Destroying the environment has been a necessary step to human evolution.
Sci-Hub link to the full paper: https://sci-hub.tw/https://www.nature.com/articles/s41586-01...
I've worked as a contractor in the US only. Other than tax paperwork, which is minimal (but can have a lot of ramifications come tax day), and a few managerial differences (ie work scheduling) there was no difference. Congratulations and have fun!
> Perfluoroalkyls have been released to air, water, and soil in and around fluorochemical facilities located within the United States (3M 2007b, 2008a, 2008b; Barton et al. 2007; Davis et al. 2007; DuPont 2008; EPA 2008a).

> Since the early 2000s, companies in the fluorochemical industry have been working in
concert with the EPA to phase out the production and use of long-chain perfluoroalkyl compounds and their precursors.

> ..have been phased out by the eight corporations in the perfluorotelomer/fluorotelomer industry (Arkema, Asahi, BASF [successor to Ciba], Clariant, Daikin, 3M/Dyneon, DuPont, and Solvay Solexis) as part of the EPA’s PFOA Stewardship Program (DuPont 2008; EPA 2008a, 2016a). Industrial releases of these compounds in the United States have declined or been totally eliminated based on company reports submitted to EPA.

https://www.atsdr.cdc.gov/toxprofiles/tp200-c5.pdf
Removing Gulen and the like from the education system was long overdue, as they are a political org with an agenda, butbthe purges went too extreme. I have heard stories where people cant find decent jobs because the read at a Gulen lycee, albeit unknowingly. Another which worked at one for one month as a teacher and didnt have any ties to the org itself, but still cant find a job because of that. We say in turkish: the wet was burnt because of the dry. A proper law-bound state would clear the innocent ones in a snap.

Muharrem Ince promises to execute every change necessary for such a state and to revitalise all the institutions. I believe him. I want to believe him. And I believe he will be elected. There is no other way out. Basically this is the most important election ever in the history of the Turkish Republic.
> Delayed report on toxic water contamination report released

This subject is vague and incorrect. This is specifically about PFAs in the environment, not just "toxic water contamination."

Is this new info? I thought PFAs were widely understood.
> C++ is strongly typed and compiles to native code, a much saner alternative than "anything goes JS".

C++ (though statically typed) is weakly typed.
Trunk based development is a feature branch flow.

What do you think your local copy logically is?
You can read Ivan Illich about Conviviality, it's like free software but for the whole society
A sign of mental illness is having delusion, for example thinking you are Napoleon. A man who thinks he is really a woman despite physical evidence to the contrary is suffering from a mental illness.
Disney Outbids Comcast for Fox's Assets with $71.3B Cash and Stock Deal
There are some on the spiritual path that seek knowledge and awareness. Pure awareness. They are human yet their karma doesn't involve getting entangled with their fellow men. Hermits. Loving, hating, its all the same to them because their focus is elsewhere. Most would say they are selfish and lack empathy but they are just different kind of seeker.
I literally can't understand a single word on that page. Care to explain?
Digital Forensics – PlugX and artifacts left behind
But what if it is remote contract? Definitely anyone with some financial cushion and family should consider.
Not so sure anymore.

PHP and the laravel framework will be quicker to develop and faster to ship and perform more requests per second.

JS - Node/ Vue/react base provide one environment which can speed up development.

Still fast compared to Django, java, asp, go, perl, etc
I think there's more to it than that when you start doing this. Like which index fund? The Dow Jones or S&P or total index? And just the US market or including international markets to be more diversified? What broker would you use?
Cue Dr Evil ... one million dollars!!

But srsly, one million? That shows that there was no demonstrable loss to Tesla, that this suit is purely punitive on a personal level.
me as well
Even in verbatim it often results in it taking semantically similar words instead.

I'd much rather have it return no results.
To add to that, evolution does generate compositions, and some of the abstractions that do occur come from those.
It seems the main difference is your comments are all parsed and loaded into memory with the file, while official comments aren't.
> who cares really

the person who came up with HOCON, probably
Given the Pascal history and even consideration of Ada, with the focus on expressiveness and ergonomics I'm surprised that Nim didn't make the shortlist. Nim even has an official Pascal-->Nim converter (called pas2nim) as the very early versions of Nim before bootstrapping were in Delphi.
Stellar in Talks to Acquire Blockchain Startup Chain
https://www.livescience.com/49058-tiny-magnets-damages-boy-i...

there are other reports, very easy to find.
Porsche Buys Stake in Electric Ferrari Rival to Push Tech Shift
"We describe our first patient treated with lentiviral vector–mediated addition of an antisickling β-globin gene into autologous hematopoietic stem cells."
I'd ask for the three weeks pay. That is bull.
For all the wonderful people -1-ing this, care to elaborate why am I so wrong?
Sweeeee! :)

Do you have flexible time? Like being your own boss kind of deal?
A Little Formaldehyde with Your Milk?
$55/hr is not what it seems in Canada, especially since it's likely the first offer you go. You will take home closer to $30-45/hr or less the first few years while your first time and ongoing expenses balance out.

Employees who have a hourly before tax pay of $25/hr often cost $40/hr to the employer with their contributions. Add benefits and other costs to this.

You are not a contractor, you are a small business and will have to carry the costs of small business.

I would get some local advice. Also to be a contractor in Canada under law you must meet the burden of being an independent contractor (buying all of your own equipment, having expenses, have risk of losing work) and have more than one customer.

Contracting is awesome. I have written about it before - learning about the difference between being a freelancer, contractor, and consultant will go a long way to help you assess your value offering and opportunities that come your way.

I'm Canadian and have been a contractor since I was 19 or so, happy to chat offline if needed.
In the AWS context it means stock Linux container on demand.
It's a function of lingering ingorance and misaligned incentives. We have the technology and the institutions that can prevent the majority of this damage, despite our large numbers.
"comment": "blah" is one hack.

it's a shame json doesn't support them though. oh well. would be nice to restart the universe and get all this right next time. :-)
thanks boardguy. multisearch is something we may look at in the near future.
The legendary Apple research group that shaped our world
We are not separate from our environment.

We wreck it at our own peril.

Rapacious destruction may have been an expedient shortcut to our development, but unchecked, it will also end us.
Ask HN: What niche/forgotten technologies do you wish were more mainstream?
...Or you wish that we'd bring back or learn from more?

There's a lot out there. Occasionally I bump into systems, languages, techniques, etc. that I haven't heard of, and which don't seem to be popular, for whatever reason. For example, how many people use Clean, the pure functional language?

History is also littered with largely abandoned things like Prolog (which mostly survives in Erlang), Datalog, hierarchical databases, object databases, etc., some of which were experimental, others which were failed attempts at creating a shiny new thing. I suspect that while much of the abandoned tech would be hard/pointless to revive, there are ideas to learn from them.

Then there are technologies that are keeping people and companies productive and successful, but since there's no hype surrounding them, and productive people prefer staying productive, the grapevine is basically silent. For example, I was surprised to learn that Apache Storm, which has seemingly dropped off the big data radar, is still an active, popular project. Another project, ActorDB, keeps coming up on HN, but you never heard about anyone using it.

What's your favourite neglected technology?
One other addendum:

The "store" is the object returned from `createStore()`, which has the `dispatch`, `getState`, and `subscribe` methods.

The store object contains your "state" value, which could be a simple number by itself, an array, an object, or whatever else you return.

Typically that top level value _is_ an object with other values nested inside of it, and _that_ is your "state tree". So, the "store" contains the "state tree", and they are not the same thing.
On the chance that the author is the one who submitted it, I really suggest seeing a professional if you can.
Here we are: https://nytimes.com/2015/03/26/arts/music/the-musical-the-de...

It was a musical, not a play. Though not the typical musical one thinks of. I sat behind Jaron Lanier.

(It’s too late to edit my previous comment.)
Microsoft Edge Bug Exposes Content from Other Sites via Audio Files
ACLU Animated Series Prepares You for an Encounter with ICE
Falsehoods programmers believe about email APIs
Fantastic Personal Websites and How to Make Them
> violence of the state

HN is not a good place to tilt at windmills.
It turns out that cannabis is, and has been, extensively researched for years, in Canada and elsewhere (researchers could apply for special access). Thanks to this work, we know that there is one, exactly one robust, reliable clinical application of a cannabis chemical that stands out: to treat otherwise hard-to-treat childhood epilepsies. The chemical responsible for this is cannabidiol, which is the most abundant non-psychoactive molecule found in the cannabis plant. The other tested clinical applications include pain relief (works great for some people against some types of pain, continually fails clinical trials in most types of pain, not better than the standard of care), nausea relief (not better than the standards of care), sleep (very variable and low quality clinical data from multiple trials), inflammation (very variable and low quality clinical data from multiple trials) and headache (very variable data, etc). Most of this work has been done on the various non-psychoactive chemicals in cannabis, popular and otherwise, since tetrahydrocannabinol is kind of useless at clinically-relevant doses.

I think we'll find out in a few years that most of the hype around cannabis is just, well, hype.
Apache Spark: Python vs. Scala
It also is redundant. Either the "report on" near the front or the "report" near the back should be deleted...unless it is actually intended to mean that there are two reports, one on toxic water contamination and another report about the first report.
This is great.

But, I am sort of missing how this is any better than just having a PR and issue template on Github. Yes, it is automated and gives you neat badges but I am not entirely sold on how much of an improvement this is for typical workflows.
The trouble there is that your comments come in-band. What if you're trying to serialise something and you don't have the power to insist that it's not a dictionary with "comment" as a key?
Isn't that what control groups are for? Then you could rule out exercise or jail conditions as a factor.
Therefore some fishes could have good reasons to inhabite deep waters different than the article's bold assumption that "All fishes dive deep to not be eaten by humans".

Mola mola is a fish, therefore this would lead us to "Mola mola dive deep to not be eaten by humans" that is a false statement.
Financial services? The vampire squid does a brisk business. Fossil fuels, and some pharmaceuticals.
The issue is that, on a first impression, "serverless" sounds a lot more like p2p than "developers/admins don't need to worry about managing the servers".
This feels brittle. Does that include lamentations about global warming? If so: I’m afraid I disagree. If not: that’s a bit arbitrary.

I understand the sentiment, but sometimes, a complaint is valid. And making it over and over and over again is also valid. It is the first step towards fixing it. If we stop acknowledging this problem we lose all hope for ever finding a way out.

I would say the litany of woeful clamouring is already driving SOME people to consciously consume , buy electric cars, (or we can focus on conscientious vegetarians, if you don’t like the global warming analogy) etc. Sure , it could be a lot better, but it could also be a lot worse.

If nobody ever complained , I bet there would be a lot fewer vegetarians.
People are recycling too much garbage, and it's threatening the industry
Nginx rails 43M dollars
A party admission is non-hearsay in the US courts.[1]

[1] https://www.law.cornell.edu/rules/fre/rule_801
Humans did reach equilibrium before the industrial revolution which allowed for exponential population growth that's only now starting to slow. It just looks like we never have it because we're in a growth phase right now. In future, we'll have to reach equilibrium again as we're constrained by resources or we enjoy our own lives more than we want to make babies. Predictions I've seen are for a maximum of 12 billion people.

New species introduced into an ecosystem often wipe out existing species as they grow. It's happened on lots of islands. They eventually reach equilibrium too. It's quite normal and humans aren't special in that regard. We just happen to be the best at it right now.

There is some emotion in your statements. The reason we want to protect the environment is because it has value to humans. It doesn't somehow deserve to be saved independently of us any more than an asteroid deserves to stay floating in space without crashing into any planets. If we can truly and permanently survive OK without as many species, then what's the harm in making them extinct besides emotion?

Adding my own emotional opinion, I think humans really do deserve to dominate everything because we're absolutely the most incredible species ever to live on Earth. Through technology, we've giving ourselves more and more of the abilities of other animals. We can live in environments too hot, cold, or arid for any single other species. We can fly and "swim" across oceans, and even make meat for eating! If evolution had some sort of purpose, it would surely be to create the most capable organisms possible. So far, that's us and every species we wipe out deserved to go because it lost the game of evolution in the same way the poor soccer teams deserve to not win the World Cup.
I've been playing with Home Assistant[0] recently and, as a result, getting exposed to YAML. I don't find it pleasant to work with at all. I'm sure a big part of that is how Home Assistant uses YAML for automation stuff[1] that would probably be better served by a real programming language.

I think a big part of the unpleasantness comes from how non-obvious some things are. For example, why does the first automation example require a "-" in front of "platform" (under "trigger"), but the second doesn't? The comments explain when it's required, but not why? Shouldn't the parser be able to figure it out from the significant whitespace?

I found it so unpleasant that I'm using Node-RED[2] to do anything even vaguely automation related and have relegated Home Assistant to being the UI and communications abstraction layer.

In contrast, XML, while overly verbose, has a more reasonable structure. I haven't played with JSON much, but it also seems pretty reasonable.

[0] https://www.home-assistant.io/

[1] https://www.home-assistant.io/docs/automation/examples/

[2] https://nodered.org/
Shameless plug, but we have a podcast around commercial real estate investing, a very popular investment type for passive income generation. We really have a big education focus:

https://www.realcrowd.com/blog/2018/01/podcast-best-of-seaso...
The EU kinda reminds me of the US when it was governed by the Articles of Confederation. It didn't work out very well for us, since the central government had too little power, and we quickly had to come up with our Constitution which implemented a much stronger federal government.
Classic pump and dump behavior but because he’s seen as “technical” and eccentric it gets a pass. There is so much buzz for a technology that still fails to do anything

Cryptos are the average man’s Juicero—an encumbered, poorly thought out solution to a non-problem with just enough hype and institutional money on the line to make for spectacular fireworks when it goes.
J Alvarez – Son Mios Feat. Messiah
Yes, I love YAML in general. The complaints about big files can be alleviated with a good editor that collapses blocks and draws indentation guides.

But the author is mostly right, when adding support for YAML to my code I spend a lot of time disabling all of its nifty misfeatures. Wish it was simply an indented JSON with comments and fewer quotes.