skysight-inc/HackerNews huggingface dataset:
So...eh.

Ruby has the easiest data access tools, between ActiveRecord and Sequel (which I prefer), out there. I don't know too many folks who'd disagree with you about that. But where you're happy with Rails taking a few lines, I am as of late big on Kotlin (because I agree with you regarding Java) encouraging me to be correct. I'm building a new product using Spring Boot, Kotlin, and JDBI and while, yes, there's boilerplate - it's not the thing that slows me down. I liken it to touch typing; I don't worry if a programmer can't touch type because getting text onto a screen is never the slowest part of the process.

The thing that slows me down, as it does whenever I'm programming, is thinking, and I've learned over time that Ruby doesn't really help me with that. (A lot of other toolchains, both statically and dynamically typed--hello, TypeScript!--do.) I just don't worry about writing a query with a join - it forces me to understand my domain while I'm writing it, not when it runs and bombs out with an error because I mistyped something or got the relationship wrong in my head because my IntelliSense doesn't exist.

It depends on what you're prioritizing. I went back to the JVM for this project in part for perf, but also because I have a pretty high bar for correctness and I want to make sure my stuff works without writing in/out tests for something as simple as types.

Horses for courses.

(Also, I would submit that the frontend SOTA for "Java" is React, FWIW, same as almost anywhere else.)
SpatialOS streaming Unity seems broadly equivalent to AWS hosting MongoDB. Especially in that it undermines Unity’s (i.e. Mongo’s) ability to sell a hosted equivalent product (whether or not that exists yet) and it leverages some of Unity’s value into rent for Improbable. Now there’s a difference in that SpatialOS is adding meaningful value - but it’s not necessarily their’s to take.

Ultimately this is Unity’s platform and they control it and its future direction. I suspect that more value can be delivered to both parties if they reach an agreement - SpatialOS is really cool! What we’re seeing here is presumably a strong negotiation tactic from Unity - they want to continue to own the relationship with their own customers - hopefully we’ll see some kind of agreement in the future.
>I so wish the Linux community would get its act together

That's needlessly rude.
No reason you couldn't render a scalable font at a particular size to make a bitmapped version.
This makes a lot of sense, and I'm glad it's finally being treated in this way.

There's 100% nothing wrong with being a man, and there's nothing wrong in taking pride in it. There is, however, a ton of societal pressure to do dangerous, harmful things to ourselves to "prove" our manliness/masculinity. Ignoring pain and sickness because fear of being weak, taking a lesser role in the development of our children because it's seen as girly, harassing women because it's "what guys do", doing dangerous stunts to impress the guys; these are all harmful behaviors that are all rooted in a need to appear masculine.

This is toxic, and we need to recognize that without getting defensive over it just because it's what we know. We can do better for eachother and ourselves and recognition of this fact is a necessary first step.
But HN is not only for science, is it?
HN isn't limited to solely science articles. Anything submitted and found interesting to the community is of course welcome.
As an outsider: are these guidelines of any consequence in practice?
I still use ISC DHCP client due to enterprise DHCP using some esoteric DHCP Options that systemd cannot do to this day.
Of course — the same can be said for terminal programs or Windows apps run via virtualization. Those are not "Mac apps".
Why would you dismiss evolutionary psychology outright? Case in point, rabbits are typically extremely skittish, and that seems to serve a function. In chimps, overly aggressive males tend to dominate packs, but if they're compromised in any way, the other chimps tend to brutalize them. The entirety of most complicated animals' mate selection process is highly predicated on psychology...why would human psychology not be subject to similar systems?

It's easier to go with the psychology of women, as they're the "discriminate selectors," in most species, and humans are no exception. If you disagree with this, you are not aware of dating site data. A good example of a psychological trait involved in attraction is that a woman will often find a man having a good sense of humor as being sexually attractive. A reasonable cause is that a good sense of humor is often a proxy for intelligence, pattern recognition, and creativity. Finding this to be an attractive characteristic very likely assisted in the evolution of the species by serving as a basic proxy for useful survival attributes.

