skysight-inc/HackerNews huggingface dataset:
Think of it this way: spec gives you an easy way to ensure that your data conforms to arbitrary predicate functions.

Suppose you have an XML format, <library> that has books and authors[1]. The elements look something like this: <book author-id="0000"/>, <author id="0000" name="Plath"/>. Obviously, you want to make sure that book's author-id attribute will always refer to an author that actually exists. This is something a (Java-style) static type system can't do: it doesn't know at compile-time what the contents of a variable will be. But spec can do this because it is a runtime check[2]: you'd just write a function that ensures all author-ids refer to extant authors and register it with spec, telling it that this must be true for valid <library>s.

As for your example, I don't think that is a use-case that spec was intended to handle. You could write a spec to ensure that an object has certain properties/methods, but I'm not spec would be too useful for a function invocation on that object.

[1]: For a worked out example of this in spec, see a blog post I wrote: https://lgessler.com/posts/2018-07-12-choosing-the-right-too...

[2]: It sounds expensive, but there's a compiler flag that lets you turn off all spec checks, so you can have them only run in dev builds if you like.
What I Learned from Making Hot Sauce at Scale
This is actually a fun case to read, I was mainly looking for what the dissenting opinion was, since it was 4-1.

I think at least one of the points can be appealed in the federal courts, if the US Supreme Court would be down to hear it - so there would be several gambles.

> In any event, as held by the Ninth Circuit Court of Appeals in Navajo Nation v. U.S. Forest Serv.
, 535 F.3d 1058, 1077 (9th Cir. 2008) RLUIPA “applies only
to government land-use regulations of private land such as zoning laws not to the government’s management of its
own land. Therefore, this point of error is without merit.

Not that the government would ever cede control over its own land, I just feel like the current Supreme Court would be more lenient to religious arguments.

All the rest of this particular case ignores the religious arguments and focuses on the procedural stuff, which was all done by the book and expected of a state and federal permitting agency, at least compared to arbitrary claims by religious folks.

Now on to the dissenting opinion:

I gather no real rebuttal, just a partial affirmation to "points I-III" and no comment on the other points. hm.

Applauds from me.
React Native vs. Ionic vs. NativeScript: A Practical Guide
(Although, if you anticipate this, you can call the ref (e.g. `(#’foo arg)`) rather than the function `(foo arg)`. But this means that you have to plan the dynamically modifiable parts out ahead of time.
> infringing on the sovereignty of the Hawaiian kingdom

Is there actually any legally recognized sovereignty for Hawaii or native Hawaiians? Tried doing a quick search but it all came back with an ongoing sovereignty movement but nothing similar to the Native American tribes.
where can I buy these?
You seem to have misread me. Which ideology do you think I was criricizing ?
The UI of the monzo app is actually pretty good on a small screen. I've never felt I need to use a desktop to view it (same for the "traditional bank" app I use too to be honest - going desktop doesn't really add anything since its just a table of numbers really).

The reality is that you never really use the app anyway apart from very occasionally. The "UI" for this bank account is the card itself.
Almost all the pencils in my childhood were red. The manufacturer was Berol.

Of course, my schools didn't necessarily buy the highest quality pencils for the children, and they probably all came from the same supplier.

The high-quality ones, which a relative who was a draughtsman used, were dark green [1]

[1] https://www.ebay.ie/itm/12-x-Berol-Venus-H-Fine-Quality-Writ...
Yes, and the American people are allowed to talk about that, protest it and discuss it without being imprisoned. The knee-jerk "whataboutism" in discussions like these does nothing to help.

While I understand the desire by many to hold the US more accountable, combined with the instinctive "love the underdog, hate the champ" philosophy that shapes the narrative of the global left wing, keep in mind that China's current state-capitalist structure is, economically, much more similar to Nazi Germany than to any Socialist or Communist state of the past.
With even that kind of 'character set art', things have got quite advanced, see Caves of Qud or Cogmind, which have a lot of visual flourishes.
That table is expressly from the point of view of an English speaker; I'm sure it would look very different if written for Arabic speakers. Since it's largely a function of similarity to your native tongue, how would we even measure if a language is easy or hard to learn?

