skysight-inc/HackerNews huggingface dataset:
How do you react to the internal reports and information films produced by, as it turns out, most of the major oil companies in the 1980s and 1990s?

That was the time for gradual moves to fuels with lower carbon, and a gradual shift to more consideration of the ecosystem.

Whilst the scientific consensus of how serious and urgent a problem we face was still being honed, the fossil fuel industry was pretty unequivocal about it. Clearly they don't fit the same political or activist labels yet seem to be painting a future just as unpleasant as the most strident activists. A future that is going to require regulation and restriction of some choices as "being mindful" isn't going to cut any production or output from the plastic factory, or internal combustion, or any reduction in the worst forms of agriculture (grain fed cattle).

Humanity, or more precisely, political parties and industry ignored clear warnings for 40 years. We seem to have left it much too late for gradual anything to work. We ran out of time, thanks to a succession of governments across the globe, of all colours, sweeping it under the rug. 40 years of "not on my watch".

The scientific consensus is over 97% of climate related scientists find there is an urgent problem. What should we do now?

As an aside I try not to heed much from activists, political, religious or anything else, even on issues where I sympathise. The sensible and accurate discussion is usually found a little further from the margins.
Sounds like a marketing blurb but from just a few days ago:

"Azure is breaking the speed barrier in cloud connectivity. ExpressRoute Direct provides 100G connectivity for customers with extreme bandwidth needs. This is 10x faster than other clouds."

https://azure.microsoft.com/en-us/blog/azure-networking-fall...

Can sb confirm that? Have a useful case in mind.
It sort of just works. Get yourself a big USB thumb drive (I use 8 and 16G) and boot off it. You'll answer a few questions to install.

I like the Thinkpads because they are so cheap ($200-300) gets you an i7 and 8-12GB RAM. The CPUs are compatible with SmartOS for KVM guests.

All that said, I really should write a definitive guide of how to operate SmartOS coming from the linux ecosystem.
Could you name a specific person you consider to be a reasonable actor and who holds any of the beliefs you cited? Eg land use.

I can't think of anyone who actually says those things, is why I ask. People opposed to reducing emissions usually tend not to think about it or dismiss it, in my experience.
MW still doesn't have the computing definition of "semaphore", but it lists only the railway one. Shouldn't we be using Wikipedia altogether?
Thx for the clarification. Had the same misconception
I use simple loop constructs like the above all the time; it's especially useful for collecting. But elaborate loop constructs in their full glory are impossible to understand and IMHO should be banned from use on any software engineering team.
Grr. Expressions are hard:

10 LET a = 3+4*5
20 PRINT a, "\n"

Produces the expected outcome:

-> 23

Bug filed:

https://github.com/skx/gobasic/issues/41
I actually used GPP to write my thesis in Markdown. I had a "main" document containing a bunch of GPP "include" lines. Then I fed that into Pandoc all in one shot. I wouldn't have dreamed of doing the same in M4.
Encoding your whole orientation would require 3 numbers. You are restricted only to the horizon, so one number is enough.
HelloBox is another alternative

https://www.hellobox.co
Many of these concerns seem to not be limited to Javascript at all - especially once you're sending/receiving data between systems. In Python for example, when receiving JSON/XML payloads you have the same defensive parsing layer at the point of entry, but humans can still mess that up and monkey patch a class that breaks assumptions elsewhere without warning. Did I miss something in the larger argument?
> Are there other examples of differences that we intrinsically know but don't consciously realize?

Probably everything from https://en.wikipedia.org/wiki/Sex_differences_in_human_physi....
Not all BASIC dialects have line numbers, there are some very elegant version of basic out there. GFA basic for instance and BBC Basic. Both have named functions and do not use line numbers.
Is there a service where you can pull constantly updated info about time zones etc? Like a library?
Weekly, sometimes daily, I run into a situation where flow is straight up wrong in baffling ways, or needlessly developer-hostile, and I end up having to help my junior team members write worse (or at least more verbose) code to compensate.

