skysight-inc/HackerNews huggingface dataset:
"My package foo can say, "I depend on bar and work with bar >1.2.3 <3.0.0" if I know that foo isn't impacted by any of the potential breakages in bar 2.0.0 or 3.0.0. That in turn lets my package be used in a greater number of version contexts without causing undo pain to my consumers."

If I'm following the conversation correctly with vgo, the idea is that if you've got one bit of code that speaks bar 2.0, and another bit of code that speaks the incompatible bar 3.0, they'll be able to coexist in a single executable. Both bars will be compiled in, and anything that uses each of them will be linked correctly. That's one of the reasons why the v1/v2/v3 in the URL is important, these really are different packages. The dependency solver isn't trying to solve for the entire program with a single version. The types won't be able to cross if the package hasn't made provisions for that, of course.
Other sites use identical strategies except they refresh an ad slot every 15 seconds. The 8 page thing is either bad/weird web design or serves another purpose.
She also had the financial fate of the DNC in her hands, and, as early as 2015, had a secret agreement giving her power of the party's finances, strategy, and all the money raised. Additionally, as per Donna Brazile: "Her campaign had the right of refusal of who would be the party communications director, and it would make final decisions on all the other staff."

This is the rigging that took place.
In some cases it seems that the name of a function takes care of the "what".
beware of "frugal / FIRE bloggers" because they make their money blogging, and aren't financially independent (last time I checked, MMM was a working carpenter/contractor, while claiming he's "retired" because he "enjoys his work"), which is not an avenue open to their entire audience.
Common Lisp does not use explicit returns much, since every expression returns one (or more) values.

(lambda ()
(cond ((foo) x)
((bar) y)
(t z)))

Such a conditional like COND returns the value(s) of the last form in a clause -> here either the value of x, y or z.
> Food thermometers are usually with +/- 2 degrees Farenheit.

Sure, if you buy any of the top digital thermometers on Amazon. But if you buy a random analog food thermometer at your local dollar store then it's not necessarily going to be much more accurate than a random number generator.
Ask HN: Any open source alternative to AWS step functions?
Basically wondering if there is an open source alternative for AWS step functions which I can use for my App/Ecosystem ? i.e. not using any cloud, but internally deploying it on our infrastructure ?
>virtualenv is a community project (much like dep)

It doesn't stop there either I've seen python projects using nothing, virtualenv, venv, pip-tools, and pipenv.

I finally feel like pipenv is the true solution and it seems very new. All that said and Python is quite old relative to Go.
I don't know what would have happened if "this guy programmed it", but the answer should be yes, the car should have seen the cyclist and it should have pressed the brakes.

This was an interesting post, too, by Brad Templeton who worked on Google's self-driving car project for a while:

http://ideas.4brad.com/almost-every-thing-went-wrong-uber-fa...
I would also make the economic argument that a rich person that is still frugal is actively exacerbating income inequality.

If Warren Buffett is indeed still paying only $3 for breakfast every day, that's giving a big middle finger to the economy. Money is half of the circulatory system of the economy. When it pools too long in one spot, it clots, and then a thrombosed clot can cause damage somewhere else.

He really needs to spend more on breakfast. As one of the richest individuals on the planet, even if he just wants a sausage muffin, it should really be made from only the highest quality agricultural goods, with a lot of personal services added. If he can't manage to swallow that level of ostentation, buying thousands more of the consumer-grade item than he could eat personally would also work.

The only reason for poor people to permit rich people to continue existing is that concentrations of wealth allow for the development of novel classes of goods and services. There would be no luxury yachts if nobody could afford more than a fishing reefer. There would be no Acura if nobody could afford more than a Honda; no Lexus above Toyota; no Cadillac above GM. The luxury goods and services are the early adopters. Without them, some technologies would have died at inception, never to make it to consumer-grade products, because they were too big and expensive.

Anyone can spend small. Everyone else needs the rich folk to spend big, whenever they can. If you don't buy the best, you are not doing your job as a rich person. If you aren't spending on someone's wage, you aren't really "creating jobs". If you can afford to have your cabinets painted instead of doing it yourself, hire someone for that and get back to being the QC/beta-tester for humanity's R&D. This crap where you "retire" and pretend to be rustic and homey isn't helping anyone. If you want to live like a poor person, that's easy; just get rid of all your money. Give it to someone more willing to spend it.

Frugality stops once you can pay all your bills from your paycheck and still have some left. After that, it's called stinginess or miserliness.
> Just do enough studies and the benefits will show.

Indeed, the latest research shows that people who do more than 200 studies get 15% more benefits.
I understand that as "document every class/module/public method with javadoc/pydoc/whatever and also explain the (few!) counter-intuitive bits of your code with inline comments. (You might find those deep within an algorithm, but usually not in plumbing or business logic code)."

