skysight-inc/HackerNews huggingface dataset:
I just want to be that person who brings up the oppression inherent in the clean-shaven-male culture.

The skin on my face hates shaving. I disagree with the resources spent on shaving, and the pollution. I've shaved my face fully once in the past 10 years, but I do shave around the cheeks and neck, so I have to deal with the shaving thing a bit anyway.

Also, I'm from Adelaide, home of 'The Beards', here they are with their track 'If Your Dad Doesn't Have a Beard, You've Got Two Mums' https://www.youtube.com/watch?v=RmFnarFSj_U
How to market your business on social media
There was an article on HN recently about a young man who spent nearly a year in jail, waiting for trial. Basically the prosecutor came to him,said "look, you can plead guilty, they will give you a 1 year sentence, take into account that you've been here for a year, you will be released and home within a week. Or, you can go to trial, which can go for months, and then you might end up with a 3-5 year long sentence".

What would you do in this situation? Even if he was completely innocent, the temptation to go home right now, to end the nightmare, must be absolutely huge. I can only guess that there are thousands of people like this in US.
Webydo 2.0: Seamless web design platform for professionals, code-free
Inadequate data analysis undermine NHSTA's effort to investigate safety concerns [pdf]
He might intentionally ignored Elixir, IMO.
Not very memory-efficient and not very much like a real instruction set.
Festivals in Armenia
1. What the question is and why it is important.

2. Broadly, what area of mathematics was used - how did they go about solving it.

3. Do we have a concrete proof? For a general case?

4. Where are we now and what is next?
Capital controls and a non-floating exchange rate.
How+I+stopped+worrying+and+learned+to+love+WhoAPI
I wouldn't call this indicator so unconscious when the triggers can be so easily enumerated. Agreed wholeheartedly.
Or indeed my favourite anomaly the Circle Line which is signposted as "East" and "West" bound despite being a loop!

(Ok, it has a terminus now which it didn't used to - but that doesn't really clarify anything for baffled tourists at Bayswater).
Per 5.1.2.2.1 [C11 Final Draft], the `main` function should be declared as either

int main(void) { /* ... */ }

or

int main(int argc, char *argv[]) { /* ... */ }
I have no objection to summary comments - they can guard against certain types of accidental or otherwise erroneous edits. If the code and the comment don't quite agree then suspect both of them are wrong.

Personally I think check-in comments should be a concise (but not generic like "bug fix") description of "what" with a smattering of "why" (perhaps a reference to a bug/ticket/feature/request ID). The details of "what" can be seen by looking at the diffs. Where the details of "why" go is split. Why you chose a particular method over others available? Any constants or magic numbers you think might need clarifying when someone else looks? You've done something that looks odd/unnecessary at first glance in order to work around a bug/limitation beyond your immediate control? Those things go in comments in the code. Just about everything else goes in the ticket and possibly makes its way to other documentation, there is not point cluttering the code up too much (unless your implementation documentation is all in-code and you use tools to extract it into other forms, as I've seen done before now, in whic case everything goes in there). "FIXME" and "TODO" markers can go in the code too though generally you want them gone for release (if they survive between releases then they should really be feature requests in your backlog rather than just code markers, so they can be tracked/managed/prioritised as needed.

What really grinds my gears is commits without any comment at all.
What's a realistic and rewarding goal for a startup then? :-) (Picking up a keyboard and writing some code at a campfire?.. might not go down all that well.)
The Copy on Kleinbottle.com is marvelous, its like pouring hot cocoa spiced with love:

From http://www.kleinbottle.com/drinking_mug_klein_bottle.htm :

"The 7 mm air space separates the inside from the outside, so ice water won't cause condensation. This extends the life of hot or cold drinks, saves energy, and helps stave off the dreaded local thermodynamic equilibrium."

But seriously just read the whole page, this is like a bear hug from a friend I didn't knew I had.
ahh, no wonder that name sounded so familiar!
Commit messages could have titles :-)

