skysight-inc/HackerNews huggingface dataset:
UK here. I work 7.5 hour days with an hour unpaid for lunch. I usually work from 8am - 4:30pm.
The aspirin trick works wonders. However, the resulting smoke doesn't smell like roses. Just remember not to breathe it :)
Alladin makes usb tokens to store A3 certificates
Rocket – Faster emoji for your Mac
We don't have to wait until the Tories decide they want to improve democracy. The vast majority of social change happens from the grassroots up, it's up to the general public to push for it. I personally will be pushing for improving the standard of news coverage in the UK, so that when the time comes to push for proportional representation, we'll be better placed to see it put in place.
I'm working at a fin-techy start up outside NYC.
Hours are normally 8:45 - 19:00 with an hourish paid lunch.
Very flexible though - people leave early frequently
Do you know of site that has a directory of such forums? I find these forums of experts very fascinating but not that easy to find.
Exactly. Some Financial Accounting packages selling here in India back then used that trick.

My former boss (in IT since 1983, from whom I got initiated to hacking) wrote a disk copy program that would copy the source disk sector to sector, ignoring any error along the way, that dealt with the hole in short order. (He used it to make backup copies for legit users, and not for piracy.)
Doesn’t this imply the need for a new language feature? So that well-defined sections of inline code can be pulled out, initial conditions set in a testing environment, and then executed independently.

I guess this could trip up if the compiler optimisations available when considering all the code at once means that the out-of-context code actually does something different in testing...
Hi everyone, would love to have your feedback, shares or sign ups. All is welcome :)
While fields may consider X good enough, that does not mean it is good enough. One measurement might be what percentage of published papers are junk. And in that context many fields fail any reasonable metric.
10am until 3 or 4pm.

M/W/F I work from home and at the moment T/Th I drive to the office about 30-50 minutes away depending on traffic.

Edit: Work as Senior Software Engineer for a startup in the US.
Digital identities for online businesses aren't a solution for immigration barriers, though.

This won't "help you do business in the EU while living in the UK" if your undesirable self hasn't been let into the UK.
Hey, I love to work with different languages and expand my knowledge. I wanted to know where should I start and focus initially. I will be interested in learning Python so I can do cool web applications.

PS: I love your blog! I have saved and bookmarked it!
Harnessing light for wireless communications
Compression-oriented programming
One point there really resonantes with me as someone who reads a fair number of tech books.

"5. Choose a topic that will sell in a year and half."

makes it hard (I think) for books to be written about very fast moving technical topics (e.g. Docker/Kubernetes/CoreOS). By the time you've written the book, it will inevitably be out of date.

The approach that publishers like Manning and O'Reilly take of publishing beta books helps a bit but still these topics are not a recipe for long-term saleability.
Dwitter: social network for JavaScript animations
Don't we write code for other programmers first--then for the system?

It seems counter-intuitive but in the long run this mentality best serves the business.
Hmm, wonder if I can coax Sublime into doing that. It's a little closer to IDE-type functionality, which it's pretty weak on (refactoring is terrible for Ruby with it).
A similar point of view to John Carmack's post (currently the top post on HN) on inlining functions.
Scotland UK, we work a 4 day week; 9:30–17:30/18:00

28 days paid holidays

I normally grab lunch at my desk except on Wednesdays were we have a staff lunch which normally takes an hour.
Its not an either or proposition though. It's frankly ridiculous to propose that I could give up actively managing my finances and use that extra time (an hour a week maybe) to significantly increase my income.
I'd really prefer it if the TCP connections were not in the main code, so people could add their own network protocols.

In fact, I think the code should not even call any kernel function. Raft is an algorithm after all.
I had the "pleasure" of working on a system that made recursive calls that made other recursive calls that made other recursive calls, which made recursive calls to the database. I'd helped design it originally but this was not at all what I intended. I had a medical emergency though that knocked me out of work for quite a while and when I got back this unreasonable thing was what they had built.
How does Linux's perf utility understand stack traces?
> parse the text slightly differently depending on if it is being inlined or not

