skysight-inc/HackerNews huggingface dataset:
A language could be declaered good enough but none of the popular languages are there. They all had plenty of "bad but popular" design decisions at the beginning and now they are trying to compensate. What I hate is the constant repeating of everything. I'd rather one language have everything crammed in and we get to choose what we want and what we don't want. No "good" (my opinion) language will ever have only "one way of doing things" so why not just add everything and get over with it. In any case, all the "big" languages seem to be racing to "add everything" anyways.

IMHO my biggest issue with languages like F# and Haskell is like you mentioned the lack of tooling. I can even get over the fact that the ecosystem is smaller but the lack of ergonomics (things are harder to do, there's more friction in the dev process) always sends me back to C#. I wish F# tried to get into Roslyn instead of having their own compiler. I get the prestige and practicality of doing your own thing but I think it costed them a lot of missed out features and polish. I'm not that familiar with F#. It very well could be the language is too different to reuse almost anything from the semantic part of Roslyn but there's still so much else there they could get for free
I don't understand this response. You are proud you didn't read the article? Does it add any value to the conversation to just pull out one sentence and react to it out of context?

The only thing I can think of is that HN rewards early responses with more karma, so people feel a need to rush past the "reading" and "thinking" parts and just skip to the "responding" part to rack up more internet points. Perhaps HN should look into ways to rework things to reduce or remove that incentive.
Solaris also notably bundles 32-bit binaries for most everything in /bin with 64-bit distributions, and that begins to look like a wise choice.

I recently observed that SmartOS does the same.
This is way beyond me, but Ethan Siegel provides a lucid rehash of scientific theory in general, and 3 reasons why Wolfram's new 'Fundamental Theory' is not yet anywhere near a scientific theory.

https://www.forbes.com/sites/startswithabang/2020/05/13/3-si...
Limbo, one of Pike's (et al) predecessor languages to Go, did have sum types, called there "pick adts".

Some people are ridiculously daring at dismissing others's reputations without the most basic of background checks.
We already have a notion of origin that is used for most of the browser security policies (exact match of domain, protocol, port). Websockets allow servers to enforce this policy by sending an Origin header, but unfortunately observing the error messages/timing still allows you to determine if the port is open at the transport layer even if you can’t establish a connection. Since websockets routinely need to connect to different origins (they can’t be routed exactly like normal requests, though many CDNs/reverse proxies can handle both), browsers would need to remove the information leak themselves by normalizing error messages and timing across failures.
But they already claimed they believed it was a commercial operation. So they're going to take a reputational hit at least by some for being conspiracy theories.
> Most developers who hate PHP hate it out of elitism or ignorance. Either way it’s dumb. You have to choose a technology based on what you need. PHP is highly useful and powerful in many scenarios. And taking it out of the equation just because of its reputation is not a good idea.

When I conduct hiring interviews, one of the questions I like to ask regardless of the language for the position, is the developer opinion on PHP.

It's not uncommon for some to start massive rant based on outdated or outright wrong statements about PHP. Most of them never even used PHP.

It's a nice question to filter out elitists. The best candidates usually answer either "can't say because I have never used PHP" or state pros and cons of PHP based on their experience.

edit: quick -3 downvotes. I suspect I hit a nerve in some elitists who would not get that Rust or Haskell position because they would have baselessly trashtalked PHP in my interviews.
why? what makes you say that?
> It seems crazy to require that technically talented people should be forced to spend time doing something - report writing - at which they're not gifted, but how else can the world benefit from their brilliance? Without communicating their ideas, their work is lost and might never have been.

Peter Thiel has an interesting take on sales in his book Zero to One. He makes the case that good selling and good teaching are pretty much the same thing.

The best teachers know how to sell the topic they teach. K-12 teachers in particular know in their bones how crucial a sales perspective is to getting an important message across.

