skysight-inc/HackerNews huggingface dataset:
Interestingly, that's about 75% of my 2-year MBA.

Sure, it's far different doing daily training to get those concepts ingrained in your mind so you don't have to actively think about them, but it's nice to see them listed like this.

Here are a couple more:

- Overconfidence bias: we usually think we're better than the average on something we know how to do (driving) and worse than the average in something we don't (juggling), even if almost nobody knows juggling and everyone knows how to drive

- No alpha (aka can't beat the market): you can only consistently beat the market if you're far better at financial analysis than a lot of people who do it every day all day. So don't bother trying.

- Value chain vs. profits: you'll find that most of the excess profits in the value chain of a product will be concentrated in the link that has the least competition

- Non-linearity of utility functions: the utility of item n of something is smaller than item n-1. Also, the utility of losing $1 is smaller than (1/1000) utility of losing 1000. This explains insurance and lotteries: using linear utility function, both have a negative payout, but they make sense when the utility function isn't linear

- Bullwhip effect in supply chain: a small variation in one link of the supply chain can cause massive impacts further up or down as those responsible for each link overreact to the variation (also explains a lot of traffic jams)

- Little's law: in supply chain (and a lot of other fields): number of units in a system = arrival rate * time in the system

I'll add more as I think about them.
> Concrete or metal spikes are used to keep people from urinating in dark city corners

https://ablersite.files.wordpress.com/2014/03/anti_urination...

http://www.slab-mag.com/wp-content/uploads/2010/10/Sorbonne....

http://unpleasant.pravi.me/wp-content/uploads/2011/10/anti-w...

?
http://www.slowtrav.com/blog/jgk/DSCN5768ant.jpg
Similarity vs. Copying
We have an addon called the "Jit Inspector" [1], which should report the Assembly produced by IonMonkey. Last time I tried it not all panels where functional because it was still making attempts at reporting data from JaegerMonkey, which got removed since.

The lastest solution I have seen so far is what we call the "Jit Coach" [2]. This is a devtools panel under the performance tab which reports if your function sticks in IonMonkey compiled code. Based on the MDN page this is behind a preference in "about:config".

When we compile, we record the hypothesis made by the compiler, and use these to annotate the deoptimization paths which are taken. Each time we jump back to Baseline the tool reports why we jump back to Baseline.

So far, only the front-end of IonMonkey and the deoptimization path are recorded. No other optimization phases are recorded at the moment. Sadly, it does not report the Assembly produced by IonMonkey.

[1] https://addons.mozilla.org/en-US/firefox/addon/jit-inspector...

[2] https://wiki.mozilla.org/DevTools/Performance/JIT
An iOS framework to make steps easily to guide the users based on AOP
Focus on the smell. Make it long enough (about 24 hours) to notice other smokers smell. That is the smell of other people being repulsed by you. You smell like that in every elevator, every time you introduce yourself to someone, and no amount of gum or tooth brushing covers it up. You can't smell it while you smoke, but the rest of the world can.

It was enough to keep me dedicated knowing I could confidently talk to anyone after I quit without having to wonder if they were immediately put off by my smell.

People who still smoke always complain that ex-smokers are the worst and most judgmental about smoking, and it's 100% true. It's because we feel seriously ashamed of ourselves for being so stupid for so long, it comes out as assholishness sometimes.
AFAIK all the ThinkPads have a BIOS option to disable CompuTrace. Mine has three options: "Enabled", "Disabled" (default option) and "Permanently disabled".

The "permanently disabled" option erases the CompuTrace blob from the flash chip, so it cannot be re-enabled afterwards.

This may not be the case for their non-business machines (i.e., not ThinkPad).
1984 was not supposed to be an instruction manual.

Clearly, it is being used as one.
C++ compiler support
"Ok, but isn't the question of whether or not something is done at compile or runtime always an implementation detail?"

No it isn't. It changes the entire semantics of your language. For example Python as it exists today simply can have neither type checking nor GC decisions* done at compile time. The language is not capable of expressing those things adequately.
Adding those would require some significant changes to Python the language, its stdlibs, as well as the Python VM.

Conversely, starting to use reference counting in Rust is definitely possible but will jack up your memory-related bug count, a rather undesirable result. The code is also pretty much always more difficult to read, understand and debug. Its only redeeming feature is that some datastructures simply need the flexibility it brings.

* I define a GC decision as deciding what to de/allocate and when to do it, rather than performing the de/allocations themselves. For example, the GC algorithms in Java and Go fall under this definition, as does Swift's ARC mechanism, as well as Rust's ownership based decisions. The former 3 decide at Runtime. Rust usually decides at compile time, the only exceptions I can currently think of being code based on the Rc/Arc/RefCell types, which do reference counting and therefore the de/allocation decisions are deferred until runtime.
Prerequisites: Java JDK 1.8 or greater
Aaand I'm out
He's not a US citizen, and does not reside in the United States, so the legal risks to him personally are comparatively small.
Pexels – Free stock photos
Step 1: Don't fuck up!

I think we would have much more "brilliant children" if parents wouldn't fuck up.

Child abuse, child neglect, domestic violence in general.

And this is "just" the parent factor in the equation.

Then there is the social circle that can fuck up things pretty badly too.

I know so many people who could be brilliant, but they are simply broken beyond repair.
Baseimage-Amzn – A Minimal Docker Base Image Based on Amazon Linux RPM Packages
I tried to post a refactor request, as a C++ developer I can't help but noticing C++ is not in the dropdown list :)

> How about a feature to open a bounty and pay real money to people who refactor the code, and only the refactoror and initiator can see the code?

Privacy is the trick bit, I guess you are right there's no way to keep code completely proprietary.

I was thinking from my own experience, I have worked for big companies that have tons of legacy code that were written in subpar standard, sometimes developers were asked to refactor a piece of code written in a technology they are not familiar with. Have a refactor tool like this can serve as a mini contract to outside developers (or QA in some perspective).

Any reasonable sized company will have some rules regarding proprietary information, it's very unlikely they'll allow employee to publish company's code to an open community, so some restrictions need to be applied. However, if you want to focus on open source projects then none of this matters.

How about create a group, and only people with certain privilege can join, for example, a "Java Consultant" group that only people with >1000 reputations can join. On joining this group you also have to agree to extra terms and conditions, ie. not to disclose code you've seen or use it on your own. And when you start a refactor request, you can choose only to publish to this group, and only people in this group can take bounties (or you can choose to label your code with a particular license to prevent reuse).

It would also help if you can provide a feature that the initiator can force the refactor to provide a mini document to explain why the refactored code is better.
Send flowers online
Which is the best e-commerce site where I can order or send flowers online to my family and friends?
Douglas Crockford: With a bullet
It's possible and likely that they think that neither is better than the other, but with a change from one to the other, some cultural elements are lost and that can be a shame.
I always wondered if this is hostile architecture or just plain stupid

http://i.imgur.com/FUuFPgK.jpg

See how the lady walks on the right? Bicycles stay on the two rails on the left and often pedestrians too. All the space in the middle is nobody's land. It's rounded pebbles in a concrete pavement.
> No, the picture demonstrates why cars are bad; they require too much space.

Cars take more space, but not nearly as much more space as that picture tries to imply. It shows a single bus with full capacity, but one car per passenger. If it treated cars equally with buses, there would be significantly fewer cars, smaller cars, or many more busses.

You can have a smooth, 60 mph ride through San Francisco, or you can have enough stops and capacity to serve the entire city. You won't have both. I've heard promises of rail for 40 years and maglev for 20. I think they can be very useful, but they won't serve all the needs of an entire city, much less an entire metropolitan area.

Cars and future car analogs will probably always be necessary, and a public system which uses them could be very helpful and both save and free up a lot of space. But this is about a lot more than just space.
Ask HN: Questions to people over 50 in tech
1> What work you do?

2> Do you still enjoy writing code? Or Just management stuff.

3> How old were you when you started in tech.

4> If you can go back in time, will you choose any other career over this?

5> What career advices would you give some one in his 20s.
I've quit 4 times. Last time I was sure and totally relaxed. When you know you want to quit, you will, it doesn't matter the technique used to quit, I felt I was about to quit with determination.
Send cakes to india
Which is the best online portal where I can order cake online and deliver cake India?
Perhaps, but, if that were the case, I think our security officer (who is a great guy and great at his work) would have quit immediately on moral grounds.

It's more likely (and I'm just grossly speculating now) that the business weighed the relatively small chance of us being ordered to give the virtually zero amount of data we have on everyone with the chance that something will go wrong updating the canary and there will be a bunch of bad publicity again.

