skysight-inc/HackerNews huggingface dataset:
The primary advantage of clojure to my mind are the lovely data structures and the interaction with them.

Common Lisp and scheme can implementation them, and through reader macros interact in probably the same ways, but it would always be second or third class.

Second big deal for clojure is the ecosystem.

I'd love a native language like clojure that was driven by a language specification.
I don't think this is going to end well for anyone.

This article by Pando Daily on StartEngine's 2012 demo day lists "Style Club" and not "Style Me Stylish" as she claims the company was called then. [0] From the description there it does seem like it may have pivoted once they got an offer to work with Urban Outfitters but it is hard to tell?

This article has quotes by Mark Cuban which seem like they may have finalized something.[1] Impossible to tell though. Maybe they are just talking about due diligence type things.

Interesting quotes from the article:
-She started mapping out the company in Los Angeles in 2013 and was fully operational by 2015.

-“My job is to support Hilary and give her guidance where she needs it. It’s her baby,” Mr. Cuban said in an email interview. “I love supporting Pittsburgh entrepreneurs.”

-Since the deal, they talk each week and are focused on developing a watching/shopping app to grow direct-to-consumer business.

[0] https://pando.com/2012/09/21/startengines-summer-2012-demo-d...

[1] http://www.post-gazette.com/life/fashion/2016/11/13/Styleboo...
It's the underlying spec for the JSON description of state machines in AWS Step Functions.

https://aws.amazon.com/step-functions/
Japan has giant vertical parking garages with automated lifts. 15 stories, but it only requires a small piece of land. I'm sure you could make some money on that
"This document describes a JSON-based language used to describe state machines declaratively. The state machines thus defined may be executed by software. In this document, the software is referred to as “the interpreter”."

Oh no.
I also really liked this page on bitpacking, which also offers a technique to implement them using only math operations.

http://number-none.com/product/Packing%20Integers/index.html

I recently implemented a bitpacker in a game VM that didn't have bitwise operations, and the math-based version worked perfectly.
So, technically, it is possible that there's an undetected backdoor that has lingered around since GCC 1.0
Octopuses and the Puzzle of Aging
Neat :)

I wrote some very slow code to set/get the Nth bit in an array of bytes.

I was planning on using it for Chess bitboards - https://en.wikipedia.org/wiki/Bitboard, but it could be used for say 8 booleans to the byte.

unsigned char getbit(unsigned char * bits,unsigned long n){

return (bits[n/8] & (unsigned char)pow(2,n%8)) >> n%8;

}

void setbit(unsigned char * bits,unsigned long n, unsigned char val){

bits[n/8] = (bits[n/8] & ~(unsigned char)pow(2,n%8)) | ((unsigned char)pow(2,n%8) * val);

}
huh? https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
exactly my thought, having dug into GraphQL recently and seen a number of talks about it.

Getting over the annoyance of looking at some initial functionality that is misplaced can be quite hard... It's really tempting to just get rid of those as you're bumping up the MAJOR.
I noticed this behaviour in the smaller streets of Hong Kong as well. Makes a ton of sense to me.
Good point, thanks for clarifying.
> But, the battery also sits within a CNC-machined pocket -- a costly choice likely made to protect it from being poked by other internal components. Looking at the design, Samsung engineers were clearly trying to balance the risk of a super-aggressive manufacturing process to maximize capacity, while attempting to protect it internally.

Seems like really vague speculation. Any evidence this is not pseudo-engineering nonsense?
Amazon has also created a ruby gem to lint JSON state machines. https://github.com/awslabs/statelint
Here is what Ian lance Taylor has to say about fragmentation[1]

"Heap fragmentation is not normally a concern with the current Go runtime. The heap is implemented to that large pages are divided up into blocks that are all the same size. This means that the usual definition of fragmentation--a small block prevents coalescing of large blocks--can not occur. "

1. https://groups.google.com/d/msg/golang-nuts/Ahk-HunIqgs/1sOi...
Hi guys. For the past month I have been working on an app because I was tired of using browser extensions + plus some other pane on Word to manage citations.