Unless I'm misunderstanding you, it strikes me as odd to simply dismiss an entire element of gene expression as somehow not having been subjected to similar principles as others.
Has 'non-traditional' masculinity been studied long and extensively enough to do an outcome comparison with the 'traditional' one ?
Hmm-Filter: Boost Predictions for Sequential Data with Hidden Markov Models
Except they're not built the same way? There's significant differences in psychological and physical factors.
There’s validated data types and unvalidated data types.

“Our logs are stored as newline-delimited JSON objects.” No, it’s improperly escaped so it’s actually a JSON-like string of unknown character encoding.

“This is a postal code field.” Nope, it’s a user-generated string that occasionally converges on something approximating a postal code.

“This is the user’s IP address.” Well I clearly see localhost in here so unless folks are browsing the site from our servers, this is “sometimes” the user’s IP address.
Most of us are proponents of a secular state clearly separated from religious practices, and social justice believers are religious [1] with the extra flair that they seek institutional power to enforce their beliefs in ways that violate this principle.

Do you believe we should not have a secular state where people can inhabit all sorts of conflicting beliefs in the religious spehere, while resolving their grievances through the law?

[1] https://areomagazine.com/2018/12/18/postmodern-religion-and-...
I'm not a psychologist but to my knowledge the study of the subject is to a large part statistics which is seems pretty much there to cover these points.
I've only been using GNU/Linux since around 2000. I started on Slackware 7, then I was on Red Hat for a while, had a Gentoo phase, and then Debian was my main choice for a long time, although I used Ubuntu on some computers...

When the first Intel MacBook came out I was 17 and bought one for all my savings. I thought it was really amazing to have a beautiful laptop running a polished desktop Unix-like. But I always had a stationary Debian computer too.

I never really liked GNOME or the other desktop environments. For most of the time I've just used Ratpoison (or stumpwm) with GNU Emacs and a few terminals. That way I feel way more efficient and less distracted; even on Mac OS I usually maximize everything into a separate workspace, or now occasionally use the new split-screen function.

Sometime right around when I started doing coding for a living, after university, I drifted away from GNU/Linux. I just used MacBooks and iPhones. Of course I still used GNU Emacs. But the Apple ecosystem was basically fine for my rather ambient computing needs at home. My workplaces used either Windows or Mac.

But then in 2015 I got my first GNU/Linux laptop and installed NixOS which I had used on some servers and fallen in love. NixOS pretty much reinvigorated my love for GNU/Linux, and I love it again.

I still have a bunch of Apple products. I treat them as separate lineages with different strengths and purposes. The NixOS machine is for serious hacking, and then I'm satisfied with letting the Macs handle photos, playing DRM movies, all kinds of random stuff. I use an iPhone and some Mac apps that sync with iOS, etc.

But my NixOS machines are awesome too, and they're the ones I really love — basically because of the freedom, in the FSF sense. I know they're not doing weird stuff behind my back, I know I can hack them freely, and I can configure them exactly like I want them.
Avo: Better X86 Assembly Generation from Go
I do too. But what I've noticed is that those types of people tend to get ahead in their careers at most companies I've been at. And with some companies -still- doing stack ranking, I guess that behavior is encouraged.
I started using X1 Carbon 6th recently and it's an amazing little machine. Extremely portable (a 14" that weighs 2.5 lbs and fits in a 13" sleeve), great keyboard, great Linux support, good display, and it runs very cool (the fan is never on, despite running multiple virtualbox instances in addition to regular work that causes sporadic CPU spikes - e.g. compiling).

It's also very pleasant to touch and hold in your hands, especially if you like the Thinkpad aesthetics.
The USA put sanctions on us and funds the opposition. Guess we better suspend all civil liberties and throw our country into poverty via mismanagement and corruption.