It's still a million times better than JS without TS/flow.
Yes, but it should not require that LET statement. The expression evaluator looks subtly broken.
Thank you for the advice. I added an update to the top which reads:

This post was originally written from a place of jealousy and bitterness.

Turns out I was wrong about this transaction and for better-or-worse,
Facebook (and Mark Zuckerburg) solidified their edge as the king of social for the last 6 years.
This can only mean they think Bloomberg is acting in bad faith. Otherwise a huge dick move of shooting the messenger. Not really sure how to feel about this, other than more intriqued. If bloomberg trusts their story, they have even less reason to back down now, so it forces a stalemate. Without evidence contradicting one party, this will just stay ugly. And its much harder to contradict a claim, so the attacks will continue. Is there an out for either side of this (assuming they both have compelling evidince to their claim)?
How widely has this been tested? Is this being used in production?
Bug filed, as per the edited comment above. I definitely agree this is wrong!
My kids love Minecraft, and it's pretty obvious that others do too.

I'm now playing Crossout, where you can build your own car, and my son also loves building his own cars and fighting with them.

I don't think you have to look at it so negative, kids actually enjoy creating stuff in games, and I think that's a good thing.
Show HN: Git-bug 0.4: performance, comment edition, GitHub importer
Orientation is only two numbers, since a unit vector does the job? So, three numbers in total?
> FYI - most of your government, wherever you are from, is run by bureaucratic edict, not by political means.

A more correct formulation would have read:

> is run by bureaucratic edit within the boundaries set by lawmakers.
Records is also how elm deals with JSON serialization IIRC.
Hi HN !

After my first presentation of git-bug here [1], I'd like to show you the progress made.

While the original version was pretty much a prototype, the 0.3 version [2] featured a caching/indexing layer with its query language, easily handling 10k+ bugs.

This last version [3] include among others things a feature that was asked a lot, a Github incremental importer.

While this is still not 1.0, it's close. Work left before that is mainly the rework of the identity management [4] along with a Github incremental exporter [5] to make sure that the data model is done well enough and won't change much anymore in the future.

[1]: https://news.ycombinator.com/item?id=17782121
[2]: https://github.com/MichaelMure/git-bug/releases/tag/0.3.0
[3]: https://github.com/MichaelMure/git-bug/releases/tag/0.4.0
[4]: https://github.com/MichaelMure/git-bug/issues/55
[5]: https://github.com/MichaelMure/git-bug/issues/56
Conflict of interests on one side, sociopaths isolating a few words out of their context to have a rant on the other side; both are more dangerous than bad science, to be fair, but this is the spirit of the times.
Setting up GitVersioning for your Project
But not quite incorrect.
I don’t really think there is a way around it if you go with the action/reducer/saga model.

I enjoy my code fairly explicit, so writing a button click that invokes some request has me writing:

- A click handler

- 3 new action name consts (request, success, failure)

- An action instantiation function that takes the necessary arguments for request.

- A saga function that catches these request actions, runs a request, and invokes the success action/failure action depending

- 3 handlers in my reducers. One for every action.

It all adds up if you have a ton of buttons :P
Another pypi issue I've been wondering about recently is binary wheels. We saw an issue a few weeks back where pipenv hashes stopped matching because binary wheels were added for a package years after the last release, and it wasn't immediately obvious how to check if they were legitimate. It would be nice if there was some automated scan to check that binary builds match the source.

I think there have been some python package reproducible build efforts at Debian, and there's a standard image for building wheels, so maybe that's somewhat possible?
Space.co
WoW. I can only say this from the bottom of my heart. It takes courage, persistence and a hell lot of dedication to pull yourself up, especially when everyone else is trying to pull you down. God Bless you man. Fist Up!
I may have a different understanding than the author, but for me the difference in the name means a lot. The fragment you wrote is clear and simple. But if I see assert_..., then I immediately have questions like: Where's the message printed and does it have enough context for debugging at that point? Is this affected by NDEBUG? Will it run in release builds? Does assert_se() kill the whole application?

Assert already has a meaning and using it in this context is not great.
I can see the argument to be made about overloading the word "assert" in the language though.

