skysight-inc/HackerNews huggingface dataset:
Hello, I assume by your username that you're the author!

Transpiling is normally a little risky. Transpiling with a custom transpiler over ~500KLOC is downright terrifying.

I'd be concerned that the cure is worse than the disease.

I understand the allure of this solution. Bringing 30ish years of code into the modern era with a single piece of code sounds like a huge win. But you owe it to your employer (who seems really gracious and trusting) to ask:

1. Are there edge cases? Programmers are a clever bunch, and you can never be too sure about what features/bugs they've used/abused!

2. How will success of the transpile be determined? I'd use unit tests, but that'd take a lot of unit tests!

3. What % of that code path is critical? Can you get away with ensuring the functionality of a subset of the codebase? If so, could you just manually port that?

4. "Blaming the compiler" will be a reasonable excuse for any problem over the next year or two after deployment. I guarantee you'll be spending time proving that other peoples' mistakes are not your fault. How much flak are you and your boss going to take for this?

5. Since the code can be linked, might a more popular language (that will be known by a wider community) with a slow porting plan be reasonable?

6. Python is commonly used with scientific computing. Why does this case preclude it? If you are doing mostly numeric processing, that gets directly passed to the hardware anyway!

You have been given a rare chance to pay down technical debt. From what I understand of your solution, I believe the bespoke transpiler and semi-known language will ultimately increase it. And I know you love D, but if I were brought in as a consultant, I'd be recommending the .dll/.so solution with Python. If something is really time sensitive, use Python binding to work with other languages (avoiding premature optimization).

Even if myself or my fellow posters made a point that resonated, it might be too late for such discussions. I can't weigh the political costs for changing strategy now. So I'll wish you good luck, and hope that Extended Python doesn't have too many sharp edges for you to contend with. I hope to see a postmortem a few years from now detailing the outcome of this plan.
Indeed:
https://developers.google.com/web/updates/2017/03/dialogs-po...

Electron has native dialog APIs:
https://electronjs.org/docs/api/dialog
QuickBase, Bubble, etc.
After you search, you have to click the "Tools" button and then change the "All results" dropdown to "Verbatim".

It's bad UX, there's no indication at all for why I'd want to click on a dropdown that says "All results".
So a few notes:

1. A single state is not representative of the entire country. Let's keep in mind this is probably the state hardest impacted along with Texas.

2. Of those English learners, what percentage are illegal immigrants realistically? What about citizens who speak Spanish primarily? In California, this is not uncommon.

3. How would you spend 30% of your income on education at the K-6 level (where 3/4ths of these students are)? That seems virtually impossible no matter the income bracket and way you count taxes. If you're paying for private school, you don't have this problem.

4. If this is indeed such a large group at many schools, then those programs listed on the item you linked should be effective in serving both large populations, yes? If they aren't is that really the fault of immigration or simply a failing of public schools, which is not inherently due to immigration.

