skysight-inc/HackerNews huggingface dataset:
Hardly anyone uses "one" like that in spoken language.

To take the first sentence of the post, "There is a particularly dangerous occupational hazard in this subject: one can become focused, to the exclusion of other mathematical activity (and in extreme cases, on non-mathematical activity also), on a single really difficult problem in a field (or on some grand unifying theory) before one is really ready (both in terms of mathematical preparation, and also in terms of one’s career) to devote so much of one’s research time to such a project."

that might more commonly be rendered as "There is a particularly dangerous occupational hazard in this subject: becoming focused, to the exclusion of other mathematical activity (and in extreme cases, on non-mathematical activity also), on a single really difficult problem in a field (or on some grand unifying theory) before you're really ready (both in terms of mathematical preparation, and also in terms of your career) to devote so much of your research time to such a project." There's no doubt other ways people would put it. Why is such an alternative "atrocious"?
I think there is a missing piece to this conversation, which is about the definition of namespaces. It's easy to conflate "problems with semver" and "problems with semver+the way my package manager handles versioning".

In npm, or with any package manager that allows multiple independent versions to coexist, the version becomes part of the namespace. Multiple different versions of a package can be installed at the same time and referenced from each other. It's no problem if you depend on B1.0 and C1.0, and they depend on D1.0 and D2.0 respectively; you just get all four installed.

In Rich Hickey's vision, we would move the compatibility contract into the package name, so if we want to make a new version 2 of helloworld that does not obey the contract of version 1, we call it helloworld2. In practical terms, this is no different from the above, it's just that we add the version number to the namespace through the package name rather than the package version.

Not surprisingly, this latter strategy is already used by most systems where versions aren't part of the namespace. Debian has python2 and python3. Python has urllib and urllib2 (and urllib3). Unix has mmap and mmap2. It works fine, but it's a bit of a hack.

If your version is part of the package namespace, semver works fine and solves the problem it was intended to solve. If, like in Java, every version has to share the same name, then I agree that semver doesn't really buy you that much. After all, it doesn't help you much to know that your unresolvable dependency tree is semantic.

It's not a coincidence that npm handles transitive dependencies in the way it does; it's the whole point. I'm sure it makes npm much more unwieldy to allow multiple different package versions, but having used it it is exactly one of those "solves a problem you didn't realise you had" moments.

With that said, I definitely agree that more careful API design would allow far fewer backwards-incompatible (ie semver-major) changes, and more tightly defining compatibility (like with this requires/provides concept) is a good way to do that. Many web APIs already say things like "we will return an object with at least these fields, and maybe more if we feel like it", which I think is a good example to follow.

As far as changing package names, there's also an interesting question, not about how computers deal with those package names, but how we do. After all, why helloworld and helloworld2? Why not give it another name entirely? Part of that is because you want to make the connection between these two packages explicit. But if you change your package dramatically, perhaps that connection is not doing a service to your users.

One of the biggest complaints about major rewrites is "why does it have to be the new way? I liked it the old way!" If you genuinely believe the new way is better, why not let it compete on an even playing field under its own name? (And, if you know your new package can't compete without backwards compatibility, maybe don't make a new package.)
Green card != citizenship. In fact, you can lose your green card just by not living in the USA for 6 months out of the year.
Could?
When will Redis get a Reactive driver (for example for Java)?
For your niche, you should run your website through a few of these checkers and make sure it passes with flying colors:

https://www.w3.org/WAI/ER/tools/
Check out RenderFab[0], this is exactly what they have solved.

[0] www.renderfab.com
Eclipse Dirigible 2.6 Release
If you are one of those die-hard emacs fans I'd love to hear how you would feel about using EXWM. It's an emacs window manager for X.

Screenshots found here: https://github.com/ch11ng/exwm/wiki/Screenshots
Tuleap, Libre platform for software development and agile management
de http://linuxfr.org/news/scrum-kanban-git-tuleap-9-0-est-disp...
> does anyone know of a good low-cost surface mount reflow oven?