i.e. "assert" meaning "check something in this code is algorithmically correct"

Whereas when you're checking user input, use a very different term - i.e. validate or something.

So a fix would be to rename the macro to be obvious about it's usage - "validate_return" or "valid_or_return" or something.

To be fair I can see the problem because I do tend to write code comments saying "assert everything makes sense" when checking user input sometimes and "assert" itself doesn't properly convey the outcome if it fails - i.e. "abort_if" or "crash_if" would be a much more descriptive term.
hhhghjghhjghgghghhjgjhghghgh
> Google now has its own phone—Pixel—that gets security updates quickly and regularly.

The Nexus 5 line used to have this until Google decided after three years to stop supporting it despite the hardware continuing to last well beyond that.
>> One question: any smell of intentional obfuscation for this vulnerability, or is it impossible to tell?

I always think that anytime there's an interesting bug in ANYTHING. I'm not an expert, but I would think it would be nearly impossible to tell the difference between "someone made a mistake" and "someone made this look like a mistake". I would think any decent programmer with malicious intent could do that anytime they wanted.
We’re treating personality disorders the way we once treated mental health
> The point is saying summer time is better than winter time regardless you where you live is meaningless

True, but who said this? The grandparent only said that they were happy about the decision in their location. No one stated that summer time is better than winter time regardless of where you live.
SketchUp Pro v18.0.16975 Full Version Crack for Mac 2018
Don't know if it's the same bug, but "PRINT 1/0" returns 1. "PRINT (1/0)" prints nothing. Using "LET a=1/0" raises a div by zero error. Also, "LET a=1%0" panics.
A habit tracker app build without code (no login required)
Javascript is maybe the language made or suitable for simple app,
If you will make a big complex app, There is a simple way to fix this: use more strong languages Compile to Javascript like Elm/PureScript/BuckleScript/ScalaJs/Nim/ClojureScript(with core.specs) and so on[1].

[1] https://github.com/jashkenas/coffeescript/wiki/List-of-langu...
I'm posting this because it's a somewhat better discussion about personality disorder than the god-awful grade A horseshit that normally gets spewed in HN threads.
BASIC dialects with support for structured programming without line numbers, and compilation to native code, were already available on CP/M.
Open Borders Group Behind Illegal Alien Caravan
> It does not appear to me that we are seeing an AI that has learned what humans look like and can now generate arbitrary fictional humans

Here, take a look at this video, one hour long of high-res generated faces. Can you still say AI hasn't learned to generate arbitrary identities?

https://www.youtube.com/watch?v=36lE9tV9vm0&t=262s
Achieving 1M Bitcoin Transactions per Second
Mainstream news sites aren't going to give you the kind of super-deep insights you're going to find in academic research or trade press or whatever. 90 percent of any site's audience knows very little about any given topic, so laying out obvious-to-insiders ideas in a clear way is a significant value for the average reader. Ars readers are more technically savvy than most sites but most of them are not experts on corporate finance.

I do not know very much about the specifics of Ars's ad sales strategy. I would guess Google pays more to established sites. Also, if you're seeing a Google ad that might be because they didn't have a higher-paying direct-sale competitor for that particular impression.
DISTRUST MAKES FIGHT AGAINST EBOLA IN CONGO MORE DIFFICULT
regarding records specifically:

https://medium.com/@javierwchavarri/performance-of-records-i...
You want me to support your political campaign to regulate the gas that I exhale, because otherwise there will be a doomsday, and if I don't agree I'm either stupid or evil? Ehhhhh, no thanks

This sounds like at least a mildly stupid mindset to me. "Some people associated with your movement made an assumption about me that I don't like, so I'm not going to participate regardless of its merit."

If not "stupid", how about "spiteful, stubborn, and unwilling to face hard truths"?
Author here: this is very much a research project with the purpose of prototyping the idea that caching can help tail latency. Previously, people didn't believe that caches can be used that way and it turns out you really have to rethink how you use the caches.

We build a testbed and replayed production workloads. This is not running in production yet. We're actively looking for new workloads and scenarios to test this at scale!
There's a typo in the title.

