skysight-inc/HackerNews huggingface dataset:
The "AUSTRALIAN MARKINGS" comment makes a lot of sense to me. I drew endless pictures of the Apollo rockets, the command module, the lander, and of various exotic planes and the ALL had Australian flags on them. Picture of an astronaut on the moon with a flag too. I don't think I was being nationalistic, I think it simply didn't occur to me to do otherwise. Those were the flags I saw every day.

Which I had forgotten until I recently walked through my Palo Alto neighbourhood and what did I see: some kids had drawn planes in chalk on the pavement -- with Aussie flags on them! Those old memories all came back in a rush.

(I was super excited when NASA was landing people (men) on the moon. I was only five when Apollo 11 landed but I feel like I remember it well -- probably I remember later landings).
I wrote this to back an internal tool and released it on Github in case anyone might find it useful.

I got tired of constantly having to extend my REST API while prototyping a front end, so I built a raw SQL gateway that parses SQL and enforces per-user per-table permissions.

The front end can now just post SQL queries to the server and for production, it's trivial to move the final SQL into normal REST routes and disable the raw gateway.
The best contributions you can make on GitHub are legitimate ones: start using various libraries etc. and when you find bugs or missing documentation, open an issue or try and provide a PR.
A spreadsheet for comparing your potential startup ideas
That is an arrow function.

children() is supposed to take a function as argument and that function is supposed to return the list of children.

So basically:

children( function(el) {

return [

el.email = input(props({ type: 'email' })),

el.pass = input(props({ type: 'pass' })),

el.submit = button(text('Sign in'))

]

} )

Also,

[

el.email = input(props({ type: 'email' }))

,

...

]

is a neat idea. In one (expressive) line he is assigning the value to the array and also giving the child (in this case, email) a name and reference in its parent, so later he can just call el.email (in the onsubmit function).
What fraction of the science funding goes to SETI?
I have no doubt ;) it's why I always strive for accuracy here!
"Any infrastructure with lots of data. Data just takes time to move; backups take time to restore."

Exactly. Don't put data in Docker. Files go in an object store, databases need to go somewhere else.
Clearly all the evidence for the Sumerians, Lumerians and Brobdingnagians knowledge of Nibiru was covered up by the knights Templar in order to hide the fact the world is going to end next Wednesday afternoon just after the Sleestaks take over.
Spont – Try Beta right now Write your email on our website and get an invite:)
I think you mean 'figuratively'. If it was literal there would have been no private industry at all, which is complete nonsense.
Once you've made the decision to leave C for a systems programming project, why would one not just go over to Rust?
not many, just some op-y type jobs
Two reasons:
1. It allows for asynchronous validation, see: http://technologyadvice.github.io/better-email-validation-wi...
2. It more cleanly supports the nature and flow of data i/o - in our use of Obey we are (almost) always following validation up with another async operation, i.e. obey.validate({}).then(...something else with the data...)
I did this when I was young! Except I did it for Quake 1.

I had great fun re-constructing various parts of my high school. I learnt about the importance of scale, how to make levels "interesting" by making some desks fall over, and had great fun reconstructing the swimming pool, gym, and metalworking facilities.

When I showed people they were always concerned because there was a gun on the screen and I was walking around my high school. I lacked the ability to get rid of the gun, so I had to explain it every time. Some of the more stupid teachers couldn't get past the gun and see it for what it was (a student interested in programming - not a cry for help) but I ended up just not telling them anything and taking it to people with brains.

Later on I started re-constructing the Titanic from the original schematics, though I never got very far with this, because my machine only had 64MB of ram, and I used it up pretty quickly making complicated geometry.

Good fun.
You pay blacklotus a big pile of money and giggle at attackers.