I use a Black and Decker toaster oven I got off Amazon for $25[0] Works great, super cheap, even heating is important in cooking after all. I set the second dial on "Bake" and the third dial on "Stay on" then use a stop watch and the first dial to control the temperature according to what-ever re-flow profile I'm trying to achieve. You can tell when the oven reaches temperature by listening to the relay click noise it makes.

You can buy an add-on controller for this kind of oven called the reflowster but I don't personally think it is worth the money at $140. The stopwatch method hasn't failed me yet.

https://www.amazon.com/dp/B00FN3MV88/
I see. I misunderstood then.
Hashtables are by far not the only way to associate a number of keys with respective values. They have some nice properties and some rather ugly properties (memory usage, growing/shrinking, iteration, seeding / table poisoning). Most RDBMS (for example) tend to use trees instead for indices. And then there's the whole category of tries.
What do you mean retail locations? Do you mean stores or do you mean VR theater/arcade type services?
It isn't just one anecdote: there are dozens of studies spanning decades that demonstrate TSD (total sleep deprivation) and PSD (partial sleep deprivation) are effective in treating depression depression in the short term.
Zhang was surprising precisely because he didn't have that track record: https://en.wikipedia.org/wiki/Yitang_Zhang.
Or in this specific case, just enter garbage in the form.
Well, it is an hypothesis and not a theorem so it hasn't been proven. But the tendency of most objects to be short-lived is universal and doesn't vary depending on programming language.

I believe you are thinking of objects which are allocated on the stack as not being objects. But they are just as much objects all objects allocated on the heap.

The difference is that stack-allocated objects have a very limited lifetime as they go out of scope when the procedure in which they are allocated returns. That makes allocating them extremely cheap. In fact, modern compilers perform optimizations called escape analysis to determine if the object allocated is only being used in the procedure. If so, it doesn't "escape" it and it can be allocated on the stack instead.

Go's value types means they are putting the burden on choosing whether to allocate on the stack or on the heap on the programmer. Often the programmer does a much better job at deciding those things than the compiler, which is good for performance. But it adds one extra thing that the programmer has to think about.

It's a classic engineering trade-off between language complexity and performance. I prefer languages that sacrifices performance for simplicity, but there is nothing wrong with Go's choice either.
I think we may have disabled it.
Its the newspapers who will realize that the free lunc his over when nobody needs their crap anymore.

Put up paywalls and dont even make it remotely easy to actually pay. Then bitch about you not having an account, still want you to click on a thousand facebook and twitter links and have ads that slow the site down to a standstill and what not.

Newspapers are really not having it easy huh. Throughout the web, you either run a subscription or monetize with ads. Newspapers do both and cant even hire an engineer who doesnt shit out a javascript turd that will never load.
Learn Coding Structures with Social Networking Patterns
Why all flat world maps are wrong
This is one of the main goals of running these labs, and ideally the main goal of universities in general. Training new minds with the knowledge of the leaders in the fields.

It's not disruption, it's evolution and progress.
Thank you this is very helpful!
I didn't think most electrical engineers would work with Assembly code. Can I ask what type of electrical engineer you are?
Indeterminate: the hidden power of 0 divided by 0
I am actually getting the same issue, intermittently. Is it just a traffic overload issue? Anything I can do to make this more robust? I was not getting this before sharing the site.
Registration closed :(
You've reinvented block diagrams, only badly.
competely agree.

its one thing to serialise your states to json. quite another to try and recreate javascript or any other low permission language in it.

I know _why_ they did it, and i bet a fair few pure managerial types fall for the bait and commission a project or thousand on it, locking themselves in to amazons absurd pricing model for production systems. But everyones got to make a buck eh.
A Guy Ate Ghost Peppers and Barfed So Hard He Tore His Esophagus
Thanks for the feedback! You are correct, the board is empty as I have literally just launched it. :-)

