skysight-inc/HackerNews huggingface dataset:
One problem I have with Tkinter is scrolling.

In other frameworks I just say "this frame (containing lots of widgets) is scrollable" by setting one property to true and it just works. Including vertical and horizontal scrolling, mouse-wheel support, and standard keyboard shortcuts like page-down etc.

In Tkinter this seems almost impossible. It takes dozens of lines of code; many events must be implemented manually, including low-level things like calculation of scroll offsets; good mouse-wheel support is very difficult; etc. It feels more like I'm _implementing_ (rather than _using_) the scrolling widget. And in the end it the UI flickers like crazy during scrolling.

Is there something I overlooked?
Wow. I'm a bit shocked. At first I thought the title was a misinterpretation of the statistics presented in the article by the poster, but it seems that the author actually offered that comparsion themselves.

'an annual average “rate of return”—actually a pay premium, the increase in hourly earnings from an extra year of schooling—of 8.8%. The analogy is inexact, but for comparison America’s stockmarket returned an annual 5.6% over the past 50 years.'

Those are in no way comparable! Encouraging poor interpretations of statistics on important issues like this is actively harmful! This has to be some of the laziest reporting I have ever seen.

At a minimum, can we please change the title on this?
> Nobody signs the dotted line to sit in a tower or stand aroun

Few people sign the dotted line for what's described in the article either, it's something that happens after they get there, and doesn't happen to a guard in the middle of controlled territory.

> They were not any less human than you are.

But for completely different reasons than the thrill of violence and war-fighting.
I'm sure others here have far, far more experience with QT that I do, I wanted to give my 2 cents: QT has been great for the experimental control software we run to perform experiments in our lab (https://github.com/LISE-B26/PyLabControl --- note, the readme is unfortunately out of date, but it should be ready in a week or two). I tried a good number of other GUI libraries for python, but pyQT just worked far more quickly.
This is about the case of Sergei Aleynikov, a senior Erlang developer (among other things) in NYC, who ran afoul of Goldman Sachs when he made plans to leave for a new job at a Fintech startup or the like.

The case was rather odd, to the point that Michael Lewis, author of *Liar's Poker", "Money Ball", etc., decided to write about it in Vanity Fair [0] (and discusses it with a Vanity Fair staffer separately [1]). It's well-worth reading.

[0] https://www.vanityfair.com/news/2013/09/michael-lewis-goldma...

[1] https://www.vanityfair.com/news/2013/08/michael-lewis-on-gol...
This isn't even a misinterpretation of statistics, which is actually complicated and understandable...it's literally a misunderstanding of how rates work.
Sorry, I don't agree with your comment. No point in going round and round. Goodluck!
Nah. If you hopped in early you made, and still make, tonnes. It was amazing for the intelligent poor.

Not to mention there are cryptocurrencies made to do genuinely cool things, like to allow private transactions for people in authoritarian countries, make contracts that actually are guaranteed to work, and more.
On some level, people do like to work.

Sure, people grumble about it. They say they hate their job. They like to take vacation.

Without the job though, people have less self-esteem. People have a natural urge to be of value, to contribute, and to earn their keep. Welfare doesn't satisfy that need.
Simply disabling variable implication actually fixes that and removes the need for the "known" keyword.
Doing that would turn CPY into a valid preprocessing step for any existing C++ file. I'm currently working on a way enable or disable certain functionalities according to your preference.

It is in fact able to output perfectly servicable C++ code by simply using a flag (-ex)

CPY also helps with the compilation speed problem by doing a makefile-like compilation, were it only recompiles edited parts of the code.

It can also be used upon complete c++ projects and it would only actually execute the compilation step.
You're comparing the entire NK armed forces to one US branch. The entire USA armed forces is about 1.3M active personnel, with about 800K reserves. Which the US manages to achieve without conscription or slavery. If you also consider equipment and vehicles (which you absolutely should), then NK is not even remotely close. The number of naval ships, air crafts, tanks, armored combat vehicles, APCs, UAVs , etc... that the US has is so far ahead of any other country that it's not even worth trying to draw a comparison.

