skysight-inc/HackerNews huggingface dataset:
My partner buys legal drugs from her pharmacy. Half the friggin time, there's some supply problem on the back-end, and she can't get her drugs in time.

Anyone who could fix this problem will get her business in a heartbeat.
Here's how I asked the question. I would present the data for a 2 node cycle and ask what would happen to this routine. Here's a response I would get far too often: A conditional clause detecting a 2 node cycle. Then I would present a 3 node cycle, then ask how to detect an n node cycle, period.

Lots of 3.5+ GPA grads can't make that logical leap!
They tried a travel site once; they tried to sell insurance once; they tried to make a phone once; etc.

They fail a lot of the time, but sometimes even when they do, it's a kick in the ass to some of the other competitors in the field, which causes them to depress their margins. So sometimes, even if Amazon's presence in the market fizzles out, they end up still reducing other's prospects.
Am i parsing this wrong?

The first headline says:
China’s social credit system ‘could interfere in other nations’ sovereignty’

And the second headline says:
[China’s social credit system] is shaping behaviour of foreign businesses

So "to interfere in other nations sovereignty" is "to shape behaviour of foreign businesses"? So "other nation" is "foreign business"? So "business" is "nation"?
It's possible sure, but if 'they do not have enough money to purchase with dollars' then it's not "quite affordable" as originally suggested.

I can easily live in the US, have a minimal commute, and save 1/3 of my income with my current lifestyle. I can't do that and have kids.
As an aside, do you know of any research where eye movement is not possible? I'm thinking of sparring in grappling, where you can't see parts of your opponent's body because you literally can't move your head that way.
Those were the favs of my main art professor, too. He was really into lines, and they both do great ones. Although it is possible that you need to be quite the art geek to be opinionated about awesome lines vs. just plain old lines.
I don't believe that it is hacker news admins that are doing the censorship. There is a flag feature and any post that is flagged is automatically hidden. There is a dedicated contingent of users that will flag anything that goes against their narrative.

This happens for articles that discuss China, diversity, etc.
Digital Transformation: Why Enterprises Need Progressive Web Apps
a huge number of problems on this planet stem from the fact that people speak different languages

I strongly disagree with whatever led you to believe such a thing.
I'm pretty sure their grocery business has changed alot in the last 10 years, and will probably change even more with the integration of Whole Foods.
Double Dabble – Computerphile
'Slow' is a loaded term with a lot of different definitions.

In terms of throughput, there's nothing wrong with a garbage collector, but in terms of latency (particularly 95+ percentile) you're never going to be able touch 'manually' (I'm including Rust here) managing the heap. Even Azul's 'pauseless' gc only guarantees something like 10ms max pauses. That's an eternity for a lot of use cases.
How can you determine what is efficient without knowing what is valuable? And how you determine what is valuable only by logic?

Even the instinct to survive is an emotion. An emotionless agent wouldn't care about survival.

Logic can show you how to arrive to any place, but only e-motion will compel you to move and go.
Is it not still shown as "Fullfilled by Amazon" but all grouped under the same product page? I presumed "Sold by Amazon.com" meant procured, shelved, and shipped directly via Amazon.com, none of this third party fulfillment crap.
Great article! I'm definitely taking an action item to look into Prometheus. I own DevOps/Monitoring and Alerting my org and it's really cool to see how other companies skin this cat.

I saw Cloudwatch in the pipeline, which is an Amazon product. I know I'm going to make a very controversial statement here, but - why Amazon? With volumes like yours, your scale will eventually hit the point where your cost skyrockets.

Regarding the metrics themselves, you might already do this, but I highly recommend splitting your metrics into a 50th, 95th, and 99th percentile in your Grafana graphs. This will give you a solid idea of not only what your customers experience on average, but edge cases as well.

Do you have a regular forum with how you are reviewing said metrics and pre-solving problems? We're still trying to solve this in multiple teams where I work and have noticed that some teams are great at it and other teams are a little more reactive.

Love to see this stuff :)
Maybe not just Newbies, but I often notice even seasoned Django developers cribbing about Django's Class Based Views (CBV). I don't really understand why to be honest. There are many blog posts that express regretting the time invested in CBV by their respective authors by pointing out all sorts of pitfalls they fell into during usage.
My ex-boss hates it as well, he even banned it from usage among developers.
IMHO, it's was a great new introduction in version 1.3.