http://www.level3.com/~/media/files/brochures/en_secur_br_dd...
No, whether you clear your orbit is a very different question from whether your orbit is currently clear.
The pythagoras theorem is also unscientific. Your point betrays ignorance of what science even is.
angle brackets ,we decided long time ago we hate those :)
Agreed. The best projects are those that make use of AJAX requests and show the programmer can organize and handle asynchronous flows.
>> In fact, I would submit it very rarely if ever happens "solely* on account of race. Even the most crazy, vitriolic, hateful anti-black racist does not report any random black person they meet to the police.

And yet there are numerous stories involving exactly that. For example, people automatically assume that a black person in a yard of an expensive house is not the owner of that house (and from there, that they're up to no good - and call the police). Seriously, just ask around, and listen to what the affected people have to say. It's not a rare occurrence, and it comes from blacks of all walks of life, economic classes etc - the only common factor is race.

>> Shooting an innocent person is not a reasonable response to a suspicion complaint. And blaming people for unreasonable and unlawful behavior of others is not right.

I never said it's reasonable. And yet, by now, everyone in this country should be well aware that the police is behaving unreasonably in these circumstances - and you cannot ignore that when you ask them to come.

For those people who claim that they don't know - what, they didn't watch the news for the past several years? They have never heard of BLM?
Objectivity doesn't have anything to do with observation, it is orthogonal.
this article reminds me of an old Soviet joke: an army psychologist shows soldier a brick and asks "what do you think about when you look at this?". Soldier answers "chicks!". Psychologist "chicks?? why?". Soldier "i always think about them".

some bizarre chain of reasoning: Lee, Zuckerberg, Thiel... Trump???
I'm not actually implying you were, I just needed a thread to attach my personal favorite odd time signature example to and you had a great list going. We could do one of those cheesy "Best Of ____" anthology CD box set commercials that come on TV after midnight. 'Irregular time signature hits of the 60's, 70's, 80's, 90's and today!' ;)
Obligatory: why is Zig meant to replace C? Why is it a better replacement than Rust (when Rust is considered a C replacement)?

Interesting work nonetheless.
It's not always perfect, but I'm interested to hear your alternative. What if not the will of the people should be he foundation of your government? Brute force? The will of God?

And yes, I do support a ban on gay sex that involves unwilling participants.
The part where scientific code gets nasty is when the "simple bad code" from a proof-of-concept suddenly gets abruptly promoted to the core of some pipeline. This happens a lot.
I've been using the delegation pattern a lot lately as a nice way to combine the best bits of god classes (few dependencies) with the best of SRP (small easy to test parts).

This way A, B, C (and many others) only depends on X, the delegator (which exposes a number of interfaces for practically everything), but X depends on everything and the kitchen sink, X contains no real functionality.
If the guy is a scammer, then why is his fall disastrous?
That's sulfites right? Do they make lower sulfite wines? They might.
I'm curious if this issue could be resolved by moderation and reviews so that people that want to talk about similar things are paired up and trolls are blocked/isolated.
One question: Why is Zig implemented in C++? What was the reason behind the choice?
Maybe - my consumption varies quite a lot, but it has probably been some time since I went a week without any.
The energy requirement is the massive reason why launches are primarily prograde.

Even the time resolution you mentioned isn't much of and advantage of retrograde because a prograde satellite can get the same period at a lower altitude.
My @JFK Twitter account “has been suspended and will not be restored”
I mean, this sort of scepticism is applicable if you don't have consciousness yourself. Do you not see, hear, smell, think or otherwise perceive?

Surely experiencing that yourself adds more weight to others' claims?
Not really "inspired".

The website has been copied practically wholesale.
Attacks that are heavy on L1-4 are the hardest to protect against because of the need for large fixed infrastructure (peering/transit).

L7 attacks can be scrubbed by the same infrastructure. Beyond that, it's all a matter of detection. The computational expense of L7 inspection can be mitigated by sampling or scaled with ECMP. You may see a "WAF" (Web Application Firewall) enter the picture at this level.
It appears that you have completely missed the point of all the complaints. The oppressed that we're talking about are not drug dealres - they're people accused of being drug dealers, which may be right or wrong, but either way we will never know if they're just murdered in cold blood without having their time in the court of law. Rule of law exists for a reason, and part of that reason is to protect the innocent who inevitably end up targeted by vigilantes in witch hunts. In many cases, the witch hunts spiral out of control to such an extent that most people are innocent (of what they're accused of, anyway), simply because it becomes a cheap and easy way to settle scores.