That should leave you with a solid documentation of your application's components and APIs and a small amount of inline comments.

If you find you have more comments, either your code should be simplified or you're commenting trivialities.

As everything, it's a guideline with exceptions, not an absolute rule.
Mh, my current company does this, and it's a real pain and a massive innovation showstopper. It's nice as long as you have a single application and a single database. That's easy to do on premise.

Then you need search, so you either build the search yourself, or build on solr/elasticsearch or anything else building on lucene. Then you need a cache, and suddenly you need to worry about cluster setups, choose a cache implementation. Then you end up with a use case which would be easily solved with a persistent queue, or neo4j or whatever, but your on-premise solutions block you.

It sounds simple to have n different backend solutions, and to offer a binary choice - everything built-in and everything not-built in. But usually you end up with about n! * #on-premise different setups and they all end up with their own classes of bugs and difficulties to setup.
There are so many things you cannot tell by looking at how other people appear to be living their lives. Or whether the car is valued for utility, features or perceived status.

First, you can't tell from looking at their car how well-suited their finances are to paying for it. They could have a 12.99% 72-month loan that doubles the actual cost (plus higher insurance premiums, premium fuel, etc). Or they bought it cash, self-insure, and have money invested that compounds over time and pays their insurance and gas bill for them.

Second, you probably don't know how they are using it. If you're a master salesman with an excellent income, selling 7-figure deals to executives, you might actually get utility out of perceived status! But if you're a coder who walks a quarter mile from parking and works in the basement of the building, the brand name on that car is worth nothing. And most of those comfort features can probably be found in a Mazda for $20K less. Or a ten-year old luxury car. (Personally I love the hatchback which combines all those features with utility and fuel economy! No need to buy the luxury sport sedan.)

Finally, wait, why do you think advertising isn't doing its job? People know what they can't have because of advertising. Then they want it.
> If it was this simple we wouldn't be still arguing about coding styles decades after they were invented.

I disagree with the logic in this sentence. New coding styles are invented all the time. The guard statements in the article were only formalized in the late 90s, for example. These arguments about coding styles "decades after they were invented" are the only way we know which work and which don't.

It's not a matter of taste. It's how you separate the wheat from the chaff. Except for the brackets one. ;)
This would have better dramatic irony if it were the Nigerians.
> how do I know the color “blue” that I see is the same one my friend sees?

This. Also "how do I know the words I hear sound the same to you?".

