skysight-inc/HackerNews huggingface dataset:
> I rarely talk about meditation in professional circles because, for one, people think it's weird or have a preconceived notion of what it is, but more so it's so damn effective that it's seriously my secret weapon in life and part of my competitive edge.

Well, that's mighty compassionate of you.

> (As an aside, it has nothing at all to do with "strange religions", vegans, or yoga pants.)

What? While the strange religions are your loss (boring religions are for boring people, why settle for less?)

.. honestly there's no way you can justify dumping on vegans, or I'd like to see you try.

I'm not a vegan but damn if I don't respect the hell out of them for doing the right thing despite the deliciousness of cheese.

That said, yoga pants are a indeed blight on humanity. But then, about 23% of all strange religions consider them sinful.
Haven't seen this before but reading through discussions right now. This is really helpful, thanks.
1. Start with the ISE, comes with windows. If you can't find it "C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe" Otherwise VSCode with a plugin is nice but you miss some intellisense magic the ise can do.

1a. with powershell as an administrator run `Update-Help` That's all the help for the commands installed and up to date from online. Get-help <command> and don't forget to use wildcards `get-help get-*` will show every single get command you can run. Get-Verb will show what you should expect things to be called. `Get-module -listAvailable` worth looking at too. Tab complete is your friend.

1b. This and the advenced one are great although quite slow; https://mva.microsoft.com/en-us/training-courses/getting-sta...

2. No? Maybe stuff that's already fine or where working out the signing policy is a hassle.

3. Powershell is wrapped into the "Windows Management Framework" you can install. WMF 5 has PS 5, can install down to Windows 7. 7 shipped with PS 2.0 where you could write cmdlets in powershell itself, before that you had to use C++ and visual studio. PS3.0 is the minimum it's really pleasant to use but 2.0 support isn't crazy.
>> the libraries you have come to depend on aren't there

See e.g. Inline::Perl5 and Inline::Python (don't know how mature that is).

>> For a new language to get adoption

I'm not really that knowledgeable right now, but how many weeks have Perl 6 (the language, not the libraries) had an implementation ready for production? :-)

Edit: Thanks, Ulti. Close to 50 weeks. Good work of the implementors. :-)
Wikipedia says the first day of the week in New Zealand is Monday, but our calendars usually start on Sunday and personally at least, I've always thought of Sunday as the first day of the week. So I'm not sure I'd trust that page too well.
I've always wanted to buy one of those Fujitsu notebooks with displays that also worked in bright daylight. They were super expensive and I never saw one on eBay, however.
Have a look at Mithril.js.
Exactly, you can't put ads in a protocol.
JavaScript: Do you like games? (part 3)
Is it just me or are line charts with fills harder to interpret while not adding any value over normal line charts? Instead they add ambiguity because while the surface itself doesn't seem to mean anything (?), it does have two bounding lines and depending on the graph only the upper or lower bound is the line which contains actual data - the other one is the line with the data from one of the other data sets. At least that what I make out of it but maybe I'm completely wrong?

E.g. take the first graph: the red surface starts at 0 and the upper bound is the actual 'overall ridership' for Second Avenue, right? (note to author: even when the units seem obvious to you, they might not actually be obvious for everyone). So the lower bound of the green surface (Lafayette Street) has the same shape as the data for Second Avenue. Why? What does that mean? It's just the upper bound of the green surface which is the actual data for Lafayette street, no?

On topic: glad to see bicycle usage is rising, but would be interesting to see if e.g. car usage is declining and how the total number of people on the road is changing.
>> I am NOT a bad guy!... I just want to remain in full control of my OWN hardware...

>Yeah, they don't want to respect that.

Honest question: if you were responsible for platform security, how would you tell apart the bad guys from the legitimate owner asserting control over their hardware? My imagination might be failing me, but I can't see a scenario where making it easy for the owner to get root doesn't also make it easier for malicious third parties to subversively add rootkits.

The only workable solution I could think of is to sell factory-rooted models for the advanced users and a locked-down version for everyone else, but I suspect the market is not large enough to support an additional SKU.