You've made an overstated example of a single outlier. There's outliers at the other end too, with both countries that are too dysfunctional to have any national security at all, and countries that simply ride the coattails of their stronger allies.

In any case, this is all entirely irrelevant to my point, which is that armed forces do contribute measurable value to society, and that the level of investment in them is typically proportional to the level of security a country requires.
My guess is that the were working on a "laugh track" skill, that laughs with you when it hears laughter -- and either it was pushed too early, or was just too sensitive in its determination of what laughter is.

Many dry sitcoms become funny with a proper laugh track. Why not your life?
Disha Patani 2018 Sexy Photos
The answer will depend primarily on how you expect to query it.

Cassandra can do many orders of magnitude more than 1B, but would limit you in your query patterns.
> Tell me how many foreign auto manufacturers are allowed to build in JP and SK. What's their output?

Which is you admitting the OP is correct btw. They are protecting a few politically important industries just like the US does.

Or do you genuinely think all those IP protectionist bs the US shoves in treaties is different?
Hm I initially agreed with everyone here that there's no way to really compare the two since I thought about this on a personal level.

However my current rationalization of the title thinks about this on a societal level.

If you're the government and have $1B, would you rather fund education directly (through debt) or invest $1B in the stock market? On average you'd expect the wages of everyone you funded to grow at 8.8% of which the government can harvest an average tax rate. Additionally the government can take an interest rate on the debt.
Ask HN: Any Tip ( without side effects ) for healthy life?
Nowadays it is become hard to stay healthy. So, asking you any tips that you follow to stay healthy but that should not have any side effects. Such as I drink tea to overcome headache but with tea I also consume a lot sugar so that is not good right.

Some of the tip from my side:

1. Eat foods based on seasons. Such as Grapes, Watermelon and so on in summer.

2. Eat less in evening especially in night.
If you put that 1 years school money into the stock market, it will keep giving the 5.6% when you are not working. If you take time out to start a start up, go travelling, or get sick then the educational ROI falls to 0 for that time, while the stock market keeps (on average) delivering.

Also capital gains tax vs. income tax.

Also I'm from another country where you could offset the interest paid on the load to acquire the shares, against dividends, and if the interest paid > dividends, reduce your income tax bill accordingly.
Towards a Scalable Non-Blocking Coding Style (2008) [pdf]
For AI to be conscious it needs to be self aware
Looking into this right now. I'm surprised it's taking me longer than 2 seconds to find a solution. I would expect MailChimp to have this built in... Unless I'm blind.
The article basically states that rich people made a shit ton of money from cryptos because they had the money and knowledge to invest.
Hard money is a benefit to everyone, especially those whose income is close to their living expenses. Remember wage rises only serve to keep up with inflation.

Now whether or not most cryptocurrencies deserve to be called sound money is another question entirely.
Monday is first day of the week according to ISO 8601. This is also the case in most European countries. In the middle east Saturday would be the first day and in some countries (notable North American and Islamic) it's Sunday.

But ISO 8601 is the standard so it makes sense to use that.
This is one area of manufacturing that I am sorely lacking on knowledge in. However, isn't value added calculated on the COGS? That is, they take all the inputs, and then add labour, raw materials, property, etc. to get the total cost?
The 8.8% figure came from "an extra year of school," which has absolutely nothing to do with a return on the cost of an extra year of school. The statistic says nothing about how much that $1B would actually grow.

Is there a trade-off between academia and industry? Sure, but the economist has made an hilarious pants-down mistake in evaluating it. Maybe the ROI on an extra year of school would be even higher for the author ;)
See that's the thing. vigilantism is illegal, society as a whole frowns upon violence. Thus good healthy men end up building fences and hoping another man (the thief) cannot attack them. The government has its challenges solving the crime issue and I would venture that the criminals are more motivated/organized/have less red tape than the cops. Not everyone is lying down and accepting the status quo. Neighborhood watch committees exist. Some neighborhoods have put up boom gates which have caused a stink because it is perceived as limiting people's movement.

