skysight-inc/HackerNews huggingface dataset:
Maybe I'm misunderstanding that part of your post, but when you say char c = 255, you aren't calling it a positive integer. And I'm not sure why you think it should (it really shouldn't).

Here's what gcc compiles there:

movb $-1, -9(%ebp)
cmpb $10, -9(%ebp)

This isn't a question about %i or %d, since the result is interchangeable in the way you suggest it should be. Try it.

I think the only "trap" is in your ability to recognize 255 isn't always 255, and especially when you call it a char instead of an int. Otherwise it is just 0FFh, which is exactly as expected reading that code. If 'int' is used instead of 'char', you get what you were expecting. Try that, too.

The number of bits is irrelevant, since -1 would be 0FFh or 0FFFFh or 0FFFFFFFFh etc, but only one of those can be represented by 255.

The answer they expect is indeed the correct answer. You fixated on the wrong part and missed the obvious as a result.
Quantum mechanics obviously provides a physical mechanism to implement free will. Whether this is the case is a different matter but the laws of physics don't rule it out.
The same is also true of Taiwan to a smaller degree. They have a populated coast and then a sparse interior.

https://en.wikipedia.org/wiki/Demographics_of_Taiwan#/media/...
You have to force quit because cache design is hard
Awesome, thank you so much!
It doesn’t. Taipei’s MRT is also lightyears ahead of BART.
Ask HN: Where can I find markdown software with drag and drop?
I've searched "all" of github and google for this:
I need a markdown application with 3 columns:
1. document structure + ability to create new sections
2. live preview and editing
3. markdown drag and drop elements

Does such a thing exist? If yes, please tell me more. If now, should i build it?
I'm not arguing home users, or anybody, should keep using unencrypted DNS. I'm not arguing anything. I'm just depressed as hell that every solution to "protect the average person" involves making me own my devices even less. You're right, I'm wrong. I'm sorry I engaged. Chalk it up to me being old and angry.
No, mental health issues really are not a direct cause of homelessness per se. That narrative is popular because it's a convenient way to paint homelessness as a personal problem that is the fault of the homeless individual. It's a convenient means to wash our collective hands of the responsibility of addressing societal factors, such as national housing policy and how that strangles the availability of low cost housing that works without owning a car.

We say homeless people are all "junkies and crazies" and blame their lack of housing on them. Meanwhile, there are junkie millionaire musicians and actors. We don't use their existence as an excuse to conclude "drug addiction leads to wealth!"

I get told over and over again that housing costs aren't a factor in homelessness at all. In reality, it's a known and proven factor, but it's one that doesn't feed the narrative that homelessness is fundamentally an individual problem rather than a systemic societal problem.
My Thinkpad T460p on ubuntu sleeps properly when I close the lid, every time, which is better than Windows managed on the same machine. I am running a stock kernel though.
If you use email a lot and don’t want to use gmail etc in the browser, your only choice is Windows. I’ve tried all the GUI mail clients on Linux, and they are all either buggy as hell, don’t support most standards, or hellish UX.

Given Windows is much much worse than OS X for tech stuff, there isn’t really an alternative. Macs have gotten worse, less reliable, design is tanking, software becoming buggy, but it’s still much better than the alternatives. So stick with the MBP and buy a stress ball and punch bags to cope.
Kipchoge already has a legit world record in the 2:01:xx range, run in an actual race.

The pacers and shoes combined only took off roughly a minute in the first 2 hour attempt.
I born and live in Granada.
“In these crises there breaks out an epidemic that, in all earlier epochs, would have seemed an absurdity—the epidemic of overproduction. Society suddenly finds itself put back into a state of momentary barbarism; it appears as if a famine, a universal war of devastation had cut off the supply of every means of subsistence; industry and commerce seem to be destroyed; and why? Because there is too much civilization, too much means of subsistence, too much industry, too much commerce.” - Marx
Hey,

Thanks for your feedback, very helpful. Interactive demo is on the road map. I have just added a tutorial on how to use our API with fast data streams (very early work in progress): https://timedoor.io/tutorials/fast-data-streams

All endpoints in the documentation provide request and response examples. So currently you could create an API key, copy an example request and use a REST client like Insomnia or Postman to play around with our API (which obviously is not ideal).

I will factor your feedback into our prioritization for the next features.
Karl Ove Knausgaard's latest work to remain unseen until 2114
Yes, Estimate Software Projects
> Bottle/can deposits predated curbside recycling, and vestigial regulations don't just disappear.