edit: fastboot oem unlock is also fairly reasonable compromise, when available, but I don't think many users would know what a unlocked padlock icon when booting means in any case, and would happily use the device
>> operator precedence mistakes (e.g. - in C)

Many years ago, I had a bookmark in my C manual (Harbinson Steele) for the operator precedence page.

After a while I removed that bookmark. I decided that if I needed to look at that list, I should use parentheses. :-)
Poor native support on OSX. Doesn't even allow to Hide the window.
The amount of times Beazley says "insane", "nightmare", etc. in this talk makes me wary.
I used to code on the Voyage 200, which also fit in my coat pockets: https://en.wikipedia.org/wiki/TI-92_series#Voyage_200

My fingers were small enough to touch type on those keys.

After I grew out of TI-BASIC, I always wanted something like that for computer programming, too, but I never managed to find one.

A laptop in regular-laptop shape that was 6" or so would be ideal for me. I've also been considering a phone/phablet with a keyboard case or keyboard cover, but none seem to be touch-typable. :/
I used to love Perl 5 in my free time for personal projects around 2009-2010, frameworks like Dancer or Mojolicious were getting traction and it was a lot of fun; but when I wanted to change my career and move away from what I was doing at the time (PHP mostly), I finally decided to go with Python and that meant no time for Perl (and no Perl 6).

Basically at that point there were less Perl jobs and the language had (has?) bad reputation on being too easy to write hard to maintain code that I thought the language wasn't worth the peer pressure when Python or Ruby were nice languages too with open and welcoming communities behind them.

Perl 6 seems to add to that bad reputation unfortunately, adding extra complexity.

This is just an anecdote, but reading the comments seems like other people had a similar experience.
Awesome tiny robot working out
https://www.reddit.com/r/golang/comments/5b5via/alias_declar...
I love Balsamiq (desktop version), but lately I'm finding it such a memory hog on OS X that's rendering my machine unusable, and that's with not-so-large projects (30+ mockups)
There is difference in job scheduling between AMD and Nvidia. So if you want to optimize your OpenCL applications you can do it only for one of them or do it twice.

Sample applies to integer math, long double math and so on.
I think the big deal here is, a political one, more than a technical one. While google is the reason we have go and google basically pays for go, people are afraid that go might lose its simplicity in order to cater to google's wishes.
It could just be like any Linux distribution where you have a root user you can 'su' with?
Classic modern reporting - doesn't link to the source or even cite the paper.

Here's the source: http://www.nature.com/nmat/journal/vaop/ncurrent/pdf/nmat476...

Web version: http://www.nature.com/nmat/journal/vaop/ncurrent/full/nmat47...
Yes. Maybe. I don't think I was thinking about it that way. I think it was more like "look at how readable this is[1]", and when I opened it on my own computer all the bright colours were suddenly very distracting so I turned it off.

I would sometimes use ed to make changes to programs since I can see what I was working on before I needed to make a change, so I don't think it was doing anything for me, but at the same time I don't think I ever thought about syntax highlighting until I tried to work with dense code.

I do try consciously to improve myself, but nobody knows how they program and how to get better. The only strategy that has worked reliably: If I see someone do something I cannot do I try their methods until it makes sense in my own mind.

I've tried to write about this previously[2], but most programmers are hostile when seeing someone do something they can't do, rather than just trying it, they make up all sorts of reasons why they don't need to --"it's unreadable"[3] is extremely common, but questions abou[4] is a new one on me.

As it stands: I don't understand syntax highlighting. I'm pretty sure that syntax highlighting doesn't do anything for me in the best case. Maybe. But is it bad? Is turning it off necessary to being a better programmer? I got better when I turned it off, but it really might be a coincidence. I don't know.

[1]: http://kparc.com/b/a.c but not exactly.

[2]: https://news.ycombinator.com/item?id=8476294

[3]: https://news.ycombinator.com/item?id=8477064

