skysight-inc/HackerNews huggingface dataset:
>insisted the filters be installed.

having good engineers who are not afraid to push for the right solution as well as the environment where such push is possible is the "super-duper strategy". Compare that to the Feynman report on Challenger.

>Just remember everybody: nuclear power is super safe!

we don't have an alternative (solar and wind aren't alternatives, just stop-gap measures to buy us some time). Technological civilization goes only one direction. Once Cro-Magnon discovered bow+arrow, he killed off Neanderthals and mammoths. Once Cro-Magnon discovered fission ... The only question here is whether we discover the way to harness aneutronic fusion in time before the fission (incl. safe at first look ones like thorium based) and neutronic fusion result in the amount of nuclear waste and disasters seriously affecting the existence of the civilization itself. If only instead of anti-nuclear "fear spreading" propaganda there were pro-fusion research investment "educational" propaganda ...
I guess that's sort of true but often you know what direction you will be heading, just not now. I see it like a game of chess, you want to be able to at least predict the next few moves and cater your architecture towards that. However, this is an acquired skill that takes practise.

I also think there is a difference between architecture and features where keeping it simple as possible is more about the features and less about the architecture, i.e. keep the features as simple as possible but have your architecture cater for the future.
I've used cpulimit to force slow down flash games but it causes them to crash randomly.

I'm hoping cgroups can do better.
The goal here is to write a compiler that can compile itself.
It compiles a c subset to byte code, then executes in a virtual machine. I think generally an intepreter can refer to either a byte code interpreter (ie virtual machine) or an AST walking interpreter. I didn't see a way to embed c4 into a host language, so maybe not a scripting language?

IMO the real value of exhibits like this are boiling the problem (lexing, parsing, compiler, interpreting) down to their most basic parts. One could easily imagine this same language being implemented over 10's or 100's of class files in a more verbose language.
And most common sense of all is that you choose your rules for the audience. This is obviously not production code.

In any case if someone were competent enough to work on it then the style is actually quite readable. It's even full of comments.
I'm not sure about any programs targeted at college students. Maybe that would be a good niche.

I would definitely look into internships through your school, and directly with companies, in web development/ software. This is one place where cs students traditionally learned practical skills anyway, and would also help you with developing a portfolio, building a network/community, and work experience.

Here are some sites about bootcamps. One could be a fit, where you'll build a lot and have structure and a community. Talk to graduates before attending, especially if they aren't known as stellar.

http://bootcamper.io/
http://www.bootcamps.in/
Should I keep my smartphone and tablet out of my bedroom?
Who says it's designed to be maintainable? Not everyone writes code for the reason that everyone else does.
Initially they overlap which is one of the main cause of the jitter. Spreading out the initial locations would be a remedy, but then I would have to find a different way to explain "diffusion" to my daughter :)
Floobits now supports Neovim
The screenshot looks like a mobile version for a feature-ish phone. Which could explain the use of fullwidth characters (expectations of encoding or hardware limitations)
> The new hypervisor isn’t a hypervisor

> And it’s going to be a real hypervisor?

> Yes. We’re working with silicon companies to ensure hardware-assisted security and isolation for these containers, just like virtual machines today. We’re working to ensure that the kernel security cross-section for individual containers can be tightened up for each specific workload.

Sorry, but WTF? Is it a hypervisor or not? From a security perspective, one kernel per container or LXC? If the latter, as the rest of the announcement seems to imply, what is the "work with silicon companies" about? Either compromising Linux allows you to get access to other containers on the machine, or it doesn't. It can't be both.
I wonder if it's faster than http://bellard.org/tcc/ (in compiled line per sec)
Author is not running medium.com. Writing a blog post about this would be more appropriate.
Only the top tier do, takes some low pay grinding to get there
I think it doesn't work on x86-64, since the code assumes

sizeof(int) == sizeof(void*)
I'd heard of palimpset before, but didn't realize old parchments were used to make bookbinding or ceremonial garb.
We Could Save 1,000 Lives per Year If Just 10 Percent of Cars Were Self-Driving
Was there something wrong with the packaging or labelling? Apparently, that’s what they give as a reason why they’ve stopped selling the Bekant desk.
I stopped using Dropbox ... and have been using a mix of Google Drive and OneDrive and I must say I like them a lot better.

For a somewhat less platform-independent definition of better. Neither of those has Linux-clients, which for some people is a no-go.

Which means I'll stick to Dropbox for a good while more.
There's also a way to do this without any user-defined functions that works in both C and C++:

struct tm tm_struct = { 0, };
Ask HN: How to Start a Community Board
Hi HN!

Are there any resources available to create a Hacker News style community board? As in bootstrap themes, algorithms, open source resources?

