skysight-inc/HackerNews huggingface dataset:
Laziness? I didn't like remembering to carry when multiplying 45x16 so I did 40x16 + 5x16 - easy to add two numbers in your head, hard to remember two shifted partial results (the way it's done on paper). Different media require different methods.
45x
16 on paper:
270+
45
It's easy to see here but in your head you have to remember that 45 is shifted left when added to 270. Visually it makes sense but otherwise hard. Breaking things into multiplications by 10, five or other easy substeps is recursive and easy to trace back up.

Truth is I don't know how I came up with it, I think I was just lazy.
This is an really interesting idea, but I'm genuinely curious if you have an idea as to how it might be implemented. I'm not an expert on cryptocurrencies, but I don't know how I would encode the condition "has a vulnerability been discovered this year" into the protocol.
And with all that said, this type of activity is still attractive to some folk.

I'm content getting my kicks out of intentionally running the occasional red light.

But it takes all types. Imagine how boring the world would be without crime!
How is D holding up against newer upstarts like Go and Rust?

It seems that D never really got the love it deserved, perhaps because it didn't have a Google or Mozilla behind it.
In traditional pumped storage, you use the pressure of water pumped up some elevation to generate electricity by spinning a turbine as it falls back down. In this instance, you use the pressure of the bottom of the ocean and pump the water out, so that when it is allowed to flow back in, it spins a turbine and you generate electricity.

It's necessary to the design for them to be underwater.
Who do you believe to have a more advanced cyberwarfare military apparatus?
No idea about entry level but for those already in the industry for 3+ years, it's smooth as ever.
Codeigniter Development Company – Hire Codeigniter Developer – Logicspice
AdwCleaner 6.020 Crack and Serial Key Full Version Free Download
Show HN: EC2 price API
It should be an error, not a warning (default or not). There are a number of things like this that should just not be accepted anymore. Here's another one:

if (condition);
dothis();

No compiler should accept that, regardless of switch settings.
How much does it cost to generate compliant closed-captions, e.g. per hour of video? Every article I see on this issue talk about how unaffordably expensive it would be, but no one provides a number to put things in perspective.
Indeed, the next standard should ban such things, and modern compilers should reject these patterns by default, unless a --legacy_security_unsage flag is set.
Indeed!

More generally, functions are not only about abstraction, but also about decomposition.

The only thing that may hurt readability is when the decomposition itself is too much nested. Usually, it's best to split a large task purely linearly in subtasks (functions), and have them called all from a single function. That main task function gives you not only an overview of all sub tasks, but also about the dataflow between them.

In constrast, too much subtask nesting (subtasks of subtasks of subtasks) often hide the overall flow, which then makes it hard to get the overall view.
I think strom meant that beginners don't know to turn on -Wall -Werror and friends
Argument against considering them the same level of abstraction: HTTP and especially TCP stand on their own to do useful things (e.g. gRPC + every video game ever), so it's not necessary to understand HTML to understand and use HTTP. HTML and JavaScript can just be static files served over file://, even if most modern HTML/JS is delivered over HTTP. If you wrote perfect modern HTML/JS, you might never hit certain aspects of HTTP like 404s or 500s. You might be a DOM wizard but not have a deep understanding of 301s va 302s. You might understand nearly every HTTP header detail but get tripped up on ES6.

None of this is to argue that that a deep understanding of HTTP/TCP doesn't help write better HTML/JS, but they are separate things that can be considered separately.
I would suggest taking part in the Who wants to be hired monthly thread if you have not been doing that already.

I realize that most startups recruiting through HN are looking to hire for web, app or backend development, but there are a few data science jobs. Since people recognize you here on HN, you have a much better chance of landing a job.

It's unfortunate that most recruiters primarily screen based on resume.

I don't know if Triplebyte [1] helps people find data science jobs, but do check with them.

