skysight-inc/HackerNews huggingface dataset:
I would like to correct myself a bit.

I am not sure there is bribe involved and in what decisions but I highly suspect it.

I don't think companies are willing to harm people, but I strongly suspect they care too little about citizens' health and environment.

Some greens groups support the project, and some groups are against it.

I know that "Minstry of the environment" support the project as awell as the currently running petrochimical plant in a local city.

The said petrochimical plant is shown to increase cancer rates in the area dramatically for up to 10km away.

I know the Minstry suppose to review the plant critically suffers from conflicts of interest. Officials that worked in the minstry got jobs in the plant they were suppose to validate

The new plant is planned to be placed 10km from shore and not 20km.

There are 2 plants built far away on Israel coast without risking citizens which proves its possible to build the new one similarly.

Nobel Energy originally wanted to build it 120km away themselves, but were denied.

Minstry of Energy stated the only reason it wants the plant 10km away is so it will be easier to "guard" it. But they all very reluctant to discuss the environmental risks publically.

Protesters against the 10km plan are not selfish at all. They want to keep the plant far away from people in general.

I don't trust they say it will be very clean since a similar plant, "Tamar" in the southern coast measured to have a pollution 30 times greater than promised.

And most importantly. If the 10km partners think they are right about it why they are so scared of bringing it to national media for public discussion?
I hope it doesn't turn south and they figure out how easy it is to use technology to exploit people and get money and then decide to go do that for a job.
I like that last sentence especially. That's a good way of putting it.

What makes people who don't listen to the music associate it with 'negativity' is not just the music itself though. It's the way some fans dress as well. Or the mosh pits / wall of death etc they might hear about.

People are quick to judge, and the way you look will factor into that.

But it's a generalisation people make. It happens that people whom I've known for some time react surprised when they find out my favourite genre of music is metal because I don't fit their 'picture' of what someone should look like who likes that kind of music. :) (At least, if they haven't seen me at home with band shirts on)
Lisp macros expand at compile time, but there's nothing special about the code running in them. Nothing at all stops you from doing arbitrary evaluation in one.

Speed also isn't as much of an issue, because macros (and the functions they call) can be compiled before execution.
I wouldn't assume that.
personally I won't be buying in until (at least) another generation of improvements to the technology, and I'm sure there are many others that feel the same. there will surely be a tipping point in price/quality of the device/software that will make it worth it for a lot of people.
Most of the environmental damage so far has been done by the wealthy developed countries to maintain a high standard of living. Most of the population growth is in the underdeveloper world that hope to be developed.

What's really worrying is that the 5.5 billion people in underdeveloped countries want the high living standards of 1.5 billion people in the developed countries. This will put incredible strain on the environment and resources.

Technological advancements will help but technology can only do so much. We already see this with china. They are developing and getting richer and they want to drive cars, have AC/refigerators/computers, eat more meat, etc like americans or europeans. And who can blame them. Why shouldn't they have the same living standards? Soon, ASEAN, india, africa, etc will want the high living standards as well.

Can 7 billion people ( soon to be 9 billion ) live like americans or europeans? Also, as the chinese, indians, africans, etc get higher living standards, wouldn't we want even higher living standards? Will we reach any resource limits?
Pretty nice! It would be cool if this also had some basic joins added as well.
> a very good subset of Ruby could be implemented with a similar-sized code base than Lua

That would have to be quite the subset. The Ruby parser alone is almost 12kLOC. I've implemented entire languages in 1/10th that.

https://github.com/ruby/ruby/blob/trunk/parse.y
Hey Caleb, if you are interested in using GitLab webhooks, this documentation may help you https://docs.gitlab.com/ee/user/project/integrations/webhook....
Micro-service architecture for new web app on AngularJS
> I don't think simulated brains can feel pain

I don't think we have the kind of understanding of what it means to feel anything for there to be any meaningful, informed opinions on that topic.
What's that saying? "Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp." Apparently applies to the compilers now, too!
To quote a book I hold in very high regard:

