skysight-inc/HackerNews huggingface dataset:
>just defining what is and isn't the same file for #pragma once turned out too difficult to define.

Admittedly that's not just a problem with old mainframes. Any system supporting file aliases (be it hardlinks, symlinks or the same FS mounted at several locations for instance) would be tricky to handle.

I always thought #pragma once was a bad idea for that reason, header guards with unique IDs don't require any compiler magic and are simple to reason about without having to read the standard or compiler's docs to figure out how it operates.
Exploitive and dominance-motivated people exist in the medical sphere, as well.
Go on stackoverflow and see if there's a decent number of activity on related tags
Wouldn't people just mine the currency themselves and exchange it locally? As long as the currency's token is unique and scarce, people can use it to trade.
The OrangePi Win supports LVDS: http://www.orangepi.org/OrangePiWin_WinPlus/

Though, documentation is likely sparse.
When I read the title, I thought this was almost the exact same article as the one about Poland: https://www.nytimes.com/2018/10/10/t-magazine/poland-brutali...
Show HN: These pint-size peripherals fix my biggest gripe with USB-C hubs
Worked examples. And a comparison with the "standard" choice; why is this new thing supposedly better?
https://www.indiehackers.com/products?businessModel=subscrip...
The first fines were leveraged against EU companies [1], your whining falls flat on it's face and has no basis in reality.

[1] https://iapp.org/news/a/germanys-first-fine-under-the-gdpr-o...
What's your story to migrate bilions of line of code that are currently using the preprocessor to use modules?

One of the design goals of the module proposals is that there is a migration path from pure include to pure modules. The transition must not require a flag day.

In particular a program must be able to handle a mix of modularized libraries and old school libraries for the rest of the eternity (it is not likely that C is going to move to modules anytime soon).
Or do the modules equivalent of 'g++ -MM'. Or is there some reason we wouldn't want that approach?
I'm actually quite interested in finding out which London tech companies use which languages/frameworks/tools. I write PHP because it's what I work with, but I'd like to learn the language that will help me find the most jobs. Anyone know of a tool that does that?
I've worked with letting agents as a tenant, and it gave me the impression they're all borderline scam artists whose business model revolves around charging BS fees and penny-pinching with shoddy workmanship.

Do you suppose, when you're a foreign landlord with a poor command of English and no ability to visit the property in person, that the letting industry somehow becomes honest and straightforward?
5.1. Is it grassroots, astroturfed or a company product?
You forgot the /s mate ;)
FineJS – A Flashy JavaScript Code Formatter in the Browser
Not sure I understand what exactly is novel about your approach.

It sounds like your opening pitch was for solving problems that your visitors didn't have. That's an age old problem. You fixed that. Then, once you got a bit more of their attention, you started to elaborate on the product. This too is not much of a novelty. That's good old gradual on-boarding, "gentle introductions" and what have you.
I find it funny how some countries want to use crypto to avoid some regulations they don't like.

However they are not using existing cryptos: instead they try to bootstrap their own crypto to still milk the seignorage cow they like, and to keep the ability to rewrite the rules later that they also like.

My trust in these countries monetary policy is less than the trust I have in say Grin.
Hi all - I'm the author of this article. Happy to answer any questions you might have - Dave
Dropbox is acquiring HelloSign
GitHub Crafts 10+ Custom Kubernetes Controllers to Refine Provisioning
It is not a natural process to domesticate, corn is not natural, cows are not natural they are human creations.

Again it a continuum, why is artificial selection ok but marker assisted selection not? If marker assisted selection is ok, why not mutagenisis? if mutagenisis is ok why not targeted gene insertion? What basis are we labeling one GMO and not another? Why are we worried about one and not another?
Linux Kernel: Create a separate subsystem for hw accellerators
The module preamble has been explicitly designed to be parseable without requiring a full blown C++ parser.
I am a sanctions guy at a local financial institution. I only speak for myself.