[1] https://triplebyte.com/
PVS-Studio static code analyzer for C, C++ and C# (big presentation)
By seeing so much confusing Docker articles lately, I have a feeling that the Docker containers are creating much more problems than they are solving.
For your first idea see:

* cmake
* premake
* ant
* scons
* ninja
* gyp
* jam
* gn (Google)
* meson

To name just a few.

Your second idea is basically UML and some of the tools that exist for it.
I don't like being cynical, but this is a lot of concrete for not much storage. Also, building a salt water turbine that can last more than about 15 years is next to impossible.

Still, it's nice to see people trying to solve the storage problem.
Greater fool theory in action. Hope the people who bought it at IPO sold it fast enough.
Laravel is basically php rails. So Laravel or Rails works.
The energy is stored when all the water is pumped out of the sphere. To use the stored energy you let the water into the sphere, the surrounding water pressure pushes the water in and spins a turbine which generates the energy.
I don't think you're really justifying why employees and investors ought to have different terms. To the extend that investors need extra compensation, they can always be compensated with additional shares, regardless of those shares' terms.

I think in an ideal world, investors would normally receive common stock (and more of it), but there are some practical reasons why that isn't the case:

- Selling preferred stock lets a company declare a more lofty valuation.

- If a company sold common stock to investors, they'd have to use the more realistic fundraising valuation when pricing options, rather than a (typically) more conservative 409a price.

- Employees tend to not have access to the cap table, or not understand it, so there's not much disadvantage to giving them less favorable terms.
The Best Kitchen Scale
You still can't turn it off in Inbox, unfortunately.
How One Cold Email Landed Me a $15K Consulting Project
What missed opportunity? There is little reason to suppose someone that got motivated to create language A would have spent their time on language B if only they hadn't got involved in creating A. They could have spent that time learning to play chess or fishing.
Care to elaborate? :)
I agree with you about the bravery of women who came out with their stories and thank them for stirring this public discussion.

However in the context of TFA, the campaign to make Uber employees quit is an _action_, and it still based on accusations (however credible they may sound). This sounds a whole lot like a witch hunt. In enlightened modern-day Silicon Valley, that is.
> How many accounts of harassment do you need to believe there's a problem, out of curiosity?

How many accounts of the effectiveness of homeopathy do you need to believe that it works, out of curiosity?
I asked my daughters friend why pi was irrational, and she said "because you have to calculate it". The knowledge of those calculations cannot be given, but the way to calculate it, with a bit of suffering, can.
That means there is a great hope for a improvement in the future. Thank you for making me positive!
The ballpark I've heard is $1/minute. Auto-generated captions were considered not good enough by the courts.
Our user base is steadily growing. Coming soon is a nice upgrade to the language designed to eliminate stray pointers into expired stack frames.

I feel it is my duty as a language designer to make it hard for programmers to commit common bugs. It's just too expensive for companies to ship these kinds of things.
The worst part is how badly this affects your prospects at school/work in the long run. Even if you're smart/kind/decent, interviews don't measure jack-shit, and most people end up getting hired through networking.
Why cannot the west deescalate its relationship to North Korea? Sure it is fun to read about "cyberhacking" and secret missions but would diplomacy and trade not be the more constructive path?

North Korea must have a fundamental interest in setting on the same path of growth as all its Asian neighbours; something that has happened without changing the political regime of these countries. And we in the west would clearly benifit from that and have already seen the rise of Japan, South Korea and China without military conflict.

I know the explanation is that they are "crazy" and "irrational". But those are traits of individual persons; I find it hard to believe that can apply to a whole country.
Top ten greatest symphonies all time. Rank 2 is my personal favorite
I use cmake, don't think it's a language.
I'd go with Occam's razor on this - investors always want preferred, the more preferences the merrier, companies always want to sell common, and if they could go sub-common (by stripping the shares of voting rights or dividend participation) they would.