The best salespeople sell in a way that doesn't seem like selling. Thiel gives the example Steve Jobs. It almost seems strange to call what he did sales, but that's essentially what he did when he got on stage. Another example, is Elon Musk, who gets his message across without seeming very much like a salesperson. It's probably no coincidence that both figured out good ways to inspire their audiences.

So if the word "sell" makes you want to run for the door, consider the more or less equivalent form: communicate. Or, maybe "educate." If you think salespeople are all liars, focus your "sales" efforts on conveying facts in the most compelling way possible - without lying. I find that from this perspective, the idea doesn't seem nearly as bad. It also presents a much more actionable path forward.
His ego has transcended objective reality and he claimed (in 2005, and continues to claim in 2020) it isn't a vulnerability.
Couldn't say I liked Cat's Cradle but Slaughterhouse 5 was one of the best and most moving books I've ever read. I guess try them both and decide.
I’ve had this come up a few times when doing API snooping, and what I’ve done is decompiling the Android version (if available) of their app using jadx [1]. You get pretty legible Java, sometimes with Kotlin artifacts, sometimes with obfuscation, but in combination with some MITM snooping you can see how auth/headers/hashes are done. Sometimes you even find internal API endpoints with a security issue or two.

[1]: https://github.com/skylot/jadx
+1 for virt-manager.

But you know what bothers me? Virt-manager is mature and feature-complete, and RedHat has discontinued it in favour of cockpit.

Cockpit is cool and I like it, but it's not as complete as virt-manager.
It took me a long time after taking that leap of faith into therapy to learn that the most valuable part of psychotherapy is not information or advice but it is the therapist-client relationship itself. You need to internalize their advice and techniques (as OP managed to do on their own), and therapy is about creating a facilitative environment to alter that conception of self.

In therapy, you are unconditionally accepted with positive regard, which facilitates viewing yourself more clearly without the need to lean on self-defeating coping mechanisms, like self-pity or shifting blame. As social creatures we instinctively perform a lot of mirroring of others' mental state, so simply by being accepted we are able to try on what it is like to accept ourselves. It's leveraging an additional set of tools baked into us at a deep level to build self awareness and a more positive, realistic self model.

If you're struggling, I'd like to echo others and strongly recommend you reach out to a psychiatrist and psychologist if they are within reach for you. Take OP as an example that it is possible to change, but please explore all the resources available to you so that you can explore what works for you.

That being said, thank you to Vishnu for sharing some of your struggles and how you've managed to find ways to improve. It really helps to be talking publicly about these issues.
That's fair, but respectfully, it really wasn't my point.

"There was a time—recent enough that it was within most of our lifetimes—when most computers had less than 200 MB of RAM total. You could read on those computers just fine."
I think you misunderstand what this repo calls an "API".

The Coinbase "API" in this repo isn't the protocol (eg an HTTP REST API implementation), but the 3rd party Python library which speaks the protocol[1].

[1] https://github.com/danpaquin/coinbasepro-python
You got it the wrong way around IMO. It's those other things that "fill the void" from not having children. Having children, for most people, is basically the most meaningful and lasting thing they can possibly do with their lives. Nothing else is even in the same order of magnitude.
Poor Americans Face Hurdles in Getting Promised Pandemic Internet Discounts
Original title lacked context. It was:

Poor Americans Face Hurdles in Getting Promised Internet
Show HN: This tweet updates itself
Google search suggests it has "4chan racist troll" origins, but I'm hoping the origin for this poster was more innocuous.

[1] https://knowyourmeme.com/memes/clown-pepe-honk-honk-clown-wo...
I would love to see it applied also to hardware, so that for example when a 8 years old phone that nobody would buy anymore gets opened (including chipsets) small Linux distros can be ported to it, turning it into a hacking platform, IoT terminal, media player, navigator, etc. instead of a paperweight, or worse, more junk into some 3rd world landfill.
Weight loss tip in this quarantine
Interesting, I hope scr.im is just temporarily down and not permanently offline. My email is freedomben at proton mail dot com
Not yet, but I think our role will get more and more "meta"
We're in a constant state of signalling. Think some book mentions that most of our actions are driven by our need to signal or convey something to parties.