How is it the US's fault that they hand over expropriated industries to cronies, that Maduro's family are drug smugglers, that one of his top ministers is a Ba'athist, that Chavez's daughter is one of the richest people in a starving country, that opposition leaders are in prison, etc etc etc
Sounds like bs to me. Just some more far left rhetoric disguised in another insidious semi intellectual garb.
That seems to work just fine under X...
It’s not about pretend science IMO.
I meant NOT built the same way. Sorry
I suppose you could use your window manager to bind super+[xcv] to your favorite clipboard program.

Personally, I love that all the software I have used in Linux does nothing to encroach on my super+* keybindings.

I also love having a secondary clipboard that feels more permanent (ctrl+xcv), while having a quick and dirty one (select middle-click)
In the face of ecological collapse, diminishing living standards, and increasing authoritarianism I fail to see how stoicism is anything but healthy. To overcome challenges in the present and future we need fortitude, calmness, and patience rather than panic.
They're saying that men end up constraining themselves. Men could achieve a lot more without the constraints of masculine social mores.
Thanks!

Yes, we're currently hosting public keys.

> Is a self-hosted version of the same possible?

The honest answer is, we're not sure yet. It's our strong ambition to make Fluidkeys into an honest, you're-the-customer business, and we aren't sure how we'll license the server. Is self-hosting something your team would be willing to pay for? If so, that might help our business model development! :)

> a) Some sort of "paranoid" mode whereby it would show me peer's key (in some form) so that I could, if really wanted, manually verify it.

This is a great idea. In that mode, it could output the key fingerprint and prompt before sending. Would that work for you?

> b) An option to cache peer keys locally. I assume this is done already and that the local cache lookup is given a priority over the registry search. Correct?

Not yet, mostly for simplicity of getting this release shipped. It's currently pretty naive (and I'm not thrilled about it): the key lookup API call is done every time you send a secret. Thinking of fimiliar patterns, perhaps we should take the SSH trust-on-first-use approach, where we record the fingerprint we saw last time, and warn if it changes? That would make it significantly harder for us to subsequently serve you bad keys.