“Opponents replied that when you modeled a hurricane, nobody got wet. When you modeled a fusion power plant, no energy was produced. When you modeled digestion and metabolism, no nutrients were consumed – no real digestion took place. So, when you modeled the human brain, why should you expect real thought to occur?”
― Greg Egan, Permutation City
Raise a dispute/chargeback with your card issuer. The only way to make them stop this bullshit is to hit them where it hurts and increase their dispute percentage to dangerous levels where their acquirer bank threatens to drop them.
The worst part about the industry is its a zero sum game. All you are trying to do is redirect dollars that would go somewhere else to your thing. You don't add value in that process, you simply redirect it. And because its an arms race it drives businesses to have ludicrous overhead in the form of marketing to reach the audience of whatever actual thing of value they want to sell.

Its one of the laundry list of things I can imagine a far future enlightened species looking back at us and thinking "wow, they sure wasted trillions of hours and dollars just trying to manipulate each other into spending their money differently".

Its absolutely necessary to participate on the individual level, but on the macroeconomic level it should look to anyone as being completely absurd and a huge waste of potential. Its a lot like overspending on the military - the primary function for advertising is zero sum while for the military it is a negative value, while you hope for circumstantial value to emerge and try to use it as an excuse to justify the whole when advertisers make entertaining ads (see the Superbowl Commercials or Flex Tape) or when the military produces scientific innovation.
> But while they get their Starbucks and fly on their planes and watch their Netflix and shop their Whole Foods and stack their Amazon boxes all while claiming we need to collectively engage in some sort of “lifestyle sacrifice”, I remain skeptical.

Yeah but they recycle.
Any random person you pass by on the street is unlikely to hurt you or harbor negative feelings toward you in particular, is unlikely to attack you if approached, and will most likely help in an emergency.
There also was a talk at CppCon on compile time regular expressions in C++20:
https://www.youtube.com/watch?v=QM3W36COnE4
I hate to break it to you but children being exposed to "unsavory" things outside of parental supervision is part of growing up. It's called street smarts.

Ever watch watch south park? Then you know who Kenny is and how dysfunctional his family is. Every kid meets a Kenny in their lifetime. They're the kid who knows where his parents porn stash is kept and by 13 is raiding their parents booze and drug stash. He's the kid whose house you go to watch R films and look at hustler magazines (I'm dating myself here). They also most likely had a hacked cable box with the playboy channel. In their bedroom.

Of course your parents told you to stay away "from that boy". But after school you tell your parents you're "going to John's house to study" but instead you and a few other friends meet up at "Kenny's" place ;-). Though, It's not all porn and bad things. It's just a great place to hang out and play ball or nintendo or whatever because no one is telling you to study or do homework. It's pure rebellious freedom and it's exciting.

You can't shield your kids forever. And the more you shield them the worse prepared they are for the harsh realities of the world. The best approach is to educate your kids of dangers and and hope for the best. Teach them about sex, drugs, alcohol, smoking, violence, abuse, behavioral issues, etc. Make sure they know what can be potentially harmful. My mother and father did a good job of that so I knew when to hang back and say "no thanks". I stayed away from drinking and drushguse my who adolescent life.
I think I still have the original Angry Birds game installed on a ~10 year old iPod touch I have laying around. I'll have to make sure to preserve that now, if it's impossible to get older versions of games like that.
Wow, I just done this and my whole upper back started cracking!

How does this fix my pain long-term?

> your pectoral muscles are being shortened

Does this move stretch the pectoral muscles? or shorten the back muscles that are stretched?
> All of the fixes being proposed are, if we are honest, some form of rationing or another. That will necessarily reduce the quality of life of a large group of people, and they won't accept that no matter how strongly bureaucrats insist they should.

I'm not sure this is true. It used to be socially acceptable to smoke in offices and inside, but attitudes changed. Now fewer and fewer people smoke tobacco in the UK at least. Even drinking is seen as uncool, with around 20% of 18-24 year olds saying they don't drink at all IIRC. I think a similar change in attitude could occur so people make ecologically-minded decisions.

A few ideas I've heard that I agree with are also:

* The Earth and ecosystem should have legal rights and be legally represented & defended in courts to oppose industries like e.g. fracking/mining/deforestation, etc., not as an after thought, but in terms that the Earth is its own legal entity and therefore ultimately owns itself and major industry would require approval from a group of trustees acting on behalf of the Earth.

* Companies should be legally responsible for putting the environment before shareholder profits (i.e. not be run for the benefit of shareholder, but for the benefit of the environment)

* Governments should pay people to keep trees on their land - not just landowners, but people who would fell the land. Maybe this would be some combination based on land ownership/licencing rights (e.g. tenancy) and universal basic income. This would probably need to be an international effort because e.g. we all benefit from the South American rainforests, not just people who live in close proximity to them.

It won't be simple to decide how to implement the above ideas, but we need to value the environment far more instead of just unsustainably stripping resources so a few people can make a fast buck. The idea that just because you own some land (or it's the commons) that you can do whatever you want with it needs to end. But whatever we decide, it is clear we need widespread, dramatic, global changes in our behaviour now.
Fortean Slips: Toilet Paper Plagiarism (1997)
Red Dead Redemption 2’s best feature is its comprehensive, replayable tutorials
Multifunctional sequence-defined macromolecules for chemical data storage
Majority of Top 30 Sites Don't Offer Wide Range of 2FA Options
US  West’s abandoned mines hold danger and, for some, thrills
As for the apps - there is only one thing I can recommend in the app store: Intellijoy Educational Games for Kids.
Saying that "some people" do it is a big understatement. The majority of parents do that in my personal experience.