I read through this and lack of any detail is telling ( not unlike with EU SPV and Venezuela's own crypto attempt ). Personally, I think that crypto will face the same fate as potcoin, but even when we assume it works, it will work well locally.

If there is one thing we learned by now, it is that the whole point of sanctions like these is to limit sanctioned country's access to the international markets. Few exchanges will touch it and if they do, they will likely be sanctioned.

So there is that, useful article to add to my linkedin feed.. but that is it..

edit: added missing 'they'
Popularity feeds hype. Hype feeds popularity.

Never mistake popularity for quality. Most of the time they have negative correlation.
Hierarchical Reinforcement Learning for Multi-Agent MOBA Game
Dropbox buys HelloSign (YC W11) for $230M
That's exactly how it has been specified.
16 cargo ships equal all of the world’s cars in pollution, and there are >100,000 of them.

https://www.dailymail.co.uk/sciencetech/article-1229857/How-...
Serverless Watermark Using AWS Lambda Layers and FFmpeg
I feel like Castlevania is a really cool take on Anime. It has a different style than the usual Anime and the fight scenes are amazing. I was surprised it is actually any good.
Open Source GPU Compute Stack – Not Dancing the CUDA Dance
> At least in London, I have heard it claimed [1] that foreign investors buy properties and leave them vacant,

Maybe it's just hearsay, but a friend of a close friend of mine works as a project-manager (not sure what the exact term is) on several construction sites in and around London. According to him the vast majority of the real owners behind said projects is unknown, as in he doesn't really know for whom he builds said projects.
1. Who uses it and what have they done with it?

2. Is it actively maintained? (How) are issues dealt with?

3. How popular is it and what is the trajectory?

I don't want to be the first person to run into all the issues. I'll let the kids do that, they love shiny new technology.

I don't want to invest into a stopgap technology (like Coffeescript). My gut feeling is that Elixir is one of these technologies, it has some good ideas that will probably show up elsewhere in due time.

I do value "XYZ sucks" posts to some degree, but unless I already know the technology reasonably well I probably won't be able estimate the impact of the issues.
It's time for a robust philosophical defence of truth in science
What if there is no evidence that the path matters, and on top of that, there is evidence that human brains and society are biased toward unjustified belief that the path matters?
I use IDE (IntelliJ) and I almost never use the mouse. Knowing all the shortcuts and using the “Find action” (CMD/CTRL+SHIFT+A) and “Find everything” (SHIFT+SHIFT) tools help a lot. These tools also allow you to discover shortcuts for things you didn’t know.

The no-mouse challenge for a few hours makes you more proficient at using IDE without a mouse, and only keyboard.

Also, complex refactorings are so much faster in IDE, and I do refactor every 2-5 minutes as part of my TDD workflow, so IDE really makes me much more productive as I would otherwise be.
Global gaming market in 2018 – top mobile games by downloads and MAU
Yes, there are a borderline scammers, I've been working with such people myself, as a tenant and a property owner.

foreign landlord

Why on earth would you buy in London in these circumstances, why not put you money in an ETF?

Let's quantify: what fraction of the London property market does that apply to? My hypothesis: < 0.2%
Basically these key factors:

* are there any tutorials / code examples? (to see if I like its API/philosophy AND there is a way to pick it up)

* are there any practical, working projects out there (used by companies, etc)? (otherwise it may be not useful for bigger projects)

* is it in active development? (otherwise there is a risk that it will cease to be useful)

* how does it match against other tools (e.g. maybe it is easy to pick, but so are all other frameworks).

Also, I did write some comparisons. Vide: https://deepsense.ai/keras-or-pytorch/ (got popular here).
The presence of template specialisations and constexpr functions means that the GP is right here; you cannot decide whether an arbitrary piece of C++ is syntactically valid without instantiating templates and/or interpreting constexpr functions. Consider

template <int>
struct foo {
template <int>
static int bar(int);
};

template <>
struct foo<8> {
static const int bar = 99;
};

constexpr int some_function() { return (int) sizeof(void*); };

Now given the snippet

foo<some_function()>::bar<0>(1);

then if some_function() returns something other than 8, we use the primary template and foo<N>::bar<0>(1) is a call to a static template member function.

But if some_function() does return 8, we use the specialisation and the foo<8>::bar is an int with value 99; so we ask is 99 less than the expression 0>(1) (aka "false", promoted to the int 0).

That is, there are two entirely different but valid parses depending on whether we are compiling on a 32- or 64-bit system.

Parsing C++ is hard.

EDIT: Godbolt example: https://godbolt.org/z/yR3YHW
Free Stock Photos Resources (111 websites)
Hello everyone,

I just made a list with 111 free stock photos resources (sort by popularity, with screenshots and stats)

The most completed and updated resources of free stock photos under Creative Commons Zero licence, as known as Public Domain. Millions of free photos for personal and commercial usage with no costs.

P.S.: About the "list function", I just made it for this specific purpose - it automatically and on daily basis checks the website status, speed, ranks (popularity), makes a screenshot and some other possibilities. I'll create more lists and maybe open the function for people to make their own lists, is this interesting for anybody?
Not related to the article but the show stopper for me trying to install/test this email reader is that it won't work with just a generic IMAP server. I've got to be using Outlook or Office365 or whatever.
Indian leader promises minimum guaranteed income, if elected
Custom Dashboards: Why Are They So Helpful?
> That only works if the purchases are actually an investment. When real estate is a form of money laundering, you expect to lose a portion of the value to the process of making dirty money clean. Also, a portion of the purchases are by people, say from China, who just want to park their money some place in a form where it can't be seized by the government, losing some of its value is again okay.

This is the beauty of taxation. It is an ongoing commitment. We can use it to our advantage. Even bumping taxes to something like 5% of value should wreak havoc (in a good way) to the market.

> A tax high enough to change these behaviors is unsustainable if applied equally to everyone and all properties.

Assuming the retail market cost is as much as people can afford (that's the entire point, right? people can't afford any higher rent?), there is no slack which means the people in the middle have to absorb the extra cost without passing it on. At least that is my naive position until proven otherwise.
Those are the tales people told by people who are not landlords. The real estate investment money comes from two different categories:

1. Landlord leverages the cashflow to acquire property and bets on appreciation of real estate. Margins are very thin. These are the people who buy buildings when the asking price is less than 10x of a yearly rent roll and sell building at 12x-13x of yearly rent rolls ( longer for commercial). They are leveraged to the max. Think Trump Organization or Kushner Companies or your average landlord/slumlord.

2. Purely investment plays. Buildings/units are owned outright. Those typically are multi-hundred thousand to multi-million dollar condos. They are either used for hedging, money laundering or diversification. Tenant in this cases is irrelevant unless it is a specific kind of a tenant. One can see this all over NYC for example. Storefront and condos that sit empty or years.
Between Iran coin and Dogecoin, I know which one people should mine themselves and exchange locally because it's unique and scarce and usable for trade!
There are dozens of variables. The argument is that the proportion is constant with respect to a small fluctuation in one of the numbers over time. The fact that the proportion is not constant over the dozens - 1 other variables isn't particularly surprising or pertinent.
I think OOP is better suited when state needs to be maintained in memory over time. User interface development is one obvious use case and I think OOP really gained traction during a period when thick clients were the norm.

However, when thick clients gave way to web apps (ignoring SPAs for the moment) the industry still tried to pound the square OO peg into the round backend hole. Most of that backend code is just transforming data between a database and either a browser in the case of a web app or another client in the case of web services, applying business rules along the way. I think this class of software is much better served by the FP model.
Or planes can fly, right?

I understand this, however it's not a fair point. Without proper understanding of 'swimming' and 'flying' these technologies wouldn't be possible. So the link between thinking and AI is not totally trivial in my opinion.
This article seems to be just speculations without any reliable source. Using cryptocurrencies for any meaningful amount of money is impractical for sanctioned countries because of difficulties in exchange with fiat currencies. Currently the Iran government forces very restrictive policies on cryptocurrency use by people. Even if there is a CBDC project under development, a small project done as an experiment does not show what a country is trying to do.

(I am CTO of a local cryptocurrency exchange market in Iran)
Nobel Prize winner says his new invention will give everyone clean, cheap energy
Please explain how the data provided by the article relates to higher rents. Just because rents are high and oligarchs are buying properties in order to collect rent, it does not follow that rents are high because of that foreign investment. It only makes sense that they are related if they are not renting them out. Which may be the actual case, but was not what was described in the article.
How to Maintain a State of Creative ‘Flow’ (2018)
Crop breeding is a form of GM, I am assuming you are talking about targeted gene insertion, what about mutagensis a 1920's tech, is that ok?
1) they are crap and everybody hate them
2) I don’t see the point in buying an MCU whose timer is incredibly advanced (look at TIM1 and TIM8 on an STM32) and abstracting it afterwards.
How to convert an array-like object as NodeList to a real JavaScript Array
This is very true. Also, not an argument made by this article.
The point is that the reason you smoke, even when you're consciously trying not to, is because of chemical addiction.

