skysight-inc/HackerNews huggingface dataset:
Verbosity tends to hurt readability, but trying to cram too much into one line tends to create something where nobody remembers how it works either. So it's really a judgement call on which approach reads more naturally.

My personal rule of thumb on this is that single statement conditions aka "a = {condition}" should be using only "and" operators or only "or" operators and should generally avoid nesting unless there's a clear explanatory comment. So "a and b and c and d" is ok but "a and b or c and d" is sketchy. The reason is that "all" and "any" are idiomatic, but "some" takes more mental work to parse.

Also it's always useful to keep in the back of your mind:

!(a || b) == !a && !b

Whenever I spot either side of the equation in a condition, I stop and consider whether the alternate formulation would be more readable.
Thanks for your comment! I've been living in SE Asia for a few years, but I don't think I've eaten any raw freshwater fish. I eat a lot of sushi, but that's always saltwater fish. Anyway, I'll make sure I get checked for liver flukes.
Bloomberg ran a nice piece on what it's like to own a McDonald's franchise here [1]. The raw numbers sound nice - $2.7 million gross, $1.8 million in gross profit. But after your various expenses come into play, the honeymoon ends - you end up taking home about $150k for a mountain of work that's required to keep a franchise running in good shape. You're buying a job.

The reason this matters is because those numbers are is pretty representative of many regular businesses; well outside 'our' world of VC driven mutual lotteries. You're taking home $150k yourself, but you're paying $540k in crew (non-managerial) payroll. And many of these guys are at or near minimum wage. Increase their wages just 30% (and going from $7.25 to $15 is a > 100% increase) would cost you $162k. And now you're losing money. And McDonalds are pretty primo in terms of profit. Life's often much harder for for the countless no-name businesses out there.

It's the really counter intuitive nature of business. A company can make millions, yet have owner(s) that are, out of necessity, living relatively modestly. So imagine your labor costs skyrocket. What do you do? You really don't have any options. You increase prices or you go out of business.

This seems likely to have a paradoxical effect. It means company with large profit margins are fine, but you squeeze the very low profit margin companies. And the low profit margins companies tend to have low profit margins because they're providing products at extremely cost to cost. E.g. company selling $50 steaks = no problem. Company selling $1 tacos = problem. So the very businesses who are doing to their most to cater to lower income people end up being the most negatively affected. Of course now their customers can afford to pay more, but that's precisely the definition of a reduction in a purchasing power per dollar.

[1] - https://www.bloomberg.com/features/2015-mcdonalds-franchises...
While I applaud this and would love this rule to be in production, it tends to go against (the majority of) marketing's golden rule of, "I need this done in an unreasonable amount of time with unreasonable requests on functionality" and a management structure that tends to only flex to its subordinates instead of other departments, like they're supposed to.... though, I might be jaded =) I have seen a few very good managers/CTO's in my time and have left companies when they were forced out.
See also: harmonic distortion.
The question is: if making a schema to distinguish between "good" and "poor/naive", can one do so whilst keeping biases in check, viz. without inadvertently putting one's own understanding (or unknown lack of understanding) in the "good" camp?

Unless you're EWD, the answer is "no". No you cannot.
Coherence in thought can be a multiplier in productivity.
https://remotewise.io/ aims to be that resource. Not affiliates, I just found it looking if similar questions were asked in HN in the recent past.
...and for 14 years no ordinary user has understood what those default settings do, instead assuming “their software provider wouldn’t do that...”
Reflecting over Exercises in Programming Style
Boating related, boating failure:

https://floathub.com/foobar
A lot of the new crop of biotech companies popping up in Philadelphia raised chinese money - one of the founders there told me it was because chinese investors had a "more enlightened view of valuations." I wonder how these changes will begin to affect biotech. Considering some of the recent intellectual property drama with chinese national employees, could there have been risks around IP from taking money from Shanghai based venture firms? It's a complicated issue as international financing always is, but I do wish people were allowed to invest anywhere/accept money from anywhere without government interference
Anyway, the GP's question is a good one. Where are the configuration/serialization languages that import the only good parts of YAML?