Any frosh should recognize that as a language design/implementation smell by their third year.

> most javascript engines do this

That somehow falls short of being convincing that it's right.
>> I would like to see some ARM chips that are competitive with x86 even if that still means they are only put in Chromebooks.

Any word on the AMD K12?
I have a T420 I bought on woot for $200 that runs ubuntu perfectly out of the box. Upgraded to 16GB memory.
“Distance…is the one true enemy…”
The effect is just to put something in the public domain. It's not like the other licenses.
Libraries We Use When Building Microservices
I'm a remote web developer who works for a company in Virginia. I'm in rural Texas. I usually work 10-5 central, taking an "unpaid" hour for lunch. But I will also push that around however I need to in order to get work or personal tasks done.
I want to do that eventually. But I want to start somewhere.
I did read it, still awful advice (unless you don't like vacations, which many people don't)
It depends if we optimize for thtoughput or latency.
anyone else notice that some of the transcriptions seem wrong, assuming a fixed 8-bit encoding? for instance. the "rrange" doesn't have two columns with identical bits.
Ah, attribution. Another great idea that sounds sooo good, it must be true!
Now I Fear Exploratory Interviewing While Employed
>simply outstanding - HTTP/2 and Let's Encrypt integration

Simply simple de facto features basically are called outstanding now?
I'm curious how good an algorithm would be at identifying future white collar criminals. What would the risk factors be for things like insider trading, political corruption, or other common crimes?
Except that is a false dichotomy. This isn't about inlining 'pure' functions (I know your example is IO, but they aren't mutating your program's state), it is about avoiding functions that are only used once and/or that mutate state.

I've used the same technique - instead of creating a function that might be awkward due to all the inputs and outputs, I'll create an inner scope {} with nothing around it. Only the variables that it modifies/initializes are left on the outside. This is a simple way to enforce more of a data flow style within a function and ends up being a useful organizational tool. It is also similar to 'let' in some languages.
Probably better to live your productive years in a place where there is money available and then retire on a much cheaper country.
would you sign up for something where there's, quite possibly, a 3% chance you get killed? Or a 12% chance of a life-altering injury (assuming 5x frequency of fatality)?

Yes. Absolutely. Nothing is zero risk. And just because you can quantify the risk doesn't mean I won't still do something. The chance of my death is 100%. While I'm not going to tightrope walk across sky-scrapers, I'm not gonna sit at home eating funyuns in front of the TV forever either.

Humans are really really bad at assessing risk. Perceived risk and actual risk are wildly different. And even when risk is assessed, we're doubly bad at dealing with the risk. We react differently based on the source of that risk (terrorism against an industrial system and an accident that takes it offline could have the same impact on operations).

And we have less that zero ability to determine acceptable levels of risk. One day a 5% chance of X might seem like a lucky world to live in. Add in two months of media scaremongering and suddenly 5% is unacceptable. Politicians start a "War on X" and PSAs start rolling telling you not to engage in behaviors that might cause X. They'll use the phrase "don't be a statistic" as if you're any less quantified in the 95% than the 5%.

It would be silly to suggest there isn't a baseline level of risk we have to be comfortable with as part of life. Take the murder rate for example. We could get it down to near-zero. But the intrusive policing and restrictive policy necessary might mean it's a net negative to society.
Which is still a very different statement from the way functional zealots would put it.

Carmack's talking about pure functions at the architecture/design level. Within those functions, there's still lots of temporary mutable state, I'd be willing to bet. He's writing graphics code, he's probably not passing functions to functions in order to sum an array, he'll just do the fast, iterative thing.
"E-Residency does not confer any citizenship, domicile or right of entry to Estonia or to the European Union. E-Residency does not automatically establish tax residency. To learn about taxation and to avoid double taxation please consult a tax professional....