To solve this, I made something which embeds Google Search and Scholar into Word. When you drag some text and hit search you can search the text for plagiarism, and when you paste any text using the "Cite" button it looks up the sources matching that text and generates the appropriate citation and adds it to the reference list.

If you guys can download or even watch the demo, and give me your feedback I'd appreciate it (negative criticisms welcome)!.
> if you rename f() to g(), then you could accompany this by a refactoring that transforms existing callers of f() to use g()

Decent IDEs can do that, and clang's interested in that space as well: http://eli.thegreenplace.net/2014/07/29/ast-matchers-and-cla...
But he's comparing to reference counting, where you pay a substantial throughput penalty round-tripping to RAM (especially if atomic) and don't get the benefit of a bump allocator.
Shameless plug -- something similar for Android: http://flowgrid.org
Everything at Amazon is like this. You should try to use cloud formation.
The weak generational hypothesis states that most objects are short-lived.

Doesn't this mostly apply to the classical OO style of coding that developed in Smalltalk and early Java? More recently, there have been styles of coding which emphasize pass by value in order to have better cache locality in generated code. The old style of "composition/organization by indirection" resulted lots of followed pointers, resulting in more cache misses, resulting in slower execution.

There is no strategy that fits all when it comes to memory management. :)

There is a nice overall strategy being followed by the Go community here. The emphasis in golang seems to be on pass by value when feasible, and keeping an eye out for reducing GC pressure. This is synergistic with GC optimized for concurrency and short pause times and also synergistic with good profiling tools for identifying the source of allocations.

This strategy makes it fairly easy to first make applications that work, then optimize them. The amount of mental effort is far less than that required to manage memory. The consequences for making a mistake are far less harsh, and correcting mistakes is fairly easy.
Holy shit, is this a joke? Is this what HN has come to?

Followed link. Chuckled at how stupid it was. Expected cynical comments...nope, people are serious.

Wow.

And yes I realize this will be dead. No wonder I stopped coming to HN...
Thanks for your quote from Chogyam Trungpa, I am going through his lectures with a former student of his. Great stuff.
Could you provides some insight into how an SMB who is using k8s would benefit? Most of the people I have talked to don't seem to think it is worth the added complexity. Do you agree?
Well, implementing rotation matrices in code isn't hard, and they should be supported in every mathematical library already.

Even more lightweight than matrices is just implementing the transformation on vector objects yourself: a 90-degree rotation left is R(x,y) = (-y, x), and (-R)(x,y) = -(R(x,y)). In higher dimensions this remains true for any 2-dimension subplane, so R_zx(x,y,z) = (z,y,-x).

Rotation matrices / other formulations become necessary when you're dealing with being able to rotate through any angle.

Though, doing rotations of the matrix 'y = Rx' form suffers mathematical problems like numerical instability and bad behavior. Quaternion rotations or Geometric Algebra's rotors (which are equivalent for N=3, and both take the form y = RxR^-1) work a lot better, and also eliminate a lot of the redundancy in the (skew-symmetric) rotation matrices formulation (4 variables instead of 9, for 3d).
Does that make them more or less dangerous?
Thanks :) https://github.com/wellsjo/JSON-Splora/issues/38
jezdez' proposal seems to be rather reasonable: just force the user to explicitly select yes or no - that gets over the objection that people will be too lazy to opt-in, since the effort is the same. And it removes another source of bias, which is the disabling of the tracking by redistributers like Debian, since the user does provide explicit permission.
You can't just ask customers what they want and then try to give that to them.
By the time you get it built, they'll want something new.