So, I'd argue we are always "selling" ourselves in one way or another, both unconsciously and consciously.
Adventures in Deno Land
Why with HHVM? PHP7 is pretty fast, I believe the fasted non-compiled language there is.
I've not spent much time, but I've never exactly understood what Presto is. Is it just map reduce across databases?
I thought it was entertaining had a good bit of history. It does a good job of empathizing with the reader and then shedding light on why they might want to change their opinions on PHP.
ha ha, maybe we'll have a.i. hackathons soon :-)
I'm just seeing big blank spots where I suppose there are supposed to be Twitter embeds in this article? Anyone else?
In fact, skip all the natter about subtypes and the like and think _purely_ in terms of class invariants.

A class invariant holds at the end of the constructor and the start of the destructor and at the start and end of every public method.

A class invariant check for the child class _must_ invoke the class invariant check of the parent class up the class hierarchy.

And that is the point and the whole point of the exercise.

You can utterly rely every on instance of the parent class or any descendent class obeying the class invariant for the parent class.

This allows you to reason about a broader group of types without getting bogged down by concrete details.
I had a pet owl one summer. It would perch on my arm. It used to land on my sisters window and walk back and forth to get fed I guess. (We had windows that pivot up and out.)
They are not open sourcing the 25 year old games, they are open sourcing a small part of the enhanced edition (now in presale) to enable modding.
You’ve just summarized my thoughts on Elixir after using it(and still loving it) for years. Thanks :)
You mean personality disorders? I think they are something else.
It does in the sense that you won’t be able to control the websockets payload, so the target server generally won’t respond. The problem here is that the information leak is happening prior to any data being sent over TCP, so the fact that the server will drop the connection as invalid doesn’t help.
> Mitigating this could be as blunt as setting DNS TTLs to 5 minutes, then putting "sleep 300" at the start of each server's shutdown script. When you decide to kill a server, first kill its DNS record so that nothing refers to it anymore, then start the waiting period before actually removing it from rotation.

If I had a dollar for everytime traffic stopped to an IP after the DNS ttl expired, I wouldn't have any dollars. After taking IPs out of DNS for www.popular site, I would continue to see traffic for weeks, and the TTL was set for somewhere like 5 minutes, an hour tops. Edit: also, when we moved our authoritative DNS, the old provider kept seeing queries for at least 6 weeks.

If the only thing preventing you from sending private data or receiving trusted data is that it came from an IP you got from DNS, it's not secure.
It is not the engine source that is released, just the "engine plugins that specialize generic RTS engine into Red Alert / Tiberian Dawn".
There is no web framework out there which comes with such elegant concepts, syntax and feature-richness like Laravel. I have seen them all - Laravel is incredibly good, especially for small - mid sized projects! And this statement comes from a python guy.
So, taking into account they are one of the largest publicly traded companies in the world, what could they do to start earning your trust?

If the answer is nothing, then logically they should disregard you and carry on.
This is an unfortunate truth. People aren't waiting to cheer you on as soon as you release a work.
I believe that's standard and well-understood; Quake's source code has famously been GPL for decades (thanks, Carmack!), but all the data files (e.g. art assets) remain copyrighted.
It doesn't really matter if the Skylake architecture is still what Intel is offering in its contemporary products.
Oh yeah I remember <pretty big accounting app> which used OLE hacks to use word, excel and access as a backend
That's precisely why many vaccine producers are seeking partnership and starting manufacturing at risk.

