skysight-inc/HackerNews huggingface dataset:
> all in all i think it requires a lot of discipline that can easily break down, whereas some of the popular imperative languages you can still sort of plug along (=> punt the technical debt) despite that.

Interestingly I have the exact opposite perspective. Writing imperative or OOP code requires me to be excessively disciplined. It is extremely easy to build un-maintainable spaghetti. There is a whole cottage industry of methods for your discipline of choice: Clean, SOLID, TDD, etc. All these disciplines seem to boil down to the same systemic result, push effects to the edges of you program so you can more easily test, evolve and maintain. Functional programming (of the typed variety) tends to allow me to write garbage code, that is testable and can be easily evolved and maintained because the paradigm encourages me to be a good actor.

I've refactored production code in imperative languages and typed functional languages and only one of them allowed me to make HUGE sweeping changes with ease and high confidence.
While this is true and it's difficult to open a new hospital in the US, it strikes me as unlikely that this could be blamed for the high cost of care. In fact, US hospitals have been merging and this seems to be a trend that is continuing to this day.[0]

I entirely agree that hospitals are part of the problem, but I think that casting this as a supply and demand issue is oversimplifying the issue. People who need health care very often cannot choose to "shop around" for their provider, the increase in mergers make it less likely there are any competitors in their area. Agreements between hospitals and insurance companies often place other health care providers "outside network", thus artificially increasing their costs. In the same way consumers do not choose their hospital, they also frequently cannot choose their insurance provider; often the health insurance comes along with their employment.

In my opinion, the tangled co-dependency between hospitals, insurance companies, pharmaceutical companies and all of the lesser industries that depend on them are all factors in the rising costs. Every step of the way along the chain, profit is maximized at the expense of the patient. We will need large scale change in order to address the issue and I don't think it will be easy.

I hope that some kind of "medicare for all" system will start moving things in the right direction. In my opinion, this system is failing everyone except the very wealthy.

[0]: https://www.pwc.com/us/en/industries/health-industries/libra...
The Morning Paper (by Adrian Colyer) does a great summary of the paper: https://blog.acolyer.org/2018/10/22/legoos-a-disseminated-di...
How to Fix Blurry Pictures for Free
I think it has to do with reputation and the cost of entry.

I use to play on a minecraft server that had a griefer trap right at spawn. The server automatically monitored any attempts to grief and auto banned griefers while sending a server wide announcement.

When the server was wide open and anyone could join, the ban notice would spill out so fast we had to get an admin to silence it.

When we swapped to a whitelist that required a person to submit an application and wait to be approved, messages were rare. Only one or two a week.

When we swapped to invite only, we never had the message go off. Not once from what I remember.

As we swapped between the three states (in an attempt to maintain a certain server population level), the pattern was kept up.

The lower the cost to get in, the more people who violated trust. The higher the price, the less people who violated trust. When personal reputation was on the line, no one violated trust.
Glad to see you guys continually innovating. Wish you the best of luck. -Gil from Gilded
> Technical goals of the project include:
> Allow complete management of the database using only INSERT, UPDATE and DELETE commands (expose the DDL as DML)

There might be other reasons - but note that postgres actually supports transactions and rollback of DDL - Oracle with full enterprise lisence has something similar (there's undo/a "trashcan" style cache for schéma modifications).

But in general (as far i understand; I have not used this in anger) pg lets you simply BEGIN drop table (...) ALTER table (...) (who's, something wrong) ROLLBACK.

It's very neat, and not generally supported.
He might want his .bashrc to work on both macos and linux.
Does that include photons? Photons that have travelled the furthest are, by the above definition, at the boundary of the universe - an ever expanding boundary - which they will never exceed. If this is so and you were 'outside' the universe, would it look like a black hole? Does a universe have an event horizon?
> I think the vague and abstract way Ben Horowitz has worded his essay makes the lesson he's trying to impart very confusing.

Perhaps he's writing for a particular audience. Anyone who's run a company for any meaningful length of time will be nodding along as they read this essay.
32..

Haha, kidding. Great question! I'm also curious.

It's great to have motivated parents who are in the industry. And resources these days are just incredible: https://read.macmillan.com/mcpg/code-this-game/
You just referred to an entire media landscape as one thing, then linked a tulsi gabbard video falsely claiming she is "anti-war" (she is very pro-Russian bombs killing Syrians, even criticized Obama for not killing more Syrians under the guise of fighting terrorism). https://theweek.com/articles/855766/tulsi-gabbard-no-peaceni...

I struggle to define this "anti-war anti-democrat anti-media (usually pro-Trump)" demographic I see online. Just a light scratch of the fingernail and their entire ideology falls apart.
I would take the $18 million "cost" with a grain of salt. It's not easy to come up with an estimate for the actual cost of lost files and delayed revenue.

It could have been some trigger-happy accountant just tallying up stuff left and right.

Some organizations need a disaster to provoke change. Hopefully, they'll do the right thing now and transition to something that works.
Doing some DR testing is the only way to truly know
Not all of them. but a big chunk, yes. It's not specific to straight white men — if it were, say, straight Japanese men ruling the world then the blame would be laid on them.

Ultimately, the left view is largely correct, which is why I'm on the left.
I don't think you were catty, and you were far from the only person who had an adverse reaction to my comment. I've learned something. So thanks!
That'd probably be ideal but in reality most people don't do that.
i did not say it was rejected. I said the community lost the momentum to work on it. Mostly because it felt nearly impossible to get return on perf. When people had momentum to do it last time, we were never able to get perf numbers and to merge fixes before the official run. This basically killed most of the interest by long time members of the community to engage with the benchmark.

I am ofc not saying it is a good thing from the elixir community. Just that it is the sad state of the momentum to change it right now.
Ask HN: How to design API for item with likes and how to cache it?
For example i have post:

I need to get attributes (id, title, body, likes) for not authenticated user.
For authenticated user i also need to get is_liked (id, title, body, likes, is_liked).
What I don't know is how to cache it and should i make 2 requests or single (and on php merge cached post with is_liked)?

What's is standard practice for things like this?
Ask HN: Which online communities do you hang out most on?
Couple of my favorites:

* https://reddit.com/r/AskHistorians - All things history. Quality of discussions are way better than on most other subreddits. Highly moderated

* https://discuss.bootstrapped.fm - bootstrapped businesses

* https://lobste.rs - kinda like HN but for tech only

* https://slatestarcodex.com - it is more blog than a community, but great nevertheless

I used to frequent other communties but these are the ones that stood the test of time
Sounds like you've barely programmed in Haskell and don't know what you're talking about.

> It is extremely hard to learn

Haskell was the first language I learned. I didn't think this at all and I still don't. It doesn't strike me as any more difficult than learning Java or something.

You may think this because Haskell is a different paradigm than what you're used to, so while you may be able to get quickly started with Rust coming from a C++ background, Haskell will take more work because what you already know doesn't intersect with what you need to know quite as well. You may misconstrue this mismatch as Haskell being more difficult to learn.

> extremely confusing + needlessly complicated syntax

I think Haskell syntax is less confusing/complicated than many other language. Unlike a lot of other languages, Haskell doesn't have a lot of things baked-in. As an example, lot of oft-used functions are "user-space" functions that anyone could define themselves. Like `($)` or `otherwise`.

> If I stood up in a corporate business boardroom meeting for tech analysis on a new project and said "I want to write it in Haskell", I'd get laughed + kicked out.

This is such a stupid argument: what relevance is the opinion of boardroom meeting attendees on the suitability of Haskell for a project?

It sounds like you're hating on Haskell out of ignorance and some personal encounter with the language that went poorly. Instead of actually being informed.
You sir, are Awesome! Keep up the good fight!

Now that I know about this, I'm definately going to use it. Can I use it for federal too? or do I need to use something else for federal, then I can use CalFile for state.
To make your point more strongly, I think that most rich people do in fact stop working. Most people don't hit the $2M net worth mark until after the age of 55, so when they stop working it's just called "retirement" and nobody remarks on it.
140-year-old secret in the Hall effect discovered
I do that because I think it's inappropriate that any third party should have access to private financial information that's no one's business but mine and the IRS's.

Still, it's an irksome chore that I would prefer not to have to do.
Telling us that the end result of the form is the same is meaningless. You don’t fill out the form manually on TurboTax. It automatically imports W2 information, it asks layperson’s questions, and generates the final form.

If you do this yourself, it’s far more time consuming.

I don’t understand why you think it’s a major jump for the IRS to provide this service. Other countries already do this. Other federal agencies also provide complex web services like My Social Security and Healthcare.gov.

The IRS already has your W2 and 1099 data. The IRS already knows when you make a mistake, automatically, often live as you e-file. I have had e-files rejected instantly due to mistakes. They clearly already know how much I’m supposed to owe them.
My first job out of college was working for a IT consulting firm on a project for a state government. All of this describes that experience precisely.

> Also aren't their some pretty tough mandates like x% of companies must be minority owned etc. I imagine it allows those companies to charge extortionist rates because they hit the relevant quotas and nobody else does.

One thing I saw was that the big players will have employees who fit the desired characteristics, and they just spin those employees off into their own corporation as needed.
Supports Infiniband out of the box - neat!
OMG that is so much better than the original. Why don't people just write actual blog posts! It makes so much more sense than stringing together 20 tweets!
I thought I heard Brazil had open source tax software. It would need to be sponsored and managed by the government in order to work. With open source software the liability is on the end user and a corrupted Word document is a bearable risk. Businesses pay for Red Had and system engineers to reduce the risk their systems won't boot. In addition, tax laws change all the time (and are honestly a bit subjective).

I would imagine it would have to be managed by the government (or someone with liability) but accept contributions that would be vetted and approved by the government.
Project Phoenix hydrogen fuel cell plane
Bitcoin trail helps authorities bust child porn site
How does one get motivated enough to say - you know what, I'm going to create a new programming language? How do they keep it going when they face hurdles? How long did it take to develop this?

I'm struggling to start any in-depth project. I can do stuff - make a small app - here and there. But the thought of starting something is so daunting and intimidating. The irony is that I built a small but working language as part of the compilers course in college. I feel like I know so much more know but can't bring myself to develop something that reflects that.
Freelancing is one thing but a comparing it to owning a company with employees is very different.

I have no numbers but what I've seen from people owning businesses with employees (or even alone) in various fields none are stopping at 40 hours a week. That is in Sweden.

EDIT: Just for fun I googled some and found an article where they had made a poll in a magazine about small business owners. The distribution was:

Less than 30h 7,5%
31-35h 2,3%
36-40h 6,5%
41-45h 10,5%
46-50h 14,9%
51-55h 13,9%
56-60h 15,8%
61-65h 8,0%
66-70h 7,1%
71-75h 3,4%
76-80h 3,9%
More than 80h 6,2%

https://www.foretagande.se/nyheter/sa-manga-timmar-jobbar-eg...
Clickables:

https://reddit.com/r/AskHistorians

https://discuss.bootstrapped.fm

https://lobste.rs

https://slatestarcodex.com
> The performance is not stellar on OS X and plugin support is tiny by comparison so I find myself drifting back to Chrome.

Are you saying that Firefox has less addons than Safari? Is that even possible with the restrictions on Safari browser (ads blocking)?
New Diagnostic Architecture Overview
Kids these days: Why the youth of today seem lacking
Interesting as looking at that zoomed in you can clearly see peak and trough playing out that seems to indicate that IPv6 becomes more popular during the weekends! Which would perhaps indicate that uptake and usage is more common with users than businesses users, possibly.

Not sure of exact explanation exactly, but certainly consistent trend upon that graph. Though does bug me when you have time based graphs using time and no indication what TZ the midnight/day cut-off mark used - may be using browser local, may not, you just don't know.
Manool.org – programming language “Manool” – official website
They're overwhelmingly represented in positions of power so yes, it is them causing the problems, by definition.
> Even SMS 2FA would be something / great at this point.

Oh god please no.

TOTP isn't that difficult to set up. I'll even help make it happen. Don't use SMS for 2FA.
That doesn't count for much.
He is saying it, because recording conversations is illegal (criminal) in some states unless all parties consent - and in some states consent must be on the actual recorded content.

Video w/o sound is not an issue unless there is an expectation of privacy (e.g., in a bathroom)
Indeed, also most wealthy people I know don't really worry about their PTO, asking their boss if they can travel when necessary, explaining to someone why they were out of the office playing golf, etc.

Most of the wealthy people I know work plenty, but they also do it on their schedule and make it fit with their priorities.
H-1B Denials *Rate* Quadruples, but the Number of *Approvals* Keeps Rising
Ruins of forgotten empires: APL languages (2013)
For personal ransomware, the requests are average around $250, lower than you'd think.
> And in an unfortunate twist, if you _have_ to run Docker, macos is actually the best choice for that.

You are aware that Docker is a Linux technology right?

As others have pointed out it is trivial to install on Linux compared to Windows or Mac.

I get it that Mac folks like their Macs, and I will argue your case at work, but please stop the misinformation campaign.

Mac is different than Windows and Linux. Not generally better.

It is better than Linux for running Adobe software.

It is horrible for running gimp.

It cannot run Docker natively but it might have a number of other advantages.

Source: I once used a Mac. Started with great enthusiasm, gave up three years later, massively disappointed. Liter realized Mac actually is the best computer that exists for Mac users, but not for me and many others.
It looks like the robot adds 10 pounds.
I'm not sure I really understand your alternative. It's not like in practical terms, providers will achieve the theoretical max of RF or cable either. What are you suggesting instead?
That's an easy one: yes. To make it a good analogy you'd need an injunction preventing them from doing so in the bank's country.
While a private company, it gains major legal protections as a platform. If the chooses speech, they are a publisher, which opens them up to legal actions. They can’t have it both ways. Neither can people saying they are a private company and therefore free of the first amendment.
Vanilla JavaScript and HTML – No Frameworks. No Libraries. No Problem
Thank you for reacting so kindly.
Any idea on why I cannot get reverse DNS when I dig IP address of my web site from my work computer? No issue from home.
https://hackernoon.com/bash-profile-vs-bashrc-vs-bin-bash-vs...

Note that in macOS every new Terminal (tab) opens a login shell, while most GUI Linux environments don't. (In Tmux/screen it depends on the configuration).
Scientists work toward a rapid point-of-care diagnostic test for Lyme disease
Just my personal opinion, but I figure the logical response would be to audit 1) the state of their backups, and 2) the source of the malware. After confirming that all necessary data had indeed been backed up and could be restored, and after blocking the vector used to deliver the malware, they could refuse to pay the ransom and restore from backups. Then they could go about further hardening.

If it was discovered that the backups were faulty (as in this case), or if it were not possible to discover how the infection happened prior to the ransom deadline, I would have advised paying the ransom, since 76k is a relatively small amount to the city of Baltimore. (And then of course continuing to investigate and harden to avoid having to do so again.)
Time for me to figure out if I can register a corporation under the name Thieves Guild...
> a small group of vocal employees managed to oust former CEO Brendan Eich over a tiny donation to a conservative political cause

Eich was kinda a moron and I don't think they realized that after he was onboard. IIRC, he saw no reason to move forward with the Firefox Quantum support and generally had some other bad software decisions.

I suspect the anti-gay stuff was more to justify a way to get rid of him and score some points in the process.
Ask HN: What is the best intro Scala book for 2019?
And security should be important to everyone. So basically don’t use this feature.
People have principles when it isn't their money. The best route would be to pay it, then divert the money and fix the issues. Think of the 76k as cheap penetration testing.
One fairly-big sql database could do that.

Determining who has the rights to make changes to what data, auditing changes, auditing ever-changing access control rights, systematically changing these rules to adapt to technological advancements, etc. is the function which Bitcoin accomplishes that you are discounting from your perceived cost of the traditional stock market.
I refuse to use TurboTax for my (albeit simple) tax filings. I used FreeTaxUSA last year and it was pretty solid.
https://www.linkedin.com/in/frank-johnson is the guy. Typical suit found in many exec positions, looks perfectly legit, fine credentials, a little heavy on the sales stuff.

CIO for an acutely underfunded department in large but very poor city is not an easy job.
It can't really (other than inside an x11 window maybe), not in its current state. I've heard that someone was working on some Wayland porting efforts, but idk about the state of that.

Looks like OpenBSD has a fairly up to date kms/drm stack now, but you also need:

- to have epoll - https://github.com/jiixyj/epoll-shim might just work

- to expose input devices from the kernel as evdev devices (good idea) or to implement support for your legacy protocol in wlroots / in other places for other compositors (terrible idea)

- to have a device enumeration and hotplug system and either have it pretending it's udev (as we do with https://github.com/FreeBSDDesktop/libudev-devd) or implement support for it in wlroots and everywhere

- direct session glue code at least e.g. https://github.com/swaywm/wlroots/blob/master/backend/sessio...

- but ideally, a working session manager that supports acquiring drm+evdev devices over d-bus e.g. https://github.com/ConsoleKit2/ConsoleKit2/pull/116 && https://github.com/swaywm/wlroots/pull/1467
Because there's no such thing as random or chaos; Everything follows a pattern, a protocol, a law; We may perceive it as random or chaos but it is not; Everything we call random, is in fact pseudo-random; If there's a Law, an algorithm behind everything, then who or what coded it ? That's the rabbit hole;
Dual-Function Virus Engineered to Kill Tumor Cells and Support Immune Cells
The one thing that could really push it into "dream language" territory is a sound type system. The Gleam language recently popped up as an up and coming solution to that... It's ReasonML/Javascript like syntax makes it familiar and has a good interop story.
Plays well to the uneducated unfortunately.
Facial recognition systems can be vulnerable to deep morphing, researchers say
Boy those guys must be laughing at their customers.
You'll notice that people who praise Elixir compare it to minority web technologies (Ruby, Python) or ones that are documented for various issues (Javascript).

Absent from these comparisons are the elephants in the web world: the JVM and .net. The JVM in particular is superior in my experience to Elixir in all respects: statically typed languages, battle tested servers and libraries, abundant documentation and discussions, top of the line performance, excellent tooling allowing rapid refactoring and evolutivity, etc...
The only difference is that people who reject medicine are rightfully considered delusional.
New grad doesn't discriminate by age, it discriminates by experience which is very common on almost every job ad. for example, I didn't graduate until I was almost 30, but I got hired on for a new grad position.
That's an entirely different class of thing though, possibly civil vs. criminal, I believe. If I'm signing a contract with you, and you tell me "no one is going to ever offer you a deal like this," even though you fully know many people would offer me a better deal, that's not illegal.

This is more akin to the chief of police making an announcement that a building is safe to enter, knowing there is a gunmen ready to shoot people as they enter. I don't know the exact definitions here, IANAL, but I'm pretty sure my scenario would be legally actionable.

Similarly, freedom of speech is limited at least in one way by "imminent lawless action."

I'm not sure about the issue you mention regarding CBP, but I believe there are certain differences between how the law treats citizens and non-citizens. The Exclusionary Rule, disallowing evidence illegally obtained, doesn't apply to civil matters, including immigration, apparently (https://www.halt.org/things-cops-do-that-are-illegal-what-a-...).

Law enforcement can omit or lie about your Miranda rights, but they can't use evidence obtained from what you say without reading your rights. So if a cop saw you shoot someone, and you're still holding the gun, they don't really need to read you your rights; they don't really need anything from you at that point.
When I asked in IRC, I was told U2F was not implemented in browsers on OpenBSD because, "do you really want browsers to have full access to your USB stack?"