Don't think I live in a bubble on that front, but perhaps there are researches on this that can prove me wrong.
This is a life saver, thanks for sharing.
A lot of comments about existing tools to spot fake reviews, and wondering why Amazon doesn't use them because the fake reviews that are dominating Amazon are clearly hurting consumers.

The long play for Amazon might just be that consumers gravitate towards the products that are actually sold by Amazon, because they can be sure that it should at least work. Eventually Amazon doesn't just control the marketplace, but is the only major vendor as well, and actually controls everything from the factory to the consumer.
4. Things you want to not run at runtime. If you can demand of the compiler that foo is run only at compile time, you can eliminate some performance outliers, with good protection against accidental later regressions. (I suppose this could apply to security too — anything run at compile time is definitely not vulnerable to crafty user input from a malicious user.)

5. My compiler is a rackmount somewhere; even if constexpr evaluation is somewhat slower than runtime code in a particular case, I may prefer to use the rackmount's plentiful power rather than the slim, light battery on the device where the final code will run.
It's sad that the internet went from a place you could say what ever you wanted to a place you could say what ever you wanted so long as your tech overlords approve of it.

Free speech has gone the way of privacy. It doesn't exist anymore.
Nvidia Shipping RTX GPUs with Faulty Micron GDDR6 Memory
There's a lot more to embedded than defense and aerospace.
Are people still trotting out these Malthusean ideas? It wasn't true then, and it isn't true now. Global standards of living have never been higher.
Absolutely nothing there indicates the presence of global kernel locks. readdir (obviously!!!) needs to hold a lock, it’s not global, it’s per-DIR.
https://www.youtube.com/watch?v=k1luKAS_Xcg

I found this Ted talk helped me with some lower back and leg issues. I don't do exactly what she demonstrates in the video, but I find focusing on the 'tail out' posture helps a lot. Also regular breaks and going for walks.
We are glad to hear that using GitLab helps you with your scripts and settings for vim. That's a really great approach.
Working on Free Software ( 1999 )
A new medium is coming up – fast Broadcasters: will you seize the opportunity?
Coinbase completes $300M funding round to become an $8B company
Middle-class jobs fall short: 62% fail to support lifestyle in US
Going vegan is the single biggest way to reduce your impact on the environment:

https://www.independent.co.uk/life-style/health-and-families...

https://www.theguardian.com/environment/2018/may/31/avoiding...

The next step would probably be engaging other people in veganism and in spreading the word about it.
MicroED: From powder to chemical structure in under 30 minutes
I agree. It's usually conservatives who use freedom as an excuse to argue against universal health care or to keep their guns. Instead, you're free to be bankrupted by medical bills, which I don't think is a better state of things.
i.e. "You may limit number of records using LIMIT keyword"
We (CMU) respectfully disagree, and we turn out some damn fine programmers.

Python -> A restricted C subset ; standard ML -> asm

Teaching fun and power first is good for engagement. Teaching how to think and structure is good for later asm experience so people have an existing concept of how to turn problems into solutions in code.
Cban: Clojure by anyother name
There's one upside to the Amazon shopping experience devolving into a primordial sludge of counterfeits and random whitelabel garbage. These vendors have no discoverability beyond Amazon reviews, so their desperation to prevent your 1-star review is drastic. If you leave a 1-star review, they'll often get in touch with you and offer you another item for free, as often as it takes, however long it takes.

The products are garbage, but most of the prices are already pretty good. When you realize the prices are for two at the cost of a review, they're even better.

I still get emails trying to give me free stuff to change a one-star review I left a year ago for a one-ear bluetooth earbud.

On the other hand, I don't see how you can buy quality on Amazon anymore. I've started shopping on niche sites for things that I want to work, and I'd never buy expensive electronics. The risk of a counterfeit is just too high.
Counterargument: Mayhem.

counter-counter argument: but of course, that's Norwegian Black Metal, very much NOT Death Metal. And you'd be right, and not even all NBM acts welded themselves to the subject matter. But there've been some metal bands who were really passionate about embracing (not 'disconnecting' from) the subject matter, and always a few who sought to become the subject matter, and one or two did actually do that.
What makes a great developer? A story of an extraordinary blacksmith
The whole Digital Nomad fad works similarly
Temporary gain? You mean improved quality of life? Hmmm. Let's see where the US ranks on any relevant metric compared to Singapore.
The New HTTP Client API in Java 11
Your evidence that behaviour can improve? The whole of human existence shows we're pretty consistent about choosing easiest every time. That leaves blind optimism or restrictions.

Since WW2 the developed nations have been systematically throwing away sustainable approaches to literally everything. Where once the shopkeeper measured out your purchase now we get single use coffee pods and single use plastic around 4 slices of meat. Even paper often comes in a plastic pack.

If all humanity were to approach a developed Western lifestyle the planet simply couldn't cope with the current global population. We need an entirely different approach.
An open letter to YC (and silicon valley in general)
Except for their desktops models, the base models of even the 5K iMac still ship with a Fusion Drive, and we only just got support for APFS on those configurations with macOS 10.14. As the base models are typically all authorized Apple Resellers and pop up stores get they must sell a bunch of those especially in regions where there aren’t a lot of Apple Stores (and where people don’t want to pay full price for a year old system).

They are going to need to support and perform well on non-SSD systems for quite a while.
> Nobody likes ads

Right, adults who are fully aware of the purpose of advertising don't, e.g., actively look forward to Superbowl half-time ads.
Nice! It would be cool if there was some kind of points to denote how many questions we have answered correctly.
The Bloody Consequences of the Electric Scooter Revolution
Basically stop eating beef and using internal-combustion cars, and the situation is vastly improved. Not impossible. A bunch of tax law changes would do it.

And that's a lot more passable than killing a bunch of people.
> Poverty, overpriced health care and a lack of common social structure (every man for himself) will lower the life expectancy again after decades of increase.

This seems to be a very US specific outlook on things that most western countries have long since figured out. Extreme poverty, lack of health care, lack of social safety nets - all self-inflicted in the US. Take for example the recent closings of hospitals in rural areas of red states that have refused Medicaid expansion due to extreme political polarization [1]. It doesn't have to be that way, especially in a country as wealthy as the US.