Edit: no more typo.
Imagine some language with the following type and functions:

type Person { name: String }
function parsePerson(json: String): Person { ... }
function usePerson(person: Person) { ... }

The compiler will guarantee that usePerson will always get the correct shape of data for it's person variable. The only function you need to worry about is parsePerson, which will generally throw a runtime error if the incoming JSON does not conform to the expected shape. And in most web frameworks, the JSON to type parsing is done for you so once the framework hands you data in the type you are asking for you can expect it to be correct.
To add context, the original awarded amount was calculated to be the revenue of a single day of coffee sales for McDonald's. Stella Liebeck had originally sued for ~$50,000, to cover the cost of her medical bills, which McDonald's refused to do. Additionally, the award was calculated at that amount as a punitive measure, because McDonald's had received hundreds of complaints from customers of the coffee being too hot, which it summarily ignored. The coffee had been a problem; McDonald's just didn't care.

Unfortunately, the lawsuit, and the seemingly 'ridiculous-at-first-glance' nature of the headlines surrounding it, was used by several companies to push for specific tort reforms, which were mostly to the detriment of the average public.

There's more to this than "Dumbass sues company because hot coffee was hot".

Hot Coffee
https://www.imdb.com/title/tt1445203/
Americans fled the country to escape their giant student debt
I grew up on old computers with old games, and that is what my kids shall also be stuck with for a while also. Mwahaha.
Author here: thank you pointing out the connection to parallel DBMs - I was not aware of the problem similarity but difference in approach.

Can you point me to a DBMs that does that, both an OSS or in production?
Very cool. A lot of games i forgot we’re cector based.

Battle zone, tempest, Star Trek and some game with vector blimps and space squids (world war vi?). How did the mame output which is usually to a crt translate to your projector?
Hear hear.

If I can't reach flesh on a phone during business hours, I do my business with somebody else. No exceptions. A friend was trusting money and login details to a site with no mailing address or phone number and I pointed this out. He was suddenly aghast, another who did the same shrugged, I shuddered. Some people insist on learning the hard way.
The generator never sees a single image. But it receives gradients from the discriminator teaching it to make better fakes. The discriminator here acts like a 'learned loss function' for the generator.
Mega Mash-Up: API Testing with Postman, Azure DevOps and Randomuser.me
I wrote a similar tool a while back which provides a more natural way to implement full-fledged programming language constructions such as loops (the example in the documentation here, which involves redefining a macro and explicit evaluation, feels a bit convoluted in comparison...), but is specifically tailored towards supporting C/C++: https://github.com/blackhole89/macros

I suppose the only strictly language-specific feature is the support for C string literals and it could otherwise also be made to run on top of different tokenisers.

m4 is surely more powerful still, but its syntax always struck me as somewhat jarring both on its own and in the context of any other language.
Yep, it's 'Schneier'
Some recent ThinkPads can be bricked by changing a UEFI-BiOS setting
C doesn't do much evolution either, must less add generics or introduce new error handling semantics...

And C++ just piles up features, supporting everything forever...
CLRS is wildly overrated; it's got a lot of odd gaps in the data structures that it does cover, and wastes a lot of time and space on esoteric junk.
I once wrote a Logo interpreter in BASIC... For my Computer Studies GCSE (UK national exams at 16) final project. It never actually worked, but it was a heroic effort!
No proof of most of these treatments working. Sure to have treatments is one thing, but outcomes are halariously bad. Its obvious these catagorations are way off, and we are worse of for it. Posting this to police discorse, is even more laughable and neurotic. And yes, I meant that literally, as per the definition, not as a perjorative, the point of your article.
Obligatory link to Destroy All Software talk about types: https://www.destroyallsoftware.com/talks/ideology
It is surprisingly difficult to get definition by word access to bulk data.

A long time ago I got a hold of every comment on HN and Reddit thanks to some kind data scientist floating around here and wanted to do a ‘word frequency by topic’ analysis but I needed to be able to define basic English before I tackled domain specific lingo like “Miss Fortune” in the “League of Legends” subreddit and slang.