Whoever has the most leverage in the transaction tends to win.
If the company allows 83(b) early exercise, they can.
should give highschoolers options to volunteer to add captioning for those mandatory highschool volunteering hours.... two stones with one bird.
Loanzen | Senior Software Developer | Bengaluru, India | REMOTE, https://loanzen.in/

Loanzen Technologies, a Bangalore based alternative lending startup hiring senior backend and frontend developers for full time position. Apply at https://angel.co/loanzen/jobs or email us at ritesh@loanzen.in (co-founder, engineering)
Loanzen focuses on short term loans for small businesses where credit evaluation is basis online data connectors from internet marketplaces. We focus on used car inventory loans where data helps us predict probability of car’s saleability, profit margins and likelihood of default. Small team of 10 based in Bangalore. Stack is primarily Python, ReactJS, React-Native, ElasticSearch, Ansible, ScikitLearn, Postgres. We have raised a seed round from a VC fund and are scaling rapidly.
Fully agreed. There is absolutely no way that is something a programmer ever intended. In fact I think that just

if (condition);

Should already be enough to trigger the error. (Any 'if' statement without a body).
you seem somewhat unaware of the realities of how science is done. What is 'citizen science'? how is different from normal science?

""I want to buy $250 worth of resistors, capacitors, chips, wire, and breadboards to make a new kind of fitbit prototype""

Did you read the article? I'm sure new fitbit prototypes are great and all but..it in no way is blue skies or fundamental research (which is what the article argues we need more of).

"What's an average person who wants to get into science supposed to do, besides be independently wealthy?"

do what most people in science do...get a bachelor's degreee and a phd and then enter academia or industry, publish papers, read papers ,attend conferences, teach and mentor students. I don't think there are many scientists who self fund themselves.

"Sadly, my experience trying to get even a few hours' use of any sort of university equipment, whether supervised, paid, through night classes, or otherwise, has been met with absolute stonewalls. If you don't pay full tuition, you can fuck right off."

What type of hardware are you trying to get access to? what are your goals? Is it to produce new scientific knowledge? then you would probably be best served by going to grad school..

edit: however, one does not have to attend grad school to do useful research in exceptional circumstances. see chris olah at google deep brain.

edit: one does not even have to be all that young. look at yitang zhang
Perhaps the switch should be named:

--accept_my_buggy_stupid_code

so nobody is going to type that in by accident, and nobody is going to want to defend it in the code review process. And the compiler vendor will still get a gold star for being 100% language compliant :-)
"""frankly I don't even know how zero-knowledge proofs work"""

Isn't this that same guy?
Is it? It's only using about 10% of a core here. While that's a lot for a game that could run comfortable on a Nokia 3310, it still feels pretty low for JavaScript.
The US and Russia have a special relationship because we've been to the brink and backed away respectfully. I hope that experience continues to instill mutual trust that we won't annihalate each other.

No such trust exists with DPRK or Iran, which makes them dangerous.

China doesn't seem particularly worried about nuclear attack, otherwise they would be more cooperative when it comes to DPRK.

Disclaimer: I am not even close to an expert on this subject and my opinion is worth what you paid for it.
People don't pay for linear regressions. They pay for discrete things: what is my best option among my three clear courses of action. Linear regression can be a tiny piece of a larger argument in favor or against one option or the other, but that alone doesn't make money.
You simplified my idea by a lot. the second idea is not uml. uml isn't really helpful at understanding source code. It's simply a visual version of classes.
Sillicon Valley is not just a place. Hollywood is not located in Hollywood, Wall Street is not located on Wall Street...
Have you ever considered the importance of energy?

It's literally the primary bounding function restricting human activity. Everything requires energy. It heats our home. It moves our goods. It moves us. It drives our machinery. Every human activity requires energy.

A higher cost of energy disproportionally hurts the poor. Rising energy prices plunges millions into poverty.

That said, it sucks that we're currently heavily dependent on oil for energy, and we should move away from oil for many of our energy needs. Drilling for oil isn't the problem. Not having an economically competitive alternative is the problem. The only real solution for moving away from oil is helping make alternative energy solutions economically competitive with oil.