Mindblowing stuff.
Show HN: A small, functional state management library
I'm willing to bet that for many companies, it's part of their regulations or pushed by their security teams as a best practice. The point was to add a second factor of authentication, but one that didn't require you to have a cell phone on hand. The problem is that it's very rare to find good questions that you can remember years from now that's not easily discoverable by a hacker. (I'm currently locked out of an Apple account because of this, especially with their practice of requiring you to get all 3 verification questions correct.)
That's 4 minutes to resolve one NuGet package's dependencies - not 4 minutes for a build.
You can eval the arguments, but you still have to pop a stack frame on if you can at all to get at the underlying control flow. You then have to integrate all those frames by yourself in your head. Even the most ideological Scala programmer wouldn’t replace all their if statements with options.
Poor Zuck :(
I'm replying to one just above. Trump won because "a lot of people really are unhappy with the status quo". Really, that's it ? Despite the largest popular vote loss for an electoral college winner in history? All the things Mueller notes in his indictments at https://www.justice.gov/file/1035477/download, wouldn't matter; social media being gamed by a foreign adversary, targeted to exactly those regions for which the electoral college would need to be manipulated as documented in the indictment is provably completely irrelevant to the election results.

edit: just on this thread:

"As someone who didn't vote for Trump, and doesn't support him, that's one of the (many) things I find so disheartening about this entire process. Pretending that Trump is somehow a unique problem that needs to be solved rather just another corrupt politician is to whitewash the rest of the crooks running our government. It isn't an accident that Trump is being portrayed as a unique menace. The levers of power in our government (and their minions in media) are very careful to paint the picture of this being an aberration."

https://news.ycombinator.com/item?id=16681901 - e.g. this person is picking the conspiracy theory answer of occam's razor. That it really is a wild and massive left/right wing conspiracy to make all this happen, controlling both houses of congress, the justice department, and all media (including Fox who has to play the tricky hand of being against the investigations, yet is unable to produce a compelling reason why they should actually be ended), yet DT was elected in the first place.

"I'm not picking on or defending anyone, I'm just weary of the last years' worth of articles that keep claiming "smoking guns." https://news.ycombinator.com/item?id=16681776

these come out immediately on every story about this.
> continuing to build a world where they are more and more necessary

My grandmother can still, to this day, recount living in an apartment with no furniture except a mattress, with my grandfather who was employed as an engineer in New York. It took, by her estimate, about two years to have enough furniture before she was willing to invite over any sorts of company.

Today you can furnish an apartment reasonably with about a months worth of wages. I know this because I helped take a friend who makes a bit over minimum wage to IKEA to get all their furniture for an apartment they moved into.

The myth of decline is that - a myth. The economy is better then it has been in decades, violence is at an all time low, and jobs are widely available in many areas of the country.

I have friends who complain about the economy "being destroyed", who max out credit cards to buy brand new cars and buy expensive home theaters. I have one friend who despite making six figures a year, took a predatory payday loan because she had spent her wages on expensive unused tools.

That's not to blame "millennials" anymore than to blame any other generation. Bad financial choices have existed since the dawn of human history, but in many cases today they are choices, not pre-supposed economic outcomes. We can help correct that by teaching good finance skills (budgeting, doing things yourself instead of hiring people, focusing on cheaper hobbies, etc).
> Programmers with lots of hours of maintaining code eventually evolve to return early, sorting exit conditions at top and meat of the methods at the bottom.

Except that I see soooooo many people try to write state machine code with early return/function encapsulation just to avoid indentation.

And then they get pounded when the state machine needs to evolve--and it always needs to evolve.

I really wish programmers had to design a VLSI chip, get it manufactured and debug it just once before they get out of school. The "So THAT'S why they have a global clock that synchronizes all the parallel operations in lock step" moment tends to be blinding.
Movavi SlideShow Maker 3 Serial Key Crack and Full Activation Key [Latest]
So, do you feel it's irrelevant to mention that it was said in a chat conversation, in 2004 when Zuckerberg was 20 years old? I'm not saying that makes what he said completely fine, but it's not irrelevant for context.
That is why I have to remain. I want my mom to see pictures of my kids. I want to see pictures of my nephew's lip after he got hit with a ball (6 stitches). The girl who took 4th place in the state dance competition is of interest to me because I remember her mom from high school - the first place dancer is nothing to me. The real things in life that matter are why I'm on facebook and why I cann't leave.

Politics and some hobby groups are on Facebook and interesting, but the real meat is the personal photos and stories that would never be in the news.
> That is kind of what you get when you have more or less universal legislation power over 40% or so of the world's purchasing power (please correct me, I just bullshitted that guess).

Europe GDP is 20.9 Trillion USD. The world GDP is 107 Trillion USD. So Europe is only 20% of the world GDP.

But one can make the argument that EU citizens are better connected and spend more on digital goods. Though I'd be surprised if it drives more than 30% of Google revenue.
With GDPR the opt-in checkbox will have to be unchecked.
Imagine a multidimensional spider's web in the early morning covered with dew drops. And every dew drop contains the reflection of all the other dew drops. And, in each reflected dew drop, the reflections of all the other dew drops in that reflection. And so ad infinitum. That is the Buddhist conception of the universe in an image."

–Alan Watts

https://en.m.wikipedia.org/wiki/Indra%27s_net
Kafka deserves some credits here, because it destroys these kind of architectural problems however.

It completely changes how to think about service based architectures. In fact, with a properly designed architecture sitting around Kafka APIs and a plethora of queues magically disappear, because instead of function and request-response driven the system becomes reactively data driven, sitting around a single bus.

This makes designing actual services a lot easier because instead of thinking about a few hundred function names all you need to think about are actual data flows (data comes in at a central point -> gets transformed -> gets moved out at a central point).

As a added bonus it scales like crazy, to the point that hammering through a terabyte of data looks like nothing.

A great talk from Ben Stopford (Confluent employee, so mostly Kafka centric) about this subject can be found here:

https://www.slideshare.net/benstopford/devoxx-london-2017-re...
There are many people who have the same advantages as the Frugalwoods (education, high-paying jobs) but not the same lifestyle outcomes. Are we going to criticize them for pointing this fact out by showing their own example?
Maybe if the hash were actually being stored, as in a website's accounts database, but SHA-1 is being used here to normalize a variable-length user-supplied password into a fixed-length string which can be used as the key input to an encryption function.

The article approaches this from an angle of an attacker with access to this hash bruteforcing it to obtain the original plaintext password. But as the hash is the encryption key, if an attacker were able to recover it from the encrypted password store blob, it would already be game over.

Applying a more costly hash algorithm would increase the cost of generating guessed encryption keys in a bruteforcing scenario, strengthening weak passwords somewhat. But using a single SHA-1 iteration here doesn't weaken the password security model. A strong password will remain strong.
Great! Does this mean Google will stop installing PlayStore crap on my Android phone that doesn't have a Google account?
I deleted all that stuff, but it came back with an update.
Proxly: A tiny js lib to proxy a list of objects/functions to a single object
https://www.w3.org/Consortium/mission
The tax rate is broadly comparable to the US. Tech companies’ success is therefore based on their ability to fire people without cause?

Honestly, this sort of thing is often thrown around as a trope and I don’t think it holds much water.
> In the capitalist system with a labor market as tight as we’ve ever seen it this is addressed by getting another job for more money.

Is it tight?

I see very few occupations with rising wages. That's the REAL test for a tight labor market.

Let me be anecdotal for a moment ...

I was at a conference recently where the companies had a panel session complaining about getting more people into the business. Unlike most software disciplines, they really do have an infeed problem. In addition, they are also getting poached and losing their junior guys from the shop floor.

Okay, think I, I was a hiring manager in the DotCom Boom(tm), I understand getting poached in a narrow field.

So, do you know who their primary opponents are?

Amazon and Foxconn.

Two of the worst employers on the planet. You are losing employees from your manufacturing line to Amazon warehousing and Foxconn manufacturing.

Um, please go bankrupt and may your industry die in a fire if you treat people so badly as to lose them to Amazon and Foxconn.
It comes up with apis that deal with data storage or IPC concerns.

You might need a handler for both versions if you have customers that use the old api and ones that use the new one. Or different departments of the same customer.

Or if you dodge that bullet but have to write a custom migration tool to get data from the old version and cook it to go into the new one. Half of the code is read only and the other write mostly but they still have to coexist if you do anything more complex than a backup/restore script.
> There are several things the EU can do. First of all, they can freeze and/or seize Google's assets in Europe. Like bank accounts and real estate. Or even more important to Google, all of their European datacenters.

> The EU can also disallow sales of Google's products, like any android phone. Or products like the chromecast, and don't forget Nest and Google Home.

Without giving them plenty of time to pullout? This will probably trigger panic across of the multinationals.
> a seller might go out of business.

Hah! And by that you mean they might change their name slightly and simply re-list all of the same stuff on AliExpress or Amazon?
The facts are here:

https://www.nhtsa.gov/risky-driving/distracted-driving

I’m just trying to point out how silly some point of views are in the current state of national discussions.

From the point of view of a 2A supporter, people are attempting to take away what is a RIGHT, while conveniently forgetting to address what is effectively a modern convenience (it is not a RIGHT to own an iPhone) that is factually more impactful on the presumed end goal.

But it makes for better TV ratings and yet another polarizing dividing issue (which is not, as there are high school kids trying to advocate for guns in schools, whose voices are being drowned out by the media and the kids “on the other side”

Imagine what it would be like if we had a march to take away the right to love the person you love, because some people who love like you do get more frequently sick of some disease.
And that place is called the US.

This didnt even work when it was simply a question of having transnational companies on the level of facebook having to pay taxes.
which particular tax rate?
On the contrary, I'd argue that the ability to perform simple tasks is a prerequisite to proper education. We are raising a generation of children unable to perform basic tasks.
These things take some time. They could add a banner saying they are shutting down in say 6* weeks with a link saying they are exploring options while trying to comply etc etc.

With 6 weeks being the required notice before everyone is laid off or whatever.
That would be a very unlikely consequence of breaking up Google.
Here's the rule-of-thumb, these small time sellers are interested in sales, not pwning you. They may counterfeit but they aren't going to bother installing backdoors nor are they sophisticated enough to do so. They may inadvertently do so out of incompetence but that was not their goal.

People who really do want to pwn you wear suits and sit in large offices and they will get you to do it voluntarily by signing a EULA.
> What I want to know is why isn't Google allowing users to uninstall some of the apps that come with the devices?

Interesting that you are "blaming" Google for this instead of vendors, when (usually) it vendors who make their crap uninstallable. Or do you see lot of uninstallable stuff in AOSP?
See the post I replied to where the comment was about a big player flailing with dep mgmt to the frustration of those who are having to change course whenever they wave away the previous solution

The evidence is right in your face, but you’d rather explain how “if we all saw it from my perspective...!”

Oh they announce change and deprecation, most times, but ultimately the decision was made in seclusion and foisted upon the public at large

Feels a bit like a time and revenue taxation scheme without representation. Just thinking aloud

Denial isn’t just a river in Egypt
EU GDPR – Another reason for SaaS to reconsider on-premise
Show HN: Has your password been owned? open source kotlin app will tell you
How would you feel about there being some sort of standardized credential certification, similar to a BAR or trade skill licensing, that proved a candidates technical chops ahead of time? Do you think this would help reduce the number of candidates that gets turned down during the initial screen?

It seems to me like if there was some standard of proving technical skills, both parties could save a ton of time and go back to regular culture-fit style interviews.

Of course, for the highest paying/most demanding jobs interviews would have to be tailored - but I don't really see why junior/mid level roles need interviews that last 4-8 hours on site plus any pre-on-site screening that needs to happen.