[4]: https://news.ycombinator.com/item?id=12887021
Geek and Poke
thats the reason i stopped using this one, i started using Sketch and everything became much beautiful
If we take Nigeria as an example: Their oil industry is worth about 10% of GDP [1] so if it were to halve in, say, 20 years you are looking at a drag of 0.25% GDP per year. And since oil profits mostly benefit only an elite group of kleptocrats, the average Nigerian will hardly notice the effect. In fact, it may be beneficial for Nigeria because it would greatly reduce the 'resource curse' and force government to be more accountable to the people [2]

[1] http://data.worldbank.org/indicator/NY.GDP.PETR.RT.ZS

[2] https://en.m.wikipedia.org/wiki/Resource_curse
No. I remember my wife bought a Sony Vaio N-505 back in 2000. An amazing machine with a magnesium case, very thin and very lightweight. Only the 10.4" screen was pretty crappy (but they all were back then).

Apple had the Powerbook G4 at that time which was a very high-end machine but much much bulkier of course.
Grow my weekly newsletter to atleast 1000 subs from the current 100: www.tinyletter.com/harshalbot
Upcoming Vega cards should be in same performance segment.
We obviously don't know, beyond the fact that it was communicating with a far wider group than just some Russian bank. (I wouldn't be surprised if no-one in the Trump Organisation knew either since it was outsourced.) That was the other problem with the original story; how could someone have access to a complete list of all the DNS lookups for that server? They'd have to have access to Cendyn's DNS server's logs.

The reason I count the story as false is that all the available evidence points to it being an ordinary mass mailing system: the horde of similar domains owned by Cendyn for the other hotels they do business with, the e-mails from it that have been found, the long trail of evidence showing Cendyn have been in this business for two decades and have had the Trump Organisation as a customer for 9 years, the existence of numerous DNS lookups not in the original logs offered by those pushing the story... When the only evidence is misinterpreting ordinary, boring activities, then it's a conspiracy theory. This is why it hung around for months without any of the publications that were offered it taking the story.
Because countries like Denmark, Holland, Finland, etc. are very conscious environmentally speaking. I love these places.
The original project is abandoned, but a recently updated fork is available at github.com/prikhi/pencil.

I prefer Pencil to more commonly referenced options like Balsamiq. Looks like no commits in a few months, but hopefully the form is still going. An open source UX tool focused on software application workflow prototyping rather than GUI layout is an asset to the software development community.
Gotta say that the total solar eclipse i witnessed in Hungary round 2000 or so, was one of the most memorable moments of my travels. The sensation of the terminator rushing at you was breathtaking. The unearthly silence as all the wildlife goes silent. Very worthwhile.
> the speed benefit of maintaining parent pointers being the major one

Could you elaborate a bit on this now that you've mentioned it?
Or you can just use Qt's Designer which makes it very fast to knock up a GUI. (and then later evolve it into the real thing as well)
> They did that to break the control of the church, to do away with sundays.

That was just an added bonus for the democratically elected Parliament to accept it, but it wasn't the initial reason.