More to your question. Occasionally frustrations boil over and communities take the law into their own hands [1][2]. This is the other extreme to the criminals.

[1]https://www.news24.com/SouthAfrica/News/limpopo-mob-kills-su...

[2]https://www.iol.co.za/news/suspected-thief-dies-in-hail-of-s...
I did that and it bit back when it prevented Transmit from connecting to my servers, with only a generic "Unable to connect" message popping up. This was fixed fairly recently[0], but it's a reminder that using a restricted set of ciphers may not only prevent illegitimate connections from going through.

I can confirm from the same experience, however, that it prevents most hacking attempts from ever going to the authentication stage.

[0] https://library.panic.com/releasenotes/transmit5/#5-1
For some reason, Jounalists, no matter how techincal the thing they're writing about, uniformly forget the basic graph-drawing rules their math and science teachers made them follow when they were 13. It might have seemed like pointless pedantry to their child selves, but then they get it wrong and their graph becomes an empty emotional gimmick instead of actually informative.
Ask HN: What are some amazing Telegram Channels?
Bike, hard. Support that with Becoming a Supple Leopard, to avoid injury.
Well there's channels for everything from Islamic State supporters to cryptocurrency chart analysis - what might some of your interests be?
Well, you are dealing with a lot of partners.

Let's say you want to create a unique mug for your company. In general, you can do this pretty easy by calling a promotional products distributor (you can't contact the supplier directly), but you are bull-headed and want to do it yourself.

You decide you want to buy something USA-made. Well, you contact the factory and you get yelled at for not calling their broker. (I contacted an unnamed factory in Texas and they were demanding all names and numbers, implying heads are rolling).

You call the broker. You contact the broker and she tells you that you can't really order from her, and you have the option of contacting a printer in Chicago.

You contact the printer in Chicago and now they are upset because you aren't ever supposed to call that factory, never mind you have a retailer license.

Okay, well... you call their broker, and well, yeah, they can do that, but you have to use their preferred artist located in NYC.

Got everything wrapped up now? Nah... you have to find someone to do the mold, and no, the factory doesn't deal with that. You contact someone in Colorado and you get quoted $15,000 for an injection mold.