And what counts as "normal language classes"? Until at least high school in the US, every class other than math focuses on reading and writing.
I like the idea of having the agent be attracted to the unpredictable, but I guess there should be something to ensure that unpredictability doesn't dominate which action is selected. For an interesting/funny example check their two videos: "Agent in a maze without a noisy TV" and "Agent in a maze with a noisy TV"
TIOBE is a joke.
> BTW, ignorant is not a pejorative term. If you think it is you are ignorant and you need to go look the word up in a dictionary.

Did that. The Merriam-Webster, in fact. Here's what they said:

> There are several meanings of ignorant, all of which are concerned with a lack of knowledge in some sense; some of these are more insulting than others, and care should be exercised before applying this word to people who you do not wish to offend. Saying “They were ignorant of most of the laws of physics” means that the people in question did not have a specific body of learning. Saying “You are an ignorant person” is possibly describing someone as primitive, crude, or uncivilized.

https://www.merriam-webster.com/dictionary/ignorant

I'm going to resist the temptation to call the original author ignorant since I don't want to spawn some sort of infinitely recursive ignorance-accusation chain. Instead, I'll call him unintentionally rude.
So this means that a damp fabric should appear darker than the same fabric when dry, but if you and the fabric are both completely submerged in water, then the darkening effect should go away and the fabric will appear as light as if it was dry, since there is no water surface on the fabric itself?
Thanks for sharing your story. I agree with all of your sentiments.

What was the turning point for you in deciding to put your life together (if there was one single moment or realization)? Was it getting married and having the responsibility for taking care of your new, young family? It must have been hard to dig out of depression in what probably seemed like a hopeless situation at the time.
There really is no good reason in the spirit of unicode not to have actual emojis for more bodyparts, including genitals.
Right, I'm sure even people in antiquity thought bodies and poop were funny.
No? Salaries ought to be compared in real values. This is econ 101. The author made no claim his figures were in real terms. He gave the nominal amounts and that is quite clear in the post. It's up to the astute reader to convert them into real values based on the purchasing power of the nominal amount provided in their locale.

Your claim was that

> HN is full of West Coast FAANG SV employees who are outliers.

There are two ways to interpret this claim. Way 1 is to assume that you are talking about West Coast 'FAANG' employees being outliers in the sense their nominal salaries are outliers. Way 2 is to assume you claim that West Coast employees are outliers in the purchasing power sense.

If I assume way 1, then your claim that 'it's easy for people to feel their salaries are low' doesn't make sense, because salaries would be compared in real terms. Moreover, the SV employees wouldn't really be outliers. They'd be perfectly average.

If I assume the latter, which is that the salaries are outliers in real terms, then what I said stands: if someone else is making more money for the same job, you're probably being underpaid.
https://news.ycombinator.com/item?id=18317591
AWS Price Calculator(new)
The Monzo founding team all used to work for Starling. They all got fired on the same day, and now run a better bank.
I think perhaps this is a side-effect of the barrier to entry being lowered so far that it's feasible to be a single person game developer, and I think being a single person anything that requires for technical skill and artistic ability is hard, but also easy for an individual to fool themselves about (at least for a time).

I think in most industries where individuals can actually contribute usefully, the industry develops a way to supplement these people and make up for their shortcomings. For example, the talented singler, musician, songwriter, or author will find that if they look around (and are lucky and or actually talented), there are structures in place to help them find the feedback (or additional people to group with) that they need.

Perhaps indie game development just isn't quite to that maturity yet. Then again, the game industry seems both cutthroat and dysfunctional enough that it might take a while before something like this can develop.
Thanks, TIL
> In the Times story, DeVaul allegedly invited hardware engineer Star Simpson, who was interviewing to work at Google, to the art and culture festival Burning Man, telling her he and his wife were polyamorous. Simpson attended the festival in hopes it would improve her chances of getting hired — she brought her mother with her and “professional attire,” according to the Times. Yet DeVaul encouraged her to remove her clothing and asked to give her a massage.