Ended up giving up because I couldn’t find any remotely comprehensive lists of defined English words. There are some out there but they pail in scope to the numbers being advertised by the notable English dictionaries.
FYI, I found that sunlight appearing at ~4am and disappearing long before dinner, like it does during the winter in places like the riviera Maya or Hungary, is even less fun. I'd pick a late sunrise like in Western France or Spain over an early sunset in a heartbeat.
I believe you want https://en.m.wikipedia.org/wiki/Tz_database or something that uses it as a source.
If you have to enumerate examples, then it proves the parent's point...
pretty cool, just learned about destroyallsoftware

(long term lurker here)
Even more basic than this -- games as far back as the original Zelda use it (and I'm sure further) -- is intermittent variable reward[0]. This little cognitive meathook has been almost weaponized at this point.

[0]:https://en.wikipedia.org/wiki/Reinforcement#Intermittent_rei...
i didn't think much of darius miles back then, he could definitely dunk, but i didn't see him as an upcoming star, the guy flat out couldn't shoot the j and sometimes he made some really bad decisions on the court, so i didn't have much respect for him, didn't think he was the brainiest of the players.

but this article changes everything, i think he's quite articulate, if this was really written by him and reviewed by q, it's not a bad piece of work, never mind the ebonics, but it's not half bad at all.

i think a lot of fans don't realize the punishment professional athletes take on their bodies, surgeries that normal folks would probably forego and instead wait to heal at their own pace. obviously professional athletes get compensated for this, but it's still quite taxing, look at all the scars grant hill has from his multiple ankle and knee surgeries, walking just isn't the same anymore. but i'm sure most people would give up their right arm for the chance at a few years in the nba on those salaries.
How companies are innovating in the energy sector
What's the license of RobinHood's core algorithm? This seems useful.

But this being sponsored research (Microsoft) brings me to thinking of the old ARC cache licensing problem.

http://www.varlena.com/GeneralBits/96.php
> I confess I haven't read the whole thing

This is a sort of functional bug in forums such HN.

Commenting on paper like this requires time to digest and reflect on the content. For a conceptual paper such as OP I would need at least a day (to figuratively sleep on it) but returning a couple of days later to make (hopefully) informed comment is no longer interactive. There is archival and future reference value, of course, but then rebuttals to possible misconceptions will not accompany the comment.
Users don't read. We have warnings in my state next to elevators that read "Ensure elevator is at this floor before entering". This is literally accurate but practically ludicrous.

The solution to problems of this nature is almost always redesign.
This really isn't new to YouTube, though; kids have been responding this way to ads on regular television, and probably radio before that, for generations. I remember being "brainwashed" myself by the ads that played alongside my cartoons.
A salaried person still has room for perverse incentives. The wine-ing and dining by drug companies is famous, and not counted on any salary form. It makes no difference.
But there's a reason for this too: deadlines.

I have written all sorts of implementations for things that I'm positive there's a library or existing example out there that is just plain better and more thorough.

The problem is, I don't know what it is. I don't know where it is. And finding it will take time, take effort to evaluate the non-good implementations, and take effort to integrate with other systems.

Whereas I can write code now which is "good enough" (or worse, just not good at all but exists and does something right now) and then move on and hope I'll find the "better" I'm looking for later.
I have to admit I stopped reading after the combined section on byte swapping and casting external data to a internal structure. Perhaps the author of the code should have used ntohs() instead of be16toh(), but the effect is the same? There aren't any conditionals in ntoh...

https://commandcenter.blogspot.com/2012/04/byte-order-fallac...

And will a compiler make use of native byte swapping instructions with the code proposed by the author?
Monkey Sort: Cathay Pacific Breach Hits 9.4M, Russia vs. China Threats and More
How to integrate WeChat payment in their mini-program?
It is more niche than it used to be. I'm not arguing that. However, "haven’t seen it used by anyone in production for at least 15 years" seems exaggerated. That's why I enumerated examples. Assuming they've seen one of the examples in production.