AFAIK, one can not subset YAML and get something coherent. But one can start from scratch and use its concepts. I imagine the languages are not there just because nobody got the time to do them.
I build a graph-based argument mapping system with community moderation with a friend as our CS master theses: https://github.com/woost/wust

I'm happy to discuss this whole topic with interested people, as I think it is a very important problem. I believe it may be possible in the long-term to fix politics with these kinds of technology. I wanted to do my PhD in this area, but wasn't able to get any funding. So I'm starting a Startup now, that does graph-based collaboration software (with the future hope to bring more focus into arugment mapping): https://app.woost.space

If interested, I can also send you my master thesis, just reach out per email.
Programming sound is hard. Real-time stuff is almost always coded in C or C++ because it needs to be performant and latency is always a consideration. One dropped sample can be heard and you can't afford to delay because things need to feel responsive if they are real-time. There are lots of interesting projects out there but there is also a wealth of creative coding in the area, especially in environments like Max/MSP, PureData who are creating algorithms from scratch inside and possibly porting them out to other code bases. One good project is [1] which is aimed at making C++ coding for audio easier and more accessible. The focus is quite wide and aims at webaudio, VST, faust code etc.

[1] https://github.com/iPlug2/iPlug2
Everyone thinks the overwhelming majority of all content is garbage and totally uninteresting. You might be surprised to learn that 31 million accounts watched Adam Sandler's most recent Netflix movie within the first three days, rivaling Stranger Things numbers. I remember the Internet laughing at Netflix for investing so much into Adam Sandler.

And Netflix (correctly) abandoned being a movie library service a long time ago. They're pretty much just HBO with a more broad appeal now.
You skipped a factor, in Safe Browsing Update API (the mode actual web browsers like Firefox use) that step where you send a 4 byte prefix only happens when the prefix already matched a local hotlist.

So if you visit 100 URLs in an hour, and using the local hotlist allows your browser to discard all but 1 of those URLs as definitely not bad, that's only one URL prefix checked against Google, not 100 so there's no triangulation.

And the actual number isn't 1-in-100, that's why they picked 4 byte prefixes. I haven't actually checked, but by eyeball from playing with this data for work I would guess 1-in-a-million.

So, you visit 100 URLs about model planes, one of them happens to be a 1-in-a-million match to a possible badware site, your browser sends the 4-byte hash prefix to Google, it gives back the 4-byte prefix of the badware site it was worried about which is different, your browser goes "Phew, good" and nothing happens.

There's just not really an opportunity for tracking here.
I'm on the latest MacBook Pro. Hardware isn't the problem. It might be some plugin but I'm a minimalist when it comes to editor plugins.

The specific issue that became my last straw was automatic insertions of return char. I think linked to the intellisense plugin. But I just lost patience and went back to a reliable text editor.
I've updated the post on cowlark.com which a decent writeup on the machine's more interesting quirks.
YouTube was launched as a dating site
Housing prices in Las Vegas and Southern California are declining. This is a first time for LV since the Great Recession. Declines like this have historically preceded every recession.

Do you anticipate housing prices will weather such a recession which many predict is looming on the horizon? That would be a first.
Is anyone willing to explain the second line? I get the first means "if isDelivered and isNotified are both true then set isDone to True, if not set it to false". However I've never seen a variable being set "isDone = isDelivered" as part of a logical test.