Addicts build up a myriad of justifications for their addictions.

I liked the taste of cigarettes. They helped me wake up in the morning. I smoked to concentrate. I smoked to distract. I smoked to relax. I smoked so I wouldn't overeat etc.

At the end of the day, I didn't really smoke for those reasons. I smoked because cigarettes were chemically rewarding and I had become conditioned/dependent on smoking.
That's odd. I got comments from other programmers saying that is not available in Brazil... I might set something wrong. (However, I can get it from Argentina).
Anyway here is a link to the files https://drive.google.com/drive/folders/1LKgJcNmsRDCHb5Kigvpo...

Thanks for letting me know!
Cheers!
The difference between pest and pets is often but a /s
> Microsoft is backing C# so that probably has a bright future

Not too long ago, that statement would've been seen as satirical. Microsoft has left a huge graveyard of technologies behind. They seem to be on a better track now, but I'd still be wary.
Why is there a ringing in my ear after a concert How long does it usually last?
Native Venezuelan explains bolivar hyperinflation and Bitcoin adoption
Hi! I've created Firefly III. I want to note that the tool doesn't require you to use Spectre. It's one of the available ways to kickstart your financial administration.

Personally, I would always do this by hand.
I know at least I will never ever go back to JavaScript after having used TypeScript for a bunch of years.
Germany (well, German states actually) alone has handed out fines to 41 companies, and has hundreds of proceedings in flight (i.e. one German state is currently investigating 50 local companies), the vast majority against locals. The average cases just don't make headlines, especially not in english-speaking media, because who cares?
On the art of writing programming tutorials
I really love the code first approach of Fast.ai, I'm impressed by teaching style of Jeremy its clear, succinct, and to the point.
They’ll use the same techniques they are now: monitoring and blocking cash flows, getting partners not to use it, etc. This is the same way that drug dealers get caught even if they try using a variety of currencies, collectibles, real estate, etc. — at some point you need real currency to spend and the in/out-flows are monitored.