As an example, Moderna teamed up with Lonza (and also got a big grant from BARDA). Oxford / Vaccitech has deals with Astra Zeneca, Merck, and a few other manufacturers.
Movement restrictions causes financial difficulties for companies, which cause job losses, which can cause depression. All this can take time.
I created News Flash because I wanted a way to keep up with the latest/best articles in specific topics I'm interested in, and I figured other people might too. As an added bonus, it also allowed me to sharpen my Natural Language Processing and text analytics skills in Python.

There are currently 3 free News Flashes (Data Science, Blockchain & Crypto, and Internet of Things) with a few more free ones on the way.

There's also a couple of paid ones that I'm testing out and a custom one where you can specify whatever topic you want (given that there's enough articles published about the topic on a weekly basis to be able to generate it).

Would love to know what you guys think!
Only problem is that a lot of apps are being run “in the cloud” over Citrix these days. Suddenly all you have is a streaming image.

Sometimes you can work with the x and y coordinates if you resize each screen each time.

Sometimes that can be very fast because you can click on the controls before they’re even drawn on your screen.
I personally know a merc, so they're more common than you think.
They might think you expect them to dislike it. Also, maybe they fear if they say they like PHP you'll take points off.
pick a random language, ruby, python, javascript etc etc and you'll find similar rants/complaints. Yet I think right now it's cool to shoot on PHP therefore everyone is more vocal
If anything, I find that I am more often tempted to try and go off of them when I shouldn't or at too quick of a pace without tapering since the side effects of most anti-depressants are not pleasant.
> "Selling" yourself is distasteful for many, because it smacks not only of loudness & brashness, but of straight up lying.

Selling is often conflated with trying to trick people into doing something they don't want to do. This is ultimately counterproductive. Selling is helping others get what they want, and in return you get what you want.
Check out living standards in North Korea vs. South Korea. Taiwan vs. China. Western Europe vs. Eastern Europe.
There is. I have done F#/C# interop before.
Yup. Used elastic IP addresses are mostly free[1]. Unused elastic IP addresses are $0.005/hr[2]. Although watch the remapping fee... $0.1 per remapping past the first 100. That could add up.

[1] https://aws.amazon.com/premiumsupport/knowledge-center/elast...

[2] https://aws.amazon.com/ec2/pricing/on-demand/#Elastic_IP_Add...
I’m rooting for Gleam as well. I do wish it adopted the syntax styling of Ruby/Elixir/Crystal though. Either way, it is very compelling.
> as there would be a massive market for a DVCS for Office files

Would there, though? I mean, we HN readers want that, but I don't see any evidence that the average Office user is clamoring for it. Even comparatively crude systems like Track Changes aren't used in my experience as often as they could be, and those are a hundred times easier for non-technical people to wrap their minds around than a Git-like system would be.

I suspect that part of the reason this problem is so intractable is that it's really two problems. The first is actually tracking the changes to the underlying document, which, as you note, is hard enough by itself. But then on top of that is the second problem, which is that you'd also have to come up with an interface that could make the power of a Git-like system comprehensible to non-technical users. And you'd need to solve both problems to have a product that would actually be ready to take to market.
Why do you prefer it over say, Flask or Django?
I think it might even cross compile in some fashion.
Stating the obvious, there’s also these official HN pages on the topic.

Approach to Comments:
https://news.ycombinator.com/newswelcome.html

Site Guidelines:
https://news.ycombinator.com/newsguidelines.html

FAQS:

https://news.ycombinator.com/newsfaq.html
They've always supported their developer ecosystem better than any other company as well. Nobody else has spent anything like the the time, effort and resources they have in helping devs thrive in their ecosystem. Not because "they're good people" but because it's effective.
Hey, now we have a reason to write proper unambiguous code comments :-)
This is because websockets were created after the same origin policy, so they have always sent the origin header that allows the server to filter connections. CORS was only needed because the browsers were adding the same origin policy to HTTP requests that had historically never had it, so they needed some set of rules (and overrides for them) that didn’t break existing websites.
I'm currently on a project building A CQRS system in PHP (not the first time) . I have no idea what you are basing this on.
Restrictions don't do much when it's too late. If they are implemented early, everything goes well.