I hear them discuss about the difficulties and time it takes to implement some views which involves complex logic and more than one entity per view.
How to embed a Form inside a Paginated page for example: to use a FormView or to use a ListView or both, followed by a long day of trying to exit a maze full of dead-ends

My advice to Newbies and other people who are struggling with CBV is:

1: You are probably not struggling with the concept of class based views.. just with Django's generic views module

2: Stop stressing about not being able to understand what each Django generic view class does, or it's Mixin classes. Instead refer to ccbv.co.uk and source code extensively - not just the docs.

3: If you are not able to fit every logic you want to fit inside your view using a generic Django view class.. Then just spin up your own class from Mixins or django-braces like nice apps or from object.

4: Remember, one basic upgrade you get from using Classes vs Functions is the ability to extend. If your views can not take advantage of this then you probably don't need a class based view, function based is fine. I almost always keep a base view class with me, often call it a ContextMixin(object) and use it in every view so that i can have some common context variables available in my every template.
It's... kind of a dictatorship? But not so much of a man. It's a dictatorship of the party. Does that count as a dictatorship? Maybe, depending on your definition...
> but I need to be good at some EMCAscript based framework if I want a higher-paying Software Engineering job

Then I should hope you know enough VM-fu to be able to optimize a JavaScript application.
Oberon and Blue Bottle drivers written in Oberon and Active Oberon respectively.

http://www.projectoberon.com

https://svn.inf.ethz.ch/svn/lecturers/a2/trunk/

Mirage TCP/IP drivers

https://github.com/mirage/mirage-tcpip
"I think the biggest contributor is just that left-leaning people are more likely to be offended by right-leaning views"

Considering "right leaning views" includes things like women should not have reproductive control over their bodies, trans people should not be able to use the bathroom they feel comfortable with, and gay people shouldn't be married, and people should have their children yanked away from them at the border, yes, I can very much see why they would be offended by that.

You're not getting a lot of people being offended by the nuances of tax policy, for instance.
And that is what Uni Health Care addresses, supposedly. The caveat is, while insurance providers must cover PECs, it says nothing about how much they will charge. The systemic problems with for-profit/quasi-social healthcare were not fixed nor addressed(outside more welfare options), it just mandated more participants paying into the coffers.
Netflix may be investigated after streaming graphic film with pre-teen girls
hello! i like this idea - we'll keep it in mind.

again my only concern is when The Lobby does pre-screening without giving any coaching, we again resort to arbitrary measures such as resume, good grades, etc. instead of trying to be a source of coaching, insight, & improvement for candidates.

For the candidates that reach a certain threshold on The Lobby (say, 3 insiders screened them over a call and see potential), then something like this makes sense so they can make their money back. Vettery gives candidates a $500 incentive to use them to get hired, which is a nice idea. Thank you!
Would you rather work with this person:

Interviewer: Okay now what if you couldn’t use the standard library? Imagine it’s a 200GB file and you have to do it all in memory in Ruby.

Me: Why the fuck would I do that?

Or with this person:

Interviewer: Okay now what if you couldn’t use the standard library? Imagine it’s a 200GB file and you have to do it all in memory in Ruby.

Me: Ah what an unusual situation, to be using Ruby without the standard library. Well, I would do it like this: <writes 20 lines of code, there's a bug, they fix it themselves without prompting>

While interviewing you might think a question is silly. But perhaps the interviewer has asked this question to 100 people and found it to lead to intelligent discussions that reveal a lot about job candidates. Don't assume that a process is a bad process just because it rejected you.