Somewhat related, there was a good discussion about how to deal with multiple key discovery mechanisms (e.g. local cache vs server response) at the latest OpenPGP summit. Prioritising local cache (say, your GnuPG keyring) can be quite scary too, if you downloaded a key from the keyservers and subsequently realised it was a fake (and don't use web-of-trust which, well, enough said).

Thanks for thinking about this and taking the time to share your ideas.
The issue, of course, is most of the people using Unity are using it because they don't have the ability (or time) to write the functionality Unity provides themselves.
For what it's worth, I read the post with the eyes of a Go player and everything makes sense in Go as well (adapting concepts to the Go equivalent). Possibly it makes sense in any other game of this kind.
Launch HN: Cloud Optimizer – Find the cheapest compute at eight cloud providers
There are multiple terminal-based Spotify players, with the caveat that you need a paid Spotify account to use them (because they're incapable of playing ads)
Constraining people via arbitrary norms is harmful. Putting people into tidy little boxes is harmful to those that don't neatly fit in their assigned box.

The smartest HR person I ever worked with once told me "Your standardized people processes work well for about 80% of your staff. The other 20% is where enlightened, thoughtful management comes into play."
The square upper-right corner of the "e" is an unusual feature that doesn't seem to harm legibility.

I prefer the convention of using a narrow zero to the slashed one in this font though, for exactly this reason.
OP doesn't understand banking.

They want Stripe to close their company's account at bank A (that is not Stripe) and create a new account for their company at bank B (that is not Stripe) not realizing that is THEIR responsibility.
This is sexism. People should avoid labels such as "masculine" or "feminine". How would we react if they said, for example, "traditional jewishness" (is considered harmful)?

I think feminist movement is actively hurting itself by adopting divisive labels such as "toxic masculinity", "patriarchy" or even "feminism". We have gender neutral way of talking about these phenomena, there is no need to invoke gender.
You confuse bias with truthfulness.

The distinction was subject of my comment.
It can be, certainly. But not always, and quite possibly not even usually, depending on what is meant by "achievement". Failing to encourage achievement can also be harmful. The problem here is that one-word summaries of detailed positions aren't useful, and only lead to semantic arguments.
I've set this up before. How many video cards are you trying to use to connect these monitors? I've always had it just work if you are only using one card. In the past I've had to invoke xrandr with the --setprovideroutputsource flag (or was it --setprovideroffloadsink ?) to get multiple monitors to work with multiple video cards. Note, this only works with the open source drivers and you must be using an X server that supports randr 1.4.
Since Mojave, MacOS nolonger does subpixel rendering.

https://mjtsai.com/blog/2018/07/13/macos-10-14-mojave-remove...
https://wiki.sei.cmu.edu/confluence/display/c/MEM05-C.+Avoid...

> This compliant solution replaces the VLA with a call to malloc(). If malloc() fails, the return value can be checked to prevent the program from terminating abnormally.

Wishful thinking. On overcommit-enabled VM systems (pretty much every GNU/Linux desktop and server by default), malloc will cheerfully return a valid-looking pointer to virtual memory even if the system is out of memory. Your process will get a fatal signal when later it tries to use the memory. It will not be prevented from terminating abnormally.

Any page of the memory could blow up. Maybe the first three pages get a frame just fine, but when the process touches the fourth, it faults.

The reason to use malloc instead of the stack is that it goes awry only when the system is out of memory, not when the stack is out of room.
How to write your own virtual DOM
I think it is a little more nuanced. No one takes the tabloids at the grocery store seriously, for instance, and they've been in print forever. But, you'd trust a tabloid story your cousin sent you on facebook to check out. Suddenly you trust that tabloid source since you trust your cousin.
#metoo strikes again
> There is no real magic in Rails

For most parts of Rails, I agree. There is one very important one where I don't: ActiveRecord's internal behaviors are opaque enough at most levels where you care about your database to be fairly called "magic". Having to reverse-engineer ActiveRecord to make my database stop puking and to generate a make developers who know Rails but not databases not get upset that now the solution is insufficiently "Rails-y" (whether or not it is correct and whether or not it is faster than the "Rails-y" method that's causing them problems) is not great.
I don't really get why comments like this continue to pop up on HN. There are many non-science topics that make their way to the front page of HN regularly. Per the guidelines, on-topic submissions do not need to strictly be about programming, startups, or in this case, science.
>But not without effort and competence.

Which most people in this forum have plenty of. This isn't a post saying "Linux is ready for everyone on every laptop", it's that it works for this person using a pre-approved set of hardware, just as MacOS is apparently terrible on other hardware.
The user almost never interacts with any init system, unless they are starting up, shutting down, or doing some weird maintenance. It's an "initialization" system.

Honestly, none of this crap matters at all. You can get by just fine with init scripts, and you can get by just fine with systemd services. Except for a few people in the world who have applications that are really sensitive to either fast boot times or really complex system dependencies, any init system will work.
Gotcha, so it's an effort to close a "run the game on the server, stream video back and forth, and don't pay for client-side licenses" loophole?

I'm surprised to hear that's a scalable model and the terms do seem to read more broadly than that, but it's reassuring that it could be something other than a baldly monopolistic power play.
https://news.ycombinator.com/item?id=6791742
They should add support for the OpenPGP Web Key Directory [1] system. Briefly, the idea is that the public key for user@example.com should be available at https://example.com/openpgp/hu/<blah> where <blah> is generated as described in the document.

Gpg supports looking up keys via this since 2.1.12 [2]. An example of how to lookup and get a key this way can be seen here [3].

[1] https://tools.ietf.org/html/draft-koch-openpgp-webkey-servic...

[2] https://wiki.gnupg.org/WKD

[3] https://lists.gnupg.org/pipermail/gnupg-devel/2018-June/0338...
There are lots of cool books- I have a strong preference for ones like Bobby Fischer Teaches Chess which present problems or walk through games with somewhat conversational commentary.

There are a lot of good suggestions (based on my admittedly limited experience) in this thread: https://www.quora.com/What-are-the-best-books-for-a-beginner...
Ruby the Ruby way:

module FizzBuzz
def to_fb
s = ''
s << (self % 3 == 0 ? 'Fizz' : '')
s << (self % 5 == 0 ? 'Buzz' : '')
s << self.to_s if s.empty?
return s
end
end

Integer.include(FizzBuzz)

1.upto(100) { |i| puts i.to_fb }
I wish this post touched on some deeper reasons that the author was "disenchanted" with Apple. Having dabbled in tiling window managers, terminal music players, and many other /r/unixporn memes, this kind of infatuation with UI candy makes me think that the author's issues with Apple were only skin deep. Many of the things mentioned here (e.g., tiling WMs, emacs _REALLY?_) are not mutually exclusive with macOS.

I run GNU/Linux exclusively on my headless work machines, but I think moving to Linux on the laptop still makes you trade too much (battery life, system integration). I wonder if the author has realized that rebranded ODM hardware (Librem and System76) and a modern Macbook are unfortunately not in remotely the same league.

I DD'd a T420 with debian on it religiously throughout undergrad, and I'm not in a hurry to go back. (I do miss the keyboard sometimes though)
Plus Washington DC, the US territories, and US military bases abroad.
I know it gets lots of accolades already, but "Why Nations Fail" can really help understand why these sorts of things happen.

A lot of people want to look at Venezuela as a place that used to be a progressive country with a strong welfare state, and now it's a broke regime. But it's easier to understand that they never were a progressive country - they never actually had a pluralistic division of power. For a solid decade they could divvy out the benefits of a high oil price. But when times got tough, citizens were not actually given a lot of rights or individual liberties.

To butcher a quote by Friedman (so take it with as many grain of salt as you want), "Countries that put equality before freedom often end up without much of either."
A lot of the instincts around one-sided or surprising contract terms come from consumer protection laws in some countries. Not only is that comparatively absent from the US legal climate, it often doesn't apply to business to business relationships (such as between Unity and game development companies) even where it is present for consumers.
Isn't that always the case with frameworks vs libraries? A database can be seen as a library but you build your entire game on top of the engine which makes it like a framework.
One thing I don't understand is how one species can appreciate the ornamental features of another. Human aesthetic criteria may direct the development of human features, but why do our aesthetic criteria positively appraise the features of many animals that we did not influence? One example would be birds, which are very beautiful but aren't even mammals.
Except that it wasn't. Sexual selection has been well-established as a process within natural selection for decades.
After a certain point, more money doesn't really help the cause
It’s satstics applied to cultural anthropology in its current form, it doesn’t have a hard underpinning and changes from culture to culture. So it’s just relative opinions most of the time.
Oddly, if you are willing to take complete control over the layout and not rely on any default flow of HTML, I suspect it would be easy enough.

That said, the stability of the flow of TeX and friends lets me not worry about anything having changed on me in the past few months/years. I think this has gotten better in the HTML world, but it is still a much shakier foundation.
36 page paper, summarized and simplified to be printed in something mass market. It's pretty clear that what's listed are meant as a combination of things, even in the summary.
This is a clever idea. Unfortunately, it doesn't seem like most mail providers would store something like this.
> I associate terminals with doing work

Most of us Linux users find you a bit odd. That's just how it goes.

The shell is a very useful interface. It allows abstractions that just aren't tractable with GUIs. Many of us have found that those abstractions are quite useful for fun things, too.
> bright-eye kids who were led to think that living with roommates after you've graduated from college is acceptable it all works out.

You realize that a lot of folks who work in SV are immigrants who come from situations much worse than this, right?

Even for Americans: please don't blame the young for the shitty economic situation that they've inherited. I get your point that they shouldn't put up with that lifestyle, but what do you expect them to do? Just not move here?

Once they're here and see that you can demand better compensation, they do move up the ladder.
When would it flip? The minute after they post? No one will revisit something they posted yesterday.
> You have to have strong women in order to deal with masculine men. That's why masculinity is constantly being eroded, and diminished and dissolved [..] because it allows women to be weak. If you have weak men, then you can have weak women. And that's what we have.

- Camille Paglia