Getting DB errors also now, thinking it might be a traffic issue.
Show HN: An MVP job site for accounting and finance professionals without a CPA
Those articles (and their sources) sound interesting. Think you can share any of them?
'One' is a way of referring people in general. These days most people use 'you' instead.

For example 'one should never travel south alone'.

You've imagined the implications you've listed about identity politics. It's an old way of speaking, not a new one.
Ask HN: How different is the MOOC courses compare to its campus courses?
All mooc courses I took from coursera and edx are awesome, especially those from Stanford and Harvard. I wonder how different are those MOOC courses to the campus' according to its contents and experience, especially, if you know, for the Stanford and the Harvard courses
The problem is that you and everyone else will be a suspect.
I used DynASM in my little weekend project https://github.com/jsn/icfp06 , see README for my experience. In short: I like the idea a lot, but the implementation is seriously buggy. My experience with GNU Lightning (during the same weekend project) was much more smooth.
Out of curiosity where do you live now?
> They've made this position clear by refusing to clarify how they would respond, and therefore requiring that you ask them on a case-by-case basis.

Welcome to law. You're not going to get a specific answer to a generic question.
If you are asked to provide your password, encryption will not help you.
>I would wager that a great majority of Python repos out there have lingering imports in some module that doesn't need to be there. But in Go I can guarantee that there are 0% unnecessary imports.

With a linter you can do that with python too.
Look into caching so that it does not need to hit the database for everything. Been years since I used WordPress but there was something like WP Super Cache that worked OK. Your web server (e.g. Nginix) can also be configured to cache pages, and there are entire servers dedicated to caching like Varnish. Be forewarned that caching and cache invalidation can be surprisingly tricky to get perfect.

You also might just actually need a beefier server. But at the very least you should be able to serve the homepage, which doesn't change super often, to everyone.

Congrats on having a site popular enough that you get to learn about a whole new world of tools and technologies!
Willpower is not about forcing yourself to do something, but to deliberately put yourself into a situation that forces you to do it.

For example: You want to run, but you are too lazy. Ask a friend to run with you at a certain time. Now you can't lazily back out, unless you want to call your friend again and mess with their schedule, as they were expecting to run with you.

As you become better at something, like running, it starts to become more fun and satisfying. You gain momentum. That allows you to adhere to your schedule much more easily, to the point where you miss it when you don't/can't do it.
In the Upside-Down World of Zimbabwe, $100 Trades for $102
Obama presses Trump on cybersecurity
Looted Palmyra relics seized by Swiss authorities at Geneva ports
Completely anecdotal, but my depression and severe anxiety was put under control with healthy diet, exercise, mindfulness practice, and a low dose of Lexapro. I was very hesitant to use medication but it totally changed my life. Hang in there if you are struggling, I know it's so hard.
Speaking of primary and secondary education, I heard that in America people try to move to expensive neighborhoods when they have kids because those have the best schools.

That part is also a zero-sum game, because all parents work harder to afford the best neighborhoods and that makes the price of living in those neighborhoods go up, leaving everyone right where they started only they now work two jobs instead of one.

Decoupling property tax from school funding can help with that. In Universities, a system that is free but only accepts the people with the best grades, IQ, or some arbitrary qualification can help, but brings its own problems.
Worst misunderstanding of the Anthropic Principle that I've yet read.
This happens with other UI elements as well like those instructive subscribe pop ups.

I'm not up to speed with the latest JS and browser features, but unless there is some sort of zoom reset from the browser itself I don't think there is an easy solution without making arbitrary decisions like "user has scrolled up 10 times, move entire page up"