Most tools only shows first line of message. Rest of the message can contain whatever you want.
Obligatory plug for "isidewith." It's the one thing I've seen make people actually vote for the candidate that represents their views:

http://www.isidewith.com/political-quiz
Try to use cat with a file that doesn't end with a newline.
So the boys-like-distortion gender norm trumps the pink-is-for-girls gender norm?
I cycle commute to work about 38km each way, currently about a 90 minute effort. I ride at for me, "threshold" (above 90% of max heart rate) for 45 minutes of that and remainder at "tempo". No where near "ultra" but I think I'm near my biological maximum.

I too have hit a period where I was feverish for several weeks. Foolishly kept cycling and became ill / fatigued to the point where it was a struggle to get out of bed. The physician I visited didn't find anything conclusive and I was on variants of ibuprofen to control the fever and for pain relief. When I was finally feeling better, I cycle commuted once and that knocked me back into bed for another week.

Likely I was going too hard for the conditions. This occurred when temps during the commute was hovering around 0dC. Low temps make it a challenge body temperature and may have stressed my body too much.

Strava provides a metric to guess how fatigued one is from cycling. I noticed that the point when I fell ill was the same time it was reporting record fatigue levels. I now keep an eye on it but I'm feeling a touch of that "fatigue" these days. Likely to due to $dayjob and cycling...

I wish there was a way to measure all my activities to guide when I should be backing off. I've found my breaking point and crossing the that point means weeks of recovery.

For what it's worth, I'm faster then I ever was... but something is going to break.
OK, what the hell is going on here?
There are projects like FoldingCoin.net and CureCoin.net, which enable people to contribute processing power for solving computation-heavy problems, such as protein folding. These two projects are focussed on medical research and the tech is based on bitcoin blockchain.

To encourage people to contribute processing power / storage, these projects need to incentivise them which is where bitcoin comes in.

There is a startup called 21.co which is creating an embeddable bitcoin mining chip, which can be "embedded into an internet-connected device as a standalone chip or integrated into an existing chipset as a block of IP to generate a continuous stream of digital currency for use in a wide variety of applications." [1]

As mobile devices start having these embeddable mining chips, people would be able to "mine" coins like FoldingCoin and CureCoin on their devices, which then becomes like a network of coordinated "cloud servers" which are incentivised by these coins

Also, there are decentralised cloud storage projects like Storj.io (similar to Dropbox).

[1] https://medium.com/@21dotco/a-bitcoin-miner-in-every-device-...
Aion Game: Cambios Chanter Parche 4.8
Mine autogenerates the front and just inserts it at the start of my pdf file.
Everything gets shoehorned into the one tag. Originating repo, image name, version. So next time you pull "x/y:latest", the current holder of that tag loses everything. You see an image in the list with nothing listed - no repo and no image name, when it should just lose the 'latest' tag. If I have multiple images on a machine, I now can't tell which are the old images from a particular repo (well... I can guess by image size), and that's not great if I want to roll back. There is no reason for an image to automatically lose a tag describing where it came from.

It also means you have to tag twice using the full tag if you want build numbers: this build is "x/y:latest" and "x/y:v1.2.3", when you could just do "latest" and "v1.2.3". Similarly, when you pull an image, it should pull all tags associated with that layer, so you pull 'latest' and it also brings the tag 'v1.2.3'. This seemed to be the case with the docker v1.5, but it seems inconsistent in 1.6. I haven't had time to nail down that suspicion, though.

There are other bits that could do with polish (like being able to do multiple tags at once, rather than push afresh for each one), but the main problem is the single tag field. Given the amount of metadata they already store for an image, this seems a strange behaviour to suffer.
I live in India and I can get a shave from the local barber here for around $1. These guys use straight razors. I tell you, the shave is closer than anything Gilette or Aldi or DSC or Harry's can do.
As already suggested, function pointers are a particularly memory inefficient way to represent instructions/opcodes.