> Later on, Simpson learned that she did not get the job, and that DeVaul knew this when she chose to attend Burning Man.

> he thought Simpson had been aware that she did not get the job when she attended the festival.

This is all kinds of weird, and I am not sure how I feel about any of it. It seems like a failure to communicate all around, with some information asymmetry muddying the waters.

On one hand, what the hell are you discussing your sexual relationship with your wife to an interviewee for? How does that come up in an interview process?

On the other hand, Burning Man is not a place one goes to for professional reasons. Unless you've been under a rock, you know what Burning Man is, and what goes on there.
easier to read -- https://telegra.ph/The-Little-Known-Reason-Pencils-Are-Yello...
I'm curious if Amazon will find motivation to rebuild Amazon Linux, it being based on RHEL at the moment.
It's not really about Java interop, it's about low level procedural code - Clojure doesn't really look nice when doing it. It does a lot of stuff nicely but there are cases where it just feels wrong to use.

But your second point is pretty much the reason why I wouldn't use Clojure in a bigger environment.I had the misfortune of working C# on a project where some smartass decided it was cool to use Maybe monad in C# using LINQ (something like https://github.com/louthy/csharp-monad)
First it provided no actual value as the code was harder to read, but ignoring that - most of the developers didn't get it and just used it enough to get shit working, it was a hell to debug and maintain.

core.async is public and in core - but what about when your team meber X decides to implement that - and now he sprinkles that shit all over your codebase - people keep using it because they don't want to argue. Clojure really lends it self to that kind of a thing where you do that "smart thing" to solve "that one problem" that ends up being a pointless mess that's hard to maintain and reason about.
Wow, small world.I think this is the same girl who was arrested as a suspected terrorist a few years back because as far as the BoPo is concerned, exposed circuit board + blinking lights = bomb.
It renders correctly on my Pixel 2, in both Chrome and Firefox. Up-to-date stock firmware.
Depends on individual and outgoing mine has 2-4k I am not aggressively filling my ISA's at the moment so it might as well sit there.
I'm not sure what your point is in your last two sentences. Should the US not defend its interests against foreign powers?
Show HN: Slack integration in 1 LOC
Step Functions and Lambda Functions in Serverless Smart Radio
this is on the front page, please check for duplicates before submitting: https://news.ycombinator.com/item?id=18342042
I've seen thru goodsuniteus.com, corporations are pretty divisive.
FWIW, React is a built-in feature of the new Arc-in-JS port. Here's how it looks:

(<a> href: "https://news.ycombinator.com" "Hacker News")

That lets you merge s-expression syntax with React syntax quite nicely.

(<html>
(<body>
(<div> width: "100%" "Hello, world")))

Here's the output of a REPL session.

$ rlwrap bin/lumen-node

> (load "arc.l")