All a cryptocurrency adds is a public record making that task easier and the hokum used to sell it may make the NSA’s job easier if people believe it’s anonymous. Setting up a separate one also means there’s less benign traffic to hide behind.
1. Stop supporting IE11.
2. Whatever has 99% support in browsers your users actually use.
3. Yes.
4. It’s called React.
It depends how core to what I'm doing the tech in question is.

Programming languages are their own category. They tend to not just be a project investment but a career investment. I generally at least get a feel for the language by reading some projects written in it and looking at code that does things I know how to do in the languages I already know. If there's some known strengths to the language (eg. "Go is good for servers", "Rust is good for system programs", …) I may be tempted to use the language for one such project as my first experience with it.

Software tech, things like what framework/DB engine to use, proprietary services such as AWS/GCE services and what not: Those I'll find when looking up how to solve a technical challenge I'm having at a particular moment. Reading up on it (documentation, known use cases, success stories, failure stories) is the only way to really decide. Then it's a matter of choosing the best fitting solution from the ones I found.

Important criteria:

- How well does this solve the problem at hand?

- Is it open source?

- If closed source, is it hard lock in or does it have open source tooling? (eg. Redshift uses postgres-compatible tooling/syntax, a huge benefit)

- How good is the code? (And what's it written in?)

- How good is the documentation?

- How popular is it? (= how likely am I to find help when faced with an obscure bug) / Is it an easy tech to hire for?

- How much do I trust its maintainers? (Especially: How much do I trust them to keep maintaining it and keep the project healthy)

- Is the pricing/licensing compatible and affordable for my use case?

The most difficult part of this process is knowing when not to use your own shitty hammer when there's much better hammers available for the current nail. It's easy to get stuck in a mindset of "The current tech, which I know, doesn't work really well for this use case but it can be made to work somewhat and that's good enough, no reason to look up better alternatives".

I'm always blown away when I discover a new piece of equipment I might have completely missed, were it not for actually googling/asking around for solutions to a new problem. Immediate discoverability of solutions kinda sucks when you aren't sure what to look for.
Show HN: X-spreadsheet – A JavaScript canvas spreadsheet for web
"how much the feature is responsible for the overall derivative" part is obvious. But I'm curious how the assumption can be justified - how do you isolate a feature to a certain linear subset? And how do you know that this feature is (i.e.) "stripes"? The mapping from vectors to human language is the part that seems hard.
What would another primary reason be?
We stripped every feature that made our product different and put them in an 'app store'. This was a huge change (a lot of work and a big risk), and not something I've seen others do as an on-boarding strategy. Thus, novel. I believe this approach could be repeated by others. It's a far cry from the usual walkthroughs, carousels and prompts.
Previous discussion https://news.ycombinator.com/item?id=18903235

Edit: Discussion of previous post.
I always look for articles that talk about issues that arised with that specific tech during / after development.
Edge cases and workarounds, things you cannot do at all, maintenance, etc - this is IMO the most interesting bits when you are evaluating a new technology.
>One interviewee, in response to a question about what advice he would give a potential whistle-blower, wrote, “[Can they] afford 5 years of their life in turmoil?” Another said, “Part of your ability to do anything about this is keeping yourself together,” and suggested that whistle-blowers find someone “like a minister or a shrink who’s confidentiality-protected,” because “this could go on for a while.” A high proportion of whistle-blowers reported divorces or other marital strain, family conflicts, and stress-related health issues including shingles, autoimmune disorders, panic attacks, insomnia, and migraines. Several of them said that the financial consequences were devastating.

More than anything, I didn't realize how long these cases seem to take. But I wonder: if there was a way to reduce the duration of the cases, would that reduce the impact on whistleblowers? Is that possible somehow? Retaliation is also a big concern, of course, as the article makes clear.

Also, I found this interesting:
>the first documented whistle-blowing case in the United States took place in 1777, not long after the signing of the Declaration of Independence, when a group of naval officers, including Samuel Shaw and Richard Marven, witnessed their commanding officer torturing British prisoners of war. When they reported the misconduct to Congress, the commanding officer charged Shaw and Marven with libel, and both men were jailed. The following year, Congress passed a law protecting whistle-blowers, and Shaw and Marven were acquitted by a jury.
> Why on earth would somebody who's interested in profit leave a property empty, rather than cash in on rent from tenants?

IANAL, but I did read once (apologies, can't find the citation), that depending on the ownership model, you can write down the cost of "no rent" on your tax bill. So if you have revenue from other sources other than property, it's not much of a hit to leave it empty and make the gains elsewhere in your portfolio.
IMAP is on the way (I'm using it now) but not quite ready for showtime. If you'd like access to the upcoming beta email dave (at)hiri(dot)com.