Compare: italy, turkey with greece
socket.onerror event happens for both cases. But there does not seem to be any difference between the error object that is passed to the these handlers.
This is really cool. However, I doubt it can write more than very simple functions. That may be enough to be useful however. It would be nice if they created a demo page where we could try this out. This use case is a little different than the auto-complete one.
Ah, this sounds like co/contravariance - concepts that I have encountered, (re-)learned, and forgotten countless times.
Well as you can say the same for popup windows which should work for keyboard navigation and voice commands as well, I assume there is a defined class of events that count as active user interaction and I assume that onload, mousemove and onresize do not fall in that category but click, keypress do. Anyway if you focus a button and press it by hitting the spacebar or enter key a javascript click event is triggered as well. So even if you would limit it to click events I guess it would for a large portion of keyboard navigation as well.
I'd be cautious of the claim that CBT is 'as effective as Prozac', or another chemical solution, in general. A cursory glance at the Wikipedia Criticisms section for CBT points out at least several concerns with the existing research[0]. Anecdotally, a family member of mine went through a complete round of CBT, for a mental health disorder, and they said that it seemed mostly just like standard therapy, and perhaps increases mindfulness a bit, but definitely felt it could not hold a candle to standard treatment. I should point out that they followed the protocol quite rigidly, and embraced the therapy with an open mind.

No doubt CBT has varying effectiveness between individuals. Somewhat tangentially, I find this[1] article cited in the Wikipedia page[0] to be an interesting read; a meta-analysis of ~70 studies, showing a seeming decrease in effectiveness of CBT over 30 years.

[0] https://en.wikipedia.org/wiki/Cognitive_behavioral_therapy#C...

[1] https://www.semanticscholar.org/paper/The-effects-of-cogniti...
While we are at it. The United Kingdom should return all the artifacts it stole from Egypt.
That would go a long way, but note that AWS limits you to 5 IPs per account per region[0] by default, and charge[1] $0.005 per Elastic IP per hour for EIPs that aren't attached to a running instance, and $0.10 to transfer an EIP from one instance to another. So, if you want to keep 1,000 EIPs around to map to ephemeral VMs, and you're not actively using them, you'll be paying $3,600 per month for those alone.

One could argue that this is pocket change for a large customer to do the right them, but from a PM's perspective that $40K per year they could be spending towards another engineer's salary.

[0] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-...
[1] https://aws.amazon.com/ec2/pricing/on-demand/#Elastic_IP_Add...
> Myopia is somewhat genetic

That conclusion is can't be supported from the above fact alone.

It could be a development disorder with a certain probability of occurrence given other non-genetic factors.

Perhaps some pre-industrial people didn't get enough sun time, because they spent too time at home reading. Others had physical eye damage from work activities, etc.
I think most trucks have this feature now. My tacoma has a couple outlets in the bed as well. I've seen it on a few different american truck brands too.

It's been a handy feature for me
Its basically a compute engine that maintains all state in memory and does distributed computations similarly to Spark.

The big thing it adds is that it isn't stuck to any storage format. It has a connector that lets you load data into it from basically anything, from mysql dbs to hdfs files to whatever. So you can do cross database joins and just not care about where the data lives. You can also output to almost any database too.
WebPerl
I seem to remember that they've said it's because they think that their kernel driver has higher perf than KVM on latency sensitive I/O.
I've got a script somewhere that auto saves notepad. I sometimes wonder if it's marketable
Tells you that people with a goal to accomplish don't need to have their tools dumbed down for them, despite what modern UX trends would have you believe.
Sure, but they also launched Microsoft Teams as an Electron app, and rebuilt Skype in Electron. Not to mention, the famous VS Code is Electron—you could argue Microsoft bought that one, but they've had ample time to transition it, and have not.