E-Residency does not confer automatic market access to the European Union. Additional approvals, contract modifications and corporate re-organisation may be required. Independent professional advice is recommended."

So what's the advantage?
>But the humans would have to explicitly build the biases into the algorithm.

Explicitly as in coding them, but not necessarily as doing it consciously. After all biases are just how people see reality, so it would be natural to code based on one's biases.

Also it's less the biases (that are inevitable), and more the blind following of biases (algorithmically) that I'm concerned about.

>Going with an algorithm would minimize unconscious biases, and prevent us from reaching a conclusion based on emotion

The latter is not necessarily (or even commonly) bad, it's more of a citation needed kind of thing. I'd rather we DO reach conclusions based on emotions. Naked logic sees everything as black and white, it's emotions that make civilisation nuanced (including empathy, pity, gut instinct, abhorrence, etc).
> "The same applies to the representative I elect to the German Bundestag. He's bound only to his conscience. Still, I vote for the representative that I think will represent my needs best. Neither is the chancellor - who is elected by the Bundestag as a matter of fact - bound to take instructions from the Bundestag. I don't consider that undemocratic."

The people that are democratically elected are bound to the electorate that got them there. How so? If they do a poor job, they can be voted out. It is in their self interest to listen to their voters. The worst thing that can happen in this situation is if voters are apathetic, as then the elected representatives can get away with whatever they want. In a functioning representative democracy, it is up to the general public to hold their elected representatives to account.

> "I also consider the greek referendum not a good example. The Greek basically had a referendum on how to spend other peoples money. I don't agree with the outcome, but I don't agree with the greek government position either. If you're trying to reschedule loans your banks will want to have a word in it. The alternative - a Greek state bankrupt and an exit from the EU/Euro zone was on the table, but the elected Greek government decided not to - which was their democratic right to do. It's not like the EU armies invaded Greece and forced the governments arm."

You should watch the video that I linked to before, the story did not play out how you paint it. To illustrate, how much money went to the Greek people during the last bailout?

> "And I don't consider Yannis Varoufakis a good politician either. He's certainly a good economist and his position may quite well be correct in economists terms, but politics is much much more then economics. Politics need to balance the perfect against what's achievable and judging from what I could see how things went down, trying to achieve a perfect outcome was impossible from the start. Yet, still, he tried to sell the unsalable - his interpretation of his introduction speed as "moderate" is quite telling. (Insults from both sides and comparison of Schäuble with Hitler didn't do any good either). In that regard, Merkel is a much more capable politician: She accepts the inevitable and instead focuses on the possible. I don't like the politics she's pursuing but she's doing remarkably well in that regard."

Again, you should watch the whole video.
required 7.5hrs/day + .5hr for lunch but i put in an additional 50mins - 1hr per day and get every other Friday off. Vancouver, Canada (about 50 employees)...

btw, when school is off, i get to come in at 6am. on school days, i come in around 7:30
Even if you are "upwardly mobile" your expenses will tend to increase with your salary. Being disciplined with your spending will allow you much more freedom in your life.
Waggle-It – The anonymous social polling app
Title should be qualified like "Why webdevs should learn HTML and CSS." Article becomes less interesting and obvious.
Mine seems to say that anytime you connect it to any computer, even if that computer doesn't even have ADB installed, much less running. Probably a subtle defense-in-depth encouragement to leave debug off when you aren't actually intending to use ADB.

