skysight-inc/HackerNews huggingface dataset:
Wow, hadn't kept up with purescript at all. It can now compile to JS, Go and C++11 and supports full interop in all 3 cases! That's pretty damn cool.

How's the language itself? I had heard it was a Haskell clone, is that still mostly true? If not, where does it differ and differentiate itself?
Why wouldn't you tell the truth?
> Can't believe I'm saying this, but it's looking like Twitter might outlive Facebook as a relevant platform.

It definitely has for me. Twitter is good for news, conference chatter and contacting folks I do not know. Facebook is great for people I know, but my friends have migrated to SMS or email, and professional contact is happening over LinkedIn.

#anecdata
What level of shoplifting do the Amazon Go stores encounter? A lot less I would guess.

Napster was "overcut" by the iTunes Music Store, and then streaming finished off music piracy. You really can combat stealing through better purchasing experiences.
You might be right, in the sense that all humans possess the capability to be greedy and inflict harm on others for their own gain - it's just the rich who are in more of a position to execute on those desires.
They think they can, but their time is over. Playing political games and being well-connected means jack all when large majority of the population doesn't buy or feed into your shit any more. Google and Facebook has way more power than the Australian government at this point. Should just have some intern transcribe thousands of loc into pseudo code and then release the gibberish to Australia who can then proceed to do fuck all with it.
I have an extremely common name (There are at least 5x people with my name in my city alone). I have one social media account.

Lets say I disclose that social media account. The Immigration agent searches the other social media platforms, and the other people with my name show up. The agent then accuses me of lying on this question.

How do I prove that those other accounts aren't me?
This is depressing. When I lose faith in humanity, I look to self-checkout as proof that we are all good.

Also, as a side note, I’ve come to believe that moral maturation is a far longer process than physical, pedagogical, or even professional.
That's a pretty common sentence actually and is hidden away in the agreement text or the back of the manual on most things (drone bit looks new though).
as I understand it, voter ID laws are controversial because certain groups of people are less likely to have official ID. in general, if you don't drive or leave the country, you don't need a state-issued ID. if the federal government issued an ID to every citizen of the US, you couldn't argue that the requirement disproportionately impeded minorities from voting; they already have the ID!

of course, there are many other reasons why a mandatory national ID would be politically unfeasible in the US.
The tcpdump of the brain.
Higher profits, at least in theory.

Price is set by market. Two stores should charge the same for equivalent goods, all told.

Lower cost structure means greater profits at the same price.
i think that political regime in Ukraine is purely oligarch-based. Ukraine does not have strong traditional government institutions, instead the government is driven by current oligarch configuration. it used to be Yanukovich, then Poroh, now it is Benya (via his proxy Ze). just look at Groysman, the prime minister, as they say in Russian, he "changed his shoes while walking" and switched his allegiance from Poroh to Ze/Benya in no time. government in Ukraine is weak and servile. they have stronger civil society, but it shows in short outbursts, then oligarchs take over again.
Some people simply aren't going to remember every single social media account from the past five years. That's what makes it a potential "gotcha."

It potentially creates this scenario:

Missed one? You "lied." Buh-bye!
Submarines?
Erm, it's always possible to fill something out without perjuring yourself - simply put "multiple/unknown" in the username box. Now what they do based on that answer is another matter. But as you point out, not having a presence can count against you too, if it is a statistical outlier.

It'll be interesting if this helps push people towards using non-corporate social media. If you're only publishing stuff to your friends, there is nothing to check without the corporate backdoor.
data science/AI/ML is just statistics with modern computers.
If you’re talking about losing the ability to recreate any particular relevant CPU, then maybe. But computers in general? No. I suppose we could be exceptionally unlikely and lose access to all the modern fabs, but the knowledge of CPU design is too widespread to for us to plausibly lose the ability to make new CPUs altogether.
Does anyone find the use of the word "fork" outside of open-source projects a bit annoying? BMW forked their 3-series coupe and called it 4-series. Ugh...
How does that make what I said "not true?" What I said is a well established fact:

https://en.wikipedia.org/wiki/Executive_Office_for_Immigrati...

You can, under limited circumstances, appeal your case to a real court, but the primary court that most people being deported deal with is in the executive branch meaning the executive branch conducts a full deportation from inception to execution in almost all cases.
United States aren't subject to GDPR.

You still had that account. Yes, if the company complied with your GDPR request, there would be no record that you had it, but as far as the United States are concerned, you have to disclose it.
Coemergence of government competence in invention and supporting application seems almost as rare as companies delivering on a second blockbuster idea.

Which kind of speaks to the prevalence of luck over design in favorable outcomes at any macro level. Too many small, randomly whirling bits, and they all need to line up just so.
Training to fly two very similar planes can be more dangerous than flying to completely different ones.