Keep in mind that, while one may think "you're just uploading a text file, how hard can it be", it's much more resource-intensive than that. You need multiple redundant people to make sure the world doesn't freak out because your CSO was on vacation, you need them to coordinate about updating, you need them to (crucially) know how to store the PGP keys securely, you need to keep that number low to make sure the key isn't stolen from one of them, you need good tooling to minimize the chance that there's a mistake while uploading, you need to keep the machines that host it running even after a move, the DNS entries up, monitoring to tell you if the canary is stale, etc.

It's a lot of things to get right and a lot of things that can go wrong, and the failure case for that is "your stock goes down", which is a heavy price. I think the mistake here was that there wasn't a bigger, more explicit and pre-emptive announcement (something like "we'll take the canary down in X weeks because Y"), which I think would have more successfully assuaged fears.
You are right, they are different questions, but the straw man was not intentional, I thought the original phrasing was ambiguous enough that it could be interpreted in both ways ;)

In other words, it was unclear to me what the answer to the question "Are the assumptions part of the hypothesis?" was. If, as I did, we assume that "yes, they are" then I don't think it follows that the probabilities will both be `1`, because we do not have logical proofs for the claims, the implication could only be true in the model (they are not necessarily entailments).

The waters are muddied further still when the hypothesis itself is phrased as an implication.