If you're anti-oil before we have economically competitive solutions, you're contributing to poverty and suffering for millions upon millions of people all over the planet. If that is not an immoral act, what is?
If it wasn't underwater you'd need a very strong pressure vessel. Instead you rely on water pressure.
i once worked on a project (about 15 years ago) where we had access to a reverse phone book listing that was generated in part by having a copy of every distinct paper phonebook in the US (also things like school directories) sent overseas to be hand entered (2-3 times for QC). A "nice" feature of it was that the address info was also geocoded so we could answer questions like "Who are my closest 100 neighbors and what are their home phone numbers?". Between that and Google buying the archives of usenet[1] in the same basic timeframe I realized that if it's written down its not likely to stay private for long.

Edit: add citation
[1] https://en.wikipedia.org/wiki/Google_Groups#Deja_News
Glad you like it. Some prompts are from Reddit (There will be a link to source for these prompts next to it). I created the rest.
“Particles and the Nature of Nothing” – laypersons overview of quantum mechanics
Europe friendly remote dev jobs
Concrete's pretty cheap though, isn't it?
Since it is not an error, what we really need is a stdmeta file descriptor:

http://unix.stackexchange.com/questions/197809/propose-addit...
You can bet against anything with a derivative instrument as long you can find a counterparty for your bet.
AI and Speech Recognition: A Primer for Chatbots
The commit that fixes it does not change any tests:

https://github.com/zcoinofficial/zcoin/commit/0359bcb2ead7fe...

This indicates that the code in question is not covered by tests. I work on a database, for which correctness is paramount, so it's unnerving to see any code fixes not associated with test additions or changes. I would have thought that cryptocurrency had similar standards.
Tips for New Engineers
You're relying on water pressure instead of gravity to run the turbines. It's for coastal areas that don't have mountains.
-Wall sure (also, it should really enable all warnings, just as the name implies. Currently it doesn't)

-Werror, I'm not sure. During development and on CI systems it makes sense. But if you intend to ship source code, it's probably best left off. Other people might be using different compilers that emit warnings for things yours didn't. You don't want the build to fail for those people.
I remember reading about people years ago who went around suing various restaurants and businesses because they were not ADA compliant (ramps and a handicapped parking spot type of thing). So they would sue them and show they had standing (due to some disability they had) and most of the companies would make the modification and settle out of court for like 10-20k. Rinse and repeat. So I imagine that the UC system along with other online course providers realized that they were likely to get sued based upon the ADA violation. My thinking is that somebody should push for having a law that states something like this: "for content created for the public good such as educational material that is provided in an archival form without cost shall not be required to be ADA compliant".. So basically if you are willing to give the content away for free, then you should not be required to annotate it. If you want to charge for it, then you need to comply with the law.
This was covered on today's edition of the NYT podcast, The Daily, too. I highly recommend listening to it. It's my one 'must-listen' podcast. It's hosted by the guy who did the Times election podcast, The Runup, but offers far better production value. Give it a whirl: https://www.nytimes.com/column/the-daily
Hi I'm Marc the developer of Mojeek. Sorry about this, I'm aware it's happening too often and will look into it. If you press refresh twice without doing anything else that should fix it.
In terms of quality of programmers, volume of applications, or..?
We decided as a country that handicapped people get access, and we all pay a little more, rolled into the cost of services, to make that so. If Berkeley hadn't skipped providing access, we wouldn't be in this situation.
Employing medical technology to secure airports
Could I use this to build images and push them to Docker Hub? The auto build feature at Docker Hub is awfully slow and often fails. Could this be a good alternative or am I missing the point of what this is?
Abstract: "I will give a crash course on particle physics, collider experiments, and quantum field theory. I will show that on the cutting edge of particle physics is the search for the description of the vacuum of spacetime and the nature of the laws of physics. Particle colliders are one of a handful of ways to explore these laws, and the worlds largest, the Large Hadron Collider (LHC) outside of Geneva, Switzerland, will have collected unprecedented amounts of data by the time of this lecture, revealing answers — and undoubtedly bigger questions — about the nature of reality. The previous run of the LHC revealed the Higgs Boson particle. I will explain its significance, its impact on the field, and the justification for featuring it in a documentary film. I will also tell a joke that, at best, physicists will find amusing."
China is the main supporter of the DPRK regime. It acts as a buffer against the US sphere of influence in the region.
That is totally normal, get used to it!
Hi, it's been developed from scratch in C by myself.
gcc doesn't accept that if you enable some warnings and -Werror. I agree that the default is bad, though.
Compared to things like lithium-ion batteries or even the lead used in lead-acid batteries, I bet it's dirt cheap.

I'd say it's the manufacturing costs that will be the unanswered question.
I'm not too familiar with cryptocurrency or generally blockchain implementations, so I wonder: shouldn't it be normal that at least the reference clients of any such protocol should be proven correct, and follow a rigorous scheme accepting contributions?

I mean, all the mathematical rigor and proofs of the underlying theory and protocols are basically useless if the rigor isn't carried over to at least the reference implementations. (If people choose to use alternative, non-proven clients, fine, that's their own decision and risk.)
Anatomy of news consumption on Facebook [pdf]
Depends the point of view. Cement production consumes a lot of energy...
We've modified the dlang Github tester to run coverage tests over Pull Requests, and uncovered changes get marked with a scarlet bar. While some changes can't be tested with a test suite, the result has been a marked improvement in the quality of pull requests (including mine) because it is embarrassing to submit untested code.
Snap Inc. is the company formerly known as Snapchat Inc.
In terms of energy, I would expect this to be equivalent to pumping the same volume of water up a mountain of the same height.

