skysight-inc/HackerNews huggingface dataset:
Who doesn't `git status` their home directory sometimes
Thanks to YC for continuing to support the entire startup community.
Well, it's undeniable that as an OLTP RDBMS, Oracle is very good, at least if you ignore the complexities of managing it. Almost nobody can beat it on features.

For example, consider partitioning. Oracle has had seamless predicate-based table partitioning for about 20 years now. Postgres is getting there, but is still lagging behind. With Oracle you just tell it to partition by some expression(s) and off you go.

Then there are things like multi-master replication, bitmap indexing and other nice features. Oracle is also extremely fast. The underlying table storage is very pragmatic, with a hybrid MVCC system that has both an undo and a redo log. Tables are written in-place, and transaction contention is handled by linked lists of records to the undo log, so getting an older copy of a row is still almost as cheap as Postgres.

Of course, it's beaten in some areas. It's not great a full text search, I believe. Compared to Oracle, Postgres' transactional DDL is positively magical. With Oracle and nearly every other database out there, things like "drop table" can't run inside a transaction.

I would never want to work with Oracle, but I can't deny that it's got some great features.
Affirmative action stands for affirmatively elevating the status of disenfranchised groups to equality, not above it. In the example you gave, that would mean giving both of them probation, since probation is what the privileged group is afforded.