Personally I think programmers who are "too clever" are cancer inside a codebase. Sure you saved a bunch of keystrokes but your code golf has locked the code forever unless someone is willing to rewrite it. This is not a bad example but in general I think people who strive to do things in less characters are highly problematic.
That's a good point, but remember, this is about rhetoric, not physics. The question is not whether hidden state exists (it clearly does) but what kind of story you want to tell about it. If you find it enlightening to think about hidden state as position, and you don't mind accepting all of the difficulties that entails (like having to choose a preferred foliation), then by all means go for it. But that is very different from saying that this story is actually true. The only reason to prefer Bohm over a similar story that ascribes the randomness to a literal invisible pink unicorn making decisions about experimental outcomes is aesthetics.
It's uncanny how similar sound and radio waves are in terms of propagation, despite being entirely different types of energy.

That said, there isn't a lot of visual diagrams on radio wave propagation. If you happen to know of some great diagrams, please share.
60kHz isn't really an audio source, at that frequency it would (or used to be, anyway) be classified as an RF source.

Marconi operated in frequencies even lower, 14-30kHz, at many thousands of watts from Alexanderson alternators[0]. Dogs were not happy near these stations.

https://en.wikipedia.org/wiki/Alexanderson_alternator

edit: added link, lowered frequency range.
I ran into an issue doing this a few years ago where my ISP was blocking ports 80 and 443. I could port forward from my router on non-standard ports like host1.domain.tld:10080 (wan) -> 80 (lan), but LetsEncrypt didn't really like this and it was a pain to manually enter port numbers.

My solution was to use a VPS that was doing other stuff to also act as a nginx proxy to the internal machine on a non-blocked port. So it's now host2.domain.tld:443/80 (vps/nginx) -> host1.domain.tld:10080 (wan/host1.domain.tld) -> 80 (lan).
In the US, the ADA says accommodations must be "reasonable." - what's "reasonable" is sometimes up for debate

So it's unreasonable for a grocery store employee to get a quite dark working environment because of the nature of grocery stores.

If the physical office couldn't reasonably accommodate a quite dark area, then maybe a partial work from home would work for that employee, as long as the work they were doing didn't require a physical presence. Or sunglasses and earplugs.

Obviously, it's a case-by-case kinda thing.
Recreate Secret Doors from Movies
I think it would be more useful if you could provide specific criticism - i.e what you think is wrong and why. Your comment seems rather general. I could imagine copying and pasting it beneath a wide variety of articles and it would be equally applicable.
What a fucked up train of thought. It's like saying "this person can't sit in the front of the bus- it's not a large damage. We shouldn't worry about it."

Fuck you.

It's that kind of thought that makes people think cashless stores are a good idea. It's exclusionary and normalizes us forgetting about the outliers of society.

There is a better way to do it. It's called a law. People are required to follow it, and if they don't there are two ways we solve it. Criminal or Civil Law Suits.
Leica X 113 Edition Moncler
> IMO, I'd rather have laws that state that if you are in any of the licensed "advice professions", that if you aren't licensed you have to clearly and loudly proclaim your lack of certification in any marketing materials.

They'll wear it as a badge of pride: "I'm not one of those Government/Illuminati/... controlled certified advisors that must only sell you what Big Pharma tells them". And they'll find fools that glee over it.

On the other hand, their customers would get exactly what they're looking for, including non-certification.
Diabetics may not be hungry in the morning.
The refined C to F conversion given is:

F = 2*(C-floor(C/10)) + 31

Better is:

F = 2*C - round(2*C/10) + 32

That's almost as easy to do in your head, but always gives the same result as doing the exact conversion and rounding that:

F = round(9*C/5+32)

Also, if you would like the exact conversion, when you do the round(2*C/10) you can note how much the round changed the value, and that tells you how far off your final integer F temperature is from the actual value. You are high by that amount if the rounding was down, or low by that amount if the rounding went up.
Brief snippets are really not much to go with.

However, no cases of spontaneous humans combustion have been observed. Which poses the possibility that they where dead and at least somewhat dried out at the time of ignition.
In my experience, attempts to build these organizations are unsuccessful primarily because they fail to understand the functional role of the visionary leader and/or they select team members based on them being very smart with little thought toward how the selection will impact social dynamics.

