skysight-inc/HackerNews huggingface dataset:
macOS Mojave is now available to all
You need some better examples (your examples all appear expressible in Java):

> - Functions which are polymorphic in their return type, so that what they do is determined by what type the caller wants them to return

You'll have to be more specific here - polymophism in the return type is clearly trivial w/o specific constraints, e.g.
<T> T identity(T x) { return x; }

> - Function constraints - for example try to express "A function which takes two polymorphic arguments, which must both be of the same type, and which must be orderable (i.e have <, ==, >, etc defined for them), and returns the same type" in Java. In Haskell, that's just "f :: Ord a => a -> a -> a".

<T extends Comparable<T>> T f(T a1, T a2)

> - Higher kinded types. These let you have (loosely speaking) polymorphic containers. For example, instead of List<A> and Set<A>, in Haskell you'd have something like Traversable t => t a, where Traversable is a particular interface you want your "container" to implement.

Iterable<T>

If you're arguing that the Java version requires the types to declare that they implement Iterable, Comparable, etc, I think that's more a philosophical distinction about programmer responsibilities rather than a technical type system difference.

Haskell does have a fancier type system than Java, so you can actually present some interesting differences. However, my belief and observation is that for many smart programmers, Java's type system is already "too fancy", i.e., too hard for many people to use effectively. So I'm somewhat skeptical of the extra value brought by Haskell's type system.
> Silicon Valley is dominant in web tech, not in tech.

I would generalize that to software engineering, or at least large-scale industrial software engineering. You cant compare what's happening in SV to Geneva.
Haskell is fantastic. In fact, it is by far my favorite language. Strict types and functional programming come together in a perfect union. Monads are very similar to JavaScript callbacks, actually. After extensive use of the language, I finally decided to give it up for 2 reasons. 1) Stack and package management. Specifically, after building many websites with Haskell's "supposedly" production ready framework, Yesod. After an upgrade, every site I made completely broke and there was almost no documentation on any version changes for this framework. Which leads me into complaint 2) Lack of good documentation. I'm not trying to take sides on the debate of self documenting code, however, when using higher level libraries, it is completely infeasible to rely on reading source code to determine what a function does. Haskell programmers believe that because of such strict typing, the code should speak for itself. Unfortunately, the real side effect of this is you end up coding trying to match up your types instead of focusing on your goal at hand.
which should never happen anyway.

"The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair." -Douglas Adams
> The problem with doing something right the first time is nobody appreciates how hard it was.

Sometimes if you do put in quality and do it right in development it costs you in time and then by perception.

When you hit the ship date over finishing the iteration/version/product you have problems after ship from external customers, when you do it right and handle the problem in development before ship, you take a hit in perception internally.

The problems after ship can harm a product/company more than a slight delay in shipping, but today it seems people don't care as much as there is more specialization and larger teams where it is 'not my problem'. Some clients/project managers see a bad product shipped on time as good, and a good product shipped late as always bad. The external perception should play more into that perception not just hitting their part of the project goals/milestones.

Hitting dates is hugely important, but messing up a product with the customer can be deeply problematic. Noone truly remembers a late product after it ships and is quality, creative and functional, they remember a bad product.

I prefer the Valve Time [1] philosophy, get the product right over the date, and don't set dates until you have the product actually ready.

[1] https://developer.valvesoftware.com/wiki/Valve_Time
Thanks for the clarification. The approach makes sense. I am actually impressed by the lack of NIH syndrome, it is rare to see open source software integrated so effectively. That is
a +1 for protocol standardization
That's super cool, but in my amateur opinion that's just covering/redoing proper Italo Disco, it's not synthwave.
It all depends on who is rewarded for the automation. Salaried employees who automate are generally recognized for the productivity that automation provides. Low level data entry people are not rewarded.

Your story reminds me of my son who graduated with a liberal arts degree right after the financial crash. He completely automated his first job (using excel and VBA) and was not rewarded. Long story short, he went back and got a masters in EECS and works where productivity is recognized.
Show HN: Reverse engineered android app INSHORTS with some modifications
I maintain code written by my company's founder from 1998.
It hadn't seen many updates to maintain it. It saw a LOT of enhancements.
I'm currently unwinding those changes into a full library of support features.
It's also not my primary focus.

Many new features to fulfill customer needs is a common reason. Many customers, with new requests, issues reported.
It's slow because if I'm not methodical I cause problems for people who don't want this next enhancements. It's slow, because the current emergency takes precedence, and taking to long on fixes means a meeting on why something is behind.

Business priority is not "deliver fast" it's "keep running, don't attract attention".
This is far outside the norm, in my experience. At least for people under 30. Maybe seasoned business savvy professionals who start later are different.

But I've had to do a LOT of coaching whenever a friend starts freelancing. Even basic stuff like "a separate card for business expenses can simplify your life"