5. All of this to say that your kid getting slightly less time in K-6 education (after that, the population of English learners is about 6% of the population, which doesn't even take into account English learners who are not illegal immigrants, so likely even as low as 3% or less) is worth this hardline immigration policy? In a class of 40 students, that's two maximum from 6 grade on. I don't see how you can justify that.

6. Again, this is the state hardest impacted. Because California public schools have 3% or lower English learners that are illegal immigrants in their public high schools and other states likely have far less, we separate families?
Transferred instead of being promoted, to be precise.
BIS Says the Internet Will Crash If Cryptocurrency Is Adopted
The State of the Nation's Housing 2018
It's right there in the announcement, all the compiler support is already there this time around.
It's definitely an option. Though I suspect that, with my Internet bundle, dropping cable and adding this probably wouldn't save me a huge amount of money.
In some cases they make sense, tags being a good example. But the moment you find yourself writing extra code to do multiple updates in order to keep things in sync, that's a sign a normalised option might be a better approach.
That's true, although I've noticed it occur much more recently (admittingly that's a selection bias)
That's an excellent point for searches on new things. But for things that had a lot of existing content, I also find them more and more drowned out.

I think the reason is that Google rewards following it's instructions for mobile, security, etc, and existing quality content is often kept online merely as a donation to the public. Having the incentives of a spammer and following through on every rumored 2% rank improvement is almost a requirement to get near the top results.
wow! go google!
The Honor of Being Persecuted
I did not accuse you of homophobia, though that is a legitimate read of my comment, as phrased. I took your position of normalizing "traditional" human sexual dynamics and pointed out (in a manner admittedly somewhat motivated by, "Oh, god. Not this shit again...") the slippery slope you're treading.

If you feel I mischaracterized your point, I apologize. It was not my intent. I just have entirely too many queer and non-mainstream friends whose lives have been terribly adversely affected by other people telling them the myriad ways they're wrong, not to be a little reactive to it.

Your overall point isn't wrong. How you phrased it (and how I phrased my response) could have been done in a way that was more cognizant of how broad the brush you're swinging might seem to people getting splattered as you swing it.

Is that an unreasonable ask?
Generating and Editing High-Resolution Synthetic Images with GANs
How do you measure if it actually is better for people though?
Why Decentralized Storage Will Never Work
See this blog post from last year: https://hackernoon.com/whats-revolutionary-about-flutter-946...
You might want to take a look at JSON5[1]. It supports comments among other minimal additions

[1] https://json5.org/
No idea, DDG is my search. I only use google for vague searches where my search terms are very poor but I don't know the subject enough to refine my search more clearly. Sadly, this is somewhat frequent.

Regardless, DDG represents easily 70% of my searches.
Agreed. Here it is, nicely formatted:

> Although John McAfee is often perceived as an erratic and outgoing individual, I believe that he only wants the best for Cryptocurrency and having an influence as large as his is highly beneficial to helping spread awareness of this great technology which should help boost long-term success. Make sure to follow John and have a watch of some of his interviews, this man has some great knowledge and will do great things for the industry.

Italics and an &gt; quote prefix look much better than code blocks, both on desktop and mobile.
But you're not paying the server to browse Reddit.
This is like saying working out and gyms make the 'ego bigger'. Maybe those who want to 'improve themselves', be fit may already have bigger egos and a self focus to start with. A study on gym goers would produce identical maybe worse results.

Sweeping assumptions on large groups and immeasurable concepts like ego are rarely credible because you will never have the kind of data to justify any blanket claims.

This seems more like a 'fetishisation' of the other based on a lack of understanding, and often there is no desire to understand, just label and dismiss. Why would anyone even do a study like this?
> "It would be nice if Hacker News had a better way to quote text."

Consider doing it like this.
And your claims are still completely unsupported, at least here in this discussion. You don't give even a single example of some other publicly known code that does what .NET does. And the way you formulated your previous claim appeared to claim that the Linux kernel contains such a kind of code. I'd still appreciate even a single verifiable example of all that "some" that you've apparently "seen".
I've even seen .c++/.h++ in the wild at least once.
If wearing is a suit is a problem, a workplace can't claim to be free of a dress code, or that people can 'wear what they want'.
i hope this stupid company goes down the shitter eventually and takes all its bullshit and self-importance with it. just tired of all this bs, accusations, threats , unfulfilled promises and plain lies. why can’t they just shut up and make cars like everybody else?
The Death of Postmodernism and Beyond (2006)
Sorry Musk did NOT claim that. Stop inventing things to just to satisfy your ego against Tesla. Good grief. Troll somewhere else please.
In his book, The Checklist Manifesto, Gawande reports that at the end of a big checklist pilot project for the World Health Organization (IIRC), participating surgeons were surveyed.

• One of the survey questions was, in essence: Would the use of checklists improve your surgical practice? Most of the surgeons responded no. This was consistent with the resistance that Gawande encountered: I don't need no stinking checklist; I'm a good surgeon!

• But the more-telling survey question was this: Would you want another surgeon to use a checklist if operating on you or one of your family members? Something like 93% of the surgeons surveyed responded ... yes.
Without evidence, this is just another conspiracy theory.
very nice http://bit.do/mawazo
I think the legal term is "he is toast" in this instance
Europe doesn't quite know what to do with the massive influx of new faces. Governments say 'integration' but they shove them off into corners of the city because they can't afford to take the city housing from the established population.

America was literally built by people showing up and carving out a life for themselves. There is something about the culture that offers more room for that to happen once you arrive.
There is a section about repudiability near the bottom of the article.
Exactly. Even if the internet is to blame, this is a moving window. Good yesterday doesn't mean good today, and keeping up with that is needed to be considered "good".
Trump caves in and signs order to keep families together
> Be civil. Don't say things you wouldn't say face-to-face. Don't be snarky. Comments should get more civil and substantive, not less, as a topic gets more divisive.

What that means in this case is: don't make inflammatory claims without anything to back them up, don't be personally thorny, etc. Make sure your post has actual information that we can learn from, not just provocation.
yes, hard to explain but I noticed their filter bubble keeps showing me my latest preferences, so there’s the need to make it “unlearn “...
Yes, for me it's been getting worse and worse over the past few months. I don't see as many quick answer boxes up-top and the results are almost never relevant.

It's hard for me to explain, but it's almost like Google forgot how to ascertain context for certain terms and now gives a more general result.
very nice blog https://tinyurl.com/ybsu2vdw
25% is great! You're right, there might be more here, and it's always a good idea to be charitable in your reading, that's absolutely worth keeping in mind.

It's just that the headline sales pitch of the post is "from 7GB to 32KB". Unfortunately, that doesn't mean much and it's misleading. As is the title "Strings are evil". Those sentences combined with no obvious reason to ignore the primary optimization metrics and instead focus on something that doesn't affect either memory usage or run time very much, those things together make me feel like it's more likely the author either wanted a good blog post, or doesn't have a ton of experience with optimization. Those are both great, but that's no reason for me not to comment and try to add some clarity.

To me it seems a bit strange to say that time taken was not the main focus, and follow that with "reduce the time spent in GC." The singular primary reason to reduce allocations is to reduce run time of the program, there is no other reason here.

FWIW, it's highly likely that this program's run time could be further improved by more than 2x by allocating a single buffer the size of the file and doing a single fread() call, then processing the entire file in memory. That would increase the working set from 16MB to 300MB, or whatever the file size is, but would allow much faster processing than line buffered input.
I was one of the developers years ago. You find your language ORM library and away you go happy coding. It was only after running into some performance issues and other bottle necks that i put my head down and spent a week learning the DB (granted its not a long time but you can learn A LOT about SQL and your DB in 40 hours).

Not only did it solve my bottle neck issues it just made it very apparent that there are a lot of things ORM do that make everything harder. They have their place but working with the DB/SQL/Triggers/Views/Mat Views/ ... improved my applications greatly.

Now years later anytime i am working with a new developer i always stress that they at least learn the basics.
Objection, appeal to popularity

"Millions" sounds overwhelming until expressed as a proportion of the population of the USA, Australasia, Canada and EU: just shy of a billion.

These devices have been accepted and adopted by a small minority of people to whom they are available.
There is no citation. Animats is making things up to satisfy his hatred of Tesla.
A couple thoughts.

If your configuration file is so long it's unreadable in YAML, then maybe you need to break it up into more than one file? I can't imagine any syntax would be easy to read once you reach more than 100 or so lines.

Do any configuration file languages support type hinting? Adding (int) in front of a YAML key would be easy enough to read, and would keep some of the confusion at bay.
Under essentially any accounting system, when it comes to the environment, we're a bunch of fucking assholes.
If you're getting a Symantec certificate error, try loading the non-https version. There is an open issue for this on the erlang.org repo: https://github.com/erlang/erlang-org/issues/7
I wrote a few weeks ago about how ridiculous it was for AirBnB to spend 18 months testing a new font. A 5 part series on React Native is again next-level indulgent.

Why am I not surprised engineers at Airbnb have so little to do than to write a novel about a framework?
If you're pair programming, you should absolutely do this. It's a substantial impediment to equal contribution if you don't.

If you're not pairing, it seems like a move with a poor payoff for its cost. Sure, make sure everyone has identical code style in their auto-formatter, but let them pick their own editor.
Instagram crosses 1B monthly active users, unveils long-form video
This is what inevitably happens to me as well. This past week I wrote what was literally a single file ruby script to do some automated QA testing for a website migration, since that day I've been requested to:

- make it a web app so the team can run tests

- add some charts

- keep it secure

- umpteen new semi related features

Would have been easier to just start at "rails new".
Yes, but ITT we're talking about someone apparently having the option to pick which format they're using for config, and they'd use JSON if it wasn't for one dealbreaker.
I'm not really interested in buddhism, but have practiced meditation. I have to say meditation itself brings a great calmness, especially for my anxiety, and I was quite skeptical when it was recommended.

I think meditation should be examined outside of the scope of eastern mysticism, it need not be associated with it.
Couldn't have said it better!
I think, this goes way beyond just companies preferring to hire cheaper developers and beyond software engineering as such. There is a larger, universal force at play here. Examples of poorly designed, engineered and built things are everywhere in the world. It is seemingly cheaper to do it this way. But what may be saved upfront on production quality, is usually spent many times over on usage, maintenance and subsequent rebuilding, making the total cost higher.

For example, a road built with cheaper materials will break and need to be patched more often. A poorly engineered application will be slower, consume more CPU power, more data bandwidth and require more storage space, will be buggier and waste more users' time.

With only a very basic understanding of economic theory, I would imagine that market forces at scale would optimize these inefficiencies and ultimately work to reduce total costs. Perhaps this unconscious, natural process would even work, were we not consciously optimizing against it on the wrong variables, such as the next quarter's profits.
Easiest way is to get a certificate for a subdomain of a domain you own, e.g. dev.example.com, and then point dev.example.com to 127.0.0.1 in your hosts file.
XML wasn't intended as data interchange format, but for replacing SGML as serialization and markup meta-language on the Web (eg. for XHTML, SVG, MathML). It can't be said often enough that markup languages are for authoring and delivering semistructured text data, not for general-purpose data serialization. As in, editing plain text files and have your text treated as content unless marked up with markup and annotated with metadata attributes.
Though this is much more pronounced in SGML which also contains the features for authoring (as opposed to delivery) omitted from XML such as tag omission/inference, custom Wiki syntaxes, and other short forms.
> it seems to be the case that the majority of libraries are unsafe by default (especially the dynamic languages), so de-facto it is a problem with YAML.

It may seem that way, but it's not. Re: cryptographic functions
Exercise vs. Standing? You Probably Need to Do Both
Have no idea how much my friend was carrying in terms of weight, didn't have a scale with me. Also, it would have probably been in grams not in whatever weird units you guys use in the US.

Jokes aside, it's confusing the way you used the expression "an ounce", given that "an ounce of" something is usually used to express just "a bit of" something.
I’ve noticed this as well!
I now use bing and duck duck go exclusively. I’m surprised that I’m saying this but Bing reminds me of where google wishes it was now 10 years ago. It’s as if all the good killer little features google had have matured at bing and google has fallen into some dystopian version of itself and has gone back to the stone ages.
Years ago I had to support a tool that used YAML as a configuration language, and a transport between different applications. Holy. Hell.

First of all, don't ever try to edit a YAML file by hand. You will introduce whitespace or other characters that will break the file, and you will not know until you run it and it breaks something.

The reason you will not know? Not all YAML parsers are the same. Some will interpret it correctly, and some will break. You'll have to get reference implementations of every "supported" YAML parser and run every config you have through them all, and diff them all, before you can trust them.

YAML may be easier to read than JSON, but its added complexity (the parser is significantly more complicated) and obtuse "features" are just not worth the effort. Not to mention, have you ever tried to maintain a very large indented YAML file by hand? Pain in the ass. Just shove everything into JSON files. The fact that it's so limiting is freeing, and everything can parse it. But don't edit it by hand.

And IMNSHO, you shouldn't use either YAML or JSON as a configuration language. They are for data structures, not configuration. If you want a configuration language, go get something designed as a configuration language.
Microsoft staff call for end to Immigration and Customs Enforcement contract
How to Build a Teachable Machine with TensorFlow.js
blog nice , http://mawazo.tk
In other words, driving immigrants underground rather than giving them status (which is practically impossible for most people to get except through marriage) makes it possible for employers to underpay them and abuse them and assume they won't complain.
I just thought of something. With all the privacy issues going on lately, how many of us that are complaining about poor search results have also installed some sort of add on to block Google from tracking us? Can that have something to do with it?

For example, my search results tend (or used to tend) to be skewed towards results dealing with programming or computers in general. If I search for "exception" I generally get results for "Programming Exceptions" rather than any other type of Exception that can exist.
You sound like the peanut gallery of an open web forum on the internet.
I could see a small firm offering one-on-one, high value cryptocurrency-to-cash-and-back transactions doing very well. They could jump through all the money exchange and KYC hoops just like Coinbase did, but offer top-shelf, direct service.
Keybase may have started from the technical community b/c of its foundation with how it handles identity and encryption, but I definitely don't view it as an app targeted at a different audience. It is an app that can be used by the general public and I use the mobile version quite often. I don't find the comparison odd at all.
It doesn't even work well on desktop, look at this: https://i.imgur.com/i2NdHfR.png A tiny sliver of the trailing 'e' on "influence" was sliced off, so in response to that minor readability issue a horizontal scroll bar was rendered over the entire last line (and for whatever reason isn't auto-hiding). Behavior of scrolling in these sort of situations is unpredictable across platforms/browsers; the entire scenario should be avoided.
Preferably out of US jurisdiction as well.
You generally don't have a right to a court-appointed counsel in a criminal case, either. That only applies if you cannot afford one.

Although the parent was referring to the fact that you have a right to have an attorney present for any police questioning. But again, that does not apply here, since the police presumably weren't the ones doing the questioning.
The answer is in version 1.2 of the spec:

> The primary objective of this revision is to bring YAML into compliance with JSON as an official subset.
Is a downvote considered compelling evidence now?

Something to as yourself in private: why do you believe what you believe, with such conviction, if you are not able to defend it intellectually?
Yeah this is the boat I'm in. Cut the cord almost 10 years ago now (I do live in a town with decent over the air digital) and saved money at first but the "trend" has been to just slowly up the cost of internet.

With a subscription to Netflix ($11) and YoutubeTV ($40) + our base internet cost (~80$/month for 100MB down) we don't actually save much over the TV/internet bundles...if at all. I'm at $130 which is essentially where we were before...just not all going to the same provider now I guess.

For areas like where I live with terrible fiber coverage, the cable industry still effectively has a stranglehold.
Well, I imagine they use metrics like how many pages you sift through before selecting a link (presumably the page you were looking for), or whether you had to modify the search. As some other posters have said, observing a lift in 1% for these kinds of metrics can hide a massive loss of quality for niche queries or user groups. I imagine folks internally don't just look at aggregate stats before pushing changes, but refine metrics based on the type of query or the type of user.