A “visionary leader” is not a charismatic person executing someone else’s vision, but this is the model many organizations use. A visionary leader is always executing their own vision, the object is to find one with a vision that aligns with the organization and giving them a platform to execute their vision. It is difficult to navigate the intrinsic ambiguities of a vision effectively without it being your own. In the specific context of research organizations, leaders must be viewed as technical peers by the people they are leading or it will be difficult to build trust in the vision. An ideal leader is one that everyone suspects could do their job if required. You can’t fake that technical gravitas with seniority, pedigree, and credentialing but I’ve seen many organizations try. I would argue that finding a suitable leader is the biggest hurdle to building an effective disruptive research organization.

One under-rated aspect of building a top-tier team in my opinion is selecting each member for unique, critical expertise that does not overlap with any other person on the team. This simple practice mitigates many adverse social dynamics that destroy team productivity when two excellent people have non-distinct expertise. It creates natural ownership, encourages self-organization, and makes it obvious to everyone on the team the value every other member brings to their work. With this comes the obligation to educate and mentor the rest of the team on your area of expertise and to explain/defend decisions to anyone that asks. Pride in being the expert in their area and wanting to be recognized for that usually compels it. No one is excluded from this obligation, not even leaders. This sounds like a single point of failure but in practice it causes a lot of critical knowledge to be efficiently socialized by the members of the team that are expert in that knowledge.
If you use Qt 5.9+ and set the UI font to a .otf font, you get alpha-blended and gamma corrected text.
I’m really grateful I had to cut my teeth on cgi because it forced me to understand the whole http request/response cycle in detail. There were libraries to help (CGI.pm, anyone?) but they stayed down at a pretty low level (helping parse params from an url or POST, for example). To learn how to implement a web login form, I had to understand how cookies worked, how to set and then read a cookie header, how to send the right headers with the response, how to encode the cookie payload, how to store the password locally.

Today, a web framework will do this grunt work for you. Which honestly, if you’re handling passwords, is in many ways a good thing. But people are less likely to learn the basics of how their app talks to a browser.
I think you're mistaking simple for something else. Simple can easily be clunky. I would even say simple is often clunky.

Making something elegant, and full of features, and pretty is often complex.
I am not blaming the women for not having served. What I wanted to highlight with the "draft dodge" between quotes is that the reason they weren't drafted is as void as pretending that you had bone spurs, from a modern progressive standpoint. I'll concede that women didn't have a lot of representation back in the day, but so did a lot of the men required to serve. And they nonetheless did have the right to vote, so they do share part of the collective responsibility for the behaviour of elected politicians.

From a modern, progressive point of view, it seems obvious that if you are going to require people to serve then everyone should serve, regardless of race, gender or social status. This was not the case during the Vietnam era, and I think that draft dodging should thus be seen more as civil disobedience than something shameful. However, the framing it is given when used to shame politicians by progressive outlets such as the NYT is far from that, I think it is hypocritical to fight for equality yet fail to recognize how young men, and young men alone, were buried under this obligation.
Not if you're on mobile... :/
Oh man I remember using the Netfirms free tier! The internet was so different back then, a company wasn't afraid of giving free compute resources on subdomains of their main site.
> but we can’t legally archive it without DRM

They definitely can - they're an official archive. They can't have people looking at it online while the item is in copyright without putting some reasonable safeguards in, but that's not the same thing as not being allowed to archive it.
during his job interview or after he was hired? (jk)
I lack the information to assert the point in time the last witness observed the victims while they were still alive, but it seems as if you do.
It took me a while to understand the whole "no magic numbers" thing.

I was basically just told that most (if not all) numbers should be stored in constants. So I just added int twentyFive and stuff, and it annoyed me, but my teacher was happy.

Much later, I realized the missing part: Name the constant not what it is, but rather what it does. So int rightBoundary instead of twentyFive, and the code suddenly becomes much more readable.
You have a point but the issue with redundant boolean code like above is that it shows a lack of metalevel thinking.