Decimal time had mostly been pushed by mathematicians (d'Alembert decades before the Revolution, Borda who was the real ), and much later Poincaré, while the most important proponents of the decimal calendar were Romme and Dupuis (very far from being an atheist! though not a fervent Catholic either indeed) and respected scientists such as Lagrange and Monge.

The first and foremost reason was doing away with old arbitrary customs associated with the monarchy and replacing them with standards grounded into more universal, less arbitrary references.

That's the only reason I support it, for my part, and I doubt anyone in France cares now about having weekdays named after Roman gods. Even at the time of the Revolution I believe these names would actually have been somewhat appealing, as classical culture was seen then as a model with which to replace the despised monarchy and religious oppression.
When I lived in London the seasonal variation in sunrise was just one of those things you lived with.

Everyone gets wrenched by the start and end of BST, but generally if someone says "5pm" or "17:00" you get a seasonal sense of how much daylight that implies. I can't imagine the US - or anywhere else - being different, except possibly close to the poles.

Absolute sun position matters a lot less than the felt relationship between clock time and sun position. That sense changes slowly but reliably over the year.

The obvious benefit of time zones is that virtually everyone you interact with daily has the same subjective time sense. Everyone knows that midday is going to be bright, midnight is going to be dark, and the rest is going to vary with the season.

A single universal time would lose that.
Prime and Bumblebee are totally different from Nvidia Optimus. They have to render to render to Nvidia's GFX framebuffer and then copy it to Intel's GFX display framebuffer.

This is much more expensive than hardware implementation of Nvidia Optimus.
How Teens in the Balkans Are Duping Trump Supporters with Fake News
It's free, and not a 2 week trial free.

It helped me out just last week because employer has no license for paid software...

The V3 release is quite recent and although the features are similar to earlier versions, the GUI is much improved. It is also Win/Apple/LINUX software, so projects should be portable.

What lacks most of all, imo, is that finding sets of templates for newer OSes needs a bit of work. If I was the developer I would spend some time creating these myself, and then beg for donations on the back of that.
Will have to look out for it! Also stationary is amazing in Japan. They have Pilot Friction erasable pens that erase perfectly and writes amazing. Its been popular there over 10 years and barely a blip here in the US. You can actually find them at depotmax.
I turned off syntax highlighting several months ago and never wanted to turn it back on. Scanning the code is now as good as it was before. And understanding und structuring the code got better because I'm no longer distracted by unimportant parts of the code.
sketch is OSX only, though, so for us not on premium-ware it isn't an option.
The potential to be cryptic argument could easily be applied to Scala but that hasn't stopped it gaining popularity ( http://appliedscala.com/blog/2016/scala-popularity/ )
plus cars heavily respect red lights, something most cyclists don't give a fraction of a f__k about.

And on top of that - their brakes are useless, they in many cases drive as fast as they can, downhill or not. Yeah, for me as a driver, cyclists are the biggest threat in the cities and outside (effectively anywhere but highways). As a pedestrian, cyclists are again the biggest thread in the towns mostly on pedestrian crossings.
Um, https://en.wikipedia.org/wiki/International_Obfuscated_C_Cod... was there 12 years before OPC.
This is completely wrong. Perl 6 is a much more expressive and logically consistent language than Perl 5.

On the other hand Perl 5 is faster for normal usage, and has mature library support, while perl6 has to catchup a lot.
Perl 5 is only slower with their not-existing/silly object systems (Moose), there Perl 6 is much better.

Many perl5 devs just don't want to learn a new language yet.
>The only workable solution I could think of is to sell factory-rooted models for the advanced users and a locked-down version for everyone else

How about Google's hardware "dev switch?" Originally they hid it inside the Kensington lock, but now it's purely a software switch.

https://www.chromium.org/chromium-os/developer-information-f...

When the switch is on it also displays a scary warning for 30 seconds when the computer boots that "this software cannot be trusted."
LessPass: sync-less open source password manager
Permis de construire, l’importance de ce document
"Most people"? For one, there's a huge rate of unhappiness among those who have created vast value, and on the flip side a ton of people giving up on finding meaning in such metrics to better find their own meaning in spiritual, humanitarian, or personal niche pursuits.

I think it has a lot more to do with the act of creating something yourself, not necessarily the "value" of what's being created. I'd say especially so when corporations and such are involved, and especially regarding non-owners.
yes?
I haven't published the post-mortem on purpose. It would not look good, and has too many references to still existing problems. sorry
Exponent SDK v11.0.0 is now available
SiteGranny, Website monitoring and performance analysis tool
> Everything is offset a couple of hours

So? The only examples the article gives are "sometimes it's light at midnight" and "sometimes the sun doesn't come up until 10am", both of which are absolutely normal for lots of people living in, say, not-entirely-southern Scandinavia.

> and there is a kind of unofficial 'xinjiang time' that you have to convert to and from in your head

So the problem is not the single time zone, the problem stems from having two time zones for (somewhat understandable, but still inconvenient) political reasons.
True, but time is more valuable.
Wednesday is called "Mittwoch" in German, which is a shortened form of "middle of the week". Only works if Sunday is the first day of the week, though the common convention is also having the week start on Monday. Confused me quite a bit as a child :)
You can start using the 'calendrier pataphysique' :)