Any help would be greatly appreciated!
1. It's real
2. No
3. Generally, no
SoundCloud Confirms Licensing Deal with Warner Music Group
Who said anything about hashing passwords? But this is a misconception. You don't want a primitive that is slow. You want one that gives you a lot of security margin in few cycles, then you make it slow by, for instance, iterating it many times. There are many password hashing schemes based on BLAKE2, 6 different ones submitted to PHC (https://password-hashing.net/).
What Is Your Social Contract with Your VCs?
You only need ~4k words for 2 bytes-per-word alphanumeric encoding (keyspaceLength^bytesPerWord). There is a "special" dictionary identifier prefix and a padding indicator postfix, however (mostly for dev purposes).

Scrypt would probably be fine, though the addition of a secret salt (wouldn't need entropy, just secrecy) would be much better. On reflection, XOR would be stupid bad :B
Bad correlation.

This is about a bad language that force GOOD developers to figth against it.

"Always use memset onto struct variable before usage, because by default it's filled with garbage."

See? The language PUT GARBAGE on your code. Good or bad developer, not matter.

Now, a more experienced developer will remember that it need to correct the problems the language force on ALL the users.

Not all the blame is in the people. Somethings, the tools are at fault, too..
you must go deeper
Reading everything into memory wasn't supposed to be a complete solution. Not everything can be that simple. However, it seems to me to be better to start from a simple base and add complexity in as necessary, then start from a complex base and try to achieve simplicity.

But let's run with the idea of loading everything into some immutable in-memory data structure, just to see where it goes. So long as we write everything in Clojure we're fine, but the moment we start hitting things adapted for the JVM, such as the CLJS compiler, we run into problems as you point out.

However, it's not too hard to conceive of possible solutions. Let's start with a simple, but naive way around it. We'll take the files in memory, write them to a temporary directory, and then generate a CLJS compiler with a classpath pointing to that directory. When the compiler is done, we take the result and load it into memory again.

Again, this is solution that aims for simplicity rather than performance, but optimisations immediately suggest themselves. If the files exist on disk, we symlink them or point the classpath directly at them. If we don't need the CLJS output file's content, we can defer loading it into memory.
Accidental Leadership
Remember, to avoid long lines, Republicans vote Tuesday, Democrats vote Wednesday.
This is a pretty severe ecological disaster in Florida so far. They have wiped out the mid-tier mammals (raccoons, bobcats, etc) where ever they have spread. It remains to be seen the impact on other parts of the ecosystem there.
What? My first thought was "cool, Ubuntu backs LXC". My second was "waitaminute, Ubuntu actually wants to compete with Docker?". Docker, as you all know, is a farily well established LXC management solution.

They then go on to state that LXC is a "real hypervisor" with live migrations and such. What? Did they take an established Linux household name, with wikipedia article and everything, and name their new semi-related project identically?

And if it's a para-virtualized solution they're pushing, are they really competing against Xen? I'm not sure it's wiser than competing with Docker.

Anyone from Canonical here and can explain what's going on?
Yep, you can compile it on 64 bit OS X with clang's -m32 option and it should work:

➜ c4 git:(master) ✗ clang -m32 c4.c
...
➜ c4 git:(master) ✗ ./a.out hello.c
hello, world
exit(0) cycle = 9
I've read a couple of Dweck's books and highly recommend them—probably "Self-theories: Their Role in Motivation, Personality, and Development" for the crowd here. Her other book is branded like a self-help book, and it's still good though I imagine many won't like the style.

Her theory hinges on the concept of a 'declarative knowledge system' as a component of cognition, which could be described (in an over-simple manner) as "beliefs are significant determinants of behavior." This structure is also at the heart of Cognitive Behavioral Therapy, which is the dominant paradigm for treating anxiety, depression, ocd, and others. It also works by correcting problematic beliefs in patients.

The belief in question in Dweck's work, which has so much impact on people's learning efficacy, is whether intelligence is changeable or not. If someone thinks it's changeable, they work hard to change it, and value effort. If they think it's something fixed that they're born with, they hold out hope that they might be brilliant for as long as possible, trying to make sure they and others think that's the case. You can imagine how this impacts people responses to failures in intellectual domains: if you think intelligence is changeable, you are glad to be given information on a weakness that you can now improve; if you think it's fixed, you become scared and discouraged.

I think this article focuses on the praise aspect, because it's easy to communicate the idea to lots of people; but the reason the type of praise matters is because one type or the other leads (on average) to the formation of one belief or another on the question of intelligence mutability. If you're not a parent, but someone interested in being able to learn more effectively, the praise aspect is probably less relevant to you—but the books are good.

The thing to keep in mind though, is that the only way to reap the benefits of what she's talking about is to understand that intelligence is changeable (to deeply believe it—that's where it's going to impact your behavior). Reading her books can help instill the idea—I'm still looking for other ways to prove it to myself and have had some success.
Yes, it's possible to make mistakes in C. News at 11. Some mistakes are unique to C, some are shared with C++, and a bloody huge heap of them are unique to C++. What is proven by picking one bug from the first or second bucket and ignoring the third?
o! what i was talking did have freewheel. I guess it is my detachment from the hipster/fixie culture shows here as what i accidentally recently read on it was actually touting ability to have freewheel as among the advantages of fixies over geared ones.
Was there a particular reason Tox (https://tox.im/) wasn't included?
We do have experts reviewing them. Which items are false?
> I would love to learn more about one of the giants from just before my time if anyone has another book they could recommend.

It's been years and years since I read this, but I remember really enjoying it:
http://www.amazon.com/Out-their-Minds-Discoveries-Scientists...
I think this is so true. When you have an evolving system, just toss it out every few years and rebuild from scratch. Obviously, this only works if the people who are building the new version have also build the previous version, i.e. it's the people with the knowledge of the system that's reusable and precious, the code is disposable.
>>An addendum: we're seeing more of this. Snowden is allowed to come home and face trial - on the condition (imposed by the US government) that it is not a trial by a jury of peers.

That is truly disgusting. To me that says, it's easier for this criminal administration to get to one Judge than it is to get to 12 members of a sympathetic public. If true, that is more evidence that the federal government likes to stack the deck; fair trial is impossible. See C. Manning for more evidence of that fact. If the feds would have their way, Snowden would be tried in secret after putting a bullet in his head.
"Vote today, no excuses."

"I don't live in America" and "I am not legally allowed to vote" are pretty good excuses, where applicable.
Well I'm aware it made it into CentOS but that was kind of short lived and was never updated to newer releases of the codebase (thus making it kind of a init system floating around in limbo with compatibility issues.. many of which I've personally encountered). I understand what you're saying about RedHat vs Canonical, but tooling that is as critical as a containerization or init system don't work very well (IMHO) in a vacuum. You have to have it more widely available, useable and used by the community or not only can you not build community, but you end up creating a fractured ecosystem that makes it hard to tool for among other things.
The language just gave you a block of memory. It lets you decide whether you'd like to dedicate resources to clearing that memory.
What do you mean by "a constructor just should not fail?" Constructors can and do fail in C++.
And designated initializers will eventually creep into C++.
The unfortunate reality is that boys and girls are different, radicals would have you believe otherwise, but if you care about your children you should learn about these differences and nurture them to their fullest potential.
While I am no fan of this particular logo as a matter of personal preference, the "NeXT" character-casing is better than just "Next" or "next" since it creates identity.

Identity creates recognition and unlike "Pepsi" which is a unique word, "Next" is a fairly common word and without some sort of identity it would go easily unnoticed in regular writing.

On a related note, I always found that iPhone, iPad, iPod, i* is one of the best product naming schemes I have come across, not just because of the strong identity but also because of it's extensibility to new product lines.
Don’t use import (2009)
> If you wrote your own struct in C++, you have to define constructor to initialize all members with some default values.

No you don't. You are free to define a constructor that leaves some fields as garbage; in fact that's the default behavior.
To me this seems even worse though... I giant JS string holding a bunch of HTML.

In general I like HTML in the HTML file, or in a template file. Embedding large chunks of HTML in the JS, especially as a string is not my cup of tea.
Less of a risk when you are as established as he was by 1986. I think it was safe to assume that Steve Jobs would appreciate and digest the format. A standard 3 concepts on poster board presentation would have been much more risky, given the audience.
Textsecure for Android uses wifi/reg data and SMS if you want. Signal, the version for iOS with combined Redphone + TextSecure will be data too. Soon they will also allow email identity instead of only phone numbers. WhatsApp requires just as much registration as TS, and you have to allow WhatsApp full permissions to mine your entire device from reading SMS to /sdcard.
Location: Fairbanks, AK/Columbus, OH

Remote: Sure!

Willing to relocate: Please! Especially if you're out west.

Technologies: Python, Scipy, Javascript/Node.js

Résumé: lygi.me/cv.pdf

Email: l@lygi.me

About: I graduated in May with an M.S. in math; my thesis focused on developing and solving a mathematical problem in glaciology and writing numerical code to approximate solutions. In July,
I wrapped up a research fellowship where I wrote code to automate tsunami models. Now I'm out looking for work. I'm looking for a junior dev position; I've been doing a lot of work in nodejs recently, and I'd love to keep that up, but I'm more than happy to learn other platforms.

Alternatively, if you need (or just want) a mathematician to think about your problems, I might be your guy.
Facebook Asks People to Vote and Tell Friends, Shows Nearest Polling Place
I had thousands of pics so I wrote an ugly but effective python script to copy all the jpg files recursively and rename them in one single folder to upload. feel free to check it out!

https://github.com/zork3/copyandchangeJPG/tree/master
> I honestly think this is ridiculous. Sure, this is an incredible feat, and congrats.

It's not that bad (or difficult), really. It's a hand-written parser for a subset of C that emits assembly code right away. This is how compilers like Turbo Pascal used to work (see http://www.pcengines.ch/tp3.htm for an explanation of what's happening).

Sure, you could apply cosmetic changes like making "*++e = bla;" into "emit(bla);" and you could move the cases into independent methods (that are used once), but this isn't meant to be a state-of-the art compiler and it won't become one if one applies best practices to it.
Thank you for sharing that link to the tinycode Reddit. Did the original poster (for the C in four functions) participate in that sub-reddit ?
No, the compiler avoids unecessary work unless you ask it to.
There's only 32K of memory to go around, and you're doing dynamic memory allocation? It's been 20 years or so since I last touched such a limited memory system - and everyone I know who did switched to static allocations after being bitten by the unpredictability of dynamic allocations.
As long as we're purging evil legacy, this particular bug could also be solved by getting rid of daylight savings time and updating the struct accordingly.
As others have said, software skills mean you can work in nearly any industry. You can definitely use your skills in a new area!

"Realistically it is too late for me to do an about-face"

Why's that? :) You definitely can if that's what you want. I met plenty of PhD students in their 30s, 40s and 50s (some were in the sciences). Not every grad student is 22, fresh from undergrad, or in their 20s.

These feelings are normal. Definitely talk to close friends, family, a therapist, and people who have felt this way and 1) took the plunge 2) did not.
In ISO C++ and GNU C you can also omit the 0:

struct tm tm_struct = { };
Why American politicians are obsessed with white women
It seems apps have to be built to recognize a fixed set of beacon IDs. Is it possible for apps to discover and monitor a dynamic set of beacons, including beacons intended for other purposes? I'd like to be able to tap into existing beacon networks for my own app's use, but that would require being able to detect their IDs, present them to the user in some meaningful way, and then have my app watch for them.

Another scenario where this particularly matters is allowing multiple devices (phones, tablets, PCs, watches) to "pair" and keep track of their proximity from each other.
I too do not like my CC info on file. This is mostly so I can always be super sure that I'm paying for something. There cannot be any accidental clicks that lead to charges, instead I can know, for certain, that If I havent put in my CC then I'm not paying.
I can't agree more. One thing I noticed is that, when dealing with large entities like university education, your apartment, home, job etc., the risk is optimized out of the system, and placed on the individual. Take a close look at the contracts you sign on, next time, if you don't believe me.

Now, as some one poorly paid and pursuing science you would be particularly vulnerable to this risk.
The bad thing is you have worked yourself into a corner, and there is nothing that you can immediately do, to improve your situation, should you fall into bad times. If you are working for a contractor for a big IT company, you can work long hours for increased pay. You, as a scientist, will not find a similar outlet.

Personally, I think the whole thing sucks. It is not that we need more people in science, rather, we
need more investment in science; People/Institutions with big money taking big risks. Like Elon Musk.
What actual MAC is what?