So you go back to the broker who is... well, you don't really know who to contact, but it turns out that the Chicago printer isn't tooled to do anything but the shapes they are getting from Texas (you don't learn of this for 2 weeks because that broker is too tied up with other things). You call up Texas broker and she says "yeah, we do custom molds, but you still have to use our preferred network."

You ask if they can do orange and they say no, they only do red, black, and blue. Sorry.

You say to hell with it, call China who can do all of this in one phone call. You figure the cost is about the same (though the mold is only $5,000) and can get an sample in 2 weeks. They also offer to send you 15 different colors because they can.

I guess that doesn't explain why this happens. The reason is that there are a lot of "policing societies" that factories, suppliers, brokers, and distributors pay good money in order to keep the supply chain in check. There is no dirtier word than "double dipping," which means you are acting as supplier and distributor. Once you do that, you end up losing your society membership and you are basically toast.

There is a bit of inflection point these days. Suppliers / manufacturers are starting to sell direct. The distributors don't really like that the supplier / distributor relationship is breaking down, but it is slowly happening in some segments.

In sum, there really isn't a such thing as a "middle man." There is a whole party of people involved in everything that you buy. It's just a matter of how deep the rabbit hole goes. China smartly chose to streamline the process.
Sure but we can derive it.

We'd have to know the answer: on average how many extra years of school does $1B fund?
I know some folks at the World Bank and I'm sure they invested a lot in education prior to joining - you need a economics-related PhD to become a junior research analyst there. Therefore, this study is the result of trained professionals.
Having said that, I'm skeptical of the results - the final numbers are averages but I'd like to see the distributions.
I'm not very satisfied with the state of hex editors on Linux and wanted to write my own to provide an alternative choice. Free editors that are most popular can get the job done, but their appearance often hurt the eyes or they aren't designed to work with huge files. Most of the commercial editors happen to exist only on Windows and it's not uncommon to have a dedicated Windows VM only to be able to run a few programs that can inspect some files.

I think Linux is about technological literacy so I don't see why Linux should have so small choice of technical tools.

Bonus feature is that it's not based on Electron ;), it's old fashioned C++ + Qt.
That's like telling people not to use their own primitives - or abstractions - or whatever.

I don't use Onenote to store more than a few KBs of data. I really don't see people loading GBs of stuff into Onenote - this article seems to be having made up engineering problems and then telling people not to write stuff where it really matters.

Sorry, slow news day on HN.
I am bring sincere with this question: what does this offer that HN (which is somewhat manually curated itself) or existing HN newsletters don't already?
"past performance is not an indicator of future results"
It still wouldn't be comparable: the 8.8% is from an increase on earnings per hours worked, not an interest-style return on tuition money. You would also need to know what people were making on the job.
It's being reported in a few places as an acquisition as opposed to an equity investment per se - Viking may be purchasing the positions of the previous investors, and probably doing it for very little. There was some venture debt on the books, so potentially they're doing a deal to repay that debt, rather than have Birchbox default on it?
Because rigorous scientific inquiry holds evidence to certain standards, like being measurable and repeatable for instance. Which is why fields that struggle to collect high-quality evidence, like psychology for instance (and other fields to a greater extent), are typically referred to as "soft sciences". While they follow some of the same methodology as other sciences, the evidence they collect and the measurements they make tend to be quite subjective and imprecise.

Psychology is probably a decent example here, as it has come up with a few tests that are reproducible (like IQ tests), and even manages to make some predictions given large enough sets of subjects, which is the only reason it's considered any form of science at all. Philosophy at the other end of the spectrum tends to almost never make any measurable predictions at all.
Ask HN: Is Electron really that bad for desktop apps?
I've been thinking of making a desktop app, but I keep hearing all this chatter about how Electron is really hard on memory. On the other hand, I know webdev, and learning C++ to make a native webapp seems like a steep learning curve (say by using something like Qt). Not only would I have to make different versions of the app for different operating systems, but I would also have to style the app using C++ which seems like a nightmare. CSS/js styling is so nice in comparison.

Is Electron really that bad? If so, are there any good alternatives that solve the two issues I mention above?
Where are you from? Your government basically gives you an incentive to get leveraged?
What's a Supple Leopard?
You have missed most of the context of the article there: "Carroll laughs as she recalls the thread, without seeming particularly amused. “I was just like, ‘Says no one about a male entrepreneur, ever.’ ”
Note that this is an average. Not all students complete a degree, and this has large effect on education ROI. If you are unlikely to complete an undergraduate degree, going to a college is a bad investment.

Bryan Caplan painstakingly calculated return depending on student ability. For a median student (50th percentile), college is a bad investment.
Not SQL but I once set my Wifi hotspot to "NULL" in the lecture hall and someone started complaining that their phone was crashing constantly.

The sheer number of devices that have these kinds of vulnerabilities is simply insane.
Yes. We've changed it to the subtitle, since it's less baity than the main title.

Submitted title was "In past 50 years rate of return in Education = 8.8% and in US stockmarket = 5.6%". I assume that was a well-intentioned attempt to rewrite a baity title as the guidelines ask (https://news.ycombinator.com/newsguidelines.html), but it's better to use language from the article, and the magic numbers violate the guidelines in another way.
Privacy and Freedom of Expression in the Age of Artificial Intelligence [pdf]
Mongoose plugin to expose schema definitions programmatically
You're making common mistakes that people make when talking about school finances. Schools pay for sports because they drive alumni interaction and therefore donation rates, and they therefore have a higher than 1-1 rate of return. They have the unnecessary construction projects because the funds are earmarked for said construction. If I give you, a school, $X million, on the condition that you build a new student hall with my name on it, will you turn that down?
So economic prosperity is equivalent to universal human rights? If we raise the world's average income by enslaving the bottom 5% of the population in a sovereignty that does not defend human rights am I supposed to look the other way? Sorry if this is hyperbole but I think you get my point.
In most countries where education is cheaper than the US, people don't even think about this comparison. The main cost of education is the effort, not the monetary expense.

This article totally ignores the effort of going to Uni.
Agreed we'd need to figure out average current salary. Any additional info we need to gather?
https://www.humanreadablemag.com/morningcupofcoding/latest

This should do the trick. For now I will be manually updating this until I create an automated workflow. I do not guarantee that this will work forever (the update process is rather clunky right now).

I am open to suggestions.
It's partly because news feeds on itself. Something is news because it is news. The "news cycle" is a thing. Remember the "pink slime" issue that was a big story until one day it wasn't. See also: Kardashians

It's also because lobbying is directed toward the media. Fracking in the USA is a huge threat to Russia, Saudi Arabia, and others. These nations will naturally find ways to push the story that fracking is bad. It is a weird sort of attack on the US economy, done to prevent the US from getting an advantage.
https://news.ycombinator.com/item?id=14116601

The user left of his own accord after that warning from dang.

By the way, if you're going to make claims like "you NEVER stand as strong against people who say vile hateful things in nice words", you really need to provide evidence.

It should be easy to prove with examples, and it would signal that you're acting in a good-faith effort to improve the site rather than just trying to attack dang personally.
Isn't the licensing LGPL3? How is this confusing?
Facial recognition tech wrongly identified 2,000 people as potential criminals
Wild Horses Can’t be Broken: Zebra Domestication Attempts (2014)
The point is, it's still very difficult to do basic things in California: get to work and have a place to live. This is progressive?
Isn't that due to the very high energy consumption [1] than refresh rate? Who would want a TV that consumes ~300-600 watts per hour?

[1] https://www.treehugger.com/gadgets/plasma-tvs-suck-electrici...
PHP is going to beat Nodejs
> White, heterosexual, cis-gender male that "looks like a junkie", acts disrespectful and speaks slang? Good luck getting authorities to consider you a "respectable citizen, handle with care".

Yes, that's why I said "can get": it's obviously not an absolute. In some places and situations it's considerably harder for people who aren't a white, heterosexual, cis-gender male to get pegged as someone who should be treated with consideration.
Just added a compilation flag to completely disable variable implication, this removes the need to ever use the "known" keyword
If compiler times and ordering of declarations were easier to handle, I would probably change my code to live in headers only. Keeping headers and sources in sync is annoying. And the compiler also gets amazing optimization opportunities if it can see all of the implementation code.
Well they aren't related to Singapore specifically, more or less Asian culture as being more conservative than American culture. It can be really hard to meet locals here, as many stick to themselves and find talking to a stranger somewhat weird, much less making friends for no reason. This can be seen especially at clubs, where you go and hang with your group of friends rather than meeting new people. I was just in HK for a week and really liked it, it seems more vibrant than Singapore as far as the energy of the city.

Many limits I ran into were personal including health conditions and it turns out humidity really makes me sweat which I never realized. Also in India for some reason eating with my hands made me so uncomfortable, whereas eating with chopsticks was fine and I learned it quickly. The language barrier wasn't too bad since Singapore is English speaking, although the accent can be really difficult sometimes so speaking slowly is sometimes needed.
I knew Asian culture was more conservative as I've been to South Korea before and have a lot of friends there from research at my home university, but I really thought I could make local friends anywhere despite a quieter culture and that turned out not to be the case.