skysight-inc/HackerNews huggingface dataset:
See I knew it was a silly question :)
A few minutes ago I converted the otf files to ttf using font forge. That appeared to work, but it seems the ligatures are gone. On top of that the ttf version of the font did not show up as a monospaced font in my code editor. I might have done something wrong though as I only dabble a bit with font forge.

Then I just did what you suggested, install the otf instead (d'oh) Now the fonts do show up as monospaced font. But my editor does not display the ligatures. But at least it is usable.
My best bookmarks from 2015 #1 January
In NYC is it a thing to have the owner pay for heat for the whole complex via one giant efficient boiler in the basement, and the individual apartments cool by electricity they're separately billed for? This is not unusual in the midwest.

On one hand in my bachelor pad apartment a really bad August was like $40 of electricity for cooling, on the other hand times 40 apartments, I'm sure the owner would prefer "we" pay instead of him.
Why would anyone choose to use Dual_EC even with their own keys unless they are completely ignorant or coerced? It is especially galling for people who sell supposedly secure products. I can't imagine that any competent CTO/CSO would sign off on such a stupid choice.
Im sitting on the station in Malmö after being abroad for a year. It's perfect.
There were two founders, one Finnish and the other Swedish.
May not necessarily be what you are looking for but close, I think: https://github.com/OpenLMIS/open-lmis.
Except it's a pension fund... Did anybody suggest using some of the money to deliver fiber optic broadband to every home in Norway?

Either way, it's a much better outcome than the UK, where governments pissed away the benefits of North Sea oil and gas....
This completely ignores the perspective of those who bailed-out AIG. Whether their ultimate assessment of the ramifications of AIG's bankruptcy was correct (Which is important to understand for future crises) they feared the collapse of the financial system.

Bair's question: "Were the others really in danger of failing?" seemed obviously true to everyone involved in the crisis at the time. When AIG failed, Lehman had just declared bankruptcy and overnight lending rates between banks had sky-rocketed. Washington Mutual and Wachovia were on the brink of failure. Goldman and Morgan were both sufficiently dependent on the short-term funding markets that they could have been rendered illiquid next.

Looking in from the outside, it's easy to see this as insanity. All they needed to do was trust each other and most of the institutions would have been fine. But they lacked sufficient transparency to know which wouldn't be. While we can all imagine better solutions, making those things happen takes time. Put yourself in Bernanke's, Geithner's and Paulson's shoes. You can do something that will lead to be pilloried in the press or risk watching a repeat of the great depression with some probability you can't estimate.
Hence the article's thesis: Artificial intelligence will cause “structural collapse” of law firms by 2030.
Ask HN: Review my landing page, cowriter.co
I was hoping someone, preferably a marketer/growth hacker, would be willing to view my landing page and give some feedback.

Link: www.cowriter.co

Some background:

Me and my team launched CoWriter during a 24 Hour Startup Challenge. Within 3 days we had over $5000 in sales, from there we kept growing mostly from word of mouth. At this point we are at approximately $20,000 in pre-orders but have completely stalled out.

We ran some facebook ads and while they did bring traffic in we got no addition pre-orders from this.

Currently when users visit the site, over 90% of them don't even scroll down the page. They just read the top part and leave pretty quickly. At this time I am considering putting the video explainer at the very top.

I am a developer, not a marketer. I am open to any and all advice. I know there is demand for this product I just am not sure how to reach our audience.

PS: The video on the page is being replaced by a more professional one with a voice over. We are hoping this will help.
I believe gmail caches all the images so that leaves out a huge amount of the world maiboxes.
If your language doesn't contain Semitic-specific sounds like ع or ح or ق , and more of the common phonemes in Latin derivative languages like « v » it does make sense to make the switch to Latin like Ataturk did with the modern Turkish language, but if not you may need to stick to the Arabic script because the Latin script is ill suited to convey clearly and easily the common Semitic phonemes case in point the Maltese minus the Italian words.
Can we have one too?

Mange tak.

- Denmark
Of course they said that...

This feels incredibly uncomfortable to say but in a decade or two it seem possible or maybe even likely that China, Russia and South Korea may have an edge in encryption technology and products by virtue of them actually being secure. I mean if they take cyberwar seriously, and think their economy has anything to do with national security, they'll pour energy into securing their businesses whereas the west does the opposite.
It was started by Trolltech in Norway. It was only later sold to Nokia, and then to Digia.
I would add one question for the prospective customer of such an appliance: why do you need it?

Why do you need an appliance analyzing all your network traffic in real time? And if you truly do need such an appliance, why does it need to be connected to anything other than mirror ports (where it cannot transmit) and a dedicated console which is not connected to the rest of the network?

If some clever attacker ruins your pervasive-surveillance appliance, you will have lost nothing other than a bit of time if you did not connect it to a network it can use to exfiltrate your data. But if you installed all the plumbing, don't be surprised when someone flushes a giant turd down your tubes.
> It looks like electricity costs around US$0.30/kWh in Costa Rica.

Typically I find costa ricans using about 300 kwh per month per person, and on the first 300 kwh you pay about 12c per kwh or so. It's very similar to the US, really and much cheaper than the EU where the average sits above 20c.

And that says a lot. Yes, $1 spent by a CR is 'more expensive' than for a North American when looking at income levels. But that's not very relevant. The discussion is really about 'are these renewable energy sources good for Costa Rica?', someone like you says 'perhaps not so much because it's expensive'. But that's silly. Energy is necessary, if not renewable, then something else. So compare alternative energy sources for CR. And then you'll get a question 'is 12c per kwh that electricity in CR costs today under 99% renewables, much more expensive than a non-renewable alternative?'. And you'll find the answer is generally no. Decentralised diesel generators, or a bunch of coal firing plants will not be much cheaper at all, nor alleviate all outage problems. You'll also find that general all utilities are often more expensive in poorer countries, the cost of 1 kwh of electricity, x amounts of lumens to light up your room or 1 liter of clean water, is generally much cheaper in New York than in a small village in central africa.

In short, financially electricity in CR is relatively well organised. If you read through the reddit threat referenced you'll find people giving examples of how little they pay monthly, and if you compare the costs to neighbouring countries or countries at similar income levels worldwide (particularly pre-subsidies) or countries with very few renewables, CR actually does quite well.

As for outages, it depends. In big cities they occur almost never, like once every few months. (I lived in Montreal for comparison, it was once every few weeks). In rural areas it's more frequent, but then consider two things. One, 75% of Costa Rica is urban, and two, in significant rural areas in Central America you would be lucky to even be connected in the first place for any period of time, say in neighbouring Nicaragua. CR is the exception with nearly 100% electrification levels, compared to say 58% in Nicaragua, while outages outside big cities do happen, it's better than having no electricity at all. No CA country has CR's levels of electrification. Except of course Belize, a country of just 300k people (hardly a fair comparison) which generates about half of its electricity from fossil and surprise surprise, has more expensive electricity rates than CR as far as I can tell.

In short, the notion that CRs are paying much more because of renewables is bs, and the notion they're worse off than similar or neighbouring countries isn't true, either.
Please Support to the people of Chennai
I just happen to install it. I can't open exe files. Hmm.. weird.
Hmm... in this case, you might be right. You'd then need to advance 2 registers by 8 each time, and you'd be paying an extra 3 T-states per compare for the fetch of the immediate operand, but you'd be saving 4+ cycles in various places from never needing a DD prefix...

(Actually, MIN_X and MAX_X are supposed to be values you fetch from memory, as you can see from the 6502 code. I have no idea why I wrote what I did for the Z80 version. You could use self-modifying code to put constants in the right place, though - which, thinking about it, is actually what I should have done for the 6502 version.)
And turn on the Undefined Behavior Sanitizer (http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html) with

-fsanitize=undefined

It would have caught this bug at run-time.
For a minute before I clicked the link I wondered if this was about Enron. I mean, there are a few 'greatest' failures. Pretty good write-up though with its particular perspective.
Show HN: A Lisp Interpreter in Swift
Which western nation are you aware of that's both innovative and doesn't have what everyone here would likely consider "chumps" in positions of political power?
Support to the people of Chennai peoples
Hats: sex workers in Maharashtra Chennai the 1 lakh for flood victims:
Chennai we all be aware of the floods. The fury of nature that have taken many lives, destroyed many of the home. The disaster occurred in Chennai are still people trying to recover. His solidarity with giving country to deal with this disaster, the people of Chennai was complemented. Hindu Muslim, Sikh, what do Christians, everyone helped each other to break the shackles of religion.
http://igg.me/at/9dkdOgdk5kw
I don't see why this is such a huge deal.

First, they no longer used remelted chocolate.

Second, Mast Brothers are obviously tapping into the startup/hipster culture and selling chocolate to people who want to seem crafty and artisanal but don't care enough to find out the origins.

Third, if you're paying $10 for chocolate and you aren't sure of it's origin (like when they didn't include ingredients) you deserve what you get.