For example, some marks of Spitfire had engines that spun in the opposite direction to the rest of them. The aircraft were otherwise similar.

If a pilot gunned the engine during the take-off roll, the torque reaction will cause it to swerve. The pilot can catch it with the rudder if they are expecting it. If the engine is spinning the wrong way, and the pilot inputs opposite rudder, the aircraft will wreck it's undercarriage and roll over on the runway.

Whilst training to fly any variant, when a pilot has experience in other variants is obviously going to be quick and easy, expecting them to swap back and forth between variants is also clearly unsafe.
Most criminals think they are geniuses because they figured out how to outsmart the system. They are not. This is a trait highly correlated with low IQ. Real brilliant people don’t constantly seek the ego boost of exploitation.
And if you use self checkout you’re avoiding waiting in a longer line for a cashier.
Generally tricking the user into doing something would be considered harmful.

Although it is an interesting question whether it's still considered a dark pattern if you trick the user into doing something that helps the user. For example in some videogames if you play for hours they'll give a popup telling you to take a break. What if that popup had the options "Sure" and "No, I don't care about my health". Or if you design a UI so that it's really annoying to order unhealthy food, but easy to order healthy food.
>I literally could not fill this out without perjuring myself.

Same. Thankfully both countries that I'm a national of are in ESTA program. On ESTA forms Social Media is an optional field.
One issue I’ve run into with blocking JS at the browser level is that it also ends up blocking extensions that use JS from working. I would block JS on websites much more if my extensions that use JS could still run.

I don’t suppose there’s a config setting in Chrome that discriminates between the website’s JS and the JS from my extensions?
problem with mindfulness - like every other western lens on eastern culture, just picking a few pieces of a gigantic puzzle and trying to fit in a western social and economical model. Hindu/dharmic history, philosophy, spirituality, yoga, meditation, ayurveda etc forms a close knit body of knowledge. Without understanding even the basics of this complex ecosystem, picking some random fragments will always end in some inadequacy and confusion.
Oh yeah, I read that - surrounding the original authors at dotCloud about their experiences trying to do it in multiple processes IIRC. That said, it seems the problem may be somewhat solved at this point.
They have this at the main Google campus in MTV
> A medical screening in some cases for some communicable diseases (e.g. HIV used to be a ban, no longer, TB still is banned).

Only for immigrant visas (green card). Ironically you could be spreading TB for years in the US on a student or work visa, but until you can apply for a green card they won't bother to check. I assume this is the legacy of a system where people used to be able to apply for green cards a lot sooner and spent little time on other visas.
https://news.ycombinator.com/item?id=20065142

https://news.ycombinator.com/item?id=20078429
Is it correct to assume a Visa application is now just harder to fill out correctly?
I think you might be using the word “prolific” incorrectly.
Fwiw, lodash filter outperforms the native array prototype filter
I don’t think the argument holds very well. Apple has made three processor architectural changes including one on the current OS. “Too complicated” doesn’t really align with the execution history Apple has. The fat binary support Apple has is a huge tool and the ability to add instructions and optimizations to their chips to help with x86 emulation is a big deal.

I don’t know if Apple will ever actually do this, but it seems odd to suggest it’s not feasible given past performance and their current technology holdings.
I don’t.

But just curious. What type of scenario do you register throwaway accounts for?
I don't understand fuss about meditation. There are a lot of alternative states of consciousness and many ways to achieve them with different benefits in them. Why put one state on throne? For example drinking green tea, exercise, sleeping, anestesia, different drugs. If there is one alternative state in which quality you should invest your time than that is good night sleep because it is most natural and necessary for both mental and physical health.
I've been making my living as a programmer since 1986, though I've done some other jobs in between... I think "more than 25 years" covers my professional experience as well.

First, I always say, "programming is programming". People often get caught up in the application they are developing, thinking that it is new and exciting. However, the programming side of it is just programming for the most part. The number of hard domain specific problems you have to solve is quite small compared to the amount of code that you have to slog through.

As you say, languages and frameworks are only marginally interesting. React was interesting to me for a few days because it solved some problems in an interesting way. But I've used over 20 different languages in my professional career (and multiple different frameworks) -- almost one a year :-) For me, a lot of shops have a lot of legacy code in a variety of different languages and frameworks. I tend to specialise in legacy code so I see them all.

But there are definitely challenges -- it's just that they are challenges that most people don't see. One of the reasons I specialise in legacy code is that it's much more interesting for me. Greenfield development is about learning a new language/framework and arguing with people about "the way to do it right". Legacy is about taking code that everyone has already abandoned and making it good. That's hard.

I think it's a bit like drawing, actually. When you first start drawing, it's a big challenge: how do you get the proportions right? How do you draw hands? But eventually, it's all the same: How many hands do you need to draw? I often think about manga artists who have to draw 15-20 pages of manga every week: how many hands do they draw?