> (print:compile:expand '(<a> href: "https://news.ycombinator.com" "Hacker News"))
React.createElement("a", {href: "https://news.ycombinator.com"}, "Hacker News")

> (print:html (<a> href: "https://news.ycombinator.com" "Hacker News"))
<a href="https://news.ycombinator.com">Hacker News</a>

> (print:html (<html> (<body> (<div> width: "100%" "Hello, world"))))
<html><body><div width="100%">Hello, world</div></body></html>

> (print:html (whitepage "Look ma, no Racket"))
Warning: Each child in an array or iterator should have a unique "key" prop.

Check the top-level render call using <html>. See https://fb.me/react-warning-keys for more information.
in body

<html><body bgcolor="white" alink="blue">Look ma, no Racket</body></html>

You can see it's actually JS, since you get all the same warnings that you'd normally get in a node repl. (It's literally running on Node.)

And (print:html (msgpage 'shawn toofast*)) spits out a page saying "You're submitting too fast. Please slow down. Thanks."

I find it much easier to generate HTML than traditional methods, and much more maintainable. But it's not fair to claim that something new is inherently better. Time will tell.

I'm most interested in any unexpected warts, but there don't seem to be any so far.
Spiral binding is the solution, but it looks ugly, there is no spine area anymore and the pages rip out more easily. Good for technical manuals, less so for fiction.

I do actually have a few 'publishers proof manuscript' (presumably for pre-press copy editing and review) spiral bound copies of books that I found in a second-hand shop, and although easy to read, the pages got crumpled and torn very quickly when I transported them in my backpack.
Well such is the nature of anecdotal experiences. I've noticed, that I react faster then others. No idea how universal this correlation is.
Yeah it’s not great. But I don’t have a CS degree. I was brought in off the street with an Econ degree to be a super junior DBA and spent a lot of time warming a seat as a migration admin. Then moved on to EDW work but the chance to move wasn’t entirely motivated by money but by what else’s I could learn.

Then I moved to Germany to try my hand at a startup to gain more experience.

The pay could be better but that’s not my entire goal: loving what I do is important and having a good work life balance is too.
Salaris en bonussen worden exact hetzelfde belast bij de jaarlijkse afrekening, net als je vakantiegeld en je eindejaarsuitkering. Allemaal hetzelfde.

Echter wordt er gedurende het jaar vaak over de bonus tegen het toptarief ingehouden als voorzorgsmaatregel dat je in ieder geval geen extra belasting moet betalen aan het eind van het jaar.

Geen wezenlijk verschil dus.
My mother (a white woman walking alone) was held by armed guards just outside Lagos, Nigeria until her male "chaperone" came to get her.

They also charged him money for the exchange.

Sorry you feel I am perpetuating a negative "myth." I might agree that it is a stereotype, but it is still true. This was 2 years ago.
I'm a very anxious person and my mind is always going a million miles an hour. I have find the occasional light usage of marijuana does wonders for me.
We did have yellow pens in Germany, but thinking back on it, the forest green of Faber-Castell [0] was the color I would associate with pencils the most.

[0] https://www.faber-castell.com/products/GraphitepencilCastell...
I wonder if Dijkstra used paper clips or rubber bands for "linking". (CS =/= Programming)
>Clojure code bases tend to be much smaller than Java.

What are the reasons for this? FP language vs. OOP? Less boilerplate (again maybe due to FP)? Higher-level abstractions in the language or libraries?

I have seen that F# code (another FP language, although I've read F# is more from the ML family via OCaml, vs. Clojure being from the Lisp family) can be significantly shorter than equivalent C# code, for example, as shown in some comparisons on the fsharpforfunandprofit.com site.

Interested to know.
> Perhaps one of the existing structures could have been removed to make room for the TMT, to lessen conflict.

TMT project will in fact remove three old telescopes.
Very relevant to something I am experiencing now. Thanks for sharing
Well, yes, that's the issue at hand. Probably legally you're just as correct as that issue recently where a bunch of tourists were stomping all over some hills that were sacred to Australian aborigines, but according to the Australian government were legal hiking paths. The most, legally, the aborigines could do was put up a sign saying "these hills are important to us for religious, please don't walk on them."

There's a lot of issues going on right now that draw the majority of my energy (climate change, propagation of hate, etc), so unfortunately I can't bring myself to look into or exert effort into the moral debate of natives' rights, but I think it's a massive issue with huge implications and not nearly so clear-cut as some of the other ones we're dealing with (i.e., climate change is straightforward easy to argue about).

The issue, as I see it:

Take Native Americans in the USA. Outside the written-law rights they have regarding their reservations, one could argue their sovereignty was violated if, say, a plot of land bought in the 1600s (off-reservation) that happened to include a burial mound was developed on. One could also argue that, yes, their sovereignty was violated, but they failed to defend their sovereignty, and so it was relinquished (I don't like this because I think seizing via violence is fucked). One could also argue that they aren't the prime sovereign claim to that land - one tribe might have warred and taken it from another some 500 years prior, so why should the most recent tribe be considered the morally "sovereign" authority on the land?

Which brings me to the point that really concerns me: Taiwan. Populated by natives that were mingling with mainland Chinese for centuries, before a total Japanese takeover. Japanese sovereign territory (by violence). But then, mainland Chinese take over, uh, "back again?" Maybe? Arguable. Either way, another violent sovereign takeover. And finally, a civil war in China between two political parties, with a huge swath of one side fleeing in defeat to Taiwan. Is that even a sovereign takeover, or a political shift? And what of the aborigines, during this time?

Now China is claiming sovereignty over Taiwan, and from one point of view, they kind of do have a claim - Taiwan was technically Mainland Chinese territory, given back after Japan lost the war, and the Communist party did overthrow the Democratic party. However, the Communists did not successfully completely terminate the Democratic party (which is great because who wants more death), so on the other hand, I can see why ROC(Taiwan)'s claim to the island is also legitimate.

Either way, I'm terrified PRC will enforce their self-proclaimed sovereignty over the nation (which is effectively non-existent at present) using violence, which I'm not sure ROC(Taiwan) would be able to withstand, and then I'm worried afterwards the rest of the world will let China get away with it for the slippery sovereign arguments listed above.
I don’t really think we should mandate anything.

Also Amazon’s shareholders do not democratically control the company, so most shareholders are beholden to the board of directors and the few very wealthy large shareholders.

While I do not propose mandatory changes, I think it would behoove us to consider how current power structures affect our freedom and the freedom of others. Amazon has a lot of power over us.

What I advocate is that, if we find the current arrangement problematic, we construct alternative power structures that are democratic in nature. And we use those power structures in lieu of centralized corporate power.

If a single democratically operated company got very large and used its power in anti social ways, I would again advocate that people consider seriously the affects of that power and change their support as needed.

I do think, however, that the “problem” of large democratically controlled powers is a better problem to have than large centrally controlled powers, so it would be an improvement nonetheless.

Ideally, the democratic corporations would also make collective decisions through a congress of rotating company representatives. This would provide some forcing function that would reduce anti social behavior in a single corporation, at the risk of trade embargoes.

What do you think of that?
Do no evil apparently does not extend to doing the right thing. It should not take publicity to force companies/people to do the right thing.
It's just so interesting to hear that I have an immediately identifiable accent when I don't even think I have one, so weird. It feels like you have a competitive advantage that I cannot easily copy or get back at you with :)

Perhaps this is also how folks with "real" accents think too (that they can't hear it), but I gotta feel like they can recognize that they sound different from the "people on TV". My wife did however tell me that in a phone conversation with a US colleague that she immediately heard herself sound obviously Canadian after saying something, but I think it was more phrase based, a question followed by "eh?". "Ok, I definitely heard it that time" she immediately said.
Zombie Newton
I'm aware of the difference between the Chinese government and the people of China in the same way I can distinguish between the people of Russia and their government. Same for Germany, the US or any other country. This race card play is diversionary.
Only if you forget to account for the level of risk.
I am curious as to why Microsoft would release a post just two days ago about a dead plugin written by one of the developers of said plugin?
All their posturing and positioning lately is looking more and more like over compensating.

Cut out this sort of crap first.
Citation very much needed :)
Also blue. Staedler was blue, with a black top.
Hi. Jorge from Basilica here.

We don't have any concrete plans to tackle this right now but it is something we're definitely mindful of. Thanks for the links! We'll be sure to go through them.
Horrible analogy. If Ford had to approve every ignition/engine start request and they had a breathalyzer installed in every vehicle that would send the blood alcohol level to Ford's API and required a signed response before the engine would start, maybe you're getting close...

Facebook put in a "vetting" process and requires everyone to go through it to publish ads. On the other hand, anyone with enough cash can buy a Ford (even second hand from a 3rd party), get drunk, and drive through a few neighborhoods causing death and destruction.
They plan on using ion thrusters: https://www.reddit.com/r/spacex/comments/8iy7pv/why_is_space...
That would be unfortunate for people working with or discussing Egyptian texts. It's not like this is an uncommon symbol in hieroglyphic texts.