But on top of that, there is another issue with this representation: Your interpreter will very likely be dog slow, because you have to make a function call on each iteration, and it cannot be inlined, because it is dynamic.

And I suspect there are implications for the I-Cache that should probably be considered as well.

EDIT By "considered", I mean, measured, and then considered.
My idea of education is one that teaches you skills that are broadly used throughout your career. I don't a priori reject things that meet this criteria just because it's not based in theory (because theory is not an end to itself), or by applying arbitrary labels like "vocational" (whatever that means), "liberal" or "professional".

As for art history and psychology, that's a different debate to be had about education — whether these should be part of education and how much time they should take.

As for your question, I've used regexes, but you don't need to understand the details of the regex engine in order to use them. Neither do I, in my day-to-day work, write programs that try to tell if other programs halt.
What? How can you not care.

Commit messages are extremely important when trying to understand the evolution of code. And the style matters a lot, not only the content. The (Linux) style is optimised both for people and tools (e.g. grep, awk).

When reviewing code I held the commit message at a much higher standard that the code itself. Nobody passes through me with a non-perfect commit. Luckily, people quickly learn and they start writing good messages without having me to force them, because they see the value.
You missed the relevant text:

>or equivalent; 10)

>10) Thus, int can be replaced by a typedef name defined as int, or the type of argv can be written as
char * * argv, and so on.

And Standard also says that:

>or in some other implementation-defined manner.

and:

>In a freestanding environment (in which C program execution may take place without any
benefit of an operating system), the name and type of the function called at program
startup are implementation-defined.

So main can be pretty much anything according to the Standard, depending on the system.
Do you understand that this is an extra-curricular activity and not an actual primary school?

If you understand that point and still balk at a program like this because it doesn't 'keep enough doors open' (???), I strongly encourage you to readjust this mindset before you have children. And, if you do have children, I am even more vehement that you need to change your tune.

Small children deserve to use their imaginations and dream the wildest dreams imaginable. They deserve this not only because they are little kids and childhood is brutally short, but also because their brains are highly plastic and they are rapidly developing cognitive skills that adults take for granted.

Children who are interested in the arts absolutely deserve encouragement because every single child on earth deserves to be encouraged. Children deserve to be encouraged to be the best versions of themselves that they can be.
Amazon to pay Kindle authors only for pages read
Ah OK I see what I call "what" you call "why".

"otherwise comments get outdated easily" - not mine. If this is a problem, it's a problem that needs fixing, not a reason to comment less.

"extract that piece of code into a method" Sometimes, yes, but you can overdo this and end up with a fragmented codebase that is harder to follow.

This is an old debate, and there are books on either side. My preference is something approaching Knuth's literate programming.
the object that have only one surface, but no edge, is a klein bottle. A sphere (or if you will, a ball pressed into a bowl shape) has two surfaces - the outer one, and the "inner" one (where the "inner one" is the one you cannot reach from the outer one, as tho the surface is infinitely thin, and the bowl/sphere is made of hollowness.
So the boys-like-distortion gender norm trumps the pink-is-for-girls gender norm?

No, that's not what I'm saying, nor what I believe the program is saying either.

To my mind, everyone likes fun with distortion, and colouring the relevant guitars pink helps break down the "pink is for girls" gender norm, nothing more, nothing less.

Actually, being perfectly honest, I'd never even heard of "boys like distortion" as a gender norm; is that a thing?
Let's talk about the content of this demo, not the implementation.
It ought to be a simple matter to start a new ticket and dump your work into it.

A la the Joel Test, your ticketing system should:

- open a new ticket on receipt of unknown email, sending back the ticket number

- treat email with a proper subject prefix as a comment on an existing ticket, adding any attached files

- easily merge two or more tickets, preserving both histories and redirecting all references to the old tickets to the new one

- maintain metadata and ACLs for metadata

- automatically re-open a ticket when a new comment or reply is received

- require a message to close a ticket

- provide summaries

- be full-text searchable

- track all history immutably

- provide a method to associate many individual reports of the same problem
I doubt that there are cheaper and better ways to become a practician than going through college. In India, where I live, most companies are not interested in you unless you have a degree. The normal path to a career in programming is to get a CS degree. And the normal outcome from a CS degree is a career in tech. So, they are much more closely related than you acknowledge, at least in my part of the world (things may be different in yours).
Hackers Can Use Pita Bread to Steal Laptop Encryption Keys, Say Researchers
Dots, periods or starting with caps - it makes no difference (except for aesthetics, perhaps.) What does (or at least: did for me) is Angular-style commit messages: https://github.com/angular/angular.js/blob/master/CONTRIBUTI....

> <type>(<scope>): <subject>

> [...]

> feat: A new feature

> fix: A bug fix

> docs: Documentation only changes

> style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)