Lots of companies don't tell you the whole story. While I personally think honesty and integrity are hugely important the startup culture doesn't seem to value it more than hockey stick growth charts.
This is remarkably similar to an idea presented, and prototyped, on the most recent season of Nathan for You:

http://www.cc.com/video-clips/hmzybk/nathan-for-you-hotel-se...
And regardless, I cannot support a project that I know will primarily be used to annoy the shit out of me in my own inbox.
Nope, QT is originally from Trolltech[1]. Nokia bought the company back in 2008. Later it was sold again, to Digia.

[1]: https://en.wikipedia.org/wiki/Qt_(software)#History
Some systems allow you to dereference NULL

For example inside the Linux kernel. GCC has the special switch "-fno-delete-null-pointer-checks" that turns off the assumption that a dereferenced pointer is never null: https://homes.cs.washington.edu/~akcheung/papers/apsys12.htm...
Then we probably need to find a better method than trademarks and copyrights to allow companies to make money so the entire world can actually enjoy the new discoveries.
Dont dismiss something just because the current usecase doesnt suit you.
> Car is still a necessity in the eyes of an average (first world) human and our individuality will not let us share them.

Individuality and fear of foreigners sure is a strong force. However so is saving money. There is a reason some people still take the bus, even when they could have taken a taxi.
Faster Feedback for Clojure Tests
IIRC unions are a common example.