-- Steve Jobs (The Entrepreneur of the Decade, Inc Magazine, April 1989, http://www.inc.com/magazine/19890401/5602.html)
I think the correct legal approach there is to say that you are withdrawing your application to enter Canada. They're supposed to let you go back to the US at this point. I am not a lawyer.
I'm a bit shocked to see this on the front page. That's possibly a comment on me as much as anything.

But this is just really simple bit packing. Is this something many engineers (maybe frontend/JS) don't know about now?
They already emulate a Linux kernel, in recent Windows 10 releases: https://msdn.microsoft.com/commandline/wsl/about
Your tight leggings create a bulge of your genitalia, societal norms don't yet accommodate the visual enhancing of the penis or vagina such that they are prominently displayed. Unfortunately the penis/scrotum are much more bulgey than the vagina.

But by trying to pretend that it's ok for the 'other half' but not you, you're failing to advance your argument - which is that people should get comfortable with your package being prominently displayed. Because to you it is the equivalent of an ass/breasts/pecs being enhanced in some way?

Look I'm all for drinking kosher soda. It doesn't affect me.
Having to adopt my language to accommodate every minority group (of which there is an infinite number) is just too heavy a cognitive load with zero benefit to me. It benefits my friends who ask me but I refuse and ask them to instead accommodate my not wanting to. And I think that's fair?
Do you know why you have to do it as Administrator? It seems like mklink shouldn't need special privileges.
Brilliantly succinct expression for a complex problem.
Um, no. The Canadian Charter of Rights and Freedoms specifically grants rights to everyone and not just Canadian citizens. Except in a few cases like mobility rights where the right is specifically restricted to citizens.

A non citizen can be refused entry but they absolutely have a right to not be arbitrarily detained.
Old man Regan with his finger on the button!!

It seems like the press is just recycling stories with a simple name substitution.
I thought it was more DEC-ish (VMS?).
Tokyo Cabinet and Kyoto Cabinet
Puerto Rico is not a state of the United States.

Puerto Rico is territory of and subject to the jurisdiction of the United States.
I don't think they'd ever make the argument that the content itself is dangerous - but it may give them more information about you, and let them decide that you are dangerous.

At an extreme - if you had a document plan_to_takedown_flight_123ABC.pdf or diary_about_my_drug_smuggling_operation.txt, whether or not the data itself is a threat, it could indicate that you are.

I mean, I think it's bullshit, the same way I think most security screening and border guard questioning is bullshit, but if you wanted to maximize your border security (and keep out, ahem, "undesirables") and don't care about people's privacy, it's perfectly logical.
"... I'm not smart enough to write C code that deals with hostile data off the network."

I just don't believe you for one minute. It's quite easy to guard against unwanted memory access over serial ports and sockets. You have to know the size of the buffer, but that's just not hard.

If you go throwing pointers-as-if-they-were-tokens/handles around and blindly following them, you'll get in trouble.

So don't do that.

If you constrain operation only to valid data ( which isn't all that difficult ) then ( and I ask out of ignorance ), how can they hurt you?

What do I mean by "constrain operation..." yadda yadda? I mean if somebody "misspells" something, you dump the input. Your recognizer accepts only valid tokens. Usually, the tokens are in a table, with an FSM knitting them together.

So the table can be wrong, or the FSM can be wrong. That's it. Recently, all commands were in a simple subset of XML ( by the customer's choice ). That was particularly easy.

I grew up in environmentally hostile environments where you'd lose things like PHY chips and serial port drivers, so this was how it was done.

If you mean exploits in the O/S itself, then yeah - I agree. But then my choice of language is irrelevant.

I won't disagree about the C compiler thing, but that shouldn't be at issue here.
> Now in Windows 10 Creators Update, a user (with admin rights) can first enable Developer Mode, and then any user on the machine can run the mklink command without elevating a command-line console.

So an Administrator-equiv account still needs to be in the chain of events to make this useful on a per machine basis?

If this is the case I'm not sure how this makes symbolic links more useful to me in a Windows environment... ?

By default access to remote (network) symbolic links is disabled . You can enable it with fsutil [0].

Between the need for admin-equiv for mklink and the per-computer requirement to fsutil-enable sym links on network shares, symbolic links are unusable in a Windows environment.

I don't see how this feature changes that.

[0]https://blogs.msdn.microsoft.com/junfeng/2012/05/07/the-symb...

[edit: fixed typo on 'fsutil', 'sym' and 'symbolic links'. The curse of posting on a mobile device]
Sounds positive, but the article skirts over whether there are any downsides. Surely there must be lots of ways this could get abused?
(presumably that's why it sits behind Developer mode rather than being default)
It is so weird to see an ideology proved correct (rape culture, toxic masculinity et al) with concrete evidence, and then see that evidence ignored because of the cognitive dissonance with their pro-refugee stances.

The Muslim world also has a strong polygamy bent, derived from the four wives of Muhammad, and polygamy has a lot of associated negative externalities.
Under the proposed Preclearance Bill (Bill C-23), if you are legally detained by a U.S. preclearance officer you do not have the right to withdraw anymore.

http://www.parl.gc.ca/HousePublications/Publication.aspx?Lan...
Deletion doesn't necessarily mean retraction. As far as I know, only a retraction strictly means retraction.

The article makes plenty of factual claims that remain factual whether the article is published or merely preserved.

Like:
"autism is caused by genetic mutations, not “vaccines” or “leaky gut” as [Kharrazian] states on p.327 and 409."

And sure enough: [“Why Do I Still Have Thyroid Symptoms? When My Lab Tests are Normal“] searchable at Amazon does indeed have the claim that autism might be a result of immune system reaction to vaccine. Sure sounds like a quack.

https://www.amazon.com/Still-Thyroid-Symptoms-Tests-Normal/d...
Sniffing Like a Dog Can Improve Trace Detection of Explosives
Peace Shall Destroy Many
You should be able to replace the pow(2, x) part with (1 << x), so e.g. getbit() becomes

return (bits[n/8] & (1 << (n%8))) >> n%8;

The compiler will turn the division and modulo into shifting and masking.
Here's the thing though; you can do that, and it'll protect your data, but any nation can still prevent your entry for exactly that reason.

"Oh, you brought an empty phone? Give me access to your cloud account. No? Ok, you're never entering our country. Bye."
Wow that is idiotic. How can you be skilled enough to program routers and still do something as obviously wrong as this?
The worst part is they aren't looking for anything related to security, they're primarily checking that you're not going to try to work in Canada.
JATEOAS
.....and just when I thought I've seen all the new services, haha. Thank you.
They managed to get 1 troll...
There is Zotero for Firefox (open source, a bit clunky) for annotations and Mendeley not open source but has good tagging, search and note-making utilities.

My advice is not to use any proprietary software (not future proof) and not to use Zotero (to complex and becomes tiresome).
The easy way: open your pdf in Firefox, bookmark it, tag it the way you like, put notes in the title bar. For more extensive note taking: TiddlyWiki files, bookmark and tag. Then use search utility of your choice for that. One simple tool for note-taking that I like is nvPy, put your notes tags, and file locations as links (local or remote), link your notes together.

If you need remote storage, rsync it and tag it, also rsync the bookmark library.

What's your daily driver Linux, Windows or Mac?
Yeah that's a good point! Don't know why I didn't think about that.
I first thought all those aligned bridges were following the course of rivers. But it seems that most of them just cross over railways! Compare: https://www.washingtonpost.com/graphics/national/maps-of-ame... (bridges) and https://www.washingtonpost.com/graphics/national/maps-of-ame... (railways).
ripgrep has that with -r/--replace.
I would hate to be a fiction writer crossing boarders.
Er... what? I don't have clients, I don't have a license. What are you talking about?
Given that most legal voters can't even be arsed to show up, probably not that many.
Oh, social credits don't matter at all to me. I do appreciate the person at Amazon who gave it to me though for thinking of me.
Few to none? And I'm not being facetious. All investigations to date into such "fraud" find negligible evidence.
Unless you're completely price sensitive or completely brand or specific style dedicated, I think this is totally wrong.

I tried a number of different companies online during off years (I have insurance that pays for glasses every two years). Warby Parker, Zenni, glasses.com and a few others.

Warby Parker glasses were junk. With the exception of glasses.com, adjustments required paying or scamming someone into adjusting them for me. The money savings were minimal compared to retail if you shop around at all.

This time I went to an actual optometrist and bought glasses through them. The cost was competitive and the process completely hassle free.
But if that CI server creates a VM or container and uses runserver, you have the same problem.
It's fairly common in Hong Kong's denser parts like Central. I was able to get around much of the heavily trafficed areas without needing to be at street level.
If you don't mind, could you elaborate a bit? How was being around academics/children of academics beneficial to you? Did you end up going into academia, and did your experience with academia differ from the other experiences presented in this thread?
Are there any magic words to account for this that I/we can use when getting a new prescription?
This might be cool for something like Elm? :) maybe even implement it in Elm with something like the Electron project?
We’re close to the point where we can create people who are superior to others
> How does Facebook determine what facts are without politics

Facts are facts. The pope did not endorse Donald Trump. That is a fact.
Not sure how much of that is accounting shenanigans but it doesn't sound promising. Aren't web businesses supposed to be high margin?
He got life without parole for pot. And he was just denied clemency
His idea of flagging UB at compile-time is pretty obvious - I have to wonder what the economics are that it hasn't been an emphasis at all, all these years.

I do get a facial tick when people say "all significant C programs use (or contain) UB." It's never been necessary and it's always been shameful.
Got any examples of ponderous anime? Lain? Akira? GITS?
Second Measure is hiring UX/UI and scientists to analyze billions of purchases
Proof that they were hunter and gatherers is essentially proof that they weren't farmers. That's mostly based on a consensus that agricultural societies didn't exist anywhere yet. Proving negative claims is difficult, especially considering the age of the site, 12000 years (at least). Both Gobleki Tepeh & the Neolithic Revolution date to the beginning of the Holocene climactic period. Climactic changes are destructive and evidence can get wiped out be sea level changes or glacial melt.

Gobleki Tepeh is itself does challenge the "neolithic revolution" narrative. Either farming started earlier or stuff historians generally associate with agricultural societies started before farming. It's hard to conceive of how this happened without "specialists, taxes or central authorities" or some functional equivalent. I don't see how our conventional understanding of hunter-gatherer society can explain a site like this.

This is a new-ish site. Singular. It's still not 95% or more is still underground. It's still not fully incorporated into our historical narratives.
I don't understand why he says semantic versioning does not work. In my experience (with NPM, not maven) it is very useful, adding meaning of intent by convention:

Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.

I got the impression that the issue was maven not being able to handle multiple versions of the same package/artifact, not in the convention.
You can skip coverage for up to 3 months a year ("Short Gap" exemption). If you do this at the end of a year, you can get back in Jan 1st of the next year without penalty. You could, depending on risk level, only be insured 9 months each year to save on costs.

https://marketplace.cms.gov/technical-assistance-resources/e...
If you hadn't mentioned it I would have. It's a great documentary and explains quite a few things I'd always wondered about, such as why Chinese Americans were so strong in the laundry and restaurant industries. It does a really good job of talking about the Chinese culture in America, which could be a pretty heady subject, but it has this fun pretext of trying to discover how this ubiquitous dish came to be.
So that study is their business model?
A lot of [] people in China simply [were] not [born] in hospitals 20 [years] ago.

Every family has at least two children [] where I [grew] up, even the official of the village. More like the case of speeding. You are not allowed, but you can get away with it, if the police are not there or [they] feel it is better [] to not give you a ticket.

[Even] a lot of Chinese are surprised when I talk about this with them. So be careful about the media's report. (they report what they think it is true, but might not [be]).
The most fascinating aspect of this to me is that Iridium still exists.

Who uses it, and what for? I can imagine a few uses for emergency comms in particularly out-of-the-way locations, but it's hard to imagine how that makes enough money to maintain an entire constellation of satellites.
Not many. The punishment for voting when you are not a citizen is banishment. Which means that they are risking a lot for essentially nothing. Americans won't vote and they have every reason to do so. Why would illegal immigrants vote when the risk is so much higher than any reward?

Taxes involve real money.
I did it better 5 years ago. https://swizec.com/blog/a-turing-machine-in-133-bytes-of-jav...

133 byte interpreter in JavaScript. Input is JSON specifying state name, write, move direction, and next state. Turing machines, basically.

Mine was for fun, but why is Amazon doing this?