Another point that I'd like to make, is that you talk about communities. But, who draws the lines? There's a community of Filipinos, true - but who decides who is the member, and does being a member of that community automatically excludes one from other communities? I would dare say that it does not; and if so, why should that other membership be ignored? I mean, ultimately, we are all members of one community called "people", spanning the entire globe; everything else is a subdivision of that. So, if it's common membership that you believe to give the moral justification to judge, and possibly intervene, then it is membership in that community that I will claim as my justification to do so.
sums it up https://twitter.com/adamjohnsonNYC/status/769944655316287488
It can be said to be speculative, but if the model can explain everything in the world of phenomena, including things that are not explained by particle physics, then, by the same token, so can particle physics. What we need is for the theory to be put to paper and then simply confirmed by a lot of people. Then people will start to develop new technology with the things that it can explain and by that point no one would say it's not confirmed. But I have found that there are societal and psychological issues which prevent many people's confirmation of the basis of my supposition.
Or you can use preconfigured cross-compilation toolchain like MXE[1]. If you have clean codebase and use CMake it's usually enough to just pass one extra argument to get working binary out. And it's also work on OS X.

[1] http://mxe.cc/
Maybe easier integration with existing C libraries?

They give an example of a tetris clone in Zig. This is how they include GLFW with Zig: https://github.com/andrewrk/tetris/blob/master/src/c.zig and all other locations in the project just import this c.zig file.

In contrast in Rust, I think you have to actually declare all the functions you want to use from a C library. For example: https://github.com/PistonDevelopers/glfw-rs/blob/master/src/....
I always thought optical SETI makes more sense. With relatively inexpensive lasers we can send an extremely bright message, vastly outshining our sun, to every star within a few thousand light years. Surely that's how you'd say 'We're here' to aliens.

http://seti.harvard.edu/oseti/
>but now it's way too closed