kinda like this python exagerated code:

def sum(a,b):
return operators.add(a,b)

It can lead to bloat.
But the line between 'the business' and personal is often blurry. Must Elon Musk's tweets satisfy these requirements? What about a senior software engineer's blog which goes into some detail on a Google cloud outage?
They already are in some places (Silicon Valley), you can see it on sites like Zillow.com.
Do I get this correct? In the case of a sound so loud that is leaving vacuum behind, there should be another wave on the opposite direction that fils up the vacuum, when the original wave gets very weak. Does this second wave make a sound and/or destroy things?
Right, sorry, let me edit that. (I made it clear in a later paragraph but that one does read funny.)
Desfvxs
https://www.hashtaglunchbag.org/4kstreamsgolf/live_golf_the_open_2019_live_stream_british_open_2019_live_by_reddit_on_golf_ojnohh_aay-95i3obuhyuw

https://www.hashtaglunchbag.org/4kstreamsgolf/_livestream_-_148th_british_open_championship_golf_final_-vz1srloaamjqmihfi__uq

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg1092/the_open_championship_2019_british_open_live/

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg109h/the_open_championship_2019_british_open_live/

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg10ac/the_open_championship_2019_british_open_live/

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg10ar/the_open_championship_2019_british_open_day4_live/

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg10bb/the_open_championship_2019_british_open_final/
https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg10pd/matchlive_british_open_2019_live_streamreddit_est/

https://www.reddit.com/r/PacquiaoThurmanTV/comments/cg10ql/matchlive_british_open_2019_final_day4_live/
I think the majority of the cost savings are because it's a dedicated low-cost terminal. They have a lounge, but the airport isn't as "luxurious" to the rich.

It's Air Asia's main airport, and Air Asia is quite good at managing costs. Their flights are shorter (only in south east Asia, with just a few connections to China, India, Korea, Sri Lanka, and Nepal), so there is no need for a bigger airport hotel.
12pt font does make it pretty unreadable on mobile, but thankfully firefox reader mode fixes the issue by dropping the stylesheet.
My point is that the line gets blurry on the internet really fast
Anyone know if "full URL" here would include a hash from the url?
The weird internet went away not because people on the internet became boring, but because the internet opened up to non weird people. The article talks about how complicated it can seem to build your own site now, but it's easier then ever to build your own website - the whole point is that the internet isn't necessarily dominated by the types of people that are willing to put in that kind of work anymore. Its not like there are some mysterious new barriers preventing you from building a custom site on the internet that have been thrown up now. This post itself didn't have to be on medium - but medium and Facebook and YouTube deliver that "boring, non weird" audience that you want to read your stuff.
This is what "reader mode" is for.

The text is using good oldfashioned html markup (basically just h2, p, code, a, em).

So there's no reason why you should have to use the stylesheet provided by the site, and with a sensible browser you don't have to.
I'm just focusing on the draft dodger treatment here, the rest of Trump character can be criticized very well without relying on the draft dodging card.

See my response to danso for why I think draft dodging should get this kind of treatment.

And again, I'm not blaming the women for following the law of the land, I'm merely highlighting the disputable fairness of the law of the land of the time and how it might be used as a way to justify dodging, especially given the context of the war.
As a developer I don't want the latest and greatest - I gotta think of the least common denominator, Having the best may be convenient for its speed and capacity, but will lead me to not realize problems others are having running things on older hardware.

If I can get my performance boost through software decisions and better development practices I get less complaints.

Hard part is sometimes we are forced into upgrades as 3rd parties end support for one thing or another, then it dominoes into everything else (Yeah, Windows 10, talking about you.)
> Deflation will destroy the entire economy.

How healthy and legit is an economy if this is the case? The same can be said of a Ponzi scheme, yes.

It seems that the change of the rules effects the current winners the most. And thus the unsustainable persists...until it doesn't.
My Stephanie Hickey Story (Clojure Related)