In particular, this sort of assumption seems designed to test your understanding of the linear stream processing type of programming. You probably wrote something that operated on an entire array, and the interviewer was curious to see if you were flexible enough to change that into an iterative algorithm. Perhaps you used a sort when you could have been slightly more efficient and used a single linear pass. A good programmer will be able to handle this, even if the specifics like "200GB file processed using Ruby with no standard library" are silly.
> for the millions of us taking one pill every night, e.g the "pillpack" is wasteful.

Does the pillpack have a separate pack for each day with the date clearly labeled? If so I feel that would help a lot with adherence, which in my opinion is a serious problem
How do programming languages work?
BuzzFeed France’s shutdown is paused by a judge, requesting more proof
Why Brand Awareness Is Worthless
I misread the title and thought "I" instead of "AI". I was like, I'm clicking now!
Exactly. If a person is making $50k in the US and the equivalent person $40K in another country, why would they want to live in the 2nd country just because inequality is lower?
Hello HN! One thing early stage founders always ask is what the “fair” valuation is for their startup.

After years of doing this, the truth is that early stage valuations are more about negotiation, what’s market for other startups and what ownership percentage your investors want to achieve than they are about your business.

Once you realize they are fake, you realize the way to drive valuation is only to create a competitive market for your startups equity, by getting many investors to the table.
That's such an interesting thought. I've played some procedurally generated dungeon games in my time and I've always thought it was interesting to have a new experience but there was always that nagging feeling of aimlessness.

So in order for a machine to be able to craft an interesting narrative for a human, I think it would need to take into consideration the temporal element of how humans consume things and how that impacts the experience.

In a dungeon, that's when you go down ten different dead ends and you are losing interest.

In music that's probably a long drawn-out melody that ends abruptly, like what you're talking about.

How would something beyond that be modelled in a program, though?
I'm pretty sure the investors on Wall Street are far more sophisticated than just your "confidence".
of course, then they have the luxury to go home to a country with universal healthcare in case of, say, lost job due to serious/chronic illness.
> Part of the issue, experts say, is the vague regulation has been interpreted in wildly different ways. GDPR consent-request messages vary wildly across sites

What experts? I found the law to be pretty clear and there are plenty of summarized versions out there. What some companies find confusing is that the law has made their core business model illegal and no consent form can save them. You cannot get your users to opt out via a consent form, how many times do people have to repeat this? This is nothing like the cookie law.

The only vague part of the law is the fining system which was done on purpose. If you have explicit fines then companies will have to make more money from your private data to cover the explicitly priced fine leading to a worse situation.
> Why wouldn't they just roll out their own crypto?

Because in the times of gold-rush, you don't look for a gold. You setup your online store to sell axes :)
>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.

I'm sure you meant to phrase it differently but in its current form, your comment comes across as more snarky than substantive or civil.
It’s part of a continuum. One wouldn’t say Spaniards speak Latin, not would we say Latin is a live language (beside some religious usage). One died another (of a few, in this case) grew. Some don’t have descendants, just as people.
> They know where integrity counts, and I think when it comes to pharmaceuticals they'll know how to play this game clean. As another user commented: Amazon didn't get this humongous by making silly mistakes like this.

Exploding hoverboard case shows how hard it is to beat Amazon in court

https://www.cnbc.com/2018/06/02/amazon-not-liable-for-explod...

https://news.ycombinator.com/item?id=17216972

> [T]here were so many cases of fires and explosions that Amazon had halted sales. [...] Fox's case was filled with testimony and evidence illustrating that Amazon execs were concerned about the hoverboards sold on its site. [...] [A]n Amazon vice president said the company had decided to halt sales of hoverboards and send a 'non-alarmist' email to existing customers [...] Fox received the email the next day. It referenced 'recent news reports of safety issues' and offered 'safety tips' for using the product as well as an option to return the device for a refund. There was no use of the word 'fire' or 'explosion.' Fox testified that if Amazon had said that 'they knew what they knew, I certainly would have gotten it out of my house.'
Search for “facebook hires censors” on the search engine of your choice.