For instance , if I shake my mobile (think google maps) or 3 finger Zoom out, then the browser resets the zoom level.
But I also took time to explain about a recent project that "did" increase the sidewalks significantly in Astor Place about a mile and a half away from the district in question. And this did nothing to reduce congestion or making navigating the streets any better for pedestrians. That of course was downvoted too. But pointing out examples and facts doesn't seem to matter.
There is a whole industry focused on portraying developing habits as being complicated.

It's not.

Just take things one day at a time and make sure you have your habits scheduled in the times where you are least liable to get interrupted. I prefer early mornings.

Then just do what you've committed to do. There is no magic trick.
>While your distinction about building a better mousetrap is true - the corporation building a better mousetrap needs more money to put into R&D and it can get more only if it is either marketing itself to investors (consumers in this scenario?) or gaining a larger market share by promoting themselves.

There is a distinction between promotion and advertising.
Currently in luajit you're just "not meant to" work with ffi cdata from the C api. You can... even if it's not pretty.

However, I was more saying that there isn't a technical reason that lua 5.3 integer behaviour couldn't reuse the existing (boxed) 64bit integer support in luajit. Which would mean that the slim tagged NaN tagged value approach can be kept.
Tarantool[1], a general-purpose database and app server based on LuaJIT, has Lua/C API to work with 64-bit numbers and even custom cdata objects [2]. I can extract this code into a separate library for you.

[1]: http://tarantool.org/
[2]: https://github.com/tarantool/tarantool/blob/1.7/src/lua/util...
If it's a wordpress site, I found the best thing for me was to set up Cloudflare in front of the site, because they can cache a lot of requests.

The next best thing is making sure APC is set up on your server. I've also had success tuning settings in Apache to help with memory use, but that's a lot more time consuming.
It is not helpful to characterize a discussion of C's problems as C-bashing. H2C03 titled his article "Let's Stop Bashing C" , but the article he was responding to was not a rant against C. It was actually a suggestion that some of the more dubious features of C should not be carried forward into future languages. You may disagree with specific issues (I am with H2CO3 on braces), but I think you agree with the principle.
I don't know where Mike Pall works, but one of the best things about working at Google is that you get to collaborate with a lot of folks of this caliber. It can be very stressful for some people to be in an environment like this, but if you approach it with the right mindset - it's wonderful.
Show HN: Typescript node-express demo app with docker devOps tools
A Programmer Evaluates the MacBook Pro (Touch Bar)
In my experience the best thing about Leaflet is the possibility of using CSS to style, transform and animate markers.

Shameless plug, see for instance this map using css 'explosions': https://citybik.es
This is Manhattan we're talking about. Walking + transit gets you pretty much everywhere.
As an European myself, I fully disagree; getting a cup of coffee at 82ºC is not reasonable, and spilling it on yourself should never cause 2nd degree burns. The payout was completely justified. And the fact that it was standard policy and not an error further solidifies the point.
I don't know if there is a scientific way, but I can say what works for me. To start, I essentially resign myself to doing whatever habit I want to build, making it in my mind so I have no choice so there's no getting out of it. Then I just do it, rain or shine, no matter what, which can be super difficult. After a while, it becomes easier.

One example is running. I just told myself that I needed to run for one hour every weekday at 6am. Extremely difficult as I normally sleep in until 7, but I just told myself I have no choice. So I started getting out of bed at 6 and running until 7. After a couple weeks it got easier, after a month I did it without much thought. After about two months, I feel weird if I don't do it and miss it.

I am also interested in whether there's more to building a habit than this.
We break our cloud formation stacks up and reference the outputs of those stacks in consuming stacks. You have a VPC, IAM, IAM policy, security group, network acl, and then your application stacks. So, if you have an application that references a security group from it's respective stack and you want to change those rules, you just update the resource in the security group stack and the application stack never needs to get updated. (edit: by separating stacks I mean that they live in different templates, not just different stacks in one file)
Doesn't work at all on desktop with blocked Twitter / Google
> Any increase in suicidal thoughts would have been caught.