> refactor: A code change that neither fixes a bug or adds a feature

> perf: A code change that improves performance

> test: Adding missing tests

> chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

There is a big difference in knowing if someone added a feature, fixed something, or did some refactoring.
> Already done and wrote a non-optimizing lisp compiler and an optimizing toy compiler with common subexpression elimination and fancy register allocation.

And yet failed to grasp the difference between frontend, backend and intermediate execution format.

> I gather from your response that you've realized you were wrong about Android not using javac but were too proud to admit it. Don't worry, we can fix your pride problem with these tasks below:

I don't have to acknowledge anything. Anyone knows that javac does not execute code on the Android platform. As such talking about whatever influence it might have on runtime performance, besides peephole optimizations, constant folding and similar AOT optimizations only reveals ignorance about the Android stack.

> 1. Dalvik and ART don't take jar files as input, so it is impossible to get your brownie points. Learn why.

Yes they do. Jar files get converted into dex files, which means the same file can be used as canonical input for both platforms.

Then again we are learning about Android aren't we?

> 2. Oracle's Hotspot targets x86 and x86-64, and Dalvik and ART are mostly focused on ARM. Learn the difference between ISAs.

Maybe you are the one that should inform yourself about Oracle and certified partners Java JIT and AOT compilers for ARM platforms.

Learn about the Java eco-system.

> 3. Hotspot and Dalvik make different tradeoffs between CPU and memory both in their choices of garbage collectors and in their JIT strategies. Think about why that would be.

Of course they do different tradeoffs. The ones made by Dalvik and ART are worse than approaches taken by other Java vendors, hence why they generate worse code, which leads to bad performance.

Learn about commercial embedded JVMs.

>4. The word "compiler" by itself refers to a program that translates source code into object code. Notably, an assembler is not usually considered to be a compiler, and JIT "compilers" were originally called dynamic translators for three decades, with JIT compiler only appearing in the 90s. Given that terminology background, figure out why most people would call javac a compiler but not Hotspot or Apple's Rosetta.

Learn about Xerox PARC documentation and its references JIT compilers.

Or better yet feel free to dive into OS/400 documentation about its kernel level JIT compiler.

All of which go back a little earlier than the 90's
Why flag the submission? The submission illustrates a real problem (maybe?) and people have a (potentially interesting) discussion about it. I don't see any reason to flag it.
We saw this on several machines: https://gist.github.com/anonymous/e693eb68cfedace84025
Bu commoditising the docking point e.g. AWS/Google/Azure to whom rent is paid is not the same as buiding a distro for distribution which will be to the builders particular idiom.

I choose a distro based on the package manager - I'm used to Debian so I generally prefer apt based distros to play with.

I prefer BSD over Linux and plan9 over all of them but the are not fungible.

I do pay my supplier a monthly fee to host my container, and for that the metrics is (bandwidth + speed + storage space) / price
The decision does not erode the third party doctrine so subpoenaing the records still works. The key difference is the "precompliance review" part. Unlike when cops show up at your door, you can challenge the subpoena in court before having to respond to it. The whole point of a warrant requirement is judicial review of the search. A subpoena can always be reviewed by a motion to quash so a warrant is redundant.
Kotlin's Java Interop: Top-Level Functions and Properties
Harry's clog up for me and stop cutting well mid shave.
Google Apps Update Alerts: Undo Send for Gmail on the Web
> Now with a LIFETIME GUARANTEE - we guarantee that you will live your entire life OR YOUR MONEY BACK!