If you mean type punning: That is fine in C (chapter 6.5.2.3 of the C11 Standard even mentions "type punning" in footnote 95), but not in C++, where it's undefined behavior.

I would just use memcpy. It works even when C code is compiled as C++, and modern compilers know what memcpy does and can optimize its call to a move operation: http://blog.regehr.org/archives/959
Cool they are Canadian. Hope they have the sonar and turn lights patented though so they can split their business and sell add-on tech rather than a whole bike. I feel that's a much harder sell.
I don't know what the author of the article is reading, but the information I read says to use REST for your sync communication which require realtime feedback and are blocking anyway (like authentication). Then use message queue mechanisms for non-blocking/async stuff (e.g. Inventory update, packaging services, etc.). Amazon even has the services out of the box in sqs/sns but you can also use rabbitmq, zeromq, ironmq, or whatever.

Of course, above described approach is just an (opinionated) option and by no means the only, or best solution. Cockcroft defines a microservices architecture as a service-oriented architecture composed of loosely coupled elements that have bounded contexts. Loosely coupled meaning you can develop, update, and deploy separately. Bounded contexts meaning you can understand and update the microservice’s code without knowing anything about the internals of its peers. I think this is the best description as it leaves completely open how one would achieve this. In other words, as long as it works for your situation it's fine.
Even though it looks like (and probably is, I can't easily try this right now) a lot of work, it's cool to see this running on bhyve
The problem, as I've heard it, is that all but the most trivial instances of statically detectable UB are only noticeable once optimizations have been performed (or simulated by an analyzer), and at that point they're indistinguishable from potential UB introduced by the optimizations themselves.

The compiler does a bunch of inlining, constant propagation, other optimizing transformations... and it ends up with some code paths that statically represent UB. If the original code couldn't display UB (up to the user to get this right), and the transformations preserve the original code's defined behavior (as of course they should), then it's safe to exploit the fact that these paths are impossible for further optimization or dead code elimination.

Reversing layers of optimization to decide "Is this UB something introduced by me or by the user?" is not something compilers are traditionally architected to do, nor can they typically perform the analysis necessary to determine if a UB code path from either source is guarded by some high level invariants.

In such cases, warnings would be actively harmful, as they'd suggest unneeded corrections.
This “Tech Talk”, http://youtu.be/72nfrhXroo8, covers some of what you're talking about, especially with regard to Otlet’s contributions. People should also checkout Ted Nelson’s “Computer of Cynics” series on YouTube.
Against all odds, print books are on the rise again in the US
Step-by-step Startup Design
from the source code: "Updated at 2007. 02. 13. '00.05.AM'"
CSS techniques like this display some impressive ingenuity, but I wonder if anyone actually uses them in production. I would never let this kind of code into a production application because a) it mostly involves things I would call "hacks" and require other developers who maintain it to go beyond typical CSS knowledge, b) there is no separation of behaviour from styling, and reading the CSS it is not obvious which CSS rules are "just styling" and which are behaviour, and c) if and when you hit some barrier where the component/UI needs feature X and you can't do it in CSS, you need to scrap a bunch of your code.