[1] https://www.nytimes.com/2018/10/29/upshot/a-sense-of-alarm-a...
> Lua trivially departs from standard syntax like ==, !=, zero-based indexes, without good reasons

Having taught programming to many people outside of the programming field, one of the biggest sticking points I have found they face early on is calling the 1st thing the 0th thing, instead of just the 1st thing which is what they've been doing their whole lives. This leaves them with the general feeling that programming as a practice is nonsensical and arbitrary (and they're not wrong). It can turn off a lot of people as they grow frustrated by constant off-by-one errors, which tooling doesn't do much to catch.

If Lua wants to be a language for non programmers, 1 based indexing is a good choice imo.
6. A constexpr function is guaranteed to have no undefined behaviour (when evaluated at compile time, anyway)
Python Libraries for Data Science and Machine Learning
> and I just realized that I was mildly exposed to in-game ads back then — in the form of product placement! (or rather brand placement?)

Well of course, ever since OutRun there is blatant product placement in most racing games: car brands

There is a reason your DVD copy of Most Wanted has a BMW M3 on the cover
And thus obeys good old Mendelian inheritance rules perfectly!
Percy for Cypress: End-to-end visual testing in three steps
I don't doubt that bug populations are dropping.

The idea of lamenting climate change by having nostalgia for the days when piling into a car and driving across the countryside would guarantee a handful of smashed insects on the windscreen is funny to me.
Hello, Community Advocate from GitLab here. Thanks for sharing your solution with other users, we are happy to hear how you use GitLab to make your work more convenient.
Because of this gene more than 95% of Chinese have very little body odor. Consequently, Chinese regard those with heavy body odor as ill, and name the illness 狐臭 ("fox stink" by transliteration). Those with heavy body odor are shamed by their peers. Few of Chinese know that almost everyone outside China, Korea and Japan shares this "illness", and deals with it daily with deodorants.
It simply isn’t true. That would have catastrophic effects on food supply and observed wildlife, and that hasn’t been the case at all. You’d see a drastic reduction in the population of game such as deer and bear and sport fish, but those populations thrive. I should see fewer snakes and birds and rabbits in my yard yet that hasn’t happened. So that tells me it’s nonsense.
Huh. I've heard carrying capacity estimates range from 10 to 150 billion.

http://outsideinradio.org/shows/2018/10/11/so-over-populatio...

Maybe population theorists are wrong and you are right it's more like 5, or whatever your number is.

It's just hard to know, since Malthusianism has such a terrible track record, adamantly predicting apocalypse for two hundred years. They continue to make failing predictions:

https://www.npr.org/sections/money/2013/12/31/258687278/a-be...

There are real challenges to confront about the environment, but I do worry about maintaining credibility while endorsing some of the more tenuous extrapolations.
> No offence but apart from HN I wonder what community takes libertarians seriously?

Allow me to rephrase. Are you immediately fearful or deeply (emotionally) offended by original opinions or opinions challenge assertions you care deeply about but are not fully informed of? Libertarianism is simply the idea of individual independence (each individual is equal) which is the opposite of democracy (majority rules). John Stuart Mills spells this out in his On Liberty book.

The most clear example of absurdity is challenging the belief that WASM is replacing JavaScript. The position on this issue is stated by Mozilla, the WASM working group, and individual contributors to the WASM spec. Regardless of what the technology, or what's the authors mention, people form an independent reality and demonize anything contrary in an aggressive manner. Contrary opinions are taken as a personal threat necessarily demanding punishment.
Electronic activity previously invisible to electron microscopes revealed
There is one tree that owns itself:

https://en.wikipedia.org/wiki/Tree_That_Owns_Itself
Why Jupyter is data scientists’ computational notebook of choice
please drink validation can
yup, like it or not highly opinionated languages like Golang actually make beginners feel more comfortable as they're not confronted with choices they don't know they answers to at every turn