https://en.wikipedia.org/wiki/'Pataphysics#Pataphysical_cale...
> Look: in traditional multi-threaded programs, we protect shared data using locks. If you avoid explicit locks and instead rely on complete knowledge of all yield points (i.e., all possible execution orders) to ensure that data races do not happen, then you've just created a ticking time-bomb: as soon as you add a new yield point, you invalidate your safety assumptions.
> Traditional lock-based preemptive multi-threaded code isn't susceptible to this problem: it already embeds maximally pessimistic assumptions about execution order, so adding a new preemption point cannot hurt anything.

You get an equal and opposite problem: whenever you add one more lock, you invalidate your liveness assumptions.

> The article claims that yield-based programming is easier because the fewer the total number of yield points, the less mental state a programmer needs to maintain. I don't think this argument is correct: in lock-based programming, we need to keep _zero_ preemption points in mind, because we assume every instruction is a yield point. Instead of thinking about NY program interleavings, we think about how many locks we hold. I bet we have fewer locks than you have yields.

I'll take that bet. You really don't have to yield very often - only when making a network request, and perhaps not even for that in the case of a fast local network. Whereas you have to lock every piece of state that you have.
Cross-platform development on Windows is suddenly awesome
The reason why developers don't migrate from other languages is plainly because Perl 6 doesn't offer enough unique things that people actually care about to migrate.

The reason why existing Perl 5 developers don't migrate is because they don't need and/or want to. The benefit would mostly be derived from writing new code, but most Perl 5 code in the wild are legacy systems and complex admin shell scripts. Those are exactly the kind of thing that you don't want to rewrite in the latest-and-greatest; the potential to introduce subtle bugs by upgrading is more important than the benefit of being able to use new constructs in those parts that you need to improve. And the vast majority of new code is also admin shell scripts written by experienced greybeards, who really don't like their cheese moved, and so will stick to what they're used to for as long as they can.
I'll agree with the rest, but not about Moose. It is not Perl 6, but is still probably better than most other scripting language OO systems.
http://labix.org/gopkg.in is useful, but maybe it doesn't go far enough. Perhaps it should be expanded to do the aliasing?

Having the version in the package name is useful, as an incompatible API change usually requires visiting the code and this forces the issue.
Meet Afghanistan's female coders who are defying gender stereotypes
why would they include that? (Seriously curious)

As far as i can tell it would add no benefit but only overhead to the protocol.
Kanye West
It looks like there's a change in strategy here, which goes against what I posted initially. I wasn't really aware of it, and it's still up for grabs on a case-by-case basis, but from the looks of it, we're now mainly interested in local candidates.

Apologies if I created any confusion by claiming something without fact-checking first.
I remember being pleased to see I'm not the only person who thinks three meals are usually unnecessary; I recently read this about the life of the Kumeyaay in southern California; they evidently prefer two meals a day.

http://www.goodreads.com/book/show/7398826-indians-of-the-oa...
Even oil that isn't burned right away is usually burned later in some waste processing plant.
I use Scala without Akka. Just straightforward Futures and for/yield. It's great: the distinction between "=" and "<-" is minimal overhead when writing, but enough to be visible when reading code. You have to learn the tools for gathering effects (e.g. "traverse"), but you only have to learn them once (and they're generic for any effect, rather than being specific to Future, you can use the exact same functions to do error handling, audit logs and the like).
Slack vs. Briteback: What's the difference?
Celery v4.0.0
shows up fine for me.

I use ublock origin and privacy badger, which is probably why
The 'context' problem is an interesting one.

Application I am working on was creating over 5k additional goroutines for context handling because part was using context from mainlib and part was using /x/net/context. The lib has special optimization that would fail if you mixed both.
> There are three approaches to serving requests:

Lets not forget about forking servers. The kind where each request forks.