I would love to hear from anyone who actually uses this kind of code for large web application.
>A proper Clickbait headline tells us nothing, for example (loads up yahoo.com)... "#1 reason not to buy a new computer".

I don't think that's a valid dichotomy.

The essence of the clickbait is the psychological manipulation to click, not that it reveals little about the subject. While some clickbait headlines tell little, the format you analysed is standard clickbait practice (e.g. variations of "this NN-year old woman found this strange anti-aging trick that has the cosmetic industry worrying", "the one easy trick you wont believe for improving your eyesight", etc).

The second important part is that the content is typically useless/trite.
The story of how Norway came to be the country that survived oil is fascinating. The crux is they had the insane luck of a young but experienced Iraqi geologist with the right mindset showing up on their doorstep at just the right time - and the wisdom to know they needed his help. This is where I first read the story: http://www.ft.com/cms/s/0/99680a04-92a0-11de-b63b-00144feabd...
Standard contracts exist for a variety of reasons, time/cost being one of them. Another one I'd like to highlight is the principal-agent problem[0]. If, due to automation, contracts went up by orders of magnitude in complexity then clients would be exposed to a new set of risks with a legal basis that they do not understand. The question then is: are these new, inscrutable risks acceptable to a client? Perhaps not, unless they are already a very large business.

[0]. https://en.wikipedia.org/wiki/Principal%E2%80%93agent_proble...
One interesting thing this (dated but still very relevant) article misses is timer coalescing.

Most modern operating systems try to merge a bunch of timer actions into a single wake/interrupt. Not only does this leave more time for other work to be done in the normal case of a loaded CPU, but if there's less demand, it provides way more opportunity for the CPU to fall into a lower power state.

Some timer APIs will let you specify how accurate you want your timer to be. Often enough, a few tens or hundreds of milliseconds doesn't really matter for your use case, but that's AEONS in CPU time!
Very common, to the point of being nearly universal except in relatively recent construction. Many (perhaps most) NYC apartments don't have thermostats. Don't like the heat the landlord has chosen? Open the window or buy a space heater. Want to be cool in the summer? Buy a window air conditioner.
This blog post (the third in a series about undefined behavior) talks about why compilers don't always warn on undefined behavior, even when they exploit it: http://blog.llvm.org/2011/05/what-every-c-programmer-should-...
You're right. Google changed the way they did images a while back to prevent email image marketers who used to track when the user opened an email using a 1pixel transparent image downloads.
A philosophical difference between Haskell and Lisp
>But one thing the NSA likes to say is that the backdoors they insert are only accessible to them, not to others.