I wonder if it's left in from before they had the PC fingerprint check, and nobody ever bothered to take it out.
I wonder how much of this change is because he can no longer keep track of so much state in his head (or just doesn't want to).

I only say this because I've gone through a similar transition of valuing my mental computation time in the last 20 years of coding :).

The efficiency of inlining is compelling when you code the whole thing at once, in one session. Once you decide to break the work up over multiple sessions, it's too much to keep in your head over multiple days (or weeks).
A lot of the FTSE-250 companies seeing dropping share prices are companies that are based in the UK, and making most of their income in the UK. While some of them probably could (and some I'm sure have) hedge against increased prices from foreign suppliers, for most of the the big problem is expected problems with domestic demand.

Some certainly faces currency risks too, but then the question is how much are you willing to spend to hedge?

It's highly unlikely most companies have sufficient earnings that they could have afforded to hedge against movements of this magnitude for anything but a short period. Certainly they can - and I'm sure some have - reduce the impact and give themselves time to adapt, but the cost of hedging against the effects of movements of this size and effects potentially lasting years would be prohibitive for almost anyone.
If you are going into a book contract, familiarize yourself with cross-accounting or basket accounting clauses, and get them stricken from the contract. (This is the clause where you need to earn out all the books before getting royalties for any of them.)

In general familiarize yourself with book contracts, and understand the pitfalls. Or consult a literary lawyer.

Source: I'm the author of multiple tech books over more than a decade and several novels.
You might not even really own the physical space. What would happen if you didn't pay land tax (or your local equivilent)?
10 Basics Tips to Boost Visual Creativity, Without Paying a Penny
The intellectual property...
Regarding OSS - Yahoo was behind Hadoop, the platform for big data and distributed computing. HBase, Spark, Storm, etc. are all built on top of Hadoop. Gotta give them credit for that one.
Elon Musk Says Darpa A.I. Hacking Challenge Will Lead to Skynet
> It's kind of ironic that AMD's x86 cpus are actually the cheapest choice if you want relatively high performance because that is one of the big selling points of ARM.

I'd disagree that that's the selling point. I'd say ARM's selling points have always been low cost and power efficiency. They have recently started trying to make inroads into the higher performance server market (with their selling point still being power efficiency), but their main market is SOCs.

That said, I'd also like to see ARM developing some higher powered chips at a lower price point, it'll be interesting to see how much they start to move into that market.
Designing and Evaluating Reusable Components (2004/2014)
This is part of why I am so in love with Go. I have never read Go I couldn't understand. It's very clear at heart. I have read through much of the standard library and it all makes sense.
Pretty broken. I gave up finding a download link for the compiled windows bins after 5 minutes.
I remember the very first time that I saw those bags. Some young guys fished a bag each out of their pockets, squeezed whatever was in them right into their mouths, and let this horrendous cry for help (at least that is how I saw it; that stuff surely 'looked' bitter). I have had the chance to taste that stuff and I must say, poor tasting indeed.
What sucked about Toshiba? I bought one of their laptops...
Also worthwhile mentioning is functionalC [0].

The blog mentioned on the Github page is down but the relevant URLs can be accessed from the wayback machine at [1] and [2].

GCC also supports nested functions [3] (as a GNU C extension).

Unrelated, but [4] specifies a pure C implementation of Go channels and libmill [5] is a library that introduces Go-style concurrency to C.

[0] https://github.com/cioc/functionalC

[1] https://web.archive.org/web/20160406001106/http://blog.charl...

[2] https://web.archive.org/web/20160304120857/http://blog.charl...

[3] http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html

[4] https://github.com/tylertreat/chan

[5] https://github.com/sustrik/libmill
This is a great point - if you're married, budgeting is more essential because you can't do a defacto budget in your head. If anyone is interested, Dave Ramsey has some really great advice for how to sell your spouse on budgeting and how to keep things simple.
You can perfectly well have classes which have different levels of initialization and clean them all up in the destructor...

RAII is generally useful without exceptions.
You should work as long as it takes to get your work done, then deuce out. Tracking how long you work is not productive.
Look at the rows
This is pure buzz. Physical storage does not make any sense when light based or magnetic based storage is much faster and denser. It only makes sense if it is very permanent, ie. Etching sapphire discs [1] The position of atoms is just one classical property. Quantum properties like spin and charge are much more numerous and versatile.

[1] http://www.digitaltrends.com/cool-tech/nanoform-laser-etched...
C pet peeve: typedef structures for_incredibly_esoteric_type_t.
Not just mobile. Works on my desktop Firefox too.
YES.

Nothing is more annoying than a pointlessly huge call tree where the function is called from a single place.
Yeah, it's intellectually interesting work, but it takes its toll.
The real key there is staying in the same house for the long term. It's very common for people to think they're going to stay for a long time, but then end up moving every 5 years for whatever reason (kids, jobs, schools, upgrading, etc). That usually results in a loss on every move, since the transaction costs are high, and also building little/no equity. Whereas renters can typically move with just spending a bit for lease-break fees, if that.

There's also risk to owning: prices could drop, you could have major maintenance issues (hurricane, mold, foundation issues, whatever), the neighborhood could go to hell, etc. So it's not all bubblegum and roses there either.

Point being that there are pluses and minuses to both. The best answer depends on a lot of factors, many of which are specific to a person's situation, and some of which are unknowable.
While I agree deeply nested calls are bad, I've also had the pleasure of inheriting a an application with several, muti-thousand line functions and those are not fun either.

In code as in life, all in moderation.
Big Web Frameworks aren't there to "keep code bases organized and consistent", they're there to do stuff like render state changes into a complicated DOM without causing jank, without FOUCs, without crashing IE9, etc. Those aren't problems that "adopting good coding standards" can solve.

I respectfully disagree. You don't need a framework to do any of those things.

I do a lot of work with relatively complicated browser-based UIs. In my experience, the DOM/layout thrashing and jank issues that have been getting a lot of attention lately only became a big deal in the first place because the early frameworks were so horrifically slow compared to just doing manual updates of exactly what you needed to change. Even in the most demanding applications -- and not many web apps actually are this demanding -- you could achieve pleasant, smooth results with some modest attention to how you applied updates so you didn't cause the browser to regenerate layout unnecessarily. (This would be an example of a useful coding standard, BTW.)

Flashes of unstyled content/text/whatever are a symptom of serving web pages in chunks and how browsers render incrementally as more of the chunks are available. Again, dealing with these effects just requires some understanding of what causes them and a little care in how your site/app is served and does its initial setup. The frameworks don't do anything magic that you can't do in your own code.

And finally, we were solving cross-browser portability problems with script repositories and then libraries like jQuery a long time before any of the modern frameworks were on the scene, and in a much more varied environment in the early days. IE has certainly had its issues over the years, but for the most part at least the issues were well known and you could just work around them. And again, there weren't really that many horrible issues, and this was an area where having some basic coding standards worked OK even if for some reason you didn't want to just use one of the many utility libraries.
You can do that now. There's 'except' in the proxy directive for that. And you can also define sites with paths in the address as another possibility.
consider the (fictional) possibility that an AI will be

"
actively measuring the populace's mental states, personalities, and the probability that individuals will commit crimes
"
https://en.wikipedia.org/wiki/Psycho-Pass

AI may be worth the trade-off if violent crime can be almost eliminated.

or consider (non-fiction): body-language/facial detection at airports; what if they actually start catching terrorists?
While this is very intesting, the storage mentioned does seem somewhat small to me. The article compares the area covered by the text to be a little smaller than a HIV (Human Immunodeficiency Virus). However, the genome of HIV apparently stores approximately 9.2kb (kilo basepairs, not kilobytes, so ~18KiB) of information. It also doesn't need to be kept at -196C. Are there any viable tactics for atom-based storage that could rival this density?
R7RS-small was ratified back in July 2013, while R7RS-big still isn't ratified.
Even with the emoticon, that comment seemed designed to put down the project by suggesting its author is shortsighted and has failed to see how things really work in the really real world.

Was it your intent to condescend and hope it goes unnoticed by the addition of a few bits of punctuation? To belittle the work that went into it? Because, to be frank with you, that's how it seemed to me.
There isn't one yet and that's the problem.
Sex, Soldiers and the South Pacific