But it's not about the hands. It's about the composition. You can get the proportions all right. You can draw the hands perfectly, but it still might be an uninteresting drawing. People can teach you about the technical side of drawing, but it's hard to teach people about art.

For programming it's the same. Eventually you are just grinding through code and there is very little technical challenge. So why are all our code bases so awful? If you think that it's because we're always rushed, imagine those poor manga authors who are cranking out 150 hands every week (as well as faces and feet and bodies) -- and some of those are masterpieces. Maybe we can't meet all the expectations of getting it done yesterday, but why can't we right good code day in, day out and end up with a masterpiece?

That's the challenge. I don't suppose I'll be able to master that in my career, but it's fun to try.
How ironic would it be if someone from that agency fell victim to impersonation.
Your links are from 2 months ago, and this submission has already generated a substantial discussion. Why kill it now?
I have a theory that Apple chose the privacy route because it was their only serious way to compete. Apple simply doesn't have the AI chops to compete with Google.

They were already years behind in ML when they started their privacy marketing and possibility even further behind now. Since they can't compete on ML features their only other option was to compete on privacy.

Apple is taking the calculated risk that people will be willing to sacrifice features in exchange better privacy. If they're right it will pay off massively. If they're wrong it could be very bad for them.
CICO works certainly, but the advantage of IF is that it makes adherence to CICO easier. You're effectively cutting ingestion opportunities to 1/3 of what they normally are. It's hard to eat 2/3 of your calories in ouch a short time frame.
This seems to happen a lot. One people seem to keep chasing is Damascus steel.

Even in more recent history, too. I like to research fine weapons. Apparently the process Colt used on their pistols to color and shine them is completely undocumented and now unknown. Similarly, it's said there are not enough people alive that know how to handfit a revolver. I'm not sure how true the latter is, but really makes you wish Wiki or the internet existed further back.
Do you think Boeing owners would like it if no one bought Boeing planes because of safety concerns? Of course not.
Thanks, this is pretty nice. Why not put the results in a table so it is easy to compare?
The Nazi one has come in handy for deporting Nazis, even ones that managed to naturalize. It's easier to deport or denaturalize someone if they lied on their documents.
Oh I have no doubt they know every account I’ve had. This whole thing reminds me of doing your taxes. They already know all the information, they just want you to tell them again so they can see if/where you lie.
Good way to think of it.
Opened.

Full of racism.

Closed.
Wise, Sid
Chilean navy says investigating oil spill on remote Patagonian island
If you believe a corporation to be evil, then every possible act against them might be justifiable.

This is a question of ethics. What is the right behavior to resist evil?

For example, you could follow our own governments guide :)
https://www.cia.gov/news-information/featured-story-archive/...
To the container wizards: Is it possible to orchestrate lxc containers using kubernetes? I've been looking at lxc containers for a while and really would not like to run Docker as root.
I doubt there will ever be a language that doesn't have its own conventions and patterns. The practical question here is the risk when the convention is missed. In Rust, the object cannot be half-initialized when the pattern is missed. And not using public fields is rightly the default mode in all three...
Because:

(1) There is no evidence of an actual existing problem to be addressed by voter ID requirements.