I think this to keep all the data to themselves (from crawlers, Google, Baidu); not necessarily for the benefit of their users.
Why do gliders (https://upload.wikimedia.org/wikipedia/commons/9/96/Animated...) always have a 'weight' of 5 cells? Why not 4 or 6?
> Fields are a precise mathematical model

Let's not get ahead of ourselves here; unless you've solved a millennium problem!
Well it is nonscientific, it's outside the bounds of science. Doesn't mean it's irrational.
Is Zig compatible with C? No? End of the story.

Edit: I know that you can include a C header in Zig, and cross-compilation is possible and made easy. But you can't continue develop on current C projects if you switch to Zig. I guess that you have to change the Makefiles too.
Or you could use a toothpaste example, where california bans microbeads. Under TTPA the US gov could be sued under these disputes process.
There are C library binding generators for Rust which do the boring work for you. It's not perfect, but rust-bindgen was pretty good last time I tried it (~15 months ago): https://github.com/Yamakaky/rust-bindgen
CS Syd – Poop deprecation and shitty code
Syntax looks very Rust-inspired, but it lacks Rust's OCD. I also catch hints of other syntaxes, like Ruby/Smalltalk-style block parameters, and a defer very much like go's.

I find it interesting that it implements generics by passing types as normal arguments. Say, `list(i32, 1, 2, 3)` rather than `list<i32>(1, 2, 3)`.
I think there exists, or work has been done on, a tool to auto generate that data for you. So not quite as simple, but possibly more fine grained control.
Is there a good reason why it doesn't want to run inside a VM?
I assume you mean to compare it to:

el.email = (function(){
var input = document.createElement('input');
input.type = "email";
return input;
})();

...or something similar. Your could also use createContextualFragement or a little function that uses innerHTML, both of which parse a string into HTML (which is problematic). Or you could use a templating library, of which there are many and this is one.
But... Zig is compatible with C. It goes to some lengths to make sure of it.
Clinton campaign using encryption software to talk about Trump
I think he means consciousness as a factor in QM, not generally. I don't know for sure tho.
Principles for Programming Languages for Learners
I would love to see how much you can do with not much at all. Anybody can make a great-looking site, but can they do it in under 500kb? See https://a-k-apart.com/ for tips!
Don't fix what's not broken.
I think this applies to hiring employees as well, no?

You can't hire hire someone and expect them to do the job unless they have a well written spec and there's extensive documentation on setting up a dev environment, deploy process, etc.
The biggest issue I have with this model -- and git-flow as an opinion about how deploy works in general -- is that it doesn't take any account of rollbacks, and it doesn't scale well to arbitrary numbers of deployments.

The history of my production deploys is not monotonically forward: if something breaks, it rolls back. Nor does production roll forward as one piece: different components of the stack roll in separate motions (the db schema vs the frontend servers for example).

Git, tied to the project dev history, does not well represent these things. Reverts in the deploy branch are not semantically identical to rollbacks in production: and it's not necessarily safe or wise to merge them back into dev history.

A separate git repo, referencing release numbers, or dev repo commit hashes, would work pretty well on the other hand...
Sending seems a lot more risky than receiving.
I remember how much work I put into my Geocities site. Many many months. I look at it on the wayback machine now, I can bang that entire site out in about 2 hours now.
As always, the right way is somewhere down the middle.

I recently inherited a blob of "scientific code" with basically no abstraction. Need to indicate the sampling period? That'll never change--just type .0001; that'll never change. Need to read some files? Just blindly open a hardcoded list of filename and assume it's okay--it'll always been like that ? And of course, these files are in that format and there's no need to check. Of course, after this code was written, we bought new hardware. It gathers similar data, but samples at a completely different frequency, has a different number of channels, and records the data in a totally different way.

We could fork the code, find-and-replace the sampling rates, and all that, and maintain a version for each device we buy. Or we could write a DataReader interface, some derived versions for each data source, and maybe even the dreaded DataReaderFactory to automatically detect the filetypes.

Guess which approach will work better in a few years?
I'd rather use Zig than Rust because I wouldn't have to learn about how to work with Rust's memory management model. Even though I understand Rust at a technical level, actually getting my brain to work that way has proven difficult.

Being able to directly import existing C header files is also attractive.

Having said that, I'd rather Zig had been Go-inspired than Rust-inspired. Go plus Zig's approach to generics and error handling would be nearly perfect! (Notwithstanding that Zig's error handling is basically Rust's with added syntax sugar!)
I apologize in advance but...

"necessity"... Surely not THE "necessity", mother of invention?

I guess that would absolutely give you a veto on other people "scratching their own itches".

Snark aside, the issue is surely whether, if designing C now, the last 40 years of programming language theory would not have some impact.
C isn't broken?
Nice! reminds me of hyperscript-helpers
instead of offering your own translation, we can instead go back to the original english. Run 'python -m this' and you will see

The Zen of Python, by Tim Peters

Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren't special enough to break the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse the temptation to guess.

There should be one-- and preferably only one --obvious way to
do it.

Although that way may not be obvious at first unless you're Dutch.

Now is better than never.

Although never is often better than right now.

If the implementation is hard to explain, it's a bad idea.

If the implementation is easy to explain, it may be a good idea.

Namespaces are one honking great idea -- let's do more of those!
Qt open source license is perfectly compatible with Android / Google Play, but not OS X / App Store.
When a language has built-in support for easy binding to C, that's a positive. When other languages such as Rust offer that feature through external tools, that's not as good, since I need to evaluate which of those external tools to use (when there is more than one), and it is something else to download/install/learn and another step to add to the build process. So it looks to me like Zig handles this better than Rust does (of course, Rust has clear advantages over Zig in other areas: much more mature / widely used, and more advanced memory management.)
There is a trend in javascript community to use es2015 for everything and sometimes developers forget to keep a very fragile balance between expressiveness and simplicity.
I'm assuming disastrous for all of the people he bilked out of their money.
Risky for what? Alien invasion? If interstellar travel were that easy or worthwhile they'd be here already, especially what with terrestrial radio broadcasts.
This story reminds me of the Therac-25 (although no deaths were attributed to this bug). The book "Fatal Defect" should be required reading for any software engineer.

https://www.amazon.com/Fatal-Defect-Chasing-Killer-Computer/...
For me, the membership of the community means you can talk to them directly. And even if we'e in the same community, I will never judge, and never intervene, unless you're directly harming another member of my community. I do not talk to the people in the slums, we're not in the same community. I talk to you, we're in the same one.

I hold no judgement on what's happening in Philippines, just as I cannot think of intervening in U.S., or judge U.S. citizens, where prisons where millions, a significant fraction of them innocent, are incarcerated in horrific conditions I could never imagine myself to be in.

Rule of law is an invention, sometimes it has force, sometimes it doesn't, sometimes it changes.

That is my moral framework.
This should not be a priority for someone starting out imho. But do look at the pagespeed tab in devtools and familiarize yourself with what's there.
Instagram uses django
Unbranded Future Vision
Yes, but it was defined after actual assembly/low level languages like BLISS. So it was defined as a way of doing something "assembly-like" (or BLISS-like, or BCPL-like) in an environment that didn't allow for such code.
While that's true, it's important to keep a measured understanding that it's a rare occurrence and the threat is only there because we haven't figured out a way to enforce rules without it. There's a big difference between something where prison happens 80% of the time and .01% of the time.
That's more or less why I asked the question. A lot of people in the programming field promote the notion that you can teach yourself coding and get by just fine.

This trend kind of worries me.
Just wanted to say that I really enjoyed your presentation. Definitely inspired me to think hard about what I actually like doing instead of just trying to build something that I think I can sell for a few bucks.

I've created multiple web apps/plugins that I wasn't really passionate about, and after the initial rush of launching something wore off my interest in the project waned. I found that when a new bug or feature request popped up, I became less and less motivated to actually fix the issue or implement that new feature.
Even if it's wasn't clear before now it's pretty clear - you must buy commercial license if you want to be on App Store. There was Qt license change[1] in January 2016 and there is no longer LGPLv2.1 licensed version since Qt 5.7.

Only option for commercial software currently is LGPLv3 and it's doesn't allow tivoization.

[1] https://subsurface-divelog.org/2016/02/subsurface-mobile-for...
Cool to see a fellow Recurser in HN!
If I understand correctly, there's currently no explanation of how one electron gets picked out of all the gazillions of electrons available; am I correct? Would that just be considered a fundamental randomness in nature?
I tend to think of it as unlimited amount of compute efficient at random intervals. Infrastructure will never be perfect, but it can be somewhat predictable when it is.
I found the Minikube getting started to be a good experience about a month ago. If you did make Minikube the default for "give it a try" that would instantly gain k8s more credibility in my eyes, as it calls attention to the excellent tooling around k8s, diminishes the perception of GKE as the only first-class k8s environment (ahem, lock-in!), and promotes the notion of an economical and fast k8s development environment.
when the Planning and Transportation Commissioner resigns because she can't afford to live there, you know things are bad.

Reference: http://sf.curbed.com/2016/8/10/12426244/palo-alto-commission...
Proper passive house design in the future should ameliorate temperature issues, both in terms of heating and cooling.
Brought to you by Microsoft Edge, in association with An Event Apart.

©2007–16 Microsoft

Microsoft!? That's one of the last companies I'd think would sponsor something like this. It seems they really have changed a lot.