Sorry, I'm a bit confused by the question :)
Which means neither deserves it.
It is very important to make people fall in love with the idea before the reveal. Great example of that.
I think Cockcroft is a small hero in this story. He expended significant political capital to push through a very unpopular idea because he could see the importance at a time when absolute safety was not the first concern. Brave.
That's part of the problem though. You are European yes but at the end of the day you are still white and to some not so insignificant part of the population that fact means more than everything else that may set you apart.

Obviously I can't read the author's mind but my interpretation was not that she was bothered by not having other black women around her so much as she was by the consequences of that lack of diversity. She felt left out and passed over at times. She felt like she had to constantly defend her opinions, her self.

I don't think diversity in the work place is something that is an absolute must but I think in cases where that lack creates a hostile work place for some employees there is absolutely an issue. If you're co-workers are making racist comments/assumptions about you and your manager's solution is to ship you off to another office, there is absolutely a problem.
>See? The language PUT GARBAGE on your code.

It didn't put it there. It just allocated some memory. Not more, not less. If you, for example, malloc a large chunk of memory but don't intend to use it sequentially or not right away, you can save time by not memset'ing it to zero, which would be pointless. C gives you the liberty to defer the initialization, but if you're careless, you'll shoot yourself in the foot. It's very much like having a car with manual vs. automatic transmission. More power = more responsibility. If you need power, you have to accept some compromises, and in this case, the compromise is that you need to mind what's in your memory all the time.
You can’t value everything, or “Priorities are hard”
Does that work on char array members in the struct?