EDIT

It also strikes me that for your line of reasoning to hold, it is not sufficient that Pd1 = Pd2 are small, but instead `Pd1 = 0 = Pd2`, in order to justify this line:

> = Pd1 + P((A1 & A2 & ... & Ak) & H1)
> = Pd1 + P(A1 & A2 & ... & Ak)

Which is tantamount to saying

(A1 & A2 & ... & Ak) <-> H1
& (A1 & A2 & ... & Ak & ... & An) <-> H2

Is it not?

EDIT (2)

Ignore that, it is not tantamount, it is a weaker condition.
Actually newlines and commas are OK, and in fact arbitrary bytes can be put into CSV, because officially[1] CSV supports escaping using quotes (and escaping quotes by doubling them).

[1] https://www.ietf.org/rfc/rfc4180.txt
A foot of snow, sub zero temperatures, and icy roads are not cultural bias.
8 Things You Need to Know About Before Raising Venture Capital
Apex memmove: the fastest memcpy/memmove on x86/x64
This works also towards animals.

For example, on top of the information displays at outdoor stations, there are spikes, as seen on this picture:

https://upload.wikimedia.org/wikipedia/commons/6/6d/IMG_6146...

These prevent birds from sitting on these displays, which keeps the displays clean and prevents passengers waiting below that display from unpleasant surprises.
Startup – Ubiquitous messaging through third-party messaging apps
ScalaZ Disjunctions
Hi all,

We created a SaaS platform that allows you to build your lists and message your subscribers through multiple third-party messaging applications (FB Messenger, Line, Telegram and SMS so far. More coming soon) from one single place.

We're hoping to offer a ubiquitous way for businesses and NGOs to get in touch with their subscribers without having to worry about platform compatibility, switching accounts, and so on.

We are still very early stage, and would love your feedback on this! You can go through the trial, it's entirely free and there's a free plan for you to stay on if you want to keep playing.