(2) Because voter ID requirements in the US, past and present, have a history of being introduced as part of efforts, often by the admission of their own sponsors (though usually in venues they didn't expect to become public) to suppress voting by legal voters of particular demographic groups disfavored by those pushing the measures, particularly African-Americans.
Lol I couldn’t agree more. How can anyone be against paying attention?

Keep in mind this publications whole brand is posting “contrarian” articles, so it’s not surprising to see this article which seems to be contrarian for the sake of being contrarian.
If you're feeling clever, you might call that an anti-dark pattern, a la "anti-hero", or really, anti-villain.
Submissions count as dupes on HN if the story has had significant attention in the last year or so. This is in the FAQ: https://news.ycombinator.com/newsfaq.html. When it's an ongoing story and a submission contains significant new information, we sometimes override that. But it doesn't appear to be the case here.

Marking this post a dupe doesn't mean the story is unimportant. It's just that front page real estate is the scarcest resource on HN. More explanation here: https://news.ycombinator.com/item?id=19103247.
Also: in assembly, machine code.
Internet Archive to the rescue:

https://web.archive.org/web/20141117023310/https://thoughtca...
Actually, 18 USC § 1621

> (2) in any declaration, certificate, verification, or statement under penalty of perjury as permitted under section 1746 of title 28, United States Code, willfully subscribes as true any material matter which he does not believe to be true;

If you don't remember the handles, they have to prove that you didn't believe that you made a true declaration. Maybe putting a note of "Various other accounts on various platforms I cannot recall the usernames of" would address that? Not a lawyer.

That statute conveniently lets you forget things, just not blatantly lie. Had a twitter account a year ago that you forgot about? You could forget about it. Tweeted on it yesterday? Not so much.

It's an impossible case to prove, as the bar for perjury if not under oath is much higher. They have to prove that you didn't believe the stated information to be true.
How? I used Englishman too. I've never heard it used that way.
Revec: Program Rejuvenation Through Revectorization
The daemon is running as an unprivileged user. Docker with userns-remap is still running as root (and recent vulnerabilities like CVE-2018-15664 are still a significant worry even if you ran with user namespaces enabled).
It doesn't make much sense. The processor architecture should be an implementation detail to a user. This has very little to do with product lines.
>Blockchain doesn't solve human behavior, or much of anything IRL.

Blockchain solves a very select few problems, which are important, but not every problem.

Imagine if I told you I could turn on your coffee machine with a SQL database. Why the hell would you care?

When you think blockchain, think database. When you think database, think Excel. Can your problem be solved with Excel, and your stakeholders made happy with it? If the answer is yes, YOU DON'T NEED BLOCKCHAIN.
So...it might help you to realize that other people who you would normally think are "assholes", people who you don't know yet hate nonetheless, are nothing like that, and maybe you've been making all kinds of judgments about people that aren't really true, and that in fact, reality calls for a vastly larger degree of love and compassion for others, even people who cut you off on the road. You treat people completely differently, you become kinder, more courteous, less hateful, and more patient, at larger scale animosity and hostility between peoples decreases to zero and world / universal peace is achieved. No biggie, so what!
GP's point is those things used to be a standard part of the service. They were done away in the name of convenience. Then later brought back for a fee.

Another example: self-service gas pumps.
If you're interested in learning more about the "early days" of SV, check out this video by Steve Blank:
https://www.youtube.com/watch?v=ZTC_RxWN_xo [1 hour]

Lots of it goes back to WWII and development of advanced radar and anti-radar tech.
> In Europe the self-check outs are optional. They're also faster, because there isn't much of a queue and the people with carts all go to cashiers.

This is also my experience in the US.
So Amazon profiting from knockoffs means you can steal bananas from Kroger’s?
LXD has orchestration support natively, though it's not at all like Kubernetes (you are manually moving containers around and so on).

I have heard that some folks have looked into using LXC under Kubernetes (and theoretically the OCI templates for LXC could possibly make this somewhat work) but there isn't an obvious way to do that today AFAIK. And I'm not convinced (given CNI which touches some deep bits of runc's particular behaviour) it would work with everything you'd want it to.
- https://en.wikipedia.org/wiki/Chinaman_(term)

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

- https://www.ahdictionary.com/word/search.html?q=chinaman
it seems useful to distinguish between applying transforms to meshes, or not. There seems to be a lot of interest in using math to improve meshes for surface analysis, but there are also many problems that are not like that, hence identify up-front...
It’s not that complicated. Just think of it as the compiler transforming a function “fn new(x: arg) -> Foo” to “fn new(x: arg, result: &mut Foo)”. In practice, it is fancier than this since it isn’t passing Foo as a pointer, but that is a small difference.

You are not allowed to read this object directly obviously, but you effectively give it a value by the return statement so you can replace the return with an assignment. Then, the compiler really doesn’t need to do anything fancy and can just apply transitivity to get rid of most unnecessary copies.

The only time this gets really tricky is when you want to use this shadow memory directly for some complex initialization since it can be overwritten arbitrarily.

Personally, I don’t think this is really necessary as an an addition to Rust since I don’t think it results in much savings most of the time and you can emulate this pretty easily by writing the second form directly and forcing callers to pass an empty version of the object directly. There is a potential extra cost of an additional pointer, but if your function is that sensitive it should probably be inlined or written in assembly.
I just ate dinner with the in-laws and can attest to the fact that most Americans refer to the utensil with prongs at the end: a fork.
> Emitting 10 tonnes of CO2 and not sequestering will improve people's lives today even more since they don't have to pay the cost immediately. The moral hazard is being lazy because theoretically someone in the future might pull off heroic efforts to save the planet.

Exactly. To restate, not emitting CO2 will make people's lives worse[1] but most of the environmental proposals I see don't seem to realize the sheer unreasonableness of their propositions which generally boil down to 'you' need to suffer (in concrete ways, e.g. a gas tax, not farming a rain forest, etc.) for the (vague) benefit of other people.

[1] Given the current state of technology.

re. putting the cart in front of the horse, I agree, but if air-CO2 sequestration does hit 150$/tonne as (optimistically) projected that works out to be a few bucks per gallon of gas: The economist in me says the optimal solution is to tack that on to every gallon sold (and ear mark it).
In that case you can use LXC or even runc directly. I wanted to (for a long time) decouple the systemd dependency from rkt, because they had the perfect model for it. Unfortunately we've all migrated to arguing about containerd vs cri-o/podman.