ROFL - that site is awesome. You don't need no fancy javascript, graphics or special effects. Just pure humor and good content!
Google finally makes 'Undo Send' an official feature of Gmail on the Web
Scalzi has a good take on this: http://whatever.scalzi.com/2015/06/21/amazon-tweaks-its-kind...

Notable is that Amazon still sets the overall amount that all authors can be paid -- the pages money comes out of a pot, and Amazon sets the pot. Also, he brings up the idea of a "choose your own adventure" book -- it's not yet clear what the payout would be in this case.

This is only for Kindle Unlimited.

Scalzi points out that he doesn't view Amazon as evil, but that there are situations in which Amazon acts more in its own interests than those of authors.
Beyond Money, How Much Support Should VCs Give Startups?
How do we make a household capable of being an Amazon

Put a sysadmin in every household. Personal servers have been a thing in geek houses for decades.

We're starting to get more domestic computer appliances: PVRs, consoles, home NAS gizmos, increasingly smart routers. Nest. Smart lightbulbs. However, because very few people have the skill, time, and inclination to manage these things, they're subject to the management of their OEM. Who will do the profit-maximising thing.
If your services consistently restart quickly, it gives you the freedom to design things differently.

E.g. doing a rolling update across a large number of instances by restarting a service at a time can become a quick enough process to be viable in instances where you'd otherwise need lots of excess capacity to be able to cycle larger proportions of instances at the same time. Making full rolling updates "cheaper" both in time and resources also translates to making rapid updates a safer choice (e.g. if I can roll back a broken release in 5 minutes, it's far safer to push out a new release than if a rollback takes hours).
Certainly interesting, but not really useful IMO.

Instructions that are present very rarely might be executed far more frequently if they are within a loop, particularly a tight number-crunching loop.

I suspect that MOV instructions would still dominate but that you would see then "minorities" within the instruction set getting more representation in the stats.
It makes me sad, and is probably a failure of HN, that people like Stoll only have 7 karma and don't post here.
For mine I used KOMA-Script Package (scrbook) http://www.dickimaw-books.com/latex/thesis/thesis-screen.pdf (and for official documentation: http://www.ctex.org/documents/packages/nonstd/koma-script.pd...).
I think the "paid their dues" thing is meant to be necessary but not sufficient. That is, a lot of people would be cautious of voting for someone who had no significant political experience.
Amazon Tweaks Its Kindle Unlimited System
Well, programming can be picked up by just about anyone these days, so its no wonders you get people as mature as youtube commenters in the mix.

This is what differentiate professionals from amateurs.
A Brit plays the tech PR game in America
While I commend the poster's ideals, the method only works in the glass cathedrals model of development. One in which no commit gets made without having followed the process from inception, through requirements gathering, through unpressured development, through appropriate and thorough QA/code review, and deployment. In the street market bazzar you're left with thousands of micro commits that you don't have time to sit down and create an illuminated manuscript page for each commit explaining it's small description, and it's naritive history.
Starting with caps or not makes a huge difference. It can easily break naive grep/awk. Other problems are typos and idiosyncratic spellings. Always spell-check your commit messages, it should be part of your git hooks.
Dragon Village 2 Hack Tool No Survey
I have never heard that boys particularly like distortion and certainly do not think it is a gender norm. Heck, many of my favourite shoegaze bands have women as very prominent members and creative forces...

I somehow doubt that you play guitar, so I should also point out that playing a heavily distorted guitar is tremendously fun for anyone. Guitar is the toughest instrument I've ever played badly and I still think it's great fun.
Are you saying HDDs can't suffer a sudden death? HD crashes aren't exactly unheard of.