(As an aside: our current eagerness to imprison people for relatively minor crimes strikes me as fundamentally unfair, especially in light of our inability to provide corrective justice. As such, while it would be equal to send both to prison for robbery, I don't think it would be correct to call it fair.)
Jesus christ. That's some messed up stuff. Why is this on HN?
The battle between Uber and Lyft puts Japanese billionaires against each other
> The One-Child policy isn't a hard policy wherein you are punished physically or imprisoned for having more than one child, it's a fine, [...]

From https://en.wikipedia.org/wiki/One-child_policy#Mandatory_con...

> As part of the policy, women were required to have a contraceptive intrauterine device (IUD) surgically installed after having a first child, and to be sterilized by tubal ligation after having a second child. From 1980 to 2014, 324 million Chinese women were fitted with IUDs in this way and 108 million were sterilized. Women who refused these procedures – which many resented – could lose their government employment and their children could lose access to education or health services. The IUDs installed in this way were modified such that they could not be removed manually, but only through surgery.
Yeah, maybe.
"Most adaptive cruise control systems ignore stationary objects" https://arstechnica.com/cars/2018/06/why-emergency-braking-s... "Cruise cars frequently swerve and hesitate." https://arstechnica.com/cars/2018/12/uber-tesla-and-waymo-al... This was true of Google cars at least in 2014. https://www.technologyreview.com/s/530276/hidden-obstacles-f... Here's an overview of several systems including details of Toyota and Volvo's limitations. https://www.extremetech.com/extreme/270049-why-self-driving-...
It may not be what you want to hear, but no quick solution online resource is going to do anything but teach you how to cargo cult c-speak. The reason business types use business jargon is so they can bypass the first few levels of explanation of complicated subjects, and know that those that understand the jargon understand the complicated subjects as well.
Sex Sells (Unless You're a Woman at CES)
In-person interview is both them and me spending time on each other.

Take home is just you wasting time. Or do you suspect they will spend as many hours evaluating your answers as you took to create them?
> SpaceX is now competing for those launches with a price between 1/4 to 1/3 of what ULA is charging.

Is there really a competition for this much price difference?
How do you know testosterone isn't performance enhancing? There are clear replicated correlations to testosterone levels and spatial rotation tasks in the literature.

Why do purely mental games like bridge and chess have separate men's and women's tournaments?
It's one advantage but not the only one. Actor systems can greatly increase throughput and scalability with easier code without complex synchronization. There are plenty of benefits running only on a single host.
It's the contacts that wear out, not the flexures.
Well, hiredis and uvloop already exist and are well tested, so anybody can easily use them with normal Python. Rewriting things in Cython isn't something many Python users would be doing routinely.
Thanks for the response.

It would certainly be sloppy logic to merge the statistical information with the poll data. Nevertheless, doing so reveals something not very surprising and illustrative of human nature: you can always find a majority in favor of imposing a draconian restriction on "everyone else." :)
> but this is a hill I’m willing to die on: please don’t line things up visually in your source code, beyond standard indentation.

what's the argument against this? There are many arguments for how it can improve readability and speed up understanding of what you're looking at when you're not familiar with it.
I love C#, and have been using it since the 1.0 days back around 2002. What has really annoyed me as of late is the confusing branding. Standard vs Core vs what the hell is Framework 4.7 called?

Along with the branding confusion, the formally very approachable and discoverable MSDN documentation for the class library has become a near useless clusterfuck. They've deprecated made.microsoft.com/library/ (at least for .Net) but don't mention it on the site!
Currently DevOps tools do almost no testing or validation at all, it’s like time traveling back to the 80s.
yeah and most of that time consist of surfing on Taobao and checking WeChat, worked for years in China, productivity of white collars it's extremely behind their image in west, what foreigner for in one hour Chinese colleague will do whole day. same with time management, everything decided at 5 to noon and then rushing instead of property management and working at normal pace without overtime
"It’s brittle and fiddly"

You picked the wrong vocation my friend. It's "brittle and fiddly" all the way down.
> or even their own government

I guess it depends on the relationship between government and military, but how common is it for the government to ask all its appropriate organizations (intelligence services, military, weather service, semi-military maritime research orgs) if they have anything about it and for all those organizations to lie?
Cool, doesn't really sound like we're disagreeing on the question "Why do people hate eTLS?" right?
I sincerely hope regulation for your sector will change to reflect changing technical circumstances (though I realize how much of a long process that'd be). Your steps sound like a sane way to handle it, I get that you're currently forced to not use it and appreciate that you motion against weakening the protocol for the rest of the world. (Thanks for that btw.)
Somehow, I think most stock images are crafted from a position or vantage point of objectively stupid cluelessness. No matter the discipline depicted in stock photos and clip art, it always conveys a total detachment of context, campy corny sentiment and general lack of expertise.

Not so much by accident, but by virtue of catering to clientelle disinterested in accuracy, and with the awareness that all participants (both buyers and sellers) are motivated to reduce costs at all levels of the creative process.
Something, something, trustless transparent system where everything is known and you can always track every transaction unlike something something government banks authority unintelligible
Well, it is wasteful, everyone needs to be cutting down to 2kW of energy, from 4 in EU and 6 in N.America. Even then we'll need 70 times more nuclear power stations than we have today, and that's only for 50% of our energy needs, other 50% from renewables.
How did it bite you in the ass out of honest interest? I have not done commercial C++, so I would be interested to know.
the fact that most editors use mono-space fonts by default and hardly anyone is clamoring for the ability to use proprotional fonts seems to argue against them being particularly important to readability, at least as far as the community seems to be concerned.

re "you should probably be using an editor with real elastic tabstops" ... i don't get what you're trying to say. What does real or fake elastic tabstops have to do with the choice to align code beyond just indentation?
Because their App Store is curated (you couldn't, say, have a child pornography app) and so by permitting this app they are saying it's OK with them.
Note the use of the comma operator in the C++ version. C# has no equivalent, hence the introduction of 'temp'. The first part is just adding to o.x, the bit after the comma is the result of the expression, which is what is passed to min. The += part would not evaluate to a value. It's ugly.
>Some people say that C isn't low-level

Then again some people will say anything. It's how things are used in practice that matters.
In some countries being gay is punishable by death. It doesn't mean your walled garden app store having an app to find and punish gay people is OK.
it is way more complicated than this. i know i underestimated how complicated these issues can be at first. there are many different failure modes.

the race-blind models aren't necessarily really race-neutral; they could implicitly have something like "affirmative action" in either direction, and reintroducing an explicit race variable could be the only way to get rid of it. or the opposite might be true! it takes real care to get this stuff right whether notion of equality you aim for.
I posted some links elsewhere in the thread, but the problem is pretty simple. The faster the car is going, the further ahead it needs to look. But the further away it looks, the lower the effective resolution of the sensors is. Eventually it can't tell the difference between an object in the lane and an object next to the lane, or a metal plate that's part of the road and something that's sticking up.
I do that...and still get embarrassed even though no one is watching.

Personally, I call that a "Brain Fart".
Actually read an article where the app was helping the daughter to escape: she stole Daddy’s phone and that way he did not get any notifications and she could approve her own leaving the country!
The problem you mentioned is not the one that is being tackled. The real challenge is that being blind to just race isn't enough. For example, zip code is often highly correlated with race, so using zip code to predict whether an applicant would repay a loan may implicitly be discriminatory. We need to know race to determine whether a given covariate is okay to use. But we would usually not use race to predict outcomes (except possibly in a limited number of affirmative action settings, such as college admissions).
Facebook's planned “cryptocurrency” – which almost certainly isn't one
Andrew “Bunnie” Huang on Supply Chain Security. BlueHat IL 2019
> Tabstops were placed every 8 characters. A tabstop is simply a way to "type" 8 spaces with one keypress.

tabstops were _not_ restricted to 8 characters. In many systems different tabstops were different widths from their predecessor. E.g. your first tabstop might be 20 characters in but all the ones after it would be 8 past their predecessor. Alternately you could vary all of them but that'd look pretty weird.
Falcon vs. Bison: Verifying a MiG-21 Wreck
Do do evil
This chick is a total psycho.

> He’s funny and good looking - we definitely have chemistry - but as soon as I leave the bar tonight, I’ll block him on all messaging apps, delete his number and unmatch him from the dating app that we met on. I don’t want to dwell too much on a possible future, as it seems unnecessarily deceptive to pretend that we’ll have one.

Uh.. alrighty then.
Newsletter über Startups, Trends, Industrien, Konzerne Und Technologien
Or python.
I don’t think FIRE is for families of 5 living in one of the most expensive places.
Personally, I have not seen people citing the elimination of the SMS system as an effect of removing the app, so I can't relate with struggling to understand why people would claim such a thing. Also, you speak as though there are no other reasons to want the app removed. Have you considered the accessibility an app provides over a web site to new users? Or the simple subjective perception of its availability?
SuperCollider User Survey 2019 Results
It's been a while since I've used C#, but I'd guess it's because the C++ is doing a "+=" with ",", to cram two statements in there, while C# considers "+=" a toplevel statement only and doesn't allow it to be used with ",".
What Happened to OpenStack?
I think that’s the point of this article. No C# isn’t remotely a low level language, yet it has all these features that allow it to drop pretty low when necessary.
Those are SMS messages, not app notifications delivered via Google/Firebase Cloud Messaging (or Apple Push Notification Service on Apple platforms).

But yes, it would have been much harder without the app, because the old system would have required her dad to appear in-person, wet-sign specific paper forms, etc.
I don't have any recent numbers, but high(er) end clients generally go iOS first due to their own market expectations and distribution.
Writing in the AI Era
In the industry flexures are considered to have 'infinite' life if they are correctly designed and if you stay well within the working parameters. If you stay within about 2/3rds of the elastic range it lasts forever. Dan Gelbart: https://youtu.be/PaypcVFPs48?t=660
The Globe and Mail flew reporters out to India to chat to the doctors and hospital and it seems he did die - https://outline.com/MS67gd

In further goings on it seems:

>The co-founder of troubled cryptocurrency exchange QuadrigaCX is a convicted felon who served time in the United States for his role in an online identity-theft ring

'Michael Patryn', who changed his name and had a nose job https://outline.com/TdWDgM

My guess is Cotten died and the latter is trying to keep the money
Then shouldn't the algorithms incorporate the unbiased data rather than incorporate something we know is biased to correct for other biases?

A question. How do we know the algorithm is biased if it give a racial disparate result? Don't tell me the evidence is that the result is racial disparate.
So how do you cash $250M in crypto?
I like the random nucleotide sequence in the background. super relevant.
I used to be an oracle consultant, it paid really well. Now it doesn't, and their are less jobs in it. Unless I'm getting paid a lot I wouldn't use Oracle, I'd do something more interesting. Around the 2000's the number of Oracle DBA's skyrocketed, they come from India and elsewhere, so companies outsourced the Oracle work to these companies, and I believe Oracle itself is developed in large part in these countries.

So the work for Oracle dried up, and wages plummeted, so I moved out of Oracle, like many others. DBA work is fairly easy to outsource, at least on paper, same with Dev work. Maybe their now paying the price of all this outsourcing to a less skilled workforce (at least initially).

I no longer do Oracle work, it was a nice money spinner, now its a race to the bottom. Conversely their licensing practices are extreme, as others have mentioned, so everyone wants to get out of Oracle.

Having said that, their databases are still very good, and can do anything you want without going elsewhere. Though they are being disrupted from below with many open source solutions and MSSql.
Interesting comments in the Play Store: https://play.google.com/store/apps/details?id=sa.gov.moi&hl=...
This 7% being thrown around is not a real return. Adjusted for inflation you’d be lucky to get 4%, assuming you are not collecting when the market is tanking.
We have not even exhausted the possibilities of augmented text. IntelliJ at least annotates callee argument names and inferred types. For rust people are tinkering on borrowchecker region analysis annotations.

I'm sure there's more that could be done.
> IntelliJ supports editorconfig just fine.

When I set the line length config setting, and then have intellij autoformat a file, it doesn't break lines at that length.

> I'm not sure why you were disappointed, editorconfig does not advertise the features you mentioned. For more involved autoformatting you need some kind of tool like gofmt or Prettier for JavaScript.

The elevator pitch for EditorConfig, as taken from the first sentence of its website, is "EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs." The things I want I consider coding styles.
I don’t care why an innocent person is hurt. I only care that they are. The US is pretty good compared to most other countries on the metric of people getting hurt.
“Slippery slope” defined. Once you start deleting apps/speech, the requests and outrage become never-ending.
The "gov app tracking women" angle is a PR stunt by international advocacy groups and it points at the wrong problem.

The app provides various official services, among them a digitized version of the "yellow sheet" a legal guardian has to fill out for a woman to be able to leave the country. (https://www.rt.com/news/women-tracking-saudi-arabia-359/ from 2012 describes this particular system, the app apparently integrates it with more digital services).

The alternative isn't freedom of movement, it's having to get a signature on paper and potentially personal appearance of the legal guardian, which is harder to get (this includes: forge) than a button click on a website. As a remedy for that reduced trust in the system, it sends an SMS - to the very same device.

There are activists in Saudi Arabia (see for example https://twitter.com/monaeltahawy/status/1095360734798721025) who see value in that type of app because the degree of automation it brings makes it easier to leave the country without supervision (e.g. by stealing the legal guardian's phone).
>In short, “blind” auditions significantly reduced gender-biased hiring and the gender gap in symphony orchestra compositions.

so, even blind audition couldn't eliminate the gap?
This experience must have been with a formatter different than Black. That one has no problems with any valid syntax.
An Evolution: Class, Struct, Map
> drive in wealth signals (as opposed to NYC or Miami.)

People in NYC use cars to show off?
So you're saying JavaScript isn't a low level language because it has operators and function calls?
I definitely do have respect to this guy named Santiago Lopez, while I'm literally twice as old as him.
This is great, especially that somebody with his skills could probably earn much more working for shady "security" companies.
I think the perfect world would have any number of formatters, but with ubiquitous tooling that allows each person to see code in their preferred format.
All sounds great when you interview for 1 position at a time, but how does this scale if I interview for 4-5 companies in my job search? Considering every take home probably also has a full day interview afterwards, that's a lot of time investment.

As a company looking for people, do you want to have your 6 hour take home project to happen after the candidate has an offer? As a candidate, are you really going to spend another 6 hours, if you have an offer in hand?
Sure, but I could write a computer for some new flavor of assembly tonight. The output would not by performant, but the language would certainly be low level.
Ask HN: CSS frameworks, older browsers, CSS Grid – what do you use and why?
It's 2019 and browser support for CSS Grid is strong (using the latest browser versions). Many supporters of CSS Grid suggest that CSS frameworks are no longer necessary for layout if you only need to target modern browsers.

What's your current state-of-play with CSS?
Are still using CSS frameworks? Do you still need to support older browsers? Or have you ditched a framework and fully embraced CSS Grid?
> All of it, unless forced to disclose by political factors.

Here's a list of DoD press releases: https://dod.defense.gov/News/Releases/

It lists around 500 just in the last year. I don't quite see how "Navy to Christen Guided-Missile Destroyer Frank E. Petersen Jr." would fall under "forced disclosure due to political factors".

I know it's fun to daydream of that perfect organisation constantly updating its "threat actor assessments" and how your speech was really what made the difference in going to Force Protection Condition Medium.

But seriously: the DoD has dozens of press staffers and the phone numbers of people that could pass on a tip under the radar. They have ongoing as well as incident-specific efforts to coordinate with civilian efforts. They regularly pass along environmental measurement data collected from ships, airplanes, and satellites to support research, weather forecasting, or disaster preparedness.
I wish I had a knack for this type of work. That's quite a bit of cash. I do feel I am a competent software engineer, but understanding data structures and algorithms doesn't necessarily correlate to one's ability to identify security vulnerabilities.
So the opposite of what the Hacker Dojo did around 2012/2013: https://slate.com/technology/2013/02/hacker-photos-how-hacke...
Consultant income driven development.
Fine, but then I don't see what this program is proving about Python performance, other than that it's actually bad and even basic programs will need to use high performance libraries that are not pure Python. This is in contrast to say, languages like Go or Rust, where most of the time shelling out to C is an issue of ecosystem maturity.
VFX, Amiga and Babylon 5
Maybe there’s a secret Uber tier for centimillionaires?
The title is bogus for what's actually a good article.

People are having fewer kids where the economic future for their kids is poor. This factor applies to the US as well: e.g. fewer kids are born during recessions. The article even says so, and merely asserts the "problem" of the OCP.

Just look to countries that suffered devastating wars to see how this has been handled in the past: immigration or simply abandoning a segment of the population. Germany imported many Gastarbeiter from Turkey (neutral in WWII) in the 1950s. As for abandonment: look at the number of never-married women in Europe and the US among the cohort born between 1890-1910, or the fact that in the US poverty among the elderly became acutely visible, and addressed, in the 1960s due to the combo of the earlier never-married and those who'd lost children who could have supported them.

If china really comes to suffer from the demographic overhang of the elderly, as Japan does already, they can turn to automation and immigration. Automation looks like a boon compared to abandonment! Not to mention the huge unemployment problem in china which could be solved by the "shift to services" (i.e. elder care) which doesn't require as much specialized training.
An Analysis of Robert Heinlein’s All You Zombies Paradoxes (With Visuals)
Thanks that's great I just put .reverse() after sort() to have it in descending order probably didn't say that in my original comment. Also if you're interested though I don't know how you'd apply it in this case, there is a chrome extension(cjs) where you can run javascript per page. Not sure how you'd apply it here though, maybe make a popup dialogue but mostly the url matching part as the urls don't exactly make sense eg. just numbers.

Anyway thanks pretty useful function