Which is an empty statement when it comes to security principles. If you've placed a backdoor (and some are blatantly obvious if you look for it, like some SSL issues), then others can use it too. Most backdoors are not of the "we have an encrypted password only we know" variety, but of the purposeful hole to exploit.

>I see the benefit of inserting multiple backdoors. But none of them should be vulnerable to rival nations.

Except if the idea is to monitor the local population, and you do not care that much if others monitor them too.
> The same can’t be said of the e-book, which is seeing a decline in popularity. A Pew Research Center study in October found that fewer Americans are buying and using e-reading devices like Kindles and Nooks than they did in past years.

Fewer sales of specialized e-book readers can simply mean that more people use tablets and phones to read e-books.

Anyway, I'm glad printed books are most likely here to stay. For studying and reference, a physical book is still much better than their digital counterpart - which instead I prefer for novels.
The ending was disappointing and a shallow conclusion. To me, it seems clear in hindsight that Geithner, Paulson, and Bernanke, et al, were in uncharted waters trying to manage a banking crisis. Did they overreach and force AIG to take more of the fall than was on them? I think there's a case to be made. So, the motive is the Government was trying to save the financial system. They scapegoated the insurer. Someone had to hold the bag, less they all go down.
Totally agree. A fair amount of that is done in C#, with proper events, observables, enumerables, and functional constructs. Really when I say Java previously I mean C#; I haven't worked in Java proper in over a decade, so it's entirely possible I forget how bad it was.
Intriguingly, I've been thinking about exactly the same thing recently.
6 Ways to Keep Your Team Happier and More Productive
I don't think that was a failure of GTD. I think that was a failure to understand your own limitations and what you're realistically going to be able to accomplish in any given timeframe. It really sounds like a fundamental failure to properly understand GTD.

If you actually read the book--rather than the BusinessInsider, et. al. listicles summarizing it--Allen makes the point that the most important feature of any task tracking system be that it is not cumbersome. All else be damned. If whatever system you're using to keep track of what you need to do is getting in the way of keeping track of what you need to do, then it is no good.

He also makes the point that nobody is meant to do everything in the book. The book is meant to be a cookbook, you are meant to try different things in the book up to the point of gaining control of your work and then put the book down. You're supposed to stop reading GTD when you start to get things done. Don't mess with a good recipe.

I keep a single sheet of paper as my TODO list. If it doesn't fit on the paper, it doesn't go on the list. It's one list for both work and personal issues, because I only have one life, I can't clone myself and work on two lists in parallel. I scratch things off and reuse the paper until it's full. I then rewrite the list on a new sheet of paper, with items that have gone undone for a long time naturally bubbling up to the top of the list.

And if something has been ignored at the top of the list for a long time, I just throw it away. If it didn't get done in the last month, clearly it's not that important. If it were more important, I would have made the time to do it.

Get better about throwing away your emotional baggage.
Hi

The python code that's generated is ok, but the problem is that everything is very dynamic. If you want this to work fast on PyPy, it should really generate a bunch of getters and setters that use attribute access and not go through generic __getattr__ that does some dictionary lookups. Additionally a lot of code is written in a way that creates a lot of temporary lists iterating over all fields and double checking stuff - this is bound to be way slower than a simple C/Java stuff that does the very simplest "check type - attribute access" sort of stuff.
>require other developers who maintain it to go beyond typical CSS knowledge

Maybe the typical CSS knowledge is way, way too low considering CSS itself is really not complicated and that it'd actually be a good thing that your developers actually know the language they're using, no ? You wouldn't hire a C++ guy telling you he only knows the C-compatible parts of the language, would you?
What a nice gesture from our great neighbor to give few extra meters to our highest peak.
why not go to the next level and do Real-time video generation: https://pv.idomoo.com/