Thanks for your feedback!
"I don't think it's a different type of design."

For some reason whenever I see articles like this on design, I think of conway's law. See, broadly, design is a process of questioning and understanding. This process is limited by and maybe starts to metaphorically resemble the structure of the organisation which produces it.

This is for some reason much more apparent where there is a social/political aspect to the design, rather than being purely commercial. Maybe a better design for a toilet to prevent injecting.. is a safe injecting room. ie. The problem as identified by the client is not 'people shooting up unsafely', the problem is 'our voters don't like these people hanging around'. The blue light somehow exposes the cold blooded rationalism of a council wishing to satisfy its benefactors at the expense of its inhabitants.In fact, it is just as important that it also illustrates this point, as it is as much about symbolism as utility.

So I guess while I agree with you, I still think it is worth drawing attention to the unpleasant designs for unpleasant clients..
the image is lovely. the zoom tool is missing a feature to link at specific places - like, there's a galaxy visible trough the background at a certain place, but you cannot share it

also it's surprisingly detailed and noisy, where usually it's an either or. It makes me suspect the noise it's actual stuff absorbing/emitting radiation, but I have no idea what's the interference to be expected from dust or if those dots and speckles are all actual stars - anyone has a link with some explanation of what we're looking at?
Interesting! How does this work exactly?
2020 Digital India: Poised to Become 1$ Trillion Economy
Well, because I want Firefox addons, because I want to be able to add tab previews just with an addon, or redesign the entire UI with an addon, or have tree style tabs.

I want to be able to write an addon integrating with a custom server for storage of browser history, or an addon that allows me to tag history entries.

I want to be able to add entire websites in iframes to the UI – for example, as small windows floating in the bottom containing an audio player widget.

That’s why I use Firefox in the first place.

Sadly, half of its UI is unusable thanks to GTK.
Jane Jacobs, for those unfamiliar with the author. A true gem.
Iraq Inquiry: Chilcot says invasion 'not last resort'
> drawing characters

It's only drawing if one doesn't write the language. If I have forgotten how to write a character and have to refer to a dictionary, I'll still be writing the character, not drawing it. Compare/contrast with my trying to write Thai, Tamil, Arabic, etc - then I'll be drawing.

Personally I write Chinese on the iPhone/iPad using my index finger much faster than I enter pinyin. I find that iOS's character recognition is fairly good - as long as I get the stroke order right, even though what I have written looks like random scribbling on screen, most of the time it presents the right character.
If we were to create a moral acceptable copyright law, then new content would be the staring point. That discussion has not started yet, and the pirate party movement who were one of the early starter for a copyright reform has had problems competing against the more popular political issues such as banking crisis and refugee crisis.

Asking people to respect copyright law in current environment is a thought sell. The publishers for GoT are part of those who are currently corrupting and stealing, so from a ethical stand point I have little sympathy saved for them. One could argue that two wrongs don't make it ethical, but then I would argue that respect can't be demanded, only earned. The argument of the article and the lack of a fair product also points toward a lack of mutual respect.

Had this been a self-published indi movie, things would likely look a bit different.
Author/submitter here - just some context for HN, we make consumer software aimed at non-programmers, so the post is written to that audience. I think there's still interesting insight for other developers there though.
A novel from every country
This isn't necessarily bad, and there are plenty of innocuous unpleasant designs: doors with locks, fences, car alarms, even those faucets in airport bathrooms you have to keep pushing to keep them from turning off. Sometimes you need to make something less friendly in order to prevent certain unwanted uses.

The important thing to remember is that you aren't fooling anyone. It's quite clear what your unpleasant design is designed to prevent, and the design itself serves as a constant reminder of the problem it was designed to solve. Locks remind you of burglary, airport bathroom faucets remind you that people often leave the water running, and spiky windowsills remind you of homelessness almost as much as actual homeless people do. This may not be the kind of feeling you want to build into your city!
> The Camden Bench is virtually impossible to sleep on. It is anti-dealer and anti-litter because it features no slots or crevices in which to stash drugs or into which trash could slip. It is anti-theft because the recesses near the ground allow people to store bags behind their legs and away from would be criminals. It is anti-skateboard because the edges on the bench fluctuate in height to make grinding difficult. It is anti-graffiti because it has a special coating to repel paint.