They're not necessarily vestigial. NY's been considering expanding bottle deposits to juice, energy drinks, coffee and tea sold in plastic or glass bottles (currently, it's mainly soda and water).
It seems like you're using OSes that are trying to cater to a diminishingly technical crowd. I read (somewhere, a year or so ago) that the generation now in their late 20s/early 30s was the last one that actually needed to care about how their computers worked, because their computers occasionally needed to be fixed. Generally speaking, I think that the newer generation has likely never been exposed to a computer that they could try to troubleshoot and fix themselves: everything is iPhone apps and Windows 7 / 10 and Andriod and slick websites. The information age no longer requires technical knowledge.

As a result, I'd guess that most of the purchasers of new computers are in the generations above and below the ones with technical knowlege: the new generation, without the background to even care about being a power user, and the older generation where most aren't power users anyway.

BTW, I'm using i3, and I think it would be (relatively) super easy to change the keybindings around to what you're describing. It sounds like you may need to find an OS that's designed to expose the level of customization that you want.
> leaves out so many confounding factors

Indeed, that’s one of the key problems with retrospective analysis. Fieldwork studies are promising. I find John List exploring this area and think his work is interesting: http://www.fieldexperiments.com/papers/recent/
What bitmap fonts do you miss? The site is currently restricted to fonts with a license that allow me to serve a web font for the live preview. So while there are a bunch of bitmap fonts in there, there might be some missing. I love to find out about new fonts though.
U+F2D9
Microsoft vs. IBM: A major shift in Java support
The California HSR has a lot of problems not matched in Taiwan.

Firstly, once you get from San Jose to Bakersfield, then what? We don't have good public transit in LA, much less to Bakersfield. But even if the train went all the way to Union Station in Los Angeles, you'd still need to rent a car to get anywhere useful, or take Uber/Lyft. And same thing on the other end. What happens when you get to San Jose? You still need a car or another slow train.

If you want to get from San Francisco to Disneyland via HSR, the entire trip would probably take you about six hours with all the train changes and car rides and waiting. You could do the drive in six hours too and then have your car at the other end.

Even today, if I want to visit my parents in the suburbs of LA coming from the suburbs of San Jose, I can make the drive in five hours, or spend five hours getting there by plane, assuming someone picks me up at the other end. The only reason I fly is if I happen to be going somewhere right near the airport or it will be rush hour at one end or another when I arrive because I don't have scheduling flexibility.

Secondly, the original proposal was to build Stockton to Fresno first. That would be the least used section of the line. Not a lot of people move between Stockton and Fresno. The train would be bankrupt before it ever got to phase two. At least they finally changed their mind on that, but not for a much better route.

To be remotely viable, they need to build the most trafficked parts first -- San Jose to Stockton and Bakersfield to Los Angeles. But even those lines would still suffer from problem one unless/until the local transit was vastly improved.

I would love to see a viable HSR in California, but the current proposal is not that.

Let's build up our local transit first in LA and the Bay Area so that when we connect them with a high speed rail, the rail is actually useful.
Especially the passengers. They have buses running on natural gas, and when they need to fill up everyone piles out.
More centralised authority, no local counter initiatives that bog them down, less political gridlock and stronger consensus mechanisms, less influence by third parties through lobbying which the US glamorises as free speech, no bias against public transportation and so on.

The US almost prides itself in the fact that its government is dysfunctional, that individuals can stop projects at the expense of the general public. One just needs to look at the countless of Hollywood movies where some lone Erin Brockovich-esque hero stands up to 'the machine', with the question rarely being raised what the collective costs and trade-offs are, or whether there's even a rational case to be made for the resistance.
First, developers rarely become tech fluent in 6-12 months.

Second, startups don't have 6-12 months.
University Rankings are like the Body Mass Index of figuring out how good a university is - not entirely useless, but not to be used as anything more than a very rough gauge of what's going on.

That said, QS break down their (global) rankings by subject. Below is the link for computer science.

https://www.topuniversities.com/university-rankings/universi...

There's no easy way of telling how much better the nth-ranked university really is compared to the (n+m)th-ranked one, but it could be informative nonetheless.
>Some people are barely introverted and require just a little time alone to gather themselves occasionally.

If the behavior is occasional, that's not introversion or "barely introverted".

E.g., if an extroverted-outgoing girl who is the cheerleader & prom queen & organizer of the 10-year high school renunion needs a few hours of alone time in her bedroom to cry because her boyfriend broke up with her, that does not mean the cheerleader is "barely introverted". She's also not 1% introverted and 99% extroverted. Sure, all humans need some alone time for various situations. But that's not what introversion _is_.

And just because I attend social functions and smile and laugh with friends for a few hours doesn't mean I'm "somewhat extroverted". My baseline is introversion and even if I do activities that outwardly appear like extroversion, that does not change the baseline of my underlying tendencies. I have been playing the lower bass notes of the piano with my left hand for decades but that doesn't change my underlying right-handedness. My right hand is still the dominant hand.
I don't think you're wrong but I do think you need a better example because extroverts can do both of the things you mentioned.
> so analyzing a cold load is a bit misleading to say the least. Moreover, as other commentators have mentioned, they optimized more for the subsequent images than the initial pageloads (they'd prefetch the next N images).

I've been opening imgur links on my phone and watched it do nothing for like ten seconds, and I just assumed it was intentionally slow/broken so I'd install the app or something. I'm flabbergasted that it's actually the outcome of a deliberate optimization.
Why you would need a constant speed engine, though? Railway engines do fine with variable speed industrial specification prime movers. Constant speed ratings are 30% lower than automotive grade ratings, too.
My next laptop will not be a MacBook. Sadly. I've used macs for decades, but it's obvious they no longer listen to or care about the needs of developers. I think musicians will soon follow. They will discover by losing it the social value of having been the go to choice for those users.
Indeed, just the free ones. Although perhaps I should list the commercial ones too in some way.
That said, I do tend to feature them in the tumblr blog, so you can search that for a preview, background info and a link.
Or just different CEO's?

How about fundamentally different CEO's?
What is the basis for saying Politico has a bias in some direction?
F2d9
You think they’re redoing old testing?
This. Immigration is an economic issue. Framing it as xenophobia is insulting. Not to mention, Canada is one of the most diverse countries on earth and certainly the most welcoming to newcomers.
Large parts of your agricultural industry already are.
Again an english speaking newspaper which says bill 21 in Quebec is outright xenophobic without even trying to understand where it comes from and why the majority supports it...

The Quebec has a long history with religions dating from the beginning of the colony. In the 20th century, we had a long period of conservatism that we called the Grande Noiceur (the great darkness: https://en.wikipedia.org/wiki/Grande_Noirceur) during which the religion and the government were acting together against the interest of the population (think about censorship, fear based policies, mandatory brain washing of children, etc). This resulted in an important delay in the economic and cultural development of the province. This period ended abruptly in the 60s with the Quiet Revolution (https://en.wikipedia.org/wiki/Quiet_Revolution) where the Quebecers outright rejected the oppressive religion and conservatism that hold us back for so many years. We are now an open and very progressive society with strong values like woman/man equality. Now you can understand why everything related to religions is very sensitive as it brings bad collective memories from years of oppression and abuses. Some symbols (think burka) are seen as a threat to our collective values and we want to do something about it. Maybe our approach isn't perfect, but saying that we are just a bunch of racists is just acting in bad faith and it won't help us evolve as a society.
"Open Source encourages theft"

"Open Source undermines the autonomy of maintainers"

"Open Source denies the humanity of maintainers"

"Open Source is Immoral"
Encrypted ZFS mirror with mirrored boot on NixOS
s/This accident/These accidents/

As you'll find in this article below, Boeing specifically removed the yoke-back function, which is the natural pilot input to nose up the plane. They also specifically for the MAX removed the separate switch for automatic stab trim assistance, so you have to turn off the motorized function entirely to turn off automated inputs including MCAS. The Lion Air crew could be heard on the radio saying that they did disable the stab trim, but in this situation the force required on the manual trim wheel was beyond the pilots' strength. The pilots turned the electronic stab trim back on in hopes of using the powered system to get back up, after which the undocumented and unstoppable MCAS nosed down the plane again, killing them and their passengers.

https://www.seattletimes.com/business/boeing-aerospace/boein...

Your post reads like a sophisticated attempt to blame the victims, or at least the pilots and ground crews of the victims. These crashes were not caused by poor pilots, but rather secrets on top of secrets, all by Boeing, all for money.

The MAX had new aerodynamic characteristics, but that needed to be a secret.

So MCAS was added to the electronic trim assistance to hide the new characteristics, and the switch to disable it was removed to protect the secret.

A faulty AOA sensor was now able to bring down the plane, but in order to keep the secret the single AOA option was still available and sold. Maintenance crews regardless of quality would not have been aware of the criticality of the AOA's secret role as a single point of failure for the whole plane.

When the first one crashed, secrets covered it up.

When the second one crashed, it still took all of those "ppor maintenance", "broad quality" non-US airlines and regulators to bring a stop to it.

And apparently the secret-keepers are still trying to hide.

Please don't blame dead pilots for this.
Looking at the choices on the landing page, it's not clear to me what I'll get if I click on each other than a vague sense of what the text under each graphic says.

I think it would be much better if each graphic showed a kind-of small version of what they'll see when they click. For instance the gradient choice doesn't even show a clear gradient and just looks like a rounded red square to me. It could show four gradients so I get a sense of the range of possibilities (e.g. grayscale, hue, saturation, etc.) Also the example for colour palette is confusingly showing a quantized gradient.
I think any talk about HSRs in the US should be able to explain US highways. American highway system is arguably one of the best in the world - it's also a gigantic government project, and it's constantly being extended.

So how come America, with its proven track record of great highways, is totally impotent with high speed rails? The answer can't be just "American government doesn't work" or "the country is too big." Irrational mistrust against railways?
Can you quote the exact paragraph that looks interesting?

For example the numbers in the sections "Mutations" and "Building a Better Protein" don't make sense. More details in my commenting a previous submission https://news.ycombinator.com/item?id=20570102
Major highway and road projects in the US are often completed with minimal fuss. You don't really hear about these, because they go off smoothly. The difference may perhaps be that there's plenty of experience and precedent in doing these, both in government and industry, as road projects are constantly executed.

Major rail construction has basically been absent in the US for a generation or more. Does the lack of experience and support, combined with a general reluctance to bring in foreign expertise, explain the difference? Maybe. The Texas HSR project may be instructive, as it's bringing in a Japanese firm.
Why haven't you tried a CLI client? Also, Office 2016 seems to be fairly well-support on any number of those wine-based compatibility layers.
I don't disagree, it is grating, but I read it more as an observation than as an intent.

When you are in senior management, you make decisions based on their overall effect on the company's financial health or future growth. That is your job, just like it is the engineer's job to make decisions based on overall safety and reliability or future capability.

The debate, or perhaps the proof, is what happens next. Every decision, engineering or management, needs to be evaluated post implementation to evaluate its effectiveness. Are we better off financially? Are we more capable? Is this system more reliable? Is this system easier to change while continuing to validate it is meeting its design goals?

Both management and engineering resist having their decisions "colored" by their negative impact from the "other" group. Engineers don't like it when their clearly correct decision is overridden by management's feeling it doesn't make "business" sense (which is usually code for it reduces margins unacceptably). And management doesn't like it when their decision is negated by engineering telling them it will cause their products to become unacceptably unreliable or unsafe.

In a properly functioning company it is the role of executive management to combine both the needs of engineering and the needs of the business into an effective outcome that everyone can live with and keeps the company alive.

Articles on the acquisition suggest that Boeing acquired MD both because the industry was consolidating and because MD was making more money per plane than Boeing was. They wanted both the customer base of MD and the "DNA" or managerial understanding of how to build planes that were more profitable. Here in hindsight the implication is that the additional profit margin came from skimping on safety and reliability engineering.

At some point, there was no doubt a review on the 737-MAX, where the engineering teams raised concerns about MCAS and the impact on safety and reliability. And the costs associated with addressing those concerns were also discussed, both cost to implement and time to market costs. The result of that review was to pursue certification on their plan of record and to not incur the additional certification and time to market costs that engineering advocated were needed.

That decision was explicitly the pursuit of profit margin at the expense of product safety and reliability. As human lives are transitively related to safety and reliability of the aircraft, it is a reasonable statement to make about pursuing profit at the expense of human lives. That is what the equations reduce to.
How do you deal with the bags leaking whatever drips out of the cans, now that you're in the trash hauling business without the standard equipment? Do you have stores that won't take back brands they do not themselves sell, meaning you've got multiple categories of sorting/storing?

10x the deposit would certainly change my personal utilitarian calculation. Which IMHO is a common pattern of failure in the US - only small amounts at stake, a system that sucks because most people just ignore it, and then opposition to making that sucky system more prominent (as my comment was arguing). My viewpoint with respect to cans is probably how large companies perceive dumping waste in a river - the fine is only a $300k line item several years down the road, not worth worrying about!

The sustainability problem that we're facing is much more general, rather than focusing on bespoke solutions for individual categories. A "deposit" is basically just an attempt to price resource depletion into the consumption side, rather than the supply side. IMO it makes sense to move the accounting to the supply side instead of attempting to assign a specific negative cost to every category of good that we don't want incinerated. Tax virgin materials to properly price in the externality of resource depletion, as opposed to increasing deposits to putative levels. If using recycled materials is incentivized enough, it will even start to make sense to pull stuff like aluminum out of the garbage stream.

(PS I've got to wonder whether USians downvoting me even actually return their own bottles for the deposit, or consider it someone else's problem and enjoy having an underclass to salvage recyclables from the unenlightened. I can't imagine many people with tech level salaries care about the nickels.)
Pension funds represent less than 20% of the stock market, and 90% of households represent only 35% of pension funds, the richest 10% own the remaining 65% of pensions. Since pensions are allocated by earnings, if you're income-rich, you get a bigger pension, and most pension funds are owned by rich people.

In addition, much of pension funds go into public bonds and real estate investment trusts, not the stock market anyway.

https://www.cnbc.com/2017/09/01/fact-checking-gary-cohns-cla...

https://www.investopedia.com/articles/credit-loans-mortgages...