The many thousands of people who die by suicide each year while under the care of a multi-disciplinary team of doctors, nurse, etc show that merely catching suicidal thoughts isn't always enough.
Candy From Strangers
Nothing here require ION as far as I can see
You didn't specify whether it was waste anyone worries about. You claimed the material has to be made specially for these batteries. That's not the case, it's literally a radioactive waste material from nuclear reactors.

According to the article I linked, it does need to be safely stored, since it's dangerous to touch or ingest, and it needs that storage for a long period of time.
40% of adults in OECD countries can't use a computer
IIRC this project was abandoned after Mike Pall stepped down from LuaJIT maintenance.
Does anyone know where he disappeared off to? He seems to post every one and a while. I've never been part of the LuaJIT community but his online presence seems to have dropped off over the past few years. Was it because the new garbage collector didn't get funding?
It is true. One of the reddit comment states that they divided the latency by 5 after they reconfigured the min and max heap properly and let the program run for longer.

The GC is in a constant battle to keep the program running within memory bounds.

If you make it think that the program can run in 20MB by not giving a setting, it will try to fit the program in 20MB and clean the heap all the time (till it gives up and grow the heap).

The GC needs to know it's bound to it doesn't bother running when not necessary AND it can decide how much space is available to keep short/long lived objects.
Come on, what's wrong with a little extra depression now and then!
If there were a short answer to this, we'd all be amazing. There are strategies for building good habits, such as adding a small amount to your daily load at a time (to avoid overextending your will power, and build it up slowly), and logging your actions in a journal everyday, which causes you to recognize your accomplishments and confirm your goals. Also, there are methods of setting very specific, measurable goals that can be achieved in relatively short spans (days and weeks, not months and years) so that you continue to push forward at a visible pace.
Have a read, great book on the topic: https://www.amazon.com/Power-Habit-What-Life-Business/dp/081...

Systematic, definitely. Scientific? Not really sure, but I find it extremely effective. If I could boil it down to "what works" for me, it'd be:

- Pick a task or thing that you want to accomplish. Let's say running (mine is running/lifting).

- Pick a "cue," or something that signals when you perform said task. The more apparent the cue the better. Mine is waking up. Working out is the first thing I do.

- Follow this routine religiously for about 21 days. That's the magic number according to people who are into this kind of thing, and I agree. At this point you kind of forget what your old habit was when you woke up, and you naturally go to perform your new task.

And lastly, there will be some days when you don't want to perform the task. Do it anyway. A streak of not performing that task is really just the (re)formation of a bad habit.
Thanks I will look into caching plugins, starting with Super Cache. Hope this can stabilise things a bit.

If that does not work, will have to look into server options.

Thank you for your help and encouragement! :-)
> If your views disagree with the "more bikes no more cars!" knee-jerks reactionaries you are branded a subhuman.

Wow, talk about an exaggeration! I see no one 'branding others as subhuman' for their opinions here. Just because most people at HN disagree with you doesn't mean they're barbarians at the gates.

> It does not matter if you disagree for reasons that are based in practicalities and not ideological ones.

Ironic considering the reasons for supporting car dominance of land area in the most densely populated area in the country are mostly ideological rather than practical.
Mirror:
http://www.nasdaq.com/g00/article/with-small-muslim-communit...
So Spiderman 2 is wrong then?

https://youtu.be/7OMa51hJOhY?t=42
I should note that the book goes much deeper, offering insight into how habit-forming is used by marketers, how it impacts addiction, personal success, etc.
> this is exactly the sort of thing people may try at home.

I would actually strongly urge people who suffer from depression to experiment (while observing and adjusting diligently) with all kinds of things. Usually, when you suffer from depression, it's because you have lost some sort of balance - a happy life is about a rich mix of a lot of things, and sometimes you need to search and experiment to discover what is/was missing in your life for too long (and no doctor is ever equipped and able to give you the full solution you personally need).

So go on, experiment and search until you find your way back to your equilibrium.