How strong does the sphere need to be? The air and water will be at roughly the same pressure, but air is less dense, so it at least needs to be strong and heavy enough to counteract the buoyant force.
There is a draft version that is freely available:

http://sunnyday.mit.edu/safer-world.pdf
Not everybody is allowed to do that. MISRA for example requires a single exit point.
What Happened to UI from Ancient to Present? – Mockplus
Don't pass numbers between programs without units.
The point I'm about to make in this comment is so old and has been said so many times that we all are tired of hearing it. But why do we use a language like C++ to implement something where we don't wish to have bugs?

C++ is not memory-safe (no GC or whatever Rust does), it's not type safe (in the ML sense), it relies on writing to memory a lot (instead of having pure functions). Had this program been written in Ocaml or Haskell or a strongly typed functional Lisp, this bug would have been impossible to make.

Why do we do this, still? Is it not irresponsible?
For those not wanting to click through that site, here is the youtube video.

https://www.youtube.com/watch?v=ObZDipKRH0c
> Other people might be using different compilers that emit warnings for things yours didn't. You don't want the build to fail for those people.

Actually, you do. That way those things will be fixed and hopefully your inclusion of their fixes is a well motivated PR away.

Switching -Werror off should be a decision made with great care and understanding of what's going on under the hood. If there are platform specific issues then people on those platforms will be the ones in the best position to determine if such a warning is actually an error or not.
So? Does the word "Republican" not fit in your world view?
GST Registration Online in India – LegalRaasta
Ask HN: What should I work on?
I'm a college student with some free time and I'd like to build something. Frankly I currently have no idea what to work on. I'm happy to learn any new technology. Mostly I'm interested in deep learning/neural networks and recently I started learning web development. It's particularly fun to combine technologies - like deep learning and some app or website.
Anyone willing to share their tips/ideas on what to work on?
FYI: the lawyer responsible for most of the ADA lawsuits is a scam artist (in my opinion). He was involved with Prenda law and disbarred for his conduct in those cases.

http://www.abajournal.com/news/article/prenda_law_attorney_w...