The story was broadly covered by sources across the political spectrum.

And in answer to your two questions: Yes, I expect news sources to have journalisic integrity, even if the truth is not popular.
This is my new favorite euphemism for death. "Deceased" just sounds boring. "Defunct" has a certain weight to it.
definitely a concern. For something like this to happen, The Lobby has to have already reached a very large mass (i.e. employers wouldn't care otherwise), but we'll think of guard rails or measures to avoid this from happening. I think something to verify the candidate's identity in the onboarding before booking calls is a good way to do that - but haven't thought through it.
The Man Who Told the Internet He’d Come from the Future
Equifax Engineer Who Designed Breach Website Charged with Insider Trading
Well, that's one problem you wouldn't have on Linux I guess.
It is like the developer's mind is somehow incompatible with SQL. SQL = relational algebra + xml + json? That is most certainly not going to be friendly. Xml and json are for NoSQL. Keep it that way and you will eventually see the light.
If the meeting was worthwhile, we wouldn't feel the need to check emails during said meeting ;)
What part of "changing their laws to match other countries that you'd never call a dictatorship" don't you understand?
you work on FANG? can you expand on the line of work you're doing?
Isn’t that part of the reason they’re buying a company that has developed strategies for this sort of thing?
Does blending olive oil make it more bitter?
Coinbase selling out to Facebook would be in my opinion the same as Coinbase not believing in the future of cryptocurrencies. Why would the founder sell when this company could be worth much more if cryptocurrencies become mainstream? The founder could become the equivalent of a modern J.P Morgan.
Dont forget one of their biggest failures. Fire Phone.
fswebcam --no-banner capture.jpg \
&& classify.sh tf_files classifier capture.jpg \
| head --lines 1 | grep --quiet '^slouching\b' \
&& aplay buzzer.wav

Polish to taste.
5 Books You Must Read to Successful a Entrepreneur
OP here: Thanks so much to the HN community for all the amazing support + critical feedback. Deeply appreciated! Apologies if I don't see / respond to more comments, will try to check back and answer when I can. If you want to keep chatting, please reach out here: deepak@thelobby.io.
On undergrad, there is a life time limit of $60k, so expect the average cost to go up to that. And then the limit will be increased.
> React+Redux paired with an API

For building a REST API, there are no frameworks or languages I know of that are easier, quicker, or more user-friendly than Django REST Framework. I say this of someone who is not a big fan of Django in general (although it's not a bad framework).

However, I wish that Django REST Framework were build on top of an async HTTP server. Although it's never been an issue, I've occasionally in the past felt uneasy building APIs on top of Django since I know beyond a certain point scaling will be an issue. But either fortunately or unfortunately, I've never had that problem.
I can't do OO anymore after I learned FP!
If you're an in-demand engineer, you're likely surrounded by in-demand engineers, and that might seem like the norm to you, but that path might not be available to everyone.

I think it's worth thinking about the conditions that could lead to a person seemingly torpedoing herself with an expensive, debt-ridden culinary certificate. Things really have gotten tougher for many Americans over the past few decades. Some people make it extra tough on themselves by refusing to handle downward mobility gracefully and taking the best options available to them. On the surface, borrowing money for culinary school seems like an objectively (very) bad choice, but people are complicated, and I'd be interested in understanding what brought her to this.
Indeed we are also looking for a framework to change our Django/python. We were looking at golang as half of our backend is in go but the lack of ORM make the choice impossibile. Gorm, xorm.. are not supporting Foreign Key...

Yes you can write your raw SQL query but that means that your backend can't support MySQL and Postgresql (one of our prerequisites for on-premise deployment).

So we are ending with phoenix. Very sad that golang doesn't provide a very good ORM.
Great Sci-Fi Technology: “Eternity Circuits” from the City and the Stars
That’s a pretty large juggernaut to try to change. I’m surprised and pleased they managed to make it work.

I wasn’t aware that Facebook used python so heavily. Presumably much of their code is in Js these days?
Capuns looks tasty
Everyday I throw my phone onto my bed when I get home, I'm not sure how I feel about this product.
Looks like you're right. Comment withdrawn.
DB has to calculate every record from 0-> offset . A user can frequently crash a server by just going to page 100+ in a big list since the database has to load all that data.

Easiest way to prevent this is add enough filtering options that it doesn't inconvenience users to limit depth to page 10 or something
5 Ugly Truths of Hair Products. – DOCTOR Advised
I know a bunch of people whose phones seem to be perpetually full or nearly full. I'm surprised that Facebook hasn't seen an incentive to slim down the app to keep it out of the top few items in the 'Manage Storage' list, reducing the chance it that it gets deleted when people are scrambling to make room for more pictures or videos. Maybe they've found their users to be sufficiently hooked that it's not a risk.
I have to wonder if Apple got Samsung to reduce the cost of their displays in the deal. Or the ability to license the tech to build them themselves. Just a complete shot in the dark but I could see Apple seeing that as a huge win.
What Your Standup Reveals About Your Team
Crypto Commons
Ah yes, George OS and the ICL 29xx series, fun times.

Had great fun with the SPV command, used that to code up a keylogger. Was able to pull up a spoof login screen on all the terminals using that and able to pass off input as commands and the end user would be none the wiser.

Other great find was that back then discs were big and expensive and not as reliable, so they rotated the discs to even out the wear. They also didn't fully erase them and if you created a file, you had to specify to zero it as an option. This allowed you to create a file, dump the contents and read what was previously upon the discs. Now as the operator console would create a journal log of everything typed (including login and password - everything typed) and factoring in disc rotation, then it was possible as a user to create files upon what was a disc previously used for console journal logging and read the contents.
This yielded the username and password of the system admin at college and even today recall that wonderful admin/5588 username and password.

Fun times indeed.
Can this convert a html/css document to PDF? or is chrome headless(ignoring overhead) the way to go these days?
I'd imagine they'd call it Macbook Pro 17"
This reminds me of story from Indian epic Mahabarata where Arjuna sees nothing but the parrot's eye when aiming to hit the parrot . http://hindumythologyforgennext.blogspot.com/2013/03/the-eye...
The surrounding areas have houses for much less. Lehi used to be a big farm town, and now there's a huge dichotomy between the old and the new. Traffic is getting worse (Utah standards of "worse", of course). A 20 minute commute, however, provides much more affordable housing.
Upvotes do not suppress the readability of comments. That workarounds exist is beyond the point.
It's entirely possible that Facebook found that your comments caused less engagement for other people on Facebook, and therefore doesn't want you to comment.

It's also possible that Facebook determined that this person has substantially different politics than you, and has put you in different 'boxes'. You can actually check what groups Facebook thinks you belong in. For instance, Facebook thinks my peer group is 'Starting Adult Life', and my US Political Stance is 'very liberal'.

(Facebook also thinks I work in a production occupation, like mining, or lumber, which couldn't be further from the truth, which explains all the ads for industrial equipment)

I went to high school in a really conservative place, and I'm friends with a lot of people who have wildly different views on religion and politics. A few years ago I stopped seeing their posts, even if I added them to the group of people I see first on Facebook. Meanwhile, I started seeing a ton of posts from people who I barely knew in college, presumably because their 'beliefs' were much closer to mine.

I'm extremely cynical, and I find dogmatic people of similar beliefs as annoying as people whose beliefs I disagree with, and my Facebook feed became a personal hell of dogmatism, especially leading up to the 2016 election. As a result I check Facebook at most once a week. It's entirely possible that leaving the platform improved the experience for some of my more conservative peers from high school, who no longer have to see my posts on the walls of mutual friends.