It's a bench for sitting on, I don't understand how anyone gave this a second thought.

And are they treating the anti-skate/anti-graffiti as negatives? Why would the city not want to protect their property and make keep the tear to a minimum.
Windows 7 64 bit here - it just has the error message box, and the same text in the cmd window, it doesn't open the file though :)

"This version of foo.txt is not compatible with the version of Windows you're
running. Check your computer's system information to see whether you need a
x86 (32-bit) or x64 (64-bit) version of the program, and then contact
the software publisher."
What about games like Reassembly where each ship can consist of hundreds or even several thousands of parts?

https://youtu.be/bc2UkxhzAAQ?t=2230
So philosophy isn't science? The theoretical constructs that have allowed us to develop all current scientific fields aren't science?

I really wish we would stop with the "it's not science" mantra. Science is composed of five steps: observation, inference, conjecture, experimentation, validation. Any single one of these can be called science.

Besides, there's plenty of crap made up that is backed by data. Data is not a holy grail.
2050?! I'll be dead by then, let's get this show on the road.
I forgot to mention — I would like to deploy it as a web site as well. So, it should be a web app, but deployable with a thin native shell in the Mac and Windows app stores as well.

What frameworks fit the bill?
What is so bright on the left side -- what looks like the center of the galaxy?
I don't know enough about SLYK to suggest a full solution, but couldn't additional checks be performed that confirm it's a SLYK file? Other than all SLYK files starting with ID, are there any other properties that exist in all SLYK files that could be checked against?
Looks like just what I have been trying to find, since I am incapable of writing my own. I did start with 'Learn C * Build Your Own Lisp' book [1], and I will finish it for educational purposes; it is a great, short book to work through, and should help with grokking Carp.

The closest I have come to finding something similar for livecoding visuals and audio, or games is Extempore [2], which has xtlang, a Scheme, with manual memory management and types. The only two criticisms I have, and they are small, are the build and number of dependencies, and how to distribute standalone executeables. In all fairness there are binaries now available for all platforms, but standalones are still problematic.

I curse Fluxus [3] for starting me down this crazy road many years ago in search of the best creative coding environment. Shame it is not refreshed every so often, because the interface is brilliant.

I'll have to look over Carp this weekend more closely. I am intrigued how it is like Rust's semantics. And if it is manual memory management all the way, then I guess that is where it differs from Rust's safety features?

Now I don't have to try Clojure again! I don't like the JVM, and prefer going to C.

[1] http://www.buildyourownlisp.com/

[2] http://extempore.moso.com.au/

[3] http://www.pawfal.org/fluxus/
Feel free to call me at home the next time Silicon Valley has a foot of snow.
My conclusion on reading this discussion is that if a bunch of smart people can't agree on what Occam's razor is useful for, it isn't useful!
Maybe this was written quite a bit later, but can you explain why the following would allow data to be returned in Excel 97?

"If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel."

https://support.microsoft.com/en-us/kb/168702

I've always wanted to know why Method 2 works!
Be Happy with what you have
Tracking down an old OkHttp regression
Interesting. I've never bothered to look up the formal specs, but it was never a problem that lead to an ambiguous interpretation of my programs. (I sometimes write programs that the compiler doesn't like. But seldom once that the compiler interprets different from me.)

I usually give types for my top level functions. It's good documentation, and also prevents most of these kind of issues. (For a similar example, human mistakes with operator precedence usually lead to compile-time type errors in Haskell, seldom to runtime problems like in C or C++.)
It's as good as I've heard. But would choo qualify as a framework under this definition? AFAIK it's only concern is glue between UI and everything else, it could be mixed and matched with other frameworks/libraries".
CDN for your configuration files