And these people usually do well. It's just that most people have no clue about even basic business stuff, and nor do their families or social networks, so no one tells them.

Did you have experience in a company, or a friend relative who had told you about business before?
I could never get a doctor to give a precise answer to that, just, "some kind of repetitive strain injury." It seems to have had psychological components to it also: I was so worried about it that I created additional tension there and never let it relax, and I was always super stiff/tense while using the computer. So whatever new ergonomics or exercises I tried, I continued clenching/worrying whenever using a computer. And then I could see that the tension was making things worse so I'd get worried and more tense because of that which created a bad feedback effect.

Getting better was partly just learning to not freak out about it—the situation was manageable and I wasn't going to have to give up my favorite activity that I'd spent so much of my life training for etc.

More exercise, better ergonomics, and taking breaks also helped. I've been practicing meditation for a couple years now too, and it's finally been getting to the point where I can use what I've learned to see and modify the bad mental patterns I established during 10 years of unpleasant computer use (including getting out of the feedback effect mentioned above).
“Social network” of brains lets three people transmit thoughts to each other
> I hope not. The proposed standard was not even remotely vendor-neutral.

Why not? WebGPU work continues here, based on the work that Apple proposed. Google has a cross-platform prototype implementation. https://github.com/gpuweb/gpuweb

> I would love to have compute shaders in WebGL. All it would require is bumping the OpenGL version that WebGL is based on from ES 3.0 to ES 3.1 in the next revision.

WebGL2 has very little vendor support already, and OpenGL is a dead end, from an API perspective. Something low-ish like Metal without being as absurd as Vulkan would be a great fit for the web.
Air conditioning is an energy problem. There is no magic bullet to cooling 15+ cubic meters of air from 30+ degrees to 23 degrees
West Virginia rolls out mobile app voting for midterm
You take them to court. Try to go to small claims. I've got a suit against someone for non-payment I filed 10 years ago - it's still on the court backlog - but it was too large for small claims.

And then you learn to spot warning signs, and avoid clients/projects like that again in the future. Getting some deposit up front is often a good thing, but also not something you can always manage. I've done work for govt agencies - that's generally not going to happen, but once I have a contract or PO, I've got a pretty high confidence the money will come through - it just may take weeks or months to get paid.
I might know your bank, do you run three versions of Murex at the same time? They have a pretty strong Haskell team (though somewhat small, 10s vs 1000s of Java devs), but that's what's at the core of the article. The writer seems very keen about developing and coaching a Haskell culture. So, as you say...

> unless you know you are going to stay there (in the same project) for very long time and you know you can hire/retain and train new people in Haskell.
> where most people would not look

He/She linked articles from sina.com and hexun, they are arguably the most popular online news outlets in China. Xinhua also have numerous news articles on the increasing defaults [1][2][3] -

May 2018 [1] http://www.xinhuanet.com/finance/2018-05/29/c_1122902212.htm

August 2018 [2] http://www.xinhuanet.com/tech/2018-08/04/c_1123221839.htm

July 2018 [3] http://www.xinhuanet.com/finance/2018-07/13/c_1123119356.htm

How about stop commenting on something you don't even understand?
It was $8.54 in 1968 "when adjusted for inflation", not the actual value it was at the time. (at least according to the article, I didn't calculate it myself)
any other tips? what if you have plenty of experience programming, wouldn't it be too obvious?
Bill to ban bots impersonating people for telemarketing and influencing election
It's great that you did that, but in my experience (and many freelancers I know) there was not a definitive "I will now become a freelancer" moment.

I had moved to a new city and was interviewing around. A old friend approached me in desperation, offering a lot to work on one-time project for his company. That led to more offers, and those to more. Meanwhile I and friend were building prototypes around a business we might start. (So glad we didn't try to start that one!) Meanwhile, it wasn't until I did my taxes the next year that it hit me that I was now a freelancer.

Only then did I start to get my act together with billing and the rest.
> If you were building a house, and the builder demanded cash up front, you'd laugh in his face.

That's how a lot of builders work - if you're having a custom built home, you're going to need to put down a deposit.
What about Module.instantiateWasm()? That should let you provide a pre-compiled or even pre-instantiated module.
Man, this list deserves to be a post in its own right.

Incidentally, the Woodwright’s Workshop show on PBS is part of the reason I donate to keep the “passport” access. Reruns of that show are pretty much the definition of my happy place.
Spot on. [apologies for low effort post, but I have nothing more to add.]
I believe this really depends on the field you're looking at. In pursuits where extraordinary levels of raw ability is absolutely paramount, precocity will be there 9/10 (or more). The best example is the quintessential chess genius. It's hard to find a chess champion who wasn't a precocious talent. It's the same with concert pianists.

In other fields, some raw ability (but not necessarily an obvious precocious talent) is still necessary but other factors are also paramount. In the field of literature, richness of experience and maturity can take an author to a higher level. In various fields of scientific research, decades of accumulated knowledge/experience can be pivotal to success.

My point is that in some fields, it makes complete sense to equate genius with precocity, but in others it makes little sense.
The Rational Keyboard
You keep talking about Python's problems, and I'm trying to talk about the habits I've noticed C programmers form and are rewarded for, but are bad for Python development.

There are literally no habits in your mind that could be good in C but bad in Python?
I'd happily pick the third option of running a platform locked down by me, the hardware purchaser, if it were ever made available to the general market. I have absolutely no objection to locked down hardware or DRM-like protections so long as the devices and software I'm using and installing obey me and only me.
> To put it really bluntly, your comments match the heuristic of what people would consider propaganda trolling.

I got downvoted to hell for pointing out that the article doesn't provide the total size of the bond market when talking about those $8 bln defaults. I provided a link to a recent bloomberg article showing the total size is $11 trillion.

Surely those downvotes are a good show of freedom of speech! Shame on you.
Thanks, that's pretty interesting. I wasn't aware of that.
Depends on what you mean by "traditional". Even in the New Testament, you'll find passages like 2 Thessalonians 3:10: 'For even when we were with you, we gave you this rule: "The one who is unwilling to work shall not eat.' There are probably examples from the Old Testament as well.

Perhaps Nietzsche, with his critique of traditional Christian values, can be seen as a reaction against Christianity.
Prime Minister Lee Hsien Loong at GovTech's STACK 2018 Developer Conference
I like square photos. But I've also taken so many pictures on both film and full-frame digital cameras that 24x36 looks normal to me. Other aspect ratios (besides square) strike me as odd!
Hacking Exposed 7th Edition Link
That breaking of compatibility is why I often recommend Chainer [1] over Pytorch, as one of the back ends to Chainer is literally numpy. Plus, Chainer is very fast and easy to work with.

[1] https://chainer.org
> The most user-hostile part is forcing users to choose between accepting an OEM locked down platform, or running an open platform that an attacker can permanently lock down.

That is flawed logic. The article demonstrates that the OEM version is insecure. Why would you assume that the open version would be more vulnerable to attackers?
The biggest problem with GraphQL in this regard is that it is a single endpoint. API gateways often define authorization rules, throttling rates, and caching times differently for each route. Consequently, you may need to write authorization, throttling, and caching logic in a separate layer or perhaps even in your microservices themselves.
Microsoft announces app mirroring to let you use any Android app on Windows 10
As Chris Dixon put is:

"A friend of mine got a job at a big company and was
shocked to see his colleagues worked just a few productive
hours a day.

They didn’t seem to care about their work or have relevant expertise.
My friend said: “Wow, this company is going under.” Then the company
released its quarterly reports and profits rose to an all-time high.
The momentum of the company’s brand and relationships was sufficient to
propel it forward."

http://cdixon.org/2012/05/19/the-default-state-of-a-startup-...
Absurd.

The bulk of being a good-engineer is productivity, by reinventing the minimal amount possible. Highly efficient engineers are very accustomed to their tools (IDE, language, framework, database and DB drivers, webserver, deploy system, logging).

Forcing a team of engineers to use a new language, IDE, framework, particularly one that has minimal backing, is something I would consider a "fireable" offense (i.e. costing the company hundreds of thousands of dollars for personal amusement).

And also, if you did want to go functional, why not something used by literally any professional company? E.g. Twitter on scala.
Shameless Plug: https://KloudTrader.com/Narwhal

Doesn't make the decisions for you but manages the other 80% of the complexity involved in deploying a trading strategy.
At the first internship I had in the late 90's, part of my job was taking these text files full of data and creating these huge excel reports with them.
It was something that would take a few hours to do because of how much data there was. I taught myself VBA and wrote up this little program where you just upload the file and it spit out the report in about a minute.
I luckily had a boss who saw the potential in that and while I wasn't promoted, I was just an intern after all, at the end of the summer, I was the only intern the company kept.
And they moved me all around the company to different departments and I learned a ton and it was a great experience.
I did automate a few departments to the point where people who were doing full time work had their work cut down to couple of hours a day at most.
I finally left when my friends who started doing internships at these "internet" companies were getting paid more than I was and I had asked for a raise and didn't get it.
Full-Stack LAMP, mainly building heavily-customized WordPress sites. My current project is big enough that we've brought on some front-end help, so I've learned to manage git and am paying attention to developing my "soft" skills such as management. I'm likely doing a basic AWS certification soon, perhaps followed by some more DevOps type stuff or learning more formal UI/UX skills. At that point I'll be far above the average WordPress developer and could hit $100k+ if not next year, then the year after that. Pretty good for someone without a college degree working from home.
Perfect description of that color, thanks.
Somewhat related. How do you introduce any language?

How do you get past writing anything that isn't java,c/c++ and python without being a cowboy. In my short experience writing with any other language gets a somewhat negative response.
? I have no idea what you mean by this.
More importantly, "what is convenient for users" will frequently change and be expressed only vaguely by those users in natural language bug reports or feature requests. Converting that natural language into something machine-readable is programming, whether it involves typing cryptic strings into emacs or hooking together components graphically a la LabVIEW.
Big companies have something to lose. A brand, clients, revenue and profits. People don’t want to risk those.

A starup has nothing to lose. The site is janky for two hours? The only users are friends, and the outage might actually bring more visibilty if you make a good write-up.

Incidentally, this ties together with “why do young people found more startups than senior executives”
Let's change this a little bit.

We have observed specific phenomena but not that which created such phenomena.

As far as "Black Holes" as per theoretical descriptions are concerned, they cannot exist in a finite time universe as far as we (the observers) are concerned. The theoretical models used all have as a basic assumption that increasing gravity (whatever that may be) will cause a slow down in time as observed at distances away from such increase. As such, all phenomena involved in the creation of such entities will slow to a complete stop as far as we are concerned.

Hence, if the universe is of any finite duration, we will not have seen the creation of even 1 black hole of any kind. On the other hand, if the universe has existed eternally, it is still likely that these entities are still in the process of formation and not yet in existence.

I don't doubt we are seeing some interesting phenomena, but not the entities called "Black Holes". The argument for the creation involves changing perspective to some observer who is falling into or through the event horizon (choose which one of these you want, as there are apparently a couple of choices here in the theoretical models). Since we are not such observers, that perspective is actually irrelevant to us. What is relevant is what we observe in the universe at large.

The basic problems (irrespective of mathematical assumptions) with the processes of "Black Hole" generation relate to non-uniformity of compression, time dilation and other basic assumptions for the "Black Hole" models.

I find the reasoning used for the existence of "Black Holes" in our universe to be lacking in logical rigour and appears to have a lot of hand-waviness to it.

I am currently reading the documentation for the Metamath system and there are some quite enlightening comments in that about mathematics and those who study it. Especially as it relates to us who are not mathematicians as our career. One of these relates to the amount of "faith" we have to exhibit when trusting that specific "proofs" are in point of fact true. Even mathematicians who are not in that specific speciality do not have the necessary background to verify any proof outside of their own mathematical area.

Mathematics is a profoundly useful tool but as we have seen in the past and we will see in the future, it has problems (like all areas).
Show HN: Array Animation Language
Not really true. Lots of people recover from mistakes or decide to change paths.
> it was all energy. It had to slow down to become mass

If there was no mass then what made the energy slow down?

For example a photon will travel at the speed of light in a vacuum indefinitely.

In what scenario does energy just slow down without interacting with matter?
Yes, I read the article. However, I have never seen a laptop use such a aspect ratio even in the olden days, and I'm not sure manufacturers would choose to now, because... These are high resolution low contrast reflective screens limited to 13" which do not hit the current market diaginal/area expectations for mainstream laptops, much less desktop monitors.

They are good for low power daylight operation and I'm sure there is a small market for people who don't like backlights and emissive displays. I like my kindle for books, but I also don't mind the backlight for indoor use. As desktop monitors they have missed everything but the smallest niche.

Good luck if you really want to use one regularly as the writer says,"Based on my research, particularly great e-ink monitor comparisons, these devices are not ready for professional, daily use. They are laggy, have staining/ghosting problems, and perhaps worst, are quite unreliable. It seems that the failure rate on both of these devices is quite high and user happiness is quite low. If e-ink is your only option (because of health reasons) then these might be a savior, but short of that it seems like your best best is to wait for future development in the space."
No disagreement there. Just sayin'.
Which platforms don't ban consistent winners?
Good thing you aren't a uyghur in China, but stay in your bubble.
Interesting stack.
No one is asking for a magic bullet. People are asking for something better than the expensive, marginally efficient, and failure-prone compressor-based AC units that dominate the market now. There are alternatives out there that have yet to reach market-ready status, but could have a big impact - things like magnetocaloric cooling (BASF has a prototype [1]) and thermoacoustic heat engines [2], both of which have higher energy efficiency and potentially longer service life than compressor-based units.

[1] https://www.basf.com/en/company/news-and-media/magazine/reso...

[2] https://en.wikipedia.org/wiki/Thermoacoustic_heat_engine
What a great story. The most intriguing person was Sharon, Ben Fountain's wife. She seems like an outstanding human being.
What is your